aws-sdk-glue 1.76.0 → 1.81.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -114,6 +114,45 @@ module Aws::Glue
114
114
  include Aws::Structure
115
115
  end
116
116
 
117
+ # A list of errors that can occur when registering partition indexes for
118
+ # an existing table.
119
+ #
120
+ # These errors give the details about why an index registration failed
121
+ # and provide a limited number of partitions in the response, so that
122
+ # you can fix the partitions at fault and try registering the index
123
+ # again. The most common set of errors that can occur are categorized as
124
+ # follows:
125
+ #
126
+ # * EncryptedPartitionError: The partitions are encrypted.
127
+ #
128
+ # * InvalidPartitionTypeDataError: The partition value doesn't match
129
+ # the data type for that partition column.
130
+ #
131
+ # * MissingPartitionValueError: The partitions are encrypted.
132
+ #
133
+ # * UnsupportedPartitionCharacterError: Characters inside the partition
134
+ # value are not supported. For example: U+0000 , U+0001, U+0002.
135
+ #
136
+ # * InternalError: Any error which does not belong to other error codes.
137
+ #
138
+ # @!attribute [rw] code
139
+ # The error code for an error that occurred when registering partition
140
+ # indexes for an existing table.
141
+ # @return [String]
142
+ #
143
+ # @!attribute [rw] partitions
144
+ # A list of a limited number of partitions in the response.
145
+ # @return [Array<Types::PartitionValueList>]
146
+ #
147
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BackfillError AWS API Documentation
148
+ #
149
+ class BackfillError < Struct.new(
150
+ :code,
151
+ :partitions)
152
+ SENSITIVE = []
153
+ include Aws::Structure
154
+ end
155
+
117
156
  # @note When making an API call, you may pass BatchCreatePartitionRequest
118
157
  # data as a hash:
119
158
  #
@@ -166,6 +205,15 @@ module Aws::Glue
166
205
  # },
167
206
  # },
168
207
  # stored_as_sub_directories: false,
208
+ # schema_reference: {
209
+ # schema_id: {
210
+ # schema_arn: "GlueResourceArn",
211
+ # schema_name: "SchemaRegistryNameString",
212
+ # registry_name: "SchemaRegistryNameString",
213
+ # },
214
+ # schema_version_id: "SchemaVersionIdString",
215
+ # schema_version_number: 1,
216
+ # },
169
217
  # },
170
218
  # parameters: {
171
219
  # "KeyString" => "ParametersMapValue",
@@ -837,6 +885,15 @@ module Aws::Glue
837
885
  # },
838
886
  # },
839
887
  # stored_as_sub_directories: false,
888
+ # schema_reference: {
889
+ # schema_id: {
890
+ # schema_arn: "GlueResourceArn",
891
+ # schema_name: "SchemaRegistryNameString",
892
+ # registry_name: "SchemaRegistryNameString",
893
+ # },
894
+ # schema_version_id: "SchemaVersionIdString",
895
+ # schema_version_number: 1,
896
+ # },
840
897
  # },
841
898
  # parameters: {
842
899
  # "KeyString" => "ParametersMapValue",
@@ -930,6 +987,15 @@ module Aws::Glue
930
987
  # },
931
988
  # },
932
989
  # stored_as_sub_directories: false,
990
+ # schema_reference: {
991
+ # schema_id: {
992
+ # schema_arn: "GlueResourceArn",
993
+ # schema_name: "SchemaRegistryNameString",
994
+ # registry_name: "SchemaRegistryNameString",
995
+ # },
996
+ # schema_version_id: "SchemaVersionIdString",
997
+ # schema_version_number: 1,
998
+ # },
933
999
  # },
934
1000
  # parameters: {
935
1001
  # "KeyString" => "ParametersMapValue",
@@ -968,7 +1034,7 @@ module Aws::Glue
968
1034
  include Aws::Structure
969
1035
  end
970
1036
 
971
- # Defines a binary column statistics data.
1037
+ # Defines column statistics supported for bit sequence data values.
972
1038
  #
973
1039
  # @note When making an API call, you may pass BinaryColumnStatisticsData
974
1040
  # data as a hash:
@@ -980,15 +1046,15 @@ module Aws::Glue
980
1046
  # }
981
1047
  #
982
1048
  # @!attribute [rw] maximum_length
983
- # Maximum length of the column.
1049
+ # The size of the longest bit sequence in the column.
984
1050
  # @return [Integer]
985
1051
  #
986
1052
  # @!attribute [rw] average_length
987
- # Average length of the column.
1053
+ # The average bit sequence length in the column.
988
1054
  # @return [Float]
989
1055
  #
990
1056
  # @!attribute [rw] number_of_nulls
991
- # Number of nulls.
1057
+ # The number of null values in the column.
992
1058
  # @return [Integer]
993
1059
  #
994
1060
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BinaryColumnStatisticsData AWS API Documentation
@@ -1001,7 +1067,7 @@ module Aws::Glue
1001
1067
  include Aws::Structure
1002
1068
  end
1003
1069
 
1004
- # Defines a boolean column statistics.
1070
+ # Defines column statistics supported for Boolean data columns.
1005
1071
  #
1006
1072
  # @note When making an API call, you may pass BooleanColumnStatisticsData
1007
1073
  # data as a hash:
@@ -1013,15 +1079,15 @@ module Aws::Glue
1013
1079
  # }
1014
1080
  #
1015
1081
  # @!attribute [rw] number_of_trues
1016
- # Number of true value.
1082
+ # The number of true values in the column.
1017
1083
  # @return [Integer]
1018
1084
  #
1019
1085
  # @!attribute [rw] number_of_falses
1020
- # Number of false value.
1086
+ # The number of false values in the column.
1021
1087
  # @return [Integer]
1022
1088
  #
1023
1089
  # @!attribute [rw] number_of_nulls
1024
- # Number of nulls.
1090
+ # The number of null values in the column.
1025
1091
  # @return [Integer]
1026
1092
  #
1027
1093
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BooleanColumnStatisticsData AWS API Documentation
@@ -1159,6 +1225,49 @@ module Aws::Glue
1159
1225
  include Aws::Structure
1160
1226
  end
1161
1227
 
1228
+ # @note When making an API call, you may pass CheckSchemaVersionValidityInput
1229
+ # data as a hash:
1230
+ #
1231
+ # {
1232
+ # data_format: "AVRO", # required, accepts AVRO
1233
+ # schema_definition: "SchemaDefinitionString", # required
1234
+ # }
1235
+ #
1236
+ # @!attribute [rw] data_format
1237
+ # The data format of the schema definition. Currently only `AVRO` is
1238
+ # supported.
1239
+ # @return [String]
1240
+ #
1241
+ # @!attribute [rw] schema_definition
1242
+ # The definition of the schema that has to be validated.
1243
+ # @return [String]
1244
+ #
1245
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CheckSchemaVersionValidityInput AWS API Documentation
1246
+ #
1247
+ class CheckSchemaVersionValidityInput < Struct.new(
1248
+ :data_format,
1249
+ :schema_definition)
1250
+ SENSITIVE = []
1251
+ include Aws::Structure
1252
+ end
1253
+
1254
+ # @!attribute [rw] valid
1255
+ # Return true, if the schema is valid and false otherwise.
1256
+ # @return [Boolean]
1257
+ #
1258
+ # @!attribute [rw] error
1259
+ # A validation failure error message.
1260
+ # @return [String]
1261
+ #
1262
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CheckSchemaVersionValidityResponse AWS API Documentation
1263
+ #
1264
+ class CheckSchemaVersionValidityResponse < Struct.new(
1265
+ :valid,
1266
+ :error)
1267
+ SENSITIVE = []
1268
+ include Aws::Structure
1269
+ end
1270
+
1162
1271
  # Classifiers are triggered during a crawl task. A classifier checks
1163
1272
  # whether a given file is in a format it can handle. If it is, the
1164
1273
  # classifier creates a schema in the form of a `StructType` object that
@@ -1378,14 +1487,14 @@ module Aws::Glue
1378
1487
  include Aws::Structure
1379
1488
  end
1380
1489
 
1381
- # Defines a column containing error.
1490
+ # Encapsulates a column name that failed and the reason for failure.
1382
1491
  #
1383
1492
  # @!attribute [rw] column_name
1384
- # The name of the column.
1493
+ # The name of the column that failed.
1385
1494
  # @return [String]
1386
1495
  #
1387
1496
  # @!attribute [rw] error
1388
- # The error message occurred during operation.
1497
+ # An error message with the reason for the failure of an operation.
1389
1498
  # @return [Types::ErrorDetail]
1390
1499
  #
1391
1500
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ColumnError AWS API Documentation
@@ -1397,7 +1506,8 @@ module Aws::Glue
1397
1506
  include Aws::Structure
1398
1507
  end
1399
1508
 
1400
- # Defines a column statistics.
1509
+ # Represents the generated column-level statistics for a table or
1510
+ # partition.
1401
1511
  #
1402
1512
  # @note When making an API call, you may pass ColumnStatistics
1403
1513
  # data as a hash:
@@ -1458,19 +1568,20 @@ module Aws::Glue
1458
1568
  # }
1459
1569
  #
1460
1570
  # @!attribute [rw] column_name
1461
- # The name of the column.
1571
+ # Name of column which statistics belong to.
1462
1572
  # @return [String]
1463
1573
  #
1464
1574
  # @!attribute [rw] column_type
1465
- # The type of the column.
1575
+ # The data type of the column.
1466
1576
  # @return [String]
1467
1577
  #
1468
1578
  # @!attribute [rw] analyzed_time
1469
- # The analyzed time of the column statistics.
1579
+ # The timestamp of when column statistics were generated.
1470
1580
  # @return [Time]
1471
1581
  #
1472
1582
  # @!attribute [rw] statistics_data
1473
- # The statistics of the column.
1583
+ # A `ColumnStatisticData` object that contains the statistics data
1584
+ # values.
1474
1585
  # @return [Types::ColumnStatisticsData]
1475
1586
  #
1476
1587
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ColumnStatistics AWS API Documentation
@@ -1484,7 +1595,8 @@ module Aws::Glue
1484
1595
  include Aws::Structure
1485
1596
  end
1486
1597
 
1487
- # Defines a column statistics data.
1598
+ # Contains the individual types of column statistics data. Only one data
1599
+ # object should be set and indicated by the `Type` attribute.
1488
1600
  #
1489
1601
  # @note When making an API call, you may pass ColumnStatisticsData
1490
1602
  # data as a hash:
@@ -1540,35 +1652,35 @@ module Aws::Glue
1540
1652
  # }
1541
1653
  #
1542
1654
  # @!attribute [rw] type
1543
- # The name of the column.
1655
+ # The type of column statistics data.
1544
1656
  # @return [String]
1545
1657
  #
1546
1658
  # @!attribute [rw] boolean_column_statistics_data
1547
- # Boolean Column Statistics Data.
1659
+ # Boolean column statistics data.
1548
1660
  # @return [Types::BooleanColumnStatisticsData]
1549
1661
  #
1550
1662
  # @!attribute [rw] date_column_statistics_data
1551
- # Date Column Statistics Data.
1663
+ # Date column statistics data.
1552
1664
  # @return [Types::DateColumnStatisticsData]
1553
1665
  #
1554
1666
  # @!attribute [rw] decimal_column_statistics_data
1555
- # Decimal Column Statistics Data.
1667
+ # Decimal column statistics data.
1556
1668
  # @return [Types::DecimalColumnStatisticsData]
1557
1669
  #
1558
1670
  # @!attribute [rw] double_column_statistics_data
1559
- # Double Column Statistics Data.
1671
+ # Double column statistics data.
1560
1672
  # @return [Types::DoubleColumnStatisticsData]
1561
1673
  #
1562
1674
  # @!attribute [rw] long_column_statistics_data
1563
- # Long Column Statistics Data.
1675
+ # Long column statistics data.
1564
1676
  # @return [Types::LongColumnStatisticsData]
1565
1677
  #
1566
1678
  # @!attribute [rw] string_column_statistics_data
1567
- # String Column Statistics Data.
1679
+ # String column statistics data.
1568
1680
  # @return [Types::StringColumnStatisticsData]
1569
1681
  #
1570
1682
  # @!attribute [rw] binary_column_statistics_data
1571
- # Binary Column Statistics Data.
1683
+ # Binary column statistics data.
1572
1684
  # @return [Types::BinaryColumnStatisticsData]
1573
1685
  #
1574
1686
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ColumnStatisticsData AWS API Documentation
@@ -1586,14 +1698,15 @@ module Aws::Glue
1586
1698
  include Aws::Structure
1587
1699
  end
1588
1700
 
1589
- # Defines a column containing error.
1701
+ # Encapsulates a `ColumnStatistics` object that failed and the reason
1702
+ # for failure.
1590
1703
  #
1591
1704
  # @!attribute [rw] column_statistics
1592
- # The ColumnStatistics of the column.
1705
+ # The `ColumnStatistics` of the column.
1593
1706
  # @return [Types::ColumnStatistics]
1594
1707
  #
1595
1708
  # @!attribute [rw] error
1596
- # The error message occurred during operation.
1709
+ # An error message with the reason for the failure of an operation.
1597
1710
  # @return [Types::ErrorDetail]
1598
1711
  #
1599
1712
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ColumnStatisticsError AWS API Documentation
@@ -1850,6 +1963,18 @@ module Aws::Glue
1850
1963
  # validation of the CA cert file or not. AWS Glue validates for
1851
1964
  # three algorithms: SHA256withRSA, SHA384withRSA and SHA512withRSA.
1852
1965
  # Default value is "false".
1966
+ #
1967
+ # * `SECRET_ID` - The secret ID used for the secret manager of
1968
+ # credentials.
1969
+ #
1970
+ # * `CONNECTOR_URL` - The connector URL for a MARKETPLACE or CUSTOM
1971
+ # connection.
1972
+ #
1973
+ # * `CONNECTOR_TYPE` - The connector type for a MARKETPLACE or CUSTOM
1974
+ # connection.
1975
+ #
1976
+ # * `CONNECTOR_CLASS_NAME` - The connector class name for a
1977
+ # MARKETPLACE or CUSTOM connection.
1853
1978
  # @return [Hash<String,String>]
1854
1979
  #
1855
1980
  # @!attribute [rw] physical_connection_requirements
@@ -1895,7 +2020,7 @@ module Aws::Glue
1895
2020
  # {
1896
2021
  # name: "NameString", # required
1897
2022
  # description: "DescriptionString",
1898
- # connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
2023
+ # connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK, MARKETPLACE, CUSTOM
1899
2024
  # match_criteria: ["NameString"],
1900
2025
  # connection_properties: { # required
1901
2026
  # "HOST" => "ValueString",
@@ -1930,6 +2055,14 @@ module Aws::Glue
1930
2055
  # * `NETWORK` - Designates a network connection to a data source
1931
2056
  # within an Amazon Virtual Private Cloud environment (Amazon VPC).
1932
2057
  #
2058
+ # * `MARKETPLACE` - Uses configuration settings contained in a
2059
+ # connector purchased from AWS Marketplace to read from and write to
2060
+ # data stores that are not natively supported by AWS Glue.
2061
+ #
2062
+ # * `CUSTOM` - Uses configuration settings contained in a custom
2063
+ # connector to read from and write to data stores that are not
2064
+ # natively supported by AWS Glue.
2065
+ #
1933
2066
  # SFTP is not supported.
1934
2067
  # @return [String]
1935
2068
  #
@@ -2113,6 +2246,11 @@ module Aws::Glue
2113
2246
  # crawler.
2114
2247
  # @return [Types::SchemaChangePolicy]
2115
2248
  #
2249
+ # @!attribute [rw] lineage_configuration
2250
+ # A configuration that specifies whether data lineage is enabled for
2251
+ # the crawler.
2252
+ # @return [Types::LineageConfiguration]
2253
+ #
2116
2254
  # @!attribute [rw] state
2117
2255
  # Indicates whether the crawler is running, or whether a run is
2118
2256
  # pending.
@@ -2174,6 +2312,7 @@ module Aws::Glue
2174
2312
  :classifiers,
2175
2313
  :recrawl_policy,
2176
2314
  :schema_change_policy,
2315
+ :lineage_configuration,
2177
2316
  :state,
2178
2317
  :table_prefix,
2179
2318
  :schedule,
@@ -2438,7 +2577,7 @@ module Aws::Glue
2438
2577
  # connection_input: { # required
2439
2578
  # name: "NameString", # required
2440
2579
  # description: "DescriptionString",
2441
- # connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
2580
+ # connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK, MARKETPLACE, CUSTOM
2442
2581
  # match_criteria: ["NameString"],
2443
2582
  # connection_properties: { # required
2444
2583
  # "HOST" => "ValueString",
@@ -2527,6 +2666,9 @@ module Aws::Glue
2527
2666
  # recrawl_policy: {
2528
2667
  # recrawl_behavior: "CRAWL_EVERYTHING", # accepts CRAWL_EVERYTHING, CRAWL_NEW_FOLDERS_ONLY
