| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DocumentDB.DescribePendingMaintenanceActions
Description
Returns a list of resources (for example, instances) that have at least one pending maintenance action.
This operation returns paginated results.
Synopsis
- data DescribePendingMaintenanceActions = DescribePendingMaintenanceActions' {}
- newDescribePendingMaintenanceActions :: DescribePendingMaintenanceActions
- describePendingMaintenanceActions_filters :: Lens' DescribePendingMaintenanceActions (Maybe [Filter])
- describePendingMaintenanceActions_marker :: Lens' DescribePendingMaintenanceActions (Maybe Text)
- describePendingMaintenanceActions_maxRecords :: Lens' DescribePendingMaintenanceActions (Maybe Int)
- describePendingMaintenanceActions_resourceIdentifier :: Lens' DescribePendingMaintenanceActions (Maybe Text)
- data DescribePendingMaintenanceActionsResponse = DescribePendingMaintenanceActionsResponse' {}
- newDescribePendingMaintenanceActionsResponse :: Int -> DescribePendingMaintenanceActionsResponse
- describePendingMaintenanceActionsResponse_marker :: Lens' DescribePendingMaintenanceActionsResponse (Maybe Text)
- describePendingMaintenanceActionsResponse_pendingMaintenanceActions :: Lens' DescribePendingMaintenanceActionsResponse (Maybe [ResourcePendingMaintenanceActions])
- describePendingMaintenanceActionsResponse_httpStatus :: Lens' DescribePendingMaintenanceActionsResponse Int
Creating a Request
data DescribePendingMaintenanceActions Source #
Represents the input to DescribePendingMaintenanceActions.
See: newDescribePendingMaintenanceActions smart constructor.
Constructors
| DescribePendingMaintenanceActions' | |
Fields
| |
Instances
newDescribePendingMaintenanceActions :: DescribePendingMaintenanceActions Source #
Create a value of DescribePendingMaintenanceActions 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:filters:DescribePendingMaintenanceActions', describePendingMaintenanceActions_filters - A filter that specifies one or more resources to return pending
maintenance actions for.
Supported filters:
db-cluster-id- Accepts cluster identifiers and cluster Amazon Resource Names (ARNs). The results list includes only pending maintenance actions for the clusters identified by these ARNs.db-instance-id- Accepts instance identifiers and instance ARNs. The results list includes only pending maintenance actions for the DB instances identified by these ARNs.
DescribePendingMaintenanceActions, describePendingMaintenanceActions_marker - 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.
$sel:maxRecords:DescribePendingMaintenanceActions', describePendingMaintenanceActions_maxRecords - The maximum number of records to include in the response. If more
records exist than the specified MaxRecords value, a pagination token
(marker) is included in the response so that the remaining results can
be retrieved.
Default: 100
Constraints: Minimum 20, maximum 100.
DescribePendingMaintenanceActions, describePendingMaintenanceActions_resourceIdentifier - The ARN of a resource to return pending maintenance actions for.
Request Lenses
describePendingMaintenanceActions_filters :: Lens' DescribePendingMaintenanceActions (Maybe [Filter]) Source #
A filter that specifies one or more resources to return pending maintenance actions for.
Supported filters:
db-cluster-id- Accepts cluster identifiers and cluster Amazon Resource Names (ARNs). The results list includes only pending maintenance actions for the clusters identified by these ARNs.db-instance-id- Accepts instance identifiers and instance ARNs. The results list includes only pending maintenance actions for the DB instances identified by these ARNs.
describePendingMaintenanceActions_marker :: Lens' DescribePendingMaintenanceActions (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.
describePendingMaintenanceActions_maxRecords :: 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
(marker) is included in the response so that the remaining results can
be retrieved.
Default: 100
Constraints: Minimum 20, maximum 100.
describePendingMaintenanceActions_resourceIdentifier :: Lens' DescribePendingMaintenanceActions (Maybe Text) Source #
The ARN of a resource to return pending maintenance actions for.
Destructuring the Response
data DescribePendingMaintenanceActionsResponse Source #
Represents the output of DescribePendingMaintenanceActions.
See: newDescribePendingMaintenanceActionsResponse smart constructor.
Constructors
| DescribePendingMaintenanceActionsResponse' | |
Fields
| |
Instances
newDescribePendingMaintenanceActionsResponse Source #
Arguments
| :: Int | |
| -> DescribePendingMaintenanceActionsResponse |
Create a value of DescribePendingMaintenanceActionsResponse 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:
DescribePendingMaintenanceActions, describePendingMaintenanceActionsResponse_marker - 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.
$sel:pendingMaintenanceActions:DescribePendingMaintenanceActionsResponse', describePendingMaintenanceActionsResponse_pendingMaintenanceActions - The maintenance actions to be applied.
$sel:httpStatus:DescribePendingMaintenanceActionsResponse', describePendingMaintenanceActionsResponse_httpStatus - The response's http status code.
Response Lenses
describePendingMaintenanceActionsResponse_marker :: Lens' DescribePendingMaintenanceActionsResponse (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.
describePendingMaintenanceActionsResponse_pendingMaintenanceActions :: Lens' DescribePendingMaintenanceActionsResponse (Maybe [ResourcePendingMaintenanceActions]) Source #
The maintenance actions to be applied.
describePendingMaintenanceActionsResponse_httpStatus :: Lens' DescribePendingMaintenanceActionsResponse Int Source #
The response's http status code.