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 |
Creates a new cross-cluster search connection from a source domain to a destination domain.
Synopsis
- data CreateOutboundCrossClusterSearchConnection = CreateOutboundCrossClusterSearchConnection' {}
- newCreateOutboundCrossClusterSearchConnection :: DomainInformation -> DomainInformation -> Text -> CreateOutboundCrossClusterSearchConnection
- createOutboundCrossClusterSearchConnection_sourceDomainInfo :: Lens' CreateOutboundCrossClusterSearchConnection DomainInformation
- createOutboundCrossClusterSearchConnection_destinationDomainInfo :: Lens' CreateOutboundCrossClusterSearchConnection DomainInformation
- createOutboundCrossClusterSearchConnection_connectionAlias :: Lens' CreateOutboundCrossClusterSearchConnection Text
- data CreateOutboundCrossClusterSearchConnectionResponse = CreateOutboundCrossClusterSearchConnectionResponse' {}
- newCreateOutboundCrossClusterSearchConnectionResponse :: Int -> CreateOutboundCrossClusterSearchConnectionResponse
- createOutboundCrossClusterSearchConnectionResponse_destinationDomainInfo :: Lens' CreateOutboundCrossClusterSearchConnectionResponse (Maybe DomainInformation)
- createOutboundCrossClusterSearchConnectionResponse_connectionAlias :: Lens' CreateOutboundCrossClusterSearchConnectionResponse (Maybe Text)
- createOutboundCrossClusterSearchConnectionResponse_crossClusterSearchConnectionId :: Lens' CreateOutboundCrossClusterSearchConnectionResponse (Maybe Text)
- createOutboundCrossClusterSearchConnectionResponse_connectionStatus :: Lens' CreateOutboundCrossClusterSearchConnectionResponse (Maybe OutboundCrossClusterSearchConnectionStatus)
- createOutboundCrossClusterSearchConnectionResponse_sourceDomainInfo :: Lens' CreateOutboundCrossClusterSearchConnectionResponse (Maybe DomainInformation)
- createOutboundCrossClusterSearchConnectionResponse_httpStatus :: Lens' CreateOutboundCrossClusterSearchConnectionResponse Int
Creating a Request
data CreateOutboundCrossClusterSearchConnection Source #
Container for the parameters to the
CreateOutboundCrossClusterSearchConnection
operation.
See: newCreateOutboundCrossClusterSearchConnection
smart constructor.
CreateOutboundCrossClusterSearchConnection' | |
|
Instances
newCreateOutboundCrossClusterSearchConnection Source #
Create a value of CreateOutboundCrossClusterSearchConnection
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:sourceDomainInfo:CreateOutboundCrossClusterSearchConnection'
, createOutboundCrossClusterSearchConnection_sourceDomainInfo
- Specifies the DomainInformation
for the source Elasticsearch domain.
$sel:destinationDomainInfo:CreateOutboundCrossClusterSearchConnection'
, createOutboundCrossClusterSearchConnection_destinationDomainInfo
- Specifies the DomainInformation
for the destination Elasticsearch
domain.
$sel:connectionAlias:CreateOutboundCrossClusterSearchConnection'
, createOutboundCrossClusterSearchConnection_connectionAlias
- Specifies the connection alias that will be used by the customer for
this connection.
Request Lenses
createOutboundCrossClusterSearchConnection_sourceDomainInfo :: Lens' CreateOutboundCrossClusterSearchConnection DomainInformation Source #
Specifies the DomainInformation
for the source Elasticsearch domain.
createOutboundCrossClusterSearchConnection_destinationDomainInfo :: Lens' CreateOutboundCrossClusterSearchConnection DomainInformation Source #
Specifies the DomainInformation
for the destination Elasticsearch
domain.
createOutboundCrossClusterSearchConnection_connectionAlias :: Lens' CreateOutboundCrossClusterSearchConnection Text Source #
Specifies the connection alias that will be used by the customer for this connection.
Destructuring the Response
data CreateOutboundCrossClusterSearchConnectionResponse Source #
The result of a CreateOutboundCrossClusterSearchConnection
request.
Contains the details of the newly created cross-cluster search
connection.
See: newCreateOutboundCrossClusterSearchConnectionResponse
smart constructor.
CreateOutboundCrossClusterSearchConnectionResponse' | |
|
Instances
newCreateOutboundCrossClusterSearchConnectionResponse Source #
:: Int |
|
-> CreateOutboundCrossClusterSearchConnectionResponse |
Create a value of CreateOutboundCrossClusterSearchConnectionResponse
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:destinationDomainInfo:CreateOutboundCrossClusterSearchConnection'
, createOutboundCrossClusterSearchConnectionResponse_destinationDomainInfo
- Specifies the DomainInformation
for the destination Elasticsearch
domain.
$sel:connectionAlias:CreateOutboundCrossClusterSearchConnection'
, createOutboundCrossClusterSearchConnectionResponse_connectionAlias
- Specifies the connection alias provided during the create connection
request.
$sel:crossClusterSearchConnectionId:CreateOutboundCrossClusterSearchConnectionResponse'
, createOutboundCrossClusterSearchConnectionResponse_crossClusterSearchConnectionId
- Unique id for the created outbound connection, which is used for
subsequent operations on connection.
$sel:connectionStatus:CreateOutboundCrossClusterSearchConnectionResponse'
, createOutboundCrossClusterSearchConnectionResponse_connectionStatus
- Specifies the OutboundCrossClusterSearchConnectionStatus
for the newly
created connection.
$sel:sourceDomainInfo:CreateOutboundCrossClusterSearchConnection'
, createOutboundCrossClusterSearchConnectionResponse_sourceDomainInfo
- Specifies the DomainInformation
for the source Elasticsearch domain.
$sel:httpStatus:CreateOutboundCrossClusterSearchConnectionResponse'
, createOutboundCrossClusterSearchConnectionResponse_httpStatus
- The response's http status code.
Response Lenses
createOutboundCrossClusterSearchConnectionResponse_destinationDomainInfo :: Lens' CreateOutboundCrossClusterSearchConnectionResponse (Maybe DomainInformation) Source #
Specifies the DomainInformation
for the destination Elasticsearch
domain.
createOutboundCrossClusterSearchConnectionResponse_connectionAlias :: Lens' CreateOutboundCrossClusterSearchConnectionResponse (Maybe Text) Source #
Specifies the connection alias provided during the create connection request.
createOutboundCrossClusterSearchConnectionResponse_crossClusterSearchConnectionId :: Lens' CreateOutboundCrossClusterSearchConnectionResponse (Maybe Text) Source #
Unique id for the created outbound connection, which is used for subsequent operations on connection.
createOutboundCrossClusterSearchConnectionResponse_connectionStatus :: Lens' CreateOutboundCrossClusterSearchConnectionResponse (Maybe OutboundCrossClusterSearchConnectionStatus) Source #
Specifies the OutboundCrossClusterSearchConnectionStatus
for the newly
created connection.
createOutboundCrossClusterSearchConnectionResponse_sourceDomainInfo :: Lens' CreateOutboundCrossClusterSearchConnectionResponse (Maybe DomainInformation) Source #
Specifies the DomainInformation
for the source Elasticsearch domain.
createOutboundCrossClusterSearchConnectionResponse_httpStatus :: Lens' CreateOutboundCrossClusterSearchConnectionResponse Int Source #
The response's http status code.