1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateGroup`](crate::operation::create_group::builders::CreateGroupFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`amzn_client_token(impl Into<String>)`](crate::operation::create_group::builders::CreateGroupFluentBuilder::amzn_client_token) / [`set_amzn_client_token(Option<String>)`](crate::operation::create_group::builders::CreateGroupFluentBuilder::set_amzn_client_token):<br>required: **false**<br>A client token used to correlate requests and responses.<br>
    ///   - [`initial_version(GroupVersion)`](crate::operation::create_group::builders::CreateGroupFluentBuilder::initial_version) / [`set_initial_version(Option<GroupVersion>)`](crate::operation::create_group::builders::CreateGroupFluentBuilder::set_initial_version):<br>required: **false**<br>Information about the initial version of the group.<br>
    ///   - [`name(impl Into<String>)`](crate::operation::create_group::builders::CreateGroupFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_group::builders::CreateGroupFluentBuilder::set_name):<br>required: **true**<br>The name of the group.<br>
    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_group::builders::CreateGroupFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_group::builders::CreateGroupFluentBuilder::set_tags):<br>required: **false**<br>Tag(s) to add to the new resource.<br>
    /// - On success, responds with [`CreateGroupOutput`](crate::operation::create_group::CreateGroupOutput) with field(s):
    ///   - [`arn(Option<String>)`](crate::operation::create_group::CreateGroupOutput::arn): The ARN of the definition.
    ///   - [`creation_timestamp(Option<String>)`](crate::operation::create_group::CreateGroupOutput::creation_timestamp): The time, in milliseconds since the epoch, when the definition was created.
    ///   - [`id(Option<String>)`](crate::operation::create_group::CreateGroupOutput::id): The ID of the definition.
    ///   - [`last_updated_timestamp(Option<String>)`](crate::operation::create_group::CreateGroupOutput::last_updated_timestamp): The time, in milliseconds since the epoch, when the definition was last updated.
    ///   - [`latest_version(Option<String>)`](crate::operation::create_group::CreateGroupOutput::latest_version): The ID of the latest version associated with the definition.
    ///   - [`latest_version_arn(Option<String>)`](crate::operation::create_group::CreateGroupOutput::latest_version_arn): The ARN of the latest version associated with the definition.
    ///   - [`name(Option<String>)`](crate::operation::create_group::CreateGroupOutput::name): The name of the definition.
    /// - On failure, responds with [`SdkError<CreateGroupError>`](crate::operation::create_group::CreateGroupError)
    pub fn create_group(&self) -> crate::operation::create_group::builders::CreateGroupFluentBuilder {
        crate::operation::create_group::builders::CreateGroupFluentBuilder::new(self.handle.clone())
    }
}