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