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
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListThreatModelJobs`](crate::operation::list_threat_model_jobs::builders::ListThreatModelJobsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_threat_model_jobs::builders::ListThreatModelJobsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`max_results(i32)`](crate::operation::list_threat_model_jobs::builders::ListThreatModelJobsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_threat_model_jobs::builders::ListThreatModelJobsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in a single call.</p><br>
    ///   - [`threat_model_id(impl Into<String>)`](crate::operation::list_threat_model_jobs::builders::ListThreatModelJobsFluentBuilder::threat_model_id) / [`set_threat_model_id(Option<String>)`](crate::operation::list_threat_model_jobs::builders::ListThreatModelJobsFluentBuilder::set_threat_model_id):<br>required: **true**<br><p>The unique identifier of the threat model to list jobs for.</p><br>
    ///   - [`agent_space_id(impl Into<String>)`](crate::operation::list_threat_model_jobs::builders::ListThreatModelJobsFluentBuilder::agent_space_id) / [`set_agent_space_id(Option<String>)`](crate::operation::list_threat_model_jobs::builders::ListThreatModelJobsFluentBuilder::set_agent_space_id):<br>required: **true**<br><p>The unique identifier of the agent space.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_threat_model_jobs::builders::ListThreatModelJobsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_threat_model_jobs::builders::ListThreatModelJobsFluentBuilder::set_next_token):<br>required: **false**<br><p>A token to use for paginating results that are returned in the response.</p><br>
    /// - On success, responds with [`ListThreatModelJobsOutput`](crate::operation::list_threat_model_jobs::ListThreatModelJobsOutput) with field(s):
    ///   - [`threat_model_job_summaries(Option<Vec::<ThreatModelJobSummary>>)`](crate::operation::list_threat_model_jobs::ListThreatModelJobsOutput::threat_model_job_summaries): <p>The list of threat model job summaries.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_threat_model_jobs::ListThreatModelJobsOutput::next_token): <p>A token to use for paginating results that are returned in the response.</p>
    /// - On failure, responds with [`SdkError<ListThreatModelJobsError>`](crate::operation::list_threat_model_jobs::ListThreatModelJobsError)
    pub fn list_threat_model_jobs(&self) -> crate::operation::list_threat_model_jobs::builders::ListThreatModelJobsFluentBuilder {
        crate::operation::list_threat_model_jobs::builders::ListThreatModelJobsFluentBuilder::new(self.handle.clone())
    }
}