aws-sdk-quicksight 1.131.0 → 1.132.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0372511f866466b8478c48d9c636864914e476a65318353f4295d3a25d0d3f63
4
- data.tar.gz: d42a9a1bd45bb61c293e5fbae3295c127cdbfe181c0b4db8c62c24acb14db8a3
3
+ metadata.gz: 7ed3d0f654ce44c8e65ca5b16088e37ae63da9f641faba8fa67aee311f92efbe
4
+ data.tar.gz: e9428c1d6c121a83581ef028082fa771d3102cebc4dd50dde7d3b709ac3b2b64
5
5
  SHA512:
6
- metadata.gz: 7141d82353c9f85ec4b97f1802a9de4a68be9a6bbeb9c58f1b830cf0d92c433e43f9d979a77cc9587d4719f46fa05687b53133e80026fa01dd532d13cb77ffe8
7
- data.tar.gz: 15fde12d1b96d61f8019aba1b94133a130b416b429e82b5e695d2a0601c04da780bf12f16cd01aa397a3e7c1ed0da5c69c42e76717e84e78d60cf9016de8774b
6
+ metadata.gz: 916bdfdd7828fa24675994a65f003d2d9b55957289827d82a3b30fdf2635dab7284c2b208b1e3614147f52d573ef23c4ab68be193df5c957ff7da7689b244190
7
+ data.tar.gz: 6cd816c27d09ffaa3f32eb3135217847d212c722c27181e8da19e1bdee898bb97312943b2f29e70656d7c375ea19956c38edb7dfa9d3aed690959fca379eadbc
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.132.0 (2024-10-17)
5
+ ------------------
6
+
7
+ * Feature - Add StartDashboardSnapshotJobSchedule API. RestoreAnalysis now supports restoring analysis to folders.
8
+
4
9
  1.131.0 (2024-10-03)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.131.0
1
+ 1.132.0
@@ -11161,18 +11161,28 @@ module Aws::QuickSight
11161
11161
  # @option params [required, String] :analysis_id
11162
11162
  # The ID of the analysis that you're restoring.
11163
11163
  #
11164
+ # @option params [Boolean] :restore_to_folders
11165
+ # A boolean value that determines if the analysis will be restored to
11166
+ # folders that it previously resided in. A `True` value restores
11167
+ # analysis back to all folders that it previously resided in. A `False`
11168
+ # value restores the analysis but does not restore the analysis back to
11169
+ # all previously resided folders. Restoring a restricted analysis
11170
+ # requires this parameter to be set to `True`.
11171
+ #
11164
11172
  # @return [Types::RestoreAnalysisResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
11165
11173
  #
11166
11174
  # * {Types::RestoreAnalysisResponse#status #status} => Integer
11167
11175
  # * {Types::RestoreAnalysisResponse#arn #arn} => String
11168
11176
  # * {Types::RestoreAnalysisResponse#analysis_id #analysis_id} => String
11169
11177
  # * {Types::RestoreAnalysisResponse#request_id #request_id} => String
11178
+ # * {Types::RestoreAnalysisResponse#restoration_failed_folder_arns #restoration_failed_folder_arns} => Array<String>
11170
11179
  #
11171
11180
  # @example Request syntax with placeholder values
11172
11181
  #
11173
11182
  # resp = client.restore_analysis({
11174
11183
  # aws_account_id: "AwsAccountId", # required
11175
11184
  # analysis_id: "ShortRestrictiveResourceId", # required
11185
+ # restore_to_folders: false,
11176
11186
  # })
11177
11187
  #
11178
11188
  # @example Response structure
@@ -11181,6 +11191,8 @@ module Aws::QuickSight
11181
11191
  # resp.arn #=> String
11182
11192
  # resp.analysis_id #=> String
11183
11193
  # resp.request_id #=> String
11194
+ # resp.restoration_failed_folder_arns #=> Array
11195
+ # resp.restoration_failed_folder_arns[0] #=> String
11184
11196
  #
11185
11197
  # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/RestoreAnalysis AWS API Documentation
