aws-sdk-securityagent 1.2.0

AWS SDK for AWS Security Agent
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 [`BatchGetPentests`](crate::operation::batch_get_pentests::builders::BatchGetPentestsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`pentest_ids(impl Into<String>)`](crate::operation::batch_get_pentests::builders::BatchGetPentestsFluentBuilder::pentest_ids) / [`set_pentest_ids(Option<Vec::<String>>)`](crate::operation::batch_get_pentests::builders::BatchGetPentestsFluentBuilder::set_pentest_ids):<br>required: **true**<br><p>The list of pentest identifiers to retrieve.</p><br>
    ///   - [`agent_space_id(impl Into<String>)`](crate::operation::batch_get_pentests::builders::BatchGetPentestsFluentBuilder::agent_space_id) / [`set_agent_space_id(Option<String>)`](crate::operation::batch_get_pentests::builders::BatchGetPentestsFluentBuilder::set_agent_space_id):<br>required: **true**<br><p>The unique identifier of the agent space that contains the pentests.</p><br>
    /// - On success, responds with [`BatchGetPentestsOutput`](crate::operation::batch_get_pentests::BatchGetPentestsOutput) with field(s):
    ///   - [`pentests(Option<Vec::<Pentest>>)`](crate::operation::batch_get_pentests::BatchGetPentestsOutput::pentests): <p>The list of pentests that were found.</p>
    ///   - [`not_found(Option<Vec::<String>>)`](crate::operation::batch_get_pentests::BatchGetPentestsOutput::not_found): <p>The list of pentest identifiers that were not found.</p>
    /// - On failure, responds with [`SdkError<BatchGetPentestsError>`](crate::operation::batch_get_pentests::BatchGetPentestsError)
    pub fn batch_get_pentests(&self) -> crate::operation::batch_get_pentests::builders::BatchGetPentestsFluentBuilder {
        crate::operation::batch_get_pentests::builders::BatchGetPentestsFluentBuilder::new(self.handle.clone())
    }
}