ListAssetBundleExportJobsCommand

Lists all asset bundle export jobs that have been taken place in the last 14 days. Jobs created more than 14 days ago are deleted forever and are not returned. If you are using the same job ID for multiple jobs, ListAssetBundleExportJobs only returns the most recent job that uses the repeated job ID.

Example Syntax

Use a bare-bones client and the command you need to make an API call.

import { QuickSightClient, ListAssetBundleExportJobsCommand } from "@aws-sdk/client-quicksight"; // ES Modules import
// const { QuickSightClient, ListAssetBundleExportJobsCommand } = require("@aws-sdk/client-quicksight"); // CommonJS import
const client = new QuickSightClient(config);
const input = { // ListAssetBundleExportJobsRequest
  AwsAccountId: "STRING_VALUE", // required
  NextToken: "STRING_VALUE",
  MaxResults: Number("int"),
};
const command = new ListAssetBundleExportJobsCommand(input);
const response = await client.send(command);
// { // ListAssetBundleExportJobsResponse
//   AssetBundleExportJobSummaryList: [ // AssetBundleExportJobSummaryList
//     { // AssetBundleExportJobSummary
//       JobStatus: "QUEUED_FOR_IMMEDIATE_EXECUTION" || "IN_PROGRESS" || "SUCCESSFUL" || "FAILED",
//       Arn: "STRING_VALUE",
//       CreatedTime: new Date("TIMESTAMP"),
//       AssetBundleExportJobId: "STRING_VALUE",
//       IncludeAllDependencies: true || false,
//       ExportFormat: "CLOUDFORMATION_JSON" || "QUICKSIGHT_JSON",
//       IncludePermissions: true || false,
//       IncludeTags: true || false,
//     },
//   ],
//   NextToken: "STRING_VALUE",
//   RequestId: "STRING_VALUE",
//   Status: Number("int"),
// };

ListAssetBundleExportJobsCommand Input

Parameter
Type
Description
AwsAccountId
Required
string | undefined

The ID of the Amazon Web Services account that the export jobs were executed in.

MaxResults
number | undefined

The maximum number of results to be returned per request.

NextToken
string | undefined

The token for the next set of results, or null if there are no more results.

ListAssetBundleExportJobsCommand Output

Parameter
Type
Description
$metadata
Required
ResponseMetadata
Metadata pertaining to this request.
AssetBundleExportJobSummaryList
AssetBundleExportJobSummary[] | undefined

A list of export job summaries.

NextToken
string | undefined

The token for the next set of results, or null if there are no more results.

RequestId
string | undefined

The Amazon Web Services request ID for this operation.

Status
number | undefined

The HTTP status of the request.

Throws

Name
Fault
Details
AccessDeniedException
client

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 QuickSight service, that your policies have the correct permissions, and that you are using the correct credentials.

InvalidNextTokenException
client

The NextToken value isn't valid.

ResourceNotFoundException
client

One or more resources can't be found.

ThrottlingException
client

Access is throttled.

UnsupportedUserEditionException
client

This error indicates that you are calling an operation on an Amazon QuickSight subscription where the edition doesn't include support for that operation. Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. Not every operation and capability is available in every edition.

QuickSightServiceException
Base exception class for all service exceptions from QuickSight service.