| 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.RejectInboundConnection
Description
Allows the remote Amazon OpenSearch Service domain owner to reject an inbound cross-cluster connection request.
Synopsis
- data RejectInboundConnection = RejectInboundConnection' {
- connectionId :: Text
- newRejectInboundConnection :: Text -> RejectInboundConnection
- rejectInboundConnection_connectionId :: Lens' RejectInboundConnection Text
- data RejectInboundConnectionResponse = RejectInboundConnectionResponse' {}
- newRejectInboundConnectionResponse :: Int -> RejectInboundConnectionResponse
- rejectInboundConnectionResponse_connection :: Lens' RejectInboundConnectionResponse (Maybe InboundConnection)
- rejectInboundConnectionResponse_httpStatus :: Lens' RejectInboundConnectionResponse Int
Creating a Request
data RejectInboundConnection Source #
Container for the request parameters to the RejectInboundConnection
operation.
See: newRejectInboundConnection smart constructor.
Constructors
| RejectInboundConnection' | |
Fields
| |
Instances
newRejectInboundConnection Source #
Arguments
| :: Text | |
| -> RejectInboundConnection |
Create a value of RejectInboundConnection 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:
RejectInboundConnection, rejectInboundConnection_connectionId - The unique identifier of the inbound connection to reject.
Request Lenses
rejectInboundConnection_connectionId :: Lens' RejectInboundConnection Text Source #
The unique identifier of the inbound connection to reject.
Destructuring the Response
data RejectInboundConnectionResponse Source #
Represents the output of a RejectInboundConnection operation.
See: newRejectInboundConnectionResponse smart constructor.
Constructors
| RejectInboundConnectionResponse' | |
Fields
| |
Instances
newRejectInboundConnectionResponse Source #
Create a value of RejectInboundConnectionResponse 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:RejectInboundConnectionResponse', rejectInboundConnectionResponse_connection - Contains details about the rejected inbound connection.
$sel:httpStatus:RejectInboundConnectionResponse', rejectInboundConnectionResponse_httpStatus - The response's http status code.
Response Lenses
rejectInboundConnectionResponse_connection :: Lens' RejectInboundConnectionResponse (Maybe InboundConnection) Source #
Contains details about the rejected inbound connection.
rejectInboundConnectionResponse_httpStatus :: Lens' RejectInboundConnectionResponse Int Source #
The response's http status code.