Neptune / Paginator / DescribePendingMaintenanceActions

DescribePendingMaintenanceActions#

class Neptune.Paginator.DescribePendingMaintenanceActions#
paginator = client.get_paginator('describe_pending_maintenance_actions')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from Neptune.Client.describe_pending_maintenance_actions().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    ResourceIdentifier='string',
    Filters=[
        {
            'Name': 'string',
            'Values': [
                'string',
            ]
        },
    ],
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • ResourceIdentifier (string) – The ARN of a resource to return pending maintenance actions for.

  • Filters (list) –

    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.

    • (dict) –

      This type is not currently supported.

      • Name (string) – [REQUIRED]

        This parameter is not currently supported.

      • Values (list) – [REQUIRED]

        This parameter is not currently supported.

        • (string) –

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'PendingMaintenanceActions': [
        {
            'ResourceIdentifier': 'string',
            'PendingMaintenanceActionDetails': [
                {
                    'Action': 'string',
                    'AutoAppliedAfterDate': datetime(2015, 1, 1),
                    'ForcedApplyDate': datetime(2015, 1, 1),
                    'OptInStatus': 'string',
                    'CurrentApplyDate': datetime(2015, 1, 1),
                    'Description': 'string'
                },
            ]
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • PendingMaintenanceActions (list) –

      A list of the pending maintenance actions for the resource.

      • (dict) –

        Describes the pending maintenance actions for a resource.

        • ResourceIdentifier (string) –

          The ARN of the resource that has pending maintenance actions.

        • PendingMaintenanceActionDetails (list) –

          A list that provides details about the pending maintenance actions for the resource.

          • (dict) –

            Provides information about a pending maintenance action for a resource.

            • Action (string) –

              The type of pending maintenance action that is available for the resource.

            • AutoAppliedAfterDate (datetime) –

              The date of the maintenance window when the action is applied. The maintenance action is applied to the resource during its first maintenance window after this date. If this date is specified, any next-maintenance opt-in requests are ignored.

            • ForcedApplyDate (datetime) –

              The date when the maintenance action is automatically applied. The maintenance action is applied to the resource on this date regardless of the maintenance window for the resource. If this date is specified, any immediate opt-in requests are ignored.

            • OptInStatus (string) –

              Indicates the type of opt-in request that has been received for the resource.

            • CurrentApplyDate (datetime) –

              The effective date when the pending maintenance action is applied to the resource. This date takes into account opt-in requests received from the ApplyPendingMaintenanceAction API, the AutoAppliedAfterDate, and the ForcedApplyDate. This value is blank if an opt-in request has not been received and nothing has been specified as AutoAppliedAfterDate or ForcedApplyDate.

            • Description (string) –

              A description providing more detail about the maintenance action.

    • NextToken (string) –

      A token to resume pagination.