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
16771 16772 16773 16774 16775 16776 16777 16778 16779 16780 16781 16782 16783 16784 16785 16786 16787 16788 16789 16790 16791 16792 16793 16794 16795 16796 16797 16798 16799 16800 16801 16802 16803 16804 16805 16806 16807 16808 16809 16810 16811 16812 16813 16814 16815 16816 16817 16818 16819 16820 16821 16822 16823 16824 16825 16826 16827 16828 16829 16830 16831 16832 16833 16834 16835 16836 16837 16838 16839 16840 16841 16842 16843 16844 16845 16846 16847 16848 16849 16850 16851 16852 16853 16854 16855 16856 16857 16858 16859 16860 16861 16862 16863 16864 16865 16866 | |