:doc:`ControlTower <../../controltower>` / Client / update_enabled_baseline

***********************
update_enabled_baseline
***********************



.. py:method:: ControlTower.Client.update_enabled_baseline(**kwargs)

  

  Updates an ``EnabledBaseline`` resource's applied parameters or version. For usage examples, see `the Amazon Web Services Control Tower User Guide <https://docs.aws.amazon.com/controltower/latest/userguide/baseline-api-examples.html>`__.

  

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


  **Request Syntax**
  ::

    response = client.update_enabled_baseline(
        baselineVersion='string',
        parameters=[
            {
                'key': 'string',
                'value': {...}|[...]|123|123.4|'string'|True|None
            },
        ],
        enabledBaselineIdentifier='string'
    )
    
  :type baselineVersion: string
  :param baselineVersion: **[REQUIRED]** 

    Specifies the new ``Baseline`` version, to which the ``EnabledBaseline`` should be updated.

    

  
  :type parameters: list
  :param parameters: 

    Parameters to apply when making an update.

    

  
    - *(dict) --* 

      A key-value parameter to an ``EnabledBaseline`` resource.

      

    
      - **key** *(string) --* **[REQUIRED]** 

        A string denoting the parameter key.

        

      
      - **value** (:ref:`document<document>`) -- **[REQUIRED]** 

        A low-level ``Document`` object of any type (for example, a Java Object).

        

      
    

  :type enabledBaselineIdentifier: string
  :param enabledBaselineIdentifier: **[REQUIRED]** 

    Specifies the ``EnabledBaseline`` resource to be updated.

    

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

    
    ::

      {
          'operationIdentifier': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **operationIdentifier** *(string) --* 

        The ID (in UUID format) of the asynchronous ``UpdateEnabledBaseline`` operation. This ``operationIdentifier`` is used to track status through calls to the ``GetBaselineOperation`` API.

        
  
  **Exceptions**
  
  *   :py:class:`ControlTower.Client.exceptions.ConflictException`

  
  *   :py:class:`ControlTower.Client.exceptions.ValidationException`

  
  *   :py:class:`ControlTower.Client.exceptions.ServiceQuotaExceededException`

  
  *   :py:class:`ControlTower.Client.exceptions.InternalServerException`

  
  *   :py:class:`ControlTower.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`ControlTower.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`ControlTower.Client.exceptions.ThrottlingException`

  