Skip to main content

aws_sdk_securityagent/client/
batch_get_threat_model_jobs.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`BatchGetThreatModelJobs`](crate::operation::batch_get_threat_model_jobs::builders::BatchGetThreatModelJobsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`threat_model_job_ids(impl Into<String>)`](crate::operation::batch_get_threat_model_jobs::builders::BatchGetThreatModelJobsFluentBuilder::threat_model_job_ids) / [`set_threat_model_job_ids(Option<Vec::<String>>)`](crate::operation::batch_get_threat_model_jobs::builders::BatchGetThreatModelJobsFluentBuilder::set_threat_model_job_ids):<br>required: **true**<br><p>The list of threat model job identifiers to retrieve.</p><br>
7    ///   - [`agent_space_id(impl Into<String>)`](crate::operation::batch_get_threat_model_jobs::builders::BatchGetThreatModelJobsFluentBuilder::agent_space_id) / [`set_agent_space_id(Option<String>)`](crate::operation::batch_get_threat_model_jobs::builders::BatchGetThreatModelJobsFluentBuilder::set_agent_space_id):<br>required: **true**<br><p>The unique identifier of the agent space that contains the threat model jobs.</p><br>
8    /// - On success, responds with [`BatchGetThreatModelJobsOutput`](crate::operation::batch_get_threat_model_jobs::BatchGetThreatModelJobsOutput) with field(s):
9    ///   - [`threat_model_jobs(Option<Vec::<ThreatModelJob>>)`](crate::operation::batch_get_threat_model_jobs::BatchGetThreatModelJobsOutput::threat_model_jobs): <p>The list of threat model jobs that were found.</p>
10    ///   - [`not_found(Option<Vec::<String>>)`](crate::operation::batch_get_threat_model_jobs::BatchGetThreatModelJobsOutput::not_found): <p>The list of threat model job identifiers that were not found.</p>
11    /// - On failure, responds with [`SdkError<BatchGetThreatModelJobsError>`](crate::operation::batch_get_threat_model_jobs::BatchGetThreatModelJobsError)
12    pub fn batch_get_threat_model_jobs(&self) -> crate::operation::batch_get_threat_model_jobs::builders::BatchGetThreatModelJobsFluentBuilder {
13        crate::operation::batch_get_threat_model_jobs::builders::BatchGetThreatModelJobsFluentBuilder::new(self.handle.clone())
14    }
15}