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.
@@ -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.48.0'
58
+ GEM_VERSION = '1.49.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -172,6 +172,12 @@ module Aws
172
172
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
173
173
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
174
174
 
175
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#delete_storage_lens_configuration-instance_method
176
+ def delete_storage_lens_configuration: (
177
+ storage_lens_id: ::String
178
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
179
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
180
+
175
181
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#delete_table-instance_method
176
182
  def delete_table: (
177
183
  table_bucket_arn: ::String,
@@ -236,6 +242,20 @@ module Aws
236
242
  ) -> _DisassociateTableReplicationResponseSuccess
237
243
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateTableReplicationResponseSuccess
238
244
 
245
+ interface _GetChannelResponseSuccess
246
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetChannelResponse]
247
+ def state: () -> ("active" | "failing")
248
+ def approximate_number_of_buffered_rows: () -> ::Integer
249
+ def error_code: () -> ("kms_key_disabled" | "kms_access_denied" | "kms_key_not_found")
250
+ def error_message: () -> ::String
251
+ end
252
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#get_channel-instance_method
253
+ def get_channel: (
254
+ table_arn: ::String,
255
+ ?channel_id: ::String
256
+ ) -> _GetChannelResponseSuccess
257
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetChannelResponseSuccess
258
+
239
259
  interface _GetNamespaceResponseSuccess
240
260
  include ::Seahorse::Client::_ResponseSuccess[Types::GetNamespaceResponse]
241
261
  def namespace: () -> ::Array[::String]
@@ -252,6 +272,16 @@ module Aws
252
272
  ) -> _GetNamespaceResponseSuccess
253
273
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetNamespaceResponseSuccess
254
274
 
275
+ interface _GetStorageLensConfigurationResponseSuccess
276
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetStorageLensConfigurationResponse]
277
+ def storage_lens_configuration: () -> Types::StorageLensConfiguration
278
+ end
279
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#get_storage_lens_configuration-instance_method
280
+ def get_storage_lens_configuration: (
281
+ storage_lens_id: ::String
282
+ ) -> _GetStorageLensConfigurationResponseSuccess
283
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetStorageLensConfigurationResponseSuccess
284
+
255
285
  interface _GetTableResponseSuccess
256
286
  include ::Seahorse::Client::_ResponseSuccess[Types::GetTableResponse]
257
287
  def name: () -> ::String
@@ -533,6 +563,17 @@ module Aws
533
563
  ) -> _ListNamespacesResponseSuccess
534
564
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListNamespacesResponseSuccess
535
565
 
566
+ interface _ListStorageLensConfigurationsResponseSuccess
567
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListStorageLensConfigurationsResponse]
568
+ def next_token: () -> ::String
569
+ def storage_lens_configurations: () -> ::Array[Types::StorageLensConfigurationSummary]
570
+ end
571
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#list_storage_lens_configurations-instance_method
572
+ def list_storage_lens_configurations: (
573
+ ?next_token: ::String
574
+ ) -> _ListStorageLensConfigurationsResponseSuccess
575
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStorageLensConfigurationsResponseSuccess
576
+
536
577
  interface _ListTableBucketsResponseSuccess
537
578
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTableBucketsResponse]
538
579
  def table_buckets: () -> ::Array[Types::TableBucketSummary]
@@ -590,6 +631,71 @@ module Aws
590
631
  ) -> _ListTagsForResourceResponseSuccess
591
632
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
592
633
 
