aws_sdk_rds/client/describe_blue_green_deployments.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DescribeBlueGreenDeployments`](crate::operation::describe_blue_green_deployments::builders::DescribeBlueGreenDeploymentsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_blue_green_deployments::builders::DescribeBlueGreenDeploymentsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`blue_green_deployment_identifier(impl Into<String>)`](crate::operation::describe_blue_green_deployments::builders::DescribeBlueGreenDeploymentsFluentBuilder::blue_green_deployment_identifier) / [`set_blue_green_deployment_identifier(Option<String>)`](crate::operation::describe_blue_green_deployments::builders::DescribeBlueGreenDeploymentsFluentBuilder::set_blue_green_deployment_identifier):<br>required: **false**<br><p>The blue/green deployment identifier. If you specify this parameter, the response only includes information about the specific blue/green deployment. This parameter isn't case-sensitive.</p> <p>Constraints:</p> <ul> <li> <p>Must match an existing blue/green deployment identifier.</p></li> </ul><br>
/// - [`filters(Filter)`](crate::operation::describe_blue_green_deployments::builders::DescribeBlueGreenDeploymentsFluentBuilder::filters) / [`set_filters(Option<Vec::<Filter>>)`](crate::operation::describe_blue_green_deployments::builders::DescribeBlueGreenDeploymentsFluentBuilder::set_filters):<br>required: **false**<br><p>A filter that specifies one or more blue/green deployments to describe.</p> <p>Valid Values:</p> <ul> <li> <p><code>blue-green-deployment-identifier</code> - Accepts system-generated identifiers for blue/green deployments. The results list only includes information about the blue/green deployments with the specified identifiers.</p></li> <li> <p><code>blue-green-deployment-name</code> - Accepts user-supplied names for blue/green deployments. The results list only includes information about the blue/green deployments with the specified names.</p></li> <li> <p><code>source</code> - Accepts source databases for a blue/green deployment. The results list only includes information about the blue/green deployments with the specified source databases.</p></li> <li> <p><code>target</code> - Accepts target databases for a blue/green deployment. The results list only includes information about the blue/green deployments with the specified target databases.</p></li> </ul><br>
/// - [`marker(impl Into<String>)`](crate::operation::describe_blue_green_deployments::builders::DescribeBlueGreenDeploymentsFluentBuilder::marker) / [`set_marker(Option<String>)`](crate::operation::describe_blue_green_deployments::builders::DescribeBlueGreenDeploymentsFluentBuilder::set_marker):<br>required: **false**<br><p>An optional pagination token provided by a previous <code>DescribeBlueGreenDeployments</code> request. If you specify this parameter, the response only includes records beyond the marker, up to the value specified by <code>MaxRecords</code>.</p><br>
/// - [`max_records(i32)`](crate::operation::describe_blue_green_deployments::builders::DescribeBlueGreenDeploymentsFluentBuilder::max_records) / [`set_max_records(Option<i32>)`](crate::operation::describe_blue_green_deployments::builders::DescribeBlueGreenDeploymentsFluentBuilder::set_max_records):<br>required: **false**<br><p>The maximum number of records to include in the response. If more records exist than the specified <code>MaxRecords</code> value, a pagination token called a marker is included in the response so you can retrieve the remaining results.</p> <p>Default: 100</p> <p>Constraints:</p> <ul> <li> <p>Must be a minimum of 20.</p></li> <li> <p>Can't exceed 100.</p></li> </ul><br>
/// - On success, responds with [`DescribeBlueGreenDeploymentsOutput`](crate::operation::describe_blue_green_deployments::DescribeBlueGreenDeploymentsOutput) with field(s):
/// - [`blue_green_deployments(Option<Vec::<BlueGreenDeployment>>)`](crate::operation::describe_blue_green_deployments::DescribeBlueGreenDeploymentsOutput::blue_green_deployments): <p>A list of blue/green deployments in the current account and Amazon Web Services Region.</p>
/// - [`marker(Option<String>)`](crate::operation::describe_blue_green_deployments::DescribeBlueGreenDeploymentsOutput::marker): <p>A pagination token that can be used in a later <code>DescribeBlueGreenDeployments</code> request.</p>
/// - On failure, responds with [`SdkError<DescribeBlueGreenDeploymentsError>`](crate::operation::describe_blue_green_deployments::DescribeBlueGreenDeploymentsError)
pub fn describe_blue_green_deployments(
&self,
) -> crate::operation::describe_blue_green_deployments::builders::DescribeBlueGreenDeploymentsFluentBuilder {
crate::operation::describe_blue_green_deployments::builders::DescribeBlueGreenDeploymentsFluentBuilder::new(self.handle.clone())
}
}