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
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`StopThreatModelJob`](crate::operation::stop_threat_model_job::builders::StopThreatModelJobFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`agent_space_id(impl Into<String>)`](crate::operation::stop_threat_model_job::builders::StopThreatModelJobFluentBuilder::agent_space_id) / [`set_agent_space_id(Option<String>)`](crate::operation::stop_threat_model_job::builders::StopThreatModelJobFluentBuilder::set_agent_space_id):<br>required: **true**<br><p>The unique identifier of the agent space.</p><br>
    ///   - [`threat_model_job_id(impl Into<String>)`](crate::operation::stop_threat_model_job::builders::StopThreatModelJobFluentBuilder::threat_model_job_id) / [`set_threat_model_job_id(Option<String>)`](crate::operation::stop_threat_model_job::builders::StopThreatModelJobFluentBuilder::set_threat_model_job_id):<br>required: **true**<br><p>The unique identifier of the threat model job to stop.</p><br>
    /// - On success, responds with [`StopThreatModelJobOutput`](crate::operation::stop_threat_model_job::StopThreatModelJobOutput)
    /// - On failure, responds with [`SdkError<StopThreatModelJobError>`](crate::operation::stop_threat_model_job::StopThreatModelJobError)
    pub fn stop_threat_model_job(&self) -> crate::operation::stop_threat_model_job::builders::StopThreatModelJobFluentBuilder {
        crate::operation::stop_threat_model_job::builders::StopThreatModelJobFluentBuilder::new(self.handle.clone())
    }
}