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

Description

Associates the specified VPC with the specified local gateway route table.

Synopsis

Creating a Request

data CreateLocalGatewayRouteTableVpcAssociation Source #

Constructors

CreateLocalGatewayRouteTableVpcAssociation' 

Fields

  • 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 local gateway route table VPC association.

  • localGatewayRouteTableId :: Text

    The ID of the local gateway route table.

  • vpcId :: Text

    The ID of the VPC.

Instances

Instances details
ToHeaders CreateLocalGatewayRouteTableVpcAssociation Source # 
Instance details

Defined in Amazonka.EC2.CreateLocalGatewayRouteTableVpcAssociation

ToPath CreateLocalGatewayRouteTableVpcAssociation Source # 
Instance details

Defined in Amazonka.EC2.CreateLocalGatewayRouteTableVpcAssociation

ToQuery CreateLocalGatewayRouteTableVpcAssociation Source # 
Instance details

Defined in Amazonka.EC2.CreateLocalGatewayRouteTableVpcAssociation

AWSRequest CreateLocalGatewayRouteTableVpcAssociation Source # 
Instance details

Defined in Amazonka.EC2.CreateLocalGatewayRouteTableVpcAssociation

Generic CreateLocalGatewayRouteTableVpcAssociation Source # 
Instance details

Defined in Amazonka.EC2.CreateLocalGatewayRouteTableVpcAssociation

Read CreateLocalGatewayRouteTableVpcAssociation Source # 
Instance details

Defined in Amazonka.EC2.CreateLocalGatewayRouteTableVpcAssociation

Show CreateLocalGatewayRouteTableVpcAssociation Source # 
Instance details

Defined in Amazonka.EC2.CreateLocalGatewayRouteTableVpcAssociation

NFData CreateLocalGatewayRouteTableVpcAssociation Source # 
Instance details

Defined in Amazonka.EC2.CreateLocalGatewayRouteTableVpcAssociation

Eq CreateLocalGatewayRouteTableVpcAssociation Source # 
Instance details

Defined in Amazonka.EC2.CreateLocalGatewayRouteTableVpcAssociation

Hashable CreateLocalGatewayRouteTableVpcAssociation Source # 
Instance details

Defined in Amazonka.EC2.CreateLocalGatewayRouteTableVpcAssociation

type AWSResponse CreateLocalGatewayRouteTableVpcAssociation Source # 
Instance details

Defined in Amazonka.EC2.CreateLocalGatewayRouteTableVpcAssociation

type Rep CreateLocalGatewayRouteTableVpcAssociation Source # 
Instance details

Defined in Amazonka.EC2.CreateLocalGatewayRouteTableVpcAssociation

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

newCreateLocalGatewayRouteTableVpcAssociation Source #

Create a value of CreateLocalGatewayRouteTableVpcAssociation 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:CreateLocalGatewayRouteTableVpcAssociation', createLocalGatewayRouteTableVpcAssociation_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.

CreateLocalGatewayRouteTableVpcAssociation, createLocalGatewayRouteTableVpcAssociation_tagSpecifications - The tags to assign to the local gateway route table VPC association.

CreateLocalGatewayRouteTableVpcAssociation, createLocalGatewayRouteTableVpcAssociation_localGatewayRouteTableId - The ID of the local gateway route table.

CreateLocalGatewayRouteTableVpcAssociation, createLocalGatewayRouteTableVpcAssociation_vpcId - The ID of the VPC.

Request Lenses

createLocalGatewayRouteTableVpcAssociation_dryRun :: Lens' CreateLocalGatewayRouteTableVpcAssociation (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.

Destructuring the Response

data CreateLocalGatewayRouteTableVpcAssociationResponse Source #

Constructors

CreateLocalGatewayRouteTableVpcAssociationResponse' 

Fields

Instances

Instances details
Generic CreateLocalGatewayRouteTableVpcAssociationResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateLocalGatewayRouteTableVpcAssociation

Read CreateLocalGatewayRouteTableVpcAssociationResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateLocalGatewayRouteTableVpcAssociation

Show CreateLocalGatewayRouteTableVpcAssociationResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateLocalGatewayRouteTableVpcAssociation

NFData CreateLocalGatewayRouteTableVpcAssociationResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateLocalGatewayRouteTableVpcAssociation

Eq CreateLocalGatewayRouteTableVpcAssociationResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateLocalGatewayRouteTableVpcAssociation

type Rep CreateLocalGatewayRouteTableVpcAssociationResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateLocalGatewayRouteTableVpcAssociation

type Rep CreateLocalGatewayRouteTableVpcAssociationResponse = D1 ('MetaData "CreateLocalGatewayRouteTableVpcAssociationResponse" "Amazonka.EC2.CreateLocalGatewayRouteTableVpcAssociation" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "CreateLocalGatewayRouteTableVpcAssociationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "localGatewayRouteTableVpcAssociation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LocalGatewayRouteTableVpcAssociation)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

Response Lenses