aws-sdk-s3tables 1.48.0 → 1.49.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.
@@ -16,8 +16,14 @@ module Aws::S3Tables
16
16
 
17
17
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
18
18
  AccountId = Shapes::StringShape.new(name: 'AccountId')
19
+ AwsOrgARN = Shapes::StringShape.new(name: 'AwsOrgARN')
19
20
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
21
+ Blob = Shapes::BlobShape.new(name: 'Blob')
20
22
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
23
+ ChannelErrorCode = Shapes::StringShape.new(name: 'ChannelErrorCode')
24
+ ChannelId = Shapes::StringShape.new(name: 'ChannelId')
25
+ ChannelState = Shapes::StringShape.new(name: 'ChannelState')
26
+ ChecksumAlgorithm = Shapes::StringShape.new(name: 'ChecksumAlgorithm')
21
27
  ChecksumCRC64NVME = Shapes::StringShape.new(name: 'ChecksumCRC64NVME')
22
28
  CompleteTableMigrationRequest = Shapes::StructureShape.new(name: 'CompleteTableMigrationRequest')
23
29
  CompressionCodec = Shapes::StringShape.new(name: 'CompressionCodec')
@@ -33,6 +39,7 @@ module Aws::S3Tables
33
39
  DataMigrationOverview = Shapes::StructureShape.new(name: 'DataMigrationOverview')
34
40
  DataMigrationSettings = Shapes::StructureShape.new(name: 'DataMigrationSettings')
35
41
  DeleteNamespaceRequest = Shapes::StructureShape.new(name: 'DeleteNamespaceRequest')
42
+ DeleteStorageLensConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteStorageLensConfigurationRequest')
36
43
  DeleteTableBucketEncryptionRequest = Shapes::StructureShape.new(name: 'DeleteTableBucketEncryptionRequest')
37
44
  DeleteTableBucketMetricsConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteTableBucketMetricsConfigurationRequest')
38
45
  DeleteTableBucketPolicyRequest = Shapes::StructureShape.new(name: 'DeleteTableBucketPolicyRequest')
@@ -51,8 +58,12 @@ module Aws::S3Tables
51
58
  FindingCategory = Shapes::StringShape.new(name: 'FindingCategory')
52
59
  FindingCategoryCounts = Shapes::MapShape.new(name: 'FindingCategoryCounts')
53
60
  ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
61
+ GetChannelRequest = Shapes::StructureShape.new(name: 'GetChannelRequest')
62
+ GetChannelResponse = Shapes::StructureShape.new(name: 'GetChannelResponse')
54
63
  GetNamespaceRequest = Shapes::StructureShape.new(name: 'GetNamespaceRequest')
55
64
  GetNamespaceResponse = Shapes::StructureShape.new(name: 'GetNamespaceResponse')
65
+ GetStorageLensConfigurationRequest = Shapes::StructureShape.new(name: 'GetStorageLensConfigurationRequest')
66
+ GetStorageLensConfigurationResponse = Shapes::StructureShape.new(name: 'GetStorageLensConfigurationResponse')
56
67
  GetTableBucketEncryptionRequest = Shapes::StructureShape.new(name: 'GetTableBucketEncryptionRequest')
57
68
  GetTableBucketEncryptionResponse = Shapes::StructureShape.new(name: 'GetTableBucketEncryptionResponse')
58
69
  GetTableBucketLoggingRequest = Shapes::StructureShape.new(name: 'GetTableBucketLoggingRequest')
@@ -123,6 +134,8 @@ module Aws::S3Tables
123
134
  ListNamespacesRequest = Shapes::StructureShape.new(name: 'ListNamespacesRequest')
124
135
  ListNamespacesRequestPrefixString = Shapes::StringShape.new(name: 'ListNamespacesRequestPrefixString')
125
136
  ListNamespacesResponse = Shapes::StructureShape.new(name: 'ListNamespacesResponse')
137
+ ListStorageLensConfigurationsRequest = Shapes::StructureShape.new(name: 'ListStorageLensConfigurationsRequest')
138
+ ListStorageLensConfigurationsResponse = Shapes::StructureShape.new(name: 'ListStorageLensConfigurationsResponse')
126
139
  ListTableBucketsLimit = Shapes::IntegerShape.new(name: 'ListTableBucketsLimit')
127
140
  ListTableBucketsRequest = Shapes::StructureShape.new(name: 'ListTableBucketsRequest')
128
141
  ListTableBucketsRequestPrefixString = Shapes::StringShape.new(name: 'ListTableBucketsRequestPrefixString')
@@ -176,8 +189,14 @@ module Aws::S3Tables
176
189
  OpenTableFormat = Shapes::StringShape.new(name: 'OpenTableFormat')
177
190
  PartitionDateSource = Shapes::StringShape.new(name: 'PartitionDateSource')
178
191
  PartitionedPrefix = Shapes::StructureShape.new(name: 'PartitionedPrefix')
192
+ PayloadFormat = Shapes::StringShape.new(name: 'PayloadFormat')
179
193
  PlanningStats = Shapes::StructureShape.new(name: 'PlanningStats')
180
194
  PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
