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 [`BatchDeleteThreatModels`](crate::operation::batch_delete_threat_models::builders::BatchDeleteThreatModelsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`threat_model_ids(impl Into<String>)`](crate::operation::batch_delete_threat_models::builders::BatchDeleteThreatModelsFluentBuilder::threat_model_ids) / [`set_threat_model_ids(Option<Vec::<String>>)`](crate::operation::batch_delete_threat_models::builders::BatchDeleteThreatModelsFluentBuilder::set_threat_model_ids):<br>required: **true**<br><p>The list of threat model identifiers to delete.</p><br>
    ///   - [`agent_space_id(impl Into<String>)`](crate::operation::batch_delete_threat_models::builders::BatchDeleteThreatModelsFluentBuilder::agent_space_id) / [`set_agent_space_id(Option<String>)`](crate::operation::batch_delete_threat_models::builders::BatchDeleteThreatModelsFluentBuilder::set_agent_space_id):<br>required: **true**<br><p>The unique identifier of the agent space that contains the threat models to delete.</p><br>
    /// - On success, responds with [`BatchDeleteThreatModelsOutput`](crate::operation::batch_delete_threat_models::BatchDeleteThreatModelsOutput) with field(s):
    ///   - [`deleted(Option<Vec::<String>>)`](crate::operation::batch_delete_threat_models::BatchDeleteThreatModelsOutput::deleted): <p>The list of threat model identifiers that were successfully deleted.</p>
    ///   - [`failed(Option<Vec::<DeleteThreatModelFailure>>)`](crate::operation::batch_delete_threat_models::BatchDeleteThreatModelsOutput::failed): <p>The list of threat models that failed to delete, including the reason for each failure.</p>
    /// - On failure, responds with [`SdkError<BatchDeleteThreatModelsError>`](crate::operation::batch_delete_threat_models::BatchDeleteThreatModelsError)
    pub fn batch_delete_threat_models(&self) -> crate::operation::batch_delete_threat_models::builders::BatchDeleteThreatModelsFluentBuilder {
        crate::operation::batch_delete_threat_models::builders::BatchDeleteThreatModelsFluentBuilder::new(self.handle.clone())
    }
}