:doc:`SecurityLake <../../securitylake>` / Paginator / GetDataLakeSources

******************
GetDataLakeSources
******************



.. py:class:: SecurityLake.Paginator.GetDataLakeSources

  ::

    
    paginator = client.get_paginator('get_data_lake_sources')

  
  

  .. py:method:: paginate(**kwargs)

    Creates an iterator that will paginate through responses from :py:meth:`SecurityLake.Client.get_data_lake_sources`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/securitylake-2018-05-10/GetDataLakeSources>`_    


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          accounts=[
              'string',
          ],
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type accounts: list
    :param accounts: 

      The Amazon Web Services account ID for which a static snapshot of the current Amazon Web Services Region, including enabled accounts and log sources, is retrieved.

      

    
      - *(string) --* 

      
  
    :type PaginationConfig: dict
    :param PaginationConfig: 

      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.

        

      
    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax**

      
      ::

        {
            'dataLakeArn': 'string',
            'dataLakeSources': [
                {
                    'account': 'string',
                    'eventClasses': [
                        'string',
                    ],
                    'sourceName': 'string',
                    'sourceStatuses': [
                        {
                            'resource': 'string',
                            'status': 'COLLECTING'|'MISCONFIGURED'|'NOT_COLLECTING'
                        },
                    ]
                },
            ],
            'NextToken': 'string'
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **dataLakeArn** *(string) --* 

          The Amazon Resource Name (ARN) created by you to provide to the subscriber. For more information about ARNs and how to use them in policies, see the `Amazon Security Lake User Guide <https://docs.aws.amazon.com/security-lake/latest/userguide/subscriber-management.html>`__.

          
        

        - **dataLakeSources** *(list) --* 

          The list of enabled accounts and enabled sources.

          
          

          - *(dict) --* 

            Amazon Security Lake collects logs and events from supported Amazon Web Services services and custom sources. For the list of supported Amazon Web Services services, see the `Amazon Security Lake User Guide <https://docs.aws.amazon.com/security-lake/latest/userguide/internal-sources.html>`__.

            
            

            - **account** *(string) --* 

              The ID of the Security Lake account for which logs are collected.

              
            

            - **eventClasses** *(list) --* 

              The Open Cybersecurity Schema Framework (OCSF) event classes describes the type of data that the custom source will send to Security Lake. For the list of supported event classes, see `Supported OCSF Event classes <https://docs.aws.amazon.com/security-lake/latest/userguide/adding-custom-sources.html#ocsf-eventclass.html>`__ in the Amazon Security Lake User Guide.

              
              

              - *(string) --* 
          
            

            - **sourceName** *(string) --* 

              The supported Amazon Web Services services from which logs and events are collected. Amazon Security Lake supports log and event collection for natively supported Amazon Web Services services.

              
            

            - **sourceStatuses** *(list) --* 

              The log status for the Security Lake account.

              
              

              - *(dict) --* 

                Retrieves the Logs status for the Amazon Security Lake account.

                
                

                - **resource** *(string) --* 

                  Defines path the stored logs are available which has information on your systems, applications, and services.

                  
                

                - **status** *(string) --* 

                  The health status of services, including error codes and patterns.

                  
            
          
        
      
        

        - **NextToken** *(string) --* 

          A token to resume pagination.

          
    