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