aws-sdk-redshiftserverless 1.4.0 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -63,6 +63,8 @@ module Aws::RedshiftServerless
63
63
  GetResourcePolicyResponse = Shapes::StructureShape.new(name: 'GetResourcePolicyResponse')
64
64
  GetSnapshotRequest = Shapes::StructureShape.new(name: 'GetSnapshotRequest')
65
65
  GetSnapshotResponse = Shapes::StructureShape.new(name: 'GetSnapshotResponse')
66
+ GetTableRestoreStatusRequest = Shapes::StructureShape.new(name: 'GetTableRestoreStatusRequest')
67
+ GetTableRestoreStatusResponse = Shapes::StructureShape.new(name: 'GetTableRestoreStatusResponse')
66
68
  GetUsageLimitRequest = Shapes::StructureShape.new(name: 'GetUsageLimitRequest')
67
69
  GetUsageLimitResponse = Shapes::StructureShape.new(name: 'GetUsageLimitResponse')
68
70
  GetWorkgroupRequest = Shapes::StructureShape.new(name: 'GetWorkgroupRequest')
@@ -86,6 +88,9 @@ module Aws::RedshiftServerless
86
88
  ListSnapshotsRequest = Shapes::StructureShape.new(name: 'ListSnapshotsRequest')
87
89
  ListSnapshotsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListSnapshotsRequestMaxResultsInteger')
88
90
  ListSnapshotsResponse = Shapes::StructureShape.new(name: 'ListSnapshotsResponse')
91
+ ListTableRestoreStatusRequest = Shapes::StructureShape.new(name: 'ListTableRestoreStatusRequest')
92
+ ListTableRestoreStatusRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListTableRestoreStatusRequestMaxResultsInteger')
93
+ ListTableRestoreStatusResponse = Shapes::StructureShape.new(name: 'ListTableRestoreStatusResponse')
89
94
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
90
95
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
91
96
  ListUsageLimitsRequest = Shapes::StructureShape.new(name: 'ListUsageLimitsRequest')
@@ -116,6 +121,8 @@ module Aws::RedshiftServerless
116
121
  RestoreFromRecoveryPointResponse = Shapes::StructureShape.new(name: 'RestoreFromRecoveryPointResponse')
117
122
  RestoreFromSnapshotRequest = Shapes::StructureShape.new(name: 'RestoreFromSnapshotRequest')
118
123
  RestoreFromSnapshotResponse = Shapes::StructureShape.new(name: 'RestoreFromSnapshotResponse')
124
+ RestoreTableFromSnapshotRequest = Shapes::StructureShape.new(name: 'RestoreTableFromSnapshotRequest')
125
+ RestoreTableFromSnapshotResponse = Shapes::StructureShape.new(name: 'RestoreTableFromSnapshotResponse')
119
126
  SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
120
127
  SecurityGroupIdList = Shapes::ListShape.new(name: 'SecurityGroupIdList')
121
128
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
@@ -126,6 +133,8 @@ module Aws::RedshiftServerless
126
133
  SubnetId = Shapes::StringShape.new(name: 'SubnetId')
127
134
  SubnetIdList = Shapes::ListShape.new(name: 'SubnetIdList')
128
135
  SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
136
+ TableRestoreStatus = Shapes::StructureShape.new(name: 'TableRestoreStatus')
137
+ TableRestoreStatusList = Shapes::ListShape.new(name: 'TableRestoreStatusList')
129
138
  Tag = Shapes::StructureShape.new(name: 'Tag')
130
139
  TagKey = Shapes::StringShape.new(name: 'TagKey')
131
140
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
@@ -183,6 +192,7 @@ module Aws::RedshiftServerless
183
192
  ConvertRecoveryPointToSnapshotRequest.add_member(:recovery_point_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "recoveryPointId"))
184
193
  ConvertRecoveryPointToSnapshotRequest.add_member(:retention_period, Shapes::ShapeRef.new(shape: Integer, location_name: "retentionPeriod"))
