#[non_exhaustive]pub struct GetUploadStatusOutput {
    pub upload_id: String,
    pub upload_status: UploadStatus,
    pub namespace_arn: Option<String>,
    pub namespace_name: Option<String>,
    pub namespace_version: Option<i64>,
    pub failure_reason: Option<Vec<String>>,
    pub created_date: DateTime,
    /* private fields */
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.upload_id: StringThe ID of the upload.
upload_status: UploadStatusThe status of the upload. The initial status is IN_PROGRESS. The response show all validation failures if the upload fails.
namespace_arn: Option<String>The ARN of the upload.
namespace_name: Option<String>The name of the upload's namespace.
namespace_version: Option<i64>The version of the user's namespace. Defaults to the latest version of the user's namespace.
failure_reason: Option<Vec<String>>The reason for an upload failure.
created_date: DateTimeThe date at which the upload was created.
Implementations§
source§impl GetUploadStatusOutput
 
impl GetUploadStatusOutput
sourcepub fn upload_status(&self) -> &UploadStatus
 
pub fn upload_status(&self) -> &UploadStatus
The status of the upload. The initial status is IN_PROGRESS. The response show all validation failures if the upload fails.
sourcepub fn namespace_arn(&self) -> Option<&str>
 
pub fn namespace_arn(&self) -> Option<&str>
The ARN of the upload.
sourcepub fn namespace_name(&self) -> Option<&str>
 
pub fn namespace_name(&self) -> Option<&str>
The name of the upload's namespace.
sourcepub fn namespace_version(&self) -> Option<i64>
 
pub fn namespace_version(&self) -> Option<i64>
The version of the user's namespace. Defaults to the latest version of the user's namespace.
sourcepub fn failure_reason(&self) -> &[String]
 
pub fn failure_reason(&self) -> &[String]
The reason for an upload failure.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .failure_reason.is_none().
sourcepub fn created_date(&self) -> &DateTime
 
pub fn created_date(&self) -> &DateTime
The date at which the upload was created.
source§impl GetUploadStatusOutput
 
impl GetUploadStatusOutput
sourcepub fn builder() -> GetUploadStatusOutputBuilder
 
pub fn builder() -> GetUploadStatusOutputBuilder
Creates a new builder-style object to manufacture GetUploadStatusOutput.
Trait Implementations§
source§impl Clone for GetUploadStatusOutput
 
impl Clone for GetUploadStatusOutput
source§fn clone(&self) -> GetUploadStatusOutput
 
fn clone(&self) -> GetUploadStatusOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetUploadStatusOutput
 
impl Debug for GetUploadStatusOutput
source§impl PartialEq for GetUploadStatusOutput
 
impl PartialEq for GetUploadStatusOutput
source§fn eq(&self, other: &GetUploadStatusOutput) -> bool
 
fn eq(&self, other: &GetUploadStatusOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for GetUploadStatusOutput
 
impl RequestId for GetUploadStatusOutput
source§fn request_id(&self) -> Option<&str>
 
fn request_id(&self) -> Option<&str>
None if the service could not be reached.