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 connection from a local OpenSearch domain to a remote OpenSearch domain.
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_remoteDomainInfo :: Lens' CreateOutboundConnectionResponse (Maybe DomainInformationContainer)
- createOutboundConnectionResponse_connectionAlias :: Lens' CreateOutboundConnectionResponse (Maybe Text)
- createOutboundConnectionResponse_localDomainInfo :: Lens' CreateOutboundConnectionResponse (Maybe DomainInformationContainer)
- createOutboundConnectionResponse_connectionId :: Lens' CreateOutboundConnectionResponse (Maybe Text)
- createOutboundConnectionResponse_connectionStatus :: Lens' CreateOutboundConnectionResponse (Maybe OutboundConnectionStatus)
- createOutboundConnectionResponse_httpStatus :: Lens' CreateOutboundConnectionResponse Int
Creating a Request
data CreateOutboundConnection Source #
Container for the parameters to the CreateOutboundConnection
operation.
See: newCreateOutboundConnection
smart constructor.
CreateOutboundConnection' | |
|
Instances
newCreateOutboundConnection Source #
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:
$sel:localDomainInfo:CreateOutboundConnection'
, createOutboundConnection_localDomainInfo
- The AWSDomainInformation
for the local OpenSearch domain.
$sel:remoteDomainInfo:CreateOutboundConnection'
, createOutboundConnection_remoteDomainInfo
- The AWSDomainInformation
for the remote OpenSearch domain.
$sel:connectionAlias:CreateOutboundConnection'
, createOutboundConnection_connectionAlias
- The connection alias used used by the customer for this cross-cluster
connection.
Request Lenses
createOutboundConnection_localDomainInfo :: Lens' CreateOutboundConnection DomainInformationContainer Source #
The AWSDomainInformation
for the local OpenSearch domain.
createOutboundConnection_remoteDomainInfo :: Lens' CreateOutboundConnection DomainInformationContainer Source #
The AWSDomainInformation
for the remote OpenSearch domain.
createOutboundConnection_connectionAlias :: Lens' CreateOutboundConnection Text Source #
The connection alias used used by the customer for this cross-cluster connection.
Destructuring the Response
data CreateOutboundConnectionResponse Source #
The result of a CreateOutboundConnection
request. Contains the
details about the newly created cross-cluster connection.
See: newCreateOutboundConnectionResponse
smart constructor.
CreateOutboundConnectionResponse' | |
|
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:
$sel:remoteDomainInfo:CreateOutboundConnection'
, createOutboundConnectionResponse_remoteDomainInfo
- The AWSDomainInformation
for the remote OpenSearch domain.
$sel:connectionAlias:CreateOutboundConnection'
, createOutboundConnectionResponse_connectionAlias
- The connection alias provided during the create connection request.
$sel:localDomainInfo:CreateOutboundConnection'
, createOutboundConnectionResponse_localDomainInfo
- The AWSDomainInformation
for the local OpenSearch domain.
$sel:connectionId:CreateOutboundConnectionResponse'
, createOutboundConnectionResponse_connectionId
- The unique ID for the created outbound connection, which is used for
subsequent operations on the connection.
$sel:connectionStatus:CreateOutboundConnectionResponse'
, createOutboundConnectionResponse_connectionStatus
- The OutboundConnectionStatus
for the newly created connection.
$sel:httpStatus:CreateOutboundConnectionResponse'
, createOutboundConnectionResponse_httpStatus
- The response's http status code.
Response Lenses
createOutboundConnectionResponse_remoteDomainInfo :: Lens' CreateOutboundConnectionResponse (Maybe DomainInformationContainer) Source #
The AWSDomainInformation
for the remote OpenSearch domain.
createOutboundConnectionResponse_connectionAlias :: Lens' CreateOutboundConnectionResponse (Maybe Text) Source #
The connection alias provided during the create connection request.
createOutboundConnectionResponse_localDomainInfo :: Lens' CreateOutboundConnectionResponse (Maybe DomainInformationContainer) Source #
The AWSDomainInformation
for the local OpenSearch domain.
createOutboundConnectionResponse_connectionId :: Lens' CreateOutboundConnectionResponse (Maybe Text) Source #
The unique ID for the created outbound connection, which is used for subsequent operations on the connection.
createOutboundConnectionResponse_connectionStatus :: Lens' CreateOutboundConnectionResponse (Maybe OutboundConnectionStatus) Source #
The OutboundConnectionStatus
for the newly created connection.
createOutboundConnectionResponse_httpStatus :: Lens' CreateOutboundConnectionResponse Int Source #
The response's http status code.