11186
11198
  #
@@ -12414,6 +12426,62 @@ module Aws::QuickSight
12414
12426
  req.send_request(options)
12415
12427
  end
12416
12428
 
12429
+ # Starts an asynchronous job that runs an existing dashboard schedule
12430
+ # and sends the dashboard snapshot through email.
12431
+ #
12432
+ # Only one job can run simultaneously in a given schedule. Repeated
12433
+ # requests are skipped with a `202` HTTP status code.
12434
+ #
12435
+ # For more information, see [Scheduling and sending Amazon QuickSight
12436
+ # reports by email][1] and [Configuring email report settings for a
12437
+ # Amazon QuickSight dashboard][2] in the *Amazon QuickSight User Guide*.
12438
+ #
12439
+ #
12440
+ #
12441
+ # [1]: https://docs.aws.amazon.com/quicksight/latest/user/sending-reports.html
12442
+ # [2]: https://docs.aws.amazon.com/quicksight/latest/user/email-reports-from-dashboard.html
12443
+ #
12444
+ # @option params [required, String] :aws_account_id
12445
+ # The ID of the Amazon Web Services account that the dashboard snapshot
12446
+ # job is executed in.
12447
+ #
12448
+ # @option params [required, String] :dashboard_id
12449
+ # The ID of the dashboard that you want to start a snapshot job schedule
12450
+ # for.
12451
+ #
12452
+ # @option params [required, String] :schedule_id
12453
+ # The ID of the schedule that you want to start a snapshot job schedule
12454
+ # for. The schedule ID can be found in the Amazon QuickSight console in
12455
+ # the **Schedules** pane of the dashboard that the schedule is
12456
+ # configured for.
12457
+ #
12458
+ # @return [Types::StartDashboardSnapshotJobScheduleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
12459
+ #
12460
+ # * {Types::StartDashboardSnapshotJobScheduleResponse#request_id #request_id} => String
12461
+ # * {Types::StartDashboardSnapshotJobScheduleResponse#status #status} => Integer
12462
+ #
12463
+ # @example Request syntax with placeholder values
12464
+ #
12465
+ # resp = client.start_dashboard_snapshot_job_schedule({
12466
+ # aws_account_id: "AwsAccountId", # required
12467
+ # dashboard_id: "ShortRestrictiveResourceId", # required
12468
+ # schedule_id: "ShortRestrictiveResourceId", # required
12469
+ # })
12470
+ #
12471
+ # @example Response structure
12472
+ #
12473
+ # resp.request_id #=> String
12474
+ # resp.status #=> Integer
12475
+ #
12476
+ # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/StartDashboardSnapshotJobSchedule AWS API Documentation
12477
+ #
12478
+ # @overload start_dashboard_snapshot_job_schedule(params = {})
12479
+ # @param [Hash] params ({})
12480
+ def start_dashboard_snapshot_job_schedule(params = {}, options = {})
12481
+ req = build_request(:start_dashboard_snapshot_job_schedule, params)
12482
+ req.send_request(options)
12483
+ end
12484
+
12417
12485
  # Assigns one or more tags (key-value pairs) to the specified Amazon
12418
12486
  # QuickSight resource.
12419
12487
  #
@@ -15481,7 +15549,7 @@ module Aws::QuickSight
15481
15549
  tracer: tracer
15482
15550
  )
15483
15551
  context[:gem_name] = 'aws-sdk-quicksight'
15484
- context[:gem_version] = '1.131.0'
15552
+ context[:gem_version] = '1.132.0'
15485
15553
  Seahorse::Client::Request.new(handlers, context)
15486
15554
  end
15487
15555
 
@@ -1565,6 +1565,8 @@ module Aws::QuickSight
1565
1565
  StartAssetBundleImportJobResponse = Shapes::StructureShape.new(name: 'StartAssetBundleImportJobResponse')
1566
1566
  StartDashboardSnapshotJobRequest = Shapes::StructureShape.new(name: 'StartDashboardSnapshotJobRequest')