185
194
  ConvertRecoveryPointToSnapshotRequest.add_member(:snapshot_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "snapshotName"))
195
+ ConvertRecoveryPointToSnapshotRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
186
196
  ConvertRecoveryPointToSnapshotRequest.struct_class = Types::ConvertRecoveryPointToSnapshotRequest
187
197
 
188
198
  ConvertRecoveryPointToSnapshotResponse.add_member(:snapshot, Shapes::ShapeRef.new(shape: Snapshot, location_name: "snapshot"))
@@ -214,6 +224,7 @@ module Aws::RedshiftServerless
214
224
  CreateSnapshotRequest.add_member(:namespace_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "namespaceName"))
215
225
  CreateSnapshotRequest.add_member(:retention_period, Shapes::ShapeRef.new(shape: Integer, location_name: "retentionPeriod"))
216
226
  CreateSnapshotRequest.add_member(:snapshot_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "snapshotName"))
227
+ CreateSnapshotRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
217
228
  CreateSnapshotRequest.struct_class = Types::CreateSnapshotRequest
218
229
 
219
230
  CreateSnapshotResponse.add_member(:snapshot, Shapes::ShapeRef.new(shape: Snapshot, location_name: "snapshot"))
@@ -233,6 +244,7 @@ module Aws::RedshiftServerless
233
244
  CreateWorkgroupRequest.add_member(:config_parameters, Shapes::ShapeRef.new(shape: ConfigParameterList, location_name: "configParameters"))
234
245
  CreateWorkgroupRequest.add_member(:enhanced_vpc_routing, Shapes::ShapeRef.new(shape: Boolean, location_name: "enhancedVpcRouting"))
235
246
  CreateWorkgroupRequest.add_member(:namespace_name, Shapes::ShapeRef.new(shape: NamespaceName, required: true, location_name: "namespaceName"))
247
+ CreateWorkgroupRequest.add_member(:port, Shapes::ShapeRef.new(shape: Integer, location_name: "port"))
236
248
  CreateWorkgroupRequest.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: Boolean, location_name: "publiclyAccessible"))
237
249
  CreateWorkgroupRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdList, location_name: "securityGroupIds"))
238
250
  CreateWorkgroupRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIdList, location_name: "subnetIds"))
@@ -342,6 +354,12 @@ module Aws::RedshiftServerless
342
354
  GetSnapshotResponse.add_member(:snapshot, Shapes::ShapeRef.new(shape: Snapshot, location_name: "snapshot"))
343
355
  GetSnapshotResponse.struct_class = Types::GetSnapshotResponse
344
356
 
357
+ GetTableRestoreStatusRequest.add_member(:table_restore_request_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "tableRestoreRequestId"))
358
+ GetTableRestoreStatusRequest.struct_class = Types::GetTableRestoreStatusRequest
359
+
360
+ GetTableRestoreStatusResponse.add_member(:table_restore_status, Shapes::ShapeRef.new(shape: TableRestoreStatus, location_name: "tableRestoreStatus"))
361
+ GetTableRestoreStatusResponse.struct_class = Types::GetTableRestoreStatusResponse
362
+
345
363
  GetUsageLimitRequest.add_member(:usage_limit_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "usageLimitId"))
346
364
  GetUsageLimitRequest.struct_class = Types::GetUsageLimitRequest
347
365
 
@@ -385,6 +403,7 @@ module Aws::RedshiftServerless
385
403
 
386
404
  ListRecoveryPointsRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
387
405
  ListRecoveryPointsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListRecoveryPointsRequestMaxResultsInteger, location_name: "maxResults", metadata: {"box"=>true}))
406
+ ListRecoveryPointsRequest.add_member(:namespace_arn, Shapes::ShapeRef.new(shape: String, location_name: "namespaceArn"))
388
407
  ListRecoveryPointsRequest.add_member(:namespace_name, Shapes::ShapeRef.new(shape: NamespaceName, location_name: "namespaceName"))
389
408
  ListRecoveryPointsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
