aws-sdk-s3tables 1.3.0 → 1.5.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.
@@ -27,20 +27,27 @@ module Aws::S3Tables
27
27
  CreateTableRequest = Shapes::StructureShape.new(name: 'CreateTableRequest')
28
28
  CreateTableResponse = Shapes::StructureShape.new(name: 'CreateTableResponse')
29
29
  DeleteNamespaceRequest = Shapes::StructureShape.new(name: 'DeleteNamespaceRequest')
30
+ DeleteTableBucketEncryptionRequest = Shapes::StructureShape.new(name: 'DeleteTableBucketEncryptionRequest')
30
31
  DeleteTableBucketPolicyRequest = Shapes::StructureShape.new(name: 'DeleteTableBucketPolicyRequest')
31
32
  DeleteTableBucketRequest = Shapes::StructureShape.new(name: 'DeleteTableBucketRequest')
32
33
  DeleteTablePolicyRequest = Shapes::StructureShape.new(name: 'DeleteTablePolicyRequest')
33
34
  DeleteTableRequest = Shapes::StructureShape.new(name: 'DeleteTableRequest')
35
+ EncryptionConfiguration = Shapes::StructureShape.new(name: 'EncryptionConfiguration')
36
+ EncryptionConfigurationKmsKeyArnString = Shapes::StringShape.new(name: 'EncryptionConfigurationKmsKeyArnString')
34
37
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
35
38
  ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
36
39
  GetNamespaceRequest = Shapes::StructureShape.new(name: 'GetNamespaceRequest')
37
40
  GetNamespaceResponse = Shapes::StructureShape.new(name: 'GetNamespaceResponse')
41
+ GetTableBucketEncryptionRequest = Shapes::StructureShape.new(name: 'GetTableBucketEncryptionRequest')
42
+ GetTableBucketEncryptionResponse = Shapes::StructureShape.new(name: 'GetTableBucketEncryptionResponse')
38
43
  GetTableBucketMaintenanceConfigurationRequest = Shapes::StructureShape.new(name: 'GetTableBucketMaintenanceConfigurationRequest')
39
44
  GetTableBucketMaintenanceConfigurationResponse = Shapes::StructureShape.new(name: 'GetTableBucketMaintenanceConfigurationResponse')
40
45
  GetTableBucketPolicyRequest = Shapes::StructureShape.new(name: 'GetTableBucketPolicyRequest')
41
46
  GetTableBucketPolicyResponse = Shapes::StructureShape.new(name: 'GetTableBucketPolicyResponse')
42
47
  GetTableBucketRequest = Shapes::StructureShape.new(name: 'GetTableBucketRequest')
43
48
  GetTableBucketResponse = Shapes::StructureShape.new(name: 'GetTableBucketResponse')
49
+ GetTableEncryptionRequest = Shapes::StructureShape.new(name: 'GetTableEncryptionRequest')
50
+ GetTableEncryptionResponse = Shapes::StructureShape.new(name: 'GetTableEncryptionResponse')
44
51
  GetTableMaintenanceConfigurationRequest = Shapes::StructureShape.new(name: 'GetTableMaintenanceConfigurationRequest')
45
52
  GetTableMaintenanceConfigurationResponse = Shapes::StructureShape.new(name: 'GetTableMaintenanceConfigurationResponse')
46
53
  GetTableMaintenanceJobStatusRequest = Shapes::StructureShape.new(name: 'GetTableMaintenanceJobStatusRequest')
@@ -72,6 +79,7 @@ module Aws::S3Tables
72
79
  ListTablesResponse = Shapes::StructureShape.new(name: 'ListTablesResponse')
73
80
  MaintenanceStatus = Shapes::StringShape.new(name: 'MaintenanceStatus')
74
81
  MetadataLocation = Shapes::StringShape.new(name: 'MetadataLocation')
82
+ NamespaceId = Shapes::StringShape.new(name: 'NamespaceId')
75
83
  NamespaceList = Shapes::ListShape.new(name: 'NamespaceList')
76
84
  NamespaceName = Shapes::StringShape.new(name: 'NamespaceName')
77
85
  NamespaceSummary = Shapes::StructureShape.new(name: 'NamespaceSummary')
@@ -80,18 +88,21 @@ module Aws::S3Tables
80
88
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
81
89
  OpenTableFormat = Shapes::StringShape.new(name: 'OpenTableFormat')
82
90
  PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
91
+ PutTableBucketEncryptionRequest = Shapes::StructureShape.new(name: 'PutTableBucketEncryptionRequest')
83
92
  PutTableBucketMaintenanceConfigurationRequest = Shapes::StructureShape.new(name: 'PutTableBucketMaintenanceConfigurationRequest')
