1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetUploadStatus`](crate::operation::get_upload_status::builders::GetUploadStatusFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`upload_id(impl Into<String>)`](crate::operation::get_upload_status::builders::GetUploadStatusFluentBuilder::upload_id) / [`set_upload_id(Option<String>)`](crate::operation::get_upload_status::builders::GetUploadStatusFluentBuilder::set_upload_id):<br>required: **true**<br><p>The ID of the upload. This value is returned by the <code>UploadEntityDefinitions</code> action.</p><br>
    /// - On success, responds with [`GetUploadStatusOutput`](crate::operation::get_upload_status::GetUploadStatusOutput) with field(s):
    ///   - [`upload_id(String)`](crate::operation::get_upload_status::GetUploadStatusOutput::upload_id): <p>The ID of the upload.</p>
    ///   - [`upload_status(UploadStatus)`](crate::operation::get_upload_status::GetUploadStatusOutput::upload_status): <p>The status of the upload. The initial status is <code>IN_PROGRESS</code>. The response show all validation failures if the upload fails.</p>
    ///   - [`namespace_arn(Option<String>)`](crate::operation::get_upload_status::GetUploadStatusOutput::namespace_arn): <p>The ARN of the upload.</p>
    ///   - [`namespace_name(Option<String>)`](crate::operation::get_upload_status::GetUploadStatusOutput::namespace_name): <p>The name of the upload's namespace.</p>
    ///   - [`namespace_version(Option<i64>)`](crate::operation::get_upload_status::GetUploadStatusOutput::namespace_version): <p>The version of the user's namespace. Defaults to the latest version of the user's namespace.</p>
    ///   - [`failure_reason(Option<Vec::<String>>)`](crate::operation::get_upload_status::GetUploadStatusOutput::failure_reason): <p>The reason for an upload failure.</p>
    ///   - [`created_date(DateTime)`](crate::operation::get_upload_status::GetUploadStatusOutput::created_date): <p>The date at which the upload was created.</p>
    /// - On failure, responds with [`SdkError<GetUploadStatusError>`](crate::operation::get_upload_status::GetUploadStatusError)
    #[deprecated(note = "since: 2022-08-30")]
    pub fn get_upload_status(&self) -> crate::operation::get_upload_status::builders::GetUploadStatusFluentBuilder {
        crate::operation::get_upload_status::builders::GetUploadStatusFluentBuilder::new(self.handle.clone())
    }
}