aws_sdk_devicefarm/client/create_test_grid_url.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateTestGridUrl`](crate::operation::create_test_grid_url::builders::CreateTestGridUrlFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`project_arn(impl Into<String>)`](crate::operation::create_test_grid_url::builders::CreateTestGridUrlFluentBuilder::project_arn) / [`set_project_arn(Option<String>)`](crate::operation::create_test_grid_url::builders::CreateTestGridUrlFluentBuilder::set_project_arn):<br>required: **true**<br><p>ARN (from <code>CreateTestGridProject</code> or <code>ListTestGridProjects</code>) to associate with the short-term URL.</p><br>
/// - [`expires_in_seconds(i32)`](crate::operation::create_test_grid_url::builders::CreateTestGridUrlFluentBuilder::expires_in_seconds) / [`set_expires_in_seconds(Option<i32>)`](crate::operation::create_test_grid_url::builders::CreateTestGridUrlFluentBuilder::set_expires_in_seconds):<br>required: **true**<br><p>Lifetime, in seconds, of the URL.</p><br>
/// - On success, responds with [`CreateTestGridUrlOutput`](crate::operation::create_test_grid_url::CreateTestGridUrlOutput) with field(s):
/// - [`url(Option<String>)`](crate::operation::create_test_grid_url::CreateTestGridUrlOutput::url): <p>A signed URL, expiring in <code>CreateTestGridUrlRequest$expiresInSeconds</code> seconds, to be passed to a <code>RemoteWebDriver</code>.</p>
/// - [`expires(Option<DateTime>)`](crate::operation::create_test_grid_url::CreateTestGridUrlOutput::expires): <p>The number of seconds the URL from <code>CreateTestGridUrlResult$url</code> stays active.</p>
/// - On failure, responds with [`SdkError<CreateTestGridUrlError>`](crate::operation::create_test_grid_url::CreateTestGridUrlError)
pub fn create_test_grid_url(&self) -> crate::operation::create_test_grid_url::builders::CreateTestGridUrlFluentBuilder {
crate::operation::create_test_grid_url::builders::CreateTestGridUrlFluentBuilder::new(self.handle.clone())
}
}