1567
1567
  StartDashboardSnapshotJobResponse = Shapes::StructureShape.new(name: 'StartDashboardSnapshotJobResponse')
1568
+ StartDashboardSnapshotJobScheduleRequest = Shapes::StructureShape.new(name: 'StartDashboardSnapshotJobScheduleRequest')
1569
+ StartDashboardSnapshotJobScheduleResponse = Shapes::StructureShape.new(name: 'StartDashboardSnapshotJobScheduleResponse')
1568
1570
  StatePersistenceConfigurations = Shapes::StructureShape.new(name: 'StatePersistenceConfigurations')
1569
1571
  Status = Shapes::StringShape.new(name: 'Status')
1570
1572
  StatusCode = Shapes::IntegerShape.new(name: 'StatusCode')
@@ -4315,7 +4317,7 @@ module Aws::QuickSight
4315
4317
 
4316
4318
  DescribeAnalysisPermissionsResponse.add_member(:analysis_id, Shapes::ShapeRef.new(shape: ShortRestrictiveResourceId, location_name: "AnalysisId"))
4317
4319
  DescribeAnalysisPermissionsResponse.add_member(:analysis_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "AnalysisArn"))
4318
- DescribeAnalysisPermissionsResponse.add_member(:permissions, Shapes::ShapeRef.new(shape: ResourcePermissionList, location_name: "Permissions"))
4320
+ DescribeAnalysisPermissionsResponse.add_member(:permissions, Shapes::ShapeRef.new(shape: UpdateResourcePermissionList, location_name: "Permissions"))
4319
4321
  DescribeAnalysisPermissionsResponse.add_member(:status, Shapes::ShapeRef.new(shape: StatusCode, location: "statusCode", location_name: "Status"))
4320
4322
  DescribeAnalysisPermissionsResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId"))
4321
4323
  DescribeAnalysisPermissionsResponse.struct_class = Types::DescribeAnalysisPermissionsResponse
@@ -4399,7 +4401,7 @@ module Aws::QuickSight
4399
4401
 
4400
4402
  DescribeDashboardPermissionsResponse.add_member(:dashboard_id, Shapes::ShapeRef.new(shape: ShortRestrictiveResourceId, location_name: "DashboardId"))
4401
4403
  DescribeDashboardPermissionsResponse.add_member(:dashboard_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "DashboardArn"))
4402
- DescribeDashboardPermissionsResponse.add_member(:permissions, Shapes::ShapeRef.new(shape: ResourcePermissionList, location_name: "Permissions"))
4404
+ DescribeDashboardPermissionsResponse.add_member(:permissions, Shapes::ShapeRef.new(shape: UpdateResourcePermissionList, location_name: "Permissions"))
4403
4405
  DescribeDashboardPermissionsResponse.add_member(:status, Shapes::ShapeRef.new(shape: StatusCode, location: "statusCode", location_name: "Status"))
4404
4406
  DescribeDashboardPermissionsResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId"))
4405
4407
  DescribeDashboardPermissionsResponse.add_member(:link_sharing_configuration, Shapes::ShapeRef.new(shape: LinkSharingConfiguration, location_name: "LinkSharingConfiguration"))
@@ -4670,7 +4672,7 @@ module Aws::QuickSight
4670
4672
 
4671
4673
  DescribeTemplatePermissionsResponse.add_member(:template_id, Shapes::ShapeRef.new(shape: ShortRestrictiveResourceId, location_name: "TemplateId"))
4672
4674
  DescribeTemplatePermissionsResponse.add_member(:template_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "TemplateArn"))
4673
- DescribeTemplatePermissionsResponse.add_member(:permissions, Shapes::ShapeRef.new(shape: ResourcePermissionList, location_name: "Permissions"))
4675
+ DescribeTemplatePermissionsResponse.add_member(:permissions, Shapes::ShapeRef.new(shape: UpdateResourcePermissionList, location_name: "Permissions"))
4674
4676
  DescribeTemplatePermissionsResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId"))
