Copyright | (c) 2013-2021 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 |
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.
DescribeRdsDbInstances' | |
|
Instances
newDescribeRdsDbInstances Source #
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.
$sel:stackId: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.
DescribeRdsDbInstancesResponse' | |
|
Instances
Eq DescribeRdsDbInstancesResponse Source # | |
Read DescribeRdsDbInstancesResponse Source # | |
Show DescribeRdsDbInstancesResponse Source # | |
Defined in Amazonka.OpsWorks.DescribeRdsDbInstances | |
Generic DescribeRdsDbInstancesResponse Source # | |
NFData DescribeRdsDbInstancesResponse Source # | |
Defined in Amazonka.OpsWorks.DescribeRdsDbInstances rnf :: DescribeRdsDbInstancesResponse -> () # | |
type Rep DescribeRdsDbInstancesResponse Source # | |
Defined in Amazonka.OpsWorks.DescribeRdsDbInstances type Rep DescribeRdsDbInstancesResponse = D1 ('MetaData "DescribeRdsDbInstancesResponse" "Amazonka.OpsWorks.DescribeRdsDbInstances" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "DescribeRdsDbInstancesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "rdsDbInstances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RdsDbInstance])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.