Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Returns information about blue/green deployments.
For more information, see Using Amazon RDS Blue/Green Deployments for database updates in the Amazon RDS User Guide and Using Amazon RDS Blue/Green Deployments for database updates in the Amazon Aurora User Guide.
This operation returns paginated results.
Synopsis
- data DescribeBlueGreenDeployments = DescribeBlueGreenDeployments' {}
- newDescribeBlueGreenDeployments :: DescribeBlueGreenDeployments
- describeBlueGreenDeployments_blueGreenDeploymentIdentifier :: Lens' DescribeBlueGreenDeployments (Maybe Text)
- describeBlueGreenDeployments_filters :: Lens' DescribeBlueGreenDeployments (Maybe [Filter])
- describeBlueGreenDeployments_marker :: Lens' DescribeBlueGreenDeployments (Maybe Text)
- describeBlueGreenDeployments_maxRecords :: Lens' DescribeBlueGreenDeployments (Maybe Natural)
- data DescribeBlueGreenDeploymentsResponse = DescribeBlueGreenDeploymentsResponse' {}
- newDescribeBlueGreenDeploymentsResponse :: Int -> DescribeBlueGreenDeploymentsResponse
- describeBlueGreenDeploymentsResponse_blueGreenDeployments :: Lens' DescribeBlueGreenDeploymentsResponse (Maybe [BlueGreenDeployment])
- describeBlueGreenDeploymentsResponse_marker :: Lens' DescribeBlueGreenDeploymentsResponse (Maybe Text)
- describeBlueGreenDeploymentsResponse_httpStatus :: Lens' DescribeBlueGreenDeploymentsResponse Int
Creating a Request
data DescribeBlueGreenDeployments Source #
See: newDescribeBlueGreenDeployments
smart constructor.
DescribeBlueGreenDeployments' | |
|
Instances
newDescribeBlueGreenDeployments :: DescribeBlueGreenDeployments Source #
Create a value of DescribeBlueGreenDeployments
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DescribeBlueGreenDeployments
, describeBlueGreenDeployments_blueGreenDeploymentIdentifier
- The blue/green deployment identifier. If this parameter is specified,
information from only the specific blue/green deployment is returned.
This parameter isn't case-sensitive.
Constraints:
- If supplied, must match an existing blue/green deployment identifier.
$sel:filters:DescribeBlueGreenDeployments'
, describeBlueGreenDeployments_filters
- A filter that specifies one or more blue/green deployments to describe.
Supported filters:
blue-green-deployment-identifier
- Accepts system-generated identifiers for blue/green deployments. The results list only includes information about the blue/green deployments with the specified identifiers.blue-green-deployment-name
- Accepts user-supplied names for blue/green deployments. The results list only includes information about the blue/green deployments with the specified names.source
- Accepts source databases for a blue/green deployment. The results list only includes information about the blue/green deployments with the specified source databases.target
- Accepts target databases for a blue/green deployment. The results list only includes information about the blue/green deployments with the specified target databases.
DescribeBlueGreenDeployments
, describeBlueGreenDeployments_marker
- An optional pagination token provided by a previous
DescribeBlueGreenDeployments
request. If this parameter is specified,
the response includes only records beyond the marker, up to the value
specified by MaxRecords
.
$sel:maxRecords:DescribeBlueGreenDeployments'
, describeBlueGreenDeployments_maxRecords
- The maximum number of records to include in the response. If more
records exist than the specified MaxRecords
value, a pagination token
called a marker is included in the response so you can retrieve the
remaining results.
Default: 100
Constraints: Minimum 20, maximum 100.
Request Lenses
describeBlueGreenDeployments_blueGreenDeploymentIdentifier :: Lens' DescribeBlueGreenDeployments (Maybe Text) Source #
The blue/green deployment identifier. If this parameter is specified, information from only the specific blue/green deployment is returned. This parameter isn't case-sensitive.
Constraints:
- If supplied, must match an existing blue/green deployment identifier.
describeBlueGreenDeployments_filters :: Lens' DescribeBlueGreenDeployments (Maybe [Filter]) Source #
A filter that specifies one or more blue/green deployments to describe.
Supported filters:
blue-green-deployment-identifier
- Accepts system-generated identifiers for blue/green deployments. The results list only includes information about the blue/green deployments with the specified identifiers.blue-green-deployment-name
- Accepts user-supplied names for blue/green deployments. The results list only includes information about the blue/green deployments with the specified names.source
- Accepts source databases for a blue/green deployment. The results list only includes information about the blue/green deployments with the specified source databases.target
- Accepts target databases for a blue/green deployment. The results list only includes information about the blue/green deployments with the specified target databases.
describeBlueGreenDeployments_marker :: Lens' DescribeBlueGreenDeployments (Maybe Text) Source #
An optional pagination token provided by a previous
DescribeBlueGreenDeployments
request. If this parameter is specified,
the response includes only records beyond the marker, up to the value
specified by MaxRecords
.
describeBlueGreenDeployments_maxRecords :: Lens' DescribeBlueGreenDeployments (Maybe Natural) Source #
The maximum number of records to include in the response. If more
records exist than the specified MaxRecords
value, a pagination token
called a marker is included in the response so you can retrieve the
remaining results.
Default: 100
Constraints: Minimum 20, maximum 100.
Destructuring the Response
data DescribeBlueGreenDeploymentsResponse Source #
See: newDescribeBlueGreenDeploymentsResponse
smart constructor.
DescribeBlueGreenDeploymentsResponse' | |
|
Instances
newDescribeBlueGreenDeploymentsResponse Source #
Create a value of DescribeBlueGreenDeploymentsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:blueGreenDeployments:DescribeBlueGreenDeploymentsResponse'
, describeBlueGreenDeploymentsResponse_blueGreenDeployments
- Contains a list of blue/green deployments for the user.
DescribeBlueGreenDeployments
, describeBlueGreenDeploymentsResponse_marker
- A pagination token that can be used in a later
DescribeBlueGreenDeployments request.
$sel:httpStatus:DescribeBlueGreenDeploymentsResponse'
, describeBlueGreenDeploymentsResponse_httpStatus
- The response's http status code.
Response Lenses
describeBlueGreenDeploymentsResponse_blueGreenDeployments :: Lens' DescribeBlueGreenDeploymentsResponse (Maybe [BlueGreenDeployment]) Source #
Contains a list of blue/green deployments for the user.
describeBlueGreenDeploymentsResponse_marker :: Lens' DescribeBlueGreenDeploymentsResponse (Maybe Text) Source #
A pagination token that can be used in a later DescribeBlueGreenDeployments request.
describeBlueGreenDeploymentsResponse_httpStatus :: Lens' DescribeBlueGreenDeploymentsResponse Int Source #
The response's http status code.