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 [`StartAssessmentFrameworkShare`](crate::operation::start_assessment_framework_share::builders::StartAssessmentFrameworkShareFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`StartAssessmentFrameworkShareOutput`](crate::operation::start_assessment_framework_share::StartAssessmentFrameworkShareOutput) with field(s):
    ///   - [`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>
    /// - On failure, responds with [`SdkError<StartAssessmentFrameworkShareError>`](crate::operation::start_assessment_framework_share::StartAssessmentFrameworkShareError)
    pub fn start_assessment_framework_share(
        &self,
    ) -> crate::operation::start_assessment_framework_share::builders::StartAssessmentFrameworkShareFluentBuilder {
        crate::operation::start_assessment_framework_share::builders::StartAssessmentFrameworkShareFluentBuilder::new(self.handle.clone())
    }
}