start_asset_bundle_export_job
¶
start_asset_bundle_export_job(
aws_account_id: AwsAccountId,
asset_bundle_export_job_id: ShortRestrictiveResourceId,
resource_arns: AssetBundleResourceArns,
export_format: AssetBundleExportFormat,
*,
config_overrides: Optional[QuickSightClientConfig] = None,
include_all_dependencies: Optional[Boolean] = None,
cloud_formation_override_property_configuration: Optional[
AssetBundleCloudFormationOverridePropertyConfiguration
] = None,
include_permissions: Optional[Boolean] = None,
include_tags: Optional[Boolean] = None,
validation_strategy: Optional[AssetBundleExportJobValidationStrategy] = None,
include_folder_memberships: Optional[Boolean] = None,
include_folder_members: Optional[IncludeFolderMembers] = None,
) -> StartAssetBundleExportJobResponse
Starts an Asset Bundle export job.
An Asset Bundle export job exports specified Amazon Quick Sight assets. You can also choose to export any asset dependencies in the same job. Export jobs run asynchronously and can be polled with a DescribeAssetBundleExportJob API call. When a job is successfully completed, a download URL that contains the exported assets is returned. The URL is valid for 5 minutes and can be refreshed with a DescribeAssetBundleExportJob API call. Each Amazon Quick Sight account can run up to 5 export jobs concurrently.
The API caller must have the necessary permissions in their IAM role to access each resource before the resources can be exported.
Parameters:
-
aws_account_id(AwsAccountId) –The ID of the Amazon Web Services account to export assets from.
-
asset_bundle_export_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.
-
resource_arns(AssetBundleResourceArns) –An array of resource ARNs to export. The following resources are supported.
-
Analysis -
Dashboard -
DataSet -
DataSource -
RefreshSchedule -
Theme -
VPCConnection
The API caller must have the necessary permissions in their IAM role to access each resource before the resources can be exported.
-
-
include_all_dependencies(Optional[Boolean], default:None) –A Boolean that determines whether all dependencies of each resource ARN are recursively exported with the job. For example, say you provided a Dashboard ARN to the
ResourceArnsparameter. If you setIncludeAllDependenciestoTRUE, any theme, dataset, and data source resource that is a dependency of the dashboard is also exported. -
export_format(AssetBundleExportFormat) –The export data format.
-
cloud_formation_override_property_configuration(Optional[AssetBundleCloudFormationOverridePropertyConfiguration], default:None) –An optional collection of structures that generate CloudFormation parameters to override the existing resource property values when the resource is exported to a new CloudFormation template.
Use this field if the
ExportFormatfield of aStartAssetBundleExportJobRequestAPI call is set toCLOUDFORMATION_JSON. -
include_permissions(Optional[Boolean], default:None) –A Boolean that determines whether all permissions for each resource ARN are exported with the job. If you set
IncludePermissionstoTRUE, any permissions associated with each resource are exported. -
include_tags(Optional[Boolean], default:None) –A Boolean that determines whether all tags for each resource ARN are exported with the job. If you set
IncludeTagstoTRUE, any tags associated with each resource are exported. -
validation_strategy(Optional[AssetBundleExportJobValidationStrategy], default:None) –An optional parameter that determines which validation strategy to use for the export job. If
StrictModeForAllResourcesis set toTRUE, strict validation for every error is enforced. If it is set toFALSE, validation is skipped for specific UI errors that are shown as warnings. The default value forStrictModeForAllResourcesisFALSE. -
include_folder_memberships(Optional[Boolean], default:None) –A Boolean that determines if the exported asset carries over information about the folders that the asset is a member of.
-
include_folder_members(Optional[IncludeFolderMembers], default:None) –A setting that indicates whether you want to include folder assets. You can also use this setting to recusrsively include all subfolders of an exported folder.
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
16671 16672 16673 16674 16675 16676 16677 16678 16679 16680 16681 16682 16683 16684 16685 16686 16687 16688 16689 16690 16691 16692 16693 16694 16695 16696 16697 16698 16699 16700 16701 16702 16703 16704 16705 16706 16707 16708 16709 16710 16711 16712 16713 16714 16715 16716 16717 16718 16719 16720 16721 16722 16723 16724 16725 16726 16727 16728 16729 16730 16731 16732 16733 16734 16735 16736 16737 16738 16739 16740 16741 16742 16743 16744 16745 16746 16747 16748 16749 16750 16751 16752 16753 16754 16755 16756 16757 16758 16759 16760 16761 16762 16763 16764 16765 16766 16767 16768 16769 | |