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
3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 | |