195
+ PutRowsRequest = Shapes::StructureShape.new(name: 'PutRowsRequest')
196
+ PutRowsResponse = Shapes::StructureShape.new(name: 'PutRowsResponse')
197
+ PutRowsResponseAcceptedRowsLong = Shapes::IntegerShape.new(name: 'PutRowsResponseAcceptedRowsLong')
198
+ PutStorageLensConfigurationRequest = Shapes::StructureShape.new(name: 'PutStorageLensConfigurationRequest')
199
+ PutStorageLensConfigurationResponse = Shapes::StructureShape.new(name: 'PutStorageLensConfigurationResponse')
181
200
  PutTableBucketEncryptionRequest = Shapes::StructureShape.new(name: 'PutTableBucketEncryptionRequest')
182
201
  PutTableBucketLoggingRequest = Shapes::StructureShape.new(name: 'PutTableBucketLoggingRequest')
183
202
  PutTableBucketMaintenanceConfigurationRequest = Shapes::StructureShape.new(name: 'PutTableBucketMaintenanceConfigurationRequest')
@@ -191,6 +210,8 @@ module Aws::S3Tables
191
210
  PutTableRecordExpirationConfigurationRequest = Shapes::StructureShape.new(name: 'PutTableRecordExpirationConfigurationRequest')
192
211
  PutTableReplicationRequest = Shapes::StructureShape.new(name: 'PutTableReplicationRequest')
193
212
  PutTableReplicationResponse = Shapes::StructureShape.new(name: 'PutTableReplicationResponse')
213
+ Region = Shapes::StringShape.new(name: 'Region')
214
+ RegionList = Shapes::ListShape.new(name: 'RegionList')
194
215
  RenameTableRequest = Shapes::StructureShape.new(name: 'RenameTableRequest')
195
216
  ReplicationDestination = Shapes::StructureShape.new(name: 'ReplicationDestination')
196
217
  ReplicationDestinationStatusModel = Shapes::StructureShape.new(name: 'ReplicationDestinationStatusModel')
@@ -204,23 +225,41 @@ module Aws::S3Tables
204
225
  ResourcePolicy = Shapes::StringShape.new(name: 'ResourcePolicy')
205
226
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
206
227
  S3BucketARN = Shapes::StringShape.new(name: 'S3BucketARN')
228
+ S3BucketDestination = Shapes::StructureShape.new(name: 'S3BucketDestination')
229
+ S3BucketDestinationPrefixString = Shapes::StringShape.new(name: 'S3BucketDestinationPrefixString')
207
230
  SSEAlgorithm = Shapes::StringShape.new(name: 'SSEAlgorithm')
208
231
  SchemaField = Shapes::StructureShape.new(name: 'SchemaField')
209
232
  SchemaFieldList = Shapes::ListShape.new(name: 'SchemaFieldList')
210
233
  SchemaV2Field = Shapes::StructureShape.new(name: 'SchemaV2Field')
211
234
  SchemaV2FieldList = Shapes::ListShape.new(name: 'SchemaV2FieldList')
212
235
  SchemaV2FieldType = Shapes::StringShape.new(name: 'SchemaV2FieldType')
236
+ ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
213
237
  SourceConfiguration = Shapes::UnionShape.new(name: 'SourceConfiguration')
214
238
  StartTableMigrationRequest = Shapes::StructureShape.new(name: 'StartTableMigrationRequest')
215
239
  StartTableMigrationResponse = Shapes::StructureShape.new(name: 'StartTableMigrationResponse')
216
240
  StorageClass = Shapes::StringShape.new(name: 'StorageClass')
217
241
  StorageClassConfiguration = Shapes::StructureShape.new(name: 'StorageClassConfiguration')
242
+ StorageLensARN = Shapes::StringShape.new(name: 'StorageLensARN')
243
+ StorageLensAwsOrg = Shapes::StructureShape.new(name: 'StorageLensAwsOrg')
244
+ StorageLensConfiguration = Shapes::StructureShape.new(name: 'StorageLensConfiguration')
245
+ StorageLensConfigurationId = Shapes::StringShape.new(name: 'StorageLensConfigurationId')
246
+ StorageLensConfigurationItem = Shapes::StructureShape.new(name: 'StorageLensConfigurationItem')
247
+ StorageLensConfigurationSummary = Shapes::StructureShape.new(name: 'StorageLensConfigurationSummary')
248
+ StorageLensConfigurationSummaryList = Shapes::ListShape.new(name: 'StorageLensConfigurationSummaryList')
249
+ StorageLensDataExport = Shapes::StructureShape.new(name: 'StorageLensDataExport')
250
+ StorageLensMetricsCategoryList = Shapes::ListShape.new(name: 'StorageLensMetricsCategoryList')
251
+ StorageLensMetricsCategoryType = Shapes::StringShape.new(name: 'StorageLensMetricsCategoryType')
252
+ StorageLensOutputFormat = Shapes::StringShape.new(name: 'StorageLensOutputFormat')
253
+ StorageLensOutputSchemaVersion = Shapes::StringShape.new(name: 'StorageLensOutputSchemaVersion')
254
+ StorageLensScope = Shapes::StructureShape.new(name: 'StorageLensScope')
255
+ StorageLensTableDestination = Shapes::StructureShape.new(name: 'StorageLensTableDestination')
218
256
  String = Shapes::StringShape.new(name: 'String')
219
257
  SyncTableMigrationRequest = Shapes::StructureShape.new(name: 'SyncTableMigrationRequest')
220
258
  SyncTableMigrationResponse = Shapes::StructureShape.new(name: 'SyncTableMigrationResponse')
221
259
  SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
222
260
  TableARN = Shapes::StringShape.new(name: 'TableARN')
