1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateExclusionsPreview`](crate::operation::create_exclusions_preview::builders::CreateExclusionsPreviewFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`assessment_template_arn(impl ::std::convert::Into<String>)`](crate::operation::create_exclusions_preview::builders::CreateExclusionsPreviewFluentBuilder::assessment_template_arn) / [`set_assessment_template_arn(Option<String>)`](crate::operation::create_exclusions_preview::builders::CreateExclusionsPreviewFluentBuilder::set_assessment_template_arn): <p>The ARN that specifies the assessment template for which you want to create an exclusions preview.</p>
    /// - On success, responds with [`CreateExclusionsPreviewOutput`](crate::operation::create_exclusions_preview::CreateExclusionsPreviewOutput) with field(s):
    ///   - [`preview_token(Option<String>)`](crate::operation::create_exclusions_preview::CreateExclusionsPreviewOutput::preview_token): <p>Specifies the unique identifier of the requested exclusions preview. You can use the unique identifier to retrieve the exclusions preview when running the GetExclusionsPreview API.</p>
    /// - On failure, responds with [`SdkError<CreateExclusionsPreviewError>`](crate::operation::create_exclusions_preview::CreateExclusionsPreviewError)
    pub fn create_exclusions_preview(
        &self,
    ) -> crate::operation::create_exclusions_preview::builders::CreateExclusionsPreviewFluentBuilder
    {
        crate::operation::create_exclusions_preview::builders::CreateExclusionsPreviewFluentBuilder::new(self.handle.clone())
    }
}