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.Types.Connection

Description

 
Synopsis

Documentation

data Connection Source #

Status of the connection between an endpoint and a replication instance, including Amazon Resource Names (ARNs) and the last error message issued.

See: newConnection smart constructor.

Constructors

Connection' 

Fields

Instances

Instances details
Eq Connection Source # 
Instance details

Defined in Amazonka.DMS.Types.Connection

Read Connection Source # 
Instance details

Defined in Amazonka.DMS.Types.Connection

Show Connection Source # 
Instance details

Defined in Amazonka.DMS.Types.Connection

Generic Connection Source # 
Instance details

Defined in Amazonka.DMS.Types.Connection

Associated Types

type Rep Connection :: Type -> Type #

NFData Connection Source # 
Instance details

Defined in Amazonka.DMS.Types.Connection

Methods

rnf :: Connection -> () #

Hashable Connection Source # 
Instance details

Defined in Amazonka.DMS.Types.Connection

FromJSON Connection Source # 
Instance details

Defined in Amazonka.DMS.Types.Connection

type Rep Connection Source # 
Instance details

Defined in Amazonka.DMS.Types.Connection

type Rep Connection = D1 ('MetaData "Connection" "Amazonka.DMS.Types.Connection" "libZSservicesZSamazonka-dmsZSamazonka-dms" 'False) (C1 ('MetaCons "Connection'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "replicationInstanceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endpointIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "replicationInstanceIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "endpointArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastFailureMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newConnection :: Connection Source #

Create a value of Connection 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:status:Connection', connection_status - The connection status. This parameter can return one of the following values:

  • "successful"
  • "testing"
  • "failed"
  • "deleting"

$sel:replicationInstanceArn:Connection', connection_replicationInstanceArn - The ARN of the replication instance.

$sel:endpointIdentifier:Connection', connection_endpointIdentifier - The identifier of the endpoint. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.

$sel:replicationInstanceIdentifier:Connection', connection_replicationInstanceIdentifier - The replication instance identifier. This parameter is stored as a lowercase string.

$sel:endpointArn:Connection', connection_endpointArn - The ARN string that uniquely identifies the endpoint.

$sel:lastFailureMessage:Connection', connection_lastFailureMessage - The error message when the connection last failed.

connection_status :: Lens' Connection (Maybe Text) Source #

The connection status. This parameter can return one of the following values:

  • "successful"
  • "testing"
  • "failed"
  • "deleting"

connection_replicationInstanceArn :: Lens' Connection (Maybe Text) Source #

The ARN of the replication instance.

connection_endpointIdentifier :: Lens' Connection (Maybe Text) Source #

The identifier of the endpoint. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.

connection_replicationInstanceIdentifier :: Lens' Connection (Maybe Text) Source #

The replication instance identifier. This parameter is stored as a lowercase string.

connection_endpointArn :: Lens' Connection (Maybe Text) Source #

The ARN string that uniquely identifies the endpoint.

connection_lastFailureMessage :: Lens' Connection (Maybe Text) Source #

The error message when the connection last failed.