| 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.AcceptInboundConnection
Description
Allows the remote domain owner to accept an inbound cross-cluster connection request.
Synopsis
- data AcceptInboundConnection = AcceptInboundConnection' {
- connectionId :: Text
- newAcceptInboundConnection :: Text -> AcceptInboundConnection
- acceptInboundConnection_connectionId :: Lens' AcceptInboundConnection Text
- data AcceptInboundConnectionResponse = AcceptInboundConnectionResponse' {}
- newAcceptInboundConnectionResponse :: Int -> AcceptInboundConnectionResponse
- acceptInboundConnectionResponse_connection :: Lens' AcceptInboundConnectionResponse (Maybe InboundConnection)
- acceptInboundConnectionResponse_httpStatus :: Lens' AcceptInboundConnectionResponse Int
Creating a Request
data AcceptInboundConnection Source #
Container for the parameters to the AcceptInboundConnection
operation.
See: newAcceptInboundConnection smart constructor.
Constructors
| AcceptInboundConnection' | |
Fields
| |
Instances
newAcceptInboundConnection Source #
Create a value of AcceptInboundConnection 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:AcceptInboundConnection', acceptInboundConnection_connectionId - The ID of the inbound connection you want to accept.
Request Lenses
acceptInboundConnection_connectionId :: Lens' AcceptInboundConnection Text Source #
The ID of the inbound connection you want to accept.
Destructuring the Response
data AcceptInboundConnectionResponse Source #
The result of an AcceptInboundConnection operation. Contains details
about the accepted inbound connection.
See: newAcceptInboundConnectionResponse smart constructor.
Constructors
| AcceptInboundConnectionResponse' | |
Fields
| |
Instances
newAcceptInboundConnectionResponse Source #
Create a value of AcceptInboundConnectionResponse 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:AcceptInboundConnectionResponse', acceptInboundConnectionResponse_connection - The InboundConnection of the accepted inbound connection.
$sel:httpStatus:AcceptInboundConnectionResponse', acceptInboundConnectionResponse_httpStatus - The response's http status code.
Response Lenses
acceptInboundConnectionResponse_connection :: Lens' AcceptInboundConnectionResponse (Maybe InboundConnection) Source #
The InboundConnection of the accepted inbound connection.
acceptInboundConnectionResponse_httpStatus :: Lens' AcceptInboundConnectionResponse Int Source #
The response's http status code.