223
261
  TableBucketARN = Shapes::StringShape.new(name: 'TableBucketARN')
262
+ TableBucketARNList = Shapes::ListShape.new(name: 'TableBucketARNList')
224
263
  TableBucketId = Shapes::StringShape.new(name: 'TableBucketId')
225
264
  TableBucketLoggingStatus = Shapes::StructureShape.new(name: 'TableBucketLoggingStatus')
226
265
  TableBucketMaintenanceConfiguration = Shapes::MapShape.new(name: 'TableBucketMaintenanceConfiguration')
@@ -331,6 +370,9 @@ module Aws::S3Tables
331
370
  DeleteNamespaceRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: NamespaceName, required: true, location: "uri", location_name: "namespace"))
332
371
  DeleteNamespaceRequest.struct_class = Types::DeleteNamespaceRequest
333
372
 
373
+ DeleteStorageLensConfigurationRequest.add_member(:storage_lens_id, Shapes::ShapeRef.new(shape: StorageLensConfigurationId, required: true, location: "uri", location_name: "storageLensId"))
374
+ DeleteStorageLensConfigurationRequest.struct_class = Types::DeleteStorageLensConfigurationRequest
375
+
334
376
  DeleteTableBucketEncryptionRequest.add_member(:table_bucket_arn, Shapes::ShapeRef.new(shape: TableBucketARN, required: true, location: "uri", location_name: "tableBucketARN"))
335
377
  DeleteTableBucketEncryptionRequest.struct_class = Types::DeleteTableBucketEncryptionRequest
336
378
 
@@ -388,6 +430,16 @@ module Aws::S3Tables
388
430
  ForbiddenException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
389
431
  ForbiddenException.struct_class = Types::ForbiddenException
390
432
 
433
+ GetChannelRequest.add_member(:table_arn, Shapes::ShapeRef.new(shape: TableARN, required: true, location: "querystring", location_name: "tableArn", metadata: {"contextParam" => {"name" => "TableResourceArn"}}))
434
+ GetChannelRequest.add_member(:channel_id, Shapes::ShapeRef.new(shape: ChannelId, location: "querystring", location_name: "channelId"))
435
+ GetChannelRequest.struct_class = Types::GetChannelRequest
436
+
437
+ GetChannelResponse.add_member(:state, Shapes::ShapeRef.new(shape: ChannelState, required: true, location_name: "state"))
438
+ GetChannelResponse.add_member(:approximate_number_of_buffered_rows, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "approximateNumberOfBufferedRows"))
439
+ GetChannelResponse.add_member(:error_code, Shapes::ShapeRef.new(shape: ChannelErrorCode, location_name: "errorCode"))
440
+ GetChannelResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "errorMessage"))
441
+ GetChannelResponse.struct_class = Types::GetChannelResponse
442
+
391
443
  GetNamespaceRequest.add_member(:table_bucket_arn, Shapes::ShapeRef.new(shape: TableBucketARN, required: true, location: "uri", location_name: "tableBucketARN"))
392
444
  GetNamespaceRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: NamespaceName, required: true, location: "uri", location_name: "namespace"))
393
445
  GetNamespaceRequest.struct_class = Types::GetNamespaceRequest
@@ -400,6 +452,12 @@ module Aws::S3Tables
400
452
  GetNamespaceResponse.add_member(:table_bucket_id, Shapes::ShapeRef.new(shape: TableBucketId, location_name: "tableBucketId"))
401
453
  GetNamespaceResponse.struct_class = Types::GetNamespaceResponse
402
454
 
455
+ GetStorageLensConfigurationRequest.add_member(:storage_lens_id, Shapes::ShapeRef.new(shape: StorageLensConfigurationId, required: true, location: "uri", location_name: "storageLensId"))
456
+ GetStorageLensConfigurationRequest.struct_class = Types::GetStorageLensConfigurationRequest
457
+
458
+ GetStorageLensConfigurationResponse.add_member(:storage_lens_configuration, Shapes::ShapeRef.new(shape: StorageLensConfiguration, required: true, location_name: "storageLensConfiguration"))
459
+ GetStorageLensConfigurationResponse.struct_class = Types::GetStorageLensConfigurationResponse
460
+
403
461
  GetTableBucketEncryptionRequest.add_member(:table_bucket_arn, Shapes::ShapeRef.new(shape: TableBucketARN, required: true, location: "uri", location_name: "tableBucketARN"))
404
462
  GetTableBucketEncryptionRequest.struct_class = Types::GetTableBucketEncryptionRequest
405
463
 
@@ -663,6 +721,13 @@ module Aws::S3Tables
663
721
  ListNamespacesResponse.add_member(:continuation_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "continuationToken"))
664
722
  ListNamespacesResponse.struct_class = Types::ListNamespacesResponse
665
723
 
724
+ ListStorageLensConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
725
+ ListStorageLensConfigurationsRequest.struct_class = Types::ListStorageLensConfigurationsRequest
726
+
727
+ ListStorageLensConfigurationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
728
+ ListStorageLensConfigurationsResponse.add_member(:storage_lens_configurations, Shapes::ShapeRef.new(shape: StorageLensConfigurationSummaryList, required: true, location_name: "storageLensConfigurations"))
729
+ ListStorageLensConfigurationsResponse.struct_class = Types::ListStorageLensConfigurationsResponse
730
+
666
731
  ListTableBucketsRequest.add_member(:prefix, Shapes::ShapeRef.new(shape: ListTableBucketsRequestPrefixString, location: "querystring", location_name: "prefix"))
