start_asset_bundle_export_job
async
¶
start_asset_bundle_export_job(
aws_account_id: AwsAccountId,
asset_bundle_export_job_id: ShortRestrictiveResourceId,
resource_arns: AssetBundleResourceArns,
export_format: AssetBundleExportFormat,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = 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/async_quick_sight.py
16900 16901 16902 16903 16904 16905 16906 16907 16908 16909 16910 16911 16912 16913 16914 16915 16916 16917 16918 16919 16920 16921 16922 16923 16924 16925 16926 16927 16928 16929 16930 16931 16932 16933 16934 16935 16936 16937 16938 16939 16940 16941 16942 16943 16944 16945 16946 16947 16948 16949 16950 16951 16952 16953 16954 16955 16956 16957 16958 16959 16960 16961 16962 16963 16964 16965 16966 16967 16968 16969 16970 16971 16972 16973 16974 16975 16976 16977 16978 16979 16980 16981 16982 16983 16984 16985 16986 16987 16988 16989 16990 16991 16992 16993 16994 16995 16996 16997 16998 16999 | |