libZSservicesZSamazonka-translateZSamazonka-translate
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.Translate.UpdateParallelData

Description

Updates a previously created parallel data resource by importing a new input file from Amazon S3.

Synopsis

Creating a Request

data UpdateParallelData Source #

See: newUpdateParallelData smart constructor.

Constructors

UpdateParallelData' 

Fields

  • description :: Maybe Text

    A custom description for the parallel data resource in Amazon Translate.

  • name :: Text

    The name of the parallel data resource being updated.

  • parallelDataConfig :: ParallelDataConfig

    Specifies the format and S3 location of the parallel data input file.

  • clientToken :: Text

    A unique identifier for the request. This token is automatically generated when you use Amazon Translate through an AWS SDK.

Instances

Instances details
Eq UpdateParallelData Source # 
Instance details

Defined in Amazonka.Translate.UpdateParallelData

Read UpdateParallelData Source # 
Instance details

Defined in Amazonka.Translate.UpdateParallelData

Show UpdateParallelData Source # 
Instance details

Defined in Amazonka.Translate.UpdateParallelData

Generic UpdateParallelData Source # 
Instance details

Defined in Amazonka.Translate.UpdateParallelData

Associated Types

type Rep UpdateParallelData :: Type -> Type #

NFData UpdateParallelData Source # 
Instance details

Defined in Amazonka.Translate.UpdateParallelData

Methods

rnf :: UpdateParallelData -> () #

Hashable UpdateParallelData Source # 
Instance details

Defined in Amazonka.Translate.UpdateParallelData

ToJSON UpdateParallelData Source # 
Instance details

Defined in Amazonka.Translate.UpdateParallelData

AWSRequest UpdateParallelData Source # 
Instance details

Defined in Amazonka.Translate.UpdateParallelData

Associated Types

type AWSResponse UpdateParallelData #

ToHeaders UpdateParallelData Source # 
Instance details

Defined in Amazonka.Translate.UpdateParallelData

ToPath UpdateParallelData Source # 
Instance details

Defined in Amazonka.Translate.UpdateParallelData

ToQuery UpdateParallelData Source # 
Instance details

Defined in Amazonka.Translate.UpdateParallelData

type Rep UpdateParallelData Source # 
Instance details

Defined in Amazonka.Translate.UpdateParallelData

type Rep UpdateParallelData = D1 ('MetaData "UpdateParallelData" "Amazonka.Translate.UpdateParallelData" "libZSservicesZSamazonka-translateZSamazonka-translate" 'False) (C1 ('MetaCons "UpdateParallelData'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "parallelDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ParallelDataConfig) :*: S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateParallelData Source # 
Instance details

Defined in Amazonka.Translate.UpdateParallelData

newUpdateParallelData Source #

Create a value of UpdateParallelData 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:description:UpdateParallelData', updateParallelData_description - A custom description for the parallel data resource in Amazon Translate.

$sel:name:UpdateParallelData', updateParallelData_name - The name of the parallel data resource being updated.

$sel:parallelDataConfig:UpdateParallelData', updateParallelData_parallelDataConfig - Specifies the format and S3 location of the parallel data input file.

$sel:clientToken:UpdateParallelData', updateParallelData_clientToken - A unique identifier for the request. This token is automatically generated when you use Amazon Translate through an AWS SDK.

Request Lenses

updateParallelData_description :: Lens' UpdateParallelData (Maybe Text) Source #

A custom description for the parallel data resource in Amazon Translate.

updateParallelData_name :: Lens' UpdateParallelData Text Source #

The name of the parallel data resource being updated.

updateParallelData_parallelDataConfig :: Lens' UpdateParallelData ParallelDataConfig Source #

Specifies the format and S3 location of the parallel data input file.

updateParallelData_clientToken :: Lens' UpdateParallelData Text Source #

A unique identifier for the request. This token is automatically generated when you use Amazon Translate through an AWS SDK.

Destructuring the Response

data UpdateParallelDataResponse Source #

See: newUpdateParallelDataResponse smart constructor.

Constructors

UpdateParallelDataResponse' 

Fields

Instances

Instances details
Eq UpdateParallelDataResponse Source # 
Instance details

Defined in Amazonka.Translate.UpdateParallelData

Read UpdateParallelDataResponse Source # 
Instance details

Defined in Amazonka.Translate.UpdateParallelData

Show UpdateParallelDataResponse Source # 
Instance details

Defined in Amazonka.Translate.UpdateParallelData

Generic UpdateParallelDataResponse Source # 
Instance details

Defined in Amazonka.Translate.UpdateParallelData

Associated Types

type Rep UpdateParallelDataResponse :: Type -> Type #

NFData UpdateParallelDataResponse Source # 
Instance details

Defined in Amazonka.Translate.UpdateParallelData

type Rep UpdateParallelDataResponse Source # 
Instance details

Defined in Amazonka.Translate.UpdateParallelData

type Rep UpdateParallelDataResponse = D1 ('MetaData "UpdateParallelDataResponse" "Amazonka.Translate.UpdateParallelData" "libZSservicesZSamazonka-translateZSamazonka-translate" 'False) (C1 ('MetaCons "UpdateParallelDataResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ParallelDataStatus)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "latestUpdateAttemptAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "latestUpdateAttemptStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ParallelDataStatus)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newUpdateParallelDataResponse Source #

Create a value of UpdateParallelDataResponse 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:UpdateParallelDataResponse', updateParallelDataResponse_status - The status of the parallel data resource that you are attempting to update. Your update request is accepted only if this status is either ACTIVE or FAILED.

$sel:name:UpdateParallelData', updateParallelDataResponse_name - The name of the parallel data resource being updated.

$sel:latestUpdateAttemptAt:UpdateParallelDataResponse', updateParallelDataResponse_latestUpdateAttemptAt - The time that the most recent update was attempted.

$sel:latestUpdateAttemptStatus:UpdateParallelDataResponse', updateParallelDataResponse_latestUpdateAttemptStatus - The status of the parallel data update attempt. When the updated parallel data resource is ready for you to use, the status is ACTIVE.

$sel:httpStatus:UpdateParallelDataResponse', updateParallelDataResponse_httpStatus - The response's http status code.

Response Lenses

updateParallelDataResponse_status :: Lens' UpdateParallelDataResponse (Maybe ParallelDataStatus) Source #

The status of the parallel data resource that you are attempting to update. Your update request is accepted only if this status is either ACTIVE or FAILED.

updateParallelDataResponse_name :: Lens' UpdateParallelDataResponse (Maybe Text) Source #

The name of the parallel data resource being updated.

updateParallelDataResponse_latestUpdateAttemptStatus :: Lens' UpdateParallelDataResponse (Maybe ParallelDataStatus) Source #

The status of the parallel data update attempt. When the updated parallel data resource is ready for you to use, the status is ACTIVE.