| 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.CreateOutboundCrossClusterSearchConnection
Description
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_connectionAlias :: Lens' CreateOutboundCrossClusterSearchConnectionResponse (Maybe Text)
- createOutboundCrossClusterSearchConnectionResponse_connectionStatus :: Lens' CreateOutboundCrossClusterSearchConnectionResponse (Maybe OutboundCrossClusterSearchConnectionStatus)
- createOutboundCrossClusterSearchConnectionResponse_crossClusterSearchConnectionId :: Lens' CreateOutboundCrossClusterSearchConnectionResponse (Maybe Text)
- createOutboundCrossClusterSearchConnectionResponse_destinationDomainInfo :: Lens' CreateOutboundCrossClusterSearchConnectionResponse (Maybe DomainInformation)
- 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.
Constructors
| CreateOutboundCrossClusterSearchConnection' | |
Fields
| |
Instances
newCreateOutboundCrossClusterSearchConnection Source #
Arguments
| :: DomainInformation | |
| -> DomainInformation | |
| -> Text | |
| -> CreateOutboundCrossClusterSearchConnection |
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:
CreateOutboundCrossClusterSearchConnection, createOutboundCrossClusterSearchConnection_sourceDomainInfo - Specifies the DomainInformation for the source Elasticsearch domain.
CreateOutboundCrossClusterSearchConnection, createOutboundCrossClusterSearchConnection_destinationDomainInfo - Specifies the DomainInformation for the destination Elasticsearch
domain.
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.
Constructors
| CreateOutboundCrossClusterSearchConnectionResponse' | |
Fields
| |
Instances
newCreateOutboundCrossClusterSearchConnectionResponse Source #
Arguments
| :: 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:
CreateOutboundCrossClusterSearchConnection, createOutboundCrossClusterSearchConnectionResponse_connectionAlias - Specifies the connection alias provided during the create connection
request.
CreateOutboundCrossClusterSearchConnectionResponse, createOutboundCrossClusterSearchConnectionResponse_connectionStatus - Specifies the OutboundCrossClusterSearchConnectionStatus for the newly
created connection.
CreateOutboundCrossClusterSearchConnectionResponse, createOutboundCrossClusterSearchConnectionResponse_crossClusterSearchConnectionId - Unique id for the created outbound connection, which is used for
subsequent operations on connection.
CreateOutboundCrossClusterSearchConnection, createOutboundCrossClusterSearchConnectionResponse_destinationDomainInfo - Specifies the DomainInformation for the destination Elasticsearch
domain.
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_connectionAlias :: Lens' CreateOutboundCrossClusterSearchConnectionResponse (Maybe Text) Source #
Specifies the connection alias provided during the create connection request.
createOutboundCrossClusterSearchConnectionResponse_connectionStatus :: Lens' CreateOutboundCrossClusterSearchConnectionResponse (Maybe OutboundCrossClusterSearchConnectionStatus) Source #
Specifies the OutboundCrossClusterSearchConnectionStatus for the newly
created connection.
createOutboundCrossClusterSearchConnectionResponse_crossClusterSearchConnectionId :: Lens' CreateOutboundCrossClusterSearchConnectionResponse (Maybe Text) Source #
Unique id for the created outbound connection, which is used for subsequent operations on connection.
createOutboundCrossClusterSearchConnectionResponse_destinationDomainInfo :: Lens' CreateOutboundCrossClusterSearchConnectionResponse (Maybe DomainInformation) Source #
Specifies the DomainInformation for the destination Elasticsearch
domain.
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.