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