667
732
  ListTableBucketsRequest.add_member(:continuation_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "continuationToken"))
668
733
  ListTableBucketsRequest.add_member(:max_buckets, Shapes::ShapeRef.new(shape: ListTableBucketsLimit, location: "querystring", location_name: "maxBuckets"))
@@ -798,6 +863,26 @@ module Aws::S3Tables
798
863
  PlanningStats.add_member(:partition_count, Shapes::ShapeRef.new(shape: Long, location_name: "partitionCount"))
799
864
  PlanningStats.struct_class = Types::PlanningStats
800
865
 
866
+ PutRowsRequest.add_member(:table_arn, Shapes::ShapeRef.new(shape: TableARN, required: true, location: "querystring", location_name: "tableArn", metadata: {"contextParam" => {"name" => "TableResourceArn"}}))
867
+ PutRowsRequest.add_member(:channel_id, Shapes::ShapeRef.new(shape: ChannelId, location: "querystring", location_name: "channelId"))
868
+ PutRowsRequest.add_member(:payload, Shapes::ShapeRef.new(shape: Blob, required: true, location_name: "payload"))
869
+ PutRowsRequest.add_member(:payload_format, Shapes::ShapeRef.new(shape: PayloadFormat, required: true, location: "header", location_name: "x-amz-payload-format"))
870
+ PutRowsRequest.add_member(:checksum_algorithm, Shapes::ShapeRef.new(shape: ChecksumAlgorithm, location: "header", location_name: "x-amz-sdk-checksum-algorithm"))
871
+ PutRowsRequest.struct_class = Types::PutRowsRequest
872
+ PutRowsRequest[:payload] = :payload
873
+ PutRowsRequest[:payload_member] = PutRowsRequest.member(:payload)
874
+
875
+ PutRowsResponse.add_member(:accepted_rows, Shapes::ShapeRef.new(shape: PutRowsResponseAcceptedRowsLong, required: true, location_name: "acceptedRows"))
876
+ PutRowsResponse.struct_class = Types::PutRowsResponse
877
+
878
+ PutStorageLensConfigurationRequest.add_member(:storage_lens_id, Shapes::ShapeRef.new(shape: StorageLensConfigurationId, required: true, location: "uri", location_name: "storageLensId"))
879
+ PutStorageLensConfigurationRequest.add_member(:storage_lens_configuration, Shapes::ShapeRef.new(shape: StorageLensConfiguration, required: true, location_name: "storageLensConfiguration"))
880
+ PutStorageLensConfigurationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
881
+ PutStorageLensConfigurationRequest.struct_class = Types::PutStorageLensConfigurationRequest
882
+
883
+ PutStorageLensConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: StorageLensARN, required: true, location_name: "arn"))
884
+ PutStorageLensConfigurationResponse.struct_class = Types::PutStorageLensConfigurationResponse
885
+
801
886
  PutTableBucketEncryptionRequest.add_member(:table_bucket_arn, Shapes::ShapeRef.new(shape: TableBucketARN, required: true, location: "uri", location_name: "tableBucketARN"))
802
887
  PutTableBucketEncryptionRequest.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, required: true, location_name: "encryptionConfiguration"))
803
888
  PutTableBucketEncryptionRequest.struct_class = Types::PutTableBucketEncryptionRequest
@@ -857,6 +942,8 @@ module Aws::S3Tables
857
942
  PutTableReplicationResponse.add_member(:status, Shapes::ShapeRef.new(shape: String, required: true, location_name: "status"))
858
943
  PutTableReplicationResponse.struct_class = Types::PutTableReplicationResponse
859
944
 
945
+ RegionList.member = Shapes::ShapeRef.new(shape: Region)
946
+
860
947
  RenameTableRequest.add_member(:table_bucket_arn, Shapes::ShapeRef.new(shape: TableBucketARN, required: true, location: "uri", location_name: "tableBucketARN"))
861
948
  RenameTableRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: NamespaceName, required: true, location: "uri", location_name: "namespace"))
862
949
  RenameTableRequest.add_member(:name, Shapes::ShapeRef.new(shape: TableName, required: true, location: "uri", location_name: "name"))
@@ -888,6 +975,14 @@ module Aws::S3Tables
888
975
  ReportOverview.add_member(:invalid_findings, Shapes::ShapeRef.new(shape: FindingCategoryCounts, location_name: "invalidFindings"))
889
976
  ReportOverview.struct_class = Types::ReportOverview
890
977
 
978
+ S3BucketDestination.add_member(:format, Shapes::ShapeRef.new(shape: StorageLensOutputFormat, required: true, location_name: "format"))
979
+ S3BucketDestination.add_member(:output_schema_version, Shapes::ShapeRef.new(shape: StorageLensOutputSchemaVersion, required: true, location_name: "outputSchemaVersion"))
980
+ S3BucketDestination.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
981
+ S3BucketDestination.add_member(:arn, Shapes::ShapeRef.new(shape: S3BucketARN, required: true, location_name: "arn"))
982
+ S3BucketDestination.add_member(:prefix, Shapes::ShapeRef.new(shape: S3BucketDestinationPrefixString, location_name: "prefix"))
983
+ S3BucketDestination.add_member(:encryption, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryption"))
984
+ S3BucketDestination.struct_class = Types::S3BucketDestination
985
+
891
986
  SchemaField.add_member(:id, Shapes::ShapeRef.new(shape: Integer, location_name: "id"))
892
987
  SchemaField.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
893
988
  SchemaField.add_member(:type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "type"))
