|
2510 | 2510 | {"shape":"ConflictException"}, |
2511 | 2511 | {"shape":"ResourceNotFoundException"}, |
2512 | 2512 | {"shape":"UnsupportedUserEditionException"}, |
| 2513 | + {"shape":"LimitExceededException"}, |
| 2514 | + {"shape":"PreconditionNotMetException"}, |
2513 | 2515 | {"shape":"InternalFailureException"} |
2514 | 2516 | ], |
2515 | 2517 | "documentation":"<p>Restores an analysis.</p>" |
|
2685 | 2687 | ], |
2686 | 2688 | "documentation":"<p>Starts an asynchronous job that generates a snapshot of a dashboard's output. You can request one or several of the following format configurations in each API call.</p> <ul> <li> <p>1 Paginated PDF</p> </li> <li> <p>1 Excel workbook that includes up to 5 table or pivot table visuals</p> </li> <li> <p>5 CSVs from table or pivot table visuals</p> </li> </ul> <p>The status of a submitted job can be polled with the <code>DescribeDashboardSnapshotJob</code> API. When you call the <code>DescribeDashboardSnapshotJob</code> API, check the <code>JobStatus</code> field in the response. Once the job reaches a <code>COMPLETED</code> or <code>FAILED</code> status, use the <code>DescribeDashboardSnapshotJobResult</code> API to obtain the URLs for the generated files. If the job fails, the <code>DescribeDashboardSnapshotJobResult</code> API returns detailed information about the error that occurred.</p> <p> <b>StartDashboardSnapshotJob API throttling</b> </p> <p>Amazon QuickSight utilizes API throttling to create a more consistent user experience within a time span for customers when they call the <code>StartDashboardSnapshotJob</code>. By default, 12 jobs can run simlutaneously in one Amazon Web Services account and users can submit up 10 API requests per second before an account is throttled. If an overwhelming number of API requests are made by the same user in a short period of time, Amazon QuickSight throttles the API calls to maintin an optimal experience and reliability for all Amazon QuickSight users.</p> <p> <b>Common throttling scenarios</b> </p> <p>The following list provides information about the most commin throttling scenarios that can occur.</p> <ul> <li> <p> <b>A large number of <code>SnapshotExport</code> API jobs are running simultaneously on an Amazon Web Services account.</b> When a new <code>StartDashboardSnapshotJob</code> is created and there are already 12 jobs with the <code>RUNNING</code> status, the new job request fails and returns a <code>LimitExceededException</code> error. Wait for a current job to comlpete before you resubmit the new job.</p> </li> <li> <p> <b>A large number of API requests are submitted on an Amazon Web Services account.</b> When a user makes more than 10 API calls to the Amazon QuickSight API in one second, a <code>ThrottlingException</code> is returned.</p> </li> </ul> <p>If your use case requires a higher throttling limit, contact your account admin or <a href=\"http://aws.amazon.com/contact-us/\">Amazon Web ServicesSupport</a> to explore options to tailor a more optimal expereince for your account.</p> <p> <b>Best practices to handle throttling</b> </p> <p>If your use case projects high levels of API traffic, try to reduce the degree of frequency and parallelism of API calls as much as you can to avoid throttling. You can also perform a timing test to calculate an estimate for the total processing time of your projected load that stays within the throttling limits of the Amazon QuickSight APIs. For example, if your projected traffic is 100 snapshot jobs before 12:00 PM per day, start 12 jobs in parallel and measure the amount of time it takes to proccess all 12 jobs. Once you obtain the result, multiply the duration by 9, for example <code>(12 minutes * 9 = 108 minutes)</code>. Use the new result to determine the latest time at which the jobs need to be started to meet your target deadline.</p> <p>The time that it takes to process a job can be impacted by the following factors:</p> <ul> <li> <p>The dataset type (Direct Query or SPICE).</p> </li> <li> <p>The size of the dataset.</p> </li> <li> <p>The complexity of the calculated fields that are used in the dashboard.</p> </li> <li> <p>The number of visuals that are on a sheet.</p> </li> <li> <p>The types of visuals that are on the sheet.</p> </li> <li> <p>The number of formats and snapshots that are requested in the job configuration.</p> </li> <li> <p>The size of the generated snapshots.</p> </li> </ul>" |
2687 | 2689 | }, |
| 2690 | + "StartDashboardSnapshotJobSchedule":{ |
| 2691 | + "name":"StartDashboardSnapshotJobSchedule", |
| 2692 | + "http":{ |
| 2693 | + "method":"POST", |
| 2694 | + "requestUri":"/accounts/{AwsAccountId}/dashboards/{DashboardId}/schedules/{ScheduleId}" |
| 2695 | + }, |
| 2696 | + "input":{"shape":"StartDashboardSnapshotJobScheduleRequest"}, |
| 2697 | + "output":{"shape":"StartDashboardSnapshotJobScheduleResponse"}, |
| 2698 | + "errors":[ |
| 2699 | + {"shape":"AccessDeniedException"}, |
| 2700 | + {"shape":"InvalidParameterValueException"}, |
| 2701 | + {"shape":"LimitExceededException"}, |
| 2702 | + {"shape":"ResourceNotFoundException"}, |
| 2703 | + {"shape":"ThrottlingException"}, |
| 2704 | + {"shape":"UnsupportedUserEditionException"}, |
| 2705 | + {"shape":"InternalFailureException"} |
| 2706 | + ], |
| 2707 | + "documentation":"<p>Starts an asynchronous job that runs an existing dashboard schedule and sends the dashboard snapshot through email. </p> <p>Only one job can run simultaneously in a given schedule. Repeated requests are skipped with a <code>202</code> HTTP status code.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/quicksight/latest/user/sending-reports.html\">Scheduling and sending Amazon QuickSight reports by email</a> and <a href=\"https://docs.aws.amazon.com/quicksight/latest/user/email-reports-from-dashboard.html\">Configuring email report settings for a Amazon QuickSight dashboard</a> in the <i>Amazon QuickSight User Guide</i>.</p>" |
| 2708 | + }, |
2688 | 2709 | "TagResource":{ |
2689 | 2710 | "name":"TagResource", |
2690 | 2711 | "http":{ |
|
13416 | 13437 | "documentation":"<p>The Amazon Resource Name (ARN) of the analysis whose permissions you're describing.</p>" |
13417 | 13438 | }, |
13418 | 13439 | "Permissions":{ |
13419 | | - "shape":"ResourcePermissionList", |
| 13440 | + "shape":"UpdateResourcePermissionList", |
13420 | 13441 | "documentation":"<p>A structure that describes the principals and the resource-level permissions on an analysis.</p>" |
13421 | 13442 | }, |
13422 | 13443 | "Status":{ |
|
13771 | 13792 | "documentation":"<p>The Amazon Resource Name (ARN) of the dashboard.</p>" |
13772 | 13793 | }, |
13773 | 13794 | "Permissions":{ |
13774 | | - "shape":"ResourcePermissionList", |
| 13795 | + "shape":"UpdateResourcePermissionList", |
13775 | 13796 | "documentation":"<p>A structure that contains the permissions for the dashboard.</p>" |
13776 | 13797 | }, |
13777 | 13798 | "Status":{ |
|
14960 | 14981 | "documentation":"<p>The Amazon Resource Name (ARN) of the template.</p>" |
14961 | 14982 | }, |
14962 | 14983 | "Permissions":{ |
14963 | | - "shape":"ResourcePermissionList", |
| 14984 | + "shape":"UpdateResourcePermissionList", |
14964 | 14985 | "documentation":"<p>A list of resource permissions to be set on the template. </p>" |
14965 | 14986 | }, |
14966 | 14987 | "RequestId":{ |
|
15104 | 15125 | "documentation":"<p>The Amazon Resource Name (ARN) of the theme.</p>" |
15105 | 15126 | }, |
15106 | 15127 | "Permissions":{ |
15107 | | - "shape":"ResourcePermissionList", |
| 15128 | + "shape":"UpdateResourcePermissionList", |
15108 | 15129 | "documentation":"<p>A list of resource permissions set on the theme. </p>" |
15109 | 15130 | }, |
15110 | 15131 | "RequestId":{ |
|
25649 | 25670 | "documentation":"<p>The ID of the analysis that you're restoring.</p>", |
25650 | 25671 | "location":"uri", |
25651 | 25672 | "locationName":"AnalysisId" |
| 25673 | + }, |
| 25674 | + "RestoreToFolders":{ |
| 25675 | + "shape":"Boolean", |
| 25676 | + "documentation":"<p>A boolean value that determines if the analysis will be restored to folders that it previously resided in. A <code>True</code> value restores analysis back to all folders that it previously resided in. A <code>False</code> value restores the analysis but does not restore the analysis back to all previously resided folders. Restoring a restricted analysis requires this parameter to be set to <code>True</code>.</p>", |
| 25677 | + "location":"querystring", |
| 25678 | + "locationName":"restore-to-folders" |
25652 | 25679 | } |
25653 | 25680 | } |
25654 | 25681 | }, |
|
25671 | 25698 | "RequestId":{ |
25672 | 25699 | "shape":"String", |
25673 | 25700 | "documentation":"<p>The Amazon Web Services request ID for this operation.</p>" |
| 25701 | + }, |
| 25702 | + "RestorationFailedFolderArns":{ |
| 25703 | + "shape":"FolderArnList", |
| 25704 | + "documentation":"<p>A list of folder arns thatthe analysis failed to be restored to.</p>" |
25674 | 25705 | } |
25675 | 25706 | } |
25676 | 25707 | }, |
|
28111 | 28142 | } |
28112 | 28143 | } |
28113 | 28144 | }, |
| 28145 | + "StartDashboardSnapshotJobScheduleRequest":{ |
| 28146 | + "type":"structure", |
| 28147 | + "required":[ |
| 28148 | + "AwsAccountId", |
| 28149 | + "DashboardId", |
| 28150 | + "ScheduleId" |
| 28151 | + ], |
| 28152 | + "members":{ |
| 28153 | + "AwsAccountId":{ |
| 28154 | + "shape":"AwsAccountId", |
| 28155 | + "documentation":"<p>The ID of the Amazon Web Services account that the dashboard snapshot job is executed in.</p>", |
| 28156 | + "location":"uri", |
| 28157 | + "locationName":"AwsAccountId" |
| 28158 | + }, |
| 28159 | + "DashboardId":{ |
| 28160 | + "shape":"ShortRestrictiveResourceId", |
| 28161 | + "documentation":"<p>The ID of the dashboard that you want to start a snapshot job schedule for. </p>", |
| 28162 | + "location":"uri", |
| 28163 | + "locationName":"DashboardId" |
| 28164 | + }, |
| 28165 | + "ScheduleId":{ |
| 28166 | + "shape":"ShortRestrictiveResourceId", |
| 28167 | + "documentation":"<p>The ID of the schedule that you want to start a snapshot job schedule for. The schedule ID can be found in the Amazon QuickSight console in the <b>Schedules</b> pane of the dashboard that the schedule is configured for.</p>", |
| 28168 | + "location":"uri", |
| 28169 | + "locationName":"ScheduleId" |
| 28170 | + } |
| 28171 | + } |
| 28172 | + }, |
| 28173 | + "StartDashboardSnapshotJobScheduleResponse":{ |
| 28174 | + "type":"structure", |
| 28175 | + "members":{ |
| 28176 | + "RequestId":{ |
| 28177 | + "shape":"NonEmptyString", |
| 28178 | + "documentation":"<p> The Amazon Web Services request ID for this operation. </p>" |
| 28179 | + }, |
| 28180 | + "Status":{ |
| 28181 | + "shape":"StatusCode", |
| 28182 | + "documentation":"<p>The HTTP status of the request</p>", |
| 28183 | + "location":"statusCode" |
| 28184 | + } |
| 28185 | + } |
| 28186 | + }, |
28114 | 28187 | "StatePersistenceConfigurations":{ |
28115 | 28188 | "type":"structure", |
28116 | 28189 | "required":["Enabled"], |
|
31712 | 31785 | "documentation":"<p>The ID of the analysis that you updated permissions for.</p>" |
31713 | 31786 | }, |
31714 | 31787 | "Permissions":{ |
31715 | | - "shape":"ResourcePermissionList", |
| 31788 | + "shape":"UpdateResourcePermissionList", |
31716 | 31789 | "documentation":"<p>A structure that describes the principals and the resource-level permissions on an analysis.</p>" |
31717 | 31790 | }, |
31718 | 31791 | "RequestId":{ |
|
31895 | 31968 | "documentation":"<p>The ID for the dashboard.</p>" |
31896 | 31969 | }, |
31897 | 31970 | "Permissions":{ |
31898 | | - "shape":"ResourcePermissionList", |
| 31971 | + "shape":"UpdateResourcePermissionList", |
31899 | 31972 | "documentation":"<p>Information about the permissions on the dashboard.</p>" |
31900 | 31973 | }, |
31901 | 31974 | "RequestId":{ |
|
32954 | 33027 | "documentation":"<p>The Amazon Resource Name (ARN) of the template.</p>" |
32955 | 33028 | }, |
32956 | 33029 | "Permissions":{ |
32957 | | - "shape":"ResourcePermissionList", |
| 33030 | + "shape":"UpdateResourcePermissionList", |
32958 | 33031 | "documentation":"<p>A list of resource permissions to be set on the template.</p>" |
32959 | 33032 | }, |
32960 | 33033 | "RequestId":{ |
|
33131 | 33204 | "documentation":"<p>The Amazon Resource Name (ARN) of the theme.</p>" |
33132 | 33205 | }, |
33133 | 33206 | "Permissions":{ |
33134 | | - "shape":"ResourcePermissionList", |
| 33207 | + "shape":"UpdateResourcePermissionList", |
33135 | 33208 | "documentation":"<p>The resulting list of resource permissions for the theme.</p>" |
33136 | 33209 | }, |
33137 | 33210 | "RequestId":{ |
|
0 commit comments