4675
4677
  DescribeTemplatePermissionsResponse.add_member(:status, Shapes::ShapeRef.new(shape: StatusCode, location: "statusCode", location_name: "Status"))
4676
4678
  DescribeTemplatePermissionsResponse.struct_class = Types::DescribeTemplatePermissionsResponse
@@ -4702,7 +4704,7 @@ module Aws::QuickSight
4702
4704
 
4703
4705
  DescribeThemePermissionsResponse.add_member(:theme_id, Shapes::ShapeRef.new(shape: ShortRestrictiveResourceId, location_name: "ThemeId"))
4704
4706
  DescribeThemePermissionsResponse.add_member(:theme_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ThemeArn"))
4705
- DescribeThemePermissionsResponse.add_member(:permissions, Shapes::ShapeRef.new(shape: ResourcePermissionList, location_name: "Permissions"))
4707
+ DescribeThemePermissionsResponse.add_member(:permissions, Shapes::ShapeRef.new(shape: UpdateResourcePermissionList, location_name: "Permissions"))
4706
4708
  DescribeThemePermissionsResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId"))
4707
4709
  DescribeThemePermissionsResponse.add_member(:status, Shapes::ShapeRef.new(shape: StatusCode, location: "statusCode", location_name: "Status"))
4708
4710
  DescribeThemePermissionsResponse.struct_class = Types::DescribeThemePermissionsResponse
@@ -7120,12 +7122,14 @@ module Aws::QuickSight
7120
7122
 
7121
7123
  RestoreAnalysisRequest.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location: "uri", location_name: "AwsAccountId"))
7122
7124
  RestoreAnalysisRequest.add_member(:analysis_id, Shapes::ShapeRef.new(shape: ShortRestrictiveResourceId, required: true, location: "uri", location_name: "AnalysisId"))
7125
+ RestoreAnalysisRequest.add_member(:restore_to_folders, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "restore-to-folders"))
7123
7126
  RestoreAnalysisRequest.struct_class = Types::RestoreAnalysisRequest
7124
7127
 
7125
7128
  RestoreAnalysisResponse.add_member(:status, Shapes::ShapeRef.new(shape: StatusCode, location: "statusCode", location_name: "Status"))
7126
7129
  RestoreAnalysisResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
7127
7130
  RestoreAnalysisResponse.add_member(:analysis_id, Shapes::ShapeRef.new(shape: ShortRestrictiveResourceId, location_name: "AnalysisId"))
7128
7131
  RestoreAnalysisResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId"))
7132
+ RestoreAnalysisResponse.add_member(:restoration_failed_folder_arns, Shapes::ShapeRef.new(shape: FolderArnList, location_name: "RestorationFailedFolderArns"))
7129
7133
  RestoreAnalysisResponse.struct_class = Types::RestoreAnalysisResponse
7130
7134
 
7131
7135
  RollingDateConfiguration.add_member(:data_set_identifier, Shapes::ShapeRef.new(shape: DataSetIdentifier, location_name: "DataSetIdentifier"))
@@ -7685,6 +7689,15 @@ module Aws::QuickSight
7685
7689
  StartDashboardSnapshotJobResponse.add_member(:status, Shapes::ShapeRef.new(shape: StatusCode, location: "statusCode", location_name: "Status"))
7686
7690
  StartDashboardSnapshotJobResponse.struct_class = Types::StartDashboardSnapshotJobResponse
7687
7691
 
