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 |
Accepts one or more interface VPC endpoint connection requests to your VPC endpoint service.
Synopsis
- data AcceptVpcEndpointConnections = AcceptVpcEndpointConnections' {}
- newAcceptVpcEndpointConnections :: Text -> AcceptVpcEndpointConnections
- acceptVpcEndpointConnections_dryRun :: Lens' AcceptVpcEndpointConnections (Maybe Bool)
- acceptVpcEndpointConnections_serviceId :: Lens' AcceptVpcEndpointConnections Text
- acceptVpcEndpointConnections_vpcEndpointIds :: Lens' AcceptVpcEndpointConnections [Text]
- data AcceptVpcEndpointConnectionsResponse = AcceptVpcEndpointConnectionsResponse' {}
- newAcceptVpcEndpointConnectionsResponse :: Int -> AcceptVpcEndpointConnectionsResponse
- acceptVpcEndpointConnectionsResponse_unsuccessful :: Lens' AcceptVpcEndpointConnectionsResponse (Maybe [UnsuccessfulItem])
- acceptVpcEndpointConnectionsResponse_httpStatus :: Lens' AcceptVpcEndpointConnectionsResponse Int
Creating a Request
data AcceptVpcEndpointConnections Source #
See: newAcceptVpcEndpointConnections
smart constructor.
AcceptVpcEndpointConnections' | |
|
Instances
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
.
acceptVpcEndpointConnections_serviceId :: Lens' AcceptVpcEndpointConnections Text Source #
The ID of the VPC endpoint service.
acceptVpcEndpointConnections_vpcEndpointIds :: Lens' AcceptVpcEndpointConnections [Text] Source #
The IDs of one or more interface VPC endpoints.
Destructuring the Response
data AcceptVpcEndpointConnectionsResponse Source #
See: newAcceptVpcEndpointConnectionsResponse
smart constructor.
AcceptVpcEndpointConnectionsResponse' | |
|
Instances
Generic AcceptVpcEndpointConnectionsResponse Source # | |
Read AcceptVpcEndpointConnectionsResponse Source # | |
Show AcceptVpcEndpointConnectionsResponse Source # | |
NFData AcceptVpcEndpointConnectionsResponse Source # | |
Defined in Amazonka.EC2.AcceptVpcEndpointConnections rnf :: AcceptVpcEndpointConnectionsResponse -> () # | |
Eq AcceptVpcEndpointConnectionsResponse Source # | |
type Rep AcceptVpcEndpointConnectionsResponse Source # | |
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.
acceptVpcEndpointConnectionsResponse_httpStatus :: Lens' AcceptVpcEndpointConnectionsResponse Int Source #
The response's http status code.