Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ExportJobResponse = ExportJobResponse' {
- completedPieces :: Maybe Int
- failedPieces :: Maybe Int
- totalProcessed :: Maybe Int
- failures :: Maybe [Text]
- totalPieces :: Maybe Int
- completionDate :: Maybe Text
- totalFailures :: Maybe Int
- jobStatus :: JobStatus
- creationDate :: Text
- type' :: Text
- definition :: ExportJobResource
- id :: Text
- applicationId :: Text
- newExportJobResponse :: JobStatus -> Text -> Text -> ExportJobResource -> Text -> Text -> ExportJobResponse
- exportJobResponse_completedPieces :: Lens' ExportJobResponse (Maybe Int)
- exportJobResponse_failedPieces :: Lens' ExportJobResponse (Maybe Int)
- exportJobResponse_totalProcessed :: Lens' ExportJobResponse (Maybe Int)
- exportJobResponse_failures :: Lens' ExportJobResponse (Maybe [Text])
- exportJobResponse_totalPieces :: Lens' ExportJobResponse (Maybe Int)
- exportJobResponse_completionDate :: Lens' ExportJobResponse (Maybe Text)
- exportJobResponse_totalFailures :: Lens' ExportJobResponse (Maybe Int)
- exportJobResponse_jobStatus :: Lens' ExportJobResponse JobStatus
- exportJobResponse_creationDate :: Lens' ExportJobResponse Text
- exportJobResponse_type :: Lens' ExportJobResponse Text
- exportJobResponse_definition :: Lens' ExportJobResponse ExportJobResource
- exportJobResponse_id :: Lens' ExportJobResponse Text
- exportJobResponse_applicationId :: Lens' ExportJobResponse Text
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.
ExportJobResponse' | |
|
Instances
:: JobStatus | |
-> Text | |
-> Text | |
-> ExportJobResource | |
-> Text | |
-> Text | |
-> ExportJobResponse |
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.