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
Documentation
Contains job logs. Whenever a Snow device is used to import data into or
export data out of Amazon S3, you'll have the option of downloading a
PDF job report. Job logs are returned as a part of the response syntax
of the DescribeJob
action in the JobMetadata
data type. The job logs
can be accessed for up to 60 minutes after this request has been made.
To access any of the job logs after 60 minutes have passed, you'll have
to make another call to the DescribeJob
action.
For import jobs, the PDF job report becomes available at the end of the import process. For export jobs, your job report typically becomes available while the Snow device for your job part is being delivered to you.
The job report provides you insight into the state of your Amazon S3 data transfer. The report includes details about your job or job part for your records.
For deeper visibility into the status of your transferred objects, you can look at the two associated logs: a success log and a failure log. The logs are saved in comma-separated value (CSV) format, and the name of each log includes the ID of the job or job part that the log describes.
See: newJobLogs
smart constructor.
JobLogs' | |
|
Instances
Eq JobLogs Source # | |
Read JobLogs Source # | |
Show JobLogs Source # | |
Generic JobLogs Source # | |
NFData JobLogs Source # | |
Defined in Amazonka.Snowball.Types.JobLogs | |
Hashable JobLogs Source # | |
Defined in Amazonka.Snowball.Types.JobLogs | |
FromJSON JobLogs Source # | |
type Rep JobLogs Source # | |
Defined in Amazonka.Snowball.Types.JobLogs type Rep JobLogs = D1 ('MetaData "JobLogs" "Amazonka.Snowball.Types.JobLogs" "libZSservicesZSamazonka-snowballZSamazonka-snowball" 'False) (C1 ('MetaCons "JobLogs'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobFailureLogURI") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "jobCompletionReportURI") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobSuccessLogURI") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) |
newJobLogs :: JobLogs Source #
Create a value of JobLogs
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:jobFailureLogURI:JobLogs'
, jobLogs_jobFailureLogURI
- A link to an Amazon S3 presigned URL where the job failure log is
located.
$sel:jobCompletionReportURI:JobLogs'
, jobLogs_jobCompletionReportURI
- A link to an Amazon S3 presigned URL where the job completion report is
located.
$sel:jobSuccessLogURI:JobLogs'
, jobLogs_jobSuccessLogURI
- A link to an Amazon S3 presigned URL where the job success log is
located.
jobLogs_jobFailureLogURI :: Lens' JobLogs (Maybe Text) Source #
A link to an Amazon S3 presigned URL where the job failure log is located.