634
+ interface _PutRowsResponseSuccess
635
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutRowsResponse]
636
+ def accepted_rows: () -> ::Integer
637
+ end
638
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#put_rows-instance_method
639
+ def put_rows: (
640
+ table_arn: ::String,
641
+ ?channel_id: ::String,
642
+ payload: ::String,
643
+ payload_format: ("JSON" | "AVRO"),
644
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "CRC64NVME" | "SHA1" | "SHA256")
645
+ ) -> _PutRowsResponseSuccess
646
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutRowsResponseSuccess
647
+
648
+ interface _PutStorageLensConfigurationResponseSuccess
649
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutStorageLensConfigurationResponse]
650
+ def arn: () -> ::String
651
+ end
652
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#put_storage_lens_configuration-instance_method
653
+ def put_storage_lens_configuration: (
654
+ storage_lens_id: ::String,
655
+ storage_lens_configuration: {
656
+ id: ::String,
657
+ advanced_metrics_categories: Array[("ActivityMetrics" | "MaintenanceMetrics" | "StorageMetrics")],
658
+ include: {
659
+ table_buckets: Array[::String]?,
660
+ regions: Array[::String]?
661
+ }?,
662
+ exclude: {
663
+ table_buckets: Array[::String]?,
664
+ regions: Array[::String]?
665
+ }?,
666
+ data_export: {
667
+ cloud_watch_metrics: {
668
+ is_enabled: bool
669
+ }?,
670
+ s3_bucket_destination: {
671
+ format: ("CSV" | "Parquet"),
672
+ output_schema_version: ("V_1"),
673
+ account_id: ::String,
674
+ arn: ::String,
675
+ prefix: ::String?,
676
+ encryption: {
677
+ sse_algorithm: ("AES256" | "aws:kms"),
678
+ kms_key_arn: ::String?
679
+ }?
680
+ }?,
681
+ storage_lens_table_destination: {
682
+ is_enabled: bool,
683
+ encryption: {
684
+ sse_algorithm: ("AES256" | "aws:kms"),
685
+ kms_key_arn: ::String?
686
+ }?
687
+ }?
688
+ }?,
689
+ is_enabled: bool,
690
+ aws_org: {
691
+ arn: ::String?
692
+ }?,
693
+ storage_lens_arn: ::String?
694
+ },
695
+ ?tags: Hash[::String, ::String]
696
+ ) -> _PutStorageLensConfigurationResponseSuccess
697
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutStorageLensConfigurationResponseSuccess
698
+
593
699
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#put_table_bucket_encryption-instance_method
594
700
  def put_table_bucket_encryption: (
595
701
  table_bucket_arn: ::String,
data/sig/errors.rbs CHANGED
@@ -32,6 +32,9 @@ module Aws
32
32
  class NotFoundException < ServiceError
33
33
  def message: () -> ::String
34
34
  end
35
+ class ServiceUnavailableException < ServiceError
36
+ def message: () -> ::String
37
+ end
35
38
  class TooManyRequestsException < ServiceError
36
39
  def message: () -> ::String
37
40
  end
data/sig/types.rbs CHANGED
@@ -89,6 +89,11 @@ module Aws::S3Tables
89
89
  SENSITIVE: []
90
90
  end
91
91
 
92
+ class DeleteStorageLensConfigurationRequest
93
+ attr_accessor storage_lens_id: ::String
94
+ SENSITIVE: []
95
+ end
96
+
92
97
  class DeleteTableBucketEncryptionRequest
93
98
  attr_accessor table_bucket_arn: ::String
94
99
  SENSITIVE: []
@@ -168,6 +173,20 @@ module Aws::S3Tables
168
173
  SENSITIVE: []
169
174
  end
170
175
 
176
+ class GetChannelRequest
177
+ attr_accessor table_arn: ::String
178
+ attr_accessor channel_id: ::String
179
+ SENSITIVE: []
180
+ end
181
+
182
+ class GetChannelResponse
183
+ attr_accessor state: ("active" | "failing")
184
+ attr_accessor approximate_number_of_buffered_rows: ::Integer
185
+ attr_accessor error_code: ("kms_key_disabled" | "kms_access_denied" | "kms_key_not_found")
186
+ attr_accessor error_message: ::String
187
+ SENSITIVE: []
188
+ end
189
+
171
190
  class GetNamespaceRequest
172
191
  attr_accessor table_bucket_arn: ::String
173
192
  attr_accessor namespace: ::String
@@ -184,6 +203,16 @@ module Aws::S3Tables
184
203
  SENSITIVE: []
185
204
  end
186
205
 
206
+ class GetStorageLensConfigurationRequest
207
+ attr_accessor storage_lens_id: ::String
208
+ SENSITIVE: []
209
+ end
210
+
211
+ class GetStorageLensConfigurationResponse
212
+ attr_accessor storage_lens_configuration: Types::StorageLensConfiguration
213
+ SENSITIVE: []
214
+ end
215
+
187
216
  class GetTableBucketEncryptionRequest
188
217
  attr_accessor table_bucket_arn: ::String
189
218
  SENSITIVE: []
@@ -551,6 +580,17 @@ module Aws::S3Tables
551
580
  SENSITIVE: []
552
581
  end
553
582
 
583
+ class ListStorageLensConfigurationsRequest
584
+ attr_accessor next_token: ::String
585
+ SENSITIVE: []
586
+ end
587
+
588
+ class ListStorageLensConfigurationsResponse
589
+ attr_accessor next_token: ::String
590
+ attr_accessor storage_lens_configurations: ::Array[Types::StorageLensConfigurationSummary]
591
+ SENSITIVE: []
592
+ end
593
+
554
594
  class ListTableBucketsRequest
555
595
  attr_accessor prefix: ::String
556
596
  attr_accessor continuation_token: ::String
@@ -732,6 +772,32 @@ module Aws::S3Tables
732
772
  SENSITIVE: []
733
773
  end
734
774
 
775
+ class PutRowsRequest
776
+ attr_accessor table_arn: ::String
777
+ attr_accessor channel_id: ::String
778
+ attr_accessor payload: ::String
779
+ attr_accessor payload_format: ("JSON" | "AVRO")
780
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "CRC64NVME" | "SHA1" | "SHA256")
781
+ SENSITIVE: []
782
+ end
783
+
784
+ class PutRowsResponse
785
+ attr_accessor accepted_rows: ::Integer
786
+ SENSITIVE: []
787
+ end
788
+
789
+ class PutStorageLensConfigurationRequest
790
+ attr_accessor storage_lens_id: ::String
791
+ attr_accessor storage_lens_configuration: Types::StorageLensConfiguration
792
+ attr_accessor tags: ::Hash[::String, ::String]
793
+ SENSITIVE: []
794
+ end
795
+
796
+ class PutStorageLensConfigurationResponse
797
+ attr_accessor arn: ::String
798
+ SENSITIVE: []
799
+ end
800
+
735
801
  class PutTableBucketEncryptionRequest
