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

Description

 
Synopsis

Documentation

data ElasticsearchSettings Source #

Provides information that defines an Elasticsearch endpoint.

See: newElasticsearchSettings smart constructor.

Constructors

ElasticsearchSettings' 

Fields

  • fullLoadErrorPercentage :: Maybe Int

    The maximum percentage of records that can fail to be written before a full load operation stops.

    To avoid early failure, this counter is only effective after 1000 records are transferred. Elasticsearch also has the concept of error monitoring during the last 10 minutes of an Observation Window. If transfer of all records fail in the last 10 minutes, the full load operation stops.

  • errorRetryDuration :: Maybe Int

    The maximum number of seconds for which DMS retries failed API requests to the Elasticsearch cluster.

  • serviceAccessRoleArn :: Text

    The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action.

  • endpointUri :: Text

    The endpoint for the Elasticsearch cluster. DMS uses HTTPS if a transport protocol (http/https) is not specified.

Instances

Instances details
Eq ElasticsearchSettings Source # 
Instance details

Defined in Amazonka.DMS.Types.ElasticsearchSettings

Read ElasticsearchSettings Source # 
Instance details

Defined in Amazonka.DMS.Types.ElasticsearchSettings

Show ElasticsearchSettings Source # 
Instance details

Defined in Amazonka.DMS.Types.ElasticsearchSettings

Generic ElasticsearchSettings Source # 
Instance details

Defined in Amazonka.DMS.Types.ElasticsearchSettings

Associated Types

type Rep ElasticsearchSettings :: Type -> Type #

NFData ElasticsearchSettings Source # 
Instance details

Defined in Amazonka.DMS.Types.ElasticsearchSettings

Methods

rnf :: ElasticsearchSettings -> () #

Hashable ElasticsearchSettings Source # 
Instance details

Defined in Amazonka.DMS.Types.ElasticsearchSettings

ToJSON ElasticsearchSettings Source # 
Instance details

Defined in Amazonka.DMS.Types.ElasticsearchSettings

FromJSON ElasticsearchSettings Source # 
Instance details

Defined in Amazonka.DMS.Types.ElasticsearchSettings

type Rep ElasticsearchSettings Source # 
Instance details

Defined in Amazonka.DMS.Types.ElasticsearchSettings

type Rep ElasticsearchSettings = D1 ('MetaData "ElasticsearchSettings" "Amazonka.DMS.Types.ElasticsearchSettings" "libZSservicesZSamazonka-dmsZSamazonka-dms" 'False) (C1 ('MetaCons "ElasticsearchSettings'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "fullLoadErrorPercentage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "errorRetryDuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "serviceAccessRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "endpointUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newElasticsearchSettings Source #

Create a value of ElasticsearchSettings 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:fullLoadErrorPercentage:ElasticsearchSettings', elasticsearchSettings_fullLoadErrorPercentage - The maximum percentage of records that can fail to be written before a full load operation stops.

To avoid early failure, this counter is only effective after 1000 records are transferred. Elasticsearch also has the concept of error monitoring during the last 10 minutes of an Observation Window. If transfer of all records fail in the last 10 minutes, the full load operation stops.

$sel:errorRetryDuration:ElasticsearchSettings', elasticsearchSettings_errorRetryDuration - The maximum number of seconds for which DMS retries failed API requests to the Elasticsearch cluster.

$sel:serviceAccessRoleArn:ElasticsearchSettings', elasticsearchSettings_serviceAccessRoleArn - The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action.

$sel:endpointUri:ElasticsearchSettings', elasticsearchSettings_endpointUri - The endpoint for the Elasticsearch cluster. DMS uses HTTPS if a transport protocol (http/https) is not specified.

elasticsearchSettings_fullLoadErrorPercentage :: Lens' ElasticsearchSettings (Maybe Int) Source #

The maximum percentage of records that can fail to be written before a full load operation stops.

To avoid early failure, this counter is only effective after 1000 records are transferred. Elasticsearch also has the concept of error monitoring during the last 10 minutes of an Observation Window. If transfer of all records fail in the last 10 minutes, the full load operation stops.

elasticsearchSettings_errorRetryDuration :: Lens' ElasticsearchSettings (Maybe Int) Source #

The maximum number of seconds for which DMS retries failed API requests to the Elasticsearch cluster.

elasticsearchSettings_serviceAccessRoleArn :: Lens' ElasticsearchSettings Text Source #

The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action.

elasticsearchSettings_endpointUri :: Lens' ElasticsearchSettings Text Source #

The endpoint for the Elasticsearch cluster. DMS uses HTTPS if a transport protocol (http/https) is not specified.