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

Description

 
Synopsis

Documentation

data ExportJobResponse Source #

Provides information about the status and settings of a job that exports endpoint definitions to a file. The file can be added directly to an Amazon Simple Storage Service (Amazon S3) bucket by using the Amazon Pinpoint API or downloaded directly to a computer by using the Amazon Pinpoint console.

See: newExportJobResponse smart constructor.

Constructors

ExportJobResponse' 

Fields

  • completedPieces :: Maybe Int

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

  • failedPieces :: Maybe Int

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

  • totalProcessed :: Maybe Int

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

  • failures :: Maybe [Text]

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

  • totalPieces :: Maybe Int

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

  • completionDate :: Maybe Text

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

  • totalFailures :: Maybe Int

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

  • jobStatus :: JobStatus

    The status of the export 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 export job was created.

  • type' :: Text

    The job type. This value is EXPORT for export jobs.

  • definition :: ExportJobResource

    The resource settings that apply to the export job.

  • id :: Text

    The unique identifier for the export job.

  • applicationId :: Text

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

Instances

Instances details
Eq ExportJobResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ExportJobResponse

Read ExportJobResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ExportJobResponse

Show ExportJobResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ExportJobResponse

Generic ExportJobResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ExportJobResponse

Associated Types

type Rep ExportJobResponse :: Type -> Type #

NFData ExportJobResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ExportJobResponse

Methods

rnf :: ExportJobResponse -> () #

Hashable ExportJobResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ExportJobResponse

FromJSON ExportJobResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ExportJobResponse

type Rep ExportJobResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ExportJobResponse

type Rep ExportJobResponse = D1 ('MetaData "ExportJobResponse" "Amazonka.Pinpoint.Types.ExportJobResponse" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "ExportJobResponse'" '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 ExportJobResource)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newExportJobResponse Source #

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

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

$sel:totalProcessed:ExportJobResponse', exportJobResponse_totalProcessed - The total number of endpoint definitions that were processed by the export job.

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

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

$sel:completionDate:ExportJobResponse', exportJobResponse_completionDate - The date, in ISO 8601 format, when the export job was completed.

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

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

$sel:creationDate:ExportJobResponse', exportJobResponse_creationDate - The date, in ISO 8601 format, when the export job was created.

$sel:type':ExportJobResponse', exportJobResponse_type - The job type. This value is EXPORT for export jobs.

$sel:definition:ExportJobResponse', exportJobResponse_definition - The resource settings that apply to the export job.

$sel:id:ExportJobResponse', exportJobResponse_id - The unique identifier for the export job.

$sel:applicationId:ExportJobResponse', exportJobResponse_applicationId - The unique identifier for the application that's associated with the export job.

exportJobResponse_completedPieces :: Lens' ExportJobResponse (Maybe Int) Source #

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

exportJobResponse_failedPieces :: Lens' ExportJobResponse (Maybe Int) Source #

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

exportJobResponse_totalProcessed :: Lens' ExportJobResponse (Maybe Int) Source #

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

exportJobResponse_failures :: Lens' ExportJobResponse (Maybe [Text]) Source #

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

exportJobResponse_totalPieces :: Lens' ExportJobResponse (Maybe Int) Source #

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

exportJobResponse_completionDate :: Lens' ExportJobResponse (Maybe Text) Source #

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

exportJobResponse_totalFailures :: Lens' ExportJobResponse (Maybe Int) Source #

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

exportJobResponse_jobStatus :: Lens' ExportJobResponse JobStatus Source #

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

exportJobResponse_creationDate :: Lens' ExportJobResponse Text Source #

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

exportJobResponse_type :: Lens' ExportJobResponse Text Source #

The job type. This value is EXPORT for export jobs.

exportJobResponse_definition :: Lens' ExportJobResponse ExportJobResource Source #

The resource settings that apply to the export job.

exportJobResponse_id :: Lens' ExportJobResponse Text Source #

The unique identifier for the export job.

exportJobResponse_applicationId :: Lens' ExportJobResponse Text Source #

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