84
93
  PutTableBucketPolicyRequest = Shapes::StructureShape.new(name: 'PutTableBucketPolicyRequest')
85
94
  PutTableMaintenanceConfigurationRequest = Shapes::StructureShape.new(name: 'PutTableMaintenanceConfigurationRequest')
86
95
  PutTablePolicyRequest = Shapes::StructureShape.new(name: 'PutTablePolicyRequest')
87
96
  RenameTableRequest = Shapes::StructureShape.new(name: 'RenameTableRequest')
88
97
  ResourcePolicy = Shapes::StringShape.new(name: 'ResourcePolicy')
98
+ SSEAlgorithm = Shapes::StringShape.new(name: 'SSEAlgorithm')
89
99
  SchemaField = Shapes::StructureShape.new(name: 'SchemaField')
90
100
  SchemaFieldList = Shapes::ListShape.new(name: 'SchemaFieldList')
91
101
  String = Shapes::StringShape.new(name: 'String')
92
102
  SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
93
103
  TableARN = Shapes::StringShape.new(name: 'TableARN')
94
104
  TableBucketARN = Shapes::StringShape.new(name: 'TableBucketARN')
105
+ TableBucketId = Shapes::StringShape.new(name: 'TableBucketId')
95
106
  TableBucketMaintenanceConfiguration = Shapes::MapShape.new(name: 'TableBucketMaintenanceConfiguration')
96
107
  TableBucketMaintenanceConfigurationValue = Shapes::StructureShape.new(name: 'TableBucketMaintenanceConfigurationValue')
97
108
  TableBucketMaintenanceSettings = Shapes::UnionShape.new(name: 'TableBucketMaintenanceSettings')
@@ -137,6 +148,7 @@ module Aws::S3Tables
137
148
  CreateNamespaceResponse.struct_class = Types::CreateNamespaceResponse
138
149
 
139
150
  CreateTableBucketRequest.add_member(:name, Shapes::ShapeRef.new(shape: TableBucketName, required: true, location_name: "name"))
151
+ CreateTableBucketRequest.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryptionConfiguration"))
140
152
  CreateTableBucketRequest.struct_class = Types::CreateTableBucketRequest
141
153
 
142
154
  CreateTableBucketResponse.add_member(:arn, Shapes::ShapeRef.new(shape: TableBucketARN, required: true, location_name: "arn"))
@@ -147,6 +159,7 @@ module Aws::S3Tables
147
159
  CreateTableRequest.add_member(:name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "name"))
148
160
  CreateTableRequest.add_member(:format, Shapes::ShapeRef.new(shape: OpenTableFormat, required: true, location_name: "format"))
149
161
  CreateTableRequest.add_member(:metadata, Shapes::ShapeRef.new(shape: TableMetadata, location_name: "metadata"))
162
+ CreateTableRequest.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryptionConfiguration"))
150
163
  CreateTableRequest.struct_class = Types::CreateTableRequest
151
164
 
152
165
  CreateTableResponse.add_member(:table_arn, Shapes::ShapeRef.new(shape: TableARN, required: true, location_name: "tableARN"))
@@ -157,6 +170,9 @@ module Aws::S3Tables
157
170
  DeleteNamespaceRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: NamespaceName, required: true, location: "uri", location_name: "namespace"))
158
171
  DeleteNamespaceRequest.struct_class = Types::DeleteNamespaceRequest
159
172
 
173
+ DeleteTableBucketEncryptionRequest.add_member(:table_bucket_arn, Shapes::ShapeRef.new(shape: TableBucketARN, required: true, location: "uri", location_name: "tableBucketARN"))
174
+ DeleteTableBucketEncryptionRequest.struct_class = Types::DeleteTableBucketEncryptionRequest
175
+
160
176
  DeleteTableBucketPolicyRequest.add_member(:table_bucket_arn, Shapes::ShapeRef.new(shape: TableBucketARN, required: true, location: "uri", location_name: "tableBucketARN"))
161
177
  DeleteTableBucketPolicyRequest.struct_class = Types::DeleteTableBucketPolicyRequest
162
178
 
@@ -174,6 +190,10 @@ module Aws::S3Tables
174
190
  DeleteTableRequest.add_member(:version_token, Shapes::ShapeRef.new(shape: VersionToken, location: "querystring", location_name: "versionToken"))
175
191
  DeleteTableRequest.struct_class = Types::DeleteTableRequest
176
192
 
