Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Rejects one or more VPC endpoint connection requests to your VPC endpoint service.
Synopsis
- data RejectVpcEndpointConnections = RejectVpcEndpointConnections' {}
- newRejectVpcEndpointConnections :: Text -> RejectVpcEndpointConnections
- rejectVpcEndpointConnections_dryRun :: Lens' RejectVpcEndpointConnections (Maybe Bool)
- rejectVpcEndpointConnections_serviceId :: Lens' RejectVpcEndpointConnections Text
- rejectVpcEndpointConnections_vpcEndpointIds :: Lens' RejectVpcEndpointConnections [Text]
- data RejectVpcEndpointConnectionsResponse = RejectVpcEndpointConnectionsResponse' {}
- newRejectVpcEndpointConnectionsResponse :: Int -> RejectVpcEndpointConnectionsResponse
- rejectVpcEndpointConnectionsResponse_unsuccessful :: Lens' RejectVpcEndpointConnectionsResponse (Maybe [UnsuccessfulItem])
- rejectVpcEndpointConnectionsResponse_httpStatus :: Lens' RejectVpcEndpointConnectionsResponse Int
Creating a Request
data RejectVpcEndpointConnections Source #
See: newRejectVpcEndpointConnections
smart constructor.
RejectVpcEndpointConnections' | |
|
Instances
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
.
rejectVpcEndpointConnections_serviceId :: Lens' RejectVpcEndpointConnections Text Source #
The ID of the service.
rejectVpcEndpointConnections_vpcEndpointIds :: Lens' RejectVpcEndpointConnections [Text] Source #
The IDs of one or more VPC endpoints.
Destructuring the Response
data RejectVpcEndpointConnectionsResponse Source #
See: newRejectVpcEndpointConnectionsResponse
smart constructor.
RejectVpcEndpointConnectionsResponse' | |
|
Instances
Generic RejectVpcEndpointConnectionsResponse Source # | |
Read RejectVpcEndpointConnectionsResponse Source # | |
Show RejectVpcEndpointConnectionsResponse Source # | |
NFData RejectVpcEndpointConnectionsResponse Source # | |
Defined in Amazonka.EC2.RejectVpcEndpointConnections rnf :: RejectVpcEndpointConnectionsResponse -> () # | |
Eq RejectVpcEndpointConnectionsResponse Source # | |
type Rep RejectVpcEndpointConnectionsResponse Source # | |
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.
rejectVpcEndpointConnectionsResponse_httpStatus :: Lens' RejectVpcEndpointConnectionsResponse Int Source #
The response's http status code.