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
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`BatchGetComment`](crate::operation::batch_get_comment::builders::BatchGetCommentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`environment_arn(impl Into<String>)`](crate::operation::batch_get_comment::builders::BatchGetCommentFluentBuilder::environment_arn) / [`set_environment_arn(Option<String>)`](crate::operation::batch_get_comment::builders::BatchGetCommentFluentBuilder::set_environment_arn):<br>required: **true**<br><p>The ARN of this governance environment.</p><br>
    ///   - [`project(impl Into<String>)`](crate::operation::batch_get_comment::builders::BatchGetCommentFluentBuilder::project) / [`set_project(Option<String>)`](crate::operation::batch_get_comment::builders::BatchGetCommentFluentBuilder::set_project):<br>required: **true**<br><p>The name of the project.</p><br>
    ///   - [`keys(CommentKey)`](crate::operation::batch_get_comment::builders::BatchGetCommentFluentBuilder::keys) / [`set_keys(Option<Vec::<CommentKey>>)`](crate::operation::batch_get_comment::builders::BatchGetCommentFluentBuilder::set_keys):<br>required: **true**<br><p>The comments to retrieve, 1 to 100 per request. Keys must be unique within a request.</p><br>
    /// - On success, responds with [`BatchGetCommentOutput`](crate::operation::batch_get_comment::BatchGetCommentOutput) with field(s):
    ///   - [`comments(Vec::<Comment>)`](crate::operation::batch_get_comment::BatchGetCommentOutput::comments): <p>The list of comments.</p>
    ///   - [`errors(Vec::<BatchGetCommentError>)`](crate::operation::batch_get_comment::BatchGetCommentOutput::errors): <p>The entries for requested comments that the operation could not return. Empty when the operation returned all of them; a request in which every comment failed still succeeds.</p>
    /// - On failure, responds with [`SdkError<BatchGetCommentError>`](crate::operation::batch_get_comment::BatchGetCommentError)
    pub fn batch_get_comment(&self) -> crate::operation::batch_get_comment::builders::BatchGetCommentFluentBuilder {
        crate::operation::batch_get_comment::builders::BatchGetCommentFluentBuilder::new(self.handle.clone())
    }
}