SecurityLake / Paginator / ListLogSources

ListLogSources#

class SecurityLake.Paginator.ListLogSources#
paginator = client.get_paginator('list_log_sources')
paginate(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    inputOrder=[
        'REGION'|'SOURCE_TYPE'|'MEMBER',
    ],
    listAllDimensions={
        'string': {
            'string': [
                'string',
            ]
        }
    },
    listSingleDimension=[
        'string',
    ],
    listTwoDimensions={
        'string': [
            'string',
        ]
    },
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • inputOrder (list) –

    Lists the log sources in input order, namely Region, source type, and member account.

    • (string) –

  • listAllDimensions (dict) –

    List the view of log sources for enabled Amazon Security Lake accounts for specific Amazon Web Services sources from specific accounts and specific Regions.

    • (string) –

      • (dict) –

        • (string) –

          • (list) –

            • (string) –

  • listSingleDimension (list) –

    List the view of log sources for enabled Security Lake accounts for all Amazon Web Services sources from specific accounts or specific Regions.

    • (string) –

  • listTwoDimensions (dict) –

    Lists the view of log sources for enabled Security Lake accounts for specific Amazon Web Services sources from specific accounts or specific Regions.

    • (string) –

      • (list) –

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

{
    'regionSourceTypesAccountsList': [
        {
            'string': {
                'string': [
                    'string',
                ]
            }
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • regionSourceTypesAccountsList (list) –

      Lists the log sources by Regions for enabled Security Lake accounts.

      • (dict) –

        • (string) –

          • (dict) –

            • (string) –

              • (list) –

                • (string) –

    • NextToken (string) –

      A token to resume pagination.