| 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.Neptune.DescribePendingMaintenanceActions
Description
Returns a list of resources (for example, DB 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 #
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 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.
DescribePendingMaintenanceActions, describePendingMaintenanceActions_marker - 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.
$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
called a 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 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.
describePendingMaintenanceActions_marker :: 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.
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
called a 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 #
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
DescribePendingMaintenanceActions request. If this parameter is
specified, the response includes only records beyond the marker, up to a
number of records specified by MaxRecords.
$sel:pendingMaintenanceActions:DescribePendingMaintenanceActionsResponse', describePendingMaintenanceActionsResponse_pendingMaintenanceActions - A list of the pending maintenance actions for the resource.
$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
DescribePendingMaintenanceActions request. If this parameter is
specified, the response includes only records beyond the marker, up to a
number of records specified by MaxRecords.
describePendingMaintenanceActionsResponse_pendingMaintenanceActions :: Lens' DescribePendingMaintenanceActionsResponse (Maybe [ResourcePendingMaintenanceActions]) Source #
A list of the pending maintenance actions for the resource.
describePendingMaintenanceActionsResponse_httpStatus :: Lens' DescribePendingMaintenanceActionsResponse Int Source #
The response's http status code.