amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.GetVerifiedAccessEndpointPolicy

Description

Get the Verified Access policy associated with the endpoint.

Synopsis

Creating a Request

data GetVerifiedAccessEndpointPolicy Source #

See: newGetVerifiedAccessEndpointPolicy smart constructor.

Constructors

GetVerifiedAccessEndpointPolicy' 

Fields

  • dryRun :: Maybe Bool

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

  • verifiedAccessEndpointId :: Text

    The ID of the Amazon Web Services Verified Access endpoint.

Instances

Instances details
ToHeaders GetVerifiedAccessEndpointPolicy Source # 
Instance details

Defined in Amazonka.EC2.GetVerifiedAccessEndpointPolicy

ToPath GetVerifiedAccessEndpointPolicy Source # 
Instance details

Defined in Amazonka.EC2.GetVerifiedAccessEndpointPolicy

ToQuery GetVerifiedAccessEndpointPolicy Source # 
Instance details

Defined in Amazonka.EC2.GetVerifiedAccessEndpointPolicy

AWSRequest GetVerifiedAccessEndpointPolicy Source # 
Instance details

Defined in Amazonka.EC2.GetVerifiedAccessEndpointPolicy

Generic GetVerifiedAccessEndpointPolicy Source # 
Instance details

Defined in Amazonka.EC2.GetVerifiedAccessEndpointPolicy

Associated Types

type Rep GetVerifiedAccessEndpointPolicy :: Type -> Type #

Read GetVerifiedAccessEndpointPolicy Source # 
Instance details

Defined in Amazonka.EC2.GetVerifiedAccessEndpointPolicy

Show GetVerifiedAccessEndpointPolicy Source # 
Instance details

Defined in Amazonka.EC2.GetVerifiedAccessEndpointPolicy

NFData GetVerifiedAccessEndpointPolicy Source # 
Instance details

Defined in Amazonka.EC2.GetVerifiedAccessEndpointPolicy

Eq GetVerifiedAccessEndpointPolicy Source # 
Instance details

Defined in Amazonka.EC2.GetVerifiedAccessEndpointPolicy

Hashable GetVerifiedAccessEndpointPolicy Source # 
Instance details

Defined in Amazonka.EC2.GetVerifiedAccessEndpointPolicy

type AWSResponse GetVerifiedAccessEndpointPolicy Source # 
Instance details

Defined in Amazonka.EC2.GetVerifiedAccessEndpointPolicy

type Rep GetVerifiedAccessEndpointPolicy Source # 
Instance details

Defined in Amazonka.EC2.GetVerifiedAccessEndpointPolicy

type Rep GetVerifiedAccessEndpointPolicy = D1 ('MetaData "GetVerifiedAccessEndpointPolicy" "Amazonka.EC2.GetVerifiedAccessEndpointPolicy" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "GetVerifiedAccessEndpointPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "verifiedAccessEndpointId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetVerifiedAccessEndpointPolicy Source #

Create a value of GetVerifiedAccessEndpointPolicy with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dryRun:GetVerifiedAccessEndpointPolicy', getVerifiedAccessEndpointPolicy_dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

GetVerifiedAccessEndpointPolicy, getVerifiedAccessEndpointPolicy_verifiedAccessEndpointId - The ID of the Amazon Web Services Verified Access endpoint.

Request Lenses

getVerifiedAccessEndpointPolicy_dryRun :: Lens' GetVerifiedAccessEndpointPolicy (Maybe Bool) Source #

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Destructuring the Response

data GetVerifiedAccessEndpointPolicyResponse Source #

Constructors

GetVerifiedAccessEndpointPolicyResponse' 

Fields

Instances

Instances details
Generic GetVerifiedAccessEndpointPolicyResponse Source # 
Instance details

Defined in Amazonka.EC2.GetVerifiedAccessEndpointPolicy

Read GetVerifiedAccessEndpointPolicyResponse Source # 
Instance details

Defined in Amazonka.EC2.GetVerifiedAccessEndpointPolicy

Show GetVerifiedAccessEndpointPolicyResponse Source # 
Instance details

Defined in Amazonka.EC2.GetVerifiedAccessEndpointPolicy

NFData GetVerifiedAccessEndpointPolicyResponse Source # 
Instance details

Defined in Amazonka.EC2.GetVerifiedAccessEndpointPolicy

Eq GetVerifiedAccessEndpointPolicyResponse Source # 
Instance details

Defined in Amazonka.EC2.GetVerifiedAccessEndpointPolicy

type Rep GetVerifiedAccessEndpointPolicyResponse Source # 
Instance details

Defined in Amazonka.EC2.GetVerifiedAccessEndpointPolicy

type Rep GetVerifiedAccessEndpointPolicyResponse = D1 ('MetaData "GetVerifiedAccessEndpointPolicyResponse" "Amazonka.EC2.GetVerifiedAccessEndpointPolicy" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "GetVerifiedAccessEndpointPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "policyDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "policyEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetVerifiedAccessEndpointPolicyResponse Source #

Create a value of GetVerifiedAccessEndpointPolicyResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

GetVerifiedAccessEndpointPolicyResponse, getVerifiedAccessEndpointPolicyResponse_policyDocument - The Amazon Web Services Verified Access policy document.

$sel:policyEnabled:GetVerifiedAccessEndpointPolicyResponse', getVerifiedAccessEndpointPolicyResponse_policyEnabled - The status of the Verified Access policy.

$sel:httpStatus:GetVerifiedAccessEndpointPolicyResponse', getVerifiedAccessEndpointPolicyResponse_httpStatus - The response's http status code.

Response Lenses