2529
2668
  # },
2669
+ # lineage_configuration: {
2670
+ # crawler_lineage_settings: "ENABLE", # accepts ENABLE, DISABLE
2671
+ # },
2530
2672
  # configuration: "CrawlerConfiguration",
2531
2673
  # crawler_security_configuration: "CrawlerSecurityConfiguration",
2532
2674
  # tags: {
@@ -2586,6 +2728,10 @@ module Aws::Glue
2586
2728
  # or to crawl only folders that were added since the last crawler run.
2587
2729
  # @return [Types::RecrawlPolicy]
2588
2730
  #
2731
+ # @!attribute [rw] lineage_configuration
2732
+ # Specifies data lineage configuration settings for the crawler.
2733
+ # @return [Types::LineageConfiguration]
2734
+ #
2589
2735
  # @!attribute [rw] configuration
2590
2736
  # Crawler configuration information. This versioned JSON string allows
2591
2737
  # users to specify aspects of a crawler's behavior. For more
@@ -2624,6 +2770,7 @@ module Aws::Glue
2624
2770
  :table_prefix,
2625
2771
  :schema_change_policy,
2626
2772
  :recrawl_policy,
2773
+ :lineage_configuration,
2627
2774
  :configuration,
2628
2775
  :crawler_security_configuration,
2629
2776
  :tags)
@@ -3402,6 +3549,13 @@ module Aws::Glue
3402
3549
  # tags: {
3403
3550
  # "TagKey" => "TagValue",
3404
3551
  # },
3552
+ # transform_encryption: {
3553
+ # ml_user_data_encryption: {
3554
+ # ml_user_data_encryption_mode: "DISABLED", # required, accepts DISABLED, SSE-KMS
3555
+ # kms_key_id: "NameString",
3556
+ # },
3557
+ # task_run_security_configuration_name: "NameString",
3558
+ # },
3405
3559
  # }
3406
3560
  #
3407
3561
  # @!attribute [rw] name
@@ -3545,6 +3699,12 @@ module Aws::Glue
3545
3699
  # [1]: https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html
3546
3700
  # @return [Hash<String,String>]
3547
3701
  #
3702
+ # @!attribute [rw] transform_encryption
3703
+ # The encryption-at-rest settings of the transform that apply to
3704
+ # accessing user data. Machine learning transforms can access user
3705
+ # data encrypted in Amazon S3 using KMS.
3706
+ # @return [Types::TransformEncryption]
3707
+ #
3548
3708
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateMLTransformRequest AWS API Documentation
3549
3709
  #
3550
3710
  class CreateMLTransformRequest < Struct.new(
@@ -3559,7 +3719,8 @@ module Aws::Glue
3559
3719
  :number_of_workers,
3560
3720
  :timeout,
3561
3721
  :max_retries,
3562
- :tags)
3722
+ :tags,
3723
+ :transform_encryption)
3563
3724
  SENSITIVE = []
3564
3725
  include Aws::Structure
3565
3726
  end
@@ -3576,6 +3737,53 @@ module Aws::Glue
3576
3737
  include Aws::Structure
3577
3738
  end
3578
3739
 
3740
+ # @note When making an API call, you may pass CreatePartitionIndexRequest
3741
+ # data as a hash:
3742
+ #
3743
+ # {
3744
+ # catalog_id: "CatalogIdString",
3745
+ # database_name: "NameString", # required
3746
+ # table_name: "NameString", # required
3747
+ # partition_index: { # required
3748
+ # keys: ["NameString"], # required
3749
+ # index_name: "NameString", # required
3750
+ # },
3751
+ # }
3752
+ #
3753
+ # @!attribute [rw] catalog_id
3754
+ # The catalog ID where the table resides.
3755
+ # @return [String]
3756
+ #
3757
+ # @!attribute [rw] database_name
3758
+ # Specifies the name of a database in which you want to create a
3759
+ # partition index.
3760
+ # @return [String]
3761
+ #
3762
+ # @!attribute [rw] table_name
3763
+ # Specifies the name of a table in which you want to create a
3764
+ # partition index.
3765
+ # @return [String]
3766
+ #
3767
+ # @!attribute [rw] partition_index
3768
+ # Specifies a `PartitionIndex` structure to create a partition index
3769
+ # in an existing table.
3770
+ # @return [Types::PartitionIndex]
3771
+ #
3772
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreatePartitionIndexRequest AWS API Documentation
3773
+ #
3774
+ class CreatePartitionIndexRequest < Struct.new(
3775
+ :catalog_id,
3776
+ :database_name,
3777
+ :table_name,
3778
+ :partition_index)
3779
+ SENSITIVE = []
3780
+ include Aws::Structure
3781
+ end
3782
+
3783
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreatePartitionIndexResponse AWS API Documentation
3784
+ #
3785
+ class CreatePartitionIndexResponse < Aws::EmptyStructure; end
3786
+
3579
3787
  # @note When making an API call, you may pass CreatePartitionRequest
3580
3788
  # data as a hash:
3581
3789
  #
@@ -3627,6 +3835,15 @@ module Aws::Glue
3627
3835
  # },
3628
3836
  # },
3629
3837
  # stored_as_sub_directories: false,
3838
+ # schema_reference: {
3839
+ # schema_id: {
3840
+ # schema_arn: "GlueResourceArn",
3841
+ # schema_name: "SchemaRegistryNameString",
3842
+ # registry_name: "SchemaRegistryNameString",
3843
+ # },
3844
+ # schema_version_id: "SchemaVersionIdString",
3845
+ # schema_version_number: 1,
3846
+ # },
3630
3847
  # },
3631
3848
  # parameters: {
3632
3849
  # "KeyString" => "ParametersMapValue",
@@ -3669,6 +3886,266 @@ module Aws::Glue
3669
3886
  #
3670
3887
  class CreatePartitionResponse < Aws::EmptyStructure; end
3671
3888
 
3889
+ # @note When making an API call, you may pass CreateRegistryInput
3890
+ # data as a hash:
3891
+ #
3892
+ # {
3893
+ # registry_name: "SchemaRegistryNameString", # required
3894
+ # description: "DescriptionString",
3895
+ # tags: {
3896
+ # "TagKey" => "TagValue",
3897
+ # },
3898
+ # }
3899
+ #
3900
+ # @!attribute [rw] registry_name
3901
+ # Name of the registry to be created of max length of 255, and may
3902
+ # only contain letters, numbers, hyphen, underscore, dollar sign, or
3903
+ # hash mark. No whitespace.
3904
+ # @return [String]
3905
+ #
3906
+ # @!attribute [rw] description
3907
+ # A description of the registry. If description is not provided, there
3908
+ # will not be any default value for this.
3909
+ # @return [String]
3910
+ #
3911
+ # @!attribute [rw] tags
3912
+ # AWS tags that contain a key value pair and may be searched by
3913
+ # console, command line, or API.
3914
+ # @return [Hash<String,String>]
3915
+ #
3916
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateRegistryInput AWS API Documentation
3917
+ #
3918
+ class CreateRegistryInput < Struct.new(
3919
+ :registry_name,
3920
+ :description,
3921
+ :tags)
3922
+ SENSITIVE = []
3923
+ include Aws::Structure
3924
+ end
3925
+
3926
+ # @!attribute [rw] registry_arn
3927
+ # The Amazon Resource Name (ARN) of the newly created registry.
3928
+ # @return [String]
3929
+ #
3930
+ # @!attribute [rw] registry_name
3931
+ # The name of the registry.
3932
+ # @return [String]
3933
+ #
3934
+ # @!attribute [rw] description
3935
+ # A description of the registry.
3936
+ # @return [String]
3937
+ #
3938
+ # @!attribute [rw] tags
3939
+ # The tags for the registry.
3940
+ # @return [Hash<String,String>]
3941
+ #
3942
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateRegistryResponse AWS API Documentation
3943
+ #
3944
+ class CreateRegistryResponse < Struct.new(
3945
+ :registry_arn,
3946
+ :registry_name,
3947
+ :description,
3948
+ :tags)
3949
+ SENSITIVE = []
3950
+ include Aws::Structure
3951
+ end
3952
+
3953
+ # @note When making an API call, you may pass CreateSchemaInput
3954
+ # data as a hash:
3955
+ #
3956
+ # {
3957
+ # registry_id: {
3958
+ # registry_name: "SchemaRegistryNameString",
3959
+ # registry_arn: "GlueResourceArn",
3960
+ # },
3961
+ # schema_name: "SchemaRegistryNameString", # required
3962
+ # data_format: "AVRO", # required, accepts AVRO
3963
+ # compatibility: "NONE", # accepts NONE, DISABLED, BACKWARD, BACKWARD_ALL, FORWARD, FORWARD_ALL, FULL, FULL_ALL
3964
+ # description: "DescriptionString",
3965
+ # tags: {
3966
+ # "TagKey" => "TagValue",
3967
+ # },
3968
+ # schema_definition: "SchemaDefinitionString",
3969
+ # }
3970
+ #
3971
+ # @!attribute [rw] registry_id
3972
+ # This is a wrapper shape to contain the registry identity fields. If
3973
+ # this is not provided, the default registry will be used. The ARN
3974
+ # format for the same will be: `arn:aws:glue:us-east-2:<customer
3975
+ # id>:registry/default-registry:random-5-letter-id`.
3976
+ # @return [Types::RegistryId]
3977
+ #
3978
+ # @!attribute [rw] schema_name
3979
+ # Name of the schema to be created of max length of 255, and may only
3980
+ # contain letters, numbers, hyphen, underscore, dollar sign, or hash
3981
+ # mark. No whitespace.
3982
+ # @return [String]
3983
+ #
3984
+ # @!attribute [rw] data_format
3985
+ # The data format of the schema definition. Currently only `AVRO` is
3986
+ # supported.
3987
+ # @return [String]
3988
+ #
3989
+ # @!attribute [rw] compatibility
3990
+ # The compatibility mode of the schema. The possible values are:
3991
+ #
3992
+ # * *NONE*\: No compatibility mode applies. You can use this choice in
3993
+ # development scenarios or if you do not know the compatibility mode
3994
+ # that you want to apply to schemas. Any new version added will be
3995
+ # accepted without undergoing a compatibility check.
3996
+ #
3997
+ # * *DISABLED*\: This compatibility choice prevents versioning for a
3998
+ # particular schema. You can use this choice to prevent future
3999
+ # versioning of a schema.
4000
+ #
4001
+ # * *BACKWARD*\: This compatibility choice is recommended as it allows
4002
+ # data receivers to read both the current and one previous schema
4003
+ # version. This means that for instance, a new schema version cannot
4004
+ # drop data fields or change the type of these fields, so they
4005
+ # can't be read by readers using the previous version.
4006
+ #
4007
+ # * *BACKWARD\_ALL*\: This compatibility choice allows data receivers
4008
+ # to read both the current and all previous schema versions. You can
4009
+ # use this choice when you need to delete fields or add optional
4010
+ # fields, and check compatibility against all previous schema
4011
+ # versions.
4012
+ #
4013
+ # * *FORWARD*\: This compatibility choice allows data receivers to
4014
+ # read both the current and one next schema version, but not
4015
+ # necessarily later versions. You can use this choice when you need
4016
+ # to add fields or delete optional fields, but only check
4017
+ # compatibility against the last schema version.
4018
+ #
4019
+ # * *FORWARD\_ALL*\: This compatibility choice allows data receivers
4020
+ # to read written by producers of any new registered schema. You can
4021
+ # use this choice when you need to add fields or delete optional
4022
+ # fields, and check compatibility against all previous schema
4023
+ # versions.
4024
+ #
4025
+ # * *FULL*\: This compatibility choice allows data receivers to read
4026
+ # data written by producers using the previous or next version of
4027
+ # the schema, but not necessarily earlier or later versions. You can
4028
+ # use this choice when you need to add or remove optional fields,
4029
+ # but only check compatibility against the last schema version.
4030
+ #
4031
+ # * *FULL\_ALL*\: This compatibility choice allows data receivers to
4032
+ # read data written by producers using all previous schema versions.
4033
+ # You can use this choice when you need to add or remove optional
4034
+ # fields, and check compatibility against all previous schema
4035
+ # versions.
4036
+ # @return [String]
4037
+ #
4038
+ # @!attribute [rw] description
4039
+ # An optional description of the schema. If description is not
4040
+ # provided, there will not be any automatic default value for this.
4041
+ # @return [String]
4042
+ #
4043
+ # @!attribute [rw] tags
4044
+ # AWS tags that contain a key value pair and may be searched by
4045
+ # console, command line, or API. If specified, follows the AWS
4046
+ # tags-on-create pattern.
4047
+ # @return [Hash<String,String>]
4048
+ #
4049
+ # @!attribute [rw] schema_definition
4050
+ # The schema definition using the `DataFormat` setting for
4051
+ # `SchemaName`.
4052
+ # @return [String]
4053
+ #
4054
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateSchemaInput AWS API Documentation
4055
+ #
4056
+ class CreateSchemaInput < Struct.new(
4057
+ :registry_id,
4058
+ :schema_name,
4059
+ :data_format,
4060
+ :compatibility,
4061
+ :description,
4062
+ :tags,
4063
+ :schema_definition)
4064
+ SENSITIVE = []
4065
+ include Aws::Structure
4066
+ end
4067
+
4068
+ # @!attribute [rw] registry_name
4069
+ # The name of the registry.
4070
+ # @return [String]
4071
+ #
4072
+ # @!attribute [rw] registry_arn
4073
+ # The Amazon Resource Name (ARN) of the registry.
4074
+ # @return [String]
4075
+ #
4076
+ # @!attribute [rw] schema_name
4077
+ # The name of the schema.
4078
+ # @return [String]
4079
+ #
4080
+ # @!attribute [rw] schema_arn
4081
+ # The Amazon Resource Name (ARN) of the schema.
4082
+ # @return [String]
4083
+ #
4084
+ # @!attribute [rw] description
4085
+ # A description of the schema if specified when created.
4086
+ # @return [String]
4087
+ #
4088
+ # @!attribute [rw] data_format
4089
+ # The data format of the schema definition. Currently only `AVRO` is
4090
+ # supported.
4091
+ # @return [String]
4092
+ #
4093
+ # @!attribute [rw] compatibility
4094
+ # The schema compatibility mode.
4095
+ # @return [String]
4096
+ #
4097
+ # @!attribute [rw] schema_checkpoint
4098
+ # The version number of the checkpoint (the last time the
4099
+ # compatibility mode was changed).
4100
+ # @return [Integer]
4101
+ #
4102
+ # @!attribute [rw] latest_schema_version
4103
+ # The latest version of the schema associated with the returned schema
4104
+ # definition.
4105
+ # @return [Integer]
4106
+ #
4107
+ # @!attribute [rw] next_schema_version
4108
+ # The next version of the schema associated with the returned schema
4109
+ # definition.
4110
+ # @return [Integer]
4111
+ #
4112
+ # @!attribute [rw] schema_status
4113
+ # The status of the schema.
4114
+ # @return [String]
4115
+ #
4116
+ # @!attribute [rw] tags
4117
+ # The tags for the schema.
4118
+ # @return [Hash<String,String>]
4119
+ #
4120
+ # @!attribute [rw] schema_version_id
4121
+ # The unique identifier of the first schema version.
4122
+ # @return [String]
4123
+ #
4124
+ # @!attribute [rw] schema_version_status
4125
+ # The status of the first schema version created.
4126
+ # @return [String]
4127
+ #
4128
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateSchemaResponse AWS API Documentation
4129
+ #
4130
+ class CreateSchemaResponse < Struct.new(
4131
+ :registry_name,
4132
+ :registry_arn,
4133
+ :schema_name,
4134
+ :schema_arn,
4135
+ :description,
4136
+ :data_format,
4137
+ :compatibility,
4138
+ :schema_checkpoint,
4139
+ :latest_schema_version,
4140
+ :next_schema_version,
4141
+ :schema_status,
4142
+ :tags,
4143
+ :schema_version_id,
4144
+ :schema_version_status)
4145
+ SENSITIVE = []
4146
+ include Aws::Structure
4147
+ end
4148
+
3672
4149
  # @note When making an API call, you may pass CreateScriptRequest
3673
4150
  # data as a hash:
3674
4151
  #
@@ -3847,6 +4324,15 @@ module Aws::Glue
3847
4324
  # },
3848
4325
  # },
3849
4326
  # stored_as_sub_directories: false,
4327
+ # schema_reference: {
4328
+ # schema_id: {
4329
+ # schema_arn: "GlueResourceArn",
4330
+ # schema_name: "SchemaRegistryNameString",
4331
+ # registry_name: "SchemaRegistryNameString",
4332
+ # },
4333
+ # schema_version_id: "SchemaVersionIdString",
4334
+ # schema_version_number: 1,
4335
+ # },
3850
4336
  # },
3851
4337
  # partition_keys: [
3852
4338
  # {
