aws-sdk-securityagent 1.8.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 [`BatchGetThreatModels`](crate::operation::batch_get_threat_models::builders::BatchGetThreatModelsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`threat_model_ids(impl Into<String>)`](crate::operation::batch_get_threat_models::builders::BatchGetThreatModelsFluentBuilder::threat_model_ids) / [`set_threat_model_ids(Option<Vec::<String>>)`](crate::operation::batch_get_threat_models::builders::BatchGetThreatModelsFluentBuilder::set_threat_model_ids):<br>required: **true**<br><p>The list of threat model identifiers to retrieve.</p><br>
    ///   - [`agent_space_id(impl Into<String>)`](crate::operation::batch_get_threat_models::builders::BatchGetThreatModelsFluentBuilder::agent_space_id) / [`set_agent_space_id(Option<String>)`](crate::operation::batch_get_threat_models::builders::BatchGetThreatModelsFluentBuilder::set_agent_space_id):<br>required: **true**<br><p>The unique identifier of the agent space that contains the threat models.</p><br>
    /// - On success, responds with [`BatchGetThreatModelsOutput`](crate::operation::batch_get_threat_models::BatchGetThreatModelsOutput) with field(s):
    ///   - [`threat_models(Option<Vec::<ThreatModel>>)`](crate::operation::batch_get_threat_models::BatchGetThreatModelsOutput::threat_models): <p>The list of threat models that were found.</p>
    ///   - [`not_found(Option<Vec::<String>>)`](crate::operation::batch_get_threat_models::BatchGetThreatModelsOutput::not_found): <p>The list of threat model identifiers that were not found.</p>
    /// - On failure, responds with [`SdkError<BatchGetThreatModelsError>`](crate::operation::batch_get_threat_models::BatchGetThreatModelsError)
    pub fn batch_get_threat_models(&self) -> crate::operation::batch_get_threat_models::builders::BatchGetThreatModelsFluentBuilder {
        crate::operation::batch_get_threat_models::builders::BatchGetThreatModelsFluentBuilder::new(self.handle.clone())
    }
}