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

Description

Creates a Connect attachment from a specified transit gateway attachment. A Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a transit gateway and an appliance.

A Connect attachment uses an existing VPC or Amazon Web Services Direct Connect attachment as the underlying transport mechanism.

Synopsis

Creating a Request

data CreateTransitGatewayConnect Source #

See: newCreateTransitGatewayConnect smart constructor.

Constructors

CreateTransitGatewayConnect' 

Fields

Instances

Instances details
ToHeaders CreateTransitGatewayConnect Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayConnect

ToPath CreateTransitGatewayConnect Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayConnect

ToQuery CreateTransitGatewayConnect Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayConnect

AWSRequest CreateTransitGatewayConnect Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayConnect

Generic CreateTransitGatewayConnect Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayConnect

Associated Types

type Rep CreateTransitGatewayConnect :: Type -> Type #

Read CreateTransitGatewayConnect Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayConnect

Show CreateTransitGatewayConnect Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayConnect

NFData CreateTransitGatewayConnect Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayConnect

Eq CreateTransitGatewayConnect Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayConnect

Hashable CreateTransitGatewayConnect Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayConnect

type AWSResponse CreateTransitGatewayConnect Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayConnect

type Rep CreateTransitGatewayConnect Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayConnect

type Rep CreateTransitGatewayConnect = D1 ('MetaData "CreateTransitGatewayConnect" "Amazonka.EC2.CreateTransitGatewayConnect" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "CreateTransitGatewayConnect'" '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 "transportTransitGatewayAttachmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "options") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CreateTransitGatewayConnectRequestOptions))))

newCreateTransitGatewayConnect Source #

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

CreateTransitGatewayConnect, createTransitGatewayConnect_tagSpecifications - The tags to apply to the Connect attachment.

CreateTransitGatewayConnect, createTransitGatewayConnect_transportTransitGatewayAttachmentId - The ID of the transit gateway attachment. You can specify a VPC attachment or Amazon Web Services Direct Connect attachment.

CreateTransitGatewayConnect, createTransitGatewayConnect_options - The Connect attachment options.

Request Lenses

createTransitGatewayConnect_dryRun :: Lens' CreateTransitGatewayConnect (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.

createTransitGatewayConnect_transportTransitGatewayAttachmentId :: Lens' CreateTransitGatewayConnect Text Source #

The ID of the transit gateway attachment. You can specify a VPC attachment or Amazon Web Services Direct Connect attachment.

Destructuring the Response

data CreateTransitGatewayConnectResponse Source #

Constructors

CreateTransitGatewayConnectResponse' 

Fields

Instances

Instances details
Generic CreateTransitGatewayConnectResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayConnect

Read CreateTransitGatewayConnectResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayConnect

Show CreateTransitGatewayConnectResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayConnect

NFData CreateTransitGatewayConnectResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayConnect

Eq CreateTransitGatewayConnectResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayConnect

type Rep CreateTransitGatewayConnectResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayConnect

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

newCreateTransitGatewayConnectResponse Source #

Create a value of CreateTransitGatewayConnectResponse 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:transitGatewayConnect:CreateTransitGatewayConnectResponse', createTransitGatewayConnectResponse_transitGatewayConnect - Information about the Connect attachment.

$sel:httpStatus:CreateTransitGatewayConnectResponse', createTransitGatewayConnectResponse_httpStatus - The response's http status code.

Response Lenses