aws_sdk_cloudextensions/client/create_profile.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`CreateProfile`](crate::operation::create_profile::builders::CreateProfileFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`client_token(impl Into<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::set_client_token):<br>required: **false**<br>A unique, case-sensitive identifier that you provide to ensure the request is processed at most once.<br>
7 /// - [`name(impl Into<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::set_name):<br>required: **true**<br>The name of the profile. Must be unique within the account.<br>
8 /// - [`description(impl Into<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::set_description):<br>required: **false**<br>A human-readable description of the profile's purpose or target environment.<br>
9 /// - [`extension_defaults(ExtensionDefaults)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::extension_defaults) / [`set_extension_defaults(Option<ExtensionDefaults>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::set_extension_defaults):<br>required: **false**<br>Default values used by the extensions in this profile. These can be overridden at the profile entry level.<br>
10 /// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::set_tags):<br>required: **false**<br>Tags to assign to the profile.<br>
11 /// - On success, responds with [`CreateProfileOutput`](crate::operation::create_profile::CreateProfileOutput) with field(s):
12 /// - [`id(String)`](crate::operation::create_profile::CreateProfileOutput::id): The service-generated id of the profile.
13 /// - [`name(String)`](crate::operation::create_profile::CreateProfileOutput::name): The name of the profile.
14 /// - [`arn(String)`](crate::operation::create_profile::CreateProfileOutput::arn): The Amazon Resource Name (ARN) of the profile.
15 /// - [`entry_count(i32)`](crate::operation::create_profile::CreateProfileOutput::entry_count): The number of entries in this profile.
16 /// - [`created_at(DateTime)`](crate::operation::create_profile::CreateProfileOutput::created_at): When the profile was created.
17 /// - [`updated_at(DateTime)`](crate::operation::create_profile::CreateProfileOutput::updated_at): When the profile was last updated. Equal to createdAt until the first update.
18 /// - [`description(Option<String>)`](crate::operation::create_profile::CreateProfileOutput::description): A human-readable description of this profile's purpose or target environment.
19 /// - [`extension_defaults(Option<ExtensionDefaults>)`](crate::operation::create_profile::CreateProfileOutput::extension_defaults): Default values used by the extensions in this profile. These can be overridden at the profile entry level.
20 /// - On failure, responds with [`SdkError<CreateProfileError>`](crate::operation::create_profile::CreateProfileError)
21 pub fn create_profile(&self) -> crate::operation::create_profile::builders::CreateProfileFluentBuilder {
22 crate::operation::create_profile::builders::CreateProfileFluentBuilder::new(self.handle.clone())
23 }
24}