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
21246 21247 21248 21249 21250 21251 21252 21253 21254 21255 21256 21257 21258 21259 21260 21261 21262 21263 21264 21265 21266 21267 21268 21269 21270 21271 21272 21273 21274 21275 21276 21277 21278 21279 21280 21281 21282 21283 21284 21285 21286 21287 21288 21289 21290 21291 21292 21293 21294 21295 21296 21297 21298 21299 21300 21301 21302 21303 21304 21305 21306 21307 21308 21309 21310 21311 21312 21313 21314 21315 21316 21317 21318 21319 | |