ControlTower / Client / update_enabled_baseline
update_enabled_baseline#
- ControlTower.Client.update_enabled_baseline(**kwargs)#
Updates an
EnabledBaselineresource’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
Baselineversion, to which theEnabledBaselineshould be updated.enabledBaselineIdentifier (string) –
[REQUIRED]
Specifies the
EnabledBaselineresource to be updated.parameters (list) –
Parameters to apply when making an update.
(dict) –
A key-value parameter to an
EnabledBaselineresource.key (string) – [REQUIRED]
A string denoting the parameter key.
value (document) – [REQUIRED]
A low-level
Documentobject 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
UpdateEnabledBaselineoperation. ThisoperationIdentifieris used to track status through calls to theGetBaselineOperationAPI.
Exceptions
ControlTower.Client.exceptions.ValidationExceptionControlTower.Client.exceptions.ConflictExceptionControlTower.Client.exceptions.ServiceQuotaExceededExceptionControlTower.Client.exceptions.InternalServerExceptionControlTower.Client.exceptions.AccessDeniedExceptionControlTower.Client.exceptions.ThrottlingExceptionControlTower.Client.exceptions.ResourceNotFoundException