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

Description

Deletes the specified interconnect.

Intended for use by Direct Connect Partners only.

Synopsis

Creating a Request

data DeleteInterconnect Source #

See: newDeleteInterconnect smart constructor.

Constructors

DeleteInterconnect' 

Fields

Instances

Instances details
Eq DeleteInterconnect Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteInterconnect

Read DeleteInterconnect Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteInterconnect

Show DeleteInterconnect Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteInterconnect

Generic DeleteInterconnect Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteInterconnect

Associated Types

type Rep DeleteInterconnect :: Type -> Type #

NFData DeleteInterconnect Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteInterconnect

Methods

rnf :: DeleteInterconnect -> () #

Hashable DeleteInterconnect Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteInterconnect

ToJSON DeleteInterconnect Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteInterconnect

AWSRequest DeleteInterconnect Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteInterconnect

Associated Types

type AWSResponse DeleteInterconnect #

ToHeaders DeleteInterconnect Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteInterconnect

ToPath DeleteInterconnect Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteInterconnect

ToQuery DeleteInterconnect Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteInterconnect

type Rep DeleteInterconnect Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteInterconnect

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

Defined in Amazonka.DirectConnect.DeleteInterconnect

newDeleteInterconnect Source #

Create a value of DeleteInterconnect 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:interconnectId:DeleteInterconnect', deleteInterconnect_interconnectId - The ID of the interconnect.

Request Lenses

Destructuring the Response

data DeleteInterconnectResponse Source #

See: newDeleteInterconnectResponse smart constructor.

Constructors

DeleteInterconnectResponse' 

Fields

  • interconnectState :: Maybe InterconnectState

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

    • requested: The initial state of an interconnect. The interconnect stays in the requested state until the Letter of Authorization (LOA) is sent to the customer.
    • pending: The interconnect is approved, and is being initialized.
    • available: The network link is up, and the interconnect is ready for use.
    • down: The network link is down.
    • deleting: The interconnect is being deleted.
    • deleted: The interconnect is deleted.
    • unknown: The state of the interconnect is not available.
  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DeleteInterconnectResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteInterconnect

Read DeleteInterconnectResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteInterconnect

Show DeleteInterconnectResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteInterconnect

Generic DeleteInterconnectResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteInterconnect

Associated Types

type Rep DeleteInterconnectResponse :: Type -> Type #

NFData DeleteInterconnectResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteInterconnect

type Rep DeleteInterconnectResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteInterconnect

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

newDeleteInterconnectResponse Source #

Create a value of DeleteInterconnectResponse 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:interconnectState:DeleteInterconnectResponse', deleteInterconnectResponse_interconnectState - The state of the interconnect. The following are the possible values:

  • requested: The initial state of an interconnect. The interconnect stays in the requested state until the Letter of Authorization (LOA) is sent to the customer.
  • pending: The interconnect is approved, and is being initialized.
  • available: The network link is up, and the interconnect is ready for use.
  • down: The network link is down.
  • deleting: The interconnect is being deleted.
  • deleted: The interconnect is deleted.
  • unknown: The state of the interconnect is not available.

$sel:httpStatus:DeleteInterconnectResponse', deleteInterconnectResponse_httpStatus - The response's http status code.

Response Lenses

deleteInterconnectResponse_interconnectState :: Lens' DeleteInterconnectResponse (Maybe InterconnectState) Source #

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

  • requested: The initial state of an interconnect. The interconnect stays in the requested state until the Letter of Authorization (LOA) is sent to the customer.
  • pending: The interconnect is approved, and is being initialized.
  • available: The network link is up, and the interconnect is ready for use.
  • down: The network link is down.
  • deleting: The interconnect is being deleted.
  • deleted: The interconnect is deleted.
  • unknown: The state of the interconnect is not available.