| 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.RejectInboundConnection
Description
Allows the remote 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 parameters to the RejectInboundConnection
operation.
See: newRejectInboundConnection smart constructor.
Constructors
| RejectInboundConnection' | |
Fields
| |
Instances
newRejectInboundConnection Source #
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:
$sel:connectionId:RejectInboundConnection', rejectInboundConnection_connectionId - The ID of the inbound connection to reject.
Request Lenses
rejectInboundConnection_connectionId :: Lens' RejectInboundConnection Text Source #
The ID of the inbound connection to reject.
Destructuring the Response
data RejectInboundConnectionResponse Source #
The result of a RejectInboundConnection operation. Contains details
about the rejected inbound connection.
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 - The InboundConnection of the rejected inbound connection.
$sel:httpStatus:RejectInboundConnectionResponse', rejectInboundConnectionResponse_httpStatus - The response's http status code.
Response Lenses
rejectInboundConnectionResponse_connection :: Lens' RejectInboundConnectionResponse (Maybe InboundConnection) Source #
The InboundConnection of the rejected inbound connection.
rejectInboundConnectionResponse_httpStatus :: Lens' RejectInboundConnectionResponse Int Source #
The response's http status code.