7692
+ StartDashboardSnapshotJobScheduleRequest.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location: "uri", location_name: "AwsAccountId"))
7693
+ StartDashboardSnapshotJobScheduleRequest.add_member(:dashboard_id, Shapes::ShapeRef.new(shape: ShortRestrictiveResourceId, required: true, location: "uri", location_name: "DashboardId"))
7694
+ StartDashboardSnapshotJobScheduleRequest.add_member(:schedule_id, Shapes::ShapeRef.new(shape: ShortRestrictiveResourceId, required: true, location: "uri", location_name: "ScheduleId"))
7695
+ StartDashboardSnapshotJobScheduleRequest.struct_class = Types::StartDashboardSnapshotJobScheduleRequest
7696
+
7697
+ StartDashboardSnapshotJobScheduleResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "RequestId"))
7698
+ StartDashboardSnapshotJobScheduleResponse.add_member(:status, Shapes::ShapeRef.new(shape: StatusCode, location: "statusCode", location_name: "Status"))
7699
+ StartDashboardSnapshotJobScheduleResponse.struct_class = Types::StartDashboardSnapshotJobScheduleResponse
7700
+
7688
7701
  StatePersistenceConfigurations.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "Enabled"))
7689
7702
  StatePersistenceConfigurations.struct_class = Types::StatePersistenceConfigurations
7690
7703
 
@@ -8570,7 +8583,7 @@ module Aws::QuickSight
8570
8583
 
8571
8584
  UpdateAnalysisPermissionsResponse.add_member(:analysis_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "AnalysisArn"))
8572
8585
  UpdateAnalysisPermissionsResponse.add_member(:analysis_id, Shapes::ShapeRef.new(shape: ShortRestrictiveResourceId, location_name: "AnalysisId"))
8573
- UpdateAnalysisPermissionsResponse.add_member(:permissions, Shapes::ShapeRef.new(shape: ResourcePermissionList, location_name: "Permissions"))
8586
+ UpdateAnalysisPermissionsResponse.add_member(:permissions, Shapes::ShapeRef.new(shape: UpdateResourcePermissionList, location_name: "Permissions"))
8574
8587
  UpdateAnalysisPermissionsResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId"))
8575
8588
  UpdateAnalysisPermissionsResponse.add_member(:status, Shapes::ShapeRef.new(shape: StatusCode, location: "statusCode", location_name: "Status"))
8576
8589
  UpdateAnalysisPermissionsResponse.struct_class = Types::UpdateAnalysisPermissionsResponse
@@ -8613,7 +8626,7 @@ module Aws::QuickSight
8613
8626
 
8614
8627
  UpdateDashboardPermissionsResponse.add_member(:dashboard_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "DashboardArn"))
8615
8628
  UpdateDashboardPermissionsResponse.add_member(:dashboard_id, Shapes::ShapeRef.new(shape: ShortRestrictiveResourceId, location_name: "DashboardId"))
8616
- UpdateDashboardPermissionsResponse.add_member(:permissions, Shapes::ShapeRef.new(shape: ResourcePermissionList, location_name: "Permissions"))
8629
+ UpdateDashboardPermissionsResponse.add_member(:permissions, Shapes::ShapeRef.new(shape: UpdateResourcePermissionList, location_name: "Permissions"))
8617
8630
  UpdateDashboardPermissionsResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId"))
8618
8631
  UpdateDashboardPermissionsResponse.add_member(:status, Shapes::ShapeRef.new(shape: StatusCode, location: "statusCode", location_name: "Status"))
8619
8632
  UpdateDashboardPermissionsResponse.add_member(:link_sharing_configuration, Shapes::ShapeRef.new(shape: LinkSharingConfiguration, location_name: "LinkSharingConfiguration"))
@@ -8864,7 +8877,7 @@ module Aws::QuickSight
8864
8877
 
8865
8878
  UpdateTemplatePermissionsResponse.add_member(:template_id, Shapes::ShapeRef.new(shape: ShortRestrictiveResourceId, location_name: "TemplateId"))
8866
8879
  UpdateTemplatePermissionsResponse.add_member(:template_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "TemplateArn"))
8867
- UpdateTemplatePermissionsResponse.add_member(:permissions, Shapes::ShapeRef.new(shape: ResourcePermissionList, location_name: "Permissions"))
8880
+ UpdateTemplatePermissionsResponse.add_member(:permissions, Shapes::ShapeRef.new(shape: UpdateResourcePermissionList, location_name: "Permissions"))
8868
8881
  UpdateTemplatePermissionsResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId"))
