start_asset_bundle_import_job
¶
start_asset_bundle_import_job(
aws_account_id: AwsAccountId,
asset_bundle_import_job_id: ShortRestrictiveResourceId,
asset_bundle_import_source: AssetBundleImportSource,
*,
config_overrides: Optional[QuickSightClientConfig] = None,
override_parameters: Optional[AssetBundleImportJobOverrideParameters] = None,
failure_action: Optional[AssetBundleImportFailureAction] = None,
override_permissions: Optional[AssetBundleImportJobOverridePermissions] = None,
override_tags: Optional[AssetBundleImportJobOverrideTags] = None,
override_validation_strategy: Optional[
AssetBundleImportJobOverrideValidationStrategy
] = None,
) -> StartAssetBundleImportJobResponse
Starts an Asset Bundle import job.
An Asset Bundle import job imports specified Amazon Quick Sight assets into an Amazon Quick Sight account. You can also choose to import a naming prefix and specified configuration overrides. The assets that are contained in the bundle file that you provide are used to create or update a new or existing asset in your Amazon Quick Sight account. Each Amazon Quick Sight account can run up to 5 import jobs concurrently.
The API caller must have the necessary "create", "describe", and "update" permissions in their IAM role to access each resource type that is contained in the bundle file before the resources can be imported.
Parameters:
-
aws_account_id(AwsAccountId) –The ID of the Amazon Web Services account to import assets into.
-
asset_bundle_import_job_id(ShortRestrictiveResourceId) –The ID of the job. This ID is unique while the job is running. After the job is completed, you can reuse this ID for another job.
-
asset_bundle_import_source(AssetBundleImportSource) –The source of the asset bundle zip file that contains the data that you want to import. The file must be in
QUICKSIGHT_JSONformat. -
override_parameters(Optional[AssetBundleImportJobOverrideParameters], default:None) –Optional overrides that are applied to the resource configuration before import.
-
failure_action(Optional[AssetBundleImportFailureAction], default:None) –The failure action for the import job.
If you choose
ROLLBACK, failed import jobs will attempt to undo any asset changes caused by the failed job.If you choose
DO_NOTHING, failed import jobs will not attempt to roll back any asset changes caused by the failed job, possibly keeping the Amazon Quick Sight account in an inconsistent state. -
override_permissions(Optional[AssetBundleImportJobOverridePermissions], default:None) –Optional permission overrides that are applied to the resource configuration before import.
-
override_tags(Optional[AssetBundleImportJobOverrideTags], default:None) –Optional tag overrides that are applied to the resource configuration before import.
-
override_validation_strategy(Optional[AssetBundleImportJobOverrideValidationStrategy], default:None) –An optional validation strategy override for all analyses and dashboards that is applied to the resource configuration before import.
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.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
InvalidParameterValueException–One or more parameters has a value that isn't valid.
-
LimitExceededException–A limit is exceeded.
-
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
18357 18358 18359 18360 18361 18362 18363 18364 18365 18366 18367 18368 18369 18370 18371 18372 18373 18374 18375 18376 18377 18378 18379 18380 18381 18382 18383 18384 18385 18386 18387 18388 18389 18390 18391 18392 18393 18394 18395 18396 18397 18398 18399 18400 18401 18402 18403 18404 18405 18406 18407 18408 18409 18410 18411 18412 18413 18414 18415 18416 18417 18418 18419 18420 18421 18422 18423 18424 18425 18426 18427 18428 18429 18430 18431 18432 18433 18434 18435 18436 18437 18438 18439 18440 18441 18442 18443 18444 18445 18446 18447 18448 18449 18450 18451 18452 | |