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

Description

Creates a route table for the specified transit gateway.

Synopsis

Creating a Request

data CreateTransitGatewayRouteTable Source #

See: newCreateTransitGatewayRouteTable smart constructor.

Constructors

CreateTransitGatewayRouteTable' 

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 apply to the transit gateway route table.

  • transitGatewayId :: Text

    The ID of the transit gateway.

Instances

Instances details
ToHeaders CreateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayRouteTable

ToPath CreateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayRouteTable

ToQuery CreateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayRouteTable

AWSRequest CreateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayRouteTable

Generic CreateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayRouteTable

Associated Types

type Rep CreateTransitGatewayRouteTable :: Type -> Type #

Read CreateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayRouteTable

Show CreateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayRouteTable

NFData CreateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayRouteTable

Eq CreateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayRouteTable

Hashable CreateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayRouteTable

type AWSResponse CreateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayRouteTable

type Rep CreateTransitGatewayRouteTable Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayRouteTable

type Rep CreateTransitGatewayRouteTable = D1 ('MetaData "CreateTransitGatewayRouteTable" "Amazonka.EC2.CreateTransitGatewayRouteTable" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "CreateTransitGatewayRouteTable'" '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 "transitGatewayId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCreateTransitGatewayRouteTable Source #

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

CreateTransitGatewayRouteTable, createTransitGatewayRouteTable_tagSpecifications - The tags to apply to the transit gateway route table.

CreateTransitGatewayRouteTable, createTransitGatewayRouteTable_transitGatewayId - The ID of the transit gateway.

Request Lenses

createTransitGatewayRouteTable_dryRun :: Lens' CreateTransitGatewayRouteTable (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 CreateTransitGatewayRouteTableResponse Source #

Constructors

CreateTransitGatewayRouteTableResponse' 

Fields

Instances

Instances details
Generic CreateTransitGatewayRouteTableResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayRouteTable

Read CreateTransitGatewayRouteTableResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayRouteTable

Show CreateTransitGatewayRouteTableResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayRouteTable

NFData CreateTransitGatewayRouteTableResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayRouteTable

Eq CreateTransitGatewayRouteTableResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayRouteTable

type Rep CreateTransitGatewayRouteTableResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayRouteTable

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

newCreateTransitGatewayRouteTableResponse Source #

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

CreateTransitGatewayRouteTableResponse, createTransitGatewayRouteTableResponse_transitGatewayRouteTable - Information about the transit gateway route table.

$sel:httpStatus:CreateTransitGatewayRouteTableResponse', createTransitGatewayRouteTableResponse_httpStatus - The response's http status code.

Response Lenses