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
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteComment`](crate::operation::delete_comment::builders::DeleteCommentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`environment_arn(impl Into<String>)`](crate::operation::delete_comment::builders::DeleteCommentFluentBuilder::environment_arn) / [`set_environment_arn(Option<String>)`](crate::operation::delete_comment::builders::DeleteCommentFluentBuilder::set_environment_arn):<br>required: **true**<br><p>The ARN of this governance environment.</p><br>
    ///   - [`project(impl Into<String>)`](crate::operation::delete_comment::builders::DeleteCommentFluentBuilder::project) / [`set_project(Option<String>)`](crate::operation::delete_comment::builders::DeleteCommentFluentBuilder::set_project):<br>required: **true**<br><p>The name of the project.</p><br>
    ///   - [`framework(impl Into<String>)`](crate::operation::delete_comment::builders::DeleteCommentFluentBuilder::framework) / [`set_framework(Option<String>)`](crate::operation::delete_comment::builders::DeleteCommentFluentBuilder::set_framework):<br>required: **true**<br><p>The name of the compliance framework.</p><br>
    ///   - [`framework_version(impl Into<String>)`](crate::operation::delete_comment::builders::DeleteCommentFluentBuilder::framework_version) / [`set_framework_version(Option<String>)`](crate::operation::delete_comment::builders::DeleteCommentFluentBuilder::set_framework_version):<br>required: **true**<br><p>The version of the compliance framework.</p><br>
    ///   - [`control_id(impl Into<String>)`](crate::operation::delete_comment::builders::DeleteCommentFluentBuilder::control_id) / [`set_control_id(Option<String>)`](crate::operation::delete_comment::builders::DeleteCommentFluentBuilder::set_control_id):<br>required: **true**<br><p>The control identifier. Optional. If omitted, the operation applies to the full framework.</p><br>
    ///   - [`comment_id(impl Into<String>)`](crate::operation::delete_comment::builders::DeleteCommentFluentBuilder::comment_id) / [`set_comment_id(Option<String>)`](crate::operation::delete_comment::builders::DeleteCommentFluentBuilder::set_comment_id):<br>required: **true**<br><p>The unique identifier of the comment.</p><br>
    /// - On success, responds with [`DeleteCommentOutput`](crate::operation::delete_comment::DeleteCommentOutput)
    /// - On failure, responds with [`SdkError<DeleteCommentError>`](crate::operation::delete_comment::DeleteCommentError)
    pub fn delete_comment(&self) -> crate::operation::delete_comment::builders::DeleteCommentFluentBuilder {
        crate::operation::delete_comment::builders::DeleteCommentFluentBuilder::new(self.handle.clone())
    }
}