aws-sdk-amplifygen3 1.0.0

AWS SDK for AWS Amplify Gen 3
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetSourceUpload`](crate::operation::get_source_upload::builders::GetSourceUploadFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`source_upload_id(impl Into<String>)`](crate::operation::get_source_upload::builders::GetSourceUploadFluentBuilder::source_upload_id) / [`set_source_upload_id(Option<String>)`](crate::operation::get_source_upload::builders::GetSourceUploadFluentBuilder::set_source_upload_id):<br>required: **true**<br><p>The ID of the source upload.</p><br>
    /// - On success, responds with [`GetSourceUploadOutput`](crate::operation::get_source_upload::GetSourceUploadOutput) with field(s):
    ///   - [`source_upload_id(String)`](crate::operation::get_source_upload::GetSourceUploadOutput::source_upload_id): <p>The ID of the source upload.</p>
    ///   - [`zip_upload(Option<ZipUpload>)`](crate::operation::get_source_upload::GetSourceUploadOutput::zip_upload): <p>The .zip file upload information.</p>
    ///   - [`created_at(DateTime)`](crate::operation::get_source_upload::GetSourceUploadOutput::created_at): <p>The time at which the source upload was created. The value is in ISO-8601 format.</p>
    ///   - [`upload_expires_at(DateTime)`](crate::operation::get_source_upload::GetSourceUploadOutput::upload_expires_at): <p>The time at which the upload expires. The value is in ISO-8601 format.</p>
    ///   - [`size_in_bytes(i64)`](crate::operation::get_source_upload::GetSourceUploadOutput::size_in_bytes): <p>The size of the source upload, in bytes.</p>
    /// - On failure, responds with [`SdkError<GetSourceUploadError>`](crate::operation::get_source_upload::GetSourceUploadError)
    pub fn get_source_upload(&self) -> crate::operation::get_source_upload::builders::GetSourceUploadFluentBuilder {
        crate::operation::get_source_upload::builders::GetSourceUploadFluentBuilder::new(self.handle.clone())
    }
}