390
409
  ListRecoveryPointsRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
@@ -407,6 +426,16 @@ module Aws::RedshiftServerless
407
426
  ListSnapshotsResponse.add_member(:snapshots, Shapes::ShapeRef.new(shape: SnapshotList, location_name: "snapshots"))
408
427
  ListSnapshotsResponse.struct_class = Types::ListSnapshotsResponse
409
428
 
429
+ ListTableRestoreStatusRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListTableRestoreStatusRequestMaxResultsInteger, location_name: "maxResults", metadata: {"box"=>true}))
430
+ ListTableRestoreStatusRequest.add_member(:namespace_name, Shapes::ShapeRef.new(shape: String, location_name: "namespaceName"))
431
+ ListTableRestoreStatusRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
432
+ ListTableRestoreStatusRequest.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: String, location_name: "workgroupName"))
433
+ ListTableRestoreStatusRequest.struct_class = Types::ListTableRestoreStatusRequest
434
+
435
+ ListTableRestoreStatusResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
436
+ ListTableRestoreStatusResponse.add_member(:table_restore_statuses, Shapes::ShapeRef.new(shape: TableRestoreStatusList, location_name: "tableRestoreStatuses"))
437
+ ListTableRestoreStatusResponse.struct_class = Types::ListTableRestoreStatusResponse
438
+
410
439
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "resourceArn"))
411
440
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
412
441
 
@@ -463,6 +492,7 @@ module Aws::RedshiftServerless
463
492
  PutResourcePolicyResponse.add_member(:resource_policy, Shapes::ShapeRef.new(shape: ResourcePolicy, location_name: "resourcePolicy"))
464
493
  PutResourcePolicyResponse.struct_class = Types::PutResourcePolicyResponse
465
494
 
495
+ RecoveryPoint.add_member(:namespace_arn, Shapes::ShapeRef.new(shape: String, location_name: "namespaceArn"))
466
496
  RecoveryPoint.add_member(:namespace_name, Shapes::ShapeRef.new(shape: NamespaceName, location_name: "namespaceName"))
467
497
  RecoveryPoint.add_member(:recovery_point_create_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "recoveryPointCreateTime"))
468
498
  RecoveryPoint.add_member(:recovery_point_id, Shapes::ShapeRef.new(shape: String, location_name: "recoveryPointId"))
@@ -501,6 +531,21 @@ module Aws::RedshiftServerless
501
531
  RestoreFromSnapshotResponse.add_member(:snapshot_name, Shapes::ShapeRef.new(shape: String, location_name: "snapshotName"))
502
532
  RestoreFromSnapshotResponse.struct_class = Types::RestoreFromSnapshotResponse
503
533
 
534
+ RestoreTableFromSnapshotRequest.add_member(:activate_case_sensitive_identifier, Shapes::ShapeRef.new(shape: Boolean, location_name: "activateCaseSensitiveIdentifier"))
535
+ RestoreTableFromSnapshotRequest.add_member(:namespace_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "namespaceName"))
536
+ RestoreTableFromSnapshotRequest.add_member(:new_table_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "newTableName"))
537
+ RestoreTableFromSnapshotRequest.add_member(:snapshot_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "snapshotName"))
538
+ RestoreTableFromSnapshotRequest.add_member(:source_database_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "sourceDatabaseName"))
539
+ RestoreTableFromSnapshotRequest.add_member(:source_schema_name, Shapes::ShapeRef.new(shape: String, location_name: "sourceSchemaName"))
540
+ RestoreTableFromSnapshotRequest.add_member(:source_table_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "sourceTableName"))
541
+ RestoreTableFromSnapshotRequest.add_member(:target_database_name, Shapes::ShapeRef.new(shape: String, location_name: "targetDatabaseName"))
542
+ RestoreTableFromSnapshotRequest.add_member(:target_schema_name, Shapes::ShapeRef.new(shape: String, location_name: "targetSchemaName"))
543
+ RestoreTableFromSnapshotRequest.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "workgroupName"))
544
+ RestoreTableFromSnapshotRequest.struct_class = Types::RestoreTableFromSnapshotRequest
545
+
546
+ RestoreTableFromSnapshotResponse.add_member(:table_restore_status, Shapes::ShapeRef.new(shape: TableRestoreStatus, location_name: "tableRestoreStatus"))
547
+ RestoreTableFromSnapshotResponse.struct_class = Types::RestoreTableFromSnapshotResponse
548
+
504
549
  SecurityGroupIdList.member = Shapes::ShapeRef.new(shape: SecurityGroupId)
