SecurityLake / Paginator / ListDataLakeExceptions

ListDataLakeExceptions#

class SecurityLake.Paginator.ListDataLakeExceptions#
paginator = client.get_paginator('list_data_lake_exceptions')
paginate(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    regions=[
        'string',
    ],
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • regions (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

{
    'exceptions': [
        {
            'exception': 'string',
            'region': 'string',
            'remediation': 'string',
            'timestamp': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • exceptions (list) –

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

      • (dict) –

        The details for a Security Lake exception

        • exception (string) –

          The underlying exception of a Security Lake exception.

        • region (string) –

          The Amazon Web Services Regions where the exception occurred.

        • remediation (string) –

          List of all remediation steps for a Security Lake exception.

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

    • NextToken (string) –

      A token to resume pagination.