libZSservicesZSamazonka-pinpointZSamazonka-pinpoint
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.Pinpoint.Types.ImportJobResponse

Description

 
Synopsis

Documentation

data ImportJobResponse Source #

Provides information about the status and settings of a job that imports endpoint definitions from one or more files. The files can be stored in an Amazon Simple Storage Service (Amazon S3) bucket or uploaded directly from a computer by using the Amazon Pinpoint console.

See: newImportJobResponse smart constructor.

Constructors

ImportJobResponse' 

Fields

  • completedPieces :: Maybe Int

    The number of pieces that were processed successfully (completed) by the import job, as of the time of the request.

  • failedPieces :: Maybe Int

    The number of pieces that weren't processed successfully (failed) by the import job, as of the time of the request.

  • totalProcessed :: Maybe Int

    The total number of endpoint definitions that were processed by the import job.

  • failures :: Maybe [Text]

    An array of entries, one for each of the first 100 entries that weren't processed successfully (failed) by the import job, if any.

  • totalPieces :: Maybe Int

    The total number of pieces that must be processed to complete the import job. Each piece consists of an approximately equal portion of the endpoint definitions that are part of the import job.

  • completionDate :: Maybe Text

    The date, in ISO 8601 format, when the import job was completed.

  • totalFailures :: Maybe Int

    The total number of endpoint definitions that weren't processed successfully (failed) by the import job, typically because an error, such as a syntax error, occurred.

  • jobStatus :: JobStatus

    The status of the import job. The job status is FAILED if Amazon Pinpoint wasn't able to process one or more pieces in the job.

  • creationDate :: Text

    The date, in ISO 8601 format, when the import job was created.

  • type' :: Text

    The job type. This value is IMPORT for import jobs.

  • definition :: ImportJobResource

    The resource settings that apply to the import job.

  • id :: Text

    The unique identifier for the import job.

  • applicationId :: Text

    The unique identifier for the application that's associated with the import job.

Instances

Instances details
Eq ImportJobResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ImportJobResponse

Read ImportJobResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ImportJobResponse

Show ImportJobResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ImportJobResponse

Generic ImportJobResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ImportJobResponse

Associated Types

type Rep ImportJobResponse :: Type -> Type #

NFData ImportJobResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ImportJobResponse

Methods

rnf :: ImportJobResponse -> () #

Hashable ImportJobResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ImportJobResponse

FromJSON ImportJobResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ImportJobResponse

type Rep ImportJobResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ImportJobResponse

type Rep ImportJobResponse = D1 ('MetaData "ImportJobResponse" "Amazonka.Pinpoint.Types.ImportJobResponse" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "ImportJobResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "completedPieces") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "failedPieces") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "totalProcessed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: (S1 ('MetaSel ('Just "failures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "totalPieces") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "completionDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "totalFailures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JobStatus) :*: S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "definition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ImportJobResource)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newImportJobResponse Source #

Create a value of ImportJobResponse 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:completedPieces:ImportJobResponse', importJobResponse_completedPieces - The number of pieces that were processed successfully (completed) by the import job, as of the time of the request.

$sel:failedPieces:ImportJobResponse', importJobResponse_failedPieces - The number of pieces that weren't processed successfully (failed) by the import job, as of the time of the request.

$sel:totalProcessed:ImportJobResponse', importJobResponse_totalProcessed - The total number of endpoint definitions that were processed by the import job.

$sel:failures:ImportJobResponse', importJobResponse_failures - An array of entries, one for each of the first 100 entries that weren't processed successfully (failed) by the import job, if any.

$sel:totalPieces:ImportJobResponse', importJobResponse_totalPieces - The total number of pieces that must be processed to complete the import job. Each piece consists of an approximately equal portion of the endpoint definitions that are part of the import job.

$sel:completionDate:ImportJobResponse', importJobResponse_completionDate - The date, in ISO 8601 format, when the import job was completed.

$sel:totalFailures:ImportJobResponse', importJobResponse_totalFailures - The total number of endpoint definitions that weren't processed successfully (failed) by the import job, typically because an error, such as a syntax error, occurred.

$sel:jobStatus:ImportJobResponse', importJobResponse_jobStatus - The status of the import job. The job status is FAILED if Amazon Pinpoint wasn't able to process one or more pieces in the job.

$sel:creationDate:ImportJobResponse', importJobResponse_creationDate - The date, in ISO 8601 format, when the import job was created.

$sel:type':ImportJobResponse', importJobResponse_type - The job type. This value is IMPORT for import jobs.

$sel:definition:ImportJobResponse', importJobResponse_definition - The resource settings that apply to the import job.

$sel:id:ImportJobResponse', importJobResponse_id - The unique identifier for the import job.

$sel:applicationId:ImportJobResponse', importJobResponse_applicationId - The unique identifier for the application that's associated with the import job.

importJobResponse_completedPieces :: Lens' ImportJobResponse (Maybe Int) Source #

The number of pieces that were processed successfully (completed) by the import job, as of the time of the request.

importJobResponse_failedPieces :: Lens' ImportJobResponse (Maybe Int) Source #

The number of pieces that weren't processed successfully (failed) by the import job, as of the time of the request.

importJobResponse_totalProcessed :: Lens' ImportJobResponse (Maybe Int) Source #

The total number of endpoint definitions that were processed by the import job.

importJobResponse_failures :: Lens' ImportJobResponse (Maybe [Text]) Source #

An array of entries, one for each of the first 100 entries that weren't processed successfully (failed) by the import job, if any.

importJobResponse_totalPieces :: Lens' ImportJobResponse (Maybe Int) Source #

The total number of pieces that must be processed to complete the import job. Each piece consists of an approximately equal portion of the endpoint definitions that are part of the import job.

importJobResponse_completionDate :: Lens' ImportJobResponse (Maybe Text) Source #

The date, in ISO 8601 format, when the import job was completed.

importJobResponse_totalFailures :: Lens' ImportJobResponse (Maybe Int) Source #

The total number of endpoint definitions that weren't processed successfully (failed) by the import job, typically because an error, such as a syntax error, occurred.

importJobResponse_jobStatus :: Lens' ImportJobResponse JobStatus Source #

The status of the import job. The job status is FAILED if Amazon Pinpoint wasn't able to process one or more pieces in the job.

importJobResponse_creationDate :: Lens' ImportJobResponse Text Source #

The date, in ISO 8601 format, when the import job was created.

importJobResponse_type :: Lens' ImportJobResponse Text Source #

The job type. This value is IMPORT for import jobs.

importJobResponse_definition :: Lens' ImportJobResponse ImportJobResource Source #

The resource settings that apply to the import job.

importJobResponse_id :: Lens' ImportJobResponse Text Source #

The unique identifier for the import job.

importJobResponse_applicationId :: Lens' ImportJobResponse Text Source #

The unique identifier for the application that's associated with the import job.