@@ -4456,7 +4942,7 @@ module Aws::Glue
4456
4942
  include Aws::Structure
4457
4943
  end
4458
4944
 
4459
- # Defines a date column statistics data.
4945
+ # Defines column statistics supported for timestamp data columns.
4460
4946
  #
4461
4947
  # @note When making an API call, you may pass DateColumnStatisticsData
4462
4948
  # data as a hash:
@@ -4469,19 +4955,19 @@ module Aws::Glue
4469
4955
  # }
4470
4956
  #
4471
4957
  # @!attribute [rw] minimum_value
4472
- # Minimum value of the column.
4958
+ # The lowest value in the column.
4473
4959
  # @return [Time]
4474
4960
  #
4475
4961
  # @!attribute [rw] maximum_value
4476
- # Maximum value of the column.
4962
+ # The highest value in the column.
4477
4963
  # @return [Time]
4478
4964
  #
4479
4965
  # @!attribute [rw] number_of_nulls
4480
- # Number of nulls.
4966
+ # The number of null values in the column.
4481
4967
  # @return [Integer]
4482
4968
  #
4483
4969
  # @!attribute [rw] number_of_distinct_values
4484
- # Number of distinct values.
4970
+ # The number of distinct values in a column.
4485
4971
  # @return [Integer]
4486
4972
  #
4487
4973
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DateColumnStatisticsData AWS API Documentation
@@ -4495,7 +4981,8 @@ module Aws::Glue
4495
4981
  include Aws::Structure
4496
4982
  end
4497
4983
 
4498
- # Defines a decimal column statistics data.
4984
+ # Defines column statistics supported for fixed-point number data
4985
+ # columns.
4499
4986
  #
4500
4987
  # @note When making an API call, you may pass DecimalColumnStatisticsData
4501
4988
  # data as a hash:
@@ -4514,19 +5001,19 @@ module Aws::Glue
4514
5001
  # }
4515
5002
  #
4516
5003
  # @!attribute [rw] minimum_value
4517
- # Minimum value of the column.
5004
+ # The lowest value in the column.
4518
5005
  # @return [Types::DecimalNumber]
4519
5006
  #
4520
5007
  # @!attribute [rw] maximum_value
4521
- # Maximum value of the column.
5008
+ # The highest value in the column.
4522
5009
  # @return [Types::DecimalNumber]
4523
5010
  #
4524
5011
  # @!attribute [rw] number_of_nulls
4525
- # Number of nulls.
5012
+ # The number of null values in the column.
4526
5013
  # @return [Integer]
4527
5014
  #
4528
5015
  # @!attribute [rw] number_of_distinct_values
4529
- # Number of distinct values.
5016
+ # The number of distinct values in a column.
4530
5017
  # @return [Integer]
4531
5018
  #
4532
5019
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DecimalColumnStatisticsData AWS API Documentation
@@ -4850,6 +5337,49 @@ module Aws::Glue
4850
5337
  include Aws::Structure
4851
5338
  end
4852
5339
 
5340
+ # @note When making an API call, you may pass DeletePartitionIndexRequest
5341
+ # data as a hash:
5342
+ #
5343
+ # {
5344
+ # catalog_id: "CatalogIdString",
5345
+ # database_name: "NameString", # required
5346
+ # table_name: "NameString", # required
5347
+ # index_name: "NameString", # required
5348
+ # }
5349
+ #
5350
+ # @!attribute [rw] catalog_id
5351
+ # The catalog ID where the table resides.
5352
+ # @return [String]
5353
+ #
5354
+ # @!attribute [rw] database_name
5355
+ # Specifies the name of a database from which you want to delete a
5356
+ # partition index.
5357
+ # @return [String]
5358
+ #
5359
+ # @!attribute [rw] table_name
5360
+ # Specifies the name of a table from which you want to delete a
5361
+ # partition index.
5362
+ # @return [String]
5363
+ #
5364
+ # @!attribute [rw] index_name
5365
+ # The name of the partition index to be deleted.
5366
+ # @return [String]
5367
+ #
5368
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeletePartitionIndexRequest AWS API Documentation
5369
+ #
5370
+ class DeletePartitionIndexRequest < Struct.new(
5371
+ :catalog_id,
5372
+ :database_name,
5373
+ :table_name,
5374
+ :index_name)
5375
+ SENSITIVE = []
5376
+ include Aws::Structure
5377
+ end
5378
+
5379
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeletePartitionIndexResponse AWS API Documentation
5380
+ #
5381
+ class DeletePartitionIndexResponse < Aws::EmptyStructure; end
5382
+
4853
5383
  # @note When making an API call, you may pass DeletePartitionRequest
4854
5384
  # data as a hash:
4855
5385
  #
@@ -4893,28 +5423,74 @@ module Aws::Glue
4893
5423
  #
4894
5424
  class DeletePartitionResponse < Aws::EmptyStructure; end
4895
5425
 
4896
- # @note When making an API call, you may pass DeleteResourcePolicyRequest
5426
+ # @note When making an API call, you may pass DeleteRegistryInput
4897
5427
  # data as a hash:
4898
5428
  #
4899
5429
  # {
4900
- # policy_hash_condition: "HashString",
4901
- # resource_arn: "GlueResourceArn",
5430
+ # registry_id: { # required
5431
+ # registry_name: "SchemaRegistryNameString",
5432
+ # registry_arn: "GlueResourceArn",
5433
+ # },
4902
5434
  # }
4903
5435
  #
4904
- # @!attribute [rw] policy_hash_condition
4905
- # The hash value returned when this policy was set.
4906
- # @return [String]
4907
- #
4908
- # @!attribute [rw] resource_arn
4909
- # The ARN of the AWS Glue resource for the resource policy to be
4910
- # deleted.
4911
- # @return [String]
5436
+ # @!attribute [rw] registry_id
5437
+ # This is a wrapper structure that may contain the registry name and
5438
+ # Amazon Resource Name (ARN).
5439
+ # @return [Types::RegistryId]
4912
5440
  #
4913
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteResourcePolicyRequest AWS API Documentation
5441
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteRegistryInput AWS API Documentation
4914
5442
  #
4915
- class DeleteResourcePolicyRequest < Struct.new(
4916
- :policy_hash_condition,
4917
- :resource_arn)
5443
+ class DeleteRegistryInput < Struct.new(
5444
+ :registry_id)
5445
+ SENSITIVE = []
5446
+ include Aws::Structure
5447
+ end
5448
+
5449
+ # @!attribute [rw] registry_name
5450
+ # The name of the registry being deleted.
5451
+ # @return [String]
5452
+ #
5453
+ # @!attribute [rw] registry_arn
5454
+ # The Amazon Resource Name (ARN) of the registry being deleted.
5455
+ # @return [String]
5456
+ #
5457
+ # @!attribute [rw] status
5458
+ # The status of the registry. A successful operation will return the
5459
+ # `Deleting` status.
5460
+ # @return [String]
5461
+ #
5462
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteRegistryResponse AWS API Documentation
5463
+ #
5464
+ class DeleteRegistryResponse < Struct.new(
5465
+ :registry_name,
5466
+ :registry_arn,
5467
+ :status)
5468
+ SENSITIVE = []
5469
+ include Aws::Structure
5470
+ end
5471
+
5472
+ # @note When making an API call, you may pass DeleteResourcePolicyRequest
5473
+ # data as a hash:
5474
+ #
5475
+ # {
5476
+ # policy_hash_condition: "HashString",
5477
+ # resource_arn: "GlueResourceArn",
5478
+ # }
5479
+ #
5480
+ # @!attribute [rw] policy_hash_condition
5481
+ # The hash value returned when this policy was set.
5482
+ # @return [String]
5483
+ #
5484
+ # @!attribute [rw] resource_arn
5485
+ # The ARN of the AWS Glue resource for the resource policy to be
5486
+ # deleted.
5487
+ # @return [String]
5488
+ #
5489
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteResourcePolicyRequest AWS API Documentation
5490
+ #
5491
+ class DeleteResourcePolicyRequest < Struct.new(
5492
+ :policy_hash_condition,
5493
+ :resource_arn)
4918
5494
  SENSITIVE = []
4919
5495
  include Aws::Structure
4920
5496
  end
@@ -4923,6 +5499,99 @@ module Aws::Glue
4923
5499
  #
4924
5500
  class DeleteResourcePolicyResponse < Aws::EmptyStructure; end
4925
5501
 
5502
+ # @note When making an API call, you may pass DeleteSchemaInput
5503
+ # data as a hash:
5504
+ #
5505
+ # {
5506
+ # schema_id: { # required
5507
+ # schema_arn: "GlueResourceArn",
5508
+ # schema_name: "SchemaRegistryNameString",
5509
+ # registry_name: "SchemaRegistryNameString",
5510
+ # },
5511
+ # }
5512
+ #
5513
+ # @!attribute [rw] schema_id
5514
+ # This is a wrapper structure that may contain the schema name and
5515
+ # Amazon Resource Name (ARN).
5516
+ # @return [Types::SchemaId]
5517
+ #
5518
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSchemaInput AWS API Documentation
5519
+ #
5520
+ class DeleteSchemaInput < Struct.new(
5521
+ :schema_id)
5522
+ SENSITIVE = []
5523
+ include Aws::Structure
5524
+ end
5525
+
5526
+ # @!attribute [rw] schema_arn
5527
+ # The Amazon Resource Name (ARN) of the schema being deleted.
5528
+ # @return [String]
5529
+ #
5530
+ # @!attribute [rw] schema_name
5531
+ # The name of the schema being deleted.
5532
+ # @return [String]
5533
+ #
5534
+ # @!attribute [rw] status
5535
+ # The status of the schema.
5536
+ # @return [String]
5537
+ #
5538
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSchemaResponse AWS API Documentation
5539
+ #
5540
+ class DeleteSchemaResponse < Struct.new(
5541
+ :schema_arn,
5542
+ :schema_name,
5543
+ :status)
5544
+ SENSITIVE = []
5545
+ include Aws::Structure
5546
+ end
5547
+
5548
+ # @note When making an API call, you may pass DeleteSchemaVersionsInput
5549
+ # data as a hash:
5550
+ #
5551
+ # {
5552
+ # schema_id: { # required
5553
+ # schema_arn: "GlueResourceArn",
5554
+ # schema_name: "SchemaRegistryNameString",
5555
+ # registry_name: "SchemaRegistryNameString",
5556
+ # },
5557
+ # versions: "VersionsString", # required
5558
+ # }
5559
+ #
5560
+ # @!attribute [rw] schema_id
5561
+ # This is a wrapper structure that may contain the schema name and
5562
+ # Amazon Resource Name (ARN).
5563
+ # @return [Types::SchemaId]
5564
+ #
5565
+ # @!attribute [rw] versions
5566
+ # A version range may be supplied which may be of the format:
5567
+ #
5568
+ # * a single version number, 5
5569
+ #
5570
+ # * a range, 5-8 : deletes versions 5, 6, 7, 8
5571
+ # @return [String]
5572
+ #
5573
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSchemaVersionsInput AWS API Documentation
5574
+ #
5575
+ class DeleteSchemaVersionsInput < Struct.new(
5576
+ :schema_id,
5577
+ :versions)
5578
+ SENSITIVE = []
5579
+ include Aws::Structure
5580
+ end
5581
+
5582
+ # @!attribute [rw] schema_version_errors
5583
+ # A list of `SchemaVersionErrorItem` objects, each containing an error
5584
+ # and schema version.
5585
+ # @return [Array<Types::SchemaVersionErrorItem>]
5586
+ #
5587
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSchemaVersionsResponse AWS API Documentation
5588
+ #
5589
+ class DeleteSchemaVersionsResponse < Struct.new(
5590
+ :schema_version_errors)
5591
+ SENSITIVE = []
5592
+ include Aws::Structure
5593
+ end
5594
+
4926
5595
  # @note When making an API call, you may pass DeleteSecurityConfigurationRequest
4927
5596
  # data as a hash:
4928
5597
  #
@@ -5396,7 +6065,8 @@ module Aws::Glue
5396
6065
  include Aws::Structure
5397
6066
  end
5398
6067
 
5399
- # Defines a double column statistics data.
6068
+ # Defines column statistics supported for floating-point number data
6069
+ # columns.
5400
6070
  #
5401
6071
  # @note When making an API call, you may pass DoubleColumnStatisticsData
5402
6072
  # data as a hash:
@@ -5409,19 +6079,19 @@ module Aws::Glue
5409
6079
  # }
5410
6080
  #
5411
6081
  # @!attribute [rw] minimum_value
5412
- # Minimum value of the column.
6082
+ # The lowest value in the column.
5413
6083
  # @return [Float]
5414
6084
  #
5415
6085
  # @!attribute [rw] maximum_value
5416
- # Maximum value of the column.
6086
+ # The highest value in the column.
5417
6087
  # @return [Float]
5418
6088
  #
5419
6089
  # @!attribute [rw] number_of_nulls
5420
- # Number of nulls.
6090
+ # The number of null values in the column.
5421
6091
  # @return [Integer]
5422
6092
  #
5423
6093
  # @!attribute [rw] number_of_distinct_values
5424
- # Number of distinct values.
6094
+ # The number of distinct values in a column.
5425
6095
  # @return [Integer]
5426
6096
  #
5427
6097
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DoubleColumnStatisticsData AWS API Documentation
@@ -5608,6 +6278,25 @@ module Aws::Glue
5608
6278
  include Aws::Structure
5609
6279
  end
5610
6280
 
6281
+ # An object containing error details.
6282
+ #
6283
+ # @!attribute [rw] error_code
6284
+ # The error code for an error.
6285
+ # @return [String]
6286
+ #
6287
+ # @!attribute [rw] error_message
6288
+ # The error message for an error.
6289
+ # @return [String]
6290
+ #
6291
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ErrorDetails AWS API Documentation
6292
+ #
6293
+ class ErrorDetails < Struct.new(
6294
+ :error_code,
6295
+ :error_message)
6296
+ SENSITIVE = []
6297
+ include Aws::Structure
6298
+ end
6299
+
5611
6300
  # Evaluation metrics provide an estimate of the quality of your machine
5612
6301
  # learning transform.
5613
6302
  #
@@ -6119,7 +6808,7 @@ module Aws::Glue
6119
6808
  #
6120
6809
  # {
6121
6810
  # match_criteria: ["NameString"],
6122
- # connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
6811
+ # connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK, MARKETPLACE, CUSTOM
6123
6812
  # }
6124
6813
  #
6125
6814
  # @!attribute [rw] match_criteria
@@ -6147,7 +6836,7 @@ module Aws::Glue
6147
6836
  # catalog_id: "CatalogIdString",
6148
6837
  # filter: {
6149
6838
  # match_criteria: ["NameString"],
6150
- # connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
6839
+ # connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK, MARKETPLACE, CUSTOM
6151
6840
  # },
6152
6841
  # hide_password: false,
6153
6842
  # next_token: "Token",
@@ -7065,6 +7754,12 @@ module Aws::Glue
7065
7754
  # a task run fails.
7066
7755
  # @return [Integer]
7067
7756
  #
7757
+ # @!attribute [rw] transform_encryption
7758
+ # The encryption-at-rest settings of the transform that apply to
7759
+ # accessing user data. Machine learning transforms can access user
7760
+ # data encrypted in Amazon S3 using KMS.
7761
+ # @return [Types::TransformEncryption]
7762
+ #
7068
7763
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTransformResponse AWS API Documentation
7069
7764
  #
7070
7765
  class GetMLTransformResponse < Struct.new(
@@ -7085,7 +7780,8 @@ module Aws::Glue
7085
7780
  :worker_type,
7086
7781
  :number_of_workers,
7087
7782
  :timeout,
7088
- :max_retries)
7783
+ :max_retries,
7784
+ :transform_encryption)
7089
7785
  SENSITIVE = []
7090
7786
  include Aws::Structure
7091
7787
  end
@@ -7629,6 +8325,66 @@ module Aws::Glue
7629
8325
  include Aws::Structure
7630
8326
  end
7631
8327
 
