| 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.ElasticSearch.RejectInboundCrossClusterSearchConnection
Description
Allows the destination domain owner to reject an inbound cross-cluster search connection request.
Synopsis
- data RejectInboundCrossClusterSearchConnection = RejectInboundCrossClusterSearchConnection' {}
- newRejectInboundCrossClusterSearchConnection :: Text -> RejectInboundCrossClusterSearchConnection
- rejectInboundCrossClusterSearchConnection_crossClusterSearchConnectionId :: Lens' RejectInboundCrossClusterSearchConnection Text
- data RejectInboundCrossClusterSearchConnectionResponse = RejectInboundCrossClusterSearchConnectionResponse' {}
- newRejectInboundCrossClusterSearchConnectionResponse :: Int -> RejectInboundCrossClusterSearchConnectionResponse
- rejectInboundCrossClusterSearchConnectionResponse_crossClusterSearchConnection :: Lens' RejectInboundCrossClusterSearchConnectionResponse (Maybe InboundCrossClusterSearchConnection)
- rejectInboundCrossClusterSearchConnectionResponse_httpStatus :: Lens' RejectInboundCrossClusterSearchConnectionResponse Int
Creating a Request
data RejectInboundCrossClusterSearchConnection Source #
Container for the parameters to the
RejectInboundCrossClusterSearchConnection operation.
See: newRejectInboundCrossClusterSearchConnection smart constructor.
Constructors
| RejectInboundCrossClusterSearchConnection' | |
Fields
| |
Instances
newRejectInboundCrossClusterSearchConnection Source #
Arguments
| :: Text | |
| -> RejectInboundCrossClusterSearchConnection |
Create a value of RejectInboundCrossClusterSearchConnection 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:
RejectInboundCrossClusterSearchConnection, rejectInboundCrossClusterSearchConnection_crossClusterSearchConnectionId - The id of the inbound connection that you want to reject.
Request Lenses
rejectInboundCrossClusterSearchConnection_crossClusterSearchConnectionId :: Lens' RejectInboundCrossClusterSearchConnection Text Source #
The id of the inbound connection that you want to reject.
Destructuring the Response
data RejectInboundCrossClusterSearchConnectionResponse Source #
The result of a RejectInboundCrossClusterSearchConnection operation.
Contains details of rejected inbound connection.
See: newRejectInboundCrossClusterSearchConnectionResponse smart constructor.
Constructors
| RejectInboundCrossClusterSearchConnectionResponse' | |
Fields
| |
Instances
newRejectInboundCrossClusterSearchConnectionResponse Source #
Arguments
| :: Int |
|
| -> RejectInboundCrossClusterSearchConnectionResponse |
Create a value of RejectInboundCrossClusterSearchConnectionResponse 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:crossClusterSearchConnection:RejectInboundCrossClusterSearchConnectionResponse', rejectInboundCrossClusterSearchConnectionResponse_crossClusterSearchConnection - Specifies the InboundCrossClusterSearchConnection of rejected inbound
connection.
$sel:httpStatus:RejectInboundCrossClusterSearchConnectionResponse', rejectInboundCrossClusterSearchConnectionResponse_httpStatus - The response's http status code.
Response Lenses
rejectInboundCrossClusterSearchConnectionResponse_crossClusterSearchConnection :: Lens' RejectInboundCrossClusterSearchConnectionResponse (Maybe InboundCrossClusterSearchConnection) Source #
Specifies the InboundCrossClusterSearchConnection of rejected inbound
connection.
rejectInboundCrossClusterSearchConnectionResponse_httpStatus :: Lens' RejectInboundCrossClusterSearchConnectionResponse Int Source #
The response's http status code.