Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns information about provisioned RDS instances. This API supports pagination.
See: AWS API Reference for DescribeDBInstances.
This operation returns paginated results.
- describeDBInstances :: DescribeDBInstances
- data DescribeDBInstances
- ddbiFilters :: Lens' DescribeDBInstances [Filter]
- ddbiDBInstanceIdentifier :: Lens' DescribeDBInstances (Maybe Text)
- ddbiMaxRecords :: Lens' DescribeDBInstances (Maybe Int)
- ddbiMarker :: Lens' DescribeDBInstances (Maybe Text)
- describeDBInstancesResponse :: Int -> DescribeDBInstancesResponse
- data DescribeDBInstancesResponse
- ddbirsDBInstances :: Lens' DescribeDBInstancesResponse [DBInstance]
- ddbirsMarker :: Lens' DescribeDBInstancesResponse (Maybe Text)
- ddbirsStatus :: Lens' DescribeDBInstancesResponse Int
Creating a Request
describeDBInstances :: DescribeDBInstances Source
Creates a value of DescribeDBInstances
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeDBInstances Source
See: describeDBInstances
smart constructor.
Request Lenses
ddbiFilters :: Lens' DescribeDBInstances [Filter] Source
This parameter is not currently supported.
ddbiDBInstanceIdentifier :: Lens' DescribeDBInstances (Maybe Text) Source
The user-supplied instance identifier. If this parameter is specified, information from only the specific DB instance is returned. This parameter isn't case-sensitive.
Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
ddbiMaxRecords :: Lens' DescribeDBInstances (Maybe Int) 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 that the remaining
results can be retrieved.
Default: 100
Constraints: Minimum 20, maximum 100.
ddbiMarker :: Lens' DescribeDBInstances (Maybe Text) Source
An optional pagination token provided by a previous
DescribeDBInstances
request. If this parameter is specified, the
response includes only records beyond the marker, up to the value
specified by MaxRecords
.
Destructuring the Response
describeDBInstancesResponse Source
Creates a value of DescribeDBInstancesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeDBInstancesResponse Source
Contains the result of a successful invocation of the DescribeDBInstances action.
See: describeDBInstancesResponse
smart constructor.
Response Lenses
ddbirsDBInstances :: Lens' DescribeDBInstancesResponse [DBInstance] Source
A list of DBInstance instances.
ddbirsMarker :: Lens' DescribeDBInstancesResponse (Maybe Text) Source
An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords
.
ddbirsStatus :: Lens' DescribeDBInstancesResponse Int Source
The response status code.