8328
+ # @note When making an API call, you may pass GetRegistryInput
8329
+ # data as a hash:
8330
+ #
8331
+ # {
8332
+ # registry_id: { # required
8333
+ # registry_name: "SchemaRegistryNameString",
8334
+ # registry_arn: "GlueResourceArn",
8335
+ # },
8336
+ # }
8337
+ #
8338
+ # @!attribute [rw] registry_id
8339
+ # This is a wrapper structure that may contain the registry name and
8340
+ # Amazon Resource Name (ARN).
8341
+ # @return [Types::RegistryId]
8342
+ #
8343
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetRegistryInput AWS API Documentation
8344
+ #
8345
+ class GetRegistryInput < Struct.new(
8346
+ :registry_id)
8347
+ SENSITIVE = []
8348
+ include Aws::Structure
8349
+ end
8350
+
8351
+ # @!attribute [rw] registry_name
8352
+ # The name of the registry.
8353
+ # @return [String]
8354
+ #
8355
+ # @!attribute [rw] registry_arn
8356
+ # The Amazon Resource Name (ARN) of the registry.
8357
+ # @return [String]
8358
+ #
8359
+ # @!attribute [rw] description
8360
+ # A description of the registry.
8361
+ # @return [String]
8362
+ #
8363
+ # @!attribute [rw] status
8364
+ # The status of the registry.
8365
+ # @return [String]
8366
+ #
8367
+ # @!attribute [rw] created_time
8368
+ # The date and time the registry was created.
8369
+ # @return [String]
8370
+ #
8371
+ # @!attribute [rw] updated_time
8372
+ # The date and time the registry was updated.
8373
+ # @return [String]
8374
+ #
8375
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetRegistryResponse AWS API Documentation
8376
+ #
8377
+ class GetRegistryResponse < Struct.new(
8378
+ :registry_name,
8379
+ :registry_arn,
8380
+ :description,
8381
+ :status,
8382
+ :created_time,
8383
+ :updated_time)
8384
+ SENSITIVE = []
8385
+ include Aws::Structure
8386
+ end
8387
+
7632
8388
  # @note When making an API call, you may pass GetResourcePoliciesRequest
7633
8389
  # data as a hash:
7634
8390
  #
@@ -7725,144 +8481,477 @@ module Aws::Glue
7725
8481
  include Aws::Structure
7726
8482
  end
7727
8483
 
7728
- # @note When making an API call, you may pass GetSecurityConfigurationRequest
8484
+ # @note When making an API call, you may pass GetSchemaByDefinitionInput
7729
8485
  # data as a hash:
7730
8486
  #
7731
8487
  # {
7732
- # name: "NameString", # required
8488
+ # schema_id: { # required
8489
+ # schema_arn: "GlueResourceArn",
8490
+ # schema_name: "SchemaRegistryNameString",
8491
+ # registry_name: "SchemaRegistryNameString",
8492
+ # },
8493
+ # schema_definition: "SchemaDefinitionString", # required
7733
8494
  # }
7734
8495
  #
7735
- # @!attribute [rw] name
7736
- # The name of the security configuration to retrieve.
8496
+ # @!attribute [rw] schema_id
8497
+ # This is a wrapper structure to contain schema identity fields. The
8498
+ # structure contains:
8499
+ #
8500
+ # * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema.
8501
+ # One of `SchemaArn` or `SchemaName` has to be provided.
8502
+ #
8503
+ # * SchemaId$SchemaName: The name of the schema. One of `SchemaArn` or
8504
+ # `SchemaName` has to be provided.
8505
+ # @return [Types::SchemaId]
8506
+ #
8507
+ # @!attribute [rw] schema_definition
8508
+ # The definition of the schema for which schema details are required.
7737
8509
  # @return [String]
7738
8510
  #
7739
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfigurationRequest AWS API Documentation
8511
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaByDefinitionInput AWS API Documentation
7740
8512
  #
7741
- class GetSecurityConfigurationRequest < Struct.new(
7742
- :name)
8513
+ class GetSchemaByDefinitionInput < Struct.new(
8514
+ :schema_id,
8515
+ :schema_definition)
7743
8516
  SENSITIVE = []
7744
8517
  include Aws::Structure
7745
8518
  end
7746
8519
 
7747
- # @!attribute [rw] security_configuration
7748
- # The requested security configuration.
7749
- # @return [Types::SecurityConfiguration]
8520
+ # @!attribute [rw] schema_version_id
8521
+ # The schema ID of the schema version.
8522
+ # @return [String]
7750
8523
  #
7751
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfigurationResponse AWS API Documentation
8524
+ # @!attribute [rw] schema_arn
8525
+ # The Amazon Resource Name (ARN) of the schema.
8526
+ # @return [String]
7752
8527
  #
7753
- class GetSecurityConfigurationResponse < Struct.new(
7754
- :security_configuration)
8528
+ # @!attribute [rw] data_format
8529
+ # The data format of the schema definition. Currently only `AVRO` is
8530
+ # supported.
8531
+ # @return [String]
8532
+ #
8533
+ # @!attribute [rw] status
8534
+ # The status of the schema version.
8535
+ # @return [String]
8536
+ #
8537
+ # @!attribute [rw] created_time
8538
+ # The date and time the schema was created.
8539
+ # @return [String]
8540
+ #
8541
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaByDefinitionResponse AWS API Documentation
8542
+ #
8543
+ class GetSchemaByDefinitionResponse < Struct.new(
8544
+ :schema_version_id,
8545
+ :schema_arn,
8546
+ :data_format,
8547
+ :status,
8548
+ :created_time)
7755
8549
  SENSITIVE = []
7756
8550
  include Aws::Structure
7757
8551
  end
7758
8552
 
7759
- # @note When making an API call, you may pass GetSecurityConfigurationsRequest
8553
+ # @note When making an API call, you may pass GetSchemaInput
7760
8554
  # data as a hash:
7761
8555
  #
7762
8556
  # {
7763
- # max_results: 1,
7764
- # next_token: "GenericString",
8557
+ # schema_id: { # required
8558
+ # schema_arn: "GlueResourceArn",
8559
+ # schema_name: "SchemaRegistryNameString",
8560
+ # registry_name: "SchemaRegistryNameString",
8561
+ # },
7765
8562
  # }
7766
8563
  #
7767
- # @!attribute [rw] max_results
7768
- # The maximum number of results to return.
7769
- # @return [Integer]
8564
+ # @!attribute [rw] schema_id
8565
+ # This is a wrapper structure to contain schema identity fields. The
8566
+ # structure contains:
7770
8567
  #
7771
- # @!attribute [rw] next_token
7772
- # A continuation token, if this is a continuation call.
7773
- # @return [String]
8568
+ # * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema.
8569
+ # Either `SchemaArn` or `SchemaName` and `RegistryName` has to be
8570
+ # provided.
7774
8571
  #
7775
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfigurationsRequest AWS API Documentation
8572
+ # * SchemaId$SchemaName: The name of the schema. Either `SchemaArn` or
8573
+ # `SchemaName` and `RegistryName` has to be provided.
8574
+ # @return [Types::SchemaId]
7776
8575
  #
7777
- class GetSecurityConfigurationsRequest < Struct.new(
7778
- :max_results,
7779
- :next_token)
8576
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaInput AWS API Documentation
8577
+ #
8578
+ class GetSchemaInput < Struct.new(
8579
+ :schema_id)
7780
8580
  SENSITIVE = []
7781
8581
  include Aws::Structure
7782
8582
  end
7783
8583
 
7784
- # @!attribute [rw] security_configurations
7785
- # A list of security configurations.
7786
- # @return [Array<Types::SecurityConfiguration>]
8584
+ # @!attribute [rw] registry_name
8585
+ # The name of the registry.
8586
+ # @return [String]
7787
8587
  #
7788
- # @!attribute [rw] next_token
7789
- # A continuation token, if there are more security configurations to
7790
- # return.
8588
+ # @!attribute [rw] registry_arn
8589
+ # The Amazon Resource Name (ARN) of the registry.
7791
8590
  # @return [String]
7792
8591
  #
7793
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfigurationsResponse AWS API Documentation
8592
+ # @!attribute [rw] schema_name
8593
+ # The name of the schema.
8594
+ # @return [String]
7794
8595
  #
7795
- class GetSecurityConfigurationsResponse < Struct.new(
7796
- :security_configurations,
7797
- :next_token)
7798
- SENSITIVE = []
7799
- include Aws::Structure
7800
- end
7801
-
7802
- # @note When making an API call, you may pass GetTableRequest
7803
- # data as a hash:
8596
+ # @!attribute [rw] schema_arn
8597
+ # The Amazon Resource Name (ARN) of the schema.
8598
+ # @return [String]
7804
8599
  #
7805
- # {
7806
- # catalog_id: "CatalogIdString",
7807
- # database_name: "NameString", # required
7808
- # name: "NameString", # required
7809
- # }
8600
+ # @!attribute [rw] description
8601
+ # A description of schema if specified when created
8602
+ # @return [String]
7810
8603
  #
7811
- # @!attribute [rw] catalog_id
7812
- # The ID of the Data Catalog where the table resides. If none is
7813
- # provided, the AWS account ID is used by default.
8604
+ # @!attribute [rw] data_format
8605
+ # The data format of the schema definition. Currently only `AVRO` is
8606
+ # supported.
7814
8607
  # @return [String]
7815
8608
  #
7816
- # @!attribute [rw] database_name
7817
- # The name of the database in the catalog in which the table resides.
7818
- # For Hive compatibility, this name is entirely lowercase.
8609
+ # @!attribute [rw] compatibility
8610
+ # The compatibility mode of the schema.
7819
8611
  # @return [String]
7820
8612
  #
7821
- # @!attribute [rw] name
7822
- # The name of the table for which to retrieve the definition. For Hive
7823
- # compatibility, this name is entirely lowercase.
8613
+ # @!attribute [rw] schema_checkpoint
8614
+ # The version number of the checkpoint (the last time the
8615
+ # compatibility mode was changed).
8616
+ # @return [Integer]
8617
+ #
8618
+ # @!attribute [rw] latest_schema_version
8619
+ # The latest version of the schema associated with the returned schema
8620
+ # definition.
8621
+ # @return [Integer]
8622
+ #
8623
+ # @!attribute [rw] next_schema_version
8624
+ # The next version of the schema associated with the returned schema
8625
+ # definition.
8626
+ # @return [Integer]
8627
+ #
8628
+ # @!attribute [rw] schema_status
8629
+ # The status of the schema.
7824
8630
  # @return [String]
7825
8631
  #
7826
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableRequest AWS API Documentation
8632
+ # @!attribute [rw] created_time
8633
+ # The date and time the schema was created.
8634
+ # @return [String]
7827
8635
  #
7828
- class GetTableRequest < Struct.new(
7829
- :catalog_id,
7830
- :database_name,
7831
- :name)
7832
- SENSITIVE = []
7833
- include Aws::Structure
7834
- end
7835
-
7836
- # @!attribute [rw] table
7837
- # The `Table` object that defines the specified table.
7838
- # @return [Types::Table]
8636
+ # @!attribute [rw] updated_time
8637
+ # The date and time the schema was updated.
8638
+ # @return [String]
7839
8639
  #
7840
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableResponse AWS API Documentation
8640
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaResponse AWS API Documentation
7841
8641
  #
7842
- class GetTableResponse < Struct.new(
7843
- :table)
8642
+ class GetSchemaResponse < Struct.new(
8643
+ :registry_name,
8644
+ :registry_arn,
8645
+ :schema_name,
8646
+ :schema_arn,
8647
+ :description,
8648
+ :data_format,
8649
+ :compatibility,
8650
+ :schema_checkpoint,
8651
+ :latest_schema_version,
8652
+ :next_schema_version,
8653
+ :schema_status,
8654
+ :created_time,
8655
+ :updated_time)
7844
8656
  SENSITIVE = []
7845
8657
  include Aws::Structure
7846
8658
  end
7847
8659
 
7848
- # @note When making an API call, you may pass GetTableVersionRequest
8660
+ # @note When making an API call, you may pass GetSchemaVersionInput
7849
8661
  # data as a hash:
7850
8662
  #
7851
8663
  # {
7852
- # catalog_id: "CatalogIdString",
7853
- # database_name: "NameString", # required
7854
- # table_name: "NameString", # required
7855
- # version_id: "VersionString",
8664
+ # schema_id: {
8665
+ # schema_arn: "GlueResourceArn",
8666
+ # schema_name: "SchemaRegistryNameString",
8667
+ # registry_name: "SchemaRegistryNameString",
8668
+ # },
8669
+ # schema_version_id: "SchemaVersionIdString",
8670
+ # schema_version_number: {
8671
+ # latest_version: false,
8672
+ # version_number: 1,
8673
+ # },
7856
8674
  # }
7857
8675
  #
7858
- # @!attribute [rw] catalog_id
7859
- # The ID of the Data Catalog where the tables reside. If none is
7860
- # provided, the AWS account ID is used by default.
7861
- # @return [String]
8676
+ # @!attribute [rw] schema_id
8677
+ # This is a wrapper structure to contain schema identity fields. The
8678
+ # structure contains:
7862
8679
  #
