QuickSight / Client / describe_dashboard_snapshot_job
describe_dashboard_snapshot_job#
- QuickSight.Client.describe_dashboard_snapshot_job(**kwargs)#
Describes an existing snapshot job.
Poll job descriptions after a job starts to know the status of the job. For information on available status codes, see
JobStatus
.See also: AWS API Documentation
Request Syntax
response = client.describe_dashboard_snapshot_job( AwsAccountId='string', DashboardId='string', SnapshotJobId='string' )
- Parameters:
AwsAccountId (string) –
[REQUIRED]
The ID of the Amazon Web Services account that the dashboard snapshot job is executed in.
DashboardId (string) –
[REQUIRED]
The ID of the dashboard that you have started a snapshot job for.
SnapshotJobId (string) –
[REQUIRED]
The ID of the job to be described. The job ID is set when you start a new job with a
StartDashboardSnapshotJob
API call.
- Return type:
dict
- Returns:
Response Syntax
{ 'AwsAccountId': 'string', 'DashboardId': 'string', 'SnapshotJobId': 'string', 'UserConfiguration': { 'AnonymousUsers': [ { 'RowLevelPermissionTagKeys': [ 'string', ] }, ] }, 'SnapshotConfiguration': { 'FileGroups': [ { 'Files': [ { 'SheetSelections': [ { 'SheetId': 'string', 'SelectionScope': 'ALL_VISUALS'|'SELECTED_VISUALS', 'VisualIds': [ 'string', ] }, ], 'FormatType': 'CSV'|'PDF'|'EXCEL' }, ] }, ], 'DestinationConfiguration': { 'S3Destinations': [ { 'BucketConfiguration': { 'BucketName': 'string', 'BucketPrefix': 'string', 'BucketRegion': 'string' } }, ] }, 'Parameters': { 'StringParameters': [ { 'Name': 'string', 'Values': [ 'string', ] }, ], 'IntegerParameters': [ { 'Name': 'string', 'Values': [ 123, ] }, ], 'DecimalParameters': [ { 'Name': 'string', 'Values': [ 123.0, ] }, ], 'DateTimeParameters': [ { 'Name': 'string', 'Values': [ datetime(2015, 1, 1), ] }, ] } }, 'Arn': 'string', 'JobStatus': 'QUEUED'|'RUNNING'|'COMPLETED'|'FAILED', 'CreatedTime': datetime(2015, 1, 1), 'LastUpdatedTime': datetime(2015, 1, 1), 'RequestId': 'string', 'Status': 123 }
Response Structure
(dict) –
AwsAccountId (string) –
The ID of the Amazon Web Services account that the dashboard snapshot job is executed in.
DashboardId (string) –
The ID of the dashboard that you have started a snapshot job for.
SnapshotJobId (string) –
The ID of the job to be described. The job ID is set when you start a new job with a
StartDashboardSnapshotJob
API call.UserConfiguration (dict) –
The user configuration for the snapshot job. This information is provided when you make a
StartDashboardSnapshotJob
API call.AnonymousUsers (list) –
An array of records that describe anonymous users that the dashboard snapshot is generated for. Sensitive user information is excluded.
(dict) –
Use this structure to redact sensitive information that you provide about an anonymous user from the snapshot.
RowLevelPermissionTagKeys (list) –
The tag keys for the
RowLevelPermissionTags
.(string) –
SnapshotConfiguration (dict) –
The snapshot configuration of the job. This information is provided when you make a
StartDashboardSnapshotJob
API call.FileGroups (list) –
A list of
SnapshotJobResultFileGroup
objects that contain information about the snapshot that is generated. This list can hold a maximum of 6FileGroup
configurations.(dict) –
A structure that contains the information on the snapshot files.
Files (list) –
A list of
SnapshotFile
objects that contain the information on the snapshot files that need to be generated. This structure can hold 1 configuration at a time.(dict) –
A structure that contains the information for the snapshot that you want to generate. This information is provided by you when you start a new snapshot job.
SheetSelections (list) –
A list of
SnapshotFileSheetSelection
objects that contain information on the dashboard sheet that is exported. These objects provide information about the snapshot artifacts that are generated during the job. This structure can hold a maximum of 5 CSV configurations, 5 Excel configurations, or 1 configuration for PDF.(dict) –
A structure that contains information that identifies the snapshot that needs to be generated.
SheetId (string) –
The sheet ID of the dashboard to generate the snapshot artifact from. This value is required for CSV, Excel, and PDF format types.
SelectionScope (string) –
The selection scope of the visuals on a sheet of a dashboard that you are generating a snapthot of. You can choose one of the following options.
ALL_VISUALS
- Selects all visuals that are on the sheet. This value is required if the snapshot is a PDF.SELECTED_VISUALS
- Select the visual that you want to add to the snapshot. This value is required if the snapshot is a CSV or Excel workbook.
VisualIds (list) –
A structure that lists the IDs of the visuals in the selected sheet. Supported visual types are table, pivot table visuals. This value is required if you are generating a CSV or Excel workbook. This value supports a maximum of 1 visual ID for CSV and 5 visual IDs across up to 5 sheet selections for Excel. If you are generating an Excel workbook, the order of the visual IDs provided in this structure determines the order of the worksheets in the Excel file.
(string) –
FormatType (string) –
The format of the snapshot file to be generated. You can choose between
CSV
,Excel
, orPDF
.
DestinationConfiguration (dict) –
A structure that contains information on the Amazon S3 bucket that the generated snapshot is stored in.
S3Destinations (list) –
A list of
SnapshotS3DestinationConfiguration
objects that contain Amazon S3 destination configurations. This structure can hold a maximum of 1S3DestinationConfiguration
.(dict) –
A structure that describes the Amazon S3 settings to use to save the generated dashboard snapshot.
BucketConfiguration (dict) –
A structure that contains details about the Amazon S3 bucket that the generated dashboard snapshot is saved in.
BucketName (string) –
The name of an existing Amazon S3 bucket where the generated snapshot artifacts are sent.
BucketPrefix (string) –
The prefix of the Amazon S3 bucket that the generated snapshots are stored in.
BucketRegion (string) –
The region that the Amazon S3 bucket is located in. The bucket must be located in the same region that the
StartDashboardSnapshotJob
API call is made.
Parameters (dict) –
A list of Amazon QuickSight parameters and the list’s override values.
StringParameters (list) –
The parameters that have a data type of string.
(dict) –
A string parameter.
Name (string) –
A display name for a string parameter.
Values (list) –
The values of a string parameter.
(string) –
IntegerParameters (list) –
The parameters that have a data type of integer.
(dict) –
An integer parameter.
Name (string) –
The name of the integer parameter.
Values (list) –
The values for the integer parameter.
(integer) –
DecimalParameters (list) –
The parameters that have a data type of decimal.
(dict) –
A decimal parameter.
Name (string) –
A display name for the decimal parameter.
Values (list) –
The values for the decimal parameter.
(float) –
DateTimeParameters (list) –
The parameters that have a data type of date-time.
(dict) –
A date-time parameter.
Name (string) –
A display name for the date-time parameter.
Values (list) –
The values for the date-time parameter.
(datetime) –
Arn (string) –
The Amazon Resource Name (ARN) for the snapshot job. The job ARN is generated when you start a new job with a
StartDashboardSnapshotJob
API call.JobStatus (string) –
Indicates the status of a job. The status updates as the job executes. This shows one of the following values.
COMPLETED
- The job was completed successfully.FAILED
- The job failed to execute.QUEUED
- The job is queued and hasn’t started yet.RUNNING
- The job is still running.
CreatedTime (datetime) –
The time that the snapshot job was created.
LastUpdatedTime (datetime) –
The time that the snapshot job status was last updated.
RequestId (string) –
The Amazon Web Services request ID for this operation.
Status (integer) –
The HTTP status of the request
Exceptions
QuickSight.Client.exceptions.AccessDeniedException
QuickSight.Client.exceptions.ResourceNotFoundException
QuickSight.Client.exceptions.ThrottlingException
QuickSight.Client.exceptions.UnsupportedUserEditionException
QuickSight.Client.exceptions.InternalFailureException