create_theme_alias
async
¶
create_theme_alias(
aws_account_id: AwsAccountId,
theme_id: ShortRestrictiveResourceId,
alias_name: AliasName,
theme_version_number: VersionNumber,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = None,
) -> CreateThemeAliasResponse
Creates a theme alias for a theme.
Parameters:
-
aws_account_id(AwsAccountId) –The ID of the Amazon Web Services account that contains the theme for the new theme alias.
-
theme_id(ShortRestrictiveResourceId) –An ID for the theme alias.
-
alias_name(AliasName) –The name that you want to give to the theme alias that you are creating. The alias name can't begin with a
$. Alias names that start with$are reserved by Amazon Quick Sight. -
theme_version_number(VersionNumber) –The version number of the theme.
Raises:
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
InternalFailureException–An internal failure occurred.
-
InvalidParameterValueException–One or more parameters has a value that isn't valid.
-
LimitExceededException–A limit is exceeded.
-
ResourceExistsException–The resource specified already exists.
-
ResourceNotFoundException–One or more resources can't be found.
-
ThrottlingException–Access is throttled.
-
UnsupportedUserEditionException–This error indicates that you are calling an operation on an Amazon Quick Suite subscription where the edition doesn't include support for that operation. Amazon Quick Suite currently has Standard Edition and Enterprise Edition. Not every operation and capability is available in every edition.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_quicksight/_services/async_quick_sight.py
4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 | |