7863
- # @!attribute [rw] database_name
7864
- # The database in the catalog in which the table resides. For Hive
7865
- # compatibility, this name is entirely lowercase.
8680
+ # * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema.
8681
+ # Either `SchemaArn` or `SchemaName` and `RegistryName` has to be
8682
+ # provided.
8683
+ #
8684
+ # * SchemaId$SchemaName: The name of the schema. Either `SchemaArn` or
8685
+ # `SchemaName` and `RegistryName` has to be provided.
8686
+ # @return [Types::SchemaId]
8687
+ #
8688
+ # @!attribute [rw] schema_version_id
8689
+ # The `SchemaVersionId` of the schema version. This field is required
8690
+ # for fetching by schema ID. Either this or the `SchemaId` wrapper has
8691
+ # to be provided.
8692
+ # @return [String]
8693
+ #
8694
+ # @!attribute [rw] schema_version_number
8695
+ # The version number of the schema.
8696
+ # @return [Types::SchemaVersionNumber]
8697
+ #
8698
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaVersionInput AWS API Documentation
8699
+ #
8700
+ class GetSchemaVersionInput < Struct.new(
8701
+ :schema_id,
8702
+ :schema_version_id,
8703
+ :schema_version_number)
8704
+ SENSITIVE = []
8705
+ include Aws::Structure
8706
+ end
8707
+
8708
+ # @!attribute [rw] schema_version_id
8709
+ # The `SchemaVersionId` of the schema version.
8710
+ # @return [String]
8711
+ #
8712
+ # @!attribute [rw] schema_definition
8713
+ # The schema definition for the schema ID.
8714
+ # @return [String]
8715
+ #
8716
+ # @!attribute [rw] data_format
8717
+ # The data format of the schema definition. Currently only `AVRO` is
8718
+ # supported.
8719
+ # @return [String]
8720
+ #
8721
+ # @!attribute [rw] schema_arn
8722
+ # The Amazon Resource Name (ARN) of the schema.
8723
+ # @return [String]
8724
+ #
8725
+ # @!attribute [rw] version_number
8726
+ # The version number of the schema.
8727
+ # @return [Integer]
8728
+ #
8729
+ # @!attribute [rw] status
8730
+ # The status of the schema version.
8731
+ # @return [String]
8732
+ #
8733
+ # @!attribute [rw] created_time
8734
+ # The date and time the schema version was created.
8735
+ # @return [String]
8736
+ #
8737
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaVersionResponse AWS API Documentation
8738
+ #
8739
+ class GetSchemaVersionResponse < Struct.new(
8740
+ :schema_version_id,
8741
+ :schema_definition,
8742
+ :data_format,
8743
+ :schema_arn,
8744
+ :version_number,
8745
+ :status,
8746
+ :created_time)
8747
+ SENSITIVE = []
8748
+ include Aws::Structure
8749
+ end
8750
+
8751
+ # @note When making an API call, you may pass GetSchemaVersionsDiffInput
8752
+ # data as a hash:
8753
+ #
8754
+ # {
8755
+ # schema_id: { # required
8756
+ # schema_arn: "GlueResourceArn",
8757
+ # schema_name: "SchemaRegistryNameString",
8758
+ # registry_name: "SchemaRegistryNameString",
8759
+ # },
8760
+ # first_schema_version_number: { # required
8761
+ # latest_version: false,
8762
+ # version_number: 1,
8763
+ # },
8764
+ # second_schema_version_number: { # required
8765
+ # latest_version: false,
8766
+ # version_number: 1,
8767
+ # },
8768
+ # schema_diff_type: "SYNTAX_DIFF", # required, accepts SYNTAX_DIFF
8769
+ # }
8770
+ #
8771
+ # @!attribute [rw] schema_id
8772
+ # This is a wrapper structure to contain schema identity fields. The
8773
+ # structure contains:
8774
+ #
8775
+ # * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema.
8776
+ # One of `SchemaArn` or `SchemaName` has to be provided.
8777
+ #
8778
+ # * SchemaId$SchemaName: The name of the schema. One of `SchemaArn` or
8779
+ # `SchemaName` has to be provided.
8780
+ # @return [Types::SchemaId]
8781
+ #
8782
+ # @!attribute [rw] first_schema_version_number
8783
+ # The first of the two schema versions to be compared.
8784
+ # @return [Types::SchemaVersionNumber]
8785
+ #
8786
+ # @!attribute [rw] second_schema_version_number
8787
+ # The second of the two schema versions to be compared.
8788
+ # @return [Types::SchemaVersionNumber]
8789
+ #
8790
+ # @!attribute [rw] schema_diff_type
8791
+ # Refers to `SYNTAX_DIFF`, which is the currently supported diff type.
8792
+ # @return [String]
8793
+ #
8794
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaVersionsDiffInput AWS API Documentation
8795
+ #
8796
+ class GetSchemaVersionsDiffInput < Struct.new(
8797
+ :schema_id,
8798
+ :first_schema_version_number,
8799
+ :second_schema_version_number,
8800
+ :schema_diff_type)
8801
+ SENSITIVE = []
8802
+ include Aws::Structure
8803
+ end
8804
+
8805
+ # @!attribute [rw] diff
8806
+ # The difference between schemas as a string in JsonPatch format.
8807
+ # @return [String]
8808
+ #
8809
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaVersionsDiffResponse AWS API Documentation
8810
+ #
8811
+ class GetSchemaVersionsDiffResponse < Struct.new(
8812
+ :diff)
8813
+ SENSITIVE = []
8814
+ include Aws::Structure
8815
+ end
8816
+
8817
+ # @note When making an API call, you may pass GetSecurityConfigurationRequest
8818
+ # data as a hash:
8819
+ #
8820
+ # {
8821
+ # name: "NameString", # required
8822
+ # }
8823
+ #
8824
+ # @!attribute [rw] name
8825
+ # The name of the security configuration to retrieve.
8826
+ # @return [String]
8827
+ #
8828
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfigurationRequest AWS API Documentation
8829
+ #
8830
+ class GetSecurityConfigurationRequest < Struct.new(
8831
+ :name)
8832
+ SENSITIVE = []
8833
+ include Aws::Structure
8834
+ end
8835
+
8836
+ # @!attribute [rw] security_configuration
8837
+ # The requested security configuration.
8838
+ # @return [Types::SecurityConfiguration]
8839
+ #
8840
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfigurationResponse AWS API Documentation
8841
+ #
8842
+ class GetSecurityConfigurationResponse < Struct.new(
8843
+ :security_configuration)
8844
+ SENSITIVE = []
8845
+ include Aws::Structure
8846
+ end
8847
+
8848
+ # @note When making an API call, you may pass GetSecurityConfigurationsRequest
8849
+ # data as a hash:
8850
+ #
8851
+ # {
8852
+ # max_results: 1,
8853
+ # next_token: "GenericString",
8854
+ # }
8855
+ #
8856
+ # @!attribute [rw] max_results
8857
+ # The maximum number of results to return.
8858
+ # @return [Integer]
8859
+ #
8860
+ # @!attribute [rw] next_token
8861
+ # A continuation token, if this is a continuation call.
8862
+ # @return [String]
8863
+ #
8864
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfigurationsRequest AWS API Documentation
8865
+ #
8866
+ class GetSecurityConfigurationsRequest < Struct.new(
8867
+ :max_results,
8868
+ :next_token)
8869
+ SENSITIVE = []
8870
+ include Aws::Structure
8871
+ end
8872
+
8873
+ # @!attribute [rw] security_configurations
8874
+ # A list of security configurations.
8875
+ # @return [Array<Types::SecurityConfiguration>]
8876
+ #
8877
+ # @!attribute [rw] next_token
8878
+ # A continuation token, if there are more security configurations to
8879
+ # return.
8880
+ # @return [String]
8881
+ #
8882
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfigurationsResponse AWS API Documentation
8883
+ #
8884
+ class GetSecurityConfigurationsResponse < Struct.new(
8885
+ :security_configurations,
8886
+ :next_token)
8887
+ SENSITIVE = []
8888
+ include Aws::Structure
8889
+ end
8890
+
8891
+ # @note When making an API call, you may pass GetTableRequest
8892
+ # data as a hash:
8893
+ #
8894
+ # {
8895
+ # catalog_id: "CatalogIdString",
8896
+ # database_name: "NameString", # required
8897
+ # name: "NameString", # required
8898
+ # }
8899
+ #
8900
+ # @!attribute [rw] catalog_id
8901
+ # The ID of the Data Catalog where the table resides. If none is
8902
+ # provided, the AWS account ID is used by default.
8903
+ # @return [String]
8904
+ #
8905
+ # @!attribute [rw] database_name
8906
+ # The name of the database in the catalog in which the table resides.
8907
+ # For Hive compatibility, this name is entirely lowercase.
8908
+ # @return [String]
8909
+ #
8910
+ # @!attribute [rw] name
8911
+ # The name of the table for which to retrieve the definition. For Hive
8912
+ # compatibility, this name is entirely lowercase.
8913
+ # @return [String]
8914
+ #
8915
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableRequest AWS API Documentation
8916
+ #
8917
+ class GetTableRequest < Struct.new(
8918
+ :catalog_id,
8919
+ :database_name,
8920
+ :name)
8921
+ SENSITIVE = []
8922
+ include Aws::Structure
8923
+ end
8924
+
8925
+ # @!attribute [rw] table
8926
+ # The `Table` object that defines the specified table.
8927
+ # @return [Types::Table]
8928
+ #
8929
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableResponse AWS API Documentation
8930
+ #
8931
+ class GetTableResponse < Struct.new(
8932
+ :table)
8933
+ SENSITIVE = []
8934
+ include Aws::Structure
8935
+ end
8936
+
8937
+ # @note When making an API call, you may pass GetTableVersionRequest
8938
+ # data as a hash:
8939
+ #
8940
+ # {
8941
+ # catalog_id: "CatalogIdString",
8942
+ # database_name: "NameString", # required
8943
+ # table_name: "NameString", # required
8944
+ # version_id: "VersionString",
8945
+ # }
8946
+ #
8947
+ # @!attribute [rw] catalog_id
8948
+ # The ID of the Data Catalog where the tables reside. If none is
8949
+ # provided, the AWS account ID is used by default.
8950
+ # @return [String]
8951
+ #
8952
+ # @!attribute [rw] database_name
8953
+ # The database in the catalog in which the table resides. For Hive
8954
+ # compatibility, this name is entirely lowercase.
7866
8955
  # @return [String]
7867
8956
  #
7868
8957
  # @!attribute [rw] table_name
@@ -9562,6 +10651,32 @@ module Aws::Glue
9562
10651
  include Aws::Structure
9563
10652
  end
9564
10653
 
10654
+ # Specifies data lineage configuration settings for the crawler.
10655
+ #
10656
+ # @note When making an API call, you may pass LineageConfiguration
10657
+ # data as a hash:
10658
+ #
10659
+ # {
10660
+ # crawler_lineage_settings: "ENABLE", # accepts ENABLE, DISABLE
10661
+ # }
10662
+ #
10663
+ # @!attribute [rw] crawler_lineage_settings
10664
+ # Specifies whether data lineage is enabled for the crawler. Valid
10665
+ # values are:
10666
+ #
10667
+ # * ENABLE: enables data lineage for the crawler
10668
+ #
10669
+ # * DISABLE: disables data lineage for the crawler
10670
+ # @return [String]
10671
+ #
10672
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/LineageConfiguration AWS API Documentation
10673
+ #
10674
+ class LineageConfiguration < Struct.new(
10675
+ :crawler_lineage_settings)
10676
+ SENSITIVE = []
10677
+ include Aws::Structure
10678
+ end
10679
+
9565
10680
  # @note When making an API call, you may pass ListCrawlersRequest
9566
10681
  # data as a hash:
9567
10682
  #
@@ -9802,79 +10917,242 @@ module Aws::Glue
9802
10917
  include Aws::Structure
9803
10918
  end
9804
10919
 
9805
- # @note When making an API call, you may pass ListTriggersRequest
10920
+ # @note When making an API call, you may pass ListRegistriesInput
9806
10921
  # data as a hash:
9807
10922
  #
9808
10923
  # {
9809
- # next_token: "GenericString",
9810
- # dependent_job_name: "NameString",
9811
10924
  # max_results: 1,
9812
- # tags: {
9813
- # "TagKey" => "TagValue",
9814
- # },
10925
+ # next_token: "SchemaRegistryTokenString",
9815
10926
  # }
9816
10927
  #
9817
- # @!attribute [rw] next_token
9818
- # A continuation token, if this is a continuation request.
9819
- # @return [String]
9820
- #
9821
- # @!attribute [rw] dependent_job_name
9822
- # The name of the job for which to retrieve triggers. The trigger that
9823
- # can start this job is returned. If there is no such trigger, all
9824
- # triggers are returned.
9825
- # @return [String]
9826
- #
9827
10928
  # @!attribute [rw] max_results
9828
- # The maximum size of a list to return.
10929
+ # Maximum number of results required per page. If the value is not
10930
+ # supplied, this will be defaulted to 25 per page.
9829
10931
  # @return [Integer]
9830
10932
  #
9831
- # @!attribute [rw] tags
9832
- # Specifies to return only these tagged resources.
9833
- # @return [Hash<String,String>]
10933
+ # @!attribute [rw] next_token
10934
+ # A continuation token, if this is a continuation call.
10935
+ # @return [String]
9834
10936
  #
9835
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListTriggersRequest AWS API Documentation
10937
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListRegistriesInput AWS API Documentation
9836
10938
  #
9837
- class ListTriggersRequest < Struct.new(
9838
- :next_token,
9839
- :dependent_job_name,
10939
+ class ListRegistriesInput < Struct.new(
9840
10940
  :max_results,
9841
- :tags)
10941
+ :next_token)
9842
10942
  SENSITIVE = []
9843
10943
  include Aws::Structure
9844
10944
  end
9845
10945
 
9846
- # @!attribute [rw] trigger_names
9847
- # The names of all triggers in the account, or the triggers with the
9848
- # specified tags.
9849
- # @return [Array<String>]
10946
+ # @!attribute [rw] registries
10947
+ # An array of `RegistryDetailedListItem` objects containing minimal
10948
+ # details of each registry.
10949
+ # @return [Array<Types::RegistryListItem>]
9850
10950
  #
9851
10951
  # @!attribute [rw] next_token
9852
- # A continuation token, if the returned list does not contain the last
9853
- # metric available.
10952
+ # A continuation token for paginating the returned list of tokens,
10953
+ # returned if the current segment of the list is not the last.
9854
10954
  # @return [String]
9855
10955
  #
9856
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListTriggersResponse AWS API Documentation
10956
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListRegistriesResponse AWS API Documentation
9857
10957
  #
9858
- class ListTriggersResponse < Struct.new(
9859
- :trigger_names,
10958
+ class ListRegistriesResponse < Struct.new(
10959
+ :registries,
9860
10960
  :next_token)
9861
10961
  SENSITIVE = []
9862
10962
  include Aws::Structure
9863
10963
  end
9864
10964
 
9865
- # @note When making an API call, you may pass ListWorkflowsRequest
10965
+ # @note When making an API call, you may pass ListSchemaVersionsInput
9866
10966
  # data as a hash:
9867
10967
  #
9868
10968
  # {
9869
- # next_token: "GenericString",
10969
+ # schema_id: { # required
10970
+ # schema_arn: "GlueResourceArn",
10971
+ # schema_name: "SchemaRegistryNameString",
10972
+ # registry_name: "SchemaRegistryNameString",
10973
+ # },
9870
10974
  # max_results: 1,
10975
+ # next_token: "SchemaRegistryTokenString",
9871
10976
  # }
9872
10977
  #
9873
- # @!attribute [rw] next_token
9874
- # A continuation token, if this is a continuation request.
9875
- # @return [String]
10978
+ # @!attribute [rw] schema_id
10979
+ # This is a wrapper structure to contain schema identity fields. The
10980
+ # structure contains:
9876
10981
  #
9877
- # @!attribute [rw] max_results
10982
+ # * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema.
10983
+ # Either `SchemaArn` or `SchemaName` and `RegistryName` has to be
10984
+ # provided.
10985
+ #
10986
+ # * SchemaId$SchemaName: The name of the schema. Either `SchemaArn` or
10987
+ # `SchemaName` and `RegistryName` has to be provided.
10988
+ # @return [Types::SchemaId]
10989
+ #
10990
+ # @!attribute [rw] max_results
10991
+ # Maximum number of results required per page. If the value is not
10992
+ # supplied, this will be defaulted to 25 per page.
10993
+ # @return [Integer]
10994
+ #
10995
+ # @!attribute [rw] next_token
10996
+ # A continuation token, if this is a continuation call.
10997
+ # @return [String]
10998
+ #
10999
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSchemaVersionsInput AWS API Documentation
11000
+ #
11001
+ class ListSchemaVersionsInput < Struct.new(
11002
+ :schema_id,
11003
+ :max_results,
11004
+ :next_token)
11005
+ SENSITIVE = []
11006
+ include Aws::Structure
11007
+ end
11008
+
11009
+ # @!attribute [rw] schemas
11010
+ # An array of `SchemaVersionList` objects containing details of each
11011
+ # schema version.
11012
+ # @return [Array<Types::SchemaVersionListItem>]
11013
+ #
11014
+ # @!attribute [rw] next_token
11015
+ # A continuation token for paginating the returned list of tokens,
11016
+ # returned if the current segment of the list is not the last.
11017
+ # @return [String]
11018
+ #
11019
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSchemaVersionsResponse AWS API Documentation
11020
+ #
11021
+ class ListSchemaVersionsResponse < Struct.new(
11022
+ :schemas,
11023
+ :next_token)
11024
+ SENSITIVE = []
11025
+ include Aws::Structure
11026
+ end
11027
+
11028
+ # @note When making an API call, you may pass ListSchemasInput
11029
+ # data as a hash:
11030
+ #
11031
+ # {
11032
+ # registry_id: {
11033
+ # registry_name: "SchemaRegistryNameString",
11034
+ # registry_arn: "GlueResourceArn",
11035
+ # },
11036
+ # max_results: 1,
11037
+ # next_token: "SchemaRegistryTokenString",
11038
+ # }
11039
+ #
11040
+ # @!attribute [rw] registry_id
11041
+ # A wrapper structure that may contain the registry name and Amazon
11042
+ # Resource Name (ARN).
11043
+ # @return [Types::RegistryId]
11044
+ #
11045
+ # @!attribute [rw] max_results
11046
+ # Maximum number of results required per page. If the value is not
11047
+ # supplied, this will be defaulted to 25 per page.
11048
+ # @return [Integer]
11049
+ #
11050
+ # @!attribute [rw] next_token
11051
+ # A continuation token, if this is a continuation call.
11052
+ # @return [String]
11053
+ #
11054
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSchemasInput AWS API Documentation
11055
+ #
11056
+ class ListSchemasInput < Struct.new(
11057
+ :registry_id,
11058
+ :max_results,
11059
+ :next_token)
11060
+ SENSITIVE = []
11061
+ include Aws::Structure
11062
+ end
11063
+
11064
+ # @!attribute [rw] schemas
11065
+ # An array of `SchemaListItem` objects containing details of each
11066
+ # schema.
11067
+ # @return [Array<Types::SchemaListItem>]
11068
+ #
11069
+ # @!attribute [rw] next_token
11070
+ # A continuation token for paginating the returned list of tokens,
11071
+ # returned if the current segment of the list is not the last.
11072
+ # @return [String]
11073
+ #
11074
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSchemasResponse AWS API Documentation
11075
+ #
11076
+ class ListSchemasResponse < Struct.new(
11077
+ :schemas,
11078
+ :next_token)
11079
+ SENSITIVE = []
11080
+ include Aws::Structure
11081
+ end
11082
+
11083
+ # @note When making an API call, you may pass ListTriggersRequest
11084
+ # data as a hash:
11085
+ #
11086
+ # {
11087
+ # next_token: "GenericString",
11088
+ # dependent_job_name: "NameString",
11089
+ # max_results: 1,
11090
+ # tags: {
11091
+ # "TagKey" => "TagValue",
11092
+ # },
11093
+ # }
11094
+ #
11095
+ # @!attribute [rw] next_token
11096
+ # A continuation token, if this is a continuation request.
11097
+ # @return [String]
11098
+ #
11099
+ # @!attribute [rw] dependent_job_name
11100
+ # The name of the job for which to retrieve triggers. The trigger that
11101
+ # can start this job is returned. If there is no such trigger, all
11102
+ # triggers are returned.
11103
+ # @return [String]
11104
+ #
11105
+ # @!attribute [rw] max_results
11106
+ # The maximum size of a list to return.
11107
+ # @return [Integer]
11108
+ #
11109
+ # @!attribute [rw] tags
11110
+ # Specifies to return only these tagged resources.
11111
+ # @return [Hash<String,String>]
11112
+ #
11113
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListTriggersRequest AWS API Documentation
11114
+ #
11115
+ class ListTriggersRequest < Struct.new(
11116
+ :next_token,
11117
+ :dependent_job_name,
11118
+ :max_results,
11119
+ :tags)
11120
+ SENSITIVE = []
11121
+ include Aws::Structure
11122
+ end
11123
+
11124
+ # @!attribute [rw] trigger_names
11125
+ # The names of all triggers in the account, or the triggers with the
11126
+ # specified tags.
11127
+ # @return [Array<String>]
11128
+ #
11129
+ # @!attribute [rw] next_token
11130
+ # A continuation token, if the returned list does not contain the last
11131
+ # metric available.
11132
+ # @return [String]
11133
+ #
11134
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListTriggersResponse AWS API Documentation
11135
+ #
11136
+ class ListTriggersResponse < Struct.new(
11137
+ :trigger_names,
11138
+ :next_token)
11139
+ SENSITIVE = []
11140
+ include Aws::Structure
11141
+ end
11142
+
11143
+ # @note When making an API call, you may pass ListWorkflowsRequest
11144
+ # data as a hash:
11145
+ #
11146
+ # {
11147
+ # next_token: "GenericString",
11148
+ # max_results: 1,
11149
+ # }
11150
+ #
11151
+ # @!attribute [rw] next_token
11152
+ # A continuation token, if this is a continuation request.
11153
+ # @return [String]
11154
+ #
11155
+ # @!attribute [rw] max_results
9878
11156
  # The maximum size of a list to return.
9879
11157
  # @return [Integer]
9880
11158
  #
@@ -9955,7 +11233,7 @@ module Aws::Glue
9955
11233
  include Aws::Structure
9956
11234
  end
9957
11235
 
9958
- # Defines a long column statistics data.
11236
+ # Defines column statistics supported for integer data columns.
9959
11237
  #
9960
11238
  # @note When making an API call, you may pass LongColumnStatisticsData
9961
11239
  # data as a hash:
@@ -9968,19 +11246,19 @@ module Aws::Glue
9968
11246
  # }
9969
11247
  #
9970
11248
  # @!attribute [rw] minimum_value
9971
- # Minimum value of the column.
11249
+ # The lowest value in the column.
9972
11250
  # @return [Integer]
9973
11251
  #
9974
11252
  # @!attribute [rw] maximum_value
9975
- # Maximum value of the column.
11253
+ # The highest value in the column.
9976
11254
  # @return [Integer]
9977
11255
  #
9978
11256
  # @!attribute [rw] number_of_nulls
9979
- # Number of nulls.
11257
+ # The number of null values in the column.
9980
11258
  # @return [Integer]
9981
11259
  #
9982
11260
  # @!attribute [rw] number_of_distinct_values
9983
- # Number of distinct values.
11261
+ # The number of distinct values in a column.
9984
11262
  # @return [Integer]
9985
11263
  #
9986
11264
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/LongColumnStatisticsData AWS API Documentation
@@ -10160,6 +11438,12 @@ module Aws::Glue
10160
11438
  # machine learning transform fails.
10161
11439
  # @return [Integer]
10162
11440
  #
11441
+ # @!attribute [rw] transform_encryption
11442
+ # The encryption-at-rest settings of the transform that apply to
11443
+ # accessing user data. Machine learning transforms can access user
11444
+ # data encrypted in Amazon S3 using KMS.
11445
+ # @return [Types::TransformEncryption]
11446
+ #
10163
11447
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/MLTransform AWS API Documentation
10164
11448
  #
10165
11449
  class MLTransform < Struct.new(
@@ -10180,7 +11464,8 @@ module Aws::Glue
10180
11464
  :worker_type,
10181
11465
  :number_of_workers,
10182
11466
  :timeout,
10183
- :max_retries)
11467
+ :max_retries,
11468
+ :transform_encryption)
10184
11469
  SENSITIVE = []
