Copyright | (c) 2013-2016 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.
This operation returns paginated results.
- describeDBInstances :: DescribeDBInstances
- data DescribeDBInstances
- ddbiFilters :: Lens' DescribeDBInstances [Filter]
- ddbiDBInstanceIdentifier :: Lens' DescribeDBInstances (Maybe Text)
- ddbiMarker :: Lens' DescribeDBInstances (Maybe Text)
- ddbiMaxRecords :: Lens' DescribeDBInstances (Maybe Int)
- describeDBInstancesResponse :: Int -> DescribeDBInstancesResponse
- data DescribeDBInstancesResponse
- ddbirsDBInstances :: Lens' DescribeDBInstancesResponse [DBInstance]
- ddbirsMarker :: Lens' DescribeDBInstancesResponse (Maybe Text)
- ddbirsResponseStatus :: 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:
ddbiFilters
- This parameter is not currently supported.ddbiDBInstanceIdentifier
- 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 hyphensddbiMarker
- An optional pagination token provided by a previousDescribeDBInstances
request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified byMaxRecords
.ddbiMaxRecords
- The maximum number of records to include in the response. If more records exist than the specifiedMaxRecords
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.
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
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
.
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.
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:
ddbirsDBInstances
- A list ofDBInstance
instances.ddbirsMarker
- 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 byMaxRecords
.ddbirsResponseStatus
- -- | The response status code.
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
.
ddbirsResponseStatus :: Lens' DescribeDBInstancesResponse Int Source #
- - | The response status code.