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

Description

Disassociates a resource attachment from a transit gateway route table.

Synopsis

Creating a Request

data DisassociateTransitGatewayRouteTable Source #

Constructors

DisassociateTransitGatewayRouteTable' 

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 DisassociateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayRouteTable

ToPath DisassociateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayRouteTable

ToQuery DisassociateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayRouteTable

AWSRequest DisassociateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayRouteTable

Generic DisassociateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayRouteTable

Read DisassociateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayRouteTable

Show DisassociateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayRouteTable

NFData DisassociateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayRouteTable

Eq DisassociateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayRouteTable

Hashable DisassociateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayRouteTable

type AWSResponse DisassociateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayRouteTable

type Rep DisassociateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayRouteTable

type Rep DisassociateTransitGatewayRouteTable = D1 ('MetaData "DisassociateTransitGatewayRouteTable" "Amazonka.EC2.DisassociateTransitGatewayRouteTable" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DisassociateTransitGatewayRouteTable'" '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))))

newDisassociateTransitGatewayRouteTable Source #

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

DisassociateTransitGatewayRouteTable, disassociateTransitGatewayRouteTable_transitGatewayRouteTableId - The ID of the transit gateway route table.

DisassociateTransitGatewayRouteTable, disassociateTransitGatewayRouteTable_transitGatewayAttachmentId - The ID of the attachment.

Request Lenses

disassociateTransitGatewayRouteTable_dryRun :: Lens' DisassociateTransitGatewayRouteTable (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 DisassociateTransitGatewayRouteTableResponse Source #

Constructors

DisassociateTransitGatewayRouteTableResponse' 

Fields

Instances

Instances details
Generic DisassociateTransitGatewayRouteTableResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayRouteTable

Read DisassociateTransitGatewayRouteTableResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayRouteTable

Show DisassociateTransitGatewayRouteTableResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayRouteTable

NFData DisassociateTransitGatewayRouteTableResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayRouteTable

Eq DisassociateTransitGatewayRouteTableResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayRouteTable

type Rep DisassociateTransitGatewayRouteTableResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayRouteTable

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

newDisassociateTransitGatewayRouteTableResponse Source #

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

DisassociateTransitGatewayRouteTableResponse, disassociateTransitGatewayRouteTableResponse_association - Information about the association.

$sel:httpStatus:DisassociateTransitGatewayRouteTableResponse', disassociateTransitGatewayRouteTableResponse_httpStatus - The response's http status code.

Response Lenses