10185
11470
  include Aws::Structure
10186
11471
  end
@@ -10199,6 +11484,39 @@ module Aws::Glue
10199
11484
  include Aws::Structure
10200
11485
  end
10201
11486
 
11487
+ # The encryption-at-rest settings of the transform that apply to
11488
+ # accessing user data.
11489
+ #
11490
+ # @note When making an API call, you may pass MLUserDataEncryption
11491
+ # data as a hash:
11492
+ #
11493
+ # {
11494
+ # ml_user_data_encryption_mode: "DISABLED", # required, accepts DISABLED, SSE-KMS
11495
+ # kms_key_id: "NameString",
11496
+ # }
11497
+ #
11498
+ # @!attribute [rw] ml_user_data_encryption_mode
11499
+ # The encryption mode applied to user data. Valid values are:
11500
+ #
11501
+ # * DISABLED: encryption is disabled
11502
+ #
11503
+ # * SSEKMS: use of server-side encryption with AWS Key Management
11504
+ # Service (SSE-KMS) for user data stored in Amazon S3.
11505
+ # @return [String]
11506
+ #
11507
+ # @!attribute [rw] kms_key_id
11508
+ # The ID for the customer-provided KMS key.
11509
+ # @return [String]
11510
+ #
11511
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/MLUserDataEncryption AWS API Documentation
11512
+ #
11513
+ class MLUserDataEncryption < Struct.new(
11514
+ :ml_user_data_encryption_mode,
11515
+ :kms_key_id)
11516
+ SENSITIVE = []
11517
+ include Aws::Structure
11518
+ end
11519
+
10202
11520
  # Defines a mapping.
10203
11521
  #
10204
11522
  # @note When making an API call, you may pass MappingEntry
@@ -10250,6 +11568,52 @@ module Aws::Glue
10250
11568
  include Aws::Structure
10251
11569
  end
10252
11570
 
11571
+ # A structure containing metadata information for a schema version.
11572
+ #
11573
+ # @!attribute [rw] metadata_value
11574
+ # The metadata key’s corresponding value.
11575
+ # @return [String]
11576
+ #
11577
+ # @!attribute [rw] created_time
11578
+ # The time at which the entry was created.
11579
+ # @return [String]
11580
+ #
11581
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/MetadataInfo AWS API Documentation
11582
+ #
11583
+ class MetadataInfo < Struct.new(
11584
+ :metadata_value,
11585
+ :created_time)
11586
+ SENSITIVE = []
11587
+ include Aws::Structure
11588
+ end
11589
+
11590
+ # A structure containing a key value pair for metadata.
11591
+ #
11592
+ # @note When making an API call, you may pass MetadataKeyValuePair
11593
+ # data as a hash:
11594
+ #
11595
+ # {
11596
+ # metadata_key: "MetadataKeyString",
11597
+ # metadata_value: "MetadataValueString",
11598
+ # }
11599
+ #
11600
+ # @!attribute [rw] metadata_key
11601
+ # A metadata key.
11602
+ # @return [String]
11603
+ #
11604
+ # @!attribute [rw] metadata_value
11605
+ # A metadata key’s corresponding value.
11606
+ # @return [String]
11607
+ #
11608
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/MetadataKeyValuePair AWS API Documentation
11609
+ #
11610
+ class MetadataKeyValuePair < Struct.new(
11611
+ :metadata_key,
11612
+ :metadata_value)
11613
+ SENSITIVE = []
11614
+ include Aws::Structure
11615
+ end
11616
+
10253
11617
  # Specifies an Amazon DocumentDB or MongoDB data store to crawl.
10254
11618
  #
10255
11619
  # @note When making an API call, you may pass MongoDBTarget
@@ -10524,14 +11888,31 @@ module Aws::Glue
10524
11888
  #
10525
11889
  # @!attribute [rw] index_status
10526
11890
  # The status of the partition index.
11891
+ #
11892
+ # The possible statuses are:
11893
+ #
11894
+ # * CREATING: The index is being created. When an index is in a
11895
+ # CREATING state, the index or its table cannot be deleted.
11896
+ #
11897
+ # * ACTIVE: The index creation succeeds.
11898
+ #
11899
+ # * FAILED: The index creation fails.
11900
+ #
11901
+ # * DELETING: The index is deleted from the list of indexes.
10527
11902
  # @return [String]
10528
11903
  #
11904
+ # @!attribute [rw] backfill_errors
11905
+ # A list of errors that can occur when registering partition indexes
11906
+ # for an existing table.
11907
+ # @return [Array<Types::BackfillError>]
11908
+ #
10529
11909
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PartitionIndexDescriptor AWS API Documentation
10530
11910
  #
10531
11911
  class PartitionIndexDescriptor < Struct.new(
10532
11912
  :index_name,
10533
11913
  :keys,
10534
- :index_status)
11914
+ :index_status,
11915
+ :backfill_errors)
10535
11916
  SENSITIVE = []
10536
11917
  include Aws::Structure
10537
11918
  end
@@ -10585,6 +11966,15 @@ module Aws::Glue
10585
11966
  # },
10586
11967
  # },
10587
11968
  # stored_as_sub_directories: false,
11969
+ # schema_reference: {
11970
+ # schema_id: {
11971
+ # schema_arn: "GlueResourceArn",
11972
+ # schema_name: "SchemaRegistryNameString",
11973
+ # registry_name: "SchemaRegistryNameString",
11974
+ # },
11975
+ # schema_version_id: "SchemaVersionIdString",
11976
+ # schema_version_number: 1,
11977
+ # },
10588
11978
  # },
10589
11979
  # parameters: {
10590
11980
  # "KeyString" => "ParametersMapValue",
@@ -10914,84 +12304,490 @@ module Aws::Glue
10914
12304
  # in a subsequent call that overwrites or updates this policy.
10915
12305
  # @return [String]
10916
12306
  #
10917
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutResourcePolicyResponse AWS API Documentation
12307
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutResourcePolicyResponse AWS API Documentation
12308
+ #
12309
+ class PutResourcePolicyResponse < Struct.new(
12310
+ :policy_hash)
12311
+ SENSITIVE = []
12312
+ include Aws::Structure
12313
+ end
12314
+
12315
+ # @note When making an API call, you may pass PutSchemaVersionMetadataInput
12316
+ # data as a hash:
12317
+ #
12318
+ # {
12319
+ # schema_id: {
12320
+ # schema_arn: "GlueResourceArn",
12321
+ # schema_name: "SchemaRegistryNameString",
12322
+ # registry_name: "SchemaRegistryNameString",
12323
+ # },
12324
+ # schema_version_number: {
12325
+ # latest_version: false,
12326
+ # version_number: 1,
12327
+ # },
12328
+ # schema_version_id: "SchemaVersionIdString",
12329
+ # metadata_key_value: { # required
12330
+ # metadata_key: "MetadataKeyString",
12331
+ # metadata_value: "MetadataValueString",
12332
+ # },
12333
+ # }
12334
+ #
12335
+ # @!attribute [rw] schema_id
12336
+ # The unique ID for the schema.
12337
+ # @return [Types::SchemaId]
12338
+ #
12339
+ # @!attribute [rw] schema_version_number
12340
+ # The version number of the schema.
12341
+ # @return [Types::SchemaVersionNumber]
12342
+ #
12343
+ # @!attribute [rw] schema_version_id
12344
+ # The unique version ID of the schema version.
12345
+ # @return [String]
12346
+ #
12347
+ # @!attribute [rw] metadata_key_value
12348
+ # The metadata key's corresponding value.
12349
+ # @return [Types::MetadataKeyValuePair]
12350
+ #
12351
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutSchemaVersionMetadataInput AWS API Documentation
12352
+ #
12353
+ class PutSchemaVersionMetadataInput < Struct.new(
12354
+ :schema_id,
12355
+ :schema_version_number,
12356
+ :schema_version_id,
12357
+ :metadata_key_value)
12358
+ SENSITIVE = []
12359
+ include Aws::Structure
12360
+ end
12361
+
12362
+ # @!attribute [rw] schema_arn
12363
+ # The Amazon Resource Name (ARN) for the schema.
12364
+ # @return [String]
12365
+ #
12366
+ # @!attribute [rw] schema_name
12367
+ # The name for the schema.
12368
+ # @return [String]
12369
+ #
12370
+ # @!attribute [rw] registry_name
12371
+ # The name for the registry.
12372
+ # @return [String]
12373
+ #
12374
+ # @!attribute [rw] latest_version
12375
+ # The latest version of the schema.
12376
+ # @return [Boolean]
12377
+ #
12378
+ # @!attribute [rw] version_number
12379
+ # The version number of the schema.
12380
+ # @return [Integer]
12381
+ #
12382
+ # @!attribute [rw] schema_version_id
12383
+ # The unique version ID of the schema version.
12384
+ # @return [String]
12385
+ #
12386
+ # @!attribute [rw] metadata_key
12387
+ # The metadata key.
12388
+ # @return [String]
12389
+ #
12390
+ # @!attribute [rw] metadata_value
12391
+ # The value of the metadata key.
12392
+ # @return [String]
12393
+ #
12394
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutSchemaVersionMetadataResponse AWS API Documentation
12395
+ #
12396
+ class PutSchemaVersionMetadataResponse < Struct.new(
12397
+ :schema_arn,
12398
+ :schema_name,
12399
+ :registry_name,
12400
+ :latest_version,
12401
+ :version_number,
12402
+ :schema_version_id,
12403
+ :metadata_key,
12404
+ :metadata_value)
12405
+ SENSITIVE = []
12406
+ include Aws::Structure
12407
+ end
12408
+
12409
+ # @note When making an API call, you may pass PutWorkflowRunPropertiesRequest
12410
+ # data as a hash:
12411
+ #
12412
+ # {
12413
+ # name: "NameString", # required
12414
+ # run_id: "IdString", # required
12415
+ # run_properties: { # required
12416
+ # "IdString" => "GenericString",
12417
+ # },
12418
+ # }
12419
+ #
12420
+ # @!attribute [rw] name
12421
+ # Name of the workflow which was run.
12422
+ # @return [String]
12423
+ #
12424
+ # @!attribute [rw] run_id
12425
+ # The ID of the workflow run for which the run properties should be
12426
+ # updated.
12427
+ # @return [String]
12428
+ #
12429
+ # @!attribute [rw] run_properties
12430
+ # The properties to put for the specified run.
12431
+ # @return [Hash<String,String>]
12432
+ #
12433
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutWorkflowRunPropertiesRequest AWS API Documentation
12434
+ #
12435
+ class PutWorkflowRunPropertiesRequest < Struct.new(
12436
+ :name,
12437
+ :run_id,
12438
+ :run_properties)
12439
+ SENSITIVE = []
12440
+ include Aws::Structure
12441
+ end
12442
+
12443
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutWorkflowRunPropertiesResponse AWS API Documentation
12444
+ #
12445
+ class PutWorkflowRunPropertiesResponse < Aws::EmptyStructure; end
12446
+
12447
+ # @note When making an API call, you may pass QuerySchemaVersionMetadataInput
12448
+ # data as a hash:
12449
+ #
12450
+ # {
12451
+ # schema_id: {
12452
+ # schema_arn: "GlueResourceArn",
12453
+ # schema_name: "SchemaRegistryNameString",
12454
+ # registry_name: "SchemaRegistryNameString",
12455
+ # },
12456
+ # schema_version_number: {
12457
+ # latest_version: false,
12458
+ # version_number: 1,
12459
+ # },
12460
+ # schema_version_id: "SchemaVersionIdString",
12461
+ # metadata_list: [
12462
+ # {
12463
+ # metadata_key: "MetadataKeyString",
12464
+ # metadata_value: "MetadataValueString",
12465
+ # },
12466
+ # ],
12467
+ # max_results: 1,
12468
+ # next_token: "SchemaRegistryTokenString",
12469
+ # }
12470
+ #
12471
+ # @!attribute [rw] schema_id
12472
+ # A wrapper structure that may contain the schema name and Amazon
12473
+ # Resource Name (ARN).
12474
+ # @return [Types::SchemaId]
12475
+ #
12476
+ # @!attribute [rw] schema_version_number
12477
+ # The version number of the schema.
12478
+ # @return [Types::SchemaVersionNumber]
12479
+ #
12480
+ # @!attribute [rw] schema_version_id
12481
+ # The unique version ID of the schema version.
12482
+ # @return [String]
12483
+ #
12484
+ # @!attribute [rw] metadata_list
12485
+ # Search key-value pairs for metadata, if they are not provided all
12486
+ # the metadata information will be fetched.
12487
+ # @return [Array<Types::MetadataKeyValuePair>]
12488
+ #
12489
+ # @!attribute [rw] max_results
12490
+ # Maximum number of results required per page. If the value is not
12491
+ # supplied, this will be defaulted to 25 per page.
12492
+ # @return [Integer]
12493
+ #
12494
+ # @!attribute [rw] next_token
12495
+ # A continuation token, if this is a continuation call.
12496
+ # @return [String]
12497
+ #
12498
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/QuerySchemaVersionMetadataInput AWS API Documentation
12499
+ #
12500
+ class QuerySchemaVersionMetadataInput < Struct.new(
12501
+ :schema_id,
12502
+ :schema_version_number,
12503
+ :schema_version_id,
12504
+ :metadata_list,
12505
+ :max_results,
12506
+ :next_token)
12507
+ SENSITIVE = []
12508
+ include Aws::Structure
12509
+ end
12510
+
12511
+ # @!attribute [rw] metadata_info_map
12512
+ # A map of a metadata key and associated values.
12513
+ # @return [Hash<String,Types::MetadataInfo>]
12514
+ #
12515
+ # @!attribute [rw] schema_version_id
12516
+ # The unique version ID of the schema version.
12517
+ # @return [String]
12518
+ #
12519
+ # @!attribute [rw] next_token
12520
+ # A continuation token for paginating the returned list of tokens,
12521
+ # returned if the current segment of the list is not the last.
12522
+ # @return [String]
12523
+ #
12524
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/QuerySchemaVersionMetadataResponse AWS API Documentation
12525
+ #
12526
+ class QuerySchemaVersionMetadataResponse < Struct.new(
12527
+ :metadata_info_map,
12528
+ :schema_version_id,
12529
+ :next_token)
12530
+ SENSITIVE = []
12531
+ include Aws::Structure
12532
+ end
12533
+
12534
+ # When crawling an Amazon S3 data source after the first crawl is
12535
+ # complete, specifies whether to crawl the entire dataset again or to
12536
+ # crawl only folders that were added since the last crawler run. For
12537
+ # more information, see [Incremental Crawls in AWS Glue][1] in the
12538
+ # developer guide.
12539
+ #
12540
+ #
12541
+ #
12542
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/incremental-crawls.html
12543
+ #
12544
+ # @note When making an API call, you may pass RecrawlPolicy
12545
+ # data as a hash:
12546
+ #
12547
+ # {
12548
+ # recrawl_behavior: "CRAWL_EVERYTHING", # accepts CRAWL_EVERYTHING, CRAWL_NEW_FOLDERS_ONLY
12549
+ # }
12550
+ #
12551
+ # @!attribute [rw] recrawl_behavior
12552
+ # Specifies whether to crawl the entire dataset again or to crawl only
12553
+ # folders that were added since the last crawler run.
12554
+ #
12555
+ # A value of `CRAWL_EVERYTHING` specifies crawling the entire dataset
12556
+ # again.
12557
+ #
12558
+ # A value of `CRAWL_NEW_FOLDERS_ONLY` specifies crawling only folders
12559
+ # that were added since the last crawler run.
12560
+ # @return [String]
12561
+ #
12562
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RecrawlPolicy AWS API Documentation
12563
+ #
12564
+ class RecrawlPolicy < Struct.new(
12565
+ :recrawl_behavior)
12566
+ SENSITIVE = []
12567
+ include Aws::Structure
12568
+ end
12569
+
12570
+ # @note When making an API call, you may pass RegisterSchemaVersionInput
12571
+ # data as a hash:
12572
+ #
12573
+ # {
12574
+ # schema_id: { # required
12575
+ # schema_arn: "GlueResourceArn",
12576
+ # schema_name: "SchemaRegistryNameString",
12577
+ # registry_name: "SchemaRegistryNameString",
12578
+ # },
12579
+ # schema_definition: "SchemaDefinitionString", # required
12580
+ # }
12581
+ #
12582
+ # @!attribute [rw] schema_id
12583
+ # This is a wrapper structure to contain schema identity fields. The
12584
+ # structure contains:
12585
+ #
12586
+ # * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema.
12587
+ # Either `SchemaArn` or `SchemaName` and `RegistryName` has to be
12588
+ # provided.
12589
+ #
12590
+ # * SchemaId$SchemaName: The name of the schema. Either `SchemaArn` or
12591
+ # `SchemaName` and `RegistryName` has to be provided.
12592
+ # @return [Types::SchemaId]
12593
+ #
12594
+ # @!attribute [rw] schema_definition
12595
+ # The schema definition using the `DataFormat` setting for the
12596
+ # `SchemaName`.
12597
+ # @return [String]
12598
+ #
12599
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RegisterSchemaVersionInput AWS API Documentation
12600
+ #
12601
+ class RegisterSchemaVersionInput < Struct.new(
12602
+ :schema_id,
12603
+ :schema_definition)
12604
+ SENSITIVE = []
12605
+ include Aws::Structure
12606
+ end
12607
+
12608
+ # @!attribute [rw] schema_version_id
12609
+ # The unique ID that represents the version of this schema.
12610
+ # @return [String]
12611
+ #
12612
+ # @!attribute [rw] version_number
12613
+ # The version of this schema (for sync flow only, in case this is the
12614
+ # first version).
12615
+ # @return [Integer]
12616
+ #
12617
+ # @!attribute [rw] status
12618
+ # The status of the schema version.
12619
+ # @return [String]
12620
+ #
12621
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RegisterSchemaVersionResponse AWS API Documentation
12622
+ #
12623
+ class RegisterSchemaVersionResponse < Struct.new(
12624
+ :schema_version_id,
12625
+ :version_number,
12626
+ :status)
12627
+ SENSITIVE = []
12628
+ include Aws::Structure
12629
+ end
12630
+
12631
+ # A wrapper structure that may contain the registry name and Amazon
12632
+ # Resource Name (ARN).
12633
+ #
12634
+ # @note When making an API call, you may pass RegistryId
12635
+ # data as a hash:
12636
+ #
12637
+ # {
12638
+ # registry_name: "SchemaRegistryNameString",
12639
+ # registry_arn: "GlueResourceArn",
12640
+ # }
12641
+ #
12642
+ # @!attribute [rw] registry_name
12643
+ # Name of the registry. Used only for lookup. One of `RegistryArn` or
12644
+ # `RegistryName` has to be provided.
12645
+ # @return [String]
12646
+ #
12647
+ # @!attribute [rw] registry_arn
12648
+ # Arn of the registry to be updated. One of `RegistryArn` or
12649
+ # `RegistryName` has to be provided.
12650
+ # @return [String]
12651
+ #
12652
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RegistryId AWS API Documentation
12653
+ #
12654
+ class RegistryId < Struct.new(
12655
+ :registry_name,
12656
+ :registry_arn)
12657
+ SENSITIVE = []
12658
+ include Aws::Structure
12659
+ end
12660
+
12661
+ # A structure containing the details for a registry.
12662
+ #
12663
+ # @!attribute [rw] registry_name
12664
+ # The name of the registry.
12665
+ # @return [String]
12666
+ #
12667
+ # @!attribute [rw] registry_arn
12668
+ # The Amazon Resource Name (ARN) of the registry.
12669
+ # @return [String]
10918
12670
  #
