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 |
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.
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:
$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.
AcceptInboundConnectionResponse' | |
|
Instances
Eq AcceptInboundConnectionResponse Source # | |
Read AcceptInboundConnectionResponse Source # | |
Show AcceptInboundConnectionResponse Source # | |
Defined in Amazonka.OpenSearch.AcceptInboundConnection | |
Generic AcceptInboundConnectionResponse Source # | |
NFData AcceptInboundConnectionResponse Source # | |
Defined in Amazonka.OpenSearch.AcceptInboundConnection rnf :: AcceptInboundConnectionResponse -> () # | |
type Rep AcceptInboundConnectionResponse Source # | |
Defined in Amazonka.OpenSearch.AcceptInboundConnection type Rep AcceptInboundConnectionResponse = D1 ('MetaData "AcceptInboundConnectionResponse" "Amazonka.OpenSearch.AcceptInboundConnection" "libZSservicesZSamazonka-opensearchZSamazonka-opensearch" '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
- 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.