| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.OpenSearch.DeleteOutboundConnection
Description
Allows the source Amazon OpenSearch Service domain owner to delete an existing outbound cross-cluster search connection. For more information, see Cross-cluster search for Amazon OpenSearch Service.
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 #
Arguments
| :: Text | |
| -> DeleteOutboundConnection |
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:
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 #
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 deleted inbound connection.
$sel:httpStatus:DeleteOutboundConnectionResponse', deleteOutboundConnectionResponse_httpStatus - The response's http status code.
Response Lenses
deleteOutboundConnectionResponse_connection :: Lens' DeleteOutboundConnectionResponse (Maybe OutboundConnection) Source #
The deleted inbound connection.
deleteOutboundConnectionResponse_httpStatus :: Lens' DeleteOutboundConnectionResponse Int Source #
The response's http status code.