libZSservicesZSamazonka-opensearchZSamazonka-opensearch
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.OpenSearch.CreateOutboundConnection

Description

Creates a new cross-cluster connection from a local OpenSearch domain to a remote OpenSearch domain.

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
Eq CreateOutboundConnection Source # 
Instance details

Defined in Amazonka.OpenSearch.CreateOutboundConnection

Read CreateOutboundConnection Source # 
Instance details

Defined in Amazonka.OpenSearch.CreateOutboundConnection

Show 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 #

NFData CreateOutboundConnection Source # 
Instance details

Defined in Amazonka.OpenSearch.CreateOutboundConnection

Hashable CreateOutboundConnection Source # 
Instance details

Defined in Amazonka.OpenSearch.CreateOutboundConnection

ToJSON CreateOutboundConnection Source # 
Instance details

Defined in Amazonka.OpenSearch.CreateOutboundConnection

AWSRequest 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

type Rep CreateOutboundConnection Source # 
Instance details

Defined in Amazonka.OpenSearch.CreateOutboundConnection

type Rep CreateOutboundConnection = D1 ('MetaData "CreateOutboundConnection" "Amazonka.OpenSearch.CreateOutboundConnection" "libZSservicesZSamazonka-opensearchZSamazonka-opensearch" '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))))
type AWSResponse CreateOutboundConnection Source # 
Instance details

Defined in Amazonka.OpenSearch.CreateOutboundConnection

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_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.

Constructors

CreateOutboundConnectionResponse' 

Fields

Instances

Instances details
Eq CreateOutboundConnectionResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.CreateOutboundConnection

Read CreateOutboundConnectionResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.CreateOutboundConnection

Show CreateOutboundConnectionResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.CreateOutboundConnection

Generic CreateOutboundConnectionResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.CreateOutboundConnection

Associated Types

type Rep CreateOutboundConnectionResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-opensearchZSamazonka-opensearch" 'False) (C1 ('MetaCons "CreateOutboundConnectionResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "remoteDomainInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DomainInformationContainer)) :*: (S1 ('MetaSel ('Just "connectionAlias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "localDomainInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DomainInformationContainer)))) :*: (S1 ('MetaSel ('Just "connectionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "connectionStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OutboundConnectionStatus)) :*: 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:

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

The connection alias provided during the create connection request.

createOutboundConnectionResponse_connectionId :: Lens' CreateOutboundConnectionResponse (Maybe Text) Source #

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