8869
8882
  UpdateTemplatePermissionsResponse.add_member(:status, Shapes::ShapeRef.new(shape: StatusCode, location: "statusCode", location_name: "Status"))
8870
8883
  UpdateTemplatePermissionsResponse.struct_class = Types::UpdateTemplatePermissionsResponse
@@ -8905,7 +8918,7 @@ module Aws::QuickSight
8905
8918
 
8906
8919
  UpdateThemePermissionsResponse.add_member(:theme_id, Shapes::ShapeRef.new(shape: ShortRestrictiveResourceId, location_name: "ThemeId"))
8907
8920
  UpdateThemePermissionsResponse.add_member(:theme_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ThemeArn"))
8908
- UpdateThemePermissionsResponse.add_member(:permissions, Shapes::ShapeRef.new(shape: ResourcePermissionList, location_name: "Permissions"))
8921
+ UpdateThemePermissionsResponse.add_member(:permissions, Shapes::ShapeRef.new(shape: UpdateResourcePermissionList, location_name: "Permissions"))
8909
8922
  UpdateThemePermissionsResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId"))
8910
8923
  UpdateThemePermissionsResponse.add_member(:status, Shapes::ShapeRef.new(shape: StatusCode, location: "statusCode", location_name: "Status"))
8911
8924
  UpdateThemePermissionsResponse.struct_class = Types::UpdateThemePermissionsResponse
@@ -11378,6 +11391,8 @@ module Aws::QuickSight
11378
11391
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
11379
11392
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
11380
11393
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedUserEditionException)
11394
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
11395
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionNotMetException)
11381
11396
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
11382
11397
  end)
11383
11398
 
@@ -11552,6 +11567,21 @@ module Aws::QuickSight
11552
11567
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
11553
11568
  end)
11554
11569
 
11570
+ api.add_operation(:start_dashboard_snapshot_job_schedule, Seahorse::Model::Operation.new.tap do |o|
11571
+ o.name = "StartDashboardSnapshotJobSchedule"
11572
+ o.http_method = "POST"
11573
+ o.http_request_uri = "/accounts/{AwsAccountId}/dashboards/{DashboardId}/schedules/{ScheduleId}"
11574
+ o.input = Shapes::ShapeRef.new(shape: StartDashboardSnapshotJobScheduleRequest)
11575
+ o.output = Shapes::ShapeRef.new(shape: StartDashboardSnapshotJobScheduleResponse)
11576
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
11577
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
11578
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
11579
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
11580
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
11581
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedUserEditionException)
11582
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
11583
+ end)
11584
+
11555
11585
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
11556
11586
  o.name = "TagResource"
11557
11587
  o.http_method = "POST"
@@ -1585,6 +1585,17 @@ module Aws::QuickSight
1585
1585
  end
1586
1586
  end
1587
1587
 
1588
+ class StartDashboardSnapshotJobSchedule
1589
+ def self.build(context)
1590
+ Aws::QuickSight::EndpointParameters.new(
1591
+ region: context.config.region,
1592
+ use_dual_stack: context.config.use_dualstack_endpoint,
1593
+ use_fips: context.config.use_fips_endpoint,
1594
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
1595
+ )
1596
+ end
1597
+ end
1598
+
1588
1599
  class TagResource
1589
1600
  def self.build(context)
