libZSservicesZSamazonka-dmsZSamazonka-dms
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.DMS.TestConnection

Description

Tests the connection between the replication instance and the endpoint.

Synopsis

Creating a Request

data TestConnection Source #

See: newTestConnection smart constructor.

Constructors

TestConnection' 

Fields

Instances

Instances details
Eq TestConnection Source # 
Instance details

Defined in Amazonka.DMS.TestConnection

Read TestConnection Source # 
Instance details

Defined in Amazonka.DMS.TestConnection

Show TestConnection Source # 
Instance details

Defined in Amazonka.DMS.TestConnection

Generic TestConnection Source # 
Instance details

Defined in Amazonka.DMS.TestConnection

Associated Types

type Rep TestConnection :: Type -> Type #

NFData TestConnection Source # 
Instance details

Defined in Amazonka.DMS.TestConnection

Methods

rnf :: TestConnection -> () #

Hashable TestConnection Source # 
Instance details

Defined in Amazonka.DMS.TestConnection

ToJSON TestConnection Source # 
Instance details

Defined in Amazonka.DMS.TestConnection

AWSRequest TestConnection Source # 
Instance details

Defined in Amazonka.DMS.TestConnection

Associated Types

type AWSResponse TestConnection #

ToHeaders TestConnection Source # 
Instance details

Defined in Amazonka.DMS.TestConnection

ToPath TestConnection Source # 
Instance details

Defined in Amazonka.DMS.TestConnection

ToQuery TestConnection Source # 
Instance details

Defined in Amazonka.DMS.TestConnection

type Rep TestConnection Source # 
Instance details

Defined in Amazonka.DMS.TestConnection

type Rep TestConnection = D1 ('MetaData "TestConnection" "Amazonka.DMS.TestConnection" "libZSservicesZSamazonka-dmsZSamazonka-dms" 'False) (C1 ('MetaCons "TestConnection'" 'PrefixI 'True) (S1 ('MetaSel ('Just "replicationInstanceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "endpointArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse TestConnection Source # 
Instance details

Defined in Amazonka.DMS.TestConnection

newTestConnection Source #

Create a value of TestConnection 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:replicationInstanceArn:TestConnection', testConnection_replicationInstanceArn - The Amazon Resource Name (ARN) of the replication instance.

$sel:endpointArn:TestConnection', testConnection_endpointArn - The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

Request Lenses

testConnection_replicationInstanceArn :: Lens' TestConnection Text Source #

The Amazon Resource Name (ARN) of the replication instance.

testConnection_endpointArn :: Lens' TestConnection Text Source #

The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

Destructuring the Response

data TestConnectionResponse Source #

See: newTestConnectionResponse smart constructor.

Constructors

TestConnectionResponse' 

Fields

Instances

Instances details
Eq TestConnectionResponse Source # 
Instance details

Defined in Amazonka.DMS.TestConnection

Read TestConnectionResponse Source # 
Instance details

Defined in Amazonka.DMS.TestConnection

Show TestConnectionResponse Source # 
Instance details

Defined in Amazonka.DMS.TestConnection

Generic TestConnectionResponse Source # 
Instance details

Defined in Amazonka.DMS.TestConnection

Associated Types

type Rep TestConnectionResponse :: Type -> Type #

NFData TestConnectionResponse Source # 
Instance details

Defined in Amazonka.DMS.TestConnection

Methods

rnf :: TestConnectionResponse -> () #

type Rep TestConnectionResponse Source # 
Instance details

Defined in Amazonka.DMS.TestConnection

type Rep TestConnectionResponse = D1 ('MetaData "TestConnectionResponse" "Amazonka.DMS.TestConnection" "libZSservicesZSamazonka-dmsZSamazonka-dms" 'False) (C1 ('MetaCons "TestConnectionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "connection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Connection)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newTestConnectionResponse Source #

Create a value of TestConnectionResponse 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:connection:TestConnectionResponse', testConnectionResponse_connection - The connection tested.

$sel:httpStatus:TestConnectionResponse', testConnectionResponse_httpStatus - The response's http status code.

Response Lenses