193
+ EncryptionConfiguration.add_member(:sse_algorithm, Shapes::ShapeRef.new(shape: SSEAlgorithm, required: true, location_name: "sseAlgorithm"))
194
+ EncryptionConfiguration.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: EncryptionConfigurationKmsKeyArnString, location_name: "kmsKeyArn"))
195
+ EncryptionConfiguration.struct_class = Types::EncryptionConfiguration
196
+
177
197
  ForbiddenException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
178
198
  ForbiddenException.struct_class = Types::ForbiddenException
179
199
 
@@ -185,8 +205,16 @@ module Aws::S3Tables
185
205
  GetNamespaceResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdAt"))
186
206
  GetNamespaceResponse.add_member(:created_by, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "createdBy"))
187
207
  GetNamespaceResponse.add_member(:owner_account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "ownerAccountId"))
208
+ GetNamespaceResponse.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location_name: "namespaceId"))
209
+ GetNamespaceResponse.add_member(:table_bucket_id, Shapes::ShapeRef.new(shape: TableBucketId, location_name: "tableBucketId"))
188
210
  GetNamespaceResponse.struct_class = Types::GetNamespaceResponse
189
211
 
212
+ GetTableBucketEncryptionRequest.add_member(:table_bucket_arn, Shapes::ShapeRef.new(shape: TableBucketARN, required: true, location: "uri", location_name: "tableBucketARN"))
213
+ GetTableBucketEncryptionRequest.struct_class = Types::GetTableBucketEncryptionRequest
214
+
215
+ GetTableBucketEncryptionResponse.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, required: true, location_name: "encryptionConfiguration"))
216
+ GetTableBucketEncryptionResponse.struct_class = Types::GetTableBucketEncryptionResponse
217
+
190
218
  GetTableBucketMaintenanceConfigurationRequest.add_member(:table_bucket_arn, Shapes::ShapeRef.new(shape: TableBucketARN, required: true, location: "uri", location_name: "tableBucketARN"))
191
219
  GetTableBucketMaintenanceConfigurationRequest.struct_class = Types::GetTableBucketMaintenanceConfigurationRequest
192
220
 
@@ -207,8 +235,17 @@ module Aws::S3Tables
207
235
  GetTableBucketResponse.add_member(:name, Shapes::ShapeRef.new(shape: TableBucketName, required: true, location_name: "name"))
208
236
  GetTableBucketResponse.add_member(:owner_account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "ownerAccountId"))
209
237
  GetTableBucketResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdAt"))
238
+ GetTableBucketResponse.add_member(:table_bucket_id, Shapes::ShapeRef.new(shape: TableBucketId, location_name: "tableBucketId"))
210
239
  GetTableBucketResponse.struct_class = Types::GetTableBucketResponse
211
240
 
241
+ GetTableEncryptionRequest.add_member(:table_bucket_arn, Shapes::ShapeRef.new(shape: TableBucketARN, required: true, location: "uri", location_name: "tableBucketARN"))
242
+ GetTableEncryptionRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: NamespaceName, required: true, location: "uri", location_name: "namespace"))
243
+ GetTableEncryptionRequest.add_member(:name, Shapes::ShapeRef.new(shape: TableName, required: true, location: "uri", location_name: "name"))
244
+ GetTableEncryptionRequest.struct_class = Types::GetTableEncryptionRequest
245
+
246
+ GetTableEncryptionResponse.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, required: true, location_name: "encryptionConfiguration"))
247
+ GetTableEncryptionResponse.struct_class = Types::GetTableEncryptionResponse
248
+
212
249
  GetTableMaintenanceConfigurationRequest.add_member(:table_bucket_arn, Shapes::ShapeRef.new(shape: TableBucketARN, required: true, location: "uri", location_name: "tableBucketARN"))
213
250
  GetTableMaintenanceConfigurationRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: NamespaceName, required: true, location: "uri", location_name: "namespace"))
214
251
  GetTableMaintenanceConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: TableName, required: true, location: "uri", location_name: "name"))
@@ -254,6 +291,7 @@ module Aws::S3Tables
254
291
  GetTableResponse.add_member(:type, Shapes::ShapeRef.new(shape: TableType, required: true, location_name: "type"))
255
292
  GetTableResponse.add_member(:table_arn, Shapes::ShapeRef.new(shape: TableARN, required: true, location_name: "tableARN"))
256
293
  GetTableResponse.add_member(:namespace, Shapes::ShapeRef.new(shape: NamespaceList, required: true, location_name: "namespace"))
