ControlTower / Client / update_enabled_baseline
update_enabled_baseline#
- ControlTower.Client.update_enabled_baseline(**kwargs)#
Updates an
EnabledBaseline
resource’s applied parameters or version.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 theEnabledBaseline
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. ThisoperationIdentifier
is used to track status through calls to theGetBaselineOperation
API.
Exceptions
ControlTower.Client.exceptions.ValidationException
ControlTower.Client.exceptions.ConflictException
ControlTower.Client.exceptions.ServiceQuotaExceededException
ControlTower.Client.exceptions.InternalServerException
ControlTower.Client.exceptions.AccessDeniedException
ControlTower.Client.exceptions.ThrottlingException
ControlTower.Client.exceptions.ResourceNotFoundException