aws-sdk-assurance 1.0.0

AWS SDK for AWS Assurance
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateFramework`](crate::operation::create_framework::builders::CreateFrameworkFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`environment_arn(impl Into<String>)`](crate::operation::create_framework::builders::CreateFrameworkFluentBuilder::environment_arn) / [`set_environment_arn(Option<String>)`](crate::operation::create_framework::builders::CreateFrameworkFluentBuilder::set_environment_arn):<br>required: **true**<br><p>The ARN of this governance environment.</p><br>
    ///   - [`framework(impl Into<String>)`](crate::operation::create_framework::builders::CreateFrameworkFluentBuilder::framework) / [`set_framework(Option<String>)`](crate::operation::create_framework::builders::CreateFrameworkFluentBuilder::set_framework):<br>required: **true**<br><p>The name of the framework. The name must not start with <code>AWS:</code>.</p><br>
    ///   - [`framework_version(impl Into<String>)`](crate::operation::create_framework::builders::CreateFrameworkFluentBuilder::framework_version) / [`set_framework_version(Option<String>)`](crate::operation::create_framework::builders::CreateFrameworkFluentBuilder::set_framework_version):<br>required: **true**<br><p>The version that you assign to the framework.</p><br>
    ///   - [`title(impl Into<String>)`](crate::operation::create_framework::builders::CreateFrameworkFluentBuilder::title) / [`set_title(Option<String>)`](crate::operation::create_framework::builders::CreateFrameworkFluentBuilder::set_title):<br>required: **false**<br><p>The human-readable title of the framework.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::create_framework::builders::CreateFrameworkFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_framework::builders::CreateFrameworkFluentBuilder::set_description):<br>required: **false**<br><p>A description of the framework.</p><br>
    /// - On success, responds with [`CreateFrameworkOutput`](crate::operation::create_framework::CreateFrameworkOutput) with field(s):
    ///   - [`framework(Option<Framework>)`](crate::operation::create_framework::CreateFrameworkOutput::framework): <p>The name of the compliance framework.</p>
    /// - On failure, responds with [`SdkError<CreateFrameworkError>`](crate::operation::create_framework::CreateFrameworkError)
    pub fn create_framework(&self) -> crate::operation::create_framework::builders::CreateFrameworkFluentBuilder {
        crate::operation::create_framework::builders::CreateFrameworkFluentBuilder::new(self.handle.clone())
    }
}