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.Types.DirectConnectGateway

Description

 
Synopsis

Documentation

data DirectConnectGateway Source #

Information about a Direct Connect gateway, which enables you to connect virtual interfaces and virtual private gateway or transit gateways.

See: newDirectConnectGateway smart constructor.

Constructors

DirectConnectGateway' 

Fields

Instances

Instances details
Eq DirectConnectGateway Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.DirectConnectGateway

Read DirectConnectGateway Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.DirectConnectGateway

Show DirectConnectGateway Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.DirectConnectGateway

Generic DirectConnectGateway Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.DirectConnectGateway

Associated Types

type Rep DirectConnectGateway :: Type -> Type #

NFData DirectConnectGateway Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.DirectConnectGateway

Methods

rnf :: DirectConnectGateway -> () #

Hashable DirectConnectGateway Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.DirectConnectGateway

FromJSON DirectConnectGateway Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.DirectConnectGateway

type Rep DirectConnectGateway Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.DirectConnectGateway

type Rep DirectConnectGateway = D1 ('MetaData "DirectConnectGateway" "Amazonka.DirectConnect.Types.DirectConnectGateway" "libZSservicesZSamazonka-directconnectZSamazonka-directconnect" 'False) (C1 ('MetaCons "DirectConnectGateway'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "directConnectGatewayId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "stateChangeError") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "amazonSideAsn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) :*: (S1 ('MetaSel ('Just "directConnectGatewayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "directConnectGatewayState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DirectConnectGatewayState)) :*: S1 ('MetaSel ('Just "ownerAccount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newDirectConnectGateway :: DirectConnectGateway Source #

Create a value of DirectConnectGateway 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:directConnectGatewayId:DirectConnectGateway', directConnectGateway_directConnectGatewayId - The ID of the Direct Connect gateway.

$sel:stateChangeError:DirectConnectGateway', directConnectGateway_stateChangeError - The error message if the state of an object failed to advance.

$sel:amazonSideAsn:DirectConnectGateway', directConnectGateway_amazonSideAsn - The autonomous system number (ASN) for the Amazon side of the connection.

$sel:directConnectGatewayName:DirectConnectGateway', directConnectGateway_directConnectGatewayName - The name of the Direct Connect gateway.

$sel:directConnectGatewayState:DirectConnectGateway', directConnectGateway_directConnectGatewayState - The state of the Direct Connect gateway. The following are the possible values:

  • pending: The initial state after calling CreateDirectConnectGateway.
  • available: The Direct Connect gateway is ready for use.
  • deleting: The initial state after calling DeleteDirectConnectGateway.
  • deleted: The Direct Connect gateway is deleted and cannot pass traffic.

$sel:ownerAccount:DirectConnectGateway', directConnectGateway_ownerAccount - The ID of the Amazon Web Services account that owns the Direct Connect gateway.

directConnectGateway_stateChangeError :: Lens' DirectConnectGateway (Maybe Text) Source #

The error message if the state of an object failed to advance.

directConnectGateway_amazonSideAsn :: Lens' DirectConnectGateway (Maybe Integer) Source #

The autonomous system number (ASN) for the Amazon side of the connection.

directConnectGateway_directConnectGatewayState :: Lens' DirectConnectGateway (Maybe DirectConnectGatewayState) Source #

The state of the Direct Connect gateway. The following are the possible values:

  • pending: The initial state after calling CreateDirectConnectGateway.
  • available: The Direct Connect gateway is ready for use.
  • deleting: The initial state after calling DeleteDirectConnectGateway.
  • deleted: The Direct Connect gateway is deleted and cannot pass traffic.

directConnectGateway_ownerAccount :: Lens' DirectConnectGateway (Maybe Text) Source #

The ID of the Amazon Web Services account that owns the Direct Connect gateway.