aws_sdk_devicefarm/client/
get_test_grid_session.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetTestGridSession`](crate::operation::get_test_grid_session::builders::GetTestGridSessionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`project_arn(impl Into<String>)`](crate::operation::get_test_grid_session::builders::GetTestGridSessionFluentBuilder::project_arn) / [`set_project_arn(Option<String>)`](crate::operation::get_test_grid_session::builders::GetTestGridSessionFluentBuilder::set_project_arn):<br>required: **false**<br><p>The ARN for the project that this session belongs to. See <code>CreateTestGridProject</code> and <code>ListTestGridProjects</code>.</p><br>
    ///   - [`session_id(impl Into<String>)`](crate::operation::get_test_grid_session::builders::GetTestGridSessionFluentBuilder::session_id) / [`set_session_id(Option<String>)`](crate::operation::get_test_grid_session::builders::GetTestGridSessionFluentBuilder::set_session_id):<br>required: **false**<br><p>An ID associated with this session.</p><br>
    ///   - [`session_arn(impl Into<String>)`](crate::operation::get_test_grid_session::builders::GetTestGridSessionFluentBuilder::session_arn) / [`set_session_arn(Option<String>)`](crate::operation::get_test_grid_session::builders::GetTestGridSessionFluentBuilder::set_session_arn):<br>required: **false**<br><p>An ARN that uniquely identifies a <code>TestGridSession</code>.</p><br>
    /// - On success, responds with [`GetTestGridSessionOutput`](crate::operation::get_test_grid_session::GetTestGridSessionOutput) with field(s):
    ///   - [`test_grid_session(Option<TestGridSession>)`](crate::operation::get_test_grid_session::GetTestGridSessionOutput::test_grid_session): <p>The <code>TestGridSession</code> that was requested.</p>
    /// - On failure, responds with [`SdkError<GetTestGridSessionError>`](crate::operation::get_test_grid_session::GetTestGridSessionError)
    pub fn get_test_grid_session(&self) -> crate::operation::get_test_grid_session::builders::GetTestGridSessionFluentBuilder {
        crate::operation::get_test_grid_session::builders::GetTestGridSessionFluentBuilder::new(self.handle.clone())
    }
}