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 GlacierJobDescription = GlacierJobDescription' {
- sHA256TreeHash :: Maybe Text
- archiveId :: Maybe Text
- selectParameters :: Maybe SelectParameters
- jobId :: Maybe Text
- jobOutputPath :: Maybe Text
- retrievalByteRange :: Maybe Text
- inventoryRetrievalParameters :: Maybe InventoryRetrievalJobDescription
- action :: Maybe ActionCode
- jobDescription :: Maybe Text
- sNSTopic :: Maybe Text
- statusMessage :: Maybe Text
- vaultARN :: Maybe Text
- outputLocation :: Maybe OutputLocation
- tier :: Maybe Text
- archiveSHA256TreeHash :: Maybe Text
- creationDate :: Maybe Text
- completed :: Maybe Bool
- completionDate :: Maybe Text
- inventorySizeInBytes :: Maybe Integer
- archiveSizeInBytes :: Maybe Integer
- statusCode :: Maybe StatusCode
- newGlacierJobDescription :: GlacierJobDescription
- glacierJobDescription_sHA256TreeHash :: Lens' GlacierJobDescription (Maybe Text)
- glacierJobDescription_archiveId :: Lens' GlacierJobDescription (Maybe Text)
- glacierJobDescription_selectParameters :: Lens' GlacierJobDescription (Maybe SelectParameters)
- glacierJobDescription_jobId :: Lens' GlacierJobDescription (Maybe Text)
- glacierJobDescription_jobOutputPath :: Lens' GlacierJobDescription (Maybe Text)
- glacierJobDescription_retrievalByteRange :: Lens' GlacierJobDescription (Maybe Text)
- glacierJobDescription_inventoryRetrievalParameters :: Lens' GlacierJobDescription (Maybe InventoryRetrievalJobDescription)
- glacierJobDescription_action :: Lens' GlacierJobDescription (Maybe ActionCode)
- glacierJobDescription_jobDescription :: Lens' GlacierJobDescription (Maybe Text)
- glacierJobDescription_sNSTopic :: Lens' GlacierJobDescription (Maybe Text)
- glacierJobDescription_statusMessage :: Lens' GlacierJobDescription (Maybe Text)
- glacierJobDescription_vaultARN :: Lens' GlacierJobDescription (Maybe Text)
- glacierJobDescription_outputLocation :: Lens' GlacierJobDescription (Maybe OutputLocation)
- glacierJobDescription_tier :: Lens' GlacierJobDescription (Maybe Text)
- glacierJobDescription_archiveSHA256TreeHash :: Lens' GlacierJobDescription (Maybe Text)
- glacierJobDescription_creationDate :: Lens' GlacierJobDescription (Maybe Text)
- glacierJobDescription_completed :: Lens' GlacierJobDescription (Maybe Bool)
- glacierJobDescription_completionDate :: Lens' GlacierJobDescription (Maybe Text)
- glacierJobDescription_inventorySizeInBytes :: Lens' GlacierJobDescription (Maybe Integer)
- glacierJobDescription_archiveSizeInBytes :: Lens' GlacierJobDescription (Maybe Integer)
- glacierJobDescription_statusCode :: Lens' GlacierJobDescription (Maybe StatusCode)
Documentation
data GlacierJobDescription Source #
Contains the description of an Amazon S3 Glacier job.
See: newGlacierJobDescription
smart constructor.
GlacierJobDescription' | |
|
Instances
newGlacierJobDescription :: GlacierJobDescription Source #
Create a value of GlacierJobDescription
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:sHA256TreeHash:GlacierJobDescription'
, glacierJobDescription_sHA256TreeHash
- For an archive retrieval job, this value is the checksum of the archive.
Otherwise, this value is null.
The SHA256 tree hash value for the requested range of an archive. If the InitiateJob request for an archive specified a tree-hash aligned range, then this field returns a value.
If the whole archive is retrieved, this value is the same as the ArchiveSHA256TreeHash value.
This field is null for the following:
- Archive retrieval jobs that specify a range that is not tree-hash aligned
- Archival jobs that specify a range that is equal to the whole
archive, when the job status is
InProgress
- Inventory jobs
- Select jobs
$sel:archiveId:GlacierJobDescription'
, glacierJobDescription_archiveId
- The archive ID requested for a select job or archive retrieval.
Otherwise, this field is null.
$sel:selectParameters:GlacierJobDescription'
, glacierJobDescription_selectParameters
- Contains the parameters used for a select.
$sel:jobId:GlacierJobDescription'
, glacierJobDescription_jobId
- An opaque string that identifies an Amazon S3 Glacier job.
$sel:jobOutputPath:GlacierJobDescription'
, glacierJobDescription_jobOutputPath
- Contains the job output location.
$sel:retrievalByteRange:GlacierJobDescription'
, glacierJobDescription_retrievalByteRange
- The retrieved byte range for archive retrieval jobs in the form
StartByteValue-EndByteValue. If no range was specified in the
archive retrieval, then the whole archive is retrieved. In this case,
StartByteValue equals 0 and EndByteValue equals the size of the
archive minus 1. For inventory retrieval or select jobs, this field is
null.
$sel:inventoryRetrievalParameters:GlacierJobDescription'
, glacierJobDescription_inventoryRetrievalParameters
- Parameters used for range inventory retrieval.
$sel:action:GlacierJobDescription'
, glacierJobDescription_action
- The job type. This value is either ArchiveRetrieval
,
InventoryRetrieval
, or Select
.
$sel:jobDescription:GlacierJobDescription'
, glacierJobDescription_jobDescription
- The job description provided when initiating the job.
$sel:sNSTopic:GlacierJobDescription'
, glacierJobDescription_sNSTopic
- An Amazon SNS topic that receives notification.
$sel:statusMessage:GlacierJobDescription'
, glacierJobDescription_statusMessage
- A friendly message that describes the job status.
$sel:vaultARN:GlacierJobDescription'
, glacierJobDescription_vaultARN
- The Amazon Resource Name (ARN) of the vault from which an archive
retrieval was requested.
$sel:outputLocation:GlacierJobDescription'
, glacierJobDescription_outputLocation
- Contains the location where the data from the select job is stored.
$sel:tier:GlacierJobDescription'
, glacierJobDescription_tier
- The tier to use for a select or an archive retrieval. Valid values are
Expedited
, Standard
, or Bulk
. Standard
is the default.
$sel:archiveSHA256TreeHash:GlacierJobDescription'
, glacierJobDescription_archiveSHA256TreeHash
- The SHA256 tree hash of the entire archive for an archive retrieval. For
inventory retrieval or select jobs, this field is null.
$sel:creationDate:GlacierJobDescription'
, glacierJobDescription_creationDate
- The UTC date when the job was created. This value is a string
representation of ISO 8601 date format, for example
"2012-03-20T17:03:43.221Z"
.
$sel:completed:GlacierJobDescription'
, glacierJobDescription_completed
- The job status. When a job is completed, you get the job's output using
Get Job Output (GET output).
$sel:completionDate:GlacierJobDescription'
, glacierJobDescription_completionDate
- The UTC time that the job request completed. While the job is in
progress, the value is null.
$sel:inventorySizeInBytes:GlacierJobDescription'
, glacierJobDescription_inventorySizeInBytes
- For an inventory retrieval job, this value is the size in bytes of the
inventory requested for download. For an archive retrieval or select
job, this value is null.
$sel:archiveSizeInBytes:GlacierJobDescription'
, glacierJobDescription_archiveSizeInBytes
- For an archive retrieval job, this value is the size in bytes of the
archive being requested for download. For an inventory retrieval or
select job, this value is null.
$sel:statusCode:GlacierJobDescription'
, glacierJobDescription_statusCode
- The status code can be InProgress
, Succeeded
, or Failed
, and
indicates the status of the job.
glacierJobDescription_sHA256TreeHash :: Lens' GlacierJobDescription (Maybe Text) Source #
For an archive retrieval job, this value is the checksum of the archive. Otherwise, this value is null.
The SHA256 tree hash value for the requested range of an archive. If the InitiateJob request for an archive specified a tree-hash aligned range, then this field returns a value.
If the whole archive is retrieved, this value is the same as the ArchiveSHA256TreeHash value.
This field is null for the following:
- Archive retrieval jobs that specify a range that is not tree-hash aligned
- Archival jobs that specify a range that is equal to the whole
archive, when the job status is
InProgress
- Inventory jobs
- Select jobs
glacierJobDescription_archiveId :: Lens' GlacierJobDescription (Maybe Text) Source #
The archive ID requested for a select job or archive retrieval. Otherwise, this field is null.
glacierJobDescription_selectParameters :: Lens' GlacierJobDescription (Maybe SelectParameters) Source #
Contains the parameters used for a select.
glacierJobDescription_jobId :: Lens' GlacierJobDescription (Maybe Text) Source #
An opaque string that identifies an Amazon S3 Glacier job.
glacierJobDescription_jobOutputPath :: Lens' GlacierJobDescription (Maybe Text) Source #
Contains the job output location.
glacierJobDescription_retrievalByteRange :: Lens' GlacierJobDescription (Maybe Text) Source #
The retrieved byte range for archive retrieval jobs in the form StartByteValue-EndByteValue. If no range was specified in the archive retrieval, then the whole archive is retrieved. In this case, StartByteValue equals 0 and EndByteValue equals the size of the archive minus 1. For inventory retrieval or select jobs, this field is null.
glacierJobDescription_inventoryRetrievalParameters :: Lens' GlacierJobDescription (Maybe InventoryRetrievalJobDescription) Source #
Parameters used for range inventory retrieval.
glacierJobDescription_action :: Lens' GlacierJobDescription (Maybe ActionCode) Source #
The job type. This value is either ArchiveRetrieval
,
InventoryRetrieval
, or Select
.
glacierJobDescription_jobDescription :: Lens' GlacierJobDescription (Maybe Text) Source #
The job description provided when initiating the job.
glacierJobDescription_sNSTopic :: Lens' GlacierJobDescription (Maybe Text) Source #
An Amazon SNS topic that receives notification.
glacierJobDescription_statusMessage :: Lens' GlacierJobDescription (Maybe Text) Source #
A friendly message that describes the job status.
glacierJobDescription_vaultARN :: Lens' GlacierJobDescription (Maybe Text) Source #
The Amazon Resource Name (ARN) of the vault from which an archive retrieval was requested.
glacierJobDescription_outputLocation :: Lens' GlacierJobDescription (Maybe OutputLocation) Source #
Contains the location where the data from the select job is stored.
glacierJobDescription_tier :: Lens' GlacierJobDescription (Maybe Text) Source #
The tier to use for a select or an archive retrieval. Valid values are
Expedited
, Standard
, or Bulk
. Standard
is the default.
glacierJobDescription_archiveSHA256TreeHash :: Lens' GlacierJobDescription (Maybe Text) Source #
The SHA256 tree hash of the entire archive for an archive retrieval. For inventory retrieval or select jobs, this field is null.
glacierJobDescription_creationDate :: Lens' GlacierJobDescription (Maybe Text) Source #
The UTC date when the job was created. This value is a string
representation of ISO 8601 date format, for example
"2012-03-20T17:03:43.221Z"
.
glacierJobDescription_completed :: Lens' GlacierJobDescription (Maybe Bool) Source #
The job status. When a job is completed, you get the job's output using Get Job Output (GET output).
glacierJobDescription_completionDate :: Lens' GlacierJobDescription (Maybe Text) Source #
The UTC time that the job request completed. While the job is in progress, the value is null.
glacierJobDescription_inventorySizeInBytes :: Lens' GlacierJobDescription (Maybe Integer) Source #
For an inventory retrieval job, this value is the size in bytes of the inventory requested for download. For an archive retrieval or select job, this value is null.
glacierJobDescription_archiveSizeInBytes :: Lens' GlacierJobDescription (Maybe Integer) Source #
For an archive retrieval job, this value is the size in bytes of the archive being requested for download. For an inventory retrieval or select job, this value is null.
glacierJobDescription_statusCode :: Lens' GlacierJobDescription (Maybe StatusCode) Source #
The status code can be InProgress
, Succeeded
, or Failed
, and
indicates the status of the job.