Struct rusoto_glacier::GlacierJobDescription
source · [−]pub struct GlacierJobDescription {Show 21 fields
pub action: Option<String>,
pub archive_id: Option<String>,
pub archive_sha256_tree_hash: Option<String>,
pub archive_size_in_bytes: Option<i64>,
pub completed: Option<bool>,
pub completion_date: Option<String>,
pub creation_date: Option<String>,
pub inventory_retrieval_parameters: Option<InventoryRetrievalJobDescription>,
pub inventory_size_in_bytes: Option<i64>,
pub job_description: Option<String>,
pub job_id: Option<String>,
pub job_output_path: Option<String>,
pub output_location: Option<OutputLocation>,
pub retrieval_byte_range: Option<String>,
pub sha256_tree_hash: Option<String>,
pub sns_topic: Option<String>,
pub select_parameters: Option<SelectParameters>,
pub status_code: Option<String>,
pub status_message: Option<String>,
pub tier: Option<String>,
pub vault_arn: Option<String>,
}
Expand description
Contains the description of an Amazon S3 Glacier job.
Fields
action: Option<String>
The job type. This value is either ArchiveRetrieval
, InventoryRetrieval
, or Select
.
archive_id: Option<String>
The archive ID requested for a select job or archive retrieval. Otherwise, this field is null.
archive_sha256_tree_hash: Option<String>
The SHA256 tree hash of the entire archive for an archive retrieval. For inventory retrieval or select jobs, this field is null.
archive_size_in_bytes: Option<i64>
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.
completed: Option<bool>
The job status. When a job is completed, you get the job's output using Get Job Output (GET output).
completion_date: Option<String>
The UTC time that the job request completed. While the job is in progress, the value is null.
creation_date: Option<String>
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"
.
inventory_retrieval_parameters: Option<InventoryRetrievalJobDescription>
Parameters used for range inventory retrieval.
inventory_size_in_bytes: Option<i64>
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.
job_description: Option<String>
The job description provided when initiating the job.
job_id: Option<String>
An opaque string that identifies an Amazon S3 Glacier job.
job_output_path: Option<String>
Contains the job output location.
output_location: Option<OutputLocation>
Contains the location where the data from the select job is stored.
retrieval_byte_range: Option<String>
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.
sha256_tree_hash: Option<String>
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
sns_topic: Option<String>
An Amazon SNS topic that receives notification.
select_parameters: Option<SelectParameters>
Contains the parameters used for a select.
status_code: Option<String>
The status code can be InProgress
, Succeeded
, or Failed
, and indicates the status of the job.
status_message: Option<String>
A friendly message that describes the job status.
tier: Option<String>
The tier to use for a select or an archive retrieval. Valid values are Expedited
, Standard
, or Bulk
. Standard
is the default.
vault_arn: Option<String>
The Amazon Resource Name (ARN) of the vault from which an archive retrieval was requested.
Trait Implementations
sourceimpl Clone for GlacierJobDescription
impl Clone for GlacierJobDescription
sourcefn clone(&self) -> GlacierJobDescription
fn clone(&self) -> GlacierJobDescription
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GlacierJobDescription
impl Debug for GlacierJobDescription
sourceimpl Default for GlacierJobDescription
impl Default for GlacierJobDescription
sourcefn default() -> GlacierJobDescription
fn default() -> GlacierJobDescription
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for GlacierJobDescription
impl<'de> Deserialize<'de> for GlacierJobDescription
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<GlacierJobDescription> for GlacierJobDescription
impl PartialEq<GlacierJobDescription> for GlacierJobDescription
sourcefn eq(&self, other: &GlacierJobDescription) -> bool
fn eq(&self, other: &GlacierJobDescription) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GlacierJobDescription) -> bool
fn ne(&self, other: &GlacierJobDescription) -> bool
This method tests for !=
.
impl StructuralPartialEq for GlacierJobDescription
Auto Trait Implementations
impl RefUnwindSafe for GlacierJobDescription
impl Send for GlacierJobDescription
impl Sync for GlacierJobDescription
impl Unpin for GlacierJobDescription
impl UnwindSafe for GlacierJobDescription
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more