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 |
Amazonka.EC2.AcceptVpcEndpointConnections
Description
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.
Constructors
AcceptVpcEndpointConnections' | |
Fields
|
Instances
newAcceptVpcEndpointConnections Source #
Arguments
:: Text | |
-> AcceptVpcEndpointConnections |
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.
Constructors
AcceptVpcEndpointConnectionsResponse' | |
Fields
|
Instances
newAcceptVpcEndpointConnectionsResponse Source #
Arguments
:: Int | |
-> AcceptVpcEndpointConnectionsResponse |
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.