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