294
+ GetTableResponse.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location_name: "namespaceId"))
257
295
  GetTableResponse.add_member(:version_token, Shapes::ShapeRef.new(shape: VersionToken, required: true, location_name: "versionToken"))
258
296
  GetTableResponse.add_member(:metadata_location, Shapes::ShapeRef.new(shape: MetadataLocation, location_name: "metadataLocation"))
259
297
  GetTableResponse.add_member(:warehouse_location, Shapes::ShapeRef.new(shape: WarehouseLocation, required: true, location_name: "warehouseLocation"))
@@ -264,6 +302,7 @@ module Aws::S3Tables
264
302
  GetTableResponse.add_member(:modified_by, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "modifiedBy"))
265
303
  GetTableResponse.add_member(:owner_account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "ownerAccountId"))
266
304
  GetTableResponse.add_member(:format, Shapes::ShapeRef.new(shape: OpenTableFormat, required: true, location_name: "format"))
305
+ GetTableResponse.add_member(:table_bucket_id, Shapes::ShapeRef.new(shape: TableBucketId, location_name: "tableBucketId"))
267
306
  GetTableResponse.struct_class = Types::GetTableResponse
268
307
 
269
308
  IcebergCompactionSettings.add_member(:target_file_size_mb, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "targetFileSizeMB"))
@@ -322,6 +361,8 @@ module Aws::S3Tables
322
361
  NamespaceSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdAt"))
323
362
  NamespaceSummary.add_member(:created_by, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "createdBy"))
324
363
  NamespaceSummary.add_member(:owner_account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "ownerAccountId"))
364
+ NamespaceSummary.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location_name: "namespaceId"))
365
+ NamespaceSummary.add_member(:table_bucket_id, Shapes::ShapeRef.new(shape: TableBucketId, location_name: "tableBucketId"))
325
366
  NamespaceSummary.struct_class = Types::NamespaceSummary
326
367
 
327
368
  NamespaceSummaryList.member = Shapes::ShapeRef.new(shape: NamespaceSummary)
@@ -329,6 +370,10 @@ module Aws::S3Tables
329
370
  NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
330
371
  NotFoundException.struct_class = Types::NotFoundException
331
372
 
373
+ PutTableBucketEncryptionRequest.add_member(:table_bucket_arn, Shapes::ShapeRef.new(shape: TableBucketARN, required: true, location: "uri", location_name: "tableBucketARN"))
374
+ PutTableBucketEncryptionRequest.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, required: true, location_name: "encryptionConfiguration"))
375
+ PutTableBucketEncryptionRequest.struct_class = Types::PutTableBucketEncryptionRequest
376
+
332
377
  PutTableBucketMaintenanceConfigurationRequest.add_member(:table_bucket_arn, Shapes::ShapeRef.new(shape: TableBucketARN, required: true, location: "uri", location_name: "tableBucketARN"))
333
378
  PutTableBucketMaintenanceConfigurationRequest.add_member(:type, Shapes::ShapeRef.new(shape: TableBucketMaintenanceType, required: true, location: "uri", location_name: "type"))
334
379
  PutTableBucketMaintenanceConfigurationRequest.add_member(:value, Shapes::ShapeRef.new(shape: TableBucketMaintenanceConfigurationValue, required: true, location_name: "value"))
@@ -383,6 +428,7 @@ module Aws::S3Tables
383
428
  TableBucketSummary.add_member(:name, Shapes::ShapeRef.new(shape: TableBucketName, required: true, location_name: "name"))
384
429
  TableBucketSummary.add_member(:owner_account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "ownerAccountId"))
385
430
  TableBucketSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdAt"))
431
+ TableBucketSummary.add_member(:table_bucket_id, Shapes::ShapeRef.new(shape: TableBucketId, location_name: "tableBucketId"))
386
432
  TableBucketSummary.struct_class = Types::TableBucketSummary
387
433
 
388
434
  TableBucketSummaryList.member = Shapes::ShapeRef.new(shape: TableBucketSummary)
@@ -422,6 +468,8 @@ module Aws::S3Tables
422
468
  TableSummary.add_member(:table_arn, Shapes::ShapeRef.new(shape: TableARN, required: true, location_name: "tableARN"))
423
469
  TableSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdAt"))
424
470
  TableSummary.add_member(:modified_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "modifiedAt"))
471
+ TableSummary.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location_name: "namespaceId"))
472
+ TableSummary.add_member(:table_bucket_id, Shapes::ShapeRef.new(shape: TableBucketId, location_name: "tableBucketId"))
425
473
  TableSummary.struct_class = Types::TableSummary
426
474
 
427
475
  TableSummaryList.member = Shapes::ShapeRef.new(shape: TableSummary)