10919
- class PutResourcePolicyResponse < Struct.new(
10920
- :policy_hash)
12671
+ # @!attribute [rw] description
12672
+ # A description of the registry.
12673
+ # @return [String]
12674
+ #
12675
+ # @!attribute [rw] status
12676
+ # The status of the registry.
12677
+ # @return [String]
12678
+ #
12679
+ # @!attribute [rw] created_time
12680
+ # The data the registry was created.
12681
+ # @return [String]
12682
+ #
12683
+ # @!attribute [rw] updated_time
12684
+ # The date the registry was updated.
12685
+ # @return [String]
12686
+ #
12687
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RegistryListItem AWS API Documentation
12688
+ #
12689
+ class RegistryListItem < Struct.new(
12690
+ :registry_name,
12691
+ :registry_arn,
12692
+ :description,
12693
+ :status,
12694
+ :created_time,
12695
+ :updated_time)
10921
12696
  SENSITIVE = []
10922
12697
  include Aws::Structure
10923
12698
  end
10924
12699
 
10925
- # @note When making an API call, you may pass PutWorkflowRunPropertiesRequest
12700
+ # @note When making an API call, you may pass RemoveSchemaVersionMetadataInput
10926
12701
  # data as a hash:
10927
12702
  #
10928
12703
  # {
10929
- # name: "NameString", # required
10930
- # run_id: "IdString", # required
10931
- # run_properties: { # required
10932
- # "IdString" => "GenericString",
12704
+ # schema_id: {
12705
+ # schema_arn: "GlueResourceArn",
12706
+ # schema_name: "SchemaRegistryNameString",
12707
+ # registry_name: "SchemaRegistryNameString",
12708
+ # },
12709
+ # schema_version_number: {
12710
+ # latest_version: false,
12711
+ # version_number: 1,
12712
+ # },
12713
+ # schema_version_id: "SchemaVersionIdString",
12714
+ # metadata_key_value: { # required
12715
+ # metadata_key: "MetadataKeyString",
12716
+ # metadata_value: "MetadataValueString",
10933
12717
  # },
10934
12718
  # }
10935
12719
  #
10936
- # @!attribute [rw] name
10937
- # Name of the workflow which was run.
10938
- # @return [String]
12720
+ # @!attribute [rw] schema_id
12721
+ # A wrapper structure that may contain the schema name and Amazon
12722
+ # Resource Name (ARN).
12723
+ # @return [Types::SchemaId]
10939
12724
  #
10940
- # @!attribute [rw] run_id
10941
- # The ID of the workflow run for which the run properties should be
10942
- # updated.
12725
+ # @!attribute [rw] schema_version_number
12726
+ # The version number of the schema.
12727
+ # @return [Types::SchemaVersionNumber]
12728
+ #
12729
+ # @!attribute [rw] schema_version_id
12730
+ # The unique version ID of the schema version.
10943
12731
  # @return [String]
10944
12732
  #
10945
- # @!attribute [rw] run_properties
10946
- # The properties to put for the specified run.
10947
- # @return [Hash<String,String>]
12733
+ # @!attribute [rw] metadata_key_value
12734
+ # The value of the metadata key.
12735
+ # @return [Types::MetadataKeyValuePair]
10948
12736
  #
10949
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutWorkflowRunPropertiesRequest AWS API Documentation
12737
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RemoveSchemaVersionMetadataInput AWS API Documentation
10950
12738
  #
10951
- class PutWorkflowRunPropertiesRequest < Struct.new(
10952
- :name,
10953
- :run_id,
10954
- :run_properties)
12739
+ class RemoveSchemaVersionMetadataInput < Struct.new(
12740
+ :schema_id,
12741
+ :schema_version_number,
12742
+ :schema_version_id,
12743
+ :metadata_key_value)
10955
12744
  SENSITIVE = []
10956
12745
  include Aws::Structure
10957
12746
  end
10958
12747
 
10959
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutWorkflowRunPropertiesResponse AWS API Documentation
10960
- #
10961
- class PutWorkflowRunPropertiesResponse < Aws::EmptyStructure; end
10962
-
10963
- # When crawling an Amazon S3 data source after the first crawl is
10964
- # complete, specifies whether to crawl the entire dataset again or to
10965
- # crawl only folders that were added since the last crawler run. For
10966
- # more information, see [Incremental Crawls in AWS Glue][1] in the
10967
- # developer guide.
10968
- #
12748
+ # @!attribute [rw] schema_arn
12749
+ # The Amazon Resource Name (ARN) of the schema.
12750
+ # @return [String]
10969
12751
  #
12752
+ # @!attribute [rw] schema_name
12753
+ # The name of the schema.
12754
+ # @return [String]
10970
12755
  #
10971
- # [1]: https://docs.aws.amazon.com/glue/latest/dg/incremental-crawls.html
12756
+ # @!attribute [rw] registry_name
12757
+ # The name of the registry.
12758
+ # @return [String]
10972
12759
  #
10973
- # @note When making an API call, you may pass RecrawlPolicy
10974
- # data as a hash:
12760
+ # @!attribute [rw] latest_version
12761
+ # The latest version of the schema.
12762
+ # @return [Boolean]
10975
12763
  #
10976
- # {
10977
- # recrawl_behavior: "CRAWL_EVERYTHING", # accepts CRAWL_EVERYTHING, CRAWL_NEW_FOLDERS_ONLY
10978
- # }
12764
+ # @!attribute [rw] version_number
12765
+ # The version number of the schema.
12766
+ # @return [Integer]
10979
12767
  #
10980
- # @!attribute [rw] recrawl_behavior
10981
- # Specifies whether to crawl the entire dataset again or to crawl only
10982
- # folders that were added since the last crawler run.
12768
+ # @!attribute [rw] schema_version_id
12769
+ # The version ID for the schema version.
12770
+ # @return [String]
10983
12771
  #
10984
- # A value of `CRAWL_EVERYTHING` specifies crawling the entire dataset
10985
- # again.
12772
+ # @!attribute [rw] metadata_key
12773
+ # The metadata key.
12774
+ # @return [String]
10986
12775
  #
10987
- # A value of `CRAWL_NEW_FOLDERS_ONLY` specifies crawling only folders
10988
- # that were added since the last crawler run.
12776
+ # @!attribute [rw] metadata_value
12777
+ # The value of the metadata key.
10989
12778
  # @return [String]
10990
12779
  #
10991
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RecrawlPolicy AWS API Documentation
12780
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RemoveSchemaVersionMetadataResponse AWS API Documentation
10992
12781
  #
10993
- class RecrawlPolicy < Struct.new(
10994
- :recrawl_behavior)
12782
+ class RemoveSchemaVersionMetadataResponse < Struct.new(
12783
+ :schema_arn,
12784
+ :schema_name,
12785
+ :registry_name,
12786
+ :latest_version,
12787
+ :version_number,
12788
+ :schema_version_id,
12789
+ :metadata_key,
12790
+ :metadata_value)
10995
12791
  SENSITIVE = []
10996
12792
  include Aws::Structure
10997
12793
  end
@@ -11317,6 +13113,206 @@ module Aws::Glue
11317
13113
  include Aws::Structure
11318
13114
  end
11319
13115
 
13116
+ # The unique ID of the schema in the AWS Glue schema registry.
13117
+ #
13118
+ # @note When making an API call, you may pass SchemaId
13119
+ # data as a hash:
13120
+ #
13121
+ # {
13122
+ # schema_arn: "GlueResourceArn",
13123
+ # schema_name: "SchemaRegistryNameString",
13124
+ # registry_name: "SchemaRegistryNameString",
13125
+ # }
13126
+ #
13127
+ # @!attribute [rw] schema_arn
13128
+ # The Amazon Resource Name (ARN) of the schema. One of `SchemaArn` or
13129
+ # `SchemaName` has to be provided.
13130
+ # @return [String]
13131
+ #
13132
+ # @!attribute [rw] schema_name
13133
+ # The name of the schema. One of `SchemaArn` or `SchemaName` has to be
13134
+ # provided.
13135
+ # @return [String]
13136
+ #
13137
+ # @!attribute [rw] registry_name
13138
+ # The name of the schema registry that contains the schema.
13139
+ # @return [String]
13140
+ #
13141
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SchemaId AWS API Documentation
13142
+ #
13143
+ class SchemaId < Struct.new(
13144
+ :schema_arn,
13145
+ :schema_name,
13146
+ :registry_name)
13147
+ SENSITIVE = []
13148
+ include Aws::Structure
13149
+ end
13150
+
13151
+ # An object that contains minimal details for a schema.
13152
+ #
13153
+ # @!attribute [rw] registry_name
13154
+ # the name of the registry where the schema resides.
13155
+ # @return [String]
13156
+ #
13157
+ # @!attribute [rw] schema_name
13158
+ # The name of the schema.
13159
+ # @return [String]
13160
+ #
13161
+ # @!attribute [rw] schema_arn
13162
+ # The Amazon Resource Name (ARN) for the schema.
13163
+ # @return [String]
13164
+ #
13165
+ # @!attribute [rw] description
13166
+ # A description for the schema.
13167
+ # @return [String]
13168
+ #
13169
+ # @!attribute [rw] schema_status
13170
+ # The status of the schema.
13171
+ # @return [String]
13172
+ #
13173
+ # @!attribute [rw] created_time
13174
+ # The date and time that a schema was created.
13175
+ # @return [String]
13176
+ #
13177
+ # @!attribute [rw] updated_time
13178
+ # The date and time that a schema was updated.
13179
+ # @return [String]
13180
+ #
13181
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SchemaListItem AWS API Documentation
13182
+ #
13183
+ class SchemaListItem < Struct.new(
13184
+ :registry_name,
13185
+ :schema_name,
13186
+ :schema_arn,
13187
+ :description,
13188
+ :schema_status,
13189
+ :created_time,
13190
+ :updated_time)
13191
+ SENSITIVE = []
13192
+ include Aws::Structure
13193
+ end
13194
+
13195
+ # An object that references a schema stored in the AWS Glue Schema
13196
+ # Registry.
13197
+ #
13198
+ # @note When making an API call, you may pass SchemaReference
13199
+ # data as a hash:
13200
+ #
13201
+ # {
13202
+ # schema_id: {
13203
+ # schema_arn: "GlueResourceArn",
13204
+ # schema_name: "SchemaRegistryNameString",
13205
+ # registry_name: "SchemaRegistryNameString",
13206
+ # },
13207
+ # schema_version_id: "SchemaVersionIdString",
13208
+ # schema_version_number: 1,
13209
+ # }
13210
+ #
13211
+ # @!attribute [rw] schema_id
13212
+ # A structure that contains schema identity fields. Either this or the
13213
+ # `SchemaVersionId` has to be provided.
13214
+ # @return [Types::SchemaId]
13215
+ #
13216
+ # @!attribute [rw] schema_version_id
13217
+ # The unique ID assigned to a version of the schema. Either this or
13218
+ # the `SchemaId` has to be provided.
13219
+ # @return [String]
13220
+ #
13221
+ # @!attribute [rw] schema_version_number
13222
+ # The version number of the schema.
13223
+ # @return [Integer]
13224
+ #
13225
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SchemaReference AWS API Documentation
13226
+ #
13227
+ class SchemaReference < Struct.new(
13228
+ :schema_id,
13229
+ :schema_version_id,
13230
+ :schema_version_number)
13231
+ SENSITIVE = []
13232
+ include Aws::Structure
13233
+ end
13234
+
13235
+ # An object that contains the error details for an operation on a schema
13236
+ # version.
13237
+ #
13238
+ # @!attribute [rw] version_number
13239
+ # The version number of the schema.
13240
+ # @return [Integer]
13241
+ #
13242
+ # @!attribute [rw] error_details
13243
+ # The details of the error for the schema version.
13244
+ # @return [Types::ErrorDetails]
13245
+ #
13246
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SchemaVersionErrorItem AWS API Documentation
13247
+ #
13248
+ class SchemaVersionErrorItem < Struct.new(
13249
+ :version_number,
13250
+ :error_details)
13251
+ SENSITIVE = []
13252
+ include Aws::Structure
13253
+ end
13254
+
13255
+ # An object containing the details about a schema version.
13256
+ #
13257
+ # @!attribute [rw] schema_arn
13258
+ # The Amazon Resource Name (ARN) of the schema.
13259
+ # @return [String]
13260
+ #
13261
+ # @!attribute [rw] schema_version_id
13262
+ # The unique identifier of the schema version.
13263
+ # @return [String]
13264
+ #
13265
+ # @!attribute [rw] version_number
13266
+ # The version number of the schema.
13267
+ # @return [Integer]
13268
+ #
13269
+ # @!attribute [rw] status
13270
+ # The status of the schema version.
13271
+ # @return [String]
13272
+ #
13273
+ # @!attribute [rw] created_time
13274
+ # The date and time the schema version was created.
13275
+ # @return [String]
13276
+ #
13277
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SchemaVersionListItem AWS API Documentation
13278
+ #
13279
+ class SchemaVersionListItem < Struct.new(
13280
+ :schema_arn,
13281
+ :schema_version_id,
13282
+ :version_number,
13283
+ :status,
13284
+ :created_time)
13285
+ SENSITIVE = []
13286
+ include Aws::Structure
13287
+ end
13288
+
13289
+ # A structure containing the schema version information.
13290
+ #
13291
+ # @note When making an API call, you may pass SchemaVersionNumber
13292
+ # data as a hash:
13293
+ #
13294
+ # {
13295
+ # latest_version: false,
13296
+ # version_number: 1,
13297
+ # }
13298
+ #
13299
+ # @!attribute [rw] latest_version
13300
+ # The latest version available for the schema.
13301
+ # @return [Boolean]
13302
+ #
13303
+ # @!attribute [rw] version_number
13304
+ # The version number of the schema.
13305
+ # @return [Integer]
13306
+ #
13307
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SchemaVersionNumber AWS API Documentation
13308
+ #
13309
+ class SchemaVersionNumber < Struct.new(
13310
+ :latest_version,
13311
+ :version_number)
13312
+ SENSITIVE = []
13313
+ include Aws::Structure
13314
+ end
13315
+
11320
13316
  # @note When making an API call, you may pass SearchTablesRequest
