aws-sdk-quicksight 1.131.0 → 1.133.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: b877d5be38c464be1a4893997ef5074faca6cf270c79d4dae513e5b00aeeef5c
4
+ data.tar.gz: 960243baf521e5ab989bf06b0534457ef8ec079f45f552c22578c5f0e23c6d9b
5
5
  SHA512:
6
- metadata.gz: 7141d82353c9f85ec4b97f1802a9de4a68be9a6bbeb9c58f1b830cf0d92c433e43f9d979a77cc9587d4719f46fa05687b53133e80026fa01dd532d13cb77ffe8
7
- data.tar.gz: 15fde12d1b96d61f8019aba1b94133a130b416b429e82b5e695d2a0601c04da780bf12f16cd01aa397a3e7c1ed0da5c69c42e76717e84e78d60cf9016de8774b
6
+ metadata.gz: 21c52a7bb865ec2718291f8819f36d5a2262f29272430029636d7a3f3f985fe8f18d9c25cee1c0e07f3c467e7fcf600e9dda1c3b08f68db7ca714d0ebd0a9dd1
7
+ data.tar.gz: 1452ec78a49a11cdd94af6736835832bc173ac0c1a642f74f3236a9a55e574817622339f92afcadfb2686df28d85a22aba4979a916427024d8e7176ad2b07d89
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.133.0 (2024-10-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.132.0 (2024-10-17)
10
+ ------------------
11
+
12
+ * Feature - Add StartDashboardSnapshotJobSchedule API. RestoreAnalysis now supports restoring analysis to folders.
13
+
4
14
  1.131.0 (2024-10-03)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.131.0
1
+ 1.133.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.133.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"
@@ -52,15 +52,18 @@ module Aws::QuickSight
52
52
  self[:region] = options[:region]
53
53
  self[:use_dual_stack] = options[:use_dual_stack]
54
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
- if self[:use_dual_stack].nil?
56
- raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
- end
58
55
  self[:use_fips] = options[:use_fips]
59
56
  self[:use_fips] = false if self[:use_fips].nil?
60
- if self[:use_fips].nil?
61
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
- end
63
57
  self[:endpoint] = options[:endpoint]
64
58
  end
59
+
60
+ def self.create(config, options={})
61
+ new({
62
+ region: config.region,
63
+ use_dual_stack: config.use_dualstack_endpoint,
64
+ use_fips: config.use_fips_endpoint,
65
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
66
+ }.merge(options))
67
+ end
65
68
  end
66
69
  end