aws_sdk_auditmanager/client/
start_assessment_framework_share.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 [`StartAssessmentFrameworkShare`](crate::operation::start_assessment_framework_share::builders::StartAssessmentFrameworkShareFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`framework_id(impl Into<String>)`](crate::operation::start_assessment_framework_share::builders::StartAssessmentFrameworkShareFluentBuilder::framework_id) / [`set_framework_id(Option<String>)`](crate::operation::start_assessment_framework_share::builders::StartAssessmentFrameworkShareFluentBuilder::set_framework_id):<br>required: **true**<br><p>The unique identifier for the custom framework to be shared.</p><br>
7    ///   - [`destination_account(impl Into<String>)`](crate::operation::start_assessment_framework_share::builders::StartAssessmentFrameworkShareFluentBuilder::destination_account) / [`set_destination_account(Option<String>)`](crate::operation::start_assessment_framework_share::builders::StartAssessmentFrameworkShareFluentBuilder::set_destination_account):<br>required: **true**<br><p>The Amazon Web Services account of the recipient.</p><br>
8    ///   - [`destination_region(impl Into<String>)`](crate::operation::start_assessment_framework_share::builders::StartAssessmentFrameworkShareFluentBuilder::destination_region) / [`set_destination_region(Option<String>)`](crate::operation::start_assessment_framework_share::builders::StartAssessmentFrameworkShareFluentBuilder::set_destination_region):<br>required: **true**<br><p>The Amazon Web Services Region of the recipient.</p><br>
9    ///   - [`comment(impl Into<String>)`](crate::operation::start_assessment_framework_share::builders::StartAssessmentFrameworkShareFluentBuilder::comment) / [`set_comment(Option<String>)`](crate::operation::start_assessment_framework_share::builders::StartAssessmentFrameworkShareFluentBuilder::set_comment):<br>required: **false**<br><p>An optional comment from the sender about the share request.</p><br>
10    /// - On success, responds with [`StartAssessmentFrameworkShareOutput`](crate::operation::start_assessment_framework_share::StartAssessmentFrameworkShareOutput) with field(s):
11    ///   - [`assessment_framework_share_request(Option<AssessmentFrameworkShareRequest>)`](crate::operation::start_assessment_framework_share::StartAssessmentFrameworkShareOutput::assessment_framework_share_request): <p>The share request that's created by the <code>StartAssessmentFrameworkShare</code> API.</p>
12    /// - On failure, responds with [`SdkError<StartAssessmentFrameworkShareError>`](crate::operation::start_assessment_framework_share::StartAssessmentFrameworkShareError)
13    pub fn start_assessment_framework_share(
14        &self,
15    ) -> crate::operation::start_assessment_framework_share::builders::StartAssessmentFrameworkShareFluentBuilder {
16        crate::operation::start_assessment_framework_share::builders::StartAssessmentFrameworkShareFluentBuilder::new(self.handle.clone())
17    }
18}