@@ -546,6 +594,20 @@ module Aws::S3Tables
546
594
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
547
595
  end)
548
596
 
597
+ api.add_operation(:delete_table_bucket_encryption, Seahorse::Model::Operation.new.tap do |o|
598
+ o.name = "DeleteTableBucketEncryption"
599
+ o.http_method = "DELETE"
600
+ o.http_request_uri = "/buckets/{tableBucketARN}/encryption"
601
+ o.input = Shapes::ShapeRef.new(shape: DeleteTableBucketEncryptionRequest)
602
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
603
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
604
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
605
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
606
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
607
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
608
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
609
+ end)
610
+
549
611
  api.add_operation(:delete_table_bucket_policy, Seahorse::Model::Operation.new.tap do |o|
550
612
  o.name = "DeleteTableBucketPolicy"
551
613
  o.http_method = "DELETE"
@@ -619,6 +681,20 @@ module Aws::S3Tables
619
681
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
620
682
  end)
621
683
 
684
+ api.add_operation(:get_table_bucket_encryption, Seahorse::Model::Operation.new.tap do |o|
685
+ o.name = "GetTableBucketEncryption"
686
+ o.http_method = "GET"
687
+ o.http_request_uri = "/buckets/{tableBucketARN}/encryption"
688
+ o.input = Shapes::ShapeRef.new(shape: GetTableBucketEncryptionRequest)
689
+ o.output = Shapes::ShapeRef.new(shape: GetTableBucketEncryptionResponse)
690
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
691
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
692
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
693
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
694
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
695
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
696
+ end)
697
+
622
698
  api.add_operation(:get_table_bucket_maintenance_configuration, Seahorse::Model::Operation.new.tap do |o|
623
699
  o.name = "GetTableBucketMaintenanceConfiguration"
624
700
  o.http_method = "GET"
@@ -647,6 +723,20 @@ module Aws::S3Tables
647
723
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
648
724
  end)
649
725
 
726
+ api.add_operation(:get_table_encryption, Seahorse::Model::Operation.new.tap do |o|
727
+ o.name = "GetTableEncryption"
728
+ o.http_method = "GET"
729
+ o.http_request_uri = "/tables/{tableBucketARN}/{namespace}/{name}/encryption"
730
+ o.input = Shapes::ShapeRef.new(shape: GetTableEncryptionRequest)
731
+ o.output = Shapes::ShapeRef.new(shape: GetTableEncryptionResponse)
732
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
733
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
734
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
735
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
736
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
737
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
738
+ end)
739
+
650
740
  api.add_operation(:get_table_maintenance_configuration, Seahorse::Model::Operation.new.tap do |o|
651
741
  o.name = "GetTableMaintenanceConfiguration"
652
742
  o.http_method = "GET"
@@ -765,6 +855,20 @@ module Aws::S3Tables
765
855
  )
766
856
  end)
767
857
 
858
+ api.add_operation(:put_table_bucket_encryption, Seahorse::Model::Operation.new.tap do |o|
859
+ o.name = "PutTableBucketEncryption"
860
+ o.http_method = "PUT"
861
+ o.http_request_uri = "/buckets/{tableBucketARN}/encryption"
862
+ o.input = Shapes::ShapeRef.new(shape: PutTableBucketEncryptionRequest)
863
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
864
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
865
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
866
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
867
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
868
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
869
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
870
+ end)
871
+
768
872
  api.add_operation(:put_table_bucket_maintenance_configuration, Seahorse::Model::Operation.new.tap do |o|
769
873
  o.name = "PutTableBucketMaintenanceConfiguration"
770
874
  o.http_method = "PUT"
@@ -91,10 +91,19 @@ module Aws::S3Tables
91
91
  # The name for the table bucket.
92
92
  # @return [String]
93
93
  #
94
+ # @!attribute [rw] encryption_configuration
95
+ # The encryption configuration to use for the table bucket. This
96
+ # configuration specifies the default encryption settings that will be
97
+ # applied to all tables created in this bucket unless overridden at
98
+ # the table level. The configuration includes the encryption algorithm
99
+ # and, if using SSE-KMS, the KMS key to use.
100
+ # @return [Types::EncryptionConfiguration]
101
+ #
94
102
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/CreateTableBucketRequest AWS API Documentation
95
103
  #
96
104
  class CreateTableBucketRequest < Struct.new(
97
- :name)
105
+ :name,
106
+ :encryption_configuration)
98
107
  SENSITIVE = []
99
108
  include Aws::Structure
100
109
  end
