| 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 |
Amazonka.OpenSearch.DeleteOutboundConnection
Description
Allows the local domain owner to delete an existing outbound cross-cluster connection.
Synopsis
- data DeleteOutboundConnection = DeleteOutboundConnection' {
- connectionId :: Text
- newDeleteOutboundConnection :: Text -> DeleteOutboundConnection
- deleteOutboundConnection_connectionId :: Lens' DeleteOutboundConnection Text
- data DeleteOutboundConnectionResponse = DeleteOutboundConnectionResponse' {}
- newDeleteOutboundConnectionResponse :: Int -> DeleteOutboundConnectionResponse
- deleteOutboundConnectionResponse_connection :: Lens' DeleteOutboundConnectionResponse (Maybe OutboundConnection)
- deleteOutboundConnectionResponse_httpStatus :: Lens' DeleteOutboundConnectionResponse Int
Creating a Request
data DeleteOutboundConnection Source #
Container for the parameters to the DeleteOutboundConnection
operation.
See: newDeleteOutboundConnection smart constructor.
Constructors
| DeleteOutboundConnection' | |
Fields
| |
Instances
newDeleteOutboundConnection Source #
Create a value of DeleteOutboundConnection 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:DeleteOutboundConnection', deleteOutboundConnection_connectionId - The ID of the outbound connection you want to permanently delete.
Request Lenses
deleteOutboundConnection_connectionId :: Lens' DeleteOutboundConnection Text Source #
The ID of the outbound connection you want to permanently delete.
Destructuring the Response
data DeleteOutboundConnectionResponse Source #
The result of a DeleteOutboundConnection operation. Contains details
about the deleted outbound connection.
See: newDeleteOutboundConnectionResponse smart constructor.
Constructors
| DeleteOutboundConnectionResponse' | |
Fields
| |
Instances
newDeleteOutboundConnectionResponse Source #
Create a value of DeleteOutboundConnectionResponse 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:connection:DeleteOutboundConnectionResponse', deleteOutboundConnectionResponse_connection - The OutboundConnection of the deleted outbound connection.
$sel:httpStatus:DeleteOutboundConnectionResponse', deleteOutboundConnectionResponse_httpStatus - The response's http status code.
Response Lenses
deleteOutboundConnectionResponse_connection :: Lens' DeleteOutboundConnectionResponse (Maybe OutboundConnection) Source #
The OutboundConnection of the deleted outbound connection.
deleteOutboundConnectionResponse_httpStatus :: Lens' DeleteOutboundConnectionResponse Int Source #
The response's http status code.