:doc:`ControlTower <../../controltower>` / Paginator / ListEnabledBaselines

********************
ListEnabledBaselines
********************



.. py:class:: ControlTower.Paginator.ListEnabledBaselines

  ::

    
    paginator = client.get_paginator('list_enabled_baselines')

  
  

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

    Creates an iterator that will paginate through responses from :py:meth:`ControlTower.Client.list_enabled_baselines`.

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


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          filter={
              'targetIdentifiers': [
                  'string',
              ],
              'baselineIdentifiers': [
                  'string',
              ],
              'parentIdentifiers': [
                  'string',
              ],
              'statuses': [
                  'SUCCEEDED'|'FAILED'|'UNDER_CHANGE',
              ],
              'inheritanceDriftStatuses': [
                  'IN_SYNC'|'DRIFTED',
              ]
          },
          includeChildren=True|False,
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type filter: dict
    :param filter: 

      A filter applied on the ``ListEnabledBaseline`` operation. Allowed filters are ``baselineIdentifiers`` and ``targetIdentifiers``. The filter can be applied for either, or both.

      

    
      - **targetIdentifiers** *(list) --* 

        Identifiers for the targets of the ``Baseline`` filter operation.

        

      
        - *(string) --* 

        
    
      - **baselineIdentifiers** *(list) --* 

        Identifiers for the ``Baseline`` objects returned as part of the filter operation.

        

      
        - *(string) --* 

        
    
      - **parentIdentifiers** *(list) --* 

        An optional filter that sets up a list of ``parentIdentifiers`` to filter the results of the ``ListEnabledBaseline`` output.

        

      
        - *(string) --* 

        
    
      - **statuses** *(list) --* 

        A list of ``EnablementStatus`` items.

        

      
        - *(string) --* 

        
    
      - **inheritanceDriftStatuses** *(list) --* 

        A list of ``EnabledBaselineDriftStatus`` items for enabled baselines.

        

      
        - *(string) --* 

        
    
    
    :type includeChildren: boolean
    :param includeChildren: 

      A value that can be set to include the child enabled baselines in responses. The default value is false.

      

    
    :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**

      
      ::

        {
            'enabledBaselines': [
                {
                    'arn': 'string',
                    'baselineIdentifier': 'string',
                    'baselineVersion': 'string',
                    'driftStatusSummary': {
                        'types': {
                            'inheritance': {
                                'status': 'IN_SYNC'|'DRIFTED'
                            }
                        }
                    },
                    'targetIdentifier': 'string',
                    'parentIdentifier': 'string',
                    'statusSummary': {
                        'status': 'SUCCEEDED'|'FAILED'|'UNDER_CHANGE',
                        'lastOperationIdentifier': 'string'
                    }
                },
            ],
            'NextToken': 'string'
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **enabledBaselines** *(list) --* 

          Retuens a list of summaries of ``EnabledBaseline`` resources.

          
          

          - *(dict) --* 

            Returns a summary of information about an ``EnabledBaseline`` object.

            
            

            - **arn** *(string) --* 

              The ARN of the ``EnabledBaseline`` resource

              
            

            - **baselineIdentifier** *(string) --* 

              The specific baseline that is enabled as part of the ``EnabledBaseline`` resource.

              
            

            - **baselineVersion** *(string) --* 

              The enabled version of the baseline.

              
            

            - **driftStatusSummary** *(dict) --* 

              The drift status of the enabled baseline.

              
              

              - **types** *(dict) --* 

                The types of drift that can be detected for an enabled baseline. Amazon Web Services Control Tower detects inheritance drift on enabled baselines that apply at the OU level.

                
                

                - **inheritance** *(dict) --* 

                  At least one account within the target OU does not match the baseline configuration defined on that OU. An account is in inheritance drift when it does not match the configuration of a parent OU, possibly a new parent OU, if the account is moved.

                  
                  

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

                    The inheritance drift status for enabled baselines.

                    
              
            
          
            

            - **targetIdentifier** *(string) --* 

              The target upon which the baseline is enabled.

              
            

            - **parentIdentifier** *(string) --* 

              An ARN that represents an object returned by ``ListEnabledBaseline``, to describe an enabled baseline.

              
            

            - **statusSummary** *(dict) --* 

              The deployment summary of an ``EnabledControl`` or ``EnabledBaseline`` resource.

              
              

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

                The deployment status of the enabled resource.

                 

                Valid values:

                 

                
                * ``SUCCEEDED``: The ``EnabledControl`` or ``EnabledBaseline`` configuration was deployed successfully.
                 
                * ``UNDER_CHANGE``: The ``EnabledControl`` or ``EnabledBaseline`` configuration is changing.
                 
                * ``FAILED``: The ``EnabledControl`` or ``EnabledBaseline`` configuration failed to deploy.
                

                
              

              - **lastOperationIdentifier** *(string) --* 

                The last operation identifier for the enabled resource.

                
          
        
      
        

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

          A token to resume pagination.

          
    