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 a list of resources (for example, DB instances) that have at least one pending maintenance action.
- describePendingMaintenanceActions :: DescribePendingMaintenanceActions
- data DescribePendingMaintenanceActions
- dpmaFilters :: Lens' DescribePendingMaintenanceActions [Filter]
- dpmaMarker :: Lens' DescribePendingMaintenanceActions (Maybe Text)
- dpmaMaxRecords :: Lens' DescribePendingMaintenanceActions (Maybe Int)
- dpmaResourceIdentifier :: Lens' DescribePendingMaintenanceActions (Maybe Text)
- describePendingMaintenanceActionsResponse :: Int -> DescribePendingMaintenanceActionsResponse
- data DescribePendingMaintenanceActionsResponse
- dpmarsPendingMaintenanceActions :: Lens' DescribePendingMaintenanceActionsResponse [ResourcePendingMaintenanceActions]
- dpmarsMarker :: Lens' DescribePendingMaintenanceActionsResponse (Maybe Text)
- dpmarsResponseStatus :: Lens' DescribePendingMaintenanceActionsResponse Int
Creating a Request
describePendingMaintenanceActions :: DescribePendingMaintenanceActions Source #
Creates a value of DescribePendingMaintenanceActions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dpmaFilters
- A filter that specifies one or more resources to return pending maintenance actions for. Supported filters: *db-cluster-id
- Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list will only include pending maintenance actions for the DB clusters identified by these ARNs. *db-instance-id
- Accepts DB instance identifiers and DB instance ARNs. The results list will only include pending maintenance actions for the DB instances identified by these ARNs.dpmaMarker
- An optional pagination token provided by a previousDescribePendingMaintenanceActions
request. If this parameter is specified, the response includes only records beyond the marker, up to a number of records specified byMaxRecords
.dpmaMaxRecords
- 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.dpmaResourceIdentifier
- The ARN of a resource to return pending maintenance actions for.
data DescribePendingMaintenanceActions Source #
See: describePendingMaintenanceActions
smart constructor.
Request Lenses
dpmaFilters :: Lens' DescribePendingMaintenanceActions [Filter] Source #
A filter that specifies one or more resources to return pending maintenance actions for. Supported filters: * db-cluster-id
- Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list will only include pending maintenance actions for the DB clusters identified by these ARNs. * db-instance-id
- Accepts DB instance identifiers and DB instance ARNs. The results list will only include pending maintenance actions for the DB instances identified by these ARNs.
dpmaMarker :: Lens' DescribePendingMaintenanceActions (Maybe Text) Source #
An optional pagination token provided by a previous DescribePendingMaintenanceActions
request. If this parameter is specified, the response includes only records beyond the marker, up to a number of records specified by MaxRecords
.
dpmaMaxRecords :: Lens' DescribePendingMaintenanceActions (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.
dpmaResourceIdentifier :: Lens' DescribePendingMaintenanceActions (Maybe Text) Source #
The ARN of a resource to return pending maintenance actions for.
Destructuring the Response
describePendingMaintenanceActionsResponse Source #
Creates a value of DescribePendingMaintenanceActionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dpmarsPendingMaintenanceActions
- A list of the pending maintenance actions for the resource.dpmarsMarker
- An optional pagination token provided by a previousDescribePendingMaintenanceActions
request. If this parameter is specified, the response includes only records beyond the marker, up to a number of records specified byMaxRecords
.dpmarsResponseStatus
- -- | The response status code.
data DescribePendingMaintenanceActionsResponse Source #
Data returned from the DescribePendingMaintenanceActions action.
See: describePendingMaintenanceActionsResponse
smart constructor.
Response Lenses
dpmarsPendingMaintenanceActions :: Lens' DescribePendingMaintenanceActionsResponse [ResourcePendingMaintenanceActions] Source #
A list of the pending maintenance actions for the resource.
dpmarsMarker :: Lens' DescribePendingMaintenanceActionsResponse (Maybe Text) Source #
An optional pagination token provided by a previous DescribePendingMaintenanceActions
request. If this parameter is specified, the response includes only records beyond the marker, up to a number of records specified by MaxRecords
.
dpmarsResponseStatus :: Lens' DescribePendingMaintenanceActionsResponse Int Source #
- - | The response status code.