libZSservicesZSamazonka-directconnectZSamazonka-directconnect
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DirectConnect.CreateDirectConnectGatewayAssociation

Description

Creates an association between a Direct Connect gateway and a virtual private gateway. The virtual private gateway must be attached to a VPC and must not be associated with another Direct Connect gateway.

Synopsis

Creating a Request

data CreateDirectConnectGatewayAssociation Source #

Constructors

CreateDirectConnectGatewayAssociation' 

Fields

Instances

Instances details
Eq CreateDirectConnectGatewayAssociation Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGatewayAssociation

Read CreateDirectConnectGatewayAssociation Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGatewayAssociation

Show CreateDirectConnectGatewayAssociation Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGatewayAssociation

Generic CreateDirectConnectGatewayAssociation Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGatewayAssociation

NFData CreateDirectConnectGatewayAssociation Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGatewayAssociation

Hashable CreateDirectConnectGatewayAssociation Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGatewayAssociation

ToJSON CreateDirectConnectGatewayAssociation Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGatewayAssociation

AWSRequest CreateDirectConnectGatewayAssociation Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGatewayAssociation

ToHeaders CreateDirectConnectGatewayAssociation Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGatewayAssociation

ToPath CreateDirectConnectGatewayAssociation Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGatewayAssociation

ToQuery CreateDirectConnectGatewayAssociation Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGatewayAssociation

type Rep CreateDirectConnectGatewayAssociation Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGatewayAssociation

type Rep CreateDirectConnectGatewayAssociation = D1 ('MetaData "CreateDirectConnectGatewayAssociation" "Amazonka.DirectConnect.CreateDirectConnectGatewayAssociation" "libZSservicesZSamazonka-directconnectZSamazonka-directconnect" 'False) (C1 ('MetaCons "CreateDirectConnectGatewayAssociation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "virtualGatewayId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "addAllowedPrefixesToDirectConnectGateway") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RouteFilterPrefix]))) :*: (S1 ('MetaSel ('Just "gatewayId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "directConnectGatewayId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateDirectConnectGatewayAssociation Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGatewayAssociation

newCreateDirectConnectGatewayAssociation Source #

Create a value of CreateDirectConnectGatewayAssociation 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:virtualGatewayId:CreateDirectConnectGatewayAssociation', createDirectConnectGatewayAssociation_virtualGatewayId - The ID of the virtual private gateway.

$sel:addAllowedPrefixesToDirectConnectGateway:CreateDirectConnectGatewayAssociation', createDirectConnectGatewayAssociation_addAllowedPrefixesToDirectConnectGateway - The Amazon VPC prefixes to advertise to the Direct Connect gateway

This parameter is required when you create an association to a transit gateway.

For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.

$sel:gatewayId:CreateDirectConnectGatewayAssociation', createDirectConnectGatewayAssociation_gatewayId - The ID of the virtual private gateway or transit gateway.

$sel:directConnectGatewayId:CreateDirectConnectGatewayAssociation', createDirectConnectGatewayAssociation_directConnectGatewayId - The ID of the Direct Connect gateway.

Request Lenses

createDirectConnectGatewayAssociation_addAllowedPrefixesToDirectConnectGateway :: Lens' CreateDirectConnectGatewayAssociation (Maybe [RouteFilterPrefix]) Source #

The Amazon VPC prefixes to advertise to the Direct Connect gateway

This parameter is required when you create an association to a transit gateway.

For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.

Destructuring the Response

data CreateDirectConnectGatewayAssociationResponse Source #

Constructors

CreateDirectConnectGatewayAssociationResponse' 

Fields

Instances

Instances details
Eq CreateDirectConnectGatewayAssociationResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGatewayAssociation

Read CreateDirectConnectGatewayAssociationResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGatewayAssociation

Show CreateDirectConnectGatewayAssociationResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGatewayAssociation

Generic CreateDirectConnectGatewayAssociationResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGatewayAssociation

NFData CreateDirectConnectGatewayAssociationResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGatewayAssociation

type Rep CreateDirectConnectGatewayAssociationResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGatewayAssociation

type Rep CreateDirectConnectGatewayAssociationResponse = D1 ('MetaData "CreateDirectConnectGatewayAssociationResponse" "Amazonka.DirectConnect.CreateDirectConnectGatewayAssociation" "libZSservicesZSamazonka-directconnectZSamazonka-directconnect" 'False) (C1 ('MetaCons "CreateDirectConnectGatewayAssociationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "directConnectGatewayAssociation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DirectConnectGatewayAssociation)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

Response Lenses