aws_sdk_devicefarm/client/
list_test_grid_session_artifacts.rs

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 [`ListTestGridSessionArtifacts`](crate::operation::list_test_grid_session_artifacts::builders::ListTestGridSessionArtifactsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_test_grid_session_artifacts::builders::ListTestGridSessionArtifactsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`session_arn(impl Into<String>)`](crate::operation::list_test_grid_session_artifacts::builders::ListTestGridSessionArtifactsFluentBuilder::session_arn) / [`set_session_arn(Option<String>)`](crate::operation::list_test_grid_session_artifacts::builders::ListTestGridSessionArtifactsFluentBuilder::set_session_arn):<br>required: **true**<br><p>The ARN of a <code>TestGridSession</code>.</p><br>
    ///   - [`r#type(TestGridSessionArtifactCategory)`](crate::operation::list_test_grid_session_artifacts::builders::ListTestGridSessionArtifactsFluentBuilder::type) / [`set_type(Option<TestGridSessionArtifactCategory>)`](crate::operation::list_test_grid_session_artifacts::builders::ListTestGridSessionArtifactsFluentBuilder::set_type):<br>required: **false**<br><p>Limit results to a specified type of artifact.</p><br>
    ///   - [`max_result(i32)`](crate::operation::list_test_grid_session_artifacts::builders::ListTestGridSessionArtifactsFluentBuilder::max_result) / [`set_max_result(Option<i32>)`](crate::operation::list_test_grid_session_artifacts::builders::ListTestGridSessionArtifactsFluentBuilder::set_max_result):<br>required: **false**<br><p>The maximum number of results to be returned by a request.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_test_grid_session_artifacts::builders::ListTestGridSessionArtifactsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_test_grid_session_artifacts::builders::ListTestGridSessionArtifactsFluentBuilder::set_next_token):<br>required: **false**<br><p>Pagination token.</p><br>
    /// - On success, responds with [`ListTestGridSessionArtifactsOutput`](crate::operation::list_test_grid_session_artifacts::ListTestGridSessionArtifactsOutput) with field(s):
    ///   - [`artifacts(Option<Vec::<TestGridSessionArtifact>>)`](crate::operation::list_test_grid_session_artifacts::ListTestGridSessionArtifactsOutput::artifacts): <p>A list of test grid session artifacts for a <code>TestGridSession</code>.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_test_grid_session_artifacts::ListTestGridSessionArtifactsOutput::next_token): <p>Pagination token.</p>
    /// - On failure, responds with [`SdkError<ListTestGridSessionArtifactsError>`](crate::operation::list_test_grid_session_artifacts::ListTestGridSessionArtifactsError)
    pub fn list_test_grid_session_artifacts(
        &self,
    ) -> crate::operation::list_test_grid_session_artifacts::builders::ListTestGridSessionArtifactsFluentBuilder {
        crate::operation::list_test_grid_session_artifacts::builders::ListTestGridSessionArtifactsFluentBuilder::new(self.handle.clone())
    }
}