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

Description

Removes the association between an an attachment and a policy table.

Synopsis

Creating a Request

data DisassociateTransitGatewayPolicyTable Source #

Constructors

DisassociateTransitGatewayPolicyTable' 

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.

  • transitGatewayPolicyTableId :: Text

    The ID of the disassociated policy table.

  • transitGatewayAttachmentId :: Text

    The ID of the transit gateway attachment to disassociate from the policy table.

Instances

Instances details
ToHeaders DisassociateTransitGatewayPolicyTable Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayPolicyTable

ToPath DisassociateTransitGatewayPolicyTable Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayPolicyTable

ToQuery DisassociateTransitGatewayPolicyTable Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayPolicyTable

AWSRequest DisassociateTransitGatewayPolicyTable Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayPolicyTable

Generic DisassociateTransitGatewayPolicyTable Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayPolicyTable

Read DisassociateTransitGatewayPolicyTable Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayPolicyTable

Show DisassociateTransitGatewayPolicyTable Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayPolicyTable

NFData DisassociateTransitGatewayPolicyTable Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayPolicyTable

Eq DisassociateTransitGatewayPolicyTable Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayPolicyTable

Hashable DisassociateTransitGatewayPolicyTable Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayPolicyTable

type AWSResponse DisassociateTransitGatewayPolicyTable Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayPolicyTable

type Rep DisassociateTransitGatewayPolicyTable Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayPolicyTable

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

newDisassociateTransitGatewayPolicyTable Source #

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

DisassociateTransitGatewayPolicyTable, disassociateTransitGatewayPolicyTable_transitGatewayPolicyTableId - The ID of the disassociated policy table.

DisassociateTransitGatewayPolicyTable, disassociateTransitGatewayPolicyTable_transitGatewayAttachmentId - The ID of the transit gateway attachment to disassociate from the policy table.

Request Lenses

disassociateTransitGatewayPolicyTable_dryRun :: Lens' DisassociateTransitGatewayPolicyTable (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.

disassociateTransitGatewayPolicyTable_transitGatewayAttachmentId :: Lens' DisassociateTransitGatewayPolicyTable Text Source #

The ID of the transit gateway attachment to disassociate from the policy table.

Destructuring the Response

data DisassociateTransitGatewayPolicyTableResponse Source #

Constructors

DisassociateTransitGatewayPolicyTableResponse' 

Fields

Instances

Instances details
Generic DisassociateTransitGatewayPolicyTableResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayPolicyTable

Read DisassociateTransitGatewayPolicyTableResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayPolicyTable

Show DisassociateTransitGatewayPolicyTableResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayPolicyTable

NFData DisassociateTransitGatewayPolicyTableResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayPolicyTable

Eq DisassociateTransitGatewayPolicyTableResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayPolicyTable

type Rep DisassociateTransitGatewayPolicyTableResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTransitGatewayPolicyTable

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

newDisassociateTransitGatewayPolicyTableResponse Source #

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

DisassociateTransitGatewayPolicyTableResponse, disassociateTransitGatewayPolicyTableResponse_association - Returns details about the transit gateway policy table disassociation.

$sel:httpStatus:DisassociateTransitGatewayPolicyTableResponse', disassociateTransitGatewayPolicyTableResponse_httpStatus - The response's http status code.

Response Lenses