ControlTower / Client / update_enabled_baseline

update_enabled_baseline#

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.

See also: AWS API Documentation

Request Syntax

response = client.update_enabled_baseline(
    baselineVersion='string',
    enabledBaselineIdentifier='string',
    parameters=[
        {
            'key': 'string',
            'value': {...}|[...]|123|123.4|'string'|True|None
        },
    ]
)
Parameters:
  • baselineVersion (string) –

    [REQUIRED]

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

  • enabledBaselineIdentifier (string) –

    [REQUIRED]

    Specifies the EnabledBaseline resource to be updated.

  • parameters (list) –

    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 (document) – [REQUIRED]

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

Return type:

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