Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Deletes the specified interconnect.
Intended for use by Direct Connect Partners only.
Synopsis
- data DeleteInterconnect = DeleteInterconnect' {}
- newDeleteInterconnect :: Text -> DeleteInterconnect
- deleteInterconnect_interconnectId :: Lens' DeleteInterconnect Text
- data DeleteInterconnectResponse = DeleteInterconnectResponse' {}
- newDeleteInterconnectResponse :: Int -> DeleteInterconnectResponse
- deleteInterconnectResponse_interconnectState :: Lens' DeleteInterconnectResponse (Maybe InterconnectState)
- deleteInterconnectResponse_httpStatus :: Lens' DeleteInterconnectResponse Int
Creating a Request
data DeleteInterconnect Source #
See: newDeleteInterconnect
smart constructor.
DeleteInterconnect' | |
|
Instances
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
deleteInterconnect_interconnectId :: Lens' DeleteInterconnect Text Source #
The ID of the interconnect.
Destructuring the Response
data DeleteInterconnectResponse Source #
See: newDeleteInterconnectResponse
smart constructor.
DeleteInterconnectResponse' | |
|
Instances
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.
deleteInterconnectResponse_httpStatus :: Lens' DeleteInterconnectResponse Int Source #
The response's http status code.