aws_sdk_devicefarm/client/
get_upload.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetUpload`](crate::operation::get_upload::builders::GetUploadFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`arn(impl Into<String>)`](crate::operation::get_upload::builders::GetUploadFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::get_upload::builders::GetUploadFluentBuilder::set_arn):<br>required: **true**<br><p>The upload's ARN.</p><br>
    /// - On success, responds with [`GetUploadOutput`](crate::operation::get_upload::GetUploadOutput) with field(s):
    ///   - [`upload(Option<Upload>)`](crate::operation::get_upload::GetUploadOutput::upload): <p>An app or a set of one or more tests to upload or that have been uploaded.</p>
    /// - On failure, responds with [`SdkError<GetUploadError>`](crate::operation::get_upload::GetUploadError)
    pub fn get_upload(&self) -> crate::operation::get_upload::builders::GetUploadFluentBuilder {
        crate::operation::get_upload::builders::GetUploadFluentBuilder::new(self.handle.clone())
    }
}