aws_sdk_auditmanager/client/create_assessment_framework.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 [`CreateAssessmentFramework`](crate::operation::create_assessment_framework::builders::CreateAssessmentFrameworkFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`name(impl Into<String>)`](crate::operation::create_assessment_framework::builders::CreateAssessmentFrameworkFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_assessment_framework::builders::CreateAssessmentFrameworkFluentBuilder::set_name):<br>required: **true**<br><p>The name of the new custom framework.</p><br>
7 /// - [`description(impl Into<String>)`](crate::operation::create_assessment_framework::builders::CreateAssessmentFrameworkFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_assessment_framework::builders::CreateAssessmentFrameworkFluentBuilder::set_description):<br>required: **false**<br><p>An optional description for the new custom framework.</p><br>
8 /// - [`compliance_type(impl Into<String>)`](crate::operation::create_assessment_framework::builders::CreateAssessmentFrameworkFluentBuilder::compliance_type) / [`set_compliance_type(Option<String>)`](crate::operation::create_assessment_framework::builders::CreateAssessmentFrameworkFluentBuilder::set_compliance_type):<br>required: **false**<br><p>The compliance type that the new custom framework supports, such as CIS or HIPAA.</p><br>
9 /// - [`control_sets(CreateAssessmentFrameworkControlSet)`](crate::operation::create_assessment_framework::builders::CreateAssessmentFrameworkFluentBuilder::control_sets) / [`set_control_sets(Option<Vec::<CreateAssessmentFrameworkControlSet>>)`](crate::operation::create_assessment_framework::builders::CreateAssessmentFrameworkFluentBuilder::set_control_sets):<br>required: **true**<br><p>The control sets that are associated with the framework.</p><br>
10 /// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_assessment_framework::builders::CreateAssessmentFrameworkFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_assessment_framework::builders::CreateAssessmentFrameworkFluentBuilder::set_tags):<br>required: **false**<br><p>The tags that are associated with the framework.</p><br>
11 /// - On success, responds with [`CreateAssessmentFrameworkOutput`](crate::operation::create_assessment_framework::CreateAssessmentFrameworkOutput) with field(s):
12 /// - [`framework(Option<Framework>)`](crate::operation::create_assessment_framework::CreateAssessmentFrameworkOutput::framework): <p>The name of the new framework that the <code>CreateAssessmentFramework</code> API returned.</p>
13 /// - On failure, responds with [`SdkError<CreateAssessmentFrameworkError>`](crate::operation::create_assessment_framework::CreateAssessmentFrameworkError)
14 pub fn create_assessment_framework(&self) -> crate::operation::create_assessment_framework::builders::CreateAssessmentFrameworkFluentBuilder {
15 crate::operation::create_assessment_framework::builders::CreateAssessmentFrameworkFluentBuilder::new(self.handle.clone())
16 }
17}