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 |
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.
DeleteOutboundConnection' | |
|
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:
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.
DeleteOutboundConnectionResponse' | |
|
Instances
Generic DeleteOutboundConnectionResponse Source # | |
Read DeleteOutboundConnectionResponse Source # | |
Show DeleteOutboundConnectionResponse Source # | |
NFData DeleteOutboundConnectionResponse Source # | |
Defined in Amazonka.OpenSearch.DeleteOutboundConnection rnf :: DeleteOutboundConnectionResponse -> () # | |
Eq DeleteOutboundConnectionResponse Source # | |
type Rep DeleteOutboundConnectionResponse Source # | |
Defined in Amazonka.OpenSearch.DeleteOutboundConnection type Rep DeleteOutboundConnectionResponse = D1 ('MetaData "DeleteOutboundConnectionResponse" "Amazonka.OpenSearch.DeleteOutboundConnection" "amazonka-opensearch-2.0-GNoaWlqGXH04P8GBIHM78L" 'False) (C1 ('MetaCons "DeleteOutboundConnectionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "connection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OutboundConnection)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.