@@ -132,6 +141,22 @@ module Aws::S3Tables
132
141
  # The metadata for the table.
133
142
  # @return [Types::TableMetadata]
134
143
  #
144
+ # @!attribute [rw] encryption_configuration
145
+ # The encryption configuration to use for the table. This
146
+ # configuration specifies the encryption algorithm and, if using
147
+ # SSE-KMS, the KMS key to use for encrypting the table.
148
+ #
149
+ # <note markdown="1"> If you choose SSE-KMS encryption you must grant the S3 Tables
150
+ # maintenance principal access to your KMS key. For more information,
151
+ # see [Permissions requirements for S3 Tables SSE-KMS encryption][1].
152
+ #
153
+ # </note>
154
+ #
155
+ #
156
+ #
157
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-kms-permissions.html
158
+ # @return [Types::EncryptionConfiguration]
159
+ #
135
160
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/CreateTableRequest AWS API Documentation
136
161
  #
137
162
  class CreateTableRequest < Struct.new(
@@ -139,7 +164,8 @@ module Aws::S3Tables
139
164
  :namespace,
140
165
  :name,
141
166
  :format,
142
- :metadata)
167
+ :metadata,
168
+ :encryption_configuration)
143
169
  SENSITIVE = []
144
170
  include Aws::Structure
145
171
  end
@@ -179,6 +205,18 @@ module Aws::S3Tables
179
205
  include Aws::Structure
180
206
  end
181
207
 
208
+ # @!attribute [rw] table_bucket_arn
209
+ # The Amazon Resource Name (ARN) of the table bucket.
210
+ # @return [String]
211
+ #
212
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/DeleteTableBucketEncryptionRequest AWS API Documentation
213
+ #
214
+ class DeleteTableBucketEncryptionRequest < Struct.new(
215
+ :table_bucket_arn)
216
+ SENSITIVE = []
217
+ include Aws::Structure
218
+ end
219
+
182
220
  # @!attribute [rw] table_bucket_arn
183
221
  # The Amazon Resource Name (ARN) of the table bucket.
184
222
  # @return [String]
@@ -254,6 +292,37 @@ module Aws::S3Tables
254
292
  include Aws::Structure
255
293
  end
256
294
 
295
+ # Configuration specifying how data should be encrypted. This structure
296
+ # defines the encryption algorithm and optional KMS key to be used for
297
+ # server-side encryption.
298
+ #
299
+ # @!attribute [rw] sse_algorithm
300
+ # The server-side encryption algorithm to use. Valid values are
301
+ # `AES256` for S3-managed encryption keys, or `aws:kms` for Amazon Web
302
+ # Services KMS-managed encryption keys. If you choose SSE-KMS
303
+ # encryption you must grant the S3 Tables maintenance principal access
304
+ # to your KMS key. For more information, see [Permissions requirements
305
+ # for S3 Tables SSE-KMS encryption][1].
306
+ #
307
+ #
308
+ #
309
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-kms-permissions.html
310
+ # @return [String]
311
+ #
312
+ # @!attribute [rw] kms_key_arn
313
+ # The Amazon Resource Name (ARN) of the KMS key to use for encryption.
314
+ # This field is required only when `sseAlgorithm` is set to `aws:kms`.
315
+ # @return [String]
316
+ #
317
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/EncryptionConfiguration AWS API Documentation
318
+ #
319
+ class EncryptionConfiguration < Struct.new(
320
+ :sse_algorithm,
321
+ :kms_key_arn)
322
+ SENSITIVE = []
323
+ include Aws::Structure
324
+ end
325
+
257
326
  # The caller isn't authorized to make the request.
258
327
  #
259
328
  # @!attribute [rw] message
@@ -300,13 +369,47 @@ module Aws::S3Tables
300
369
  # The ID of the account that owns the namespcace.
301
370
  # @return [String]
302
371
  #
372
+ # @!attribute [rw] namespace_id
373
+ # The unique identifier of the namespace.
374
+ # @return [String]
375
+ #
376
+ # @!attribute [rw] table_bucket_id
377
+ # The unique identifier of the table bucket containing this namespace.
378
+ # @return [String]
379
+ #
303
380
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/GetNamespaceResponse AWS API Documentation
304
381
  #
