libZSservicesZSamazonka-rdsZSamazonka-rds
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.RDS.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

Creating a Request

data DescribePendingMaintenanceActions Source #

See: newDescribePendingMaintenanceActions smart constructor.

Constructors

DescribePendingMaintenanceActions' 

Fields

  • filters :: Maybe [Filter]

    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.
  • marker :: Maybe Text

    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.

  • maxRecords :: Maybe Int

    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 you can retrieve the remaining results.

    Default: 100

    Constraints: Minimum 20, maximum 100.

  • resourceIdentifier :: Maybe Text

    The ARN of a resource to return pending maintenance actions for.

Instances

Instances details
Eq DescribePendingMaintenanceActions Source # 
Instance details

Defined in Amazonka.RDS.DescribePendingMaintenanceActions

Read DescribePendingMaintenanceActions Source # 
Instance details

Defined in Amazonka.RDS.DescribePendingMaintenanceActions

Show DescribePendingMaintenanceActions Source # 
Instance details

Defined in Amazonka.RDS.DescribePendingMaintenanceActions

Generic DescribePendingMaintenanceActions Source # 
Instance details

Defined in Amazonka.RDS.DescribePendingMaintenanceActions

Associated Types

type Rep DescribePendingMaintenanceActions :: Type -> Type #

NFData DescribePendingMaintenanceActions Source # 
Instance details

Defined in Amazonka.RDS.DescribePendingMaintenanceActions

Hashable DescribePendingMaintenanceActions Source # 
Instance details

Defined in Amazonka.RDS.DescribePendingMaintenanceActions

AWSPager DescribePendingMaintenanceActions Source # 
Instance details

Defined in Amazonka.RDS.DescribePendingMaintenanceActions

AWSRequest DescribePendingMaintenanceActions Source # 
Instance details

Defined in Amazonka.RDS.DescribePendingMaintenanceActions

ToHeaders DescribePendingMaintenanceActions Source # 
Instance details

Defined in Amazonka.RDS.DescribePendingMaintenanceActions

ToPath DescribePendingMaintenanceActions Source # 
Instance details

Defined in Amazonka.RDS.DescribePendingMaintenanceActions

ToQuery DescribePendingMaintenanceActions Source # 
Instance details

Defined in Amazonka.RDS.DescribePendingMaintenanceActions

type Rep DescribePendingMaintenanceActions Source # 
Instance details

Defined in Amazonka.RDS.DescribePendingMaintenanceActions

type Rep DescribePendingMaintenanceActions = D1 ('MetaData "DescribePendingMaintenanceActions" "Amazonka.RDS.DescribePendingMaintenanceActions" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "DescribePendingMaintenanceActions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Filter])) :*: S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxRecords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "resourceIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))
type AWSResponse DescribePendingMaintenanceActions Source # 
Instance details

Defined in Amazonka.RDS.DescribePendingMaintenanceActions

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.

$sel:marker: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 you can retrieve the remaining results.

Default: 100

Constraints: Minimum 20, maximum 100.

$sel:resourceIdentifier: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 you can retrieve the remaining results.

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 #

Data returned from the DescribePendingMaintenanceActions action.

See: newDescribePendingMaintenanceActionsResponse smart constructor.

Constructors

DescribePendingMaintenanceActionsResponse' 

Fields

Instances

Instances details
Eq DescribePendingMaintenanceActionsResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribePendingMaintenanceActions

Read DescribePendingMaintenanceActionsResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribePendingMaintenanceActions

Show DescribePendingMaintenanceActionsResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribePendingMaintenanceActions

Generic DescribePendingMaintenanceActionsResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribePendingMaintenanceActions

NFData DescribePendingMaintenanceActionsResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribePendingMaintenanceActions

type Rep DescribePendingMaintenanceActionsResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribePendingMaintenanceActions

type Rep DescribePendingMaintenanceActionsResponse = D1 ('MetaData "DescribePendingMaintenanceActionsResponse" "Amazonka.RDS.DescribePendingMaintenanceActions" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "DescribePendingMaintenanceActionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "pendingMaintenanceActions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResourcePendingMaintenanceActions])) :*: (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribePendingMaintenanceActionsResponse Source #

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:

$sel:pendingMaintenanceActions:DescribePendingMaintenanceActionsResponse', describePendingMaintenanceActionsResponse_pendingMaintenanceActions - A list of the pending maintenance actions for the resource.

$sel:marker: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: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.