736
802
  attr_accessor table_bucket_arn: ::String
737
803
  attr_accessor encryption_configuration: Types::EncryptionConfiguration
@@ -854,6 +920,16 @@ module Aws::S3Tables
854
920
  SENSITIVE: []
855
921
  end
856
922
 
923
+ class S3BucketDestination
924
+ attr_accessor format: ("CSV" | "Parquet")
925
+ attr_accessor output_schema_version: ("V_1")
926
+ attr_accessor account_id: ::String
927
+ attr_accessor arn: ::String
928
+ attr_accessor prefix: ::String
929
+ attr_accessor encryption: Types::EncryptionConfiguration
930
+ SENSITIVE: []
931
+ end
932
+
857
933
  class SchemaField
858
934
  attr_accessor id: ::Integer
859
935
  attr_accessor name: ::String
@@ -871,6 +947,11 @@ module Aws::S3Tables
871
947
  SENSITIVE: []
872
948
  end
873
949
 
950
+ class ServiceUnavailableException
951
+ attr_accessor message: ::String
952
+ SENSITIVE: []
953
+ end
954
+
874
955
  class SourceConfiguration
875
956
  attr_accessor glue_table: Types::GlueTableSource
876
957
  attr_accessor unknown: untyped
@@ -904,6 +985,55 @@ module Aws::S3Tables
904
985
  SENSITIVE: []
905
986
  end
906
987
 
988
+ class StorageLensAwsOrg
989
+ attr_accessor arn: ::String
990
+ SENSITIVE: []
991
+ end
992
+
993
+ class StorageLensConfiguration
994
+ attr_accessor id: ::String
995
+ attr_accessor advanced_metrics_categories: ::Array[("ActivityMetrics" | "MaintenanceMetrics" | "StorageMetrics")]
996
+ attr_accessor include: Types::StorageLensScope
997
+ attr_accessor exclude: Types::StorageLensScope
998
+ attr_accessor data_export: Types::StorageLensDataExport
999
+ attr_accessor is_enabled: bool
1000
+ attr_accessor aws_org: Types::StorageLensAwsOrg
1001
+ attr_accessor storage_lens_arn: ::String
1002
+ SENSITIVE: []
1003
+ end
1004
+
1005
+ class StorageLensConfigurationItem
1006
+ attr_accessor is_enabled: bool
1007
+ SENSITIVE: []
1008
+ end
1009
+
1010
+ class StorageLensConfigurationSummary
1011
+ attr_accessor home_region: ::String
1012
+ attr_accessor id: ::String
1013
+ attr_accessor storage_lens_arn: ::String
1014
+ attr_accessor is_enabled: bool
1015
+ SENSITIVE: []
1016
+ end
1017
+
1018
+ class StorageLensDataExport
1019
+ attr_accessor cloud_watch_metrics: Types::StorageLensConfigurationItem
1020
+ attr_accessor s3_bucket_destination: Types::S3BucketDestination
1021
+ attr_accessor storage_lens_table_destination: Types::StorageLensTableDestination
1022
+ SENSITIVE: []
1023
+ end
1024
+
1025
+ class StorageLensScope
1026
+ attr_accessor table_buckets: ::Array[::String]
1027
+ attr_accessor regions: ::Array[::String]
1028
+ SENSITIVE: []
1029
+ end
1030
+
1031
+ class StorageLensTableDestination
1032
+ attr_accessor is_enabled: bool
1033
+ attr_accessor encryption: Types::EncryptionConfiguration
1034
+ SENSITIVE: []
1035
+ end
1036
+
907
1037
  class SyncTableMigrationRequest
908
1038
  attr_accessor role_arn: ::String
909
1039
  attr_accessor table_arn: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-s3tables
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.48.0
4
+ version: 1.49.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services