305
382
  class GetNamespaceResponse < Struct.new(
306
383
  :namespace,
307
384
  :created_at,
308
385
  :created_by,
309
- :owner_account_id)
386
+ :owner_account_id,
387
+ :namespace_id,
388
+ :table_bucket_id)
389
+ SENSITIVE = []
390
+ include Aws::Structure
391
+ end
392
+
393
+ # @!attribute [rw] table_bucket_arn
394
+ # The Amazon Resource Name (ARN) of the table bucket.
395
+ # @return [String]
396
+ #
397
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/GetTableBucketEncryptionRequest AWS API Documentation
398
+ #
399
+ class GetTableBucketEncryptionRequest < Struct.new(
400
+ :table_bucket_arn)
401
+ SENSITIVE = []
402
+ include Aws::Structure
403
+ end
404
+
405
+ # @!attribute [rw] encryption_configuration
406
+ # The encryption configuration for the table bucket.
407
+ # @return [Types::EncryptionConfiguration]
408
+ #
409
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/GetTableBucketEncryptionResponse AWS API Documentation
410
+ #
411
+ class GetTableBucketEncryptionResponse < Struct.new(
412
+ :encryption_configuration)
310
413
  SENSITIVE = []
311
414
  include Aws::Structure
312
415
  end
@@ -394,13 +497,53 @@ module Aws::S3Tables
394
497
  # The date and time the table bucket was created.
395
498
  # @return [Time]
396
499
  #
500
+ # @!attribute [rw] table_bucket_id
501
+ # The unique identifier of the table bucket.
502
+ # @return [String]
503
+ #
397
504
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/GetTableBucketResponse AWS API Documentation
398
505
  #
399
506
  class GetTableBucketResponse < Struct.new(
400
507
  :arn,
401
508
  :name,
402
509
  :owner_account_id,
403
- :created_at)
510
+ :created_at,
511
+ :table_bucket_id)
512
+ SENSITIVE = []
513
+ include Aws::Structure
514
+ end
515
+
516
+ # @!attribute [rw] table_bucket_arn
517
+ # The Amazon Resource Name (ARN) of the table bucket containing the
518
+ # table.
519
+ # @return [String]
520
+ #
521
+ # @!attribute [rw] namespace
522
+ # The namespace associated with the table.
523
+ # @return [String]
524
+ #
525
+ # @!attribute [rw] name
526
+ # The name of the table.
527
+ # @return [String]
528
+ #
529
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/GetTableEncryptionRequest AWS API Documentation
530
+ #
531
+ class GetTableEncryptionRequest < Struct.new(
532
+ :table_bucket_arn,
533
+ :namespace,
534
+ :name)
535
+ SENSITIVE = []
536
+ include Aws::Structure
537
+ end
538
+
539
+ # @!attribute [rw] encryption_configuration
540
+ # The encryption configuration for the table.
541
+ # @return [Types::EncryptionConfiguration]
542
+ #
543
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/GetTableEncryptionResponse AWS API Documentation
544
+ #
545
+ class GetTableEncryptionResponse < Struct.new(
546
+ :encryption_configuration)
404
547
  SENSITIVE = []
405
548
  include Aws::Structure
406
549
  end
@@ -601,6 +744,10 @@ module Aws::S3Tables
601
744
  # The namespace associated with the table.
602
745
  # @return [Array<String>]
603
746
  #
747
+ # @!attribute [rw] namespace_id
748
+ # The unique identifier of the namespace containing this table.
749
+ # @return [String]
750
+ #
604
751
  # @!attribute [rw] version_token
605
752
  # The version token of the table.
606
753
  # @return [String]
@@ -641,6 +788,10 @@ module Aws::S3Tables
641
788
  # The format of the table.
642
789
  # @return [String]
643
790
  #
791
+ # @!attribute [rw] table_bucket_id
792
+ # The unique identifier of the table bucket containing this table.
793
+ # @return [String]
794
+ #
644
795
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/GetTableResponse AWS API Documentation
645
796
  #
646
797
  class GetTableResponse < Struct.new(
@@ -648,6 +799,7 @@ module Aws::S3Tables
648
799
  :type,
649
800
  :table_arn,
650
801
  :namespace,
802
+ :namespace_id,
651
803
  :version_token,
652
804
  :metadata_location,
653
805
  :warehouse_location,
@@ -657,7 +809,8 @@ module Aws::S3Tables
657
809
  :modified_at,
658
810
  :modified_by,
659
811
  :owner_account_id,
660
- :format)
812
+ :format,
813
+ :table_bucket_id)
661
814
  SENSITIVE = []
662
815
  include Aws::Structure
663
816
  end
@@ -732,12 +885,12 @@ module Aws::S3Tables
732
885
  #
733
886
  # @!attribute [rw] unreferenced_days
734
887
  # The number of days an object has to be unreferenced before it is
735
- # marked as non-current. </p>
888
+ # marked as non-current.
736
889
  # @return [Integer]
