aws-sdk-datazone 1.136.0

AWS SDK for Amazon DataZone
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateGroupProfile`](crate::operation::create_group_profile::builders::CreateGroupProfileFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_identifier(impl Into<String>)`](crate::operation::create_group_profile::builders::CreateGroupProfileFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::create_group_profile::builders::CreateGroupProfileFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The identifier of the Amazon DataZone domain in which the group profile is created.</p><br>
    ///   - [`group_identifier(impl Into<String>)`](crate::operation::create_group_profile::builders::CreateGroupProfileFluentBuilder::group_identifier) / [`set_group_identifier(Option<String>)`](crate::operation::create_group_profile::builders::CreateGroupProfileFluentBuilder::set_group_identifier):<br>required: **false**<br><p>The identifier of the group for which the group profile is created.</p><br>
    ///   - [`role_principal_arn(impl Into<String>)`](crate::operation::create_group_profile::builders::CreateGroupProfileFluentBuilder::role_principal_arn) / [`set_role_principal_arn(Option<String>)`](crate::operation::create_group_profile::builders::CreateGroupProfileFluentBuilder::set_role_principal_arn):<br>required: **false**<br><p>The ARN of the IAM role that will be associated with the group profile. This role defines the permissions that group members will assume when accessing Amazon DataZone resources.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::create_group_profile::builders::CreateGroupProfileFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_group_profile::builders::CreateGroupProfileFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.</p><br>
    /// - On success, responds with [`CreateGroupProfileOutput`](crate::operation::create_group_profile::CreateGroupProfileOutput) with field(s):
    ///   - [`domain_id(Option<String>)`](crate::operation::create_group_profile::CreateGroupProfileOutput::domain_id): <p>The identifier of the Amazon DataZone domain in which the group profile is created.</p>
    ///   - [`id(Option<String>)`](crate::operation::create_group_profile::CreateGroupProfileOutput::id): <p>The identifier of the group profile.</p>
    ///   - [`status(Option<GroupProfileStatus>)`](crate::operation::create_group_profile::CreateGroupProfileOutput::status): <p>The status of the group profile.</p>
    ///   - [`group_name(Option<String>)`](crate::operation::create_group_profile::CreateGroupProfileOutput::group_name): <p>The name of the group for which group profile is created.</p>
    ///   - [`role_principal_arn(Option<String>)`](crate::operation::create_group_profile::CreateGroupProfileOutput::role_principal_arn): <p>The ARN of the IAM role principal. This role is associated with the group profile.</p>
    ///   - [`role_principal_id(Option<String>)`](crate::operation::create_group_profile::CreateGroupProfileOutput::role_principal_id): <p>The unique identifier of the IAM role principal. This principal is associated with the group profile.</p>
    /// - On failure, responds with [`SdkError<CreateGroupProfileError>`](crate::operation::create_group_profile::CreateGroupProfileError)
    pub fn create_group_profile(&self) -> crate::operation::create_group_profile::builders::CreateGroupProfileFluentBuilder {
        crate::operation::create_group_profile::builders::CreateGroupProfileFluentBuilder::new(self.handle.clone())
    }
}