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
28
29
30
31
32
33
34
35
36
37
38
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateAgentProfile`](crate::operation::create_agent_profile::builders::CreateAgentProfileFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`name(impl Into<String>)`](crate::operation::create_agent_profile::builders::CreateAgentProfileFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_agent_profile::builders::CreateAgentProfileFluentBuilder::set_name):<br>required: **true**<br><p>The system name of the profile.</p><br>
/// - [`display_name(impl Into<String>)`](crate::operation::create_agent_profile::builders::CreateAgentProfileFluentBuilder::display_name) / [`set_display_name(Option<String>)`](crate::operation::create_agent_profile::builders::CreateAgentProfileFluentBuilder::set_display_name):<br>required: **false**<br><p>The display name of the profile shown to users.</p><br>
/// - [`description(impl Into<String>)`](crate::operation::create_agent_profile::builders::CreateAgentProfileFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_agent_profile::builders::CreateAgentProfileFluentBuilder::set_description):<br>required: **false**<br><p>A description of the profile.</p><br>
/// - [`business_overview(impl Into<String>)`](crate::operation::create_agent_profile::builders::CreateAgentProfileFluentBuilder::business_overview) / [`set_business_overview(Option<String>)`](crate::operation::create_agent_profile::builders::CreateAgentProfileFluentBuilder::set_business_overview):<br>required: **false**<br><p>The business overview for this profile.</p><br>
/// - [`pillars(Pillar)`](crate::operation::create_agent_profile::builders::CreateAgentProfileFluentBuilder::pillars) / [`set_pillars(Option<Vec::<Pillar>>)`](crate::operation::create_agent_profile::builders::CreateAgentProfileFluentBuilder::set_pillars):<br>required: **true**<br><p>The Well-Architected Tool Framework pillars to associate with this profile.</p><br>
/// - [`deletion_protection(bool)`](crate::operation::create_agent_profile::builders::CreateAgentProfileFluentBuilder::deletion_protection) / [`set_deletion_protection(Option<bool>)`](crate::operation::create_agent_profile::builders::CreateAgentProfileFluentBuilder::set_deletion_protection):<br>required: **false**<br><p>Indicates whether deletion protection is enabled for the profile.</p><br>
/// - [`execution_role_arn(impl Into<String>)`](crate::operation::create_agent_profile::builders::CreateAgentProfileFluentBuilder::execution_role_arn) / [`set_execution_role_arn(Option<String>)`](crate::operation::create_agent_profile::builders::CreateAgentProfileFluentBuilder::set_execution_role_arn):<br>required: **true**<br><p>The ARN of the IAM execution role used for recommendation actions.</p><br>
/// - [`aggregation_configuration(AggregationConfiguration)`](crate::operation::create_agent_profile::builders::CreateAgentProfileFluentBuilder::aggregation_configuration) / [`set_aggregation_configuration(Option<Vec::<AggregationConfiguration>>)`](crate::operation::create_agent_profile::builders::CreateAgentProfileFluentBuilder::set_aggregation_configuration):<br>required: **true**<br><p>The aggregation configuration that defines which Amazon Web Services accounts and Regions to analyze.</p><br>
/// - [`client_token(impl Into<String>)`](crate::operation::create_agent_profile::builders::CreateAgentProfileFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_agent_profile::builders::CreateAgentProfileFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p><br>
/// - [`tags(Tag)`](crate::operation::create_agent_profile::builders::CreateAgentProfileFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_agent_profile::builders::CreateAgentProfileFluentBuilder::set_tags):<br>required: **false**<br><p>The tags to associate with the profile.</p><br>
/// - On success, responds with [`CreateAgentProfileOutput`](crate::operation::create_agent_profile::CreateAgentProfileOutput) with field(s):
/// - [`name(String)`](crate::operation::create_agent_profile::CreateAgentProfileOutput::name): <p>The system name of the created profile.</p>
/// - [`display_name(Option<String>)`](crate::operation::create_agent_profile::CreateAgentProfileOutput::display_name): <p>The display name of the created profile.</p>
/// - [`description(Option<String>)`](crate::operation::create_agent_profile::CreateAgentProfileOutput::description): <p>A description of the created profile.</p>
/// - [`business_overview(Option<String>)`](crate::operation::create_agent_profile::CreateAgentProfileOutput::business_overview): <p>The business overview of the created profile.</p>
/// - [`pillars(Vec::<Pillar>)`](crate::operation::create_agent_profile::CreateAgentProfileOutput::pillars): <p>The Well-Architected Tool Framework pillars associated with the created profile.</p>
/// - [`deletion_protection(bool)`](crate::operation::create_agent_profile::CreateAgentProfileOutput::deletion_protection): <p>Indicates whether deletion protection is enabled.</p>
/// - [`execution_role_arn(String)`](crate::operation::create_agent_profile::CreateAgentProfileOutput::execution_role_arn): <p>The ARN of the IAM execution role.</p>
/// - [`aggregation_configuration(Vec::<AggregationConfiguration>)`](crate::operation::create_agent_profile::CreateAgentProfileOutput::aggregation_configuration): <p>The aggregation configuration.</p>
/// - [`arn(String)`](crate::operation::create_agent_profile::CreateAgentProfileOutput::arn): <p>The Amazon Resource Name (ARN) of the created profile.</p>
/// - [`eligible_for_scheduled_generation(Option<bool>)`](crate::operation::create_agent_profile::CreateAgentProfileOutput::eligible_for_scheduled_generation): <p>Indicates whether the profile is valid for scheduled recommendation generation.</p>
/// - [`eligible_for_architecture_generation(Option<bool>)`](crate::operation::create_agent_profile::CreateAgentProfileOutput::eligible_for_architecture_generation): <p>Indicates whether the profile is valid for manual architecture generation.</p>
/// - [`field_errors(Option<HashMap::<String, String>>)`](crate::operation::create_agent_profile::CreateAgentProfileOutput::field_errors): <p>A map of field paths to error messages for invalid or missing input fields.</p>
/// - [`tags(Option<Vec::<Tag>>)`](crate::operation::create_agent_profile::CreateAgentProfileOutput::tags): <p>The tags associated with the created profile.</p>
/// - [`created_by(String)`](crate::operation::create_agent_profile::CreateAgentProfileOutput::created_by): <p>The identifier of the user or system that created this profile.</p>
/// - [`created_at(DateTime)`](crate::operation::create_agent_profile::CreateAgentProfileOutput::created_at): <p>The timestamp when the profile was created.</p>
/// - [`last_modified_by(Option<String>)`](crate::operation::create_agent_profile::CreateAgentProfileOutput::last_modified_by): <p>The identifier of the user or system that last modified this profile.</p>
/// - [`last_modified_at(Option<DateTime>)`](crate::operation::create_agent_profile::CreateAgentProfileOutput::last_modified_at): <p>The timestamp when the profile was last modified.</p>
/// - On failure, responds with [`SdkError<CreateAgentProfileError>`](crate::operation::create_agent_profile::CreateAgentProfileError)
pub fn create_agent_profile(&self) -> crate::operation::create_agent_profile::builders::CreateAgentProfileFluentBuilder {
crate::operation::create_agent_profile::builders::CreateAgentProfileFluentBuilder::new(self.handle.clone())
}
}