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 |
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
- A filter that specifies one or more DB instances to describe. Supported filters: *db-cluster-id
- Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list will only include information about the DB instances associated with the DB Clusters identified by these ARNs. *db-instance-id
- Accepts DB instance identifiers and DB instance Amazon Resource Names (ARNs). The results list will only include information about the DB instances identified by these ARNs.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: * If supplied, must match the identifier of an existing DBInstance.ddbiMarker
- 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 #
A filter that specifies one or more DB instances to describe. Supported filters: * db-cluster-id
- Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list will only include information about the DB instances associated with the DB Clusters identified by these ARNs. * db-instance-id
- Accepts DB instance identifiers and DB instance Amazon Resource Names (ARNs). The results list will only include information about the DB instances identified by these ARNs.
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: * If supplied, must match the identifier of an existing DBInstance.
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.