@@ -905,6 +1000,9 @@ module Aws::S3Tables
905
1000
 
906
1001
  SchemaV2FieldList.member = Shapes::ShapeRef.new(shape: SchemaV2Field)
907
1002
 
1003
+ ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
1004
+ ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
1005
+
908
1006
  SourceConfiguration.add_member(:glue_table, Shapes::ShapeRef.new(shape: GlueTableSource, location_name: "glueTable"))
909
1007
  SourceConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
910
1008
  SourceConfiguration.add_member_subclass(:glue_table, Types::SourceConfiguration::GlueTable)
@@ -927,6 +1025,45 @@ module Aws::S3Tables
927
1025
  StorageClassConfiguration.add_member(:storage_class, Shapes::ShapeRef.new(shape: StorageClass, required: true, location_name: "storageClass"))
928
1026
  StorageClassConfiguration.struct_class = Types::StorageClassConfiguration
929
1027
 
1028
+ StorageLensAwsOrg.add_member(:arn, Shapes::ShapeRef.new(shape: AwsOrgARN, location_name: "arn"))
1029
+ StorageLensAwsOrg.struct_class = Types::StorageLensAwsOrg
1030
+
1031
+ StorageLensConfiguration.add_member(:id, Shapes::ShapeRef.new(shape: StorageLensConfigurationId, required: true, location_name: "id"))
1032
+ StorageLensConfiguration.add_member(:advanced_metrics_categories, Shapes::ShapeRef.new(shape: StorageLensMetricsCategoryList, required: true, location_name: "advancedMetricsCategories"))
1033
+ StorageLensConfiguration.add_member(:include, Shapes::ShapeRef.new(shape: StorageLensScope, location_name: "include"))
1034
+ StorageLensConfiguration.add_member(:exclude, Shapes::ShapeRef.new(shape: StorageLensScope, location_name: "exclude"))
1035
+ StorageLensConfiguration.add_member(:data_export, Shapes::ShapeRef.new(shape: StorageLensDataExport, location_name: "dataExport"))
1036
+ StorageLensConfiguration.add_member(:is_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "isEnabled"))
1037
+ StorageLensConfiguration.add_member(:aws_org, Shapes::ShapeRef.new(shape: StorageLensAwsOrg, location_name: "awsOrg"))
1038
+ StorageLensConfiguration.add_member(:storage_lens_arn, Shapes::ShapeRef.new(shape: StorageLensARN, location_name: "storageLensArn"))
1039
+ StorageLensConfiguration.struct_class = Types::StorageLensConfiguration
1040
+
1041
+ StorageLensConfigurationItem.add_member(:is_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "isEnabled"))
1042
+ StorageLensConfigurationItem.struct_class = Types::StorageLensConfigurationItem
1043
+
1044
+ StorageLensConfigurationSummary.add_member(:home_region, Shapes::ShapeRef.new(shape: Region, required: true, location_name: "homeRegion"))
1045
+ StorageLensConfigurationSummary.add_member(:id, Shapes::ShapeRef.new(shape: StorageLensConfigurationId, required: true, location_name: "id"))
1046
+ StorageLensConfigurationSummary.add_member(:storage_lens_arn, Shapes::ShapeRef.new(shape: StorageLensARN, required: true, location_name: "storageLensArn"))
1047
+ StorageLensConfigurationSummary.add_member(:is_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "isEnabled"))
1048
+ StorageLensConfigurationSummary.struct_class = Types::StorageLensConfigurationSummary
1049
+
1050
+ StorageLensConfigurationSummaryList.member = Shapes::ShapeRef.new(shape: StorageLensConfigurationSummary)
1051
+
1052
+ StorageLensDataExport.add_member(:cloud_watch_metrics, Shapes::ShapeRef.new(shape: StorageLensConfigurationItem, location_name: "cloudWatchMetrics"))
1053
+ StorageLensDataExport.add_member(:s3_bucket_destination, Shapes::ShapeRef.new(shape: S3BucketDestination, location_name: "s3BucketDestination"))
1054
+ StorageLensDataExport.add_member(:storage_lens_table_destination, Shapes::ShapeRef.new(shape: StorageLensTableDestination, location_name: "storageLensTableDestination"))
1055
+ StorageLensDataExport.struct_class = Types::StorageLensDataExport
1056
+
1057
+ StorageLensMetricsCategoryList.member = Shapes::ShapeRef.new(shape: StorageLensMetricsCategoryType)
1058
+
1059
+ StorageLensScope.add_member(:table_buckets, Shapes::ShapeRef.new(shape: TableBucketARNList, location_name: "tableBuckets"))
1060
+ StorageLensScope.add_member(:regions, Shapes::ShapeRef.new(shape: RegionList, location_name: "regions"))
1061
+ StorageLensScope.struct_class = Types::StorageLensScope
1062
+
1063
+ StorageLensTableDestination.add_member(:is_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "isEnabled"))
1064
+ StorageLensTableDestination.add_member(:encryption, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryption"))
1065
+ StorageLensTableDestination.struct_class = Types::StorageLensTableDestination
1066
+
930
1067
  SyncTableMigrationRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleARN"))
931
1068
  SyncTableMigrationRequest.add_member(:table_arn, Shapes::ShapeRef.new(shape: TableARN, required: true, location_name: "tableARN"))
932
1069
  SyncTableMigrationRequest.add_member(:review_migration_plan, Shapes::ShapeRef.new(shape: Boolean, location_name: "reviewMigrationPlan"))
@@ -937,6 +1074,8 @@ module Aws::S3Tables
937
1074
  SyncTableMigrationResponse.add_member(:state, Shapes::ShapeRef.new(shape: MigrationState, required: true, location_name: "state"))
938
1075
  SyncTableMigrationResponse.struct_class = Types::SyncTableMigrationResponse
939
1076
 
1077
+ TableBucketARNList.member = Shapes::ShapeRef.new(shape: TableBucketARN)
1078
+
940
1079
  TableBucketLoggingStatus.add_member(:logging_enabled, Shapes::ShapeRef.new(shape: LoggingEnabled, location_name: "loggingEnabled"))
941
1080
  TableBucketLoggingStatus.struct_class = Types::TableBucketLoggingStatus
942
1081
 
@@ -1176,6 +1315,20 @@ module Aws::S3Tables
1176
1315
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1177
1316
  end)
