aws_sdk_launchwizard/client/
list_deployment_events.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`ListDeploymentEvents`](crate::operation::list_deployment_events::builders::ListDeploymentEventsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_deployment_events::builders::ListDeploymentEventsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`deployment_id(impl Into<String>)`](crate::operation::list_deployment_events::builders::ListDeploymentEventsFluentBuilder::deployment_id) / [`set_deployment_id(Option<String>)`](crate::operation::list_deployment_events::builders::ListDeploymentEventsFluentBuilder::set_deployment_id):<br>required: **true**<br><p>The ID of the deployment.</p><br>
8    ///   - [`max_results(i32)`](crate::operation::list_deployment_events::builders::ListDeploymentEventsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_deployment_events::builders::ListDeploymentEventsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output.</p><br>
9    ///   - [`next_token(impl Into<String>)`](crate::operation::list_deployment_events::builders::ListDeploymentEventsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_deployment_events::builders::ListDeploymentEventsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p><br>
10    /// - On success, responds with [`ListDeploymentEventsOutput`](crate::operation::list_deployment_events::ListDeploymentEventsOutput) with field(s):
11    ///   - [`deployment_events(Option<Vec::<DeploymentEventDataSummary>>)`](crate::operation::list_deployment_events::ListDeploymentEventsOutput::deployment_events): <p>Lists the deployment events.</p>
12    ///   - [`next_token(Option<String>)`](crate::operation::list_deployment_events::ListDeploymentEventsOutput::next_token): <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
13    /// - On failure, responds with [`SdkError<ListDeploymentEventsError>`](crate::operation::list_deployment_events::ListDeploymentEventsError)
14    pub fn list_deployment_events(&self) -> crate::operation::list_deployment_events::builders::ListDeploymentEventsFluentBuilder {
15        crate::operation::list_deployment_events::builders::ListDeploymentEventsFluentBuilder::new(self.handle.clone())
16    }
17}