start_asset_bundle_import_job
async
¶
start_asset_bundle_import_job(
aws_account_id: AwsAccountId,
asset_bundle_import_job_id: ShortRestrictiveResourceId,
asset_bundle_import_source: AssetBundleImportSource,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = 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/async_quick_sight.py
18609 18610 18611 18612 18613 18614 18615 18616 18617 18618 18619 18620 18621 18622 18623 18624 18625 18626 18627 18628 18629 18630 18631 18632 18633 18634 18635 18636 18637 18638 18639 18640 18641 18642 18643 18644 18645 18646 18647 18648 18649 18650 18651 18652 18653 18654 18655 18656 18657 18658 18659 18660 18661 18662 18663 18664 18665 18666 18667 18668 18669 18670 18671 18672 18673 18674 18675 18676 18677 18678 18679 18680 18681 18682 18683 18684 18685 18686 18687 18688 18689 18690 18691 18692 18693 18694 18695 18696 18697 18698 18699 18700 18701 18702 18703 18704 18705 | |