1178
1317
 
1318
+ api.add_operation(:delete_storage_lens_configuration, Seahorse::Model::Operation.new.tap do |o|
1319
+ o.name = "DeleteStorageLensConfiguration"
1320
+ o.http_method = "DELETE"
1321
+ o.http_request_uri = "/storagelens/{storageLensId}"
1322
+ o.input = Shapes::ShapeRef.new(shape: DeleteStorageLensConfigurationRequest)
1323
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1324
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1325
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1326
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1327
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1328
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1329
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1330
+ end)
1331
+
1179
1332
  api.add_operation(:delete_table, Seahorse::Model::Operation.new.tap do |o|
1180
1333
  o.name = "DeleteTable"
1181
1334
  o.http_method = "DELETE"
@@ -1305,6 +1458,20 @@ module Aws::S3Tables
1305
1458
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1306
1459
  end)
1307
1460
 
1461
+ api.add_operation(:get_channel, Seahorse::Model::Operation.new.tap do |o|
1462
+ o.name = "GetChannel"
1463
+ o.http_method = "GET"
1464
+ o.http_request_uri = "/tables/channel"
1465
+ o.input = Shapes::ShapeRef.new(shape: GetChannelRequest)
1466
+ o.output = Shapes::ShapeRef.new(shape: GetChannelResponse)
1467
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1468
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1469
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1470
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1471
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1472
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1473
+ end)
1474
+
1308
1475
  api.add_operation(:get_namespace, Seahorse::Model::Operation.new.tap do |o|
1309
1476
  o.name = "GetNamespace"
1310
1477
  o.http_method = "GET"
@@ -1320,6 +1487,20 @@ module Aws::S3Tables
1320
1487
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1321
1488
  end)
1322
1489
 
1490
+ api.add_operation(:get_storage_lens_configuration, Seahorse::Model::Operation.new.tap do |o|
1491
+ o.name = "GetStorageLensConfiguration"
1492
+ o.http_method = "GET"
1493
+ o.http_request_uri = "/storagelens/{storageLensId}"
1494
+ o.input = Shapes::ShapeRef.new(shape: GetStorageLensConfigurationRequest)
1495
+ o.output = Shapes::ShapeRef.new(shape: GetStorageLensConfigurationResponse)
1496
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1497
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1498
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1499
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1500
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1501
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1502
+ end)
1503
+
1323
1504
  api.add_operation(:get_table, Seahorse::Model::Operation.new.tap do |o|
1324
1505
  o.name = "GetTable"
1325
1506
  o.http_method = "GET"
@@ -1625,6 +1806,25 @@ module Aws::S3Tables
1625
1806
  )
1626
1807
  end)
1627
1808
 
1809
+ api.add_operation(:list_storage_lens_configurations, Seahorse::Model::Operation.new.tap do |o|
1810
+ o.name = "ListStorageLensConfigurations"
1811
+ o.http_method = "GET"
1812
+ o.http_request_uri = "/storagelens"
1813
+ o.input = Shapes::ShapeRef.new(shape: ListStorageLensConfigurationsRequest)
1814
+ o.output = Shapes::ShapeRef.new(shape: ListStorageLensConfigurationsResponse)
1815
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1816
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1817
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1818
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1819
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1820
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1821
+ o[:pager] = Aws::Pager.new(
1822
+ tokens: {
1823
+ "next_token" => "next_token"
1824
+ }
1825
+ )
1826
+ end)
1827
+
1628
1828
  api.add_operation(:list_table_buckets, Seahorse::Model::Operation.new.tap do |o|
1629
1829
  o.name = "ListTableBuckets"
1630
1830
  o.http_method = "GET"
@@ -1700,6 +1900,42 @@ module Aws::S3Tables
1700
1900
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1701
1901
  end)
1702
1902
 
