aws_sdk_datazone/client/
create_project_profile.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateProjectProfile`](crate::operation::create_project_profile::builders::CreateProjectProfileFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_identifier(impl Into<String>)`](crate::operation::create_project_profile::builders::CreateProjectProfileFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::create_project_profile::builders::CreateProjectProfileFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>A domain ID of the project profile.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::create_project_profile::builders::CreateProjectProfileFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_project_profile::builders::CreateProjectProfileFluentBuilder::set_name):<br>required: **true**<br><p>Project profile name.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::create_project_profile::builders::CreateProjectProfileFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_project_profile::builders::CreateProjectProfileFluentBuilder::set_description):<br>required: **false**<br><p>A description of a project profile.</p><br>
    ///   - [`status(Status)`](crate::operation::create_project_profile::builders::CreateProjectProfileFluentBuilder::status) / [`set_status(Option<Status>)`](crate::operation::create_project_profile::builders::CreateProjectProfileFluentBuilder::set_status):<br>required: **false**<br><p>Project profile status.</p><br>
    ///   - [`environment_configurations(EnvironmentConfiguration)`](crate::operation::create_project_profile::builders::CreateProjectProfileFluentBuilder::environment_configurations) / [`set_environment_configurations(Option<Vec::<EnvironmentConfiguration>>)`](crate::operation::create_project_profile::builders::CreateProjectProfileFluentBuilder::set_environment_configurations):<br>required: **false**<br><p>Environment configurations of the project profile.</p><br>
    ///   - [`domain_unit_identifier(impl Into<String>)`](crate::operation::create_project_profile::builders::CreateProjectProfileFluentBuilder::domain_unit_identifier) / [`set_domain_unit_identifier(Option<String>)`](crate::operation::create_project_profile::builders::CreateProjectProfileFluentBuilder::set_domain_unit_identifier):<br>required: **false**<br><p>A domain unit ID of the project profile.</p><br>
    /// - On success, responds with [`CreateProjectProfileOutput`](crate::operation::create_project_profile::CreateProjectProfileOutput) with field(s):
    ///   - [`domain_id(String)`](crate::operation::create_project_profile::CreateProjectProfileOutput::domain_id): <p>The ID of the domain where a project profile is created.</p>
    ///   - [`id(String)`](crate::operation::create_project_profile::CreateProjectProfileOutput::id): <p>Project profile ID.</p>
    ///   - [`name(String)`](crate::operation::create_project_profile::CreateProjectProfileOutput::name): <p>Project profile name.</p>
    ///   - [`description(Option<String>)`](crate::operation::create_project_profile::CreateProjectProfileOutput::description): <p>A project profile description.</p>
    ///   - [`status(Option<Status>)`](crate::operation::create_project_profile::CreateProjectProfileOutput::status): <p>Project profile status.</p>
    ///   - [`environment_configurations(Option<Vec::<EnvironmentConfiguration>>)`](crate::operation::create_project_profile::CreateProjectProfileOutput::environment_configurations): <p>Environment configurations of a project profile.</p>
    ///   - [`created_by(String)`](crate::operation::create_project_profile::CreateProjectProfileOutput::created_by): <p>A user who created a project profile.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::create_project_profile::CreateProjectProfileOutput::created_at): <p>A timestamp at which a project profile is created.</p>
    ///   - [`last_updated_at(Option<DateTime>)`](crate::operation::create_project_profile::CreateProjectProfileOutput::last_updated_at): <p>A timestamp when a project profile was last updated.</p>
    ///   - [`domain_unit_id(Option<String>)`](crate::operation::create_project_profile::CreateProjectProfileOutput::domain_unit_id): <p>The ID of the domain unit where a project profile is created.</p>
    /// - On failure, responds with [`SdkError<CreateProjectProfileError>`](crate::operation::create_project_profile::CreateProjectProfileError)
    pub fn create_project_profile(&self) -> crate::operation::create_project_profile::builders::CreateProjectProfileFluentBuilder {
        crate::operation::create_project_profile::builders::CreateProjectProfileFluentBuilder::new(self.handle.clone())
    }
}