505
550
 
506
551
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
@@ -532,6 +577,25 @@ module Aws::RedshiftServerless
532
577
 
533
578
  SubnetIdList.member = Shapes::ShapeRef.new(shape: SubnetId)
534
579
 
580
+ TableRestoreStatus.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
581
+ TableRestoreStatus.add_member(:namespace_name, Shapes::ShapeRef.new(shape: String, location_name: "namespaceName"))
582
+ TableRestoreStatus.add_member(:new_table_name, Shapes::ShapeRef.new(shape: String, location_name: "newTableName"))
583
+ TableRestoreStatus.add_member(:progress_in_mega_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "progressInMegaBytes"))
584
+ TableRestoreStatus.add_member(:request_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "requestTime"))
585
+ TableRestoreStatus.add_member(:snapshot_name, Shapes::ShapeRef.new(shape: String, location_name: "snapshotName"))
586
+ TableRestoreStatus.add_member(:source_database_name, Shapes::ShapeRef.new(shape: String, location_name: "sourceDatabaseName"))
587
+ TableRestoreStatus.add_member(:source_schema_name, Shapes::ShapeRef.new(shape: String, location_name: "sourceSchemaName"))
588
+ TableRestoreStatus.add_member(:source_table_name, Shapes::ShapeRef.new(shape: String, location_name: "sourceTableName"))
589
+ TableRestoreStatus.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
590
+ TableRestoreStatus.add_member(:table_restore_request_id, Shapes::ShapeRef.new(shape: String, location_name: "tableRestoreRequestId"))
591
+ TableRestoreStatus.add_member(:target_database_name, Shapes::ShapeRef.new(shape: String, location_name: "targetDatabaseName"))
592
+ TableRestoreStatus.add_member(:target_schema_name, Shapes::ShapeRef.new(shape: String, location_name: "targetSchemaName"))
593
+ TableRestoreStatus.add_member(:total_data_in_mega_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "totalDataInMegaBytes"))
594
+ TableRestoreStatus.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: String, location_name: "workgroupName"))
595
+ TableRestoreStatus.struct_class = Types::TableRestoreStatus
596
+
597
+ TableRestoreStatusList.member = Shapes::ShapeRef.new(shape: TableRestoreStatus)
598
+
535
599
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
536
600
  Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "value"))
537
601
  Tag.struct_class = Types::Tag
@@ -597,6 +661,7 @@ module Aws::RedshiftServerless
597
661
  UpdateWorkgroupRequest.add_member(:base_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "baseCapacity"))
598
662
  UpdateWorkgroupRequest.add_member(:config_parameters, Shapes::ShapeRef.new(shape: ConfigParameterList, location_name: "configParameters"))
599
663
  UpdateWorkgroupRequest.add_member(:enhanced_vpc_routing, Shapes::ShapeRef.new(shape: Boolean, location_name: "enhancedVpcRouting"))
664
+ UpdateWorkgroupRequest.add_member(:port, Shapes::ShapeRef.new(shape: Integer, location_name: "port"))
600
665
  UpdateWorkgroupRequest.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: Boolean, location_name: "publiclyAccessible"))
601
666
  UpdateWorkgroupRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdList, location_name: "securityGroupIds"))
602
667
  UpdateWorkgroupRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIdList, location_name: "subnetIds"))
@@ -641,6 +706,7 @@ module Aws::RedshiftServerless
641
706
  Workgroup.add_member(:endpoint, Shapes::ShapeRef.new(shape: Endpoint, location_name: "endpoint"))