1903
+ api.add_operation(:put_rows, Seahorse::Model::Operation.new.tap do |o|
1904
+ o.name = "PutRows"
1905
+ o.http_method = "POST"
1906
+ o.http_request_uri = "/tables/rows"
1907
+ o.http_checksum = {
1908
+ "requestAlgorithmMember" => "checksum_algorithm",
1909
+ "requestChecksumRequired" => true,
1910
+ }
1911
+ o.http_checksum = {
1912
+ "requestAlgorithmMember" => "checksum_algorithm",
1913
+ "requestChecksumRequired" => true,
1914
+ }
1915
+ o.input = Shapes::ShapeRef.new(shape: PutRowsRequest)
1916
+ o.output = Shapes::ShapeRef.new(shape: PutRowsResponse)
1917
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1918
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1919
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1920
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1921
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1922
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1923
+ end)
1924
+
1925
+ api.add_operation(:put_storage_lens_configuration, Seahorse::Model::Operation.new.tap do |o|
1926
+ o.name = "PutStorageLensConfiguration"
1927
+ o.http_method = "PUT"
1928
+ o.http_request_uri = "/storagelens/{storageLensId}"
1929
+ o.input = Shapes::ShapeRef.new(shape: PutStorageLensConfigurationRequest)
1930
+ o.output = Shapes::ShapeRef.new(shape: PutStorageLensConfigurationResponse)
1931
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1932
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1933
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1934
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1935
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1936
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1937
+ end)
1938
+
1703
1939
  api.add_operation(:put_table_bucket_encryption, Seahorse::Model::Operation.new.tap do |o|
1704
1940
  o.name = "PutTableBucketEncryption"
1705
1941
  o.http_method = "PUT"
@@ -10,11 +10,6 @@
10
10
  module Aws::S3Tables
11
11
  # Endpoint parameters used to influence endpoints per request.
12
12
  #
13
- # @!attribute region
14
- # The AWS region used to dispatch the request.
15
- #
16
- # @return [string]
17
- #
18
13
  # @!attribute use_dual_stack
19
14
  # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
15
  #
@@ -30,39 +25,60 @@ module Aws::S3Tables
30
25
  #
31
26
  # @return [string]
32
27
  #
28
+ # @!attribute region
29
+ # The AWS region used to dispatch the request.
30
+ #
31
+ # @return [string]
32
+ #
33
+ # @!attribute is_put_rows_endpoint
34
+ # Set by the operations that the S3 Tables data plane serves, such as PutRows, to select the data-plane endpoint. Left unset by every other operation.
35
+ #
36
+ # @return [boolean]
37
+ #
38
+ # @!attribute table_resource_arn
39
+ # The ARN of the table that the request addresses. Its account ID becomes the first label of the data-plane hostname.
40
+ #
41
+ # @return [string]
42
+ #
33
43
  EndpointParameters = Struct.new(
34
- :region,
35
44
  :use_dual_stack,
36
45
  :use_fips,
37
46
  :endpoint,
47
+ :region,
48
+ :is_put_rows_endpoint,
49
+ :table_resource_arn,
38
50
  ) do
39
51
  include Aws::Structure
40
52
 
41
53
  # @api private
42
54
  class << self
43
55
  PARAM_MAP = {
44
- 'Region' => :region,
45
56
  'UseDualStack' => :use_dual_stack,
46
57
  'UseFIPS' => :use_fips,
47
58
  'Endpoint' => :endpoint,
59
+ 'Region' => :region,
60
+ 'IsPutRowsEndpoint' => :is_put_rows_endpoint,
61
+ 'TableResourceArn' => :table_resource_arn,
48
62
  }.freeze
49
63
  end
50
64
 
51
65
  def initialize(options = {})
52
- self[:region] = options[:region]
53
66
  self[:use_dual_stack] = options[:use_dual_stack]
54
67
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
68
  self[:use_fips] = options[:use_fips]
56
69
  self[:use_fips] = false if self[:use_fips].nil?
57
70
  self[:endpoint] = options[:endpoint]
71
+ self[:region] = options[:region]
72
+ self[:is_put_rows_endpoint] = options[:is_put_rows_endpoint]
73
+ self[:table_resource_arn] = options[:table_resource_arn]
58
74
  end
59
75
 
60
76
  def self.create(config, options={})
61
77
  new({
62
- region: config.region,
63
78
  use_dual_stack: config.use_dualstack_endpoint,
64
79
  use_fips: config.use_fips_endpoint,
65
80
  endpoint: (config.endpoint.to_s unless config.regional_endpoint),
81
+ region: config.region,
66
82
  }.merge(options))
67
83
  end
68
84
  end
@@ -10,6 +10,27 @@
10
10
  module Aws::S3Tables
11
11
  class EndpointProvider
12
12
  def resolve_endpoint(parameters)
13
+ if Aws::Endpoints::Matchers.set?(parameters.endpoint) && Aws::Endpoints::Matchers.set?(parameters.is_put_rows_endpoint) && Aws::Endpoints::Matchers.boolean_equals?(parameters.is_put_rows_endpoint, true) && (parsed_endpoint = Aws::Endpoints::Matchers.parse_url(parameters.endpoint)) && (override_authority_prefix = Aws::Endpoints::Matchers.substring(Aws::Endpoints::Matchers.attr(parsed_endpoint, "authority"), 0, 8, false)) && Aws::Endpoints::Matchers.string_equals?(override_authority_prefix, "putrows.")
14
+ if Aws::Endpoints::Matchers.set?(parameters.table_resource_arn) && (parsed_table_resource_arn = Aws::Endpoints::Matchers.aws_parse_arn(parameters.table_resource_arn)) && Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(parsed_table_resource_arn, "service"), "s3tables") && (table_resource_account_id = Aws::Endpoints::Matchers.attr(parsed_table_resource_arn, "accountId")) && Aws::Endpoints::Matchers.valid_host_label?(table_resource_account_id, false)
15
+ return Aws::Endpoints::Endpoint.new(url: "#{parsed_endpoint['scheme']}://#{table_resource_account_id}.#{parsed_endpoint['authority']}#{parsed_endpoint['path']}", headers: {}, properties: {})
16
+ end
17
+ raise ArgumentError, "The S3 Tables PutRows data-plane endpoint requires an s3tables ARN with a valid account ID"
18
+ end
19
+ if Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.set?(parameters.endpoint)) && Aws::Endpoints::Matchers.set?(parameters.is_put_rows_endpoint) && Aws::Endpoints::Matchers.boolean_equals?(parameters.is_put_rows_endpoint, true) && Aws::Endpoints::Matchers.set?(parameters.region) && (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
20
+ if Aws::Endpoints::Matchers.set?(parameters.table_resource_arn) && (parsed_table_resource_arn = Aws::Endpoints::Matchers.aws_parse_arn(parameters.table_resource_arn)) && Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(parsed_table_resource_arn, "service"), "s3tables") && (table_resource_account_id = Aws::Endpoints::Matchers.attr(parsed_table_resource_arn, "accountId")) && Aws::Endpoints::Matchers.valid_host_label?(table_resource_account_id, false)
21
+ if Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(parsed_table_resource_arn, "partition"), Aws::Endpoints::Matchers.attr(partition_result, "name")))
22
+ raise ArgumentError, "The addressed ARN is in partition #{parsed_table_resource_arn['partition']} but the client resolves to #{partition_result['name']}"
23
+ end
24
+ if Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(parsed_table_resource_arn, "region"), "#{parameters.region}"))
25
+ raise ArgumentError, "The addressed ARN is in region #{parsed_table_resource_arn['region']} but the client is configured for #{parameters.region}"
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
28
+ return Aws::Endpoints::Endpoint.new(url: "https://#{table_resource_account_id}.putrows.s3tables-data-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"authSchemes" => [{"name" => "sigv4", "signingName" => "s3tables", "signingRegion" => "#{parameters.region}"}]})
29
+ end
30
+ return Aws::Endpoints::Endpoint.new(url: "https://#{table_resource_account_id}.putrows.s3tables-data.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"authSchemes" => [{"name" => "sigv4", "signingName" => "s3tables", "signingRegion" => "#{parameters.region}"}]})
31
+ end
32
+ raise ArgumentError, "The S3 Tables PutRows data-plane endpoint requires an s3tables ARN with a valid account ID"
33
+ end
13
34
  if Aws::Endpoints::Matchers.set?(parameters.endpoint)
14
35
  if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
15
36
  raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
@@ -27,13 +48,13 @@ module Aws::S3Tables
27
48
  end
28
49
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
29
50
  end
30
- if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
51
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
31
52
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
32
53
  return Aws::Endpoints::Endpoint.new(url: "https://s3tables-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
33
54
  end
34
55
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
35
56
  end
36
- if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
57
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
37
58
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
38
59
  return Aws::Endpoints::Endpoint.new(url: "https://s3tables.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
39
60
  end
@@ -12,9 +12,36 @@ module Aws::S3Tables
12
12
  # @api private
13
13
  module Endpoints
14
14
 
15
+ class GetChannel
16
+ def self.build(context)
17
+ Aws::S3Tables::EndpointParameters.create(
18
+ context.config,
19
+ is_put_rows_endpoint: true,
20
+ table_resource_arn: context.params[:table_arn],
21
+ )
22
+ end
23
+ end
24
+
25
+ class PutRows
26
+ def self.build(context)
27
+ Aws::S3Tables::EndpointParameters.create(
28
+ context.config,
29
+ is_put_rows_endpoint: true,
30
+ table_resource_arn: context.params[:table_arn],
31
+ )
32
+ end
33
+ end
34
+
15
35
 
16
36
  def self.parameters_for_operation(context)
17
- Aws::S3Tables::EndpointParameters.create(context.config)
37
+ case context.operation_name
38
+ when :get_channel
39
+ GetChannel.build(context)
40
+ when :put_rows
41
+ PutRows.build(context)
42
+ else
43
+ Aws::S3Tables::EndpointParameters.create(context.config)
44
+ end
18
45
  end
19
46
  end
20
47
  end
@@ -34,6 +34,7 @@ module Aws::S3Tables
34
34
  # * {InternalServerErrorException}
35
35
  # * {MethodNotAllowedException}
36
36
  # * {NotFoundException}
37
+ # * {ServiceUnavailableException}
37
38
  # * {TooManyRequestsException}
38
39
  #
39
40
  # Additionally, error classes are dynamically generated for service errors based on the error code
@@ -147,6 +148,25 @@ module Aws::S3Tables
147
148
  end
148
149
  end
149
150
 
151
+ class ServiceUnavailableException < ServiceError
152
+
153
+ # @param [Seahorse::Client::RequestContext] context
154
+ # @param [String] message
155
+ # @param [Aws::S3Tables::Types::ServiceUnavailableException] data
156
+ def initialize(context, message, data = Aws::EmptyStructure.new)
157
+ super(context, message, data)
158
+ end
159
+
160
+ # @return [String]
161
+ def message
162
+ @message || @data[:message]
163
+ end
164
+
165
+ def retryable?
166
+ true
167
+ end
168
+ end
169
+
150
170
  class TooManyRequestsException < ServiceError
151
171
 
152
172
  # @param [Seahorse::Client::RequestContext] context