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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3tables/client.rb +558 -57
- data/lib/aws-sdk-s3tables/client_api.rb +236 -0
- data/lib/aws-sdk-s3tables/endpoint_parameters.rb +25 -9
- data/lib/aws-sdk-s3tables/endpoint_provider.rb +23 -2
- data/lib/aws-sdk-s3tables/endpoints.rb +28 -1
- data/lib/aws-sdk-s3tables/errors.rb +20 -0
- data/lib/aws-sdk-s3tables/types.rb +624 -83
- data/lib/aws-sdk-s3tables.rb +1 -1
- data/sig/client.rbs +106 -0
- data/sig/errors.rbs +3 -0
- data/sig/types.rbs +130 -0
- metadata +1 -1
|
@@ -50,8 +50,10 @@ module Aws::S3Tables
|
|
|
50
50
|
include Aws::Structure
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
# The request
|
|
54
|
-
#
|
|
53
|
+
# The request conflicts with the resource's current state, such as a
|
|
54
|
+
# previous write, an existing table, or a migration that's in progress
|
|
55
|
+
# or already in the requested state. If the conflict is with a
|
|
56
|
+
# concurrent write, you can retry the request.
|
|
55
57
|
#
|
|
56
58
|
# @!attribute [rw] message
|
|
57
59
|
# @return [String]
|
|
@@ -257,14 +259,9 @@ module Aws::S3Tables
|
|
|
257
259
|
# table.
|
|
258
260
|
#
|
|
259
261
|
# @!attribute [rw] maintenance_settings
|
|
260
|
-
# The maintenance settings for the destination table.
|
|
261
|
-
#
|
|
262
|
-
#
|
|
263
|
-
# don't specify a setting, the migration uses its default: a target
|
|
264
|
-
# file size of 512 MB, the binpack compaction strategy, at least 3
|
|
265
|
-
# snapshots, and a maximum snapshot age of 120 hours. Unreferenced
|
|
266
|
-
# file removal follows the table bucket's configuration after you
|
|
267
|
-
# complete the migration.
|
|
262
|
+
# The maintenance settings for the destination table. For when these
|
|
263
|
+
# settings take effect and their default values, see
|
|
264
|
+
# `MaintenanceSettings`.
|
|
268
265
|
# @return [Types::MaintenanceSettings]
|
|
269
266
|
#
|
|
270
267
|
# @!attribute [rw] migration_policies
|
|
@@ -285,14 +282,9 @@ module Aws::S3Tables
|
|
|
285
282
|
# table.
|
|
286
283
|
#
|
|
287
284
|
# @!attribute [rw] maintenance_settings
|
|
288
|
-
# The maintenance settings for the destination table.
|
|
289
|
-
#
|
|
290
|
-
#
|
|
291
|
-
# don't specify a setting, the migration uses its default: a target
|
|
292
|
-
# file size of 512 MB, the binpack compaction strategy, at least 3
|
|
293
|
-
# snapshots, and a maximum snapshot age of 120 hours. Unreferenced
|
|
294
|
-
# file removal follows the table bucket's configuration after you
|
|
295
|
-
# complete the migration.
|
|
285
|
+
# The maintenance settings for the destination table. For when these
|
|
286
|
+
# settings take effect and their default values, see
|
|
287
|
+
# `MaintenanceSettings`.
|
|
296
288
|
# @return [Types::MaintenanceSettings]
|
|
297
289
|
#
|
|
298
290
|
# @!attribute [rw] migration_policies
|
|
@@ -327,6 +319,18 @@ module Aws::S3Tables
|
|
|
327
319
|
include Aws::Structure
|
|
328
320
|
end
|
|
329
321
|
|
|
322
|
+
# @!attribute [rw] storage_lens_id
|
|
323
|
+
# The ID of the S3 Storage Lens configuration.
|
|
324
|
+
# @return [String]
|
|
325
|
+
#
|
|
326
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/DeleteStorageLensConfigurationRequest AWS API Documentation
|
|
327
|
+
#
|
|
328
|
+
class DeleteStorageLensConfigurationRequest < Struct.new(
|
|
329
|
+
:storage_lens_id)
|
|
330
|
+
SENSITIVE = []
|
|
331
|
+
include Aws::Structure
|
|
332
|
+
end
|
|
333
|
+
|
|
330
334
|
# @!attribute [rw] table_bucket_arn
|
|
331
335
|
# The Amazon Resource Name (ARN) of the table bucket.
|
|
332
336
|
# @return [String]
|
|
@@ -620,6 +624,65 @@ module Aws::S3Tables
|
|
|
620
624
|
include Aws::Structure
|
|
621
625
|
end
|
|
622
626
|
|
|
627
|
+
# @!attribute [rw] table_arn
|
|
628
|
+
# The Amazon Resource Name (ARN) of the table that the channel belongs
|
|
629
|
+
# to.
|
|
630
|
+
# @return [String]
|
|
631
|
+
#
|
|
632
|
+
# @!attribute [rw] channel_id
|
|
633
|
+
# The identifier of the channel whose state you want to get. If you
|
|
634
|
+
# don't specify a channel, the operation uses `default`. Only
|
|
635
|
+
# `default` is supported.
|
|
636
|
+
# @return [String]
|
|
637
|
+
#
|
|
638
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/GetChannelRequest AWS API Documentation
|
|
639
|
+
#
|
|
640
|
+
class GetChannelRequest < Struct.new(
|
|
641
|
+
:table_arn,
|
|
642
|
+
:channel_id)
|
|
643
|
+
SENSITIVE = []
|
|
644
|
+
include Aws::Structure
|
|
645
|
+
end
|
|
646
|
+
|
|
647
|
+
# @!attribute [rw] state
|
|
648
|
+
# The current state of the channel. The state is one of the following
|
|
649
|
+
# values:
|
|
650
|
+
#
|
|
651
|
+
# * `active` – The channel is operating normally.
|
|
652
|
+
#
|
|
653
|
+
# * `failing` – The channel can't commit rows to the table because of
|
|
654
|
+
# an error that requires your action. For details, see `errorCode`
|
|
655
|
+
# and `errorMessage`.
|
|
656
|
+
# @return [String]
|
|
657
|
+
#
|
|
658
|
+
# @!attribute [rw] approximate_number_of_buffered_rows
|
|
659
|
+
# The approximate number of rows that the channel has buffered and not
|
|
660
|
+
# yet committed to the table.
|
|
661
|
+
# @return [Integer]
|
|
662
|
+
#
|
|
663
|
+
# @!attribute [rw] error_code
|
|
664
|
+
# The code of the error that's blocking the channel from committing
|
|
665
|
+
# buffered rows to the table. For how to fix each error, see
|
|
666
|
+
# `ChannelErrorCode`. `GetChannel` returns this value only when
|
|
667
|
+
# `state` is `failing`.
|
|
668
|
+
# @return [String]
|
|
669
|
+
#
|
|
670
|
+
# @!attribute [rw] error_message
|
|
671
|
+
# A message that describes the error in `errorCode`. `GetChannel`
|
|
672
|
+
# returns this value only together with `errorCode`.
|
|
673
|
+
# @return [String]
|
|
674
|
+
#
|
|
675
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/GetChannelResponse AWS API Documentation
|
|
676
|
+
#
|
|
677
|
+
class GetChannelResponse < Struct.new(
|
|
678
|
+
:state,
|
|
679
|
+
:approximate_number_of_buffered_rows,
|
|
680
|
+
:error_code,
|
|
681
|
+
:error_message)
|
|
682
|
+
SENSITIVE = []
|
|
683
|
+
include Aws::Structure
|
|
684
|
+
end
|
|
685
|
+
|
|
623
686
|
# @!attribute [rw] table_bucket_arn
|
|
624
687
|
# The Amazon Resource Name (ARN) of the table bucket.
|
|
625
688
|
# @return [String]
|
|
@@ -674,6 +737,30 @@ module Aws::S3Tables
|
|
|
674
737
|
include Aws::Structure
|
|
675
738
|
end
|
|
676
739
|
|
|
740
|
+
# @!attribute [rw] storage_lens_id
|
|
741
|
+
# The ID of the S3 Storage Lens configuration.
|
|
742
|
+
# @return [String]
|
|
743
|
+
#
|
|
744
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/GetStorageLensConfigurationRequest AWS API Documentation
|
|
745
|
+
#
|
|
746
|
+
class GetStorageLensConfigurationRequest < Struct.new(
|
|
747
|
+
:storage_lens_id)
|
|
748
|
+
SENSITIVE = []
|
|
749
|
+
include Aws::Structure
|
|
750
|
+
end
|
|
751
|
+
|
|
752
|
+
# @!attribute [rw] storage_lens_configuration
|
|
753
|
+
# The S3 Storage Lens configuration.
|
|
754
|
+
# @return [Types::StorageLensConfiguration]
|
|
755
|
+
#
|
|
756
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/GetStorageLensConfigurationResponse AWS API Documentation
|
|
757
|
+
#
|
|
758
|
+
class GetStorageLensConfigurationResponse < Struct.new(
|
|
759
|
+
:storage_lens_configuration)
|
|
760
|
+
SENSITIVE = []
|
|
761
|
+
include Aws::Structure
|
|
762
|
+
end
|
|
763
|
+
|
|
677
764
|
# @!attribute [rw] table_bucket_arn
|
|
678
765
|
# The Amazon Resource Name (ARN) of the table bucket.
|
|
679
766
|
# @return [String]
|
|
@@ -1623,11 +1710,10 @@ module Aws::S3Tables
|
|
|
1623
1710
|
# @return [Types::IcebergSchema]
|
|
1624
1711
|
#
|
|
1625
1712
|
# @!attribute [rw] schema_v2
|
|
1626
|
-
# The schema for an Iceberg table
|
|
1627
|
-
#
|
|
1628
|
-
#
|
|
1629
|
-
#
|
|
1630
|
-
# `schema` or `schemaV2`.
|
|
1713
|
+
# The schema for an Iceberg table. Use this property to define table
|
|
1714
|
+
# schemas that include nested or complex data types such as `struct`,
|
|
1715
|
+
# `list`, or `map`, in addition to primitive types. For schemas with
|
|
1716
|
+
# only primitive types, you can use either `schema` or `schemaV2`.
|
|
1631
1717
|
# @return [Types::IcebergSchemaV2]
|
|
1632
1718
|
#
|
|
1633
1719
|
# @!attribute [rw] partition_spec
|
|
@@ -1739,9 +1825,9 @@ module Aws::S3Tables
|
|
|
1739
1825
|
include Aws::Structure
|
|
1740
1826
|
end
|
|
1741
1827
|
|
|
1742
|
-
# Contains details about the schema for an Iceberg table
|
|
1743
|
-
# format
|
|
1744
|
-
#
|
|
1828
|
+
# Contains details about the schema for an Iceberg table. This schema
|
|
1829
|
+
# format supports nested and complex data types such as `struct`,
|
|
1830
|
+
# `list`, and `map`, in addition to primitive types.
|
|
1745
1831
|
#
|
|
1746
1832
|
# @!attribute [rw] type
|
|
1747
1833
|
# The type of the top-level schema, which is always a `struct` type as
|
|
@@ -1759,13 +1845,12 @@ module Aws::S3Tables
|
|
|
1759
1845
|
# @return [Array<Types::SchemaV2Field>]
|
|
1760
1846
|
#
|
|
1761
1847
|
# @!attribute [rw] schema_id
|
|
1762
|
-
# An optional
|
|
1763
|
-
#
|
|
1848
|
+
# An optional ID for the schema. Apache Iceberg uses schema IDs to
|
|
1849
|
+
# track schema evolution.
|
|
1764
1850
|
# @return [Integer]
|
|
1765
1851
|
#
|
|
1766
1852
|
# @!attribute [rw] identifier_field_ids
|
|
1767
|
-
#
|
|
1768
|
-
# table. Identifier fields uniquely identify a row in the table.
|
|
1853
|
+
# The IDs of the fields that uniquely identify each row in the table.
|
|
1769
1854
|
# @return [Array<Integer>]
|
|
1770
1855
|
#
|
|
1771
1856
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/IcebergSchemaV2 AWS API Documentation
|
|
@@ -1842,15 +1927,14 @@ module Aws::S3Tables
|
|
|
1842
1927
|
# skipping.
|
|
1843
1928
|
#
|
|
1844
1929
|
# @!attribute [rw] order_id
|
|
1845
|
-
# The
|
|
1846
|
-
#
|
|
1847
|
-
# sort order evolution.
|
|
1930
|
+
# The ID of the sort order. Use `1` for a new sort order. Apache
|
|
1931
|
+
# Iceberg uses the ID to track changes to a table's sort order.
|
|
1848
1932
|
# @return [Integer]
|
|
1849
1933
|
#
|
|
1850
1934
|
# @!attribute [rw] fields
|
|
1851
|
-
# The
|
|
1852
|
-
#
|
|
1853
|
-
#
|
|
1935
|
+
# The sort fields that define how data is sorted within files. Each
|
|
1936
|
+
# field specifies a source field, sort direction, and null ordering. A
|
|
1937
|
+
# sort order for a migration can have at most five fields.
|
|
1854
1938
|
# @return [Array<Types::IcebergSortField>]
|
|
1855
1939
|
#
|
|
1856
1940
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/IcebergSortOrder AWS API Documentation
|
|
@@ -1964,6 +2048,37 @@ module Aws::S3Tables
|
|
|
1964
2048
|
include Aws::Structure
|
|
1965
2049
|
end
|
|
1966
2050
|
|
|
2051
|
+
# @!attribute [rw] next_token
|
|
2052
|
+
# The `nextToken` from a previous response, to get the next page of
|
|
2053
|
+
# results.
|
|
2054
|
+
# @return [String]
|
|
2055
|
+
#
|
|
2056
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/ListStorageLensConfigurationsRequest AWS API Documentation
|
|
2057
|
+
#
|
|
2058
|
+
class ListStorageLensConfigurationsRequest < Struct.new(
|
|
2059
|
+
:next_token)
|
|
2060
|
+
SENSITIVE = []
|
|
2061
|
+
include Aws::Structure
|
|
2062
|
+
end
|
|
2063
|
+
|
|
2064
|
+
# @!attribute [rw] next_token
|
|
2065
|
+
# A token to pass as `nextToken` to get the next page of results. If
|
|
2066
|
+
# there are no more results, this value isn't returned.
|
|
2067
|
+
# @return [String]
|
|
2068
|
+
#
|
|
2069
|
+
# @!attribute [rw] storage_lens_configurations
|
|
2070
|
+
# The S3 Storage Lens configurations.
|
|
2071
|
+
# @return [Array<Types::StorageLensConfigurationSummary>]
|
|
2072
|
+
#
|
|
2073
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/ListStorageLensConfigurationsResponse AWS API Documentation
|
|
2074
|
+
#
|
|
2075
|
+
class ListStorageLensConfigurationsResponse < Struct.new(
|
|
2076
|
+
:next_token,
|
|
2077
|
+
:storage_lens_configurations)
|
|
2078
|
+
SENSITIVE = []
|
|
2079
|
+
include Aws::Structure
|
|
2080
|
+
end
|
|
2081
|
+
|
|
1967
2082
|
# @!attribute [rw] prefix
|
|
1968
2083
|
# The prefix of the table buckets.
|
|
1969
2084
|
# @return [String]
|
|
@@ -2040,8 +2155,9 @@ module Aws::S3Tables
|
|
|
2040
2155
|
# @return [String]
|
|
2041
2156
|
#
|
|
2042
2157
|
# @!attribute [rw] has_valid_plan
|
|
2043
|
-
# The `hasValidPlan` value to filter the list by.
|
|
2044
|
-
#
|
|
2158
|
+
# The `hasValidPlan` value to filter the list by. Whichever value you
|
|
2159
|
+
# specify, `ListTableMigrations` lists a migration only after planning
|
|
2160
|
+
# records a result.
|
|
2045
2161
|
# @return [Boolean]
|
|
2046
2162
|
#
|
|
2047
2163
|
# @!attribute [rw] max_results
|
|
@@ -2142,9 +2258,10 @@ module Aws::S3Tables
|
|
|
2142
2258
|
|
|
2143
2259
|
# @!attribute [rw] resource_arn
|
|
2144
2260
|
# The Amazon Resource Name (ARN) of the Amazon S3 Tables resource that
|
|
2145
|
-
# you want to list tags for. The tagged resource can be a table
|
|
2146
|
-
#
|
|
2147
|
-
#
|
|
2261
|
+
# you want to list tags for. The tagged resource can be a table
|
|
2262
|
+
# bucket, a table, or an S3 Storage Lens for Tables configuration. For
|
|
2263
|
+
# a list of all S3 resources that support tagging, see [Managing tags
|
|
2264
|
+
# for Amazon S3 resources][1].
|
|
2148
2265
|
#
|
|
2149
2266
|
#
|
|
2150
2267
|
#
|
|
@@ -2279,7 +2396,8 @@ module Aws::S3Tables
|
|
|
2279
2396
|
#
|
|
2280
2397
|
# @!attribute [rw] strategy
|
|
2281
2398
|
# The compaction strategy. The only valid value is `binpack`, which is
|
|
2282
|
-
# the default.
|
|
2399
|
+
# the default. The request fails if you specify `auto`, `sort`, or
|
|
2400
|
+
# `z-order`.
|
|
2283
2401
|
# @return [String]
|
|
2284
2402
|
#
|
|
2285
2403
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/MigrationCompactionSettings AWS API Documentation
|
|
@@ -2308,11 +2426,12 @@ module Aws::S3Tables
|
|
|
2308
2426
|
# table (`database.table`) or the source bucket.
|
|
2309
2427
|
#
|
|
2310
2428
|
# * `destinationPermissions` - The migration role couldn't write to
|
|
2311
|
-
# the table bucket
|
|
2429
|
+
# the table bucket, the destination table or the report bucket.
|
|
2430
|
+
# `detail` names the destination table or the bucket.
|
|
2312
2431
|
#
|
|
2313
2432
|
# * `resourceNotFound` - A resource that you specified doesn't exist,
|
|
2314
|
-
# such as the Amazon Web Services Glue table
|
|
2315
|
-
# `detail` names it.
|
|
2433
|
+
# such as the Amazon Web Services Glue table, the source bucket, or
|
|
2434
|
+
# the report bucket. `detail` names it.
|
|
2316
2435
|
#
|
|
2317
2436
|
# * `sourceNotSupported` - The source table can't be migrated, for
|
|
2318
2437
|
# example because it is empty, has too many objects, or has columns
|
|
@@ -2320,10 +2439,10 @@ module Aws::S3Tables
|
|
|
2320
2439
|
# report lists the findings.
|
|
2321
2440
|
#
|
|
2322
2441
|
# * `tableCompatibilityReport` - The migration couldn't create the
|
|
2323
|
-
# destination table, for example because a table with that name
|
|
2324
|
-
#
|
|
2325
|
-
# destination table changed after the previous
|
|
2326
|
-
# compatibility report lists the finding.
|
|
2442
|
+
# destination table, for example because a table with that name was
|
|
2443
|
+
# created while the migration ran, or the KMS key can't be used.
|
|
2444
|
+
# For a sync, the destination table changed after the previous
|
|
2445
|
+
# migration. The table compatibility report lists the finding.
|
|
2327
2446
|
#
|
|
2328
2447
|
# * `objectCompatibilityReport` - Some source objects can't be
|
|
2329
2448
|
# migrated, for example because they are archived, or because they
|
|
@@ -2339,7 +2458,8 @@ module Aws::S3Tables
|
|
|
2339
2458
|
#
|
|
2340
2459
|
# * `internalError` - S3 Tables encountered an internal error. Retry
|
|
2341
2460
|
# the migration, and contact Amazon Web Services Support if the
|
|
2342
|
-
# error persists.
|
|
2461
|
+
# error persists. A migration that waits in the `pendingReview`
|
|
2462
|
+
# state for more than 30 days also fails with this code.
|
|
2343
2463
|
# @return [String]
|
|
2344
2464
|
#
|
|
2345
2465
|
# @!attribute [rw] detail
|
|
@@ -2363,8 +2483,10 @@ module Aws::S3Tables
|
|
|
2363
2483
|
# report goes to one bucket, each under its own prefix.
|
|
2364
2484
|
#
|
|
2365
2485
|
# @!attribute [rw] bucket
|
|
2366
|
-
# The
|
|
2367
|
-
# to
|
|
2486
|
+
# The Amazon Resource Name (ARN) of the general purpose bucket that
|
|
2487
|
+
# the migration writes every report to, for example
|
|
2488
|
+
# `arn:aws:s3:::amzn-s3-demo-bucket`. Specify the ARN, not the bucket
|
|
2489
|
+
# name.
|
|
2368
2490
|
# @return [String]
|
|
2369
2491
|
#
|
|
2370
2492
|
# @!attribute [rw] prefixes
|
|
@@ -2384,8 +2506,8 @@ module Aws::S3Tables
|
|
|
2384
2506
|
# once it is written.
|
|
2385
2507
|
#
|
|
2386
2508
|
# @!attribute [rw] bucket
|
|
2387
|
-
# The
|
|
2388
|
-
# to.
|
|
2509
|
+
# The Amazon Resource Name (ARN) of the general purpose bucket that
|
|
2510
|
+
# the migration writes every report to.
|
|
2389
2511
|
# @return [String]
|
|
2390
2512
|
#
|
|
2391
2513
|
# @!attribute [rw] table_compatibility_report
|
|
@@ -2430,7 +2552,10 @@ module Aws::S3Tables
|
|
|
2430
2552
|
# The migration policy for a source field that has no matching column
|
|
2431
2553
|
# in the destination schema. Valid values:
|
|
2432
2554
|
#
|
|
2433
|
-
# * `fail` - Fails the migration.
|
|
2555
|
+
# * `fail` - Fails the migration. Source objects under the table
|
|
2556
|
+
# location that no Amazon Web Services Glue partition references,
|
|
2557
|
+
# including objects in a subdirectory of an unpartitioned table,
|
|
2558
|
+
# also fail the migration. This is the default.
|
|
2434
2559
|
#
|
|
2435
2560
|
# * `drop` - Leaves source columns that the destination schema
|
|
2436
2561
|
# doesn't have out of the destination table, and doesn't migrate
|
|
@@ -2448,12 +2573,13 @@ module Aws::S3Tables
|
|
|
2448
2573
|
# * `fail` - Fails the migration. This is the default.
|
|
2449
2574
|
#
|
|
2450
2575
|
# * `setNull` - Writes null for a value that the destination column's
|
|
2451
|
-
# type can't hold. If a column's type in a
|
|
2452
|
-
# incompatible with the destination
|
|
2453
|
-
# null for that whole object.
|
|
2576
|
+
# type can't hold. If a column's or nested field's type in a
|
|
2577
|
+
# source object is incompatible with the destination type, that
|
|
2578
|
+
# column or field is null for that whole object.
|
|
2454
2579
|
#
|
|
2455
|
-
# A
|
|
2456
|
-
# the migration under
|
|
2580
|
+
# A value that would be written as null in a required column, or a
|
|
2581
|
+
# type that migration doesn't support, fails the migration under
|
|
2582
|
+
# either value.
|
|
2457
2583
|
# @return [String]
|
|
2458
2584
|
#
|
|
2459
2585
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/MigrationPolicies AWS API Documentation
|
|
@@ -2518,9 +2644,9 @@ module Aws::S3Tables
|
|
|
2518
2644
|
end
|
|
2519
2645
|
|
|
2520
2646
|
# The number of source objects that migrated, failed or are pending. For
|
|
2521
|
-
# a sync, the counts
|
|
2522
|
-
#
|
|
2523
|
-
#
|
|
2647
|
+
# a sync, the counts can include objects that earlier migrations
|
|
2648
|
+
# migrated. The counts are set when planning finishes and updated when
|
|
2649
|
+
# the migration ends.
|
|
2524
2650
|
#
|
|
2525
2651
|
# @!attribute [rw] objects_migrated
|
|
2526
2652
|
# The number of source objects whose data the migration wrote to the
|
|
@@ -2762,10 +2888,11 @@ module Aws::S3Tables
|
|
|
2762
2888
|
#
|
|
2763
2889
|
# @!attribute [rw] objects_planned
|
|
2764
2890
|
# The number of source objects in the migration. For a start, these
|
|
2765
|
-
# are the
|
|
2891
|
+
# are the source objects in the Amazon Web Services Glue table's
|
|
2766
2892
|
# partitions, or under the table's location if the table isn't
|
|
2767
|
-
# partitioned. For a sync, these are all the
|
|
2768
|
-
# after the sync, including
|
|
2893
|
+
# partitioned. For a sync, these are all the source objects of the
|
|
2894
|
+
# table after the sync, including objects that earlier migrations
|
|
2895
|
+
# migrated.
|
|
2769
2896
|
# @return [Integer]
|
|
2770
2897
|
#
|
|
2771
2898
|
# @!attribute [rw] partition_count
|
|
@@ -2784,6 +2911,122 @@ module Aws::S3Tables
|
|
|
2784
2911
|
include Aws::Structure
|
|
2785
2912
|
end
|
|
2786
2913
|
|
|
2914
|
+
# @!attribute [rw] table_arn
|
|
2915
|
+
# The Amazon Resource Name (ARN) of the table to write rows to.
|
|
2916
|
+
# @return [String]
|
|
2917
|
+
#
|
|
2918
|
+
# @!attribute [rw] channel_id
|
|
2919
|
+
# The identifier of the channel to write rows to. If you don't
|
|
2920
|
+
# specify a channel, the operation uses `default`. Only `default` is
|
|
2921
|
+
# supported.
|
|
2922
|
+
# @return [String]
|
|
2923
|
+
#
|
|
2924
|
+
# @!attribute [rw] payload
|
|
2925
|
+
# The rows to write, encoded in the format that you specify in
|
|
2926
|
+
# `payloadFormat`. The maximum payload size is 50 MiB (52,428,800
|
|
2927
|
+
# bytes), and the maximum number of rows is 500,000.
|
|
2928
|
+
# @return [String]
|
|
2929
|
+
#
|
|
2930
|
+
# @!attribute [rw] payload_format
|
|
2931
|
+
# Specifies the format of the rows in `payload`. The following values
|
|
2932
|
+
# are valid:
|
|
2933
|
+
#
|
|
2934
|
+
# * `JSON` – Newline-delimited JSON: each row is one JSON object on
|
|
2935
|
+
# its own line.
|
|
2936
|
+
#
|
|
2937
|
+
# * `AVRO` – Apache Avro data in the Object Container File (OCF)
|
|
2938
|
+
# format. Other Avro encodings, such as single-object encoding or
|
|
2939
|
+
# Avro data without the container, aren't accepted. Each field of
|
|
2940
|
+
# the writer schema must match a column of the table.
|
|
2941
|
+
# @return [String]
|
|
2942
|
+
#
|
|
2943
|
+
# @!attribute [rw] checksum_algorithm
|
|
2944
|
+
# (Optional) The algorithm to use to calculate the checksum of the
|
|
2945
|
+
# payload. Each `PutRows` request must include a payload checksum. If
|
|
2946
|
+
# you use an AWS SDK, the SDK calculates the checksum for you. If the
|
|
2947
|
+
# checksum doesn't match the payload, the request fails with a
|
|
2948
|
+
# `BadRequestException` error.
|
|
2949
|
+
# @return [String]
|
|
2950
|
+
#
|
|
2951
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/PutRowsRequest AWS API Documentation
|
|
2952
|
+
#
|
|
2953
|
+
class PutRowsRequest < Struct.new(
|
|
2954
|
+
:table_arn,
|
|
2955
|
+
:channel_id,
|
|
2956
|
+
:payload,
|
|
2957
|
+
:payload_format,
|
|
2958
|
+
:checksum_algorithm)
|
|
2959
|
+
SENSITIVE = []
|
|
2960
|
+
include Aws::Structure
|
|
2961
|
+
end
|
|
2962
|
+
|
|
2963
|
+
# @!attribute [rw] accepted_rows
|
|
2964
|
+
# The number of rows that the channel accepted.
|
|
2965
|
+
# @return [Integer]
|
|
2966
|
+
#
|
|
2967
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/PutRowsResponse AWS API Documentation
|
|
2968
|
+
#
|
|
2969
|
+
class PutRowsResponse < Struct.new(
|
|
2970
|
+
:accepted_rows)
|
|
2971
|
+
SENSITIVE = []
|
|
2972
|
+
include Aws::Structure
|
|
2973
|
+
end
|
|
2974
|
+
|
|
2975
|
+
# @!attribute [rw] storage_lens_id
|
|
2976
|
+
# The ID of the S3 Storage Lens configuration. It must match the `id`
|
|
2977
|
+
# in `storageLensConfiguration`.
|
|
2978
|
+
# @return [String]
|
|
2979
|
+
#
|
|
2980
|
+
# @!attribute [rw] storage_lens_configuration
|
|
2981
|
+
# The S3 Storage Lens configuration.
|
|
2982
|
+
# @return [Types::StorageLensConfiguration]
|
|
2983
|
+
#
|
|
2984
|
+
# @!attribute [rw] tags
|
|
2985
|
+
# A map of user-defined tags that you would like to apply to the S3
|
|
2986
|
+
# Storage Lens configuration. A tag is a key-value pair that you apply
|
|
2987
|
+
# to your resources. Tags can help you organize, track costs for, and
|
|
2988
|
+
# control access to resources. For more information, see [Tagging for
|
|
2989
|
+
# cost allocation or attribute-based access control (ABAC)][1].
|
|
2990
|
+
#
|
|
2991
|
+
# If you specify `tags` for an existing configuration, they replace
|
|
2992
|
+
# all of its tags. To remove all of its tags, specify an empty map. If
|
|
2993
|
+
# you don't specify `tags`, the existing tags don't change. A
|
|
2994
|
+
# configuration can have up to 50 tags.
|
|
2995
|
+
#
|
|
2996
|
+
# <note markdown="1"> You must have the `s3tables:TagResource` permission in addition to
|
|
2997
|
+
# the `s3tables:PutStorageLensConfiguration` permission to apply tags.
|
|
2998
|
+
# To remove tags from an existing configuration, you must also have
|
|
2999
|
+
# the `s3tables:UntagResource` permission.
|
|
3000
|
+
#
|
|
3001
|
+
# </note>
|
|
3002
|
+
#
|
|
3003
|
+
#
|
|
3004
|
+
#
|
|
3005
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html
|
|
3006
|
+
# @return [Hash<String,String>]
|
|
3007
|
+
#
|
|
3008
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/PutStorageLensConfigurationRequest AWS API Documentation
|
|
3009
|
+
#
|
|
3010
|
+
class PutStorageLensConfigurationRequest < Struct.new(
|
|
3011
|
+
:storage_lens_id,
|
|
3012
|
+
:storage_lens_configuration,
|
|
3013
|
+
:tags)
|
|
3014
|
+
SENSITIVE = []
|
|
3015
|
+
include Aws::Structure
|
|
3016
|
+
end
|
|
3017
|
+
|
|
3018
|
+
# @!attribute [rw] arn
|
|
3019
|
+
# The Amazon Resource Name (ARN) of the S3 Storage Lens configuration.
|
|
3020
|
+
# @return [String]
|
|
3021
|
+
#
|
|
3022
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/PutStorageLensConfigurationResponse AWS API Documentation
|
|
3023
|
+
#
|
|
3024
|
+
class PutStorageLensConfigurationResponse < Struct.new(
|
|
3025
|
+
:arn)
|
|
3026
|
+
SENSITIVE = []
|
|
3027
|
+
include Aws::Structure
|
|
3028
|
+
end
|
|
3029
|
+
|
|
2787
3030
|
# @!attribute [rw] table_bucket_arn
|
|
2788
3031
|
# The Amazon Resource Name (ARN) of the table bucket.
|
|
2789
3032
|
# @return [String]
|
|
@@ -3204,6 +3447,51 @@ module Aws::S3Tables
|
|
|
3204
3447
|
include Aws::Structure
|
|
3205
3448
|
end
|
|
3206
3449
|
|
|
3450
|
+
# A general purpose bucket that S3 Storage Lens exports daily metrics
|
|
3451
|
+
# files to. The bucket policy must allow S3 Storage Lens for Tables to
|
|
3452
|
+
# write the export files to the bucket.
|
|
3453
|
+
#
|
|
3454
|
+
# @!attribute [rw] format
|
|
3455
|
+
# The format of the export files.
|
|
3456
|
+
# @return [String]
|
|
3457
|
+
#
|
|
3458
|
+
# @!attribute [rw] output_schema_version
|
|
3459
|
+
# The schema version of the export files.
|
|
3460
|
+
# @return [String]
|
|
3461
|
+
#
|
|
3462
|
+
# @!attribute [rw] account_id
|
|
3463
|
+
# The ID of the account that owns the bucket.
|
|
3464
|
+
# @return [String]
|
|
3465
|
+
#
|
|
3466
|
+
# @!attribute [rw] arn
|
|
3467
|
+
# The Amazon Resource Name (ARN) of the bucket, such as
|
|
3468
|
+
# `arn:aws:s3:::amzn-s3-demo-bucket`.
|
|
3469
|
+
# @return [String]
|
|
3470
|
+
#
|
|
3471
|
+
# @!attribute [rw] prefix
|
|
3472
|
+
# The prefix in the bucket where S3 Storage Lens delivers the export
|
|
3473
|
+
# files.
|
|
3474
|
+
# @return [String]
|
|
3475
|
+
#
|
|
3476
|
+
# @!attribute [rw] encryption
|
|
3477
|
+
# The server-side encryption for the export files. To use SSE-KMS, set
|
|
3478
|
+
# `sseAlgorithm` to `aws:kms` and specify `kmsKeyArn`. The KMS key
|
|
3479
|
+
# must be in the same Region as the configuration.
|
|
3480
|
+
# @return [Types::EncryptionConfiguration]
|
|
3481
|
+
#
|
|
3482
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/S3BucketDestination AWS API Documentation
|
|
3483
|
+
#
|
|
3484
|
+
class S3BucketDestination < Struct.new(
|
|
3485
|
+
:format,
|
|
3486
|
+
:output_schema_version,
|
|
3487
|
+
:account_id,
|
|
3488
|
+
:arn,
|
|
3489
|
+
:prefix,
|
|
3490
|
+
:encryption)
|
|
3491
|
+
SENSITIVE = []
|
|
3492
|
+
include Aws::Structure
|
|
3493
|
+
end
|
|
3494
|
+
|
|
3207
3495
|
# Contains details about a schema field.
|
|
3208
3496
|
#
|
|
3209
3497
|
# @!attribute [rw] id
|
|
@@ -3245,9 +3533,9 @@ module Aws::S3Tables
|
|
|
3245
3533
|
include Aws::Structure
|
|
3246
3534
|
end
|
|
3247
3535
|
|
|
3248
|
-
# Contains details about a schema field
|
|
3249
|
-
#
|
|
3250
|
-
#
|
|
3536
|
+
# Contains details about a schema field. This field format supports
|
|
3537
|
+
# nested and complex data types such as `struct`, `list`, and `map`, in
|
|
3538
|
+
# addition to primitive types.
|
|
3251
3539
|
#
|
|
3252
3540
|
# @!attribute [rw] id
|
|
3253
3541
|
# The unique identifier for the schema field. Field IDs are used by
|
|
@@ -3294,6 +3582,20 @@ module Aws::S3Tables
|
|
|
3294
3582
|
include Aws::Structure
|
|
3295
3583
|
end
|
|
3296
3584
|
|
|
3585
|
+
# The request failed because the service is temporarily unavailable.
|
|
3586
|
+
# Retry your request.
|
|
3587
|
+
#
|
|
3588
|
+
# @!attribute [rw] message
|
|
3589
|
+
# @return [String]
|
|
3590
|
+
#
|
|
3591
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/ServiceUnavailableException AWS API Documentation
|
|
3592
|
+
#
|
|
3593
|
+
class ServiceUnavailableException < Struct.new(
|
|
3594
|
+
:message)
|
|
3595
|
+
SENSITIVE = []
|
|
3596
|
+
include Aws::Structure
|
|
3597
|
+
end
|
|
3598
|
+
|
|
3297
3599
|
# The source to migrate from. Set exactly one member, and set
|
|
3298
3600
|
# `sourceType` to match it.
|
|
3299
3601
|
#
|
|
@@ -3356,10 +3658,15 @@ module Aws::S3Tables
|
|
|
3356
3658
|
# @!attribute [rw] review_migration_plan
|
|
3357
3659
|
# Specifies whether the migration waits in the `pendingReview` state,
|
|
3358
3660
|
# so that you can review the compatibility reports before it migrates
|
|
3359
|
-
# any data.
|
|
3360
|
-
#
|
|
3361
|
-
#
|
|
3362
|
-
#
|
|
3661
|
+
# any data. Valid values:
|
|
3662
|
+
#
|
|
3663
|
+
# * `true` - The migration waits in `pendingReview` until you call
|
|
3664
|
+
# `UpdateTableMigration` with `requestedState` set to `queued`. If
|
|
3665
|
+
# you don't continue or cancel the migration within 30 days, the
|
|
3666
|
+
# migration fails with `internalError`.
|
|
3667
|
+
#
|
|
3668
|
+
# * `false` - The migration continues without waiting for review. This
|
|
3669
|
+
# is the default.
|
|
3363
3670
|
# @return [Boolean]
|
|
3364
3671
|
#
|
|
3365
3672
|
# @!attribute [rw] migration_output
|
|
@@ -3421,6 +3728,233 @@ module Aws::S3Tables
|
|
|
3421
3728
|
include Aws::Structure
|
|
3422
3729
|
end
|
|
3423
3730
|
|
|
3731
|
+
# The Amazon Web Services organization for an organization-level S3
|
|
3732
|
+
# Storage Lens configuration.
|
|
3733
|
+
#
|
|
3734
|
+
# @!attribute [rw] arn
|
|
3735
|
+
# The Amazon Resource Name (ARN) of the Amazon Web Services
|
|
3736
|
+
# organization that your account belongs to, such as
|
|
3737
|
+
# `arn:aws:organizations::111122223333:organization/o-exampleorgid`.
|
|
3738
|
+
# @return [String]
|
|
3739
|
+
#
|
|
3740
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/StorageLensAwsOrg AWS API Documentation
|
|
3741
|
+
#
|
|
3742
|
+
class StorageLensAwsOrg < Struct.new(
|
|
3743
|
+
:arn)
|
|
3744
|
+
SENSITIVE = []
|
|
3745
|
+
include Aws::Structure
|
|
3746
|
+
end
|
|
3747
|
+
|
|
3748
|
+
# An Amazon S3 Storage Lens for Tables configuration.
|
|
3749
|
+
#
|
|
3750
|
+
# @!attribute [rw] id
|
|
3751
|
+
# The ID of the S3 Storage Lens configuration. In a
|
|
3752
|
+
# `PutStorageLensConfiguration` request, it must match
|
|
3753
|
+
# `storageLensId`.
|
|
3754
|
+
# @return [String]
|
|
3755
|
+
#
|
|
3756
|
+
# @!attribute [rw] advanced_metrics_categories
|
|
3757
|
+
# The metrics categories that S3 Storage Lens collects advanced
|
|
3758
|
+
# metrics for. Every configuration includes the basic storage metrics.
|
|
3759
|
+
# Advanced metrics are optional and incur charges. To collect only the
|
|
3760
|
+
# basic storage metrics, specify an empty list. Each category can
|
|
3761
|
+
# appear in the list only once. Valid values:
|
|
3762
|
+
#
|
|
3763
|
+
# * `StorageMetrics` - How much data your tables store, such as
|
|
3764
|
+
# meterable bytes and file counts by Apache Iceberg file type (data
|
|
3765
|
+
# files, delete files, metadata files, and manifest files), and each
|
|
3766
|
+
# table's maintenance settings. Specify this category to collect
|
|
3767
|
+
# the advanced storage metrics in addition to the basic storage
|
|
3768
|
+
# metrics.
|
|
3769
|
+
#
|
|
3770
|
+
# * `ActivityMetrics` - How your tables are accessed, such as request
|
|
3771
|
+
# counts by request type, bytes uploaded and downloaded, error
|
|
3772
|
+
# counts by status code, and request latency.
|
|
3773
|
+
#
|
|
3774
|
+
# * `MaintenanceMetrics` - What managed table maintenance did, such as
|
|
3775
|
+
# the outcomes of compaction, unreferenced file removal, and
|
|
3776
|
+
# snapshot expiration, including the files that each operation
|
|
3777
|
+
# removed and any errors that occurred.
|
|
3778
|
+
# @return [Array<String>]
|
|
3779
|
+
#
|
|
3780
|
+
# @!attribute [rw] include
|
|
3781
|
+
# The table buckets and Regions to include in the configuration. You
|
|
3782
|
+
# can specify `include` or `exclude`, but not both. If you specify
|
|
3783
|
+
# `include`, it must contain at least one table bucket or Region.
|
|
3784
|
+
# @return [Types::StorageLensScope]
|
|
3785
|
+
#
|
|
3786
|
+
# @!attribute [rw] exclude
|
|
3787
|
+
# The table buckets and Regions to exclude from the configuration. You
|
|
3788
|
+
# can specify `include` or `exclude`, but not both. If you specify
|
|
3789
|
+
# `exclude`, it must contain at least one table bucket or Region.
|
|
3790
|
+
# @return [Types::StorageLensScope]
|
|
3791
|
+
#
|
|
3792
|
+
# @!attribute [rw] data_export
|
|
3793
|
+
# The properties of your S3 Storage Lens metrics export, including the
|
|
3794
|
+
# destinations, schema, and format. If you specify `dataExport`, you
|
|
3795
|
+
# must specify at least one destination.
|
|
3796
|
+
# @return [Types::StorageLensDataExport]
|
|
3797
|
+
#
|
|
3798
|
+
# @!attribute [rw] is_enabled
|
|
3799
|
+
# Specifies whether the S3 Storage Lens configuration is enabled.
|
|
3800
|
+
# @return [Boolean]
|
|
3801
|
+
#
|
|
3802
|
+
# @!attribute [rw] aws_org
|
|
3803
|
+
# The Amazon Web Services organization for an organization-level
|
|
3804
|
+
# configuration. To create an organization-level configuration, you
|
|
3805
|
+
# must send the request from the organization's management account or
|
|
3806
|
+
# from a delegated administrator account for S3 Storage Lens, and
|
|
3807
|
+
# trusted access for S3 Storage Lens must be enabled in Amazon Web
|
|
3808
|
+
# Services Organizations. An organization-level configuration can't
|
|
3809
|
+
# include or exclude specific table buckets.
|
|
3810
|
+
# @return [Types::StorageLensAwsOrg]
|
|
3811
|
+
#
|
|
3812
|
+
# @!attribute [rw] storage_lens_arn
|
|
3813
|
+
# The Amazon Resource Name (ARN) of the S3 Storage Lens configuration,
|
|
3814
|
+
# such as
|
|
3815
|
+
# `arn:aws:s3tables:us-east-1:111122223333:storage-lens/example-configuration`.
|
|
3816
|
+
# This property is read-only. S3 Storage Lens ignores it in a
|
|
3817
|
+
# `PutStorageLensConfiguration` request.
|
|
3818
|
+
# @return [String]
|
|
3819
|
+
#
|
|
3820
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/StorageLensConfiguration AWS API Documentation
|
|
3821
|
+
#
|
|
3822
|
+
class StorageLensConfiguration < Struct.new(
|
|
3823
|
+
:id,
|
|
3824
|
+
:advanced_metrics_categories,
|
|
3825
|
+
:include,
|
|
3826
|
+
:exclude,
|
|
3827
|
+
:data_export,
|
|
3828
|
+
:is_enabled,
|
|
3829
|
+
:aws_org,
|
|
3830
|
+
:storage_lens_arn)
|
|
3831
|
+
SENSITIVE = []
|
|
3832
|
+
include Aws::Structure
|
|
3833
|
+
end
|
|
3834
|
+
|
|
3835
|
+
# Specifies whether an S3 Storage Lens feature, such as publishing
|
|
3836
|
+
# metrics to Amazon CloudWatch, is enabled.
|
|
3837
|
+
#
|
|
3838
|
+
# @!attribute [rw] is_enabled
|
|
3839
|
+
# Specifies whether the feature is enabled.
|
|
3840
|
+
# @return [Boolean]
|
|
3841
|
+
#
|
|
3842
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/StorageLensConfigurationItem AWS API Documentation
|
|
3843
|
+
#
|
|
3844
|
+
class StorageLensConfigurationItem < Struct.new(
|
|
3845
|
+
:is_enabled)
|
|
3846
|
+
SENSITIVE = []
|
|
3847
|
+
include Aws::Structure
|
|
3848
|
+
end
|
|
3849
|
+
|
|
3850
|
+
# Contains details about an S3 Storage Lens configuration.
|
|
3851
|
+
#
|
|
3852
|
+
# @!attribute [rw] home_region
|
|
3853
|
+
# The home Region of the S3 Storage Lens configuration. S3 Storage
|
|
3854
|
+
# Lens stores the configuration's metrics in this Region.
|
|
3855
|
+
# @return [String]
|
|
3856
|
+
#
|
|
3857
|
+
# @!attribute [rw] id
|
|
3858
|
+
# The ID of the S3 Storage Lens configuration.
|
|
3859
|
+
# @return [String]
|
|
3860
|
+
#
|
|
3861
|
+
# @!attribute [rw] storage_lens_arn
|
|
3862
|
+
# The Amazon Resource Name (ARN) of the S3 Storage Lens configuration.
|
|
3863
|
+
# @return [String]
|
|
3864
|
+
#
|
|
3865
|
+
# @!attribute [rw] is_enabled
|
|
3866
|
+
# Specifies whether the S3 Storage Lens configuration is enabled.
|
|
3867
|
+
# @return [Boolean]
|
|
3868
|
+
#
|
|
3869
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/StorageLensConfigurationSummary AWS API Documentation
|
|
3870
|
+
#
|
|
3871
|
+
class StorageLensConfigurationSummary < Struct.new(
|
|
3872
|
+
:home_region,
|
|
3873
|
+
:id,
|
|
3874
|
+
:storage_lens_arn,
|
|
3875
|
+
:is_enabled)
|
|
3876
|
+
SENSITIVE = []
|
|
3877
|
+
include Aws::Structure
|
|
3878
|
+
end
|
|
3879
|
+
|
|
3880
|
+
# The properties of your S3 Storage Lens metrics export, including the
|
|
3881
|
+
# destinations, schema, and format. You must specify at least one
|
|
3882
|
+
# destination.
|
|
3883
|
+
#
|
|
3884
|
+
# @!attribute [rw] cloud_watch_metrics
|
|
3885
|
+
# Specifies whether S3 Storage Lens publishes metrics to Amazon
|
|
3886
|
+
# CloudWatch.
|
|
3887
|
+
# @return [Types::StorageLensConfigurationItem]
|
|
3888
|
+
#
|
|
3889
|
+
# @!attribute [rw] s3_bucket_destination
|
|
3890
|
+
# The general purpose bucket that S3 Storage Lens exports metrics
|
|
3891
|
+
# files to.
|
|
3892
|
+
# @return [Types::S3BucketDestination]
|
|
3893
|
+
#
|
|
3894
|
+
# @!attribute [rw] storage_lens_table_destination
|
|
3895
|
+
# Specifies whether S3 Storage Lens exports metrics to read-only
|
|
3896
|
+
# tables in the Amazon Web Services managed table bucket `aws-s3`.
|
|
3897
|
+
# @return [Types::StorageLensTableDestination]
|
|
3898
|
+
#
|
|
3899
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/StorageLensDataExport AWS API Documentation
|
|
3900
|
+
#
|
|
3901
|
+
class StorageLensDataExport < Struct.new(
|
|
3902
|
+
:cloud_watch_metrics,
|
|
3903
|
+
:s3_bucket_destination,
|
|
3904
|
+
:storage_lens_table_destination)
|
|
3905
|
+
SENSITIVE = []
|
|
3906
|
+
include Aws::Structure
|
|
3907
|
+
end
|
|
3908
|
+
|
|
3909
|
+
# The table buckets and Regions that an S3 Storage Lens configuration
|
|
3910
|
+
# includes or excludes.
|
|
3911
|
+
#
|
|
3912
|
+
# @!attribute [rw] table_buckets
|
|
3913
|
+
# The Amazon Resource Names (ARNs) of the table buckets, up to 50.
|
|
3914
|
+
# @return [Array<String>]
|
|
3915
|
+
#
|
|
3916
|
+
# @!attribute [rw] regions
|
|
3917
|
+
# The Regions, such as `us-east-1`, up to 50. A configuration can
|
|
3918
|
+
# report on table buckets in Regions other than its home Region.
|
|
3919
|
+
# @return [Array<String>]
|
|
3920
|
+
#
|
|
3921
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/StorageLensScope AWS API Documentation
|
|
3922
|
+
#
|
|
3923
|
+
class StorageLensScope < Struct.new(
|
|
3924
|
+
:table_buckets,
|
|
3925
|
+
:regions)
|
|
3926
|
+
SENSITIVE = []
|
|
3927
|
+
include Aws::Structure
|
|
3928
|
+
end
|
|
3929
|
+
|
|
3930
|
+
# Configures S3 Storage Lens to export metrics to read-only Apache
|
|
3931
|
+
# Iceberg tables in the Amazon Web Services managed table bucket
|
|
3932
|
+
# `aws-s3` in your account. This stores your metrics in a structured,
|
|
3933
|
+
# queryable table format.
|
|
3934
|
+
#
|
|
3935
|
+
# @!attribute [rw] is_enabled
|
|
3936
|
+
# Specifies whether the export to tables is enabled. When set to
|
|
3937
|
+
# `true`, S3 Storage Lens exports metrics to tables in addition to any
|
|
3938
|
+
# other destinations that you configure.
|
|
3939
|
+
# @return [Boolean]
|
|
3940
|
+
#
|
|
3941
|
+
# @!attribute [rw] encryption
|
|
3942
|
+
# The server-side encryption for the tables that S3 Storage Lens
|
|
3943
|
+
# exports metrics to. To use SSE-KMS, set `sseAlgorithm` to `aws:kms`
|
|
3944
|
+
# and specify `kmsKeyArn`. The KMS key must be in the same Region as
|
|
3945
|
+
# the configuration. After S3 Storage Lens creates the tables, you
|
|
3946
|
+
# can't change their encryption.
|
|
3947
|
+
# @return [Types::EncryptionConfiguration]
|
|
3948
|
+
#
|
|
3949
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/StorageLensTableDestination AWS API Documentation
|
|
3950
|
+
#
|
|
3951
|
+
class StorageLensTableDestination < Struct.new(
|
|
3952
|
+
:is_enabled,
|
|
3953
|
+
:encryption)
|
|
3954
|
+
SENSITIVE = []
|
|
3955
|
+
include Aws::Structure
|
|
3956
|
+
end
|
|
3957
|
+
|
|
3424
3958
|
# @!attribute [rw] role_arn
|
|
3425
3959
|
# The Amazon Resource Name (ARN) of the IAM role that the sync uses to
|
|
3426
3960
|
# read the source table and its data and to write the destination
|
|
@@ -3439,10 +3973,15 @@ module Aws::S3Tables
|
|
|
3439
3973
|
# @!attribute [rw] review_migration_plan
|
|
3440
3974
|
# Specifies whether the sync waits in the `pendingReview` state, so
|
|
3441
3975
|
# that you can review the compatibility reports before it migrates any
|
|
3442
|
-
# data.
|
|
3443
|
-
#
|
|
3444
|
-
#
|
|
3445
|
-
#
|
|
3976
|
+
# data. Valid values:
|
|
3977
|
+
#
|
|
3978
|
+
# * `true` - The sync waits in `pendingReview` until you call
|
|
3979
|
+
# `UpdateTableMigration` with `requestedState` set to `queued`. If
|
|
3980
|
+
# you don't continue or cancel the sync within 30 days, the sync
|
|
3981
|
+
# fails with `internalError`.
|
|
3982
|
+
#
|
|
3983
|
+
# * `false` - The sync continues without waiting for review. This is
|
|
3984
|
+
# the default.
|
|
3446
3985
|
# @return [Boolean]
|
|
3447
3986
|
#
|
|
3448
3987
|
# @!attribute [rw] migration_output
|
|
@@ -3880,9 +4419,10 @@ module Aws::S3Tables
|
|
|
3880
4419
|
|
|
3881
4420
|
# @!attribute [rw] resource_arn
|
|
3882
4421
|
# The Amazon Resource Name (ARN) of the Amazon S3 Tables resource that
|
|
3883
|
-
# you're applying tags to. The tagged resource can be a table bucket
|
|
3884
|
-
#
|
|
3885
|
-
# [Managing tags for
|
|
4422
|
+
# you're applying tags to. The tagged resource can be a table bucket,
|
|
4423
|
+
# a table, or an S3 Storage Lens for Tables configuration. For a list
|
|
4424
|
+
# of all S3 resources that support tagging, see [Managing tags for
|
|
4425
|
+
# Amazon S3 resources][1].
|
|
3886
4426
|
#
|
|
3887
4427
|
#
|
|
3888
4428
|
#
|
|
@@ -3943,8 +4483,9 @@ module Aws::S3Tables
|
|
|
3943
4483
|
# @!attribute [rw] resource_arn
|
|
3944
4484
|
# The Amazon Resource Name (ARN) of the Amazon S3 Tables resource that
|
|
3945
4485
|
# you're removing tags from. The tagged resource can be a table
|
|
3946
|
-
# bucket
|
|
3947
|
-
# tagging, see [Managing tags
|
|
4486
|
+
# bucket, a table, or an S3 Storage Lens for Tables configuration. For
|
|
4487
|
+
# a list of all S3 resources that support tagging, see [Managing tags
|
|
4488
|
+
# for Amazon S3 resources][1].
|
|
3948
4489
|
#
|
|
3949
4490
|
#
|
|
3950
4491
|
#
|
|
@@ -4053,7 +4594,7 @@ module Aws::S3Tables
|
|
|
4053
4594
|
# @!attribute [rw] requested_state
|
|
4054
4595
|
# The state to move the migration to: `queued` to continue a migration
|
|
4055
4596
|
# in the `pendingReview` state, or `cancelled` to cancel a migration
|
|
4056
|
-
# in the `new`, `planning`, `pendingReview`, `queued
|
|
4597
|
+
# in the `new`, `planning`, `pendingReview`, `queued`, or `migrating`
|
|
4057
4598
|
# state.
|
|
4058
4599
|
# @return [String]
|
|
4059
4600
|
#
|