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

Description

Associates the specified attachment with the specified transit gateway route table. You can associate only one route table with an attachment.

Synopsis

Creating a Request

data AssociateTransitGatewayRouteTable Source #

See: newAssociateTransitGatewayRouteTable smart constructor.

Constructors

AssociateTransitGatewayRouteTable' 

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.

  • transitGatewayRouteTableId :: Text

    The ID of the transit gateway route table.

  • transitGatewayAttachmentId :: Text

    The ID of the attachment.

Instances

Instances details
ToHeaders AssociateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayRouteTable

ToPath AssociateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayRouteTable

ToQuery AssociateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayRouteTable

AWSRequest AssociateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayRouteTable

Generic AssociateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayRouteTable

Associated Types

type Rep AssociateTransitGatewayRouteTable :: Type -> Type #

Read AssociateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayRouteTable

Show AssociateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayRouteTable

NFData AssociateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayRouteTable

Eq AssociateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayRouteTable

Hashable AssociateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayRouteTable

type AWSResponse AssociateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayRouteTable

type Rep AssociateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayRouteTable

type Rep AssociateTransitGatewayRouteTable = D1 ('MetaData "AssociateTransitGatewayRouteTable" "Amazonka.EC2.AssociateTransitGatewayRouteTable" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "AssociateTransitGatewayRouteTable'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "transitGatewayRouteTableId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "transitGatewayAttachmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newAssociateTransitGatewayRouteTable Source #

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

AssociateTransitGatewayRouteTable, associateTransitGatewayRouteTable_transitGatewayRouteTableId - The ID of the transit gateway route table.

AssociateTransitGatewayRouteTable, associateTransitGatewayRouteTable_transitGatewayAttachmentId - The ID of the attachment.

Request Lenses

associateTransitGatewayRouteTable_dryRun :: Lens' AssociateTransitGatewayRouteTable (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 AssociateTransitGatewayRouteTableResponse Source #

Constructors

AssociateTransitGatewayRouteTableResponse' 

Fields

Instances

Instances details
Generic AssociateTransitGatewayRouteTableResponse Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayRouteTable

Read AssociateTransitGatewayRouteTableResponse Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayRouteTable

Show AssociateTransitGatewayRouteTableResponse Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayRouteTable

NFData AssociateTransitGatewayRouteTableResponse Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayRouteTable

Eq AssociateTransitGatewayRouteTableResponse Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayRouteTable

type Rep AssociateTransitGatewayRouteTableResponse Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayRouteTable

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

newAssociateTransitGatewayRouteTableResponse Source #

Create a value of AssociateTransitGatewayRouteTableResponse 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:

AssociateTransitGatewayRouteTableResponse, associateTransitGatewayRouteTableResponse_association - The ID of the association.

$sel:httpStatus:AssociateTransitGatewayRouteTableResponse', associateTransitGatewayRouteTableResponse_httpStatus - The response's http status code.

Response Lenses