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
18508 18509 18510 18511 18512 18513 18514 18515 18516 18517 18518 18519 18520 18521 18522 18523 18524 18525 18526 18527 18528 18529 18530 18531 18532 18533 18534 18535 18536 18537 18538 18539 18540 18541 18542 18543 18544 18545 18546 18547 18548 18549 18550 18551 18552 18553 18554 18555 18556 18557 18558 18559 18560 18561 18562 18563 18564 18565 18566 18567 18568 18569 18570 18571 18572 18573 18574 18575 18576 18577 18578 18579 18580 18581 18582 18583 18584 18585 18586 18587 18588 18589 18590 18591 18592 18593 18594 18595 18596 18597 18598 18599 18600 18601 18602 18603 18604 18605 18606 18607 | |