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

Description

Associates the specified transit gateway attachment with a transit gateway policy table.

Synopsis

Creating a Request

data AssociateTransitGatewayPolicyTable Source #

Constructors

AssociateTransitGatewayPolicyTable' 

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 transit gateway policy table to associate with the transit gateway attachment.

  • transitGatewayAttachmentId :: Text

    The ID of the transit gateway attachment to associate with the policy table.

Instances

Instances details
ToHeaders AssociateTransitGatewayPolicyTable Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayPolicyTable

ToPath AssociateTransitGatewayPolicyTable Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayPolicyTable

ToQuery AssociateTransitGatewayPolicyTable Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayPolicyTable

AWSRequest AssociateTransitGatewayPolicyTable Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayPolicyTable

Generic AssociateTransitGatewayPolicyTable Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayPolicyTable

Associated Types

type Rep AssociateTransitGatewayPolicyTable :: Type -> Type #

Read AssociateTransitGatewayPolicyTable Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayPolicyTable

Show AssociateTransitGatewayPolicyTable Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayPolicyTable

NFData AssociateTransitGatewayPolicyTable Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayPolicyTable

Eq AssociateTransitGatewayPolicyTable Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayPolicyTable

Hashable AssociateTransitGatewayPolicyTable Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayPolicyTable

type AWSResponse AssociateTransitGatewayPolicyTable Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayPolicyTable

type Rep AssociateTransitGatewayPolicyTable Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayPolicyTable

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

newAssociateTransitGatewayPolicyTable Source #

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

AssociateTransitGatewayPolicyTable, associateTransitGatewayPolicyTable_transitGatewayPolicyTableId - The ID of the transit gateway policy table to associate with the transit gateway attachment.

AssociateTransitGatewayPolicyTable, associateTransitGatewayPolicyTable_transitGatewayAttachmentId - The ID of the transit gateway attachment to associate with the policy table.

Request Lenses

associateTransitGatewayPolicyTable_dryRun :: Lens' AssociateTransitGatewayPolicyTable (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.

associateTransitGatewayPolicyTable_transitGatewayPolicyTableId :: Lens' AssociateTransitGatewayPolicyTable Text Source #

The ID of the transit gateway policy table to associate with the transit gateway attachment.

associateTransitGatewayPolicyTable_transitGatewayAttachmentId :: Lens' AssociateTransitGatewayPolicyTable Text Source #

The ID of the transit gateway attachment to associate with the policy table.

Destructuring the Response

data AssociateTransitGatewayPolicyTableResponse Source #

Constructors

AssociateTransitGatewayPolicyTableResponse' 

Fields

Instances

Instances details
Generic AssociateTransitGatewayPolicyTableResponse Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayPolicyTable

Read AssociateTransitGatewayPolicyTableResponse Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayPolicyTable

Show AssociateTransitGatewayPolicyTableResponse Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayPolicyTable

NFData AssociateTransitGatewayPolicyTableResponse Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayPolicyTable

Eq AssociateTransitGatewayPolicyTableResponse Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayPolicyTable

type Rep AssociateTransitGatewayPolicyTableResponse Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayPolicyTable

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

newAssociateTransitGatewayPolicyTableResponse Source #

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

AssociateTransitGatewayPolicyTableResponse, associateTransitGatewayPolicyTableResponse_association - Describes the association of a transit gateway and a transit gateway policy table.

$sel:httpStatus:AssociateTransitGatewayPolicyTableResponse', associateTransitGatewayPolicyTableResponse_httpStatus - The response's http status code.

Response Lenses