aws-sdk-ecs 1.128.0

AWS SDK for Amazon EC2 Container Service
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 [`ListDaemonDeployments`](crate::operation::list_daemon_deployments::builders::ListDaemonDeploymentsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`daemon_arn(impl Into<String>)`](crate::operation::list_daemon_deployments::builders::ListDaemonDeploymentsFluentBuilder::daemon_arn) / [`set_daemon_arn(Option<String>)`](crate::operation::list_daemon_deployments::builders::ListDaemonDeploymentsFluentBuilder::set_daemon_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the daemon to list deployments for.</p><br>
    ///   - [`status(DaemonDeploymentStatus)`](crate::operation::list_daemon_deployments::builders::ListDaemonDeploymentsFluentBuilder::status) / [`set_status(Option<Vec::<DaemonDeploymentStatus>>)`](crate::operation::list_daemon_deployments::builders::ListDaemonDeploymentsFluentBuilder::set_status):<br>required: **false**<br><p>An optional filter to narrow the <code>ListDaemonDeployments</code> results by deployment status. If you don't specify a status, all deployments are returned.</p><br>
    ///   - [`created_at(CreatedAt)`](crate::operation::list_daemon_deployments::builders::ListDaemonDeploymentsFluentBuilder::created_at) / [`set_created_at(Option<CreatedAt>)`](crate::operation::list_daemon_deployments::builders::ListDaemonDeploymentsFluentBuilder::set_created_at):<br>required: **false**<br><p>An optional filter to narrow the <code>ListDaemonDeployments</code> results by creation time. If you don't specify a time range, all deployments are returned.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_daemon_deployments::builders::ListDaemonDeploymentsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_daemon_deployments::builders::ListDaemonDeploymentsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of daemon deployment results that <code>ListDaemonDeployments</code> returned in paginated output. When this parameter is used, <code>ListDaemonDeployments</code> only returns <code>maxResults</code> results in a single page along with a <code>nextToken</code> response element. The remaining results of the initial request can be seen by sending another <code>ListDaemonDeployments</code> request with the returned <code>nextToken</code> value. This value can be between 1 and 100. If this parameter isn't used, then <code>ListDaemonDeployments</code> returns up to 20 results and a <code>nextToken</code> value if applicable.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_daemon_deployments::builders::ListDaemonDeploymentsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_daemon_deployments::builders::ListDaemonDeploymentsFluentBuilder::set_next_token):<br>required: **false**<br><p>The <code>nextToken</code> value returned from a <code>ListDaemonDeployments</code> request indicating that more results are available to fulfill the request and further calls will be needed. If <code>maxResults</code> was provided, it's possible for the number of results to be fewer than <code>maxResults</code>.</p><note>  <p>This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.</p> </note><br>
    /// - On success, responds with [`ListDaemonDeploymentsOutput`](crate::operation::list_daemon_deployments::ListDaemonDeploymentsOutput) with field(s):
    ///   - [`next_token(Option<String>)`](crate::operation::list_daemon_deployments::ListDaemonDeploymentsOutput::next_token): <p>The <code>nextToken</code> value to include in a future <code>ListDaemonDeployments</code> request. When the results of a <code>ListDaemonDeployments</code> request exceed <code>maxResults</code>, this value can be used to retrieve the next page of results.</p>
    ///   - [`daemon_deployments(Option<Vec::<DaemonDeploymentSummary>>)`](crate::operation::list_daemon_deployments::ListDaemonDeploymentsOutput::daemon_deployments): <p>The list of daemon deployment summaries.</p>
    /// - On failure, responds with [`SdkError<ListDaemonDeploymentsError>`](crate::operation::list_daemon_deployments::ListDaemonDeploymentsError)
    pub fn list_daemon_deployments(&self) -> crate::operation::list_daemon_deployments::builders::ListDaemonDeploymentsFluentBuilder {
        crate::operation::list_daemon_deployments::builders::ListDaemonDeploymentsFluentBuilder::new(self.handle.clone())
    }
}