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.AcceptInboundConnection
Description
Allows the destination Amazon OpenSearch Service domain owner to accept an inbound cross-cluster search connection request. For more information, see Cross-cluster search for Amazon OpenSearch Service.
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 #
Arguments
:: Text | |
-> AcceptInboundConnection |
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:
AcceptInboundConnection
, acceptInboundConnection_connectionId
- The ID of the inbound connection to accept.
Request Lenses
acceptInboundConnection_connectionId :: Lens' AcceptInboundConnection Text Source #
The ID of the inbound connection to accept.
Destructuring the Response
data AcceptInboundConnectionResponse Source #
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
- Information about the accepted inbound connection.
$sel:httpStatus:AcceptInboundConnectionResponse'
, acceptInboundConnectionResponse_httpStatus
- The response's http status code.
Response Lenses
acceptInboundConnectionResponse_connection :: Lens' AcceptInboundConnectionResponse (Maybe InboundConnection) Source #
Information about the accepted inbound connection.
acceptInboundConnectionResponse_httpStatus :: Lens' AcceptInboundConnectionResponse Int Source #
The response's http status code.