enable_baseline
async
¶
enable_baseline(
baseline_version: BaselineVersion,
baseline_identifier: Arn,
target_identifier: Arn,
*,
config_overrides: Optional[AsyncControlTowerClientConfig] = None,
parameters: Optional[EnabledBaselineParameters] = None,
tags: Optional[TagMap] = None,
) -> EnableBaselineOutput
Enable (apply) a Baseline to a Target. This API starts an asynchronous operation to deploy resources specified by the Baseline to the specified Target. For usage examples, see the Amazon Web Services Control Tower User Guide .
Parameters:
-
baseline_version(BaselineVersion) –The specific version to be enabled of the specified baseline.
-
parameters(Optional[EnabledBaselineParameters], default:None) –A list of
key-valueobjects that specify enablement parameters, wherekeyis a string andvalueis a document of any type. -
baseline_identifier(Arn) –The ARN of the baseline to be enabled.
-
target_identifier(Arn) –The ARN of the target on which the baseline will be enabled. Only OUs are supported as targets.
-
tags(Optional[TagMap], default:None) –Tags associated with input to
EnableBaseline.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–Updating or deleting the resource can cause an inconsistent state.
-
InternalServerException–An unexpected error occurred during processing of a request.
-
ResourceNotFoundException–The request references a resource that does not exist.
-
ServiceQuotaExceededException–The request would cause a service quota to be exceeded. See Service quotas.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input does not satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.