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 |
- IPv6 only
- Creates an egress-only internet gateway for your VPC. An egress-only internet gateway is used to enable outbound communication over IPv6 from instances in your VPC to the internet, and prevents hosts outside of your VPC from initiating an IPv6 connection with your instance.
Synopsis
- data CreateEgressOnlyInternetGateway = CreateEgressOnlyInternetGateway' {
- clientToken :: Maybe Text
- dryRun :: Maybe Bool
- tagSpecifications :: Maybe [TagSpecification]
- vpcId :: Text
- newCreateEgressOnlyInternetGateway :: Text -> CreateEgressOnlyInternetGateway
- createEgressOnlyInternetGateway_clientToken :: Lens' CreateEgressOnlyInternetGateway (Maybe Text)
- createEgressOnlyInternetGateway_dryRun :: Lens' CreateEgressOnlyInternetGateway (Maybe Bool)
- createEgressOnlyInternetGateway_tagSpecifications :: Lens' CreateEgressOnlyInternetGateway (Maybe [TagSpecification])
- createEgressOnlyInternetGateway_vpcId :: Lens' CreateEgressOnlyInternetGateway Text
- data CreateEgressOnlyInternetGatewayResponse = CreateEgressOnlyInternetGatewayResponse' {}
- newCreateEgressOnlyInternetGatewayResponse :: Int -> CreateEgressOnlyInternetGatewayResponse
- createEgressOnlyInternetGatewayResponse_clientToken :: Lens' CreateEgressOnlyInternetGatewayResponse (Maybe Text)
- createEgressOnlyInternetGatewayResponse_egressOnlyInternetGateway :: Lens' CreateEgressOnlyInternetGatewayResponse (Maybe EgressOnlyInternetGateway)
- createEgressOnlyInternetGatewayResponse_httpStatus :: Lens' CreateEgressOnlyInternetGatewayResponse Int
Creating a Request
data CreateEgressOnlyInternetGateway Source #
See: newCreateEgressOnlyInternetGateway
smart constructor.
CreateEgressOnlyInternetGateway' | |
|
Instances
newCreateEgressOnlyInternetGateway Source #
Create a value of CreateEgressOnlyInternetGateway
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:
CreateEgressOnlyInternetGateway
, createEgressOnlyInternetGateway_clientToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request. For more information, see
How to ensure idempotency.
$sel:dryRun:CreateEgressOnlyInternetGateway'
, createEgressOnlyInternetGateway_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
.
CreateEgressOnlyInternetGateway
, createEgressOnlyInternetGateway_tagSpecifications
- The tags to assign to the egress-only internet gateway.
CreateEgressOnlyInternetGateway
, createEgressOnlyInternetGateway_vpcId
- The ID of the VPC for which to create the egress-only internet gateway.
Request Lenses
createEgressOnlyInternetGateway_clientToken :: Lens' CreateEgressOnlyInternetGateway (Maybe Text) Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
createEgressOnlyInternetGateway_dryRun :: Lens' CreateEgressOnlyInternetGateway (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
.
createEgressOnlyInternetGateway_tagSpecifications :: Lens' CreateEgressOnlyInternetGateway (Maybe [TagSpecification]) Source #
The tags to assign to the egress-only internet gateway.
createEgressOnlyInternetGateway_vpcId :: Lens' CreateEgressOnlyInternetGateway Text Source #
The ID of the VPC for which to create the egress-only internet gateway.
Destructuring the Response
data CreateEgressOnlyInternetGatewayResponse Source #
See: newCreateEgressOnlyInternetGatewayResponse
smart constructor.
CreateEgressOnlyInternetGatewayResponse' | |
|
Instances
newCreateEgressOnlyInternetGatewayResponse Source #
Create a value of CreateEgressOnlyInternetGatewayResponse
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:
CreateEgressOnlyInternetGateway
, createEgressOnlyInternetGatewayResponse_clientToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
$sel:egressOnlyInternetGateway:CreateEgressOnlyInternetGatewayResponse'
, createEgressOnlyInternetGatewayResponse_egressOnlyInternetGateway
- Information about the egress-only internet gateway.
$sel:httpStatus:CreateEgressOnlyInternetGatewayResponse'
, createEgressOnlyInternetGatewayResponse_httpStatus
- The response's http status code.
Response Lenses
createEgressOnlyInternetGatewayResponse_clientToken :: Lens' CreateEgressOnlyInternetGatewayResponse (Maybe Text) Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
createEgressOnlyInternetGatewayResponse_egressOnlyInternetGateway :: Lens' CreateEgressOnlyInternetGatewayResponse (Maybe EgressOnlyInternetGateway) Source #
Information about the egress-only internet gateway.
createEgressOnlyInternetGatewayResponse_httpStatus :: Lens' CreateEgressOnlyInternetGatewayResponse Int Source #
The response's http status code.