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

Description

Rejects one or more VPC endpoint connection requests to your VPC endpoint service.

Synopsis

Creating a Request

data RejectVpcEndpointConnections Source #

See: newRejectVpcEndpointConnections smart constructor.

Constructors

RejectVpcEndpointConnections' 

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

  • vpcEndpointIds :: [Text]

    The IDs of one or more VPC endpoints.

Instances

Instances details
ToHeaders RejectVpcEndpointConnections Source # 
Instance details

Defined in Amazonka.EC2.RejectVpcEndpointConnections

ToPath RejectVpcEndpointConnections Source # 
Instance details

Defined in Amazonka.EC2.RejectVpcEndpointConnections

ToQuery RejectVpcEndpointConnections Source # 
Instance details

Defined in Amazonka.EC2.RejectVpcEndpointConnections

AWSRequest RejectVpcEndpointConnections Source # 
Instance details

Defined in Amazonka.EC2.RejectVpcEndpointConnections

Generic RejectVpcEndpointConnections Source # 
Instance details

Defined in Amazonka.EC2.RejectVpcEndpointConnections

Associated Types

type Rep RejectVpcEndpointConnections :: Type -> Type #

Read RejectVpcEndpointConnections Source # 
Instance details

Defined in Amazonka.EC2.RejectVpcEndpointConnections

Show RejectVpcEndpointConnections Source # 
Instance details

Defined in Amazonka.EC2.RejectVpcEndpointConnections

NFData RejectVpcEndpointConnections Source # 
Instance details

Defined in Amazonka.EC2.RejectVpcEndpointConnections

Eq RejectVpcEndpointConnections Source # 
Instance details

Defined in Amazonka.EC2.RejectVpcEndpointConnections

Hashable RejectVpcEndpointConnections Source # 
Instance details

Defined in Amazonka.EC2.RejectVpcEndpointConnections

type AWSResponse RejectVpcEndpointConnections Source # 
Instance details

Defined in Amazonka.EC2.RejectVpcEndpointConnections

type Rep RejectVpcEndpointConnections Source # 
Instance details

Defined in Amazonka.EC2.RejectVpcEndpointConnections

type Rep RejectVpcEndpointConnections = D1 ('MetaData "RejectVpcEndpointConnections" "Amazonka.EC2.RejectVpcEndpointConnections" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "RejectVpcEndpointConnections'" '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]))))

newRejectVpcEndpointConnections Source #

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

RejectVpcEndpointConnections, rejectVpcEndpointConnections_serviceId - The ID of the service.

$sel:vpcEndpointIds:RejectVpcEndpointConnections', rejectVpcEndpointConnections_vpcEndpointIds - The IDs of one or more VPC endpoints.

Request Lenses

rejectVpcEndpointConnections_dryRun :: Lens' RejectVpcEndpointConnections (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 RejectVpcEndpointConnectionsResponse Source #

Constructors

RejectVpcEndpointConnectionsResponse' 

Fields

Instances

Instances details
Generic RejectVpcEndpointConnectionsResponse Source # 
Instance details

Defined in Amazonka.EC2.RejectVpcEndpointConnections

Read RejectVpcEndpointConnectionsResponse Source # 
Instance details

Defined in Amazonka.EC2.RejectVpcEndpointConnections

Show RejectVpcEndpointConnectionsResponse Source # 
Instance details

Defined in Amazonka.EC2.RejectVpcEndpointConnections

NFData RejectVpcEndpointConnectionsResponse Source # 
Instance details

Defined in Amazonka.EC2.RejectVpcEndpointConnections

Eq RejectVpcEndpointConnectionsResponse Source # 
Instance details

Defined in Amazonka.EC2.RejectVpcEndpointConnections

type Rep RejectVpcEndpointConnectionsResponse Source # 
Instance details

Defined in Amazonka.EC2.RejectVpcEndpointConnections

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

newRejectVpcEndpointConnectionsResponse Source #

Create a value of RejectVpcEndpointConnectionsResponse 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:RejectVpcEndpointConnectionsResponse', rejectVpcEndpointConnectionsResponse_unsuccessful - Information about the endpoints that were not rejected, if applicable.

$sel:httpStatus:RejectVpcEndpointConnectionsResponse', rejectVpcEndpointConnectionsResponse_httpStatus - The response's http status code.

Response Lenses

rejectVpcEndpointConnectionsResponse_unsuccessful :: Lens' RejectVpcEndpointConnectionsResponse (Maybe [UnsuccessfulItem]) Source #

Information about the endpoints that were not rejected, if applicable.