1590
1601
  Aws::QuickSight::EndpointParameters.new(
@@ -356,6 +356,8 @@ The endpoint provider used to resolve endpoints. Any object that responds to
356
356
  Aws::QuickSight::Endpoints::StartAssetBundleImportJob.build(context)
357
357
  when :start_dashboard_snapshot_job
358
358
  Aws::QuickSight::Endpoints::StartDashboardSnapshotJob.build(context)
359
+ when :start_dashboard_snapshot_job_schedule
360
+ Aws::QuickSight::Endpoints::StartDashboardSnapshotJobSchedule.build(context)
359
361
  when :tag_resource
360
362
  Aws::QuickSight::Endpoints::TagResource.build(context)
361
363
  when :untag_resource
@@ -25487,11 +25487,21 @@ module Aws::QuickSight
25487
25487
  # The ID of the analysis that you're restoring.
25488
25488
  # @return [String]
25489
25489
  #
25490
+ # @!attribute [rw] restore_to_folders
25491
+ # A boolean value that determines if the analysis will be restored to
25492
+ # folders that it previously resided in. A `True` value restores
25493
+ # analysis back to all folders that it previously resided in. A
25494
+ # `False` value restores the analysis but does not restore the
25495
+ # analysis back to all previously resided folders. Restoring a
25496
+ # restricted analysis requires this parameter to be set to `True`.
25497
+ # @return [Boolean]
25498
+ #
25490
25499
  # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/RestoreAnalysisRequest AWS API Documentation
25491
25500
  #
25492
25501
  class RestoreAnalysisRequest < Struct.new(
25493
25502
  :aws_account_id,
25494
- :analysis_id)
25503
+ :analysis_id,
25504
+ :restore_to_folders)
25495
25505
  SENSITIVE = []
25496
25506
  include Aws::Structure
25497
25507
  end
@@ -25513,13 +25523,18 @@ module Aws::QuickSight
25513
25523
  # The Amazon Web Services request ID for this operation.
25514
25524
  # @return [String]
25515
25525
  #
25526
+ # @!attribute [rw] restoration_failed_folder_arns
25527
+ # A list of folder arns thatthe analysis failed to be restored to.
25528
+ # @return [Array<String>]
25529
+ #
25516
25530
  # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/RestoreAnalysisResponse AWS API Documentation
25517
25531
  #
25518
25532
  class RestoreAnalysisResponse < Struct.new(
25519
25533
  :status,
25520
25534
  :arn,
25521
25535
  :analysis_id,
25522
- :request_id)
25536
+ :request_id,
25537
+ :restoration_failed_folder_arns)
25523
25538
  SENSITIVE = []
25524
25539
  include Aws::Structure
25525
25540
  end
@@ -28201,6 +28216,50 @@ module Aws::QuickSight
28201
28216
  include Aws::Structure
28202
28217
  end
28203
28218
 
28219
+ # @!attribute [rw] aws_account_id
28220
+ # The ID of the Amazon Web Services account that the dashboard
28221
+ # snapshot job is executed in.
28222
+ # @return [String]
28223
+ #
28224
+ # @!attribute [rw] dashboard_id
28225
+ # The ID of the dashboard that you want to start a snapshot job
28226
+ # schedule for.
28227
+ # @return [String]
28228
+ #
28229
+ # @!attribute [rw] schedule_id
28230
+ # The ID of the schedule that you want to start a snapshot job
28231
+ # schedule for. The schedule ID can be found in the Amazon QuickSight
28232
+ # console in the **Schedules** pane of the dashboard that the schedule
28233
+ # is configured for.
28234
+ # @return [String]
28235
+ #
28236
+ # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/StartDashboardSnapshotJobScheduleRequest AWS API Documentation
28237
+ #
28238
+ class StartDashboardSnapshotJobScheduleRequest < Struct.new(
28239
+ :aws_account_id,
28240
+ :dashboard_id,
28241
+ :schedule_id)
28242
+ SENSITIVE = []
28243
+ include Aws::Structure
28244
+ end
28245
+
28246
+ # @!attribute [rw] request_id
28247
+ # The Amazon Web Services request ID for this operation.
28248
+ # @return [String]
28249
+ #
28250
+ # @!attribute [rw] status
28251
+ # The HTTP status of the request
28252
+ # @return [Integer]
28253
+ #
28254
+ # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/StartDashboardSnapshotJobScheduleResponse AWS API Documentation
28255
+ #
28256
+ class StartDashboardSnapshotJobScheduleResponse < Struct.new(
28257
+ :request_id,
28258
+ :status)
28259
+ SENSITIVE = []
28260
+ include Aws::Structure
28261
+ end
28262
+
28204
28263
  # The state perssitence configuration of an embedded dashboard.
