update_theme
async
¶
update_theme(
aws_account_id: AwsAccountId,
theme_id: ShortRestrictiveResourceId,
base_theme_id: ShortRestrictiveResourceId,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = None,
name: Optional[ThemeName] = None,
version_description: Optional[VersionDescription] = None,
configuration: Optional[ThemeConfiguration] = None,
) -> UpdateThemeResponse
Updates a theme.
Parameters:
-
aws_account_id(AwsAccountId) –The ID of the Amazon Web Services account that contains the theme that you're updating.
-
theme_id(ShortRestrictiveResourceId) –The ID for the theme.
-
name(Optional[ThemeName], default:None) –The name for the theme.
-
base_theme_id(ShortRestrictiveResourceId) –The theme ID, defined by Amazon Quick Sight, that a custom theme inherits from. All themes initially inherit from a default Quick Sight theme.
-
version_description(Optional[VersionDescription], default:None) –A description of the theme version that you're updating Every time that you call
UpdateTheme, you create a new version of the theme. Each version of the theme maintains a description of the version inVersionDescription. -
configuration(Optional[ThemeConfiguration], default:None) –The theme configuration, which contains the theme display properties.
Raises:
-
AccessDeniedException–You don't have access to this item. The provided credentials couldn't be validated. You might not be authorized to carry out the request. Make sure that your account is authorized to use the Amazon Quick Sight service, that your policies have the correct permissions, and that you are using the correct credentials.
-
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
23296 23297 23298 23299 23300 23301 23302 23303 23304 23305 23306 23307 23308 23309 23310 23311 23312 23313 23314 23315 23316 23317 23318 23319 23320 23321 23322 23323 23324 23325 23326 23327 23328 23329 23330 23331 23332 23333 23334 23335 23336 23337 23338 23339 23340 23341 23342 23343 23344 23345 23346 23347 23348 23349 23350 23351 23352 23353 23354 23355 23356 23357 23358 23359 23360 23361 23362 23363 23364 23365 23366 23367 23368 23369 | |