aws-sdk-securityagent 1.1.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>List of pentest IDs to retrieve<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>ID of the agent space where the pentest exists<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): List of successfully retrieved pentests
    ///   - [`not_found(Option<Vec::<String>>)`](crate::operation::batch_get_pentests::BatchGetPentestsOutput::not_found): List of pentest IDs that could not be found
    /// - 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())
    }
}