28205
28264
  #
28206
28265
  # @!attribute [rw] enabled
@@ -54,7 +54,7 @@ module Aws::QuickSight
54
54
  autoload :EndpointProvider, 'aws-sdk-quicksight/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-quicksight/endpoints'
56
56
 
57
- GEM_VERSION = '1.131.0'
57
+ GEM_VERSION = '1.132.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -105164,11 +105164,13 @@ module Aws
105164
105164
  def arn: () -> ::String
105165
105165
  def analysis_id: () -> ::String
105166
105166
  def request_id: () -> ::String
105167
+ def restoration_failed_folder_arns: () -> ::Array[::String]
105167
105168
  end
105168
105169
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QuickSight/Client.html#restore_analysis-instance_method
105169
105170
  def restore_analysis: (
105170
105171
  aws_account_id: ::String,
105171
- analysis_id: ::String
105172
+ analysis_id: ::String,
105173
+ ?restore_to_folders: bool
105172
105174
  ) -> _RestoreAnalysisResponseSuccess
105173
105175
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreAnalysisResponseSuccess
105174
105176
 
@@ -105828,6 +105830,19 @@ module Aws
105828
105830
  ) -> _StartDashboardSnapshotJobResponseSuccess
105829
105831
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartDashboardSnapshotJobResponseSuccess
105830
105832
 
105833
+ interface _StartDashboardSnapshotJobScheduleResponseSuccess
105834
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartDashboardSnapshotJobScheduleResponse]
105835
+ def request_id: () -> ::String
105836
+ def status: () -> ::Integer
105837
+ end
105838
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QuickSight/Client.html#start_dashboard_snapshot_job_schedule-instance_method
105839
+ def start_dashboard_snapshot_job_schedule: (
105840
+ aws_account_id: ::String,
105841
+ dashboard_id: ::String,
105842
+ schedule_id: ::String
105843
+ ) -> _StartDashboardSnapshotJobScheduleResponseSuccess
105844
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartDashboardSnapshotJobScheduleResponseSuccess
105845
+
105831
105846
  interface _TagResourceResponseSuccess
105832
105847
  include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
105833
105848
  def request_id: () -> ::String
data/sig/types.rbs CHANGED
@@ -6492,6 +6492,7 @@ module Aws::QuickSight
6492
6492
  class RestoreAnalysisRequest
6493
6493
  attr_accessor aws_account_id: ::String
6494
6494
  attr_accessor analysis_id: ::String
6495
+ attr_accessor restore_to_folders: bool
6495
6496
  SENSITIVE: []
6496
6497
  end
6497
6498
 
@@ -6500,6 +6501,7 @@ module Aws::QuickSight
6500
6501
  attr_accessor arn: ::String
6501
6502
  attr_accessor analysis_id: ::String
6502
6503
  attr_accessor request_id: ::String
6504
+ attr_accessor restoration_failed_folder_arns: ::Array[::String]
6503
6505
  SENSITIVE: []
6504
6506
  end
6505
6507
 
@@ -7194,6 +7196,19 @@ module Aws::QuickSight
7194
7196
  SENSITIVE: []
7195
7197
  end
7196
7198
 
7199
+ class StartDashboardSnapshotJobScheduleRequest
7200
+ attr_accessor aws_account_id: ::String
7201
+ attr_accessor dashboard_id: ::String
7202
+ attr_accessor schedule_id: ::String
7203
+ SENSITIVE: []
7204
+ end
7205
+
7206
+ class StartDashboardSnapshotJobScheduleResponse
7207
+ attr_accessor request_id: ::String
7208
+ attr_accessor status: ::Integer
7209
+ SENSITIVE: []
7210
+ end
7211
+
7197
7212
  class StatePersistenceConfigurations
7198
7213
  attr_accessor enabled: bool
7199
7214
  SENSITIVE: []
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-quicksight
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.131.0
4
+ version: 1.132.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-03 00:00:00.000000000 Z
11
+ date: 2024-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core