aws_sdk_codedeploy/client/
list_deployment_configs.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 [`ListDeploymentConfigs`](crate::operation::list_deployment_configs::builders::ListDeploymentConfigsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_deployment_configs::builders::ListDeploymentConfigsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`next_token(impl Into<String>)`](crate::operation::list_deployment_configs::builders::ListDeploymentConfigsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_deployment_configs::builders::ListDeploymentConfigsFluentBuilder::set_next_token):<br>required: **false**<br><p>An identifier returned from the previous <code>ListDeploymentConfigs</code> call. It can be used to return the next set of deployment configurations in the list.</p><br>
8    /// - On success, responds with [`ListDeploymentConfigsOutput`](crate::operation::list_deployment_configs::ListDeploymentConfigsOutput) with field(s):
9    ///   - [`deployment_configs_list(Option<Vec::<String>>)`](crate::operation::list_deployment_configs::ListDeploymentConfigsOutput::deployment_configs_list): <p>A list of deployment configurations, including built-in configurations such as <code>CodeDeployDefault.OneAtATime</code>.</p>
10    ///   - [`next_token(Option<String>)`](crate::operation::list_deployment_configs::ListDeploymentConfigsOutput::next_token): <p>If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployment configurations call to return the next set of deployment configurations in the list.</p>
11    /// - On failure, responds with [`SdkError<ListDeploymentConfigsError>`](crate::operation::list_deployment_configs::ListDeploymentConfigsError)
12    pub fn list_deployment_configs(&self) -> crate::operation::list_deployment_configs::builders::ListDeploymentConfigsFluentBuilder {
13        crate::operation::list_deployment_configs::builders::ListDeploymentConfigsFluentBuilder::new(self.handle.clone())
14    }
15}