aws_sdk_devicefarm/client/
list_uploads.rs

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 [`ListUploads`](crate::operation::list_uploads::builders::ListUploadsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_uploads::builders::ListUploadsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`arn(impl Into<String>)`](crate::operation::list_uploads::builders::ListUploadsFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::list_uploads::builders::ListUploadsFluentBuilder::set_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the project for which you want to list uploads.</p><br>
    ///   - [`r#type(UploadType)`](crate::operation::list_uploads::builders::ListUploadsFluentBuilder::type) / [`set_type(Option<UploadType>)`](crate::operation::list_uploads::builders::ListUploadsFluentBuilder::set_type):<br>required: **false**<br><p>The type of upload.</p> <p>Must be one of the following values:</p> <ul>  <li>   <p>ANDROID_APP</p></li>  <li>   <p>IOS_APP</p></li>  <li>   <p>WEB_APP</p></li>  <li>   <p>EXTERNAL_DATA</p></li>  <li>   <p>APPIUM_JAVA_JUNIT_TEST_PACKAGE</p></li>  <li>   <p>APPIUM_JAVA_TESTNG_TEST_PACKAGE</p></li>  <li>   <p>APPIUM_PYTHON_TEST_PACKAGE</p></li>  <li>   <p>APPIUM_NODE_TEST_PACKAGE</p></li>  <li>   <p>APPIUM_RUBY_TEST_PACKAGE</p></li>  <li>   <p>APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE</p></li>  <li>   <p>APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE</p></li>  <li>   <p>APPIUM_WEB_PYTHON_TEST_PACKAGE</p></li>  <li>   <p>APPIUM_WEB_NODE_TEST_PACKAGE</p></li>  <li>   <p>APPIUM_WEB_RUBY_TEST_PACKAGE</p></li>  <li>   <p>INSTRUMENTATION_TEST_PACKAGE</p></li>  <li>   <p>XCTEST_TEST_PACKAGE</p></li>  <li>   <p>XCTEST_UI_TEST_PACKAGE</p></li>  <li>   <p>APPIUM_JAVA_JUNIT_TEST_SPEC</p></li>  <li>   <p>APPIUM_JAVA_TESTNG_TEST_SPEC</p></li>  <li>   <p>APPIUM_PYTHON_TEST_SPEC</p></li>  <li>   <p>APPIUM_NODE_TEST_SPEC</p></li>  <li>   <p>APPIUM_RUBY_TEST_SPEC</p></li>  <li>   <p>APPIUM_WEB_JAVA_JUNIT_TEST_SPEC</p></li>  <li>   <p>APPIUM_WEB_JAVA_TESTNG_TEST_SPEC</p></li>  <li>   <p>APPIUM_WEB_PYTHON_TEST_SPEC</p></li>  <li>   <p>APPIUM_WEB_NODE_TEST_SPEC</p></li>  <li>   <p>APPIUM_WEB_RUBY_TEST_SPEC</p></li>  <li>   <p>INSTRUMENTATION_TEST_SPEC</p></li>  <li>   <p>XCTEST_UI_TEST_SPEC</p></li> </ul><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_uploads::builders::ListUploadsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_uploads::builders::ListUploadsFluentBuilder::set_next_token):<br>required: **false**<br><p>An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.</p><br>
    /// - On success, responds with [`ListUploadsOutput`](crate::operation::list_uploads::ListUploadsOutput) with field(s):
    ///   - [`uploads(Option<Vec::<Upload>>)`](crate::operation::list_uploads::ListUploadsOutput::uploads): <p>Information about the uploads.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_uploads::ListUploadsOutput::next_token): <p>If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.</p>
    /// - On failure, responds with [`SdkError<ListUploadsError>`](crate::operation::list_uploads::ListUploadsError)
    pub fn list_uploads(&self) -> crate::operation::list_uploads::builders::ListUploadsFluentBuilder {
        crate::operation::list_uploads::builders::ListUploadsFluentBuilder::new(self.handle.clone())
    }
}