642
707
  Workgroup.add_member(:enhanced_vpc_routing, Shapes::ShapeRef.new(shape: Boolean, location_name: "enhancedVpcRouting"))
643
708
  Workgroup.add_member(:namespace_name, Shapes::ShapeRef.new(shape: String, location_name: "namespaceName"))
709
+ Workgroup.add_member(:port, Shapes::ShapeRef.new(shape: Integer, location_name: "port"))
644
710
  Workgroup.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: Boolean, location_name: "publiclyAccessible"))
645
711
  Workgroup.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdList, location_name: "securityGroupIds"))
646
712
  Workgroup.add_member(:status, Shapes::ShapeRef.new(shape: WorkgroupStatus, location_name: "status"))
@@ -681,6 +747,7 @@ module Aws::RedshiftServerless
681
747
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
682
748
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
683
749
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
750
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
684
751
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
685
752
  end)
686
753
 
@@ -720,6 +787,7 @@ module Aws::RedshiftServerless
720
787
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
721
788
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
722
789
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
790
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
723
791
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
724
792
  end)
725
793
 
@@ -889,6 +957,16 @@ module Aws::RedshiftServerless
889
957
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
890
958
  end)
891
959
 
960
+ api.add_operation(:get_table_restore_status, Seahorse::Model::Operation.new.tap do |o|
961
+ o.name = "GetTableRestoreStatus"
962
+ o.http_method = "POST"
963
+ o.http_request_uri = "/"
964
+ o.input = Shapes::ShapeRef.new(shape: GetTableRestoreStatusRequest)
965
+ o.output = Shapes::ShapeRef.new(shape: GetTableRestoreStatusResponse)
966
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
967
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
968
+ end)
969
+
892
970
  api.add_operation(:get_usage_limit, Seahorse::Model::Operation.new.tap do |o|
893
971
  o.name = "GetUsageLimit"
894
972
  o.http_method = "POST"
@@ -979,6 +1057,23 @@ module Aws::RedshiftServerless
979
1057
  )
980
1058
  end)
981
1059
 
1060
+ api.add_operation(:list_table_restore_status, Seahorse::Model::Operation.new.tap do |o|
1061
+ o.name = "ListTableRestoreStatus"
1062
+ o.http_method = "POST"
1063
+ o.http_request_uri = "/"
1064
+ o.input = Shapes::ShapeRef.new(shape: ListTableRestoreStatusRequest)
1065
+ o.output = Shapes::ShapeRef.new(shape: ListTableRestoreStatusResponse)
1066
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationException)
1067
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1068
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1069
+ o[:pager] = Aws::Pager.new(
1070
+ limit_key: "max_results",
1071
+ tokens: {
1072
+ "next_token" => "next_token"
1073
+ }
1074
+ )
1075
+ end)
1076
+
982
1077
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
983
1078
  o.name = "ListTagsForResource"
984
1079
  o.http_method = "POST"
@@ -1064,6 +1159,18 @@ module Aws::RedshiftServerless
1064
1159
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1065
1160
  end)
1066
1161
 
1162
+ api.add_operation(:restore_table_from_snapshot, Seahorse::Model::Operation.new.tap do |o|
1163
+ o.name = "RestoreTableFromSnapshot"
1164
+ o.http_method = "POST"
1165
+ o.http_request_uri = "/"
1166
+ o.input = Shapes::ShapeRef.new(shape: RestoreTableFromSnapshotRequest)
1167
+ o.output = Shapes::ShapeRef.new(shape: RestoreTableFromSnapshotResponse)
1168
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1169
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1170
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1171
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1172
+ end)
1173
+
1067
1174
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1068
1175
  o.name = "TagResource"
1069
1176
  o.http_method = "POST"
@@ -263,6 +263,20 @@ module Aws::RedshiftServerless
263
263
  end
264
264
  end
265
265
 
