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 [`PublishFramework`](crate::operation::publish_framework::builders::PublishFrameworkFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`environment_arn(impl Into<String>)`](crate::operation::publish_framework::builders::PublishFrameworkFluentBuilder::environment_arn) / [`set_environment_arn(Option<String>)`](crate::operation::publish_framework::builders::PublishFrameworkFluentBuilder::set_environment_arn):<br>required: **true**<br><p>The ARN of this governance environment.</p><br>
    ///   - [`framework(impl Into<String>)`](crate::operation::publish_framework::builders::PublishFrameworkFluentBuilder::framework) / [`set_framework(Option<String>)`](crate::operation::publish_framework::builders::PublishFrameworkFluentBuilder::set_framework):<br>required: **true**<br><p>The name of the compliance framework.</p><br>
    ///   - [`framework_version(impl Into<String>)`](crate::operation::publish_framework::builders::PublishFrameworkFluentBuilder::framework_version) / [`set_framework_version(Option<String>)`](crate::operation::publish_framework::builders::PublishFrameworkFluentBuilder::set_framework_version):<br>required: **true**<br><p>The version of the compliance framework.</p><br>
    /// - On success, responds with [`PublishFrameworkOutput`](crate::operation::publish_framework::PublishFrameworkOutput) with field(s):
    ///   - [`framework(Option<Framework>)`](crate::operation::publish_framework::PublishFrameworkOutput::framework): <p>The name of the compliance framework.</p>
    /// - On failure, responds with [`SdkError<PublishFrameworkError>`](crate::operation::publish_framework::PublishFrameworkError)
    pub fn publish_framework(&self) -> crate::operation::publish_framework::builders::PublishFrameworkFluentBuilder {
        crate::operation::publish_framework::builders::PublishFrameworkFluentBuilder::new(self.handle.clone())
    }
}