11321
13317
  # data as a hash:
11322
13318
  #
@@ -12149,6 +14145,15 @@ module Aws::Glue
12149
14145
  # },
12150
14146
  # },
12151
14147
  # stored_as_sub_directories: false,
14148
+ # schema_reference: {
14149
+ # schema_id: {
14150
+ # schema_arn: "GlueResourceArn",
14151
+ # schema_name: "SchemaRegistryNameString",
14152
+ # registry_name: "SchemaRegistryNameString",
14153
+ # },
14154
+ # schema_version_id: "SchemaVersionIdString",
14155
+ # schema_version_number: 1,
14156
+ # },
12152
14157
  # }
12153
14158
  #
12154
14159
  # @!attribute [rw] columns
@@ -12206,6 +14211,14 @@ module Aws::Glue
12206
14211
  # not.
12207
14212
  # @return [Boolean]
12208
14213
  #
14214
+ # @!attribute [rw] schema_reference
14215
+ # An object that references a schema stored in the AWS Glue Schema
14216
+ # Registry.
14217
+ #
14218
+ # When creating a table, you can pass an empty list of columns for the
14219
+ # schema, and instead use a schema reference.
14220
+ # @return [Types::SchemaReference]
14221
+ #
12209
14222
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StorageDescriptor AWS API Documentation
12210
14223
  #
12211
14224
  class StorageDescriptor < Struct.new(
@@ -12220,12 +14233,14 @@ module Aws::Glue
12220
14233
  :sort_columns,
12221
14234
  :parameters,
12222
14235
  :skewed_info,
12223
- :stored_as_sub_directories)
14236
+ :stored_as_sub_directories,
14237
+ :schema_reference)
12224
14238
  SENSITIVE = []
12225
14239
  include Aws::Structure
12226
14240
  end
12227
14241
 
12228
- # Defines a string column statistics data.
14242
+ # Defines column statistics supported for character sequence data
14243
+ # values.
12229
14244
  #
12230
14245
  # @note When making an API call, you may pass StringColumnStatisticsData
12231
14246
  # data as a hash:
@@ -12238,19 +14253,19 @@ module Aws::Glue
12238
14253
  # }
12239
14254
  #
12240
14255
  # @!attribute [rw] maximum_length
12241
- # Maximum value of the column.
14256
+ # The size of the longest string in the column.
12242
14257
  # @return [Integer]
12243
14258
  #
12244
14259
  # @!attribute [rw] average_length
12245
- # Average value of the column.
14260
+ # The average string length in the column.
12246
14261
  # @return [Float]
12247
14262
  #
12248
14263
  # @!attribute [rw] number_of_nulls
12249
- # Number of nulls.
14264
+ # The number of null values in the column.
12250
14265
  # @return [Integer]
12251
14266
  #
12252
14267
  # @!attribute [rw] number_of_distinct_values
12253
- # Number of distinct values.
14268
+ # The number of distinct values in a column.
12254
14269
  # @return [Integer]
12255
14270
  #
12256
14271
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StringColumnStatisticsData AWS API Documentation
@@ -12489,6 +14504,15 @@ module Aws::Glue
12489
14504
  # },
12490
14505
  # },
12491
14506
  # stored_as_sub_directories: false,
14507
+ # schema_reference: {
14508
+ # schema_id: {
14509
+ # schema_arn: "GlueResourceArn",
14510
+ # schema_name: "SchemaRegistryNameString",
14511
+ # registry_name: "SchemaRegistryNameString",
14512
+ # },
14513
+ # schema_version_id: "SchemaVersionIdString",
14514
+ # schema_version_number: 1,
14515
+ # },
12492
14516
  # },
12493
14517
  # partition_keys: [
12494
14518
  # {
@@ -12846,6 +14870,42 @@ module Aws::Glue
12846
14870
  include Aws::Structure
12847
14871
  end
12848
14872
 
14873
+ # The encryption-at-rest settings of the transform that apply to
14874
+ # accessing user data. Machine learning transforms can access user data
14875
+ # encrypted in Amazon S3 using KMS.
14876
+ #
14877
+ # Additionally, imported labels and trained transforms can now be
14878
+ # encrypted using a customer provided KMS key.
14879
+ #
14880
+ # @note When making an API call, you may pass TransformEncryption
14881
+ # data as a hash:
14882
+ #
14883
+ # {
14884
+ # ml_user_data_encryption: {
14885
+ # ml_user_data_encryption_mode: "DISABLED", # required, accepts DISABLED, SSE-KMS
14886
+ # kms_key_id: "NameString",
14887
+ # },
14888
+ # task_run_security_configuration_name: "NameString",
14889
+ # }
14890
+ #
14891
+ # @!attribute [rw] ml_user_data_encryption
14892
+ # An `MLUserDataEncryption` object containing the encryption mode and
14893
+ # customer-provided KMS key ID.
14894
+ # @return [Types::MLUserDataEncryption]
14895
+ #
14896
+ # @!attribute [rw] task_run_security_configuration_name
14897
+ # The name of the security configuration.
14898
+ # @return [String]
14899
+ #
14900
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TransformEncryption AWS API Documentation
14901
+ #
14902
+ class TransformEncryption < Struct.new(
14903
+ :ml_user_data_encryption,
14904
+ :task_run_security_configuration_name)
14905
+ SENSITIVE = []
14906
+ include Aws::Structure
14907
+ end
14908
+
12849
14909
  # The criteria used to filter the machine learning transforms.
12850
14910
  #
12851
14911
  # @note When making an API call, you may pass TransformFilterCriteria
@@ -12960,7 +15020,7 @@ module Aws::Glue
12960
15020
  #
12961
15021
  #
12962
15022
  #
12963
- # [1]: http://docs.aws.amazon.com/glue/latest/dg/add-job-machine-learning-transform.html
15023
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/add-job-machine-learning-transform.html
12964
15024
  # @return [String]
12965
15025
  #
12966
15026
  # @!attribute [rw] find_matches_parameters
@@ -13473,7 +15533,7 @@ module Aws::Glue
13473
15533
  # connection_input: { # required
13474
15534
  # name: "NameString", # required
13475
15535
  # description: "DescriptionString",
13476
- # connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
15536
+ # connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK, MARKETPLACE, CUSTOM
13477
15537
  # match_criteria: ["NameString"],
13478
15538
  # connection_properties: { # required
13479
15539
  # "HOST" => "ValueString",
@@ -13568,6 +15628,9 @@ module Aws::Glue
13568
15628
  # recrawl_policy: {
13569
15629
  # recrawl_behavior: "CRAWL_EVERYTHING", # accepts CRAWL_EVERYTHING, CRAWL_NEW_FOLDERS_ONLY
13570
15630
  # },
15631
+ # lineage_configuration: {
15632
+ # crawler_lineage_settings: "ENABLE", # accepts ENABLE, DISABLE
15633
+ # },
13571
15634
  # configuration: "CrawlerConfiguration",
13572
15635
  # crawler_security_configuration: "CrawlerSecurityConfiguration",
13573
15636
  # }
@@ -13624,6 +15687,10 @@ module Aws::Glue
13624
15687
  # or to crawl only folders that were added since the last crawler run.
13625
15688
  # @return [Types::RecrawlPolicy]
13626
15689
  #
15690
+ # @!attribute [rw] lineage_configuration
15691
+ # Specifies data lineage configuration settings for the crawler.
15692
+ # @return [Types::LineageConfiguration]
15693
+ #
13627
15694
  # @!attribute [rw] configuration
13628
15695
  # Crawler configuration information. This versioned JSON string allows
13629
15696
  # users to specify aspects of a crawler's behavior. For more
@@ -13652,6 +15719,7 @@ module Aws::Glue
13652
15719
  :table_prefix,
13653
15720
  :schema_change_policy,
13654
15721
  :recrawl_policy,
15722
+ :lineage_configuration,
13655
15723
  :configuration,
13656
15724
  :crawler_security_configuration)
13657
15725
  SENSITIVE = []
@@ -14233,6 +16301,15 @@ module Aws::Glue
14233
16301
  # },
14234
16302
  # },
14235
16303
  # stored_as_sub_directories: false,
16304
+ # schema_reference: {
16305
+ # schema_id: {
16306
+ # schema_arn: "GlueResourceArn",
16307
+ # schema_name: "SchemaRegistryNameString",
16308
+ # registry_name: "SchemaRegistryNameString",
16309
+ # },
16310
+ # schema_version_id: "SchemaVersionIdString",
16311
+ # schema_version_number: 1,
16312
+ # },
14236
16313
  # },
14237
16314
  # parameters: {
14238
16315
  # "KeyString" => "ParametersMapValue",
@@ -14284,6 +16361,127 @@ module Aws::Glue
14284
16361
  #
14285
16362
  class UpdatePartitionResponse < Aws::EmptyStructure; end
14286
16363
 
16364
+ # @note When making an API call, you may pass UpdateRegistryInput
16365
+ # data as a hash:
16366
+ #
16367
+ # {
16368
+ # registry_id: { # required
16369
+ # registry_name: "SchemaRegistryNameString",
16370
+ # registry_arn: "GlueResourceArn",
16371
+ # },
16372
+ # description: "DescriptionString", # required
16373
+ # }
16374
+ #
16375
+ # @!attribute [rw] registry_id
16376
+ # This is a wrapper structure that may contain the registry name and
16377
+ # Amazon Resource Name (ARN).
16378
+ # @return [Types::RegistryId]
16379
+ #
16380
+ # @!attribute [rw] description
16381
+ # A description of the registry. If description is not provided, this
16382
+ # field will not be updated.
16383
+ # @return [String]
16384
+ #
16385
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateRegistryInput AWS API Documentation
16386
+ #
16387
+ class UpdateRegistryInput < Struct.new(
16388
+ :registry_id,
16389
+ :description)
16390
+ SENSITIVE = []
16391
+ include Aws::Structure
16392
+ end
16393
+
16394
+ # @!attribute [rw] registry_name
16395
+ # The name of the updated registry.
16396
+ # @return [String]
16397
+ #
16398
+ # @!attribute [rw] registry_arn
16399
+ # The Amazon Resource name (ARN) of the updated registry.
16400
+ # @return [String]
16401
+ #
16402
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateRegistryResponse AWS API Documentation
16403
+ #
16404
+ class UpdateRegistryResponse < Struct.new(
16405
+ :registry_name,
16406
+ :registry_arn)
16407
+ SENSITIVE = []
16408
+ include Aws::Structure
16409
+ end
16410
+
16411
+ # @note When making an API call, you may pass UpdateSchemaInput
16412
+ # data as a hash:
16413
+ #
16414
+ # {
16415
+ # schema_id: { # required
16416
+ # schema_arn: "GlueResourceArn",
16417
+ # schema_name: "SchemaRegistryNameString",
16418
+ # registry_name: "SchemaRegistryNameString",
16419
+ # },
16420
+ # schema_version_number: {
16421
+ # latest_version: false,
16422
+ # version_number: 1,
16423
+ # },
16424
+ # compatibility: "NONE", # accepts NONE, DISABLED, BACKWARD, BACKWARD_ALL, FORWARD, FORWARD_ALL, FULL, FULL_ALL
16425
+ # description: "DescriptionString",
16426
+ # }
16427
+ #
16428
+ # @!attribute [rw] schema_id
16429
+ # This is a wrapper structure to contain schema identity fields. The
16430
+ # structure contains:
16431
+ #
16432
+ # * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema.
16433
+ # One of `SchemaArn` or `SchemaName` has to be provided.
16434
+ #
16435
+ # * SchemaId$SchemaName: The name of the schema. One of `SchemaArn` or
16436
+ # `SchemaName` has to be provided.
16437
+ # @return [Types::SchemaId]
16438
+ #
16439
+ # @!attribute [rw] schema_version_number
16440
+ # Version number required for check pointing. One of `VersionNumber`
16441
+ # or `Compatibility` has to be provided.
16442
+ # @return [Types::SchemaVersionNumber]
16443
+ #
16444
+ # @!attribute [rw] compatibility
16445
+ # The new compatibility setting for the schema.
16446
+ # @return [String]
16447
+ #
16448
+ # @!attribute [rw] description
16449
+ # The new description for the schema.
16450
+ # @return [String]
16451
+ #
16452
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateSchemaInput AWS API Documentation
16453
+ #
16454
+ class UpdateSchemaInput < Struct.new(
16455
+ :schema_id,
16456
+ :schema_version_number,
16457
+ :compatibility,
16458
+ :description)
16459
+ SENSITIVE = []
16460
+ include Aws::Structure
16461
+ end
16462
+
16463
+ # @!attribute [rw] schema_arn
16464
+ # The Amazon Resource Name (ARN) of the schema.
16465
+ # @return [String]
16466
+ #
16467
+ # @!attribute [rw] schema_name
16468
+ # The name of the schema.
16469
+ # @return [String]
16470
+ #
16471
+ # @!attribute [rw] registry_name
16472
+ # The name of the registry that contains the schema.
16473
+ # @return [String]
16474
+ #
16475
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateSchemaResponse AWS API Documentation
16476
+ #
16477
+ class UpdateSchemaResponse < Struct.new(
16478
+ :schema_arn,
16479
+ :schema_name,
16480
+ :registry_name)
16481
+ SENSITIVE = []
16482
+ include Aws::Structure
16483
+ end
16484
+
14287
16485
  # @note When making an API call, you may pass UpdateTableRequest
14288
16486
  # data as a hash:
14289
16487
  #
@@ -14338,6 +16536,15 @@ module Aws::Glue
14338
16536
  # },
14339
16537
  # },
14340
16538
  # stored_as_sub_directories: false,
16539
+ # schema_reference: {
16540
+ # schema_id: {
16541
+ # schema_arn: "GlueResourceArn",
16542
+ # schema_name: "SchemaRegistryNameString",
16543
+ # registry_name: "SchemaRegistryNameString",
16544
+ # },
16545
+ # schema_version_id: "SchemaVersionIdString",
16546
+ # schema_version_number: 1,
16547
+ # },
14341
16548
  # },
14342
16549
  # partition_keys: [
14343
16550
  # {