| 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 |
Amazonka.OpsWorks.DescribeRdsDbInstances
Description
Describes Amazon RDS instances.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
This call accepts only one resource-identifying parameter.
Synopsis
- data DescribeRdsDbInstances = DescribeRdsDbInstances' {
- rdsDbInstanceArns :: Maybe [Text]
- stackId :: Text
- newDescribeRdsDbInstances :: Text -> DescribeRdsDbInstances
- describeRdsDbInstances_rdsDbInstanceArns :: Lens' DescribeRdsDbInstances (Maybe [Text])
- describeRdsDbInstances_stackId :: Lens' DescribeRdsDbInstances Text
- data DescribeRdsDbInstancesResponse = DescribeRdsDbInstancesResponse' {}
- newDescribeRdsDbInstancesResponse :: Int -> DescribeRdsDbInstancesResponse
- describeRdsDbInstancesResponse_rdsDbInstances :: Lens' DescribeRdsDbInstancesResponse (Maybe [RdsDbInstance])
- describeRdsDbInstancesResponse_httpStatus :: Lens' DescribeRdsDbInstancesResponse Int
Creating a Request
data DescribeRdsDbInstances Source #
See: newDescribeRdsDbInstances smart constructor.
Constructors
| DescribeRdsDbInstances' | |
Fields
| |
Instances
newDescribeRdsDbInstances Source #
Arguments
| :: Text | |
| -> DescribeRdsDbInstances |
Create a value of DescribeRdsDbInstances 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:rdsDbInstanceArns:DescribeRdsDbInstances', describeRdsDbInstances_rdsDbInstanceArns - An array containing the ARNs of the instances to be described.
DescribeRdsDbInstances, describeRdsDbInstances_stackId - The ID of the stack with which the instances are registered. The
operation returns descriptions of all registered Amazon RDS instances.
Request Lenses
describeRdsDbInstances_rdsDbInstanceArns :: Lens' DescribeRdsDbInstances (Maybe [Text]) Source #
An array containing the ARNs of the instances to be described.
describeRdsDbInstances_stackId :: Lens' DescribeRdsDbInstances Text Source #
The ID of the stack with which the instances are registered. The operation returns descriptions of all registered Amazon RDS instances.
Destructuring the Response
data DescribeRdsDbInstancesResponse Source #
Contains the response to a DescribeRdsDbInstances request.
See: newDescribeRdsDbInstancesResponse smart constructor.
Constructors
| DescribeRdsDbInstancesResponse' | |
Fields
| |
Instances
newDescribeRdsDbInstancesResponse Source #
Create a value of DescribeRdsDbInstancesResponse 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:rdsDbInstances:DescribeRdsDbInstancesResponse', describeRdsDbInstancesResponse_rdsDbInstances - An a array of RdsDbInstance objects that describe the instances.
$sel:httpStatus:DescribeRdsDbInstancesResponse', describeRdsDbInstancesResponse_httpStatus - The response's http status code.
Response Lenses
describeRdsDbInstancesResponse_rdsDbInstances :: Lens' DescribeRdsDbInstancesResponse (Maybe [RdsDbInstance]) Source #
An a array of RdsDbInstance objects that describe the instances.
describeRdsDbInstancesResponse_httpStatus :: Lens' DescribeRdsDbInstancesResponse Int Source #
The response's http status code.