Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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 on user permissions, see Managing User Permissions .
This call accepts only one resource-identifying parameter.
- describeRDSDBInstances :: Text -> DescribeRDSDBInstances
- data DescribeRDSDBInstances
- drdiRDSDBInstanceARNs :: Lens' DescribeRDSDBInstances [Text]
- drdiStackId :: Lens' DescribeRDSDBInstances Text
- describeRDSDBInstancesResponse :: Int -> DescribeRDSDBInstancesResponse
- data DescribeRDSDBInstancesResponse
- drdirsRDSDBInstances :: Lens' DescribeRDSDBInstancesResponse [RDSDBInstance]
- drdirsResponseStatus :: Lens' DescribeRDSDBInstancesResponse Int
Creating a Request
describeRDSDBInstances Source #
Creates a value of DescribeRDSDBInstances
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drdiRDSDBInstanceARNs
- An array containing the ARNs of the instances to be described.drdiStackId
- The stack ID that the instances are registered with. The operation returns descriptions of all registered Amazon RDS instances.
data DescribeRDSDBInstances Source #
See: describeRDSDBInstances
smart constructor.
Request Lenses
drdiRDSDBInstanceARNs :: Lens' DescribeRDSDBInstances [Text] Source #
An array containing the ARNs of the instances to be described.
drdiStackId :: Lens' DescribeRDSDBInstances Text Source #
The stack ID that the instances are registered with. The operation returns descriptions of all registered Amazon RDS instances.
Destructuring the Response
describeRDSDBInstancesResponse Source #
Creates a value of DescribeRDSDBInstancesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drdirsRDSDBInstances
- An a array ofRdsDbInstance
objects that describe the instances.drdirsResponseStatus
- -- | The response status code.
data DescribeRDSDBInstancesResponse Source #
Contains the response to a DescribeRdsDbInstances
request.
See: describeRDSDBInstancesResponse
smart constructor.
Response Lenses
drdirsRDSDBInstances :: Lens' DescribeRDSDBInstancesResponse [RDSDBInstance] Source #
An a array of RdsDbInstance
objects that describe the instances.
drdirsResponseStatus :: Lens' DescribeRDSDBInstancesResponse Int Source #
- - | The response status code.