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

Description

Confirms the creation of the specified hosted connection on an interconnect.

Upon creation, the hosted connection is initially in the Ordering state, and remains in this state until the owner confirms creation of the hosted connection.

Synopsis

Creating a Request

data ConfirmConnection Source #

See: newConfirmConnection smart constructor.

Constructors

ConfirmConnection' 

Fields

Instances

Instances details
Eq ConfirmConnection Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmConnection

Read ConfirmConnection Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmConnection

Show ConfirmConnection Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmConnection

Generic ConfirmConnection Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmConnection

Associated Types

type Rep ConfirmConnection :: Type -> Type #

NFData ConfirmConnection Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmConnection

Methods

rnf :: ConfirmConnection -> () #

Hashable ConfirmConnection Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmConnection

ToJSON ConfirmConnection Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmConnection

AWSRequest ConfirmConnection Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmConnection

Associated Types

type AWSResponse ConfirmConnection #

ToHeaders ConfirmConnection Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmConnection

ToPath ConfirmConnection Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmConnection

ToQuery ConfirmConnection Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmConnection

type Rep ConfirmConnection Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmConnection

type Rep ConfirmConnection = D1 ('MetaData "ConfirmConnection" "Amazonka.DirectConnect.ConfirmConnection" "libZSservicesZSamazonka-directconnectZSamazonka-directconnect" 'False) (C1 ('MetaCons "ConfirmConnection'" 'PrefixI 'True) (S1 ('MetaSel ('Just "connectionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse ConfirmConnection Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmConnection

newConfirmConnection Source #

Create a value of ConfirmConnection 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:connectionId:ConfirmConnection', confirmConnection_connectionId - The ID of the hosted connection.

Request Lenses

Destructuring the Response

data ConfirmConnectionResponse Source #

See: newConfirmConnectionResponse smart constructor.

Constructors

ConfirmConnectionResponse' 

Fields

  • connectionState :: Maybe ConnectionState

    The state of the connection. The following are the possible values:

    • ordering: The initial state of a hosted connection provisioned on an interconnect. The connection stays in the ordering state until the owner of the hosted connection confirms or declines the connection order.
    • requested: The initial state of a standard connection. The connection stays in the requested state until the Letter of Authorization (LOA) is sent to the customer.
    • pending: The connection has been approved and is being initialized.
    • available: The network link is up and the connection is ready for use.
    • down: The network link is down.
    • deleting: The connection is being deleted.
    • deleted: The connection has been deleted.
    • rejected: A hosted connection in the ordering state enters the rejected state if it is deleted by the customer.
    • unknown: The state of the connection is not available.
  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ConfirmConnectionResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmConnection

Read ConfirmConnectionResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmConnection

Show ConfirmConnectionResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmConnection

Generic ConfirmConnectionResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmConnection

Associated Types

type Rep ConfirmConnectionResponse :: Type -> Type #

NFData ConfirmConnectionResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmConnection

type Rep ConfirmConnectionResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.ConfirmConnection

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

newConfirmConnectionResponse Source #

Create a value of ConfirmConnectionResponse 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:connectionState:ConfirmConnectionResponse', confirmConnectionResponse_connectionState - The state of the connection. The following are the possible values:

  • ordering: The initial state of a hosted connection provisioned on an interconnect. The connection stays in the ordering state until the owner of the hosted connection confirms or declines the connection order.
  • requested: The initial state of a standard connection. The connection stays in the requested state until the Letter of Authorization (LOA) is sent to the customer.
  • pending: The connection has been approved and is being initialized.
  • available: The network link is up and the connection is ready for use.
  • down: The network link is down.
  • deleting: The connection is being deleted.
  • deleted: The connection has been deleted.
  • rejected: A hosted connection in the ordering state enters the rejected state if it is deleted by the customer.
  • unknown: The state of the connection is not available.

$sel:httpStatus:ConfirmConnectionResponse', confirmConnectionResponse_httpStatus - The response's http status code.

Response Lenses

confirmConnectionResponse_connectionState :: Lens' ConfirmConnectionResponse (Maybe ConnectionState) Source #

The state of the connection. The following are the possible values:

  • ordering: The initial state of a hosted connection provisioned on an interconnect. The connection stays in the ordering state until the owner of the hosted connection confirms or declines the connection order.
  • requested: The initial state of a standard connection. The connection stays in the requested state until the Letter of Authorization (LOA) is sent to the customer.
  • pending: The connection has been approved and is being initialized.
  • available: The network link is up and the connection is ready for use.
  • down: The network link is down.
  • deleting: The connection is being deleted.
  • deleted: The connection has been deleted.
  • rejected: A hosted connection in the ordering state enters the rejected state if it is deleted by the customer.
  • unknown: The state of the connection is not available.