amazonka-opensearch-2.0: Amazon OpenSearch Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Creating a Request

data CreateOutboundConnection Source #

Container for the parameters to the CreateOutboundConnection operation.

See: newCreateOutboundConnection smart constructor.

Constructors

CreateOutboundConnection' 

Fields

Instances

Instances details
ToJSON CreateOutboundConnection Source # 
Instance details

Defined in Amazonka.OpenSearch.CreateOutboundConnection

ToHeaders CreateOutboundConnection Source # 
Instance details

Defined in Amazonka.OpenSearch.CreateOutboundConnection

ToPath CreateOutboundConnection Source # 
Instance details

Defined in Amazonka.OpenSearch.CreateOutboundConnection

ToQuery CreateOutboundConnection Source # 
Instance details

Defined in Amazonka.OpenSearch.CreateOutboundConnection

AWSRequest CreateOutboundConnection Source # 
Instance details

Defined in Amazonka.OpenSearch.CreateOutboundConnection

Generic CreateOutboundConnection Source # 
Instance details

Defined in Amazonka.OpenSearch.CreateOutboundConnection

Associated Types

type Rep CreateOutboundConnection :: Type -> Type #

Read CreateOutboundConnection Source # 
Instance details

Defined in Amazonka.OpenSearch.CreateOutboundConnection

Show CreateOutboundConnection Source # 
Instance details

Defined in Amazonka.OpenSearch.CreateOutboundConnection

NFData CreateOutboundConnection Source # 
Instance details

Defined in Amazonka.OpenSearch.CreateOutboundConnection

Eq CreateOutboundConnection Source # 
Instance details

Defined in Amazonka.OpenSearch.CreateOutboundConnection

Hashable CreateOutboundConnection Source # 
Instance details

Defined in Amazonka.OpenSearch.CreateOutboundConnection

type AWSResponse CreateOutboundConnection Source # 
Instance details

Defined in Amazonka.OpenSearch.CreateOutboundConnection

type Rep CreateOutboundConnection Source # 
Instance details

Defined in Amazonka.OpenSearch.CreateOutboundConnection

type Rep CreateOutboundConnection = D1 ('MetaData "CreateOutboundConnection" "Amazonka.OpenSearch.CreateOutboundConnection" "amazonka-opensearch-2.0-GNoaWlqGXH04P8GBIHM78L" 'False) (C1 ('MetaCons "CreateOutboundConnection'" 'PrefixI 'True) (S1 ('MetaSel ('Just "localDomainInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DomainInformationContainer) :*: (S1 ('MetaSel ('Just "remoteDomainInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DomainInformationContainer) :*: S1 ('MetaSel ('Just "connectionAlias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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:

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

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

Instances details
Generic CreateOutboundConnectionResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.CreateOutboundConnection

Associated Types

type Rep CreateOutboundConnectionResponse :: Type -> Type #

Read CreateOutboundConnectionResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.CreateOutboundConnection

Show CreateOutboundConnectionResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.CreateOutboundConnection

NFData CreateOutboundConnectionResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.CreateOutboundConnection

Eq CreateOutboundConnectionResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.CreateOutboundConnection

type Rep CreateOutboundConnectionResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.CreateOutboundConnection

type Rep CreateOutboundConnectionResponse = D1 ('MetaData "CreateOutboundConnectionResponse" "Amazonka.OpenSearch.CreateOutboundConnection" "amazonka-opensearch-2.0-GNoaWlqGXH04P8GBIHM78L" 'False) (C1 ('MetaCons "CreateOutboundConnectionResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "connectionAlias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "connectionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "connectionStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OutboundConnectionStatus)))) :*: (S1 ('MetaSel ('Just "localDomainInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DomainInformationContainer)) :*: (S1 ('MetaSel ('Just "remoteDomainInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DomainInformationContainer)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

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_connectionId :: Lens' CreateOutboundConnectionResponse (Maybe Text) Source #

The unique identifier for the created outbound connection, which is used for subsequent operations on the connection.