aws_sdk_networksecuritymanager/client/list_deployment_snapshots.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 [`ListDeploymentSnapshots`](crate::operation::list_deployment_snapshots::builders::ListDeploymentSnapshotsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_deployment_snapshots::builders::ListDeploymentSnapshotsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`deployment_identifier(impl Into<String>)`](crate::operation::list_deployment_snapshots::builders::ListDeploymentSnapshotsFluentBuilder::deployment_identifier) / [`set_deployment_identifier(Option<String>)`](crate::operation::list_deployment_snapshots::builders::ListDeploymentSnapshotsFluentBuilder::set_deployment_identifier):<br>required: **true**<br><p>The identifier of the deployment. This is the deployment's Amazon Resource Name (ARN).</p><br>
8 /// - [`max_results(i32)`](crate::operation::list_deployment_snapshots::builders::ListDeploymentSnapshotsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_deployment_snapshots::builders::ListDeploymentSnapshotsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in a single call. Valid range: 1-100. To retrieve the remaining results, use the returned <code>nextToken</code> value in a subsequent call.</p><br>
9 /// - [`next_token(impl Into<String>)`](crate::operation::list_deployment_snapshots::builders::ListDeploymentSnapshotsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_deployment_snapshots::builders::ListDeploymentSnapshotsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next page of results. To retrieve the next page, call the operation again and provide this value. When there are no more results, this value is null.</p><br>
10 /// - On success, responds with [`ListDeploymentSnapshotsOutput`](crate::operation::list_deployment_snapshots::ListDeploymentSnapshotsOutput) with field(s):
11 /// - [`next_token(Option<String>)`](crate::operation::list_deployment_snapshots::ListDeploymentSnapshotsOutput::next_token): <p>The token for the next page of results. To retrieve the next page, call the operation again and provide this value. When there are no more results, this value is null.</p>
12 /// - [`snapshots(Vec::<DeploymentSummary>)`](crate::operation::list_deployment_snapshots::ListDeploymentSnapshotsOutput::snapshots): <p>The snapshots of the deployment.</p>
13 /// - On failure, responds with [`SdkError<ListDeploymentSnapshotsError>`](crate::operation::list_deployment_snapshots::ListDeploymentSnapshotsError)
14 pub fn list_deployment_snapshots(&self) -> crate::operation::list_deployment_snapshots::builders::ListDeploymentSnapshotsFluentBuilder {
15 crate::operation::list_deployment_snapshots::builders::ListDeploymentSnapshotsFluentBuilder::new(self.handle.clone())
16 }
17}