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

Description

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

Creating a Request

data CreateEgressOnlyInternetGateway Source #

See: newCreateEgressOnlyInternetGateway smart constructor.

Constructors

CreateEgressOnlyInternetGateway' 

Fields

  • clientToken :: Maybe Text

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

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

  • tagSpecifications :: Maybe [TagSpecification]

    The tags to assign to the egress-only internet gateway.

  • vpcId :: Text

    The ID of the VPC for which to create the egress-only internet gateway.

Instances

Instances details
ToHeaders CreateEgressOnlyInternetGateway Source # 
Instance details

Defined in Amazonka.EC2.CreateEgressOnlyInternetGateway

ToPath CreateEgressOnlyInternetGateway Source # 
Instance details

Defined in Amazonka.EC2.CreateEgressOnlyInternetGateway

ToQuery CreateEgressOnlyInternetGateway Source # 
Instance details

Defined in Amazonka.EC2.CreateEgressOnlyInternetGateway

AWSRequest CreateEgressOnlyInternetGateway Source # 
Instance details

Defined in Amazonka.EC2.CreateEgressOnlyInternetGateway

Generic CreateEgressOnlyInternetGateway Source # 
Instance details

Defined in Amazonka.EC2.CreateEgressOnlyInternetGateway

Associated Types

type Rep CreateEgressOnlyInternetGateway :: Type -> Type #

Read CreateEgressOnlyInternetGateway Source # 
Instance details

Defined in Amazonka.EC2.CreateEgressOnlyInternetGateway

Show CreateEgressOnlyInternetGateway Source # 
Instance details

Defined in Amazonka.EC2.CreateEgressOnlyInternetGateway

NFData CreateEgressOnlyInternetGateway Source # 
Instance details

Defined in Amazonka.EC2.CreateEgressOnlyInternetGateway

Eq CreateEgressOnlyInternetGateway Source # 
Instance details

Defined in Amazonka.EC2.CreateEgressOnlyInternetGateway

Hashable CreateEgressOnlyInternetGateway Source # 
Instance details

Defined in Amazonka.EC2.CreateEgressOnlyInternetGateway

type AWSResponse CreateEgressOnlyInternetGateway Source # 
Instance details

Defined in Amazonka.EC2.CreateEgressOnlyInternetGateway

type Rep CreateEgressOnlyInternetGateway Source # 
Instance details

Defined in Amazonka.EC2.CreateEgressOnlyInternetGateway

type Rep CreateEgressOnlyInternetGateway = D1 ('MetaData "CreateEgressOnlyInternetGateway" "Amazonka.EC2.CreateEgressOnlyInternetGateway" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "CreateEgressOnlyInternetGateway'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "tagSpecifications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TagSpecification])) :*: S1 ('MetaSel ('Just "vpcId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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_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 #

Constructors

CreateEgressOnlyInternetGatewayResponse' 

Fields

Instances

Instances details
Generic CreateEgressOnlyInternetGatewayResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateEgressOnlyInternetGateway

Read CreateEgressOnlyInternetGatewayResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateEgressOnlyInternetGateway

Show CreateEgressOnlyInternetGatewayResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateEgressOnlyInternetGateway

NFData CreateEgressOnlyInternetGatewayResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateEgressOnlyInternetGateway

Eq CreateEgressOnlyInternetGatewayResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateEgressOnlyInternetGateway

type Rep CreateEgressOnlyInternetGatewayResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateEgressOnlyInternetGateway

type Rep CreateEgressOnlyInternetGatewayResponse = D1 ('MetaData "CreateEgressOnlyInternetGatewayResponse" "Amazonka.EC2.CreateEgressOnlyInternetGateway" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "CreateEgressOnlyInternetGatewayResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "egressOnlyInternetGateway") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EgressOnlyInternetGateway)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.