restore_analysis
¶
restore_analysis(
aws_account_id: AwsAccountId,
analysis_id: ShortRestrictiveResourceId,
*,
config_overrides: Optional[QuickSightClientConfig] = None,
restore_to_folders: Optional[Boolean] = None,
) -> RestoreAnalysisResponse
Restores an analysis.
Parameters:
-
aws_account_id(AwsAccountId) –The ID of the Amazon Web Services account that contains the analysis.
-
analysis_id(ShortRestrictiveResourceId) –The ID of the analysis that you're restoring.
-
restore_to_folders(Optional[Boolean], default:None) –A boolean value that determines if the analysis will be restored to folders that it previously resided in. A
Truevalue restores analysis back to all folders that it previously resided in. AFalsevalue restores the analysis but does not restore the analysis back to all previously resided folders. Restoring a restricted analysis requires this parameter to be set toTrue.
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.
-
PreconditionNotMetException–One or more preconditions aren't met.
-
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/quick_sight.py
15379 15380 15381 15382 15383 15384 15385 15386 15387 15388 15389 15390 15391 15392 15393 15394 15395 15396 15397 15398 15399 15400 15401 15402 15403 15404 15405 15406 15407 15408 15409 15410 15411 15412 15413 15414 15415 15416 15417 15418 15419 15420 15421 15422 15423 15424 15425 15426 15427 15428 15429 15430 15431 15432 15433 15434 15435 15436 | |