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.AcceptVpcEndpointConnections

Description

Accepts one or more interface VPC endpoint connection requests to your VPC endpoint service.

Synopsis

Creating a Request

data AcceptVpcEndpointConnections Source #

See: newAcceptVpcEndpointConnections smart constructor.

Constructors

AcceptVpcEndpointConnections' 

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.

  • serviceId :: Text

    The ID of the VPC endpoint service.

  • vpcEndpointIds :: [Text]

    The IDs of one or more interface VPC endpoints.

Instances

Instances details
ToHeaders AcceptVpcEndpointConnections Source # 
Instance details

Defined in Amazonka.EC2.AcceptVpcEndpointConnections

ToPath AcceptVpcEndpointConnections Source # 
Instance details

Defined in Amazonka.EC2.AcceptVpcEndpointConnections

ToQuery AcceptVpcEndpointConnections Source # 
Instance details

Defined in Amazonka.EC2.AcceptVpcEndpointConnections

AWSRequest AcceptVpcEndpointConnections Source # 
Instance details

Defined in Amazonka.EC2.AcceptVpcEndpointConnections

Generic AcceptVpcEndpointConnections Source # 
Instance details

Defined in Amazonka.EC2.AcceptVpcEndpointConnections

Associated Types

type Rep AcceptVpcEndpointConnections :: Type -> Type #

Read AcceptVpcEndpointConnections Source # 
Instance details

Defined in Amazonka.EC2.AcceptVpcEndpointConnections

Show AcceptVpcEndpointConnections Source # 
Instance details

Defined in Amazonka.EC2.AcceptVpcEndpointConnections

NFData AcceptVpcEndpointConnections Source # 
Instance details

Defined in Amazonka.EC2.AcceptVpcEndpointConnections

Eq AcceptVpcEndpointConnections Source # 
Instance details

Defined in Amazonka.EC2.AcceptVpcEndpointConnections

Hashable AcceptVpcEndpointConnections Source # 
Instance details

Defined in Amazonka.EC2.AcceptVpcEndpointConnections

type AWSResponse AcceptVpcEndpointConnections Source # 
Instance details

Defined in Amazonka.EC2.AcceptVpcEndpointConnections

type Rep AcceptVpcEndpointConnections Source # 
Instance details

Defined in Amazonka.EC2.AcceptVpcEndpointConnections

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

newAcceptVpcEndpointConnections Source #

Create a value of AcceptVpcEndpointConnections 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:AcceptVpcEndpointConnections', acceptVpcEndpointConnections_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.

AcceptVpcEndpointConnections, acceptVpcEndpointConnections_serviceId - The ID of the VPC endpoint service.

$sel:vpcEndpointIds:AcceptVpcEndpointConnections', acceptVpcEndpointConnections_vpcEndpointIds - The IDs of one or more interface VPC endpoints.

Request Lenses

acceptVpcEndpointConnections_dryRun :: Lens' AcceptVpcEndpointConnections (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 AcceptVpcEndpointConnectionsResponse Source #

Constructors

AcceptVpcEndpointConnectionsResponse' 

Fields

Instances

Instances details
Generic AcceptVpcEndpointConnectionsResponse Source # 
Instance details

Defined in Amazonka.EC2.AcceptVpcEndpointConnections

Read AcceptVpcEndpointConnectionsResponse Source # 
Instance details

Defined in Amazonka.EC2.AcceptVpcEndpointConnections

Show AcceptVpcEndpointConnectionsResponse Source # 
Instance details

Defined in Amazonka.EC2.AcceptVpcEndpointConnections

NFData AcceptVpcEndpointConnectionsResponse Source # 
Instance details

Defined in Amazonka.EC2.AcceptVpcEndpointConnections

Eq AcceptVpcEndpointConnectionsResponse Source # 
Instance details

Defined in Amazonka.EC2.AcceptVpcEndpointConnections

type Rep AcceptVpcEndpointConnectionsResponse Source # 
Instance details

Defined in Amazonka.EC2.AcceptVpcEndpointConnections

type Rep AcceptVpcEndpointConnectionsResponse = D1 ('MetaData "AcceptVpcEndpointConnectionsResponse" "Amazonka.EC2.AcceptVpcEndpointConnections" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "AcceptVpcEndpointConnectionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "unsuccessful") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UnsuccessfulItem])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAcceptVpcEndpointConnectionsResponse Source #

Create a value of AcceptVpcEndpointConnectionsResponse 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:unsuccessful:AcceptVpcEndpointConnectionsResponse', acceptVpcEndpointConnectionsResponse_unsuccessful - Information about the interface endpoints that were not accepted, if applicable.

$sel:httpStatus:AcceptVpcEndpointConnectionsResponse', acceptVpcEndpointConnectionsResponse_httpStatus - The response's http status code.

Response Lenses

acceptVpcEndpointConnectionsResponse_unsuccessful :: Lens' AcceptVpcEndpointConnectionsResponse (Maybe [UnsuccessfulItem]) Source #

Information about the interface endpoints that were not accepted, if applicable.