737
890
  #
738
891
  # @!attribute [rw] non_current_days
739
892
  # The number of days an object has to be non-current before it is
740
- # deleted. </p>
893
+ # deleted.
741
894
  # @return [Integer]
742
895
  #
743
896
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/IcebergUnreferencedFileRemovalSettings AWS API Documentation
@@ -923,13 +1076,24 @@ module Aws::S3Tables
923
1076
  # The ID of the account that owns the namespace.
924
1077
  # @return [String]
925
1078
  #
1079
+ # @!attribute [rw] namespace_id
1080
+ # The system-assigned unique identifier for the namespace.
1081
+ # @return [String]
1082
+ #
1083
+ # @!attribute [rw] table_bucket_id
1084
+ # The system-assigned unique identifier for the table bucket that
1085
+ # contains this namespace.
1086
+ # @return [String]
1087
+ #
926
1088
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/NamespaceSummary AWS API Documentation
927
1089
  #
928
1090
  class NamespaceSummary < Struct.new(
929
1091
  :namespace,
930
1092
  :created_at,
931
1093
  :created_by,
932
- :owner_account_id)
1094
+ :owner_account_id,
1095
+ :namespace_id,
1096
+ :table_bucket_id)
933
1097
  SENSITIVE = []
934
1098
  include Aws::Structure
935
1099
  end
@@ -948,6 +1112,23 @@ module Aws::S3Tables
948
1112
  include Aws::Structure
949
1113
  end
950
1114
 
1115
+ # @!attribute [rw] table_bucket_arn
1116
+ # The Amazon Resource Name (ARN) of the table bucket.
1117
+ # @return [String]
1118
+ #
1119
+ # @!attribute [rw] encryption_configuration
1120
+ # The encryption configuration to apply to the table bucket.
1121
+ # @return [Types::EncryptionConfiguration]
1122
+ #
1123
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/PutTableBucketEncryptionRequest AWS API Documentation
1124
+ #
1125
+ class PutTableBucketEncryptionRequest < Struct.new(
1126
+ :table_bucket_arn,
1127
+ :encryption_configuration)
1128
+ SENSITIVE = []
1129
+ include Aws::Structure
1130
+ end
1131
+
951
1132
  # @!attribute [rw] table_bucket_arn
952
1133
  # The Amazon Resource Name (ARN) of the table bucket associated with
953
1134
  # the maintenance configuration.
@@ -1182,13 +1363,18 @@ module Aws::S3Tables
1182
1363
  # The date and time the table bucket was created at.
1183
1364
  # @return [Time]
1184
1365
  #
1366
+ # @!attribute [rw] table_bucket_id
1367
+ # The system-assigned unique identifier for the table bucket.
1368
+ # @return [String]
1369
+ #
1185
1370
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/TableBucketSummary AWS API Documentation
1186
1371
  #
1187
1372
  class TableBucketSummary < Struct.new(
1188
1373
  :arn,
1189
1374
  :name,
1190
1375
  :owner_account_id,
1191
- :created_at)
1376
+ :created_at,
1377
+ :table_bucket_id)
1192
1378
  SENSITIVE = []
1193
1379
  include Aws::Structure
1194
1380
  end
@@ -1316,6 +1502,14 @@ module Aws::S3Tables
1316
1502
  # The date and time the table was last modified at.
1317
1503
  # @return [Time]
1318
1504
  #
1505
+ # @!attribute [rw] namespace_id
1506
+ # The unique identifier for the namespace that contains this table.
1507
+ # @return [String]
1508
+ #
1509
+ # @!attribute [rw] table_bucket_id
1510
+ # The unique identifier for the table bucket that contains this table.
1511
+ # @return [String]
1512
+ #
1319
1513
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/TableSummary AWS API Documentation
1320
1514
  #
1321
1515
  class TableSummary < Struct.new(
@@ -1324,7 +1518,9 @@ module Aws::S3Tables
1324
1518
  :type,
1325
1519
  :table_arn,
1326
1520
  :created_at,
1327
- :modified_at)
1521
+ :modified_at,
1522
+ :namespace_id,
1523
+ :table_bucket_id)
1328
1524
  SENSITIVE = []
1329
1525
  include Aws::Structure
1330
1526
  end
@@ -55,7 +55,7 @@ module Aws::S3Tables
55
55
  autoload :EndpointProvider, 'aws-sdk-s3tables/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-s3tables/endpoints'
57
57
 
58
- GEM_VERSION = '1.3.0'
58
+ GEM_VERSION = '1.5.0'
59
59
 
60
60
  end
61
61