aws_sdk_devicefarm/client/
create_project.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 [`CreateProject`](crate::operation::create_project::builders::CreateProjectFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::set_name):<br>required: **true**<br><p>The project's name.</p><br>
    ///   - [`default_job_timeout_minutes(i32)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::default_job_timeout_minutes) / [`set_default_job_timeout_minutes(Option<i32>)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::set_default_job_timeout_minutes):<br>required: **false**<br><p>Sets the execution timeout value (in minutes) for a project. All test runs in this project use the specified execution timeout value unless overridden when scheduling a run.</p><br>
    ///   - [`vpc_config(VpcConfig)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::vpc_config) / [`set_vpc_config(Option<VpcConfig>)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::set_vpc_config):<br>required: **false**<br><p>The VPC security groups and subnets that are attached to a project.</p><br>
    /// - On success, responds with [`CreateProjectOutput`](crate::operation::create_project::CreateProjectOutput) with field(s):
    ///   - [`project(Option<Project>)`](crate::operation::create_project::CreateProjectOutput::project): <p>The newly created project.</p>
    /// - On failure, responds with [`SdkError<CreateProjectError>`](crate::operation::create_project::CreateProjectError)
    pub fn create_project(&self) -> crate::operation::create_project::builders::CreateProjectFluentBuilder {
        crate::operation::create_project::builders::CreateProjectFluentBuilder::new(self.handle.clone())
    }
}