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
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DisableFramework`](crate::operation::disable_framework::builders::DisableFrameworkFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`environment_arn(impl Into<String>)`](crate::operation::disable_framework::builders::DisableFrameworkFluentBuilder::environment_arn) / [`set_environment_arn(Option<String>)`](crate::operation::disable_framework::builders::DisableFrameworkFluentBuilder::set_environment_arn):<br>required: **true**<br><p>The ARN of this governance environment.</p><br>
    ///   - [`framework(impl Into<String>)`](crate::operation::disable_framework::builders::DisableFrameworkFluentBuilder::framework) / [`set_framework(Option<String>)`](crate::operation::disable_framework::builders::DisableFrameworkFluentBuilder::set_framework):<br>required: **true**<br><p>The name of the compliance framework.</p><br>
    ///   - [`framework_version(impl Into<String>)`](crate::operation::disable_framework::builders::DisableFrameworkFluentBuilder::framework_version) / [`set_framework_version(Option<String>)`](crate::operation::disable_framework::builders::DisableFrameworkFluentBuilder::set_framework_version):<br>required: **true**<br><p>The version of the compliance framework.</p><br>
    ///   - [`project(impl Into<String>)`](crate::operation::disable_framework::builders::DisableFrameworkFluentBuilder::project) / [`set_project(Option<String>)`](crate::operation::disable_framework::builders::DisableFrameworkFluentBuilder::set_project):<br>required: **true**<br><p>The name of the project.</p><br>
    /// - On success, responds with [`DisableFrameworkOutput`](crate::operation::disable_framework::DisableFrameworkOutput) with field(s):
    ///   - [`environment(String)`](crate::operation::disable_framework::DisableFrameworkOutput::environment): <p>The name of the governance environment the framework belongs to.</p>
    ///   - [`framework(String)`](crate::operation::disable_framework::DisableFrameworkOutput::framework): <p>The name of the compliance framework.</p>
    ///   - [`project(String)`](crate::operation::disable_framework::DisableFrameworkOutput::project): <p>The name of the project that the framework was disabled for.</p>
    /// - On failure, responds with [`SdkError<DisableFrameworkError>`](crate::operation::disable_framework::DisableFrameworkError)
    pub fn disable_framework(&self) -> crate::operation::disable_framework::builders::DisableFrameworkFluentBuilder {
        crate::operation::disable_framework::builders::DisableFrameworkFluentBuilder::new(self.handle.clone())
    }
}