| 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.OpenSearch.CreateOutboundConnection
Description
Creates a new cross-cluster search connection from a source Amazon OpenSearch Service domain to a destination domain. For more information, see Cross-cluster search for Amazon OpenSearch Service.
Synopsis
- data CreateOutboundConnection = CreateOutboundConnection' {}
- newCreateOutboundConnection :: DomainInformationContainer -> DomainInformationContainer -> Text -> CreateOutboundConnection
- createOutboundConnection_localDomainInfo :: Lens' CreateOutboundConnection DomainInformationContainer
- createOutboundConnection_remoteDomainInfo :: Lens' CreateOutboundConnection DomainInformationContainer
- createOutboundConnection_connectionAlias :: Lens' CreateOutboundConnection Text
- data CreateOutboundConnectionResponse = CreateOutboundConnectionResponse' {}
- newCreateOutboundConnectionResponse :: Int -> CreateOutboundConnectionResponse
- createOutboundConnectionResponse_connectionAlias :: Lens' CreateOutboundConnectionResponse (Maybe Text)
- createOutboundConnectionResponse_connectionId :: Lens' CreateOutboundConnectionResponse (Maybe Text)
- createOutboundConnectionResponse_connectionStatus :: Lens' CreateOutboundConnectionResponse (Maybe OutboundConnectionStatus)
- createOutboundConnectionResponse_localDomainInfo :: Lens' CreateOutboundConnectionResponse (Maybe DomainInformationContainer)
- createOutboundConnectionResponse_remoteDomainInfo :: Lens' CreateOutboundConnectionResponse (Maybe DomainInformationContainer)
- createOutboundConnectionResponse_httpStatus :: Lens' CreateOutboundConnectionResponse Int
Creating a Request
data CreateOutboundConnection Source #
Container for the parameters to the CreateOutboundConnection
operation.
See: newCreateOutboundConnection smart constructor.
Constructors
| CreateOutboundConnection' | |
Fields
| |
Instances
newCreateOutboundConnection Source #
Arguments
| :: DomainInformationContainer | |
| -> DomainInformationContainer | |
| -> Text | |
| -> CreateOutboundConnection |
Create a value of CreateOutboundConnection 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:
CreateOutboundConnection, createOutboundConnection_localDomainInfo - Name and Region of the source (local) domain.
CreateOutboundConnection, createOutboundConnection_remoteDomainInfo - Name and Region of the destination (remote) domain.
CreateOutboundConnection, createOutboundConnection_connectionAlias - Name of the connection.
Request Lenses
createOutboundConnection_localDomainInfo :: Lens' CreateOutboundConnection DomainInformationContainer Source #
Name and Region of the source (local) domain.
createOutboundConnection_remoteDomainInfo :: Lens' CreateOutboundConnection DomainInformationContainer Source #
Name and Region of the destination (remote) domain.
createOutboundConnection_connectionAlias :: Lens' CreateOutboundConnection Text Source #
Name of the connection.
Destructuring the Response
data CreateOutboundConnectionResponse Source #
The result of a CreateOutboundConnection request. Contains details
about the newly created cross-cluster connection.
See: newCreateOutboundConnectionResponse smart constructor.
Constructors
| CreateOutboundConnectionResponse' | |
Fields
| |
Instances
newCreateOutboundConnectionResponse Source #
Create a value of CreateOutboundConnectionResponse 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:
CreateOutboundConnection, createOutboundConnectionResponse_connectionAlias - Name of the connection.
CreateOutboundConnectionResponse, createOutboundConnectionResponse_connectionId - The unique identifier for the created outbound connection, which is used
for subsequent operations on the connection.
CreateOutboundConnectionResponse, createOutboundConnectionResponse_connectionStatus - The status of the connection.
CreateOutboundConnection, createOutboundConnectionResponse_localDomainInfo - Information about the source (local) domain.
CreateOutboundConnection, createOutboundConnectionResponse_remoteDomainInfo - Information about the destination (remote) domain.
$sel:httpStatus:CreateOutboundConnectionResponse', createOutboundConnectionResponse_httpStatus - The response's http status code.
Response Lenses
createOutboundConnectionResponse_connectionAlias :: Lens' CreateOutboundConnectionResponse (Maybe Text) Source #
Name of the connection.
createOutboundConnectionResponse_connectionId :: Lens' CreateOutboundConnectionResponse (Maybe Text) Source #
The unique identifier for the created outbound connection, which is used for subsequent operations on the connection.
createOutboundConnectionResponse_connectionStatus :: Lens' CreateOutboundConnectionResponse (Maybe OutboundConnectionStatus) Source #
The status of the connection.
createOutboundConnectionResponse_localDomainInfo :: Lens' CreateOutboundConnectionResponse (Maybe DomainInformationContainer) Source #
Information about the source (local) domain.
createOutboundConnectionResponse_remoteDomainInfo :: Lens' CreateOutboundConnectionResponse (Maybe DomainInformationContainer) Source #
Information about the destination (remote) domain.
createOutboundConnectionResponse_httpStatus :: Lens' CreateOutboundConnectionResponse Int Source #
The response's http status code.