SecurityLake / Paginator / ListDatalakeExceptions

ListDatalakeExceptions#

class SecurityLake.Paginator.ListDatalakeExceptions#
paginator = client.get_paginator('list_datalake_exceptions')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from SecurityLake.Client.list_datalake_exceptions().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    regionSet=[
        'us-east-1'|'us-west-2'|'eu-central-1'|'us-east-2'|'eu-west-1'|'ap-northeast-1'|'ap-southeast-2',
    ],
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • regionSet (list) –

    List the Amazon Web Services Regions from which exceptions are retrieved.

    • (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

{
    'nonRetryableFailures': [
        {
            'failures': [
                {
                    'exceptionMessage': 'string',
                    'remediation': 'string',
                    'timestamp': datetime(2015, 1, 1)
                },
            ],
            'region': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • nonRetryableFailures (list) –

      Lists the failures that cannot be retried in the current Region.

      • (dict) –

        Response element for actions that make changes, namely create, update, or delete actions.

        • failures (list) –

          List of all failures.

          • (dict) –

            List of all failures.

            • exceptionMessage (string) –

              List of all exception messages.

            • remediation (string) –

              List of all remediation steps for failures.

            • timestamp (datetime) –

              This error can occur if you configure the wrong timestamp format, or if the subset of entries used for validation had errors or missing values.

        • region (string) –

          List of Amazon Web Services Regions where the failure occurred.

    • NextToken (string) –

      A token to resume pagination.