266
+ class GetTableRestoreStatus
267
+ def self.build(context)
268
+ unless context.config.regional_endpoint
269
+ endpoint = context.config.endpoint.to_s
270
+ end
271
+ Aws::RedshiftServerless::EndpointParameters.new(
272
+ region: context.config.region,
273
+ use_dual_stack: context.config.use_dualstack_endpoint,
274
+ use_fips: context.config.use_fips_endpoint,
275
+ endpoint: endpoint,
276
+ )
277
+ end
278
+ end
279
+
266
280
  class GetUsageLimit
267
281
  def self.build(context)
268
282
  unless context.config.regional_endpoint
@@ -347,6 +361,20 @@ module Aws::RedshiftServerless
347
361
  end
348
362
  end
349
363
 
364
+ class ListTableRestoreStatus
365
+ def self.build(context)
366
+ unless context.config.regional_endpoint
367
+ endpoint = context.config.endpoint.to_s
368
+ end
369
+ Aws::RedshiftServerless::EndpointParameters.new(
370
+ region: context.config.region,
371
+ use_dual_stack: context.config.use_dualstack_endpoint,
372
+ use_fips: context.config.use_fips_endpoint,
373
+ endpoint: endpoint,
374
+ )
375
+ end
376
+ end
377
+
350
378
  class ListTagsForResource
351
379
  def self.build(context)
352
380
  unless context.config.regional_endpoint
@@ -431,6 +459,20 @@ module Aws::RedshiftServerless
431
459
  end
432
460
  end
433
461
 
462
+ class RestoreTableFromSnapshot
463
+ def self.build(context)
464
+ unless context.config.regional_endpoint
465
+ endpoint = context.config.endpoint.to_s
466
+ end
467
+ Aws::RedshiftServerless::EndpointParameters.new(
468
+ region: context.config.region,
469
+ use_dual_stack: context.config.use_dualstack_endpoint,
470
+ use_fips: context.config.use_fips_endpoint,
471
+ endpoint: endpoint,
472
+ )
473
+ end
474
+ end
475
+
434
476
  class TagResource
435
477
  def self.build(context)
436
478
  unless context.config.regional_endpoint
@@ -92,6 +92,8 @@ module Aws::RedshiftServerless
92
92
  Aws::RedshiftServerless::Endpoints::GetResourcePolicy.build(context)
93
93
  when :get_snapshot
94
94
  Aws::RedshiftServerless::Endpoints::GetSnapshot.build(context)
95
+ when :get_table_restore_status
96
+ Aws::RedshiftServerless::Endpoints::GetTableRestoreStatus.build(context)
95
97
  when :get_usage_limit
96
98
  Aws::RedshiftServerless::Endpoints::GetUsageLimit.build(context)
97
99
  when :get_workgroup
@@ -104,6 +106,8 @@ module Aws::RedshiftServerless
104
106
  Aws::RedshiftServerless::Endpoints::ListRecoveryPoints.build(context)
105
107
  when :list_snapshots
106
108
  Aws::RedshiftServerless::Endpoints::ListSnapshots.build(context)
109
+ when :list_table_restore_status
110
+ Aws::RedshiftServerless::Endpoints::ListTableRestoreStatus.build(context)
107
111
  when :list_tags_for_resource
108
112
  Aws::RedshiftServerless::Endpoints::ListTagsForResource.build(context)
109
113
  when :list_usage_limits
@@ -116,6 +120,8 @@ module Aws::RedshiftServerless
116
120
  Aws::RedshiftServerless::Endpoints::RestoreFromRecoveryPoint.build(context)
117
121
  when :restore_from_snapshot
118
122
  Aws::RedshiftServerless::Endpoints::RestoreFromSnapshot.build(context)
123
+ when :restore_table_from_snapshot
124
+ Aws::RedshiftServerless::Endpoints::RestoreTableFromSnapshot.build(context)
119
125
  when :tag_resource
120
126
  Aws::RedshiftServerless::Endpoints::TagResource.build(context)
121
127
  when :untag_resource