aws-sdk-s3tables 1.47.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3tables/client.rb +605 -57
- data/lib/aws-sdk-s3tables/client_api.rb +258 -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 +641 -83
- data/lib/aws-sdk-s3tables.rb +1 -1
- data/sig/client.rbs +115 -0
- data/sig/errors.rbs +3 -0
- data/sig/types.rbs +138 -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]
|
|
@@ -559,6 +563,23 @@ module Aws::S3Tables
|
|
|
559
563
|
include Aws::Structure
|
|
560
564
|
end
|
|
561
565
|
|
|
566
|
+
# @!attribute [rw] table_arn
|
|
567
|
+
# The Amazon Resource Name (ARN) of the replica table to disassociate
|
|
568
|
+
# from replication.
|
|
569
|
+
# @return [String]
|
|
570
|
+
#
|
|
571
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/DisassociateTableReplicationRequest AWS API Documentation
|
|
572
|
+
#
|
|
573
|
+
class DisassociateTableReplicationRequest < Struct.new(
|
|
574
|
+
:table_arn)
|
|
575
|
+
SENSITIVE = []
|
|
576
|
+
include Aws::Structure
|
|
577
|
+
end
|
|
578
|
+
|
|
579
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/DisassociateTableReplicationResponse AWS API Documentation
|
|
580
|
+
#
|
|
581
|
+
class DisassociateTableReplicationResponse < Aws::EmptyStructure; end
|
|
582
|
+
|
|
562
583
|
# Configuration specifying how data should be encrypted. This structure
|
|
563
584
|
# defines the encryption algorithm and optional KMS key to be used for
|
|
564
585
|
# server-side encryption.
|
|
@@ -603,6 +624,65 @@ module Aws::S3Tables
|
|
|
603
624
|
include Aws::Structure
|
|
604
625
|
end
|
|
605
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
|
+
|
|
606
686
|
# @!attribute [rw] table_bucket_arn
|
|
607
687
|
# The Amazon Resource Name (ARN) of the table bucket.
|
|
608
688
|
# @return [String]
|
|
@@ -657,6 +737,30 @@ module Aws::S3Tables
|
|
|
657
737
|
include Aws::Structure
|
|
658
738
|
end
|
|
659
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
|
+
|
|
660
764
|
# @!attribute [rw] table_bucket_arn
|
|
661
765
|
# The Amazon Resource Name (ARN) of the table bucket.
|
|
662
766
|
# @return [String]
|
|
@@ -1606,11 +1710,10 @@ module Aws::S3Tables
|
|
|
1606
1710
|
# @return [Types::IcebergSchema]
|
|
1607
1711
|
#
|
|
1608
1712
|
# @!attribute [rw] schema_v2
|
|
1609
|
-
# The schema for an Iceberg table
|
|
1610
|
-
#
|
|
1611
|
-
#
|
|
1612
|
-
#
|
|
1613
|
-
# `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`.
|
|
1614
1717
|
# @return [Types::IcebergSchemaV2]
|
|
1615
1718
|
#
|
|
1616
1719
|
# @!attribute [rw] partition_spec
|
|
@@ -1722,9 +1825,9 @@ module Aws::S3Tables
|
|
|
1722
1825
|
include Aws::Structure
|
|
1723
1826
|
end
|
|
1724
1827
|
|
|
1725
|
-
# Contains details about the schema for an Iceberg table
|
|
1726
|
-
# format
|
|
1727
|
-
#
|
|
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.
|
|
1728
1831
|
#
|
|
1729
1832
|
# @!attribute [rw] type
|
|
1730
1833
|
# The type of the top-level schema, which is always a `struct` type as
|
|
@@ -1742,13 +1845,12 @@ module Aws::S3Tables
|
|
|
1742
1845
|
# @return [Array<Types::SchemaV2Field>]
|
|
1743
1846
|
#
|
|
1744
1847
|
# @!attribute [rw] schema_id
|
|
1745
|
-
# An optional
|
|
1746
|
-
#
|
|
1848
|
+
# An optional ID for the schema. Apache Iceberg uses schema IDs to
|
|
1849
|
+
# track schema evolution.
|
|
1747
1850
|
# @return [Integer]
|
|
1748
1851
|
#
|
|
1749
1852
|
# @!attribute [rw] identifier_field_ids
|
|
1750
|
-
#
|
|
1751
|
-
# table. Identifier fields uniquely identify a row in the table.
|
|
1853
|
+
# The IDs of the fields that uniquely identify each row in the table.
|
|
1752
1854
|
# @return [Array<Integer>]
|
|
1753
1855
|
#
|
|
1754
1856
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/IcebergSchemaV2 AWS API Documentation
|
|
@@ -1825,15 +1927,14 @@ module Aws::S3Tables
|
|
|
1825
1927
|
# skipping.
|
|
1826
1928
|
#
|
|
1827
1929
|
# @!attribute [rw] order_id
|
|
1828
|
-
# The
|
|
1829
|
-
#
|
|
1830
|
-
# 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.
|
|
1831
1932
|
# @return [Integer]
|
|
1832
1933
|
#
|
|
1833
1934
|
# @!attribute [rw] fields
|
|
1834
|
-
# The
|
|
1835
|
-
#
|
|
1836
|
-
#
|
|
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.
|
|
1837
1938
|
# @return [Array<Types::IcebergSortField>]
|
|
1838
1939
|
#
|
|
1839
1940
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/IcebergSortOrder AWS API Documentation
|
|
@@ -1947,6 +2048,37 @@ module Aws::S3Tables
|
|
|
1947
2048
|
include Aws::Structure
|
|
1948
2049
|
end
|
|
1949
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
|
+
|
|
1950
2082
|
# @!attribute [rw] prefix
|
|
1951
2083
|
# The prefix of the table buckets.
|
|
1952
2084
|
# @return [String]
|
|
@@ -2023,8 +2155,9 @@ module Aws::S3Tables
|
|
|
2023
2155
|
# @return [String]
|
|
2024
2156
|
#
|
|
2025
2157
|
# @!attribute [rw] has_valid_plan
|
|
2026
|
-
# The `hasValidPlan` value to filter the list by.
|
|
2027
|
-
#
|
|
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.
|
|
2028
2161
|
# @return [Boolean]
|
|
2029
2162
|
#
|
|
2030
2163
|
# @!attribute [rw] max_results
|
|
@@ -2125,9 +2258,10 @@ module Aws::S3Tables
|
|
|
2125
2258
|
|
|
2126
2259
|
# @!attribute [rw] resource_arn
|
|
2127
2260
|
# The Amazon Resource Name (ARN) of the Amazon S3 Tables resource that
|
|
2128
|
-
# you want to list tags for. The tagged resource can be a table
|
|
2129
|
-
#
|
|
2130
|
-
#
|
|
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].
|
|
2131
2265
|
#
|
|
2132
2266
|
#
|
|
2133
2267
|
#
|
|
@@ -2262,7 +2396,8 @@ module Aws::S3Tables
|
|
|
2262
2396
|
#
|
|
2263
2397
|
# @!attribute [rw] strategy
|
|
2264
2398
|
# The compaction strategy. The only valid value is `binpack`, which is
|
|
2265
|
-
# the default.
|
|
2399
|
+
# the default. The request fails if you specify `auto`, `sort`, or
|
|
2400
|
+
# `z-order`.
|
|
2266
2401
|
# @return [String]
|
|
2267
2402
|
#
|
|
2268
2403
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/MigrationCompactionSettings AWS API Documentation
|
|
@@ -2291,11 +2426,12 @@ module Aws::S3Tables
|
|
|
2291
2426
|
# table (`database.table`) or the source bucket.
|
|
2292
2427
|
#
|
|
2293
2428
|
# * `destinationPermissions` - The migration role couldn't write to
|
|
2294
|
-
# the table bucket
|
|
2429
|
+
# the table bucket, the destination table or the report bucket.
|
|
2430
|
+
# `detail` names the destination table or the bucket.
|
|
2295
2431
|
#
|
|
2296
2432
|
# * `resourceNotFound` - A resource that you specified doesn't exist,
|
|
2297
|
-
# such as the Amazon Web Services Glue table
|
|
2298
|
-
# `detail` names it.
|
|
2433
|
+
# such as the Amazon Web Services Glue table, the source bucket, or
|
|
2434
|
+
# the report bucket. `detail` names it.
|
|
2299
2435
|
#
|
|
2300
2436
|
# * `sourceNotSupported` - The source table can't be migrated, for
|
|
2301
2437
|
# example because it is empty, has too many objects, or has columns
|
|
@@ -2303,10 +2439,10 @@ module Aws::S3Tables
|
|
|
2303
2439
|
# report lists the findings.
|
|
2304
2440
|
#
|
|
2305
2441
|
# * `tableCompatibilityReport` - The migration couldn't create the
|
|
2306
|
-
# destination table, for example because a table with that name
|
|
2307
|
-
#
|
|
2308
|
-
# destination table changed after the previous
|
|
2309
|
-
# 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.
|
|
2310
2446
|
#
|
|
2311
2447
|
# * `objectCompatibilityReport` - Some source objects can't be
|
|
2312
2448
|
# migrated, for example because they are archived, or because they
|
|
@@ -2322,7 +2458,8 @@ module Aws::S3Tables
|
|
|
2322
2458
|
#
|
|
2323
2459
|
# * `internalError` - S3 Tables encountered an internal error. Retry
|
|
2324
2460
|
# the migration, and contact Amazon Web Services Support if the
|
|
2325
|
-
# error persists.
|
|
2461
|
+
# error persists. A migration that waits in the `pendingReview`
|
|
2462
|
+
# state for more than 30 days also fails with this code.
|
|
2326
2463
|
# @return [String]
|
|
2327
2464
|
#
|
|
2328
2465
|
# @!attribute [rw] detail
|
|
@@ -2346,8 +2483,10 @@ module Aws::S3Tables
|
|
|
2346
2483
|
# report goes to one bucket, each under its own prefix.
|
|
2347
2484
|
#
|
|
2348
2485
|
# @!attribute [rw] bucket
|
|
2349
|
-
# The
|
|
2350
|
-
# 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.
|
|
2351
2490
|
# @return [String]
|
|
2352
2491
|
#
|
|
2353
2492
|
# @!attribute [rw] prefixes
|
|
@@ -2367,8 +2506,8 @@ module Aws::S3Tables
|
|
|
2367
2506
|
# once it is written.
|
|
2368
2507
|
#
|
|
2369
2508
|
# @!attribute [rw] bucket
|
|
2370
|
-
# The
|
|
2371
|
-
# to.
|
|
2509
|
+
# The Amazon Resource Name (ARN) of the general purpose bucket that
|
|
2510
|
+
# the migration writes every report to.
|
|
2372
2511
|
# @return [String]
|
|
2373
2512
|
#
|
|
2374
2513
|
# @!attribute [rw] table_compatibility_report
|
|
@@ -2413,7 +2552,10 @@ module Aws::S3Tables
|
|
|
2413
2552
|
# The migration policy for a source field that has no matching column
|
|
2414
2553
|
# in the destination schema. Valid values:
|
|
2415
2554
|
#
|
|
2416
|
-
# * `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.
|
|
2417
2559
|
#
|
|
2418
2560
|
# * `drop` - Leaves source columns that the destination schema
|
|
2419
2561
|
# doesn't have out of the destination table, and doesn't migrate
|
|
@@ -2431,12 +2573,13 @@ module Aws::S3Tables
|
|
|
2431
2573
|
# * `fail` - Fails the migration. This is the default.
|
|
2432
2574
|
#
|
|
2433
2575
|
# * `setNull` - Writes null for a value that the destination column's
|
|
2434
|
-
# type can't hold. If a column's type in a
|
|
2435
|
-
# incompatible with the destination
|
|
2436
|
-
# 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.
|
|
2437
2579
|
#
|
|
2438
|
-
# A
|
|
2439
|
-
# 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.
|
|
2440
2583
|
# @return [String]
|
|
2441
2584
|
#
|
|
2442
2585
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/MigrationPolicies AWS API Documentation
|
|
@@ -2501,9 +2644,9 @@ module Aws::S3Tables
|
|
|
2501
2644
|
end
|
|
2502
2645
|
|
|
2503
2646
|
# The number of source objects that migrated, failed or are pending. For
|
|
2504
|
-
# a sync, the counts
|
|
2505
|
-
#
|
|
2506
|
-
#
|
|
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.
|
|
2507
2650
|
#
|
|
2508
2651
|
# @!attribute [rw] objects_migrated
|
|
2509
2652
|
# The number of source objects whose data the migration wrote to the
|
|
@@ -2745,10 +2888,11 @@ module Aws::S3Tables
|
|
|
2745
2888
|
#
|
|
2746
2889
|
# @!attribute [rw] objects_planned
|
|
2747
2890
|
# The number of source objects in the migration. For a start, these
|
|
2748
|
-
# are the
|
|
2891
|
+
# are the source objects in the Amazon Web Services Glue table's
|
|
2749
2892
|
# partitions, or under the table's location if the table isn't
|
|
2750
|
-
# partitioned. For a sync, these are all the
|
|
2751
|
-
# 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.
|
|
2752
2896
|
# @return [Integer]
|
|
2753
2897
|
#
|
|
2754
2898
|
# @!attribute [rw] partition_count
|
|
@@ -2767,6 +2911,122 @@ module Aws::S3Tables
|
|
|
2767
2911
|
include Aws::Structure
|
|
2768
2912
|
end
|
|
2769
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
|
+
|
|
2770
3030
|
# @!attribute [rw] table_bucket_arn
|
|
2771
3031
|
# The Amazon Resource Name (ARN) of the table bucket.
|
|
2772
3032
|
# @return [String]
|
|
@@ -3187,6 +3447,51 @@ module Aws::S3Tables
|
|
|
3187
3447
|
include Aws::Structure
|
|
3188
3448
|
end
|
|
3189
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
|
+
|
|
3190
3495
|
# Contains details about a schema field.
|
|
3191
3496
|
#
|
|
3192
3497
|
# @!attribute [rw] id
|
|
@@ -3228,9 +3533,9 @@ module Aws::S3Tables
|
|
|
3228
3533
|
include Aws::Structure
|
|
3229
3534
|
end
|
|
3230
3535
|
|
|
3231
|
-
# Contains details about a schema field
|
|
3232
|
-
#
|
|
3233
|
-
#
|
|
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.
|
|
3234
3539
|
#
|
|
3235
3540
|
# @!attribute [rw] id
|
|
3236
3541
|
# The unique identifier for the schema field. Field IDs are used by
|
|
@@ -3277,6 +3582,20 @@ module Aws::S3Tables
|
|
|
3277
3582
|
include Aws::Structure
|
|
3278
3583
|
end
|
|
3279
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
|
+
|
|
3280
3599
|
# The source to migrate from. Set exactly one member, and set
|
|
3281
3600
|
# `sourceType` to match it.
|
|
3282
3601
|
#
|
|
@@ -3339,10 +3658,15 @@ module Aws::S3Tables
|
|
|
3339
3658
|
# @!attribute [rw] review_migration_plan
|
|
3340
3659
|
# Specifies whether the migration waits in the `pendingReview` state,
|
|
3341
3660
|
# so that you can review the compatibility reports before it migrates
|
|
3342
|
-
# any data.
|
|
3343
|
-
#
|
|
3344
|
-
#
|
|
3345
|
-
#
|
|
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.
|
|
3346
3670
|
# @return [Boolean]
|
|
3347
3671
|
#
|
|
3348
3672
|
# @!attribute [rw] migration_output
|
|
@@ -3404,6 +3728,233 @@ module Aws::S3Tables
|
|
|
3404
3728
|
include Aws::Structure
|
|
3405
3729
|
end
|
|
3406
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
|
+
|
|
3407
3958
|
# @!attribute [rw] role_arn
|
|
3408
3959
|
# The Amazon Resource Name (ARN) of the IAM role that the sync uses to
|
|
3409
3960
|
# read the source table and its data and to write the destination
|
|
@@ -3422,10 +3973,15 @@ module Aws::S3Tables
|
|
|
3422
3973
|
# @!attribute [rw] review_migration_plan
|
|
3423
3974
|
# Specifies whether the sync waits in the `pendingReview` state, so
|
|
3424
3975
|
# that you can review the compatibility reports before it migrates any
|
|
3425
|
-
# data.
|
|
3426
|
-
#
|
|
3427
|
-
#
|
|
3428
|
-
#
|
|
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.
|
|
3429
3985
|
# @return [Boolean]
|
|
3430
3986
|
#
|
|
3431
3987
|
# @!attribute [rw] migration_output
|
|
@@ -3863,9 +4419,10 @@ module Aws::S3Tables
|
|
|
3863
4419
|
|
|
3864
4420
|
# @!attribute [rw] resource_arn
|
|
3865
4421
|
# The Amazon Resource Name (ARN) of the Amazon S3 Tables resource that
|
|
3866
|
-
# you're applying tags to. The tagged resource can be a table bucket
|
|
3867
|
-
#
|
|
3868
|
-
# [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].
|
|
3869
4426
|
#
|
|
3870
4427
|
#
|
|
3871
4428
|
#
|
|
@@ -3926,8 +4483,9 @@ module Aws::S3Tables
|
|
|
3926
4483
|
# @!attribute [rw] resource_arn
|
|
3927
4484
|
# The Amazon Resource Name (ARN) of the Amazon S3 Tables resource that
|
|
3928
4485
|
# you're removing tags from. The tagged resource can be a table
|
|
3929
|
-
# bucket
|
|
3930
|
-
# 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].
|
|
3931
4489
|
#
|
|
3932
4490
|
#
|
|
3933
4491
|
#
|
|
@@ -4036,7 +4594,7 @@ module Aws::S3Tables
|
|
|
4036
4594
|
# @!attribute [rw] requested_state
|
|
4037
4595
|
# The state to move the migration to: `queued` to continue a migration
|
|
4038
4596
|
# in the `pendingReview` state, or `cancelled` to cancel a migration
|
|
4039
|
-
# in the `new`, `planning`, `pendingReview`, `queued
|
|
4597
|
+
# in the `new`, `planning`, `pendingReview`, `queued`, or `migrating`
|
|
4040
4598
|
# state.
|
|
4041
4599
|
# @return [String]
|
|
4042
4600
|
#
|