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
18257 18258 18259 18260 18261 18262 18263 18264 18265 18266 18267 18268 18269 18270 18271 18272 18273 18274 18275 18276 18277 18278 18279 18280 18281 18282 18283 18284 18285 18286 18287 18288 18289 18290 18291 18292 18293 18294 18295 18296 18297 18298 18299 18300 18301 18302 18303 18304 18305 18306 18307 18308 18309 18310 18311 18312 18313 18314 18315 18316 18317 18318 18319 18320 18321 18322 18323 18324 18325 18326 18327 18328 18329 18330 18331 18332 18333 18334 18335 18336 18337 18338 18339 18340 18341 18342 18343 18344 18345 18346 18347 18348 18349 18350 18351 18352 18353 18354 18355 | |