aws-sdk-glue 1.77.0 → 1.82.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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,32 @@ module Aws::Glue
1397
1506
  include Aws::Structure
1398
1507
  end
1399
1508
 
1400
- # Defines a column statistics.
1509
+ # A structure containing the column name and column importance score for
1510
+ # a column.
1511
+ #
1512
+ # Column importance helps you understand how columns contribute to your
1513
+ # model, by identifying which columns in your records are more important
1514
+ # than others.
1515
+ #
1516
+ # @!attribute [rw] column_name
1517
+ # The name of a column.
1518
+ # @return [String]
1519
+ #
1520
+ # @!attribute [rw] importance
1521
+ # The column importance score for the column, as a decimal.
1522
+ # @return [Float]
1523
+ #
1524
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ColumnImportance AWS API Documentation
1525
+ #
1526
+ class ColumnImportance < Struct.new(
1527
+ :column_name,
1528
+ :importance)
1529
+ SENSITIVE = []
1530
+ include Aws::Structure
1531
+ end
1532
+
1533
+ # Represents the generated column-level statistics for a table or
1534
+ # partition.
1401
1535
  #
1402
1536
  # @note When making an API call, you may pass ColumnStatistics
1403
1537
  # data as a hash:
@@ -1458,19 +1592,20 @@ module Aws::Glue
1458
1592
  # }
1459
1593
  #
1460
1594
  # @!attribute [rw] column_name
1461
- # The name of the column.
1595
+ # Name of column which statistics belong to.
1462
1596
  # @return [String]
1463
1597
  #
1464
1598
  # @!attribute [rw] column_type
1465
- # The type of the column.
1599
+ # The data type of the column.
1466
1600
  # @return [String]
1467
1601
  #
1468
1602
  # @!attribute [rw] analyzed_time
1469
- # The analyzed time of the column statistics.
1603
+ # The timestamp of when column statistics were generated.
1470
1604
  # @return [Time]
1471
1605
  #
1472
1606
  # @!attribute [rw] statistics_data
1473
- # The statistics of the column.
1607
+ # A `ColumnStatisticData` object that contains the statistics data
1608
+ # values.
1474
1609
  # @return [Types::ColumnStatisticsData]
1475
1610
  #
1476
1611
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ColumnStatistics AWS API Documentation
@@ -1484,7 +1619,8 @@ module Aws::Glue
1484
1619
  include Aws::Structure
1485
1620
  end
1486
1621
 
1487
- # Defines a column statistics data.
1622
+ # Contains the individual types of column statistics data. Only one data
1623
+ # object should be set and indicated by the `Type` attribute.
1488
1624
  #
1489
1625
  # @note When making an API call, you may pass ColumnStatisticsData
1490
1626
  # data as a hash:
@@ -1540,35 +1676,35 @@ module Aws::Glue
1540
1676
  # }
1541
1677
  #
1542
1678
  # @!attribute [rw] type
1543
- # The name of the column.
1679
+ # The type of column statistics data.
1544
1680
  # @return [String]
1545
1681
  #
1546
1682
  # @!attribute [rw] boolean_column_statistics_data
1547
- # Boolean Column Statistics Data.
1683
+ # Boolean column statistics data.
1548
1684
  # @return [Types::BooleanColumnStatisticsData]
1549
1685
  #
1550
1686
  # @!attribute [rw] date_column_statistics_data
1551
- # Date Column Statistics Data.
1687
+ # Date column statistics data.
1552
1688
  # @return [Types::DateColumnStatisticsData]
1553
1689
  #
1554
1690
  # @!attribute [rw] decimal_column_statistics_data
1555
- # Decimal Column Statistics Data.
1691
+ # Decimal column statistics data.
1556
1692
  # @return [Types::DecimalColumnStatisticsData]
1557
1693
  #
1558
1694
  # @!attribute [rw] double_column_statistics_data
1559
- # Double Column Statistics Data.
1695
+ # Double column statistics data.
1560
1696
  # @return [Types::DoubleColumnStatisticsData]
1561
1697
  #
1562
1698
  # @!attribute [rw] long_column_statistics_data
1563
- # Long Column Statistics Data.
1699
+ # Long column statistics data.
1564
1700
  # @return [Types::LongColumnStatisticsData]
1565
1701
  #
1566
1702
  # @!attribute [rw] string_column_statistics_data
1567
- # String Column Statistics Data.
1703
+ # String column statistics data.
1568
1704
  # @return [Types::StringColumnStatisticsData]
1569
1705
  #
1570
1706
  # @!attribute [rw] binary_column_statistics_data
1571
- # Binary Column Statistics Data.
1707
+ # Binary column statistics data.
1572
1708
  # @return [Types::BinaryColumnStatisticsData]
1573
1709
  #
1574
1710
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ColumnStatisticsData AWS API Documentation
@@ -1586,14 +1722,15 @@ module Aws::Glue
1586
1722
  include Aws::Structure
1587
1723
  end
1588
1724
 
1589
- # Defines a column containing error.
1725
+ # Encapsulates a `ColumnStatistics` object that failed and the reason
1726
+ # for failure.
1590
1727
  #
1591
1728
  # @!attribute [rw] column_statistics
1592
- # The ColumnStatistics of the column.
1729
+ # The `ColumnStatistics` of the column.
1593
1730
  # @return [Types::ColumnStatistics]
1594
1731
  #
1595
1732
  # @!attribute [rw] error
1596
- # The error message occurred during operation.
1733
+ # An error message with the reason for the failure of an operation.
1597
1734
  # @return [Types::ErrorDetail]
1598
1735
  #
1599
1736
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ColumnStatisticsError AWS API Documentation
@@ -1850,6 +1987,18 @@ module Aws::Glue
1850
1987
  # validation of the CA cert file or not. AWS Glue validates for
1851
1988
  # three algorithms: SHA256withRSA, SHA384withRSA and SHA512withRSA.
1852
1989
  # Default value is "false".
1990
+ #
1991
+ # * `SECRET_ID` - The secret ID used for the secret manager of
1992
+ # credentials.
1993
+ #
1994
+ # * `CONNECTOR_URL` - The connector URL for a MARKETPLACE or CUSTOM
1995
+ # connection.
1996
+ #
1997
+ # * `CONNECTOR_TYPE` - The connector type for a MARKETPLACE or CUSTOM
1998
+ # connection.
1999
+ #
2000
+ # * `CONNECTOR_CLASS_NAME` - The connector class name for a
2001
+ # MARKETPLACE or CUSTOM connection.
1853
2002
  # @return [Hash<String,String>]
1854
2003
  #
1855
2004
  # @!attribute [rw] physical_connection_requirements
@@ -1895,7 +2044,7 @@ module Aws::Glue
1895
2044
  # {
1896
2045
  # name: "NameString", # required
1897
2046
  # description: "DescriptionString",
1898
- # connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
2047
+ # connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK, MARKETPLACE, CUSTOM
1899
2048
  # match_criteria: ["NameString"],
1900
2049
  # connection_properties: { # required
1901
2050
  # "HOST" => "ValueString",
@@ -1930,6 +2079,14 @@ module Aws::Glue
1930
2079
  # * `NETWORK` - Designates a network connection to a data source
1931
2080
  # within an Amazon Virtual Private Cloud environment (Amazon VPC).
1932
2081
  #
2082
+ # * `MARKETPLACE` - Uses configuration settings contained in a
2083
+ # connector purchased from AWS Marketplace to read from and write to
2084
+ # data stores that are not natively supported by AWS Glue.
2085
+ #
2086
+ # * `CUSTOM` - Uses configuration settings contained in a custom
2087
+ # connector to read from and write to data stores that are not
2088
+ # natively supported by AWS Glue.
2089
+ #
1933
2090
  # SFTP is not supported.
1934
2091
  # @return [String]
1935
2092
  #
@@ -2113,6 +2270,11 @@ module Aws::Glue
2113
2270
  # crawler.
2114
2271
  # @return [Types::SchemaChangePolicy]
2115
2272
  #
2273
+ # @!attribute [rw] lineage_configuration
2274
+ # A configuration that specifies whether data lineage is enabled for
2275
+ # the crawler.
2276
+ # @return [Types::LineageConfiguration]
2277
+ #
2116
2278
  # @!attribute [rw] state
2117
2279
  # Indicates whether the crawler is running, or whether a run is
2118
2280
  # pending.
@@ -2174,6 +2336,7 @@ module Aws::Glue
2174
2336
  :classifiers,
2175
2337
  :recrawl_policy,
2176
2338
  :schema_change_policy,
2339
+ :lineage_configuration,
2177
2340
  :state,
2178
2341
  :table_prefix,
2179
2342
  :schedule,
@@ -2438,7 +2601,7 @@ module Aws::Glue
2438
2601
  # connection_input: { # required
2439
2602
  # name: "NameString", # required
2440
2603
  # description: "DescriptionString",
2441
- # connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
2604
+ # connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK, MARKETPLACE, CUSTOM
2442
2605
  # match_criteria: ["NameString"],
2443
2606
  # connection_properties: { # required
2444
2607
  # "HOST" => "ValueString",
@@ -2527,6 +2690,9 @@ module Aws::Glue
2527
2690
  # recrawl_policy: {
2528
2691
  # recrawl_behavior: "CRAWL_EVERYTHING", # accepts CRAWL_EVERYTHING, CRAWL_NEW_FOLDERS_ONLY
2529
2692
  # },
2693
+ # lineage_configuration: {
2694
+ # crawler_lineage_settings: "ENABLE", # accepts ENABLE, DISABLE
2695
+ # },
2530
2696
  # configuration: "CrawlerConfiguration",
2531
2697
  # crawler_security_configuration: "CrawlerSecurityConfiguration",
2532
2698
  # tags: {
@@ -2586,6 +2752,10 @@ module Aws::Glue
2586
2752
  # or to crawl only folders that were added since the last crawler run.
2587
2753
  # @return [Types::RecrawlPolicy]
2588
2754
  #
2755
+ # @!attribute [rw] lineage_configuration
2756
+ # Specifies data lineage configuration settings for the crawler.
2757
+ # @return [Types::LineageConfiguration]
2758
+ #
2589
2759
  # @!attribute [rw] configuration
2590
2760
  # Crawler configuration information. This versioned JSON string allows
2591
2761
  # users to specify aspects of a crawler's behavior. For more
@@ -2624,6 +2794,7 @@ module Aws::Glue
2624
2794
  :table_prefix,
2625
2795
  :schema_change_policy,
2626
2796
  :recrawl_policy,
2797
+ :lineage_configuration,
2627
2798
  :configuration,
2628
2799
  :crawler_security_configuration,
2629
2800
  :tags)
@@ -3402,6 +3573,13 @@ module Aws::Glue
3402
3573
  # tags: {
3403
3574
  # "TagKey" => "TagValue",
3404
3575
  # },
3576
+ # transform_encryption: {
3577
+ # ml_user_data_encryption: {
3578
+ # ml_user_data_encryption_mode: "DISABLED", # required, accepts DISABLED, SSE-KMS
3579
+ # kms_key_id: "NameString",
3580
+ # },
3581
+ # task_run_security_configuration_name: "NameString",
3582
+ # },
3405
3583
  # }
3406
3584
  #
3407
3585
  # @!attribute [rw] name
@@ -3545,6 +3723,12 @@ module Aws::Glue
3545
3723
  # [1]: https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html
3546
3724
  # @return [Hash<String,String>]
3547
3725
  #
3726
+ # @!attribute [rw] transform_encryption
3727
+ # The encryption-at-rest settings of the transform that apply to
3728
+ # accessing user data. Machine learning transforms can access user
3729
+ # data encrypted in Amazon S3 using KMS.
3730
+ # @return [Types::TransformEncryption]
3731
+ #
3548
3732
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateMLTransformRequest AWS API Documentation
3549
3733
  #
3550
3734
  class CreateMLTransformRequest < Struct.new(
@@ -3559,7 +3743,8 @@ module Aws::Glue
3559
3743
  :number_of_workers,
3560
3744
  :timeout,
3561
3745
  :max_retries,
3562
- :tags)
3746
+ :tags,
3747
+ :transform_encryption)
3563
3748
  SENSITIVE = []
3564
3749
  include Aws::Structure
3565
3750
  end
@@ -3576,6 +3761,53 @@ module Aws::Glue
3576
3761
  include Aws::Structure
3577
3762
  end
3578
3763
 
3764
+ # @note When making an API call, you may pass CreatePartitionIndexRequest
3765
+ # data as a hash:
3766
+ #
3767
+ # {
3768
+ # catalog_id: "CatalogIdString",
3769
+ # database_name: "NameString", # required
3770
+ # table_name: "NameString", # required
3771
+ # partition_index: { # required
3772
+ # keys: ["NameString"], # required
3773
+ # index_name: "NameString", # required
3774
+ # },
3775
+ # }
3776
+ #
3777
+ # @!attribute [rw] catalog_id
3778
+ # The catalog ID where the table resides.
3779
+ # @return [String]
3780
+ #
3781
+ # @!attribute [rw] database_name
3782
+ # Specifies the name of a database in which you want to create a
3783
+ # partition index.
3784
+ # @return [String]
3785
+ #
3786
+ # @!attribute [rw] table_name
3787
+ # Specifies the name of a table in which you want to create a
3788
+ # partition index.
3789
+ # @return [String]
3790
+ #
3791
+ # @!attribute [rw] partition_index
3792
+ # Specifies a `PartitionIndex` structure to create a partition index
3793
+ # in an existing table.
3794
+ # @return [Types::PartitionIndex]
3795
+ #
3796
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreatePartitionIndexRequest AWS API Documentation
3797
+ #
3798
+ class CreatePartitionIndexRequest < Struct.new(
3799
+ :catalog_id,
3800
+ :database_name,
3801
+ :table_name,
3802
+ :partition_index)
3803
+ SENSITIVE = []
3804
+ include Aws::Structure
3805
+ end
3806
+
3807
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreatePartitionIndexResponse AWS API Documentation
3808
+ #
3809
+ class CreatePartitionIndexResponse < Aws::EmptyStructure; end
3810
+
3579
3811
  # @note When making an API call, you may pass CreatePartitionRequest
3580
3812
  # data as a hash:
3581
3813
  #
@@ -3627,6 +3859,15 @@ module Aws::Glue
3627
3859
  # },
3628
3860
  # },
3629
3861
  # stored_as_sub_directories: false,
3862
+ # schema_reference: {
3863
+ # schema_id: {
3864
+ # schema_arn: "GlueResourceArn",
3865
+ # schema_name: "SchemaRegistryNameString",
3866
+ # registry_name: "SchemaRegistryNameString",
3867
+ # },
3868
+ # schema_version_id: "SchemaVersionIdString",
3869
+ # schema_version_number: 1,
3870
+ # },
3630
3871
  # },
3631
3872
  # parameters: {
3632
3873
  # "KeyString" => "ParametersMapValue",
@@ -3669,6 +3910,266 @@ module Aws::Glue
3669
3910
  #
3670
3911
  class CreatePartitionResponse < Aws::EmptyStructure; end
3671
3912
 
3913
+ # @note When making an API call, you may pass CreateRegistryInput
3914
+ # data as a hash:
3915
+ #
3916
+ # {
3917
+ # registry_name: "SchemaRegistryNameString", # required
3918
+ # description: "DescriptionString",
3919
+ # tags: {
3920
+ # "TagKey" => "TagValue",
3921
+ # },
3922
+ # }
3923
+ #
3924
+ # @!attribute [rw] registry_name
3925
+ # Name of the registry to be created of max length of 255, and may
3926
+ # only contain letters, numbers, hyphen, underscore, dollar sign, or
3927
+ # hash mark. No whitespace.
3928
+ # @return [String]
3929
+ #
3930
+ # @!attribute [rw] description
3931
+ # A description of the registry. If description is not provided, there
3932
+ # will not be any default value for this.
3933
+ # @return [String]
3934
+ #
3935
+ # @!attribute [rw] tags
3936
+ # AWS tags that contain a key value pair and may be searched by
3937
+ # console, command line, or API.
3938
+ # @return [Hash<String,String>]
3939
+ #
3940
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateRegistryInput AWS API Documentation
3941
+ #
3942
+ class CreateRegistryInput < Struct.new(
3943
+ :registry_name,
3944
+ :description,
3945
+ :tags)
3946
+ SENSITIVE = []
3947
+ include Aws::Structure
3948
+ end
3949
+
3950
+ # @!attribute [rw] registry_arn
3951
+ # The Amazon Resource Name (ARN) of the newly created registry.
3952
+ # @return [String]
3953
+ #
3954
+ # @!attribute [rw] registry_name
3955
+ # The name of the registry.
3956
+ # @return [String]
3957
+ #
3958
+ # @!attribute [rw] description
3959
+ # A description of the registry.
3960
+ # @return [String]
3961
+ #
3962
+ # @!attribute [rw] tags
3963
+ # The tags for the registry.
3964
+ # @return [Hash<String,String>]
3965
+ #
3966
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateRegistryResponse AWS API Documentation
3967
+ #
3968
+ class CreateRegistryResponse < Struct.new(
3969
+ :registry_arn,
3970
+ :registry_name,
3971
+ :description,
3972
+ :tags)
3973
+ SENSITIVE = []
3974
+ include Aws::Structure
3975
+ end
3976
+
3977
+ # @note When making an API call, you may pass CreateSchemaInput
3978
+ # data as a hash:
3979
+ #
3980
+ # {
3981
+ # registry_id: {
3982
+ # registry_name: "SchemaRegistryNameString",
3983
+ # registry_arn: "GlueResourceArn",
3984
+ # },
3985
+ # schema_name: "SchemaRegistryNameString", # required
3986
+ # data_format: "AVRO", # required, accepts AVRO
3987
+ # compatibility: "NONE", # accepts NONE, DISABLED, BACKWARD, BACKWARD_ALL, FORWARD, FORWARD_ALL, FULL, FULL_ALL
3988
+ # description: "DescriptionString",
3989
+ # tags: {
3990
+ # "TagKey" => "TagValue",
3991
+ # },
3992
+ # schema_definition: "SchemaDefinitionString",
3993
+ # }
3994
+ #
3995
+ # @!attribute [rw] registry_id
3996
+ # This is a wrapper shape to contain the registry identity fields. If
3997
+ # this is not provided, the default registry will be used. The ARN
3998
+ # format for the same will be: `arn:aws:glue:us-east-2:<customer
3999
+ # id>:registry/default-registry:random-5-letter-id`.
4000
+ # @return [Types::RegistryId]
4001
+ #
4002
+ # @!attribute [rw] schema_name
4003
+ # Name of the schema to be created of max length of 255, and may only
4004
+ # contain letters, numbers, hyphen, underscore, dollar sign, or hash
4005
+ # mark. No whitespace.
4006
+ # @return [String]
4007
+ #
4008
+ # @!attribute [rw] data_format
4009
+ # The data format of the schema definition. Currently only `AVRO` is
4010
+ # supported.
4011
+ # @return [String]
4012
+ #
4013
+ # @!attribute [rw] compatibility
4014
+ # The compatibility mode of the schema. The possible values are:
4015
+ #
4016
+ # * *NONE*\: No compatibility mode applies. You can use this choice in
4017
+ # development scenarios or if you do not know the compatibility mode
4018
+ # that you want to apply to schemas. Any new version added will be
4019
+ # accepted without undergoing a compatibility check.
4020
+ #
4021
+ # * *DISABLED*\: This compatibility choice prevents versioning for a
4022
+ # particular schema. You can use this choice to prevent future
4023
+ # versioning of a schema.
4024
+ #
4025
+ # * *BACKWARD*\: This compatibility choice is recommended as it allows
4026
+ # data receivers to read both the current and one previous schema
4027
+ # version. This means that for instance, a new schema version cannot
4028
+ # drop data fields or change the type of these fields, so they
4029
+ # can't be read by readers using the previous version.
4030
+ #
4031
+ # * *BACKWARD\_ALL*\: This compatibility choice allows data receivers
4032
+ # to read both the current and all previous schema versions. You can
4033
+ # use this choice when you need to delete fields or add optional
4034
+ # fields, and check compatibility against all previous schema
4035
+ # versions.
4036
+ #
4037
+ # * *FORWARD*\: This compatibility choice allows data receivers to
4038
+ # read both the current and one next schema version, but not
4039
+ # necessarily later versions. You can use this choice when you need
4040
+ # to add fields or delete optional fields, but only check
4041
+ # compatibility against the last schema version.
4042
+ #
4043
+ # * *FORWARD\_ALL*\: This compatibility choice allows data receivers
4044
+ # to read written by producers of any new registered schema. You can
4045
+ # use this choice when you need to add fields or delete optional
4046
+ # fields, and check compatibility against all previous schema
4047
+ # versions.
4048
+ #
4049
+ # * *FULL*\: This compatibility choice allows data receivers to read
4050
+ # data written by producers using the previous or next version of
4051
+ # the schema, but not necessarily earlier or later versions. You can
4052
+ # use this choice when you need to add or remove optional fields,
4053
+ # but only check compatibility against the last schema version.
4054
+ #
4055
+ # * *FULL\_ALL*\: This compatibility choice allows data receivers to
4056
+ # read data written by producers using all previous schema versions.
4057
+ # You can use this choice when you need to add or remove optional
4058
+ # fields, and check compatibility against all previous schema
4059
+ # versions.
4060
+ # @return [String]
4061
+ #
4062
+ # @!attribute [rw] description
4063
+ # An optional description of the schema. If description is not
4064
+ # provided, there will not be any automatic default value for this.
4065
+ # @return [String]
4066
+ #
4067
+ # @!attribute [rw] tags
4068
+ # AWS tags that contain a key value pair and may be searched by
4069
+ # console, command line, or API. If specified, follows the AWS
4070
+ # tags-on-create pattern.
4071
+ # @return [Hash<String,String>]
4072
+ #
4073
+ # @!attribute [rw] schema_definition
4074
+ # The schema definition using the `DataFormat` setting for
4075
+ # `SchemaName`.
4076
+ # @return [String]
4077
+ #
4078
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateSchemaInput AWS API Documentation
4079
+ #
4080
+ class CreateSchemaInput < Struct.new(
4081
+ :registry_id,
4082
+ :schema_name,
4083
+ :data_format,
4084
+ :compatibility,
4085
+ :description,
4086
+ :tags,
4087
+ :schema_definition)
4088
+ SENSITIVE = []
4089
+ include Aws::Structure
4090
+ end
4091
+
4092
+ # @!attribute [rw] registry_name
4093
+ # The name of the registry.
4094
+ # @return [String]
4095
+ #
4096
+ # @!attribute [rw] registry_arn
4097
+ # The Amazon Resource Name (ARN) of the registry.
4098
+ # @return [String]
4099
+ #
4100
+ # @!attribute [rw] schema_name
4101
+ # The name of the schema.
4102
+ # @return [String]
4103
+ #
4104
+ # @!attribute [rw] schema_arn
4105
+ # The Amazon Resource Name (ARN) of the schema.
4106
+ # @return [String]
4107
+ #
4108
+ # @!attribute [rw] description
4109
+ # A description of the schema if specified when created.
4110
+ # @return [String]
4111
+ #
4112
+ # @!attribute [rw] data_format
4113
+ # The data format of the schema definition. Currently only `AVRO` is
4114
+ # supported.
4115
+ # @return [String]
4116
+ #
4117
+ # @!attribute [rw] compatibility
4118
+ # The schema compatibility mode.
4119
+ # @return [String]
4120
+ #
4121
+ # @!attribute [rw] schema_checkpoint
4122
+ # The version number of the checkpoint (the last time the
4123
+ # compatibility mode was changed).
4124
+ # @return [Integer]
4125
+ #
4126
+ # @!attribute [rw] latest_schema_version
4127
+ # The latest version of the schema associated with the returned schema
4128
+ # definition.
4129
+ # @return [Integer]
4130
+ #
4131
+ # @!attribute [rw] next_schema_version
4132
+ # The next version of the schema associated with the returned schema
4133
+ # definition.
4134
+ # @return [Integer]
4135
+ #
4136
+ # @!attribute [rw] schema_status
4137
+ # The status of the schema.
4138
+ # @return [String]
4139
+ #
4140
+ # @!attribute [rw] tags
4141
+ # The tags for the schema.
4142
+ # @return [Hash<String,String>]
4143
+ #
4144
+ # @!attribute [rw] schema_version_id
4145
+ # The unique identifier of the first schema version.
4146
+ # @return [String]
4147
+ #
4148
+ # @!attribute [rw] schema_version_status
4149
+ # The status of the first schema version created.
4150
+ # @return [String]
4151
+ #
4152
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateSchemaResponse AWS API Documentation
4153
+ #
4154
+ class CreateSchemaResponse < Struct.new(
4155
+ :registry_name,
4156
+ :registry_arn,
4157
+ :schema_name,
4158
+ :schema_arn,
4159
+ :description,
4160
+ :data_format,
4161
+ :compatibility,
4162
+ :schema_checkpoint,
4163
+ :latest_schema_version,
4164
+ :next_schema_version,
4165
+ :schema_status,
4166
+ :tags,
4167
+ :schema_version_id,
4168
+ :schema_version_status)
4169
+ SENSITIVE = []
4170
+ include Aws::Structure
4171
+ end
4172
+
3672
4173
  # @note When making an API call, you may pass CreateScriptRequest
3673
4174
  # data as a hash:
3674
4175
  #
@@ -3847,6 +4348,15 @@ module Aws::Glue
3847
4348
  # },
3848
4349
  # },
3849
4350
  # stored_as_sub_directories: false,
4351
+ # schema_reference: {
4352
+ # schema_id: {
4353
+ # schema_arn: "GlueResourceArn",
4354
+ # schema_name: "SchemaRegistryNameString",
4355
+ # registry_name: "SchemaRegistryNameString",
4356
+ # },
4357
+ # schema_version_id: "SchemaVersionIdString",
4358
+ # schema_version_number: 1,
4359
+ # },
3850
4360
  # },
3851
4361
  # partition_keys: [
3852
4362
  # {
@@ -4456,7 +4966,7 @@ module Aws::Glue
4456
4966
  include Aws::Structure
4457
4967
  end
4458
4968
 
4459
- # Defines a date column statistics data.
4969
+ # Defines column statistics supported for timestamp data columns.
4460
4970
  #
4461
4971
  # @note When making an API call, you may pass DateColumnStatisticsData
4462
4972
  # data as a hash:
@@ -4469,19 +4979,19 @@ module Aws::Glue
4469
4979
  # }
4470
4980
  #
4471
4981
  # @!attribute [rw] minimum_value
4472
- # Minimum value of the column.
4982
+ # The lowest value in the column.
4473
4983
  # @return [Time]
4474
4984
  #
4475
4985
  # @!attribute [rw] maximum_value
4476
- # Maximum value of the column.
4986
+ # The highest value in the column.
4477
4987
  # @return [Time]
4478
4988
  #
4479
4989
  # @!attribute [rw] number_of_nulls
4480
- # Number of nulls.
4990
+ # The number of null values in the column.
4481
4991
  # @return [Integer]
4482
4992
  #
4483
4993
  # @!attribute [rw] number_of_distinct_values
4484
- # Number of distinct values.
4994
+ # The number of distinct values in a column.
4485
4995
  # @return [Integer]
4486
4996
  #
4487
4997
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DateColumnStatisticsData AWS API Documentation
@@ -4495,7 +5005,8 @@ module Aws::Glue
4495
5005
  include Aws::Structure
4496
5006
  end
4497
5007
 
4498
- # Defines a decimal column statistics data.
5008
+ # Defines column statistics supported for fixed-point number data
5009
+ # columns.
4499
5010
  #
4500
5011
  # @note When making an API call, you may pass DecimalColumnStatisticsData
4501
5012
  # data as a hash:
@@ -4514,19 +5025,19 @@ module Aws::Glue
4514
5025
  # }
4515
5026
  #
4516
5027
  # @!attribute [rw] minimum_value
4517
- # Minimum value of the column.
5028
+ # The lowest value in the column.
4518
5029
  # @return [Types::DecimalNumber]
4519
5030
  #
4520
5031
  # @!attribute [rw] maximum_value
4521
- # Maximum value of the column.
5032
+ # The highest value in the column.
4522
5033
  # @return [Types::DecimalNumber]
4523
5034
  #
4524
5035
  # @!attribute [rw] number_of_nulls
4525
- # Number of nulls.
5036
+ # The number of null values in the column.
4526
5037
  # @return [Integer]
4527
5038
  #
4528
5039
  # @!attribute [rw] number_of_distinct_values
4529
- # Number of distinct values.
5040
+ # The number of distinct values in a column.
4530
5041
  # @return [Integer]
4531
5042
  #
4532
5043
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DecimalColumnStatisticsData AWS API Documentation
@@ -4850,6 +5361,49 @@ module Aws::Glue
4850
5361
  include Aws::Structure
4851
5362
  end
4852
5363
 
5364
+ # @note When making an API call, you may pass DeletePartitionIndexRequest
5365
+ # data as a hash:
5366
+ #
5367
+ # {
5368
+ # catalog_id: "CatalogIdString",
5369
+ # database_name: "NameString", # required
5370
+ # table_name: "NameString", # required
5371
+ # index_name: "NameString", # required
5372
+ # }
5373
+ #
5374
+ # @!attribute [rw] catalog_id
5375
+ # The catalog ID where the table resides.
5376
+ # @return [String]
5377
+ #
5378
+ # @!attribute [rw] database_name
5379
+ # Specifies the name of a database from which you want to delete a
5380
+ # partition index.
5381
+ # @return [String]
5382
+ #
5383
+ # @!attribute [rw] table_name
5384
+ # Specifies the name of a table from which you want to delete a
5385
+ # partition index.
5386
+ # @return [String]
5387
+ #
5388
+ # @!attribute [rw] index_name
5389
+ # The name of the partition index to be deleted.
5390
+ # @return [String]
5391
+ #
5392
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeletePartitionIndexRequest AWS API Documentation
5393
+ #
5394
+ class DeletePartitionIndexRequest < Struct.new(
5395
+ :catalog_id,
5396
+ :database_name,
5397
+ :table_name,
5398
+ :index_name)
5399
+ SENSITIVE = []
5400
+ include Aws::Structure
5401
+ end
5402
+
5403
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeletePartitionIndexResponse AWS API Documentation
5404
+ #
5405
+ class DeletePartitionIndexResponse < Aws::EmptyStructure; end
5406
+
4853
5407
  # @note When making an API call, you may pass DeletePartitionRequest
4854
5408
  # data as a hash:
4855
5409
  #
@@ -4893,12 +5447,58 @@ module Aws::Glue
4893
5447
  #
4894
5448
  class DeletePartitionResponse < Aws::EmptyStructure; end
4895
5449
 
4896
- # @note When making an API call, you may pass DeleteResourcePolicyRequest
5450
+ # @note When making an API call, you may pass DeleteRegistryInput
4897
5451
  # data as a hash:
4898
5452
  #
4899
5453
  # {
4900
- # policy_hash_condition: "HashString",
4901
- # resource_arn: "GlueResourceArn",
5454
+ # registry_id: { # required
5455
+ # registry_name: "SchemaRegistryNameString",
5456
+ # registry_arn: "GlueResourceArn",
5457
+ # },
5458
+ # }
5459
+ #
5460
+ # @!attribute [rw] registry_id
5461
+ # This is a wrapper structure that may contain the registry name and
5462
+ # Amazon Resource Name (ARN).
5463
+ # @return [Types::RegistryId]
5464
+ #
5465
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteRegistryInput AWS API Documentation
5466
+ #
5467
+ class DeleteRegistryInput < Struct.new(
5468
+ :registry_id)
5469
+ SENSITIVE = []
5470
+ include Aws::Structure
5471
+ end
5472
+
5473
+ # @!attribute [rw] registry_name
5474
+ # The name of the registry being deleted.
5475
+ # @return [String]
5476
+ #
5477
+ # @!attribute [rw] registry_arn
5478
+ # The Amazon Resource Name (ARN) of the registry being deleted.
5479
+ # @return [String]
5480
+ #
5481
+ # @!attribute [rw] status
5482
+ # The status of the registry. A successful operation will return the
5483
+ # `Deleting` status.
5484
+ # @return [String]
5485
+ #
5486
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteRegistryResponse AWS API Documentation
5487
+ #
5488
+ class DeleteRegistryResponse < Struct.new(
5489
+ :registry_name,
5490
+ :registry_arn,
5491
+ :status)
5492
+ SENSITIVE = []
5493
+ include Aws::Structure
5494
+ end
5495
+
5496
+ # @note When making an API call, you may pass DeleteResourcePolicyRequest
5497
+ # data as a hash:
5498
+ #
5499
+ # {
5500
+ # policy_hash_condition: "HashString",
5501
+ # resource_arn: "GlueResourceArn",
4902
5502
  # }
4903
5503
  #
4904
5504
  # @!attribute [rw] policy_hash_condition
@@ -4923,6 +5523,99 @@ module Aws::Glue
4923
5523
  #
4924
5524
  class DeleteResourcePolicyResponse < Aws::EmptyStructure; end
4925
5525
 
5526
+ # @note When making an API call, you may pass DeleteSchemaInput
5527
+ # data as a hash:
5528
+ #
5529
+ # {
5530
+ # schema_id: { # required
5531
+ # schema_arn: "GlueResourceArn",
5532
+ # schema_name: "SchemaRegistryNameString",
5533
+ # registry_name: "SchemaRegistryNameString",
5534
+ # },
5535
+ # }
5536
+ #
5537
+ # @!attribute [rw] schema_id
5538
+ # This is a wrapper structure that may contain the schema name and
5539
+ # Amazon Resource Name (ARN).
5540
+ # @return [Types::SchemaId]
5541
+ #
5542
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSchemaInput AWS API Documentation
5543
+ #
5544
+ class DeleteSchemaInput < Struct.new(
5545
+ :schema_id)
5546
+ SENSITIVE = []
5547
+ include Aws::Structure
5548
+ end
5549
+
5550
+ # @!attribute [rw] schema_arn
5551
+ # The Amazon Resource Name (ARN) of the schema being deleted.
5552
+ # @return [String]
5553
+ #
5554
+ # @!attribute [rw] schema_name
5555
+ # The name of the schema being deleted.
5556
+ # @return [String]
5557
+ #
5558
+ # @!attribute [rw] status
5559
+ # The status of the schema.
5560
+ # @return [String]
5561
+ #
5562
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSchemaResponse AWS API Documentation
5563
+ #
5564
+ class DeleteSchemaResponse < Struct.new(
5565
+ :schema_arn,
5566
+ :schema_name,
5567
+ :status)
5568
+ SENSITIVE = []
5569
+ include Aws::Structure
5570
+ end
5571
+
5572
+ # @note When making an API call, you may pass DeleteSchemaVersionsInput
5573
+ # data as a hash:
5574
+ #
5575
+ # {
5576
+ # schema_id: { # required
5577
+ # schema_arn: "GlueResourceArn",
5578
+ # schema_name: "SchemaRegistryNameString",
5579
+ # registry_name: "SchemaRegistryNameString",
5580
+ # },
5581
+ # versions: "VersionsString", # required
5582
+ # }
5583
+ #
5584
+ # @!attribute [rw] schema_id
5585
+ # This is a wrapper structure that may contain the schema name and
5586
+ # Amazon Resource Name (ARN).
5587
+ # @return [Types::SchemaId]
5588
+ #
5589
+ # @!attribute [rw] versions
5590
+ # A version range may be supplied which may be of the format:
5591
+ #
5592
+ # * a single version number, 5
5593
+ #
5594
+ # * a range, 5-8 : deletes versions 5, 6, 7, 8
5595
+ # @return [String]
5596
+ #
5597
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSchemaVersionsInput AWS API Documentation
5598
+ #
5599
+ class DeleteSchemaVersionsInput < Struct.new(
5600
+ :schema_id,
5601
+ :versions)
5602
+ SENSITIVE = []
5603
+ include Aws::Structure
5604
+ end
5605
+
5606
+ # @!attribute [rw] schema_version_errors
5607
+ # A list of `SchemaVersionErrorItem` objects, each containing an error
5608
+ # and schema version.
5609
+ # @return [Array<Types::SchemaVersionErrorItem>]
5610
+ #
5611
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSchemaVersionsResponse AWS API Documentation
5612
+ #
5613
+ class DeleteSchemaVersionsResponse < Struct.new(
5614
+ :schema_version_errors)
5615
+ SENSITIVE = []
5616
+ include Aws::Structure
5617
+ end
5618
+
4926
5619
  # @note When making an API call, you may pass DeleteSecurityConfigurationRequest
4927
5620
  # data as a hash:
4928
5621
  #
@@ -5396,7 +6089,8 @@ module Aws::Glue
5396
6089
  include Aws::Structure
5397
6090
  end
5398
6091
 
5399
- # Defines a double column statistics data.
6092
+ # Defines column statistics supported for floating-point number data
6093
+ # columns.
5400
6094
  #
5401
6095
  # @note When making an API call, you may pass DoubleColumnStatisticsData
5402
6096
  # data as a hash:
@@ -5409,19 +6103,19 @@ module Aws::Glue
5409
6103
  # }
5410
6104
  #
5411
6105
  # @!attribute [rw] minimum_value
5412
- # Minimum value of the column.
6106
+ # The lowest value in the column.
5413
6107
  # @return [Float]
5414
6108
  #
5415
6109
  # @!attribute [rw] maximum_value
5416
- # Maximum value of the column.
6110
+ # The highest value in the column.
5417
6111
  # @return [Float]
5418
6112
  #
5419
6113
  # @!attribute [rw] number_of_nulls
5420
- # Number of nulls.
6114
+ # The number of null values in the column.
5421
6115
  # @return [Integer]
5422
6116
  #
5423
6117
  # @!attribute [rw] number_of_distinct_values
5424
- # Number of distinct values.
6118
+ # The number of distinct values in a column.
5425
6119
  # @return [Integer]
5426
6120
  #
5427
6121
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DoubleColumnStatisticsData AWS API Documentation
@@ -5608,6 +6302,25 @@ module Aws::Glue
5608
6302
  include Aws::Structure
5609
6303
  end
5610
6304
 
6305
+ # An object containing error details.
6306
+ #
6307
+ # @!attribute [rw] error_code
6308
+ # The error code for an error.
6309
+ # @return [String]
6310
+ #
6311
+ # @!attribute [rw] error_message
6312
+ # The error message for an error.
6313
+ # @return [String]
6314
+ #
6315
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ErrorDetails AWS API Documentation
6316
+ #
6317
+ class ErrorDetails < Struct.new(
6318
+ :error_code,
6319
+ :error_message)
6320
+ SENSITIVE = []
6321
+ include Aws::Structure
6322
+ end
6323
+
5611
6324
  # Evaluation metrics provide an estimate of the quality of your machine
5612
6325
  # learning transform.
5613
6326
  #
@@ -5733,6 +6446,11 @@ module Aws::Glue
5733
6446
  # [1]: https://en.wikipedia.org/wiki/Confusion_matrix
5734
6447
  # @return [Types::ConfusionMatrix]
5735
6448
  #
6449
+ # @!attribute [rw] column_importances
6450
+ # A list of `ColumnImportance` structures containing column importance
6451
+ # metrics, sorted in order of descending importance.
6452
+ # @return [Array<Types::ColumnImportance>]
6453
+ #
5736
6454
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/FindMatchesMetrics AWS API Documentation
5737
6455
  #
5738
6456
  class FindMatchesMetrics < Struct.new(
@@ -5740,7 +6458,8 @@ module Aws::Glue
5740
6458
  :precision,
5741
6459
  :recall,
5742
6460
  :f1,
5743
- :confusion_matrix)
6461
+ :confusion_matrix,
6462
+ :column_importances)
5744
6463
  SENSITIVE = []
5745
6464
  include Aws::Structure
5746
6465
  end
@@ -6119,7 +6838,7 @@ module Aws::Glue
6119
6838
  #
6120
6839
  # {
6121
6840
  # match_criteria: ["NameString"],
6122
- # connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
6841
+ # connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK, MARKETPLACE, CUSTOM
6123
6842
  # }
6124
6843
  #
6125
6844
  # @!attribute [rw] match_criteria
@@ -6147,7 +6866,7 @@ module Aws::Glue
6147
6866
  # catalog_id: "CatalogIdString",
6148
6867
  # filter: {
6149
6868
  # match_criteria: ["NameString"],
6150
- # connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
6869
+ # connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK, MARKETPLACE, CUSTOM
6151
6870
  # },
6152
6871
  # hide_password: false,
6153
6872
  # next_token: "Token",
@@ -7065,6 +7784,12 @@ module Aws::Glue
7065
7784
  # a task run fails.
7066
7785
  # @return [Integer]
7067
7786
  #
7787
+ # @!attribute [rw] transform_encryption
7788
+ # The encryption-at-rest settings of the transform that apply to
7789
+ # accessing user data. Machine learning transforms can access user
7790
+ # data encrypted in Amazon S3 using KMS.
7791
+ # @return [Types::TransformEncryption]
7792
+ #
7068
7793
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTransformResponse AWS API Documentation
7069
7794
  #
7070
7795
  class GetMLTransformResponse < Struct.new(
@@ -7085,7 +7810,8 @@ module Aws::Glue
7085
7810
  :worker_type,
7086
7811
  :number_of_workers,
7087
7812
  :timeout,
7088
- :max_retries)
7813
+ :max_retries,
7814
+ :transform_encryption)
7089
7815
  SENSITIVE = []
7090
7816
  include Aws::Structure
7091
7817
  end
@@ -7629,6 +8355,66 @@ module Aws::Glue
7629
8355
  include Aws::Structure
7630
8356
  end
7631
8357
 
8358
+ # @note When making an API call, you may pass GetRegistryInput
8359
+ # data as a hash:
8360
+ #
8361
+ # {
8362
+ # registry_id: { # required
8363
+ # registry_name: "SchemaRegistryNameString",
8364
+ # registry_arn: "GlueResourceArn",
8365
+ # },
8366
+ # }
8367
+ #
8368
+ # @!attribute [rw] registry_id
8369
+ # This is a wrapper structure that may contain the registry name and
8370
+ # Amazon Resource Name (ARN).
8371
+ # @return [Types::RegistryId]
8372
+ #
8373
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetRegistryInput AWS API Documentation
8374
+ #
8375
+ class GetRegistryInput < Struct.new(
8376
+ :registry_id)
8377
+ SENSITIVE = []
8378
+ include Aws::Structure
8379
+ end
8380
+
8381
+ # @!attribute [rw] registry_name
8382
+ # The name of the registry.
8383
+ # @return [String]
8384
+ #
8385
+ # @!attribute [rw] registry_arn
8386
+ # The Amazon Resource Name (ARN) of the registry.
8387
+ # @return [String]
8388
+ #
8389
+ # @!attribute [rw] description
8390
+ # A description of the registry.
8391
+ # @return [String]
8392
+ #
8393
+ # @!attribute [rw] status
8394
+ # The status of the registry.
8395
+ # @return [String]
8396
+ #
8397
+ # @!attribute [rw] created_time
8398
+ # The date and time the registry was created.
8399
+ # @return [String]
8400
+ #
8401
+ # @!attribute [rw] updated_time
8402
+ # The date and time the registry was updated.
8403
+ # @return [String]
8404
+ #
8405
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetRegistryResponse AWS API Documentation
8406
+ #
8407
+ class GetRegistryResponse < Struct.new(
8408
+ :registry_name,
8409
+ :registry_arn,
8410
+ :description,
8411
+ :status,
8412
+ :created_time,
8413
+ :updated_time)
8414
+ SENSITIVE = []
8415
+ include Aws::Structure
8416
+ end
8417
+
7632
8418
  # @note When making an API call, you may pass GetResourcePoliciesRequest
7633
8419
  # data as a hash:
7634
8420
  #
@@ -7725,134 +8511,467 @@ module Aws::Glue
7725
8511
  include Aws::Structure
7726
8512
  end
7727
8513
 
7728
- # @note When making an API call, you may pass GetSecurityConfigurationRequest
8514
+ # @note When making an API call, you may pass GetSchemaByDefinitionInput
7729
8515
  # data as a hash:
7730
8516
  #
7731
8517
  # {
7732
- # name: "NameString", # required
8518
+ # schema_id: { # required
8519
+ # schema_arn: "GlueResourceArn",
8520
+ # schema_name: "SchemaRegistryNameString",
8521
+ # registry_name: "SchemaRegistryNameString",
8522
+ # },
8523
+ # schema_definition: "SchemaDefinitionString", # required
7733
8524
  # }
7734
8525
  #
7735
- # @!attribute [rw] name
7736
- # The name of the security configuration to retrieve.
8526
+ # @!attribute [rw] schema_id
8527
+ # This is a wrapper structure to contain schema identity fields. The
8528
+ # structure contains:
8529
+ #
8530
+ # * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema.
8531
+ # One of `SchemaArn` or `SchemaName` has to be provided.
8532
+ #
8533
+ # * SchemaId$SchemaName: The name of the schema. One of `SchemaArn` or
8534
+ # `SchemaName` has to be provided.
8535
+ # @return [Types::SchemaId]
8536
+ #
8537
+ # @!attribute [rw] schema_definition
8538
+ # The definition of the schema for which schema details are required.
7737
8539
  # @return [String]
7738
8540
  #
7739
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfigurationRequest AWS API Documentation
8541
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaByDefinitionInput AWS API Documentation
7740
8542
  #
7741
- class GetSecurityConfigurationRequest < Struct.new(
7742
- :name)
8543
+ class GetSchemaByDefinitionInput < Struct.new(
8544
+ :schema_id,
8545
+ :schema_definition)
7743
8546
  SENSITIVE = []
7744
8547
  include Aws::Structure
7745
8548
  end
7746
8549
 
7747
- # @!attribute [rw] security_configuration
7748
- # The requested security configuration.
7749
- # @return [Types::SecurityConfiguration]
8550
+ # @!attribute [rw] schema_version_id
8551
+ # The schema ID of the schema version.
8552
+ # @return [String]
7750
8553
  #
7751
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfigurationResponse AWS API Documentation
8554
+ # @!attribute [rw] schema_arn
8555
+ # The Amazon Resource Name (ARN) of the schema.
8556
+ # @return [String]
7752
8557
  #
7753
- class GetSecurityConfigurationResponse < Struct.new(
7754
- :security_configuration)
8558
+ # @!attribute [rw] data_format
8559
+ # The data format of the schema definition. Currently only `AVRO` is
8560
+ # supported.
8561
+ # @return [String]
8562
+ #
8563
+ # @!attribute [rw] status
8564
+ # The status of the schema version.
8565
+ # @return [String]
8566
+ #
8567
+ # @!attribute [rw] created_time
8568
+ # The date and time the schema was created.
8569
+ # @return [String]
8570
+ #
8571
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaByDefinitionResponse AWS API Documentation
8572
+ #
8573
+ class GetSchemaByDefinitionResponse < Struct.new(
8574
+ :schema_version_id,
8575
+ :schema_arn,
8576
+ :data_format,
8577
+ :status,
8578
+ :created_time)
7755
8579
  SENSITIVE = []
7756
8580
  include Aws::Structure
7757
8581
  end
7758
8582
 
7759
- # @note When making an API call, you may pass GetSecurityConfigurationsRequest
8583
+ # @note When making an API call, you may pass GetSchemaInput
7760
8584
  # data as a hash:
7761
8585
  #
7762
8586
  # {
7763
- # max_results: 1,
7764
- # next_token: "GenericString",
8587
+ # schema_id: { # required
8588
+ # schema_arn: "GlueResourceArn",
8589
+ # schema_name: "SchemaRegistryNameString",
8590
+ # registry_name: "SchemaRegistryNameString",
8591
+ # },
7765
8592
  # }
7766
8593
  #
7767
- # @!attribute [rw] max_results
7768
- # The maximum number of results to return.
7769
- # @return [Integer]
8594
+ # @!attribute [rw] schema_id
8595
+ # This is a wrapper structure to contain schema identity fields. The
8596
+ # structure contains:
7770
8597
  #
7771
- # @!attribute [rw] next_token
7772
- # A continuation token, if this is a continuation call.
7773
- # @return [String]
8598
+ # * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema.
8599
+ # Either `SchemaArn` or `SchemaName` and `RegistryName` has to be
8600
+ # provided.
7774
8601
  #
7775
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfigurationsRequest AWS API Documentation
8602
+ # * SchemaId$SchemaName: The name of the schema. Either `SchemaArn` or
8603
+ # `SchemaName` and `RegistryName` has to be provided.
8604
+ # @return [Types::SchemaId]
7776
8605
  #
7777
- class GetSecurityConfigurationsRequest < Struct.new(
7778
- :max_results,
7779
- :next_token)
8606
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaInput AWS API Documentation
8607
+ #
8608
+ class GetSchemaInput < Struct.new(
8609
+ :schema_id)
7780
8610
  SENSITIVE = []
7781
8611
  include Aws::Structure
7782
8612
  end
7783
8613
 
7784
- # @!attribute [rw] security_configurations
7785
- # A list of security configurations.
7786
- # @return [Array<Types::SecurityConfiguration>]
8614
+ # @!attribute [rw] registry_name
8615
+ # The name of the registry.
8616
+ # @return [String]
7787
8617
  #
7788
- # @!attribute [rw] next_token
7789
- # A continuation token, if there are more security configurations to
7790
- # return.
8618
+ # @!attribute [rw] registry_arn
8619
+ # The Amazon Resource Name (ARN) of the registry.
7791
8620
  # @return [String]
7792
8621
  #
7793
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfigurationsResponse AWS API Documentation
8622
+ # @!attribute [rw] schema_name
8623
+ # The name of the schema.
8624
+ # @return [String]
7794
8625
  #
7795
- class GetSecurityConfigurationsResponse < Struct.new(
7796
- :security_configurations,
7797
- :next_token)
8626
+ # @!attribute [rw] schema_arn
8627
+ # The Amazon Resource Name (ARN) of the schema.
8628
+ # @return [String]
8629
+ #
8630
+ # @!attribute [rw] description
8631
+ # A description of schema if specified when created
8632
+ # @return [String]
8633
+ #
8634
+ # @!attribute [rw] data_format
8635
+ # The data format of the schema definition. Currently only `AVRO` is
8636
+ # supported.
8637
+ # @return [String]
8638
+ #
8639
+ # @!attribute [rw] compatibility
8640
+ # The compatibility mode of the schema.
8641
+ # @return [String]
8642
+ #
8643
+ # @!attribute [rw] schema_checkpoint
8644
+ # The version number of the checkpoint (the last time the
8645
+ # compatibility mode was changed).
8646
+ # @return [Integer]
8647
+ #
8648
+ # @!attribute [rw] latest_schema_version
8649
+ # The latest version of the schema associated with the returned schema
8650
+ # definition.
8651
+ # @return [Integer]
8652
+ #
8653
+ # @!attribute [rw] next_schema_version
8654
+ # The next version of the schema associated with the returned schema
8655
+ # definition.
8656
+ # @return [Integer]
8657
+ #
8658
+ # @!attribute [rw] schema_status
8659
+ # The status of the schema.
8660
+ # @return [String]
8661
+ #
8662
+ # @!attribute [rw] created_time
8663
+ # The date and time the schema was created.
8664
+ # @return [String]
8665
+ #
8666
+ # @!attribute [rw] updated_time
8667
+ # The date and time the schema was updated.
8668
+ # @return [String]
8669
+ #
8670
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaResponse AWS API Documentation
8671
+ #
8672
+ class GetSchemaResponse < Struct.new(
8673
+ :registry_name,
8674
+ :registry_arn,
8675
+ :schema_name,
8676
+ :schema_arn,
8677
+ :description,
8678
+ :data_format,
8679
+ :compatibility,
8680
+ :schema_checkpoint,
8681
+ :latest_schema_version,
8682
+ :next_schema_version,
8683
+ :schema_status,
8684
+ :created_time,
8685
+ :updated_time)
7798
8686
  SENSITIVE = []
7799
8687
  include Aws::Structure
7800
8688
  end
7801
8689
 
7802
- # @note When making an API call, you may pass GetTableRequest
8690
+ # @note When making an API call, you may pass GetSchemaVersionInput
7803
8691
  # data as a hash:
7804
8692
  #
7805
8693
  # {
7806
- # catalog_id: "CatalogIdString",
7807
- # database_name: "NameString", # required
7808
- # name: "NameString", # required
8694
+ # schema_id: {
8695
+ # schema_arn: "GlueResourceArn",
8696
+ # schema_name: "SchemaRegistryNameString",
8697
+ # registry_name: "SchemaRegistryNameString",
8698
+ # },
8699
+ # schema_version_id: "SchemaVersionIdString",
8700
+ # schema_version_number: {
8701
+ # latest_version: false,
8702
+ # version_number: 1,
8703
+ # },
7809
8704
  # }
7810
8705
  #
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.
7814
- # @return [String]
8706
+ # @!attribute [rw] schema_id
8707
+ # This is a wrapper structure to contain schema identity fields. The
8708
+ # structure contains:
7815
8709
  #
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.
7819
- # @return [String]
8710
+ # * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema.
8711
+ # Either `SchemaArn` or `SchemaName` and `RegistryName` has to be
8712
+ # provided.
7820
8713
  #
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.
8714
+ # * SchemaId$SchemaName: The name of the schema. Either `SchemaArn` or
8715
+ # `SchemaName` and `RegistryName` has to be provided.
8716
+ # @return [Types::SchemaId]
8717
+ #
8718
+ # @!attribute [rw] schema_version_id
8719
+ # The `SchemaVersionId` of the schema version. This field is required
8720
+ # for fetching by schema ID. Either this or the `SchemaId` wrapper has
8721
+ # to be provided.
7824
8722
  # @return [String]
7825
8723
  #
7826
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableRequest AWS API Documentation
8724
+ # @!attribute [rw] schema_version_number
8725
+ # The version number of the schema.
8726
+ # @return [Types::SchemaVersionNumber]
7827
8727
  #
7828
- class GetTableRequest < Struct.new(
7829
- :catalog_id,
7830
- :database_name,
7831
- :name)
8728
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaVersionInput AWS API Documentation
8729
+ #
8730
+ class GetSchemaVersionInput < Struct.new(
8731
+ :schema_id,
8732
+ :schema_version_id,
8733
+ :schema_version_number)
7832
8734
  SENSITIVE = []
7833
8735
  include Aws::Structure
7834
8736
  end
7835
8737
 
7836
- # @!attribute [rw] table
7837
- # The `Table` object that defines the specified table.
7838
- # @return [Types::Table]
8738
+ # @!attribute [rw] schema_version_id
8739
+ # The `SchemaVersionId` of the schema version.
8740
+ # @return [String]
7839
8741
  #
7840
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableResponse AWS API Documentation
8742
+ # @!attribute [rw] schema_definition
8743
+ # The schema definition for the schema ID.
8744
+ # @return [String]
7841
8745
  #
7842
- class GetTableResponse < Struct.new(
7843
- :table)
8746
+ # @!attribute [rw] data_format
8747
+ # The data format of the schema definition. Currently only `AVRO` is
8748
+ # supported.
8749
+ # @return [String]
8750
+ #
8751
+ # @!attribute [rw] schema_arn
8752
+ # The Amazon Resource Name (ARN) of the schema.
8753
+ # @return [String]
8754
+ #
8755
+ # @!attribute [rw] version_number
8756
+ # The version number of the schema.
8757
+ # @return [Integer]
8758
+ #
8759
+ # @!attribute [rw] status
8760
+ # The status of the schema version.
8761
+ # @return [String]
8762
+ #
8763
+ # @!attribute [rw] created_time
8764
+ # The date and time the schema version was created.
8765
+ # @return [String]
8766
+ #
8767
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaVersionResponse AWS API Documentation
8768
+ #
8769
+ class GetSchemaVersionResponse < Struct.new(
8770
+ :schema_version_id,
8771
+ :schema_definition,
8772
+ :data_format,
8773
+ :schema_arn,
8774
+ :version_number,
8775
+ :status,
8776
+ :created_time)
7844
8777
  SENSITIVE = []
7845
8778
  include Aws::Structure
7846
8779
  end
7847
8780
 
7848
- # @note When making an API call, you may pass GetTableVersionRequest
8781
+ # @note When making an API call, you may pass GetSchemaVersionsDiffInput
7849
8782
  # data as a hash:
7850
8783
  #
7851
8784
  # {
7852
- # catalog_id: "CatalogIdString",
7853
- # database_name: "NameString", # required
7854
- # table_name: "NameString", # required
7855
- # version_id: "VersionString",
8785
+ # schema_id: { # required
8786
+ # schema_arn: "GlueResourceArn",
8787
+ # schema_name: "SchemaRegistryNameString",
8788
+ # registry_name: "SchemaRegistryNameString",
8789
+ # },
8790
+ # first_schema_version_number: { # required
8791
+ # latest_version: false,
8792
+ # version_number: 1,
8793
+ # },
8794
+ # second_schema_version_number: { # required
8795
+ # latest_version: false,
8796
+ # version_number: 1,
8797
+ # },
8798
+ # schema_diff_type: "SYNTAX_DIFF", # required, accepts SYNTAX_DIFF
8799
+ # }
8800
+ #
8801
+ # @!attribute [rw] schema_id
8802
+ # This is a wrapper structure to contain schema identity fields. The
8803
+ # structure contains:
8804
+ #
8805
+ # * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema.
8806
+ # One of `SchemaArn` or `SchemaName` has to be provided.
8807
+ #
8808
+ # * SchemaId$SchemaName: The name of the schema. One of `SchemaArn` or
8809
+ # `SchemaName` has to be provided.
8810
+ # @return [Types::SchemaId]
8811
+ #
8812
+ # @!attribute [rw] first_schema_version_number
8813
+ # The first of the two schema versions to be compared.
8814
+ # @return [Types::SchemaVersionNumber]
8815
+ #
8816
+ # @!attribute [rw] second_schema_version_number
8817
+ # The second of the two schema versions to be compared.
8818
+ # @return [Types::SchemaVersionNumber]
8819
+ #
8820
+ # @!attribute [rw] schema_diff_type
8821
+ # Refers to `SYNTAX_DIFF`, which is the currently supported diff type.
8822
+ # @return [String]
8823
+ #
8824
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaVersionsDiffInput AWS API Documentation
8825
+ #
8826
+ class GetSchemaVersionsDiffInput < Struct.new(
8827
+ :schema_id,
8828
+ :first_schema_version_number,
8829
+ :second_schema_version_number,
8830
+ :schema_diff_type)
8831
+ SENSITIVE = []
8832
+ include Aws::Structure
8833
+ end
8834
+
8835
+ # @!attribute [rw] diff
8836
+ # The difference between schemas as a string in JsonPatch format.
8837
+ # @return [String]
8838
+ #
8839
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaVersionsDiffResponse AWS API Documentation
8840
+ #
8841
+ class GetSchemaVersionsDiffResponse < Struct.new(
8842
+ :diff)
8843
+ SENSITIVE = []
8844
+ include Aws::Structure
8845
+ end
8846
+
8847
+ # @note When making an API call, you may pass GetSecurityConfigurationRequest
8848
+ # data as a hash:
8849
+ #
8850
+ # {
8851
+ # name: "NameString", # required
8852
+ # }
8853
+ #
8854
+ # @!attribute [rw] name
8855
+ # The name of the security configuration to retrieve.
8856
+ # @return [String]
8857
+ #
8858
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfigurationRequest AWS API Documentation
8859
+ #
8860
+ class GetSecurityConfigurationRequest < Struct.new(
8861
+ :name)
8862
+ SENSITIVE = []
8863
+ include Aws::Structure
8864
+ end
8865
+
8866
+ # @!attribute [rw] security_configuration
8867
+ # The requested security configuration.
8868
+ # @return [Types::SecurityConfiguration]
8869
+ #
8870
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfigurationResponse AWS API Documentation
8871
+ #
8872
+ class GetSecurityConfigurationResponse < Struct.new(
8873
+ :security_configuration)
8874
+ SENSITIVE = []
8875
+ include Aws::Structure
8876
+ end
8877
+
8878
+ # @note When making an API call, you may pass GetSecurityConfigurationsRequest
8879
+ # data as a hash:
8880
+ #
8881
+ # {
8882
+ # max_results: 1,
8883
+ # next_token: "GenericString",
8884
+ # }
8885
+ #
8886
+ # @!attribute [rw] max_results
8887
+ # The maximum number of results to return.
8888
+ # @return [Integer]
8889
+ #
8890
+ # @!attribute [rw] next_token
8891
+ # A continuation token, if this is a continuation call.
8892
+ # @return [String]
8893
+ #
8894
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfigurationsRequest AWS API Documentation
8895
+ #
8896
+ class GetSecurityConfigurationsRequest < Struct.new(
8897
+ :max_results,
8898
+ :next_token)
8899
+ SENSITIVE = []
8900
+ include Aws::Structure
8901
+ end
8902
+
8903
+ # @!attribute [rw] security_configurations
8904
+ # A list of security configurations.
8905
+ # @return [Array<Types::SecurityConfiguration>]
8906
+ #
8907
+ # @!attribute [rw] next_token
8908
+ # A continuation token, if there are more security configurations to
8909
+ # return.
8910
+ # @return [String]
8911
+ #
8912
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfigurationsResponse AWS API Documentation
8913
+ #
8914
+ class GetSecurityConfigurationsResponse < Struct.new(
8915
+ :security_configurations,
8916
+ :next_token)
8917
+ SENSITIVE = []
8918
+ include Aws::Structure
8919
+ end
8920
+
8921
+ # @note When making an API call, you may pass GetTableRequest
8922
+ # data as a hash:
8923
+ #
8924
+ # {
8925
+ # catalog_id: "CatalogIdString",
8926
+ # database_name: "NameString", # required
8927
+ # name: "NameString", # required
8928
+ # }
8929
+ #
8930
+ # @!attribute [rw] catalog_id
8931
+ # The ID of the Data Catalog where the table resides. If none is
8932
+ # provided, the AWS account ID is used by default.
8933
+ # @return [String]
8934
+ #
8935
+ # @!attribute [rw] database_name
8936
+ # The name of the database in the catalog in which the table resides.
8937
+ # For Hive compatibility, this name is entirely lowercase.
8938
+ # @return [String]
8939
+ #
8940
+ # @!attribute [rw] name
8941
+ # The name of the table for which to retrieve the definition. For Hive
8942
+ # compatibility, this name is entirely lowercase.
8943
+ # @return [String]
8944
+ #
8945
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableRequest AWS API Documentation
8946
+ #
8947
+ class GetTableRequest < Struct.new(
8948
+ :catalog_id,
8949
+ :database_name,
8950
+ :name)
8951
+ SENSITIVE = []
8952
+ include Aws::Structure
8953
+ end
8954
+
8955
+ # @!attribute [rw] table
8956
+ # The `Table` object that defines the specified table.
8957
+ # @return [Types::Table]
8958
+ #
8959
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableResponse AWS API Documentation
8960
+ #
8961
+ class GetTableResponse < Struct.new(
8962
+ :table)
8963
+ SENSITIVE = []
8964
+ include Aws::Structure
8965
+ end
8966
+
8967
+ # @note When making an API call, you may pass GetTableVersionRequest
8968
+ # data as a hash:
8969
+ #
8970
+ # {
8971
+ # catalog_id: "CatalogIdString",
8972
+ # database_name: "NameString", # required
8973
+ # table_name: "NameString", # required
8974
+ # version_id: "VersionString",
7856
8975
  # }
7857
8976
  #
7858
8977
  # @!attribute [rw] catalog_id
@@ -9562,6 +10681,32 @@ module Aws::Glue
9562
10681
  include Aws::Structure
9563
10682
  end
9564
10683
 
10684
+ # Specifies data lineage configuration settings for the crawler.
10685
+ #
10686
+ # @note When making an API call, you may pass LineageConfiguration
10687
+ # data as a hash:
10688
+ #
10689
+ # {
10690
+ # crawler_lineage_settings: "ENABLE", # accepts ENABLE, DISABLE
10691
+ # }
10692
+ #
10693
+ # @!attribute [rw] crawler_lineage_settings
10694
+ # Specifies whether data lineage is enabled for the crawler. Valid
10695
+ # values are:
10696
+ #
10697
+ # * ENABLE: enables data lineage for the crawler
10698
+ #
10699
+ # * DISABLE: disables data lineage for the crawler
10700
+ # @return [String]
10701
+ #
10702
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/LineageConfiguration AWS API Documentation
10703
+ #
10704
+ class LineageConfiguration < Struct.new(
10705
+ :crawler_lineage_settings)
10706
+ SENSITIVE = []
10707
+ include Aws::Structure
10708
+ end
10709
+
9565
10710
  # @note When making an API call, you may pass ListCrawlersRequest
9566
10711
  # data as a hash:
9567
10712
  #
@@ -9802,132 +10947,295 @@ module Aws::Glue
9802
10947
  include Aws::Structure
9803
10948
  end
9804
10949
 
9805
- # @note When making an API call, you may pass ListTriggersRequest
10950
+ # @note When making an API call, you may pass ListRegistriesInput
9806
10951
  # data as a hash:
9807
10952
  #
9808
10953
  # {
9809
- # next_token: "GenericString",
9810
- # dependent_job_name: "NameString",
9811
10954
  # max_results: 1,
9812
- # tags: {
9813
- # "TagKey" => "TagValue",
9814
- # },
10955
+ # next_token: "SchemaRegistryTokenString",
9815
10956
  # }
9816
10957
  #
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
10958
  # @!attribute [rw] max_results
9828
- # The maximum size of a list to return.
10959
+ # Maximum number of results required per page. If the value is not
10960
+ # supplied, this will be defaulted to 25 per page.
9829
10961
  # @return [Integer]
9830
10962
  #
9831
- # @!attribute [rw] tags
9832
- # Specifies to return only these tagged resources.
9833
- # @return [Hash<String,String>]
10963
+ # @!attribute [rw] next_token
10964
+ # A continuation token, if this is a continuation call.
10965
+ # @return [String]
9834
10966
  #
9835
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListTriggersRequest AWS API Documentation
10967
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListRegistriesInput AWS API Documentation
9836
10968
  #
9837
- class ListTriggersRequest < Struct.new(
9838
- :next_token,
9839
- :dependent_job_name,
10969
+ class ListRegistriesInput < Struct.new(
9840
10970
  :max_results,
9841
- :tags)
10971
+ :next_token)
9842
10972
  SENSITIVE = []
9843
10973
  include Aws::Structure
9844
10974
  end
9845
10975
 
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>]
10976
+ # @!attribute [rw] registries
10977
+ # An array of `RegistryDetailedListItem` objects containing minimal
10978
+ # details of each registry.
10979
+ # @return [Array<Types::RegistryListItem>]
9850
10980
  #
9851
10981
  # @!attribute [rw] next_token
9852
- # A continuation token, if the returned list does not contain the last
9853
- # metric available.
10982
+ # A continuation token for paginating the returned list of tokens,
10983
+ # returned if the current segment of the list is not the last.
9854
10984
  # @return [String]
9855
10985
  #
9856
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListTriggersResponse AWS API Documentation
10986
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListRegistriesResponse AWS API Documentation
9857
10987
  #
9858
- class ListTriggersResponse < Struct.new(
9859
- :trigger_names,
10988
+ class ListRegistriesResponse < Struct.new(
10989
+ :registries,
9860
10990
  :next_token)
9861
10991
  SENSITIVE = []
9862
10992
  include Aws::Structure
9863
10993
  end
9864
10994
 
9865
- # @note When making an API call, you may pass ListWorkflowsRequest
10995
+ # @note When making an API call, you may pass ListSchemaVersionsInput
9866
10996
  # data as a hash:
9867
10997
  #
9868
10998
  # {
9869
- # next_token: "GenericString",
10999
+ # schema_id: { # required
11000
+ # schema_arn: "GlueResourceArn",
11001
+ # schema_name: "SchemaRegistryNameString",
11002
+ # registry_name: "SchemaRegistryNameString",
11003
+ # },
9870
11004
  # max_results: 1,
11005
+ # next_token: "SchemaRegistryTokenString",
9871
11006
  # }
9872
11007
  #
9873
- # @!attribute [rw] next_token
9874
- # A continuation token, if this is a continuation request.
9875
- # @return [String]
11008
+ # @!attribute [rw] schema_id
11009
+ # This is a wrapper structure to contain schema identity fields. The
11010
+ # structure contains:
11011
+ #
11012
+ # * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema.
11013
+ # Either `SchemaArn` or `SchemaName` and `RegistryName` has to be
11014
+ # provided.
11015
+ #
11016
+ # * SchemaId$SchemaName: The name of the schema. Either `SchemaArn` or
11017
+ # `SchemaName` and `RegistryName` has to be provided.
11018
+ # @return [Types::SchemaId]
9876
11019
  #
9877
11020
  # @!attribute [rw] max_results
9878
- # The maximum size of a list to return.
11021
+ # Maximum number of results required per page. If the value is not
11022
+ # supplied, this will be defaulted to 25 per page.
9879
11023
  # @return [Integer]
9880
11024
  #
9881
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListWorkflowsRequest AWS API Documentation
11025
+ # @!attribute [rw] next_token
11026
+ # A continuation token, if this is a continuation call.
11027
+ # @return [String]
9882
11028
  #
9883
- class ListWorkflowsRequest < Struct.new(
9884
- :next_token,
9885
- :max_results)
11029
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSchemaVersionsInput AWS API Documentation
11030
+ #
11031
+ class ListSchemaVersionsInput < Struct.new(
11032
+ :schema_id,
11033
+ :max_results,
11034
+ :next_token)
9886
11035
  SENSITIVE = []
9887
11036
  include Aws::Structure
9888
11037
  end
9889
11038
 
9890
- # @!attribute [rw] workflows
9891
- # List of names of workflows in the account.
9892
- # @return [Array<String>]
11039
+ # @!attribute [rw] schemas
11040
+ # An array of `SchemaVersionList` objects containing details of each
11041
+ # schema version.
11042
+ # @return [Array<Types::SchemaVersionListItem>]
9893
11043
  #
9894
11044
  # @!attribute [rw] next_token
9895
- # A continuation token, if not all workflow names have been returned.
11045
+ # A continuation token for paginating the returned list of tokens,
11046
+ # returned if the current segment of the list is not the last.
9896
11047
  # @return [String]
9897
11048
  #
9898
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListWorkflowsResponse AWS API Documentation
11049
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSchemaVersionsResponse AWS API Documentation
9899
11050
  #
9900
- class ListWorkflowsResponse < Struct.new(
9901
- :workflows,
11051
+ class ListSchemaVersionsResponse < Struct.new(
11052
+ :schemas,
9902
11053
  :next_token)
9903
11054
  SENSITIVE = []
9904
11055
  include Aws::Structure
9905
11056
  end
9906
11057
 
9907
- # The location of resources.
9908
- #
9909
- # @note When making an API call, you may pass Location
11058
+ # @note When making an API call, you may pass ListSchemasInput
9910
11059
  # data as a hash:
9911
11060
  #
9912
11061
  # {
9913
- # jdbc: [
9914
- # {
9915
- # name: "CodeGenArgName", # required
9916
- # value: "CodeGenArgValue", # required
9917
- # param: false,
9918
- # },
9919
- # ],
9920
- # s3: [
9921
- # {
9922
- # name: "CodeGenArgName", # required
9923
- # value: "CodeGenArgValue", # required
9924
- # param: false,
9925
- # },
9926
- # ],
9927
- # dynamo_db: [
9928
- # {
9929
- # name: "CodeGenArgName", # required
9930
- # value: "CodeGenArgValue", # required
11062
+ # registry_id: {
11063
+ # registry_name: "SchemaRegistryNameString",
11064
+ # registry_arn: "GlueResourceArn",
11065
+ # },
11066
+ # max_results: 1,
11067
+ # next_token: "SchemaRegistryTokenString",
11068
+ # }
11069
+ #
11070
+ # @!attribute [rw] registry_id
11071
+ # A wrapper structure that may contain the registry name and Amazon
11072
+ # Resource Name (ARN).
11073
+ # @return [Types::RegistryId]
11074
+ #
11075
+ # @!attribute [rw] max_results
11076
+ # Maximum number of results required per page. If the value is not
11077
+ # supplied, this will be defaulted to 25 per page.
11078
+ # @return [Integer]
11079
+ #
11080
+ # @!attribute [rw] next_token
11081
+ # A continuation token, if this is a continuation call.
11082
+ # @return [String]
11083
+ #
11084
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSchemasInput AWS API Documentation
11085
+ #
11086
+ class ListSchemasInput < Struct.new(
11087
+ :registry_id,
11088
+ :max_results,
11089
+ :next_token)
11090
+ SENSITIVE = []
11091
+ include Aws::Structure
11092
+ end
11093
+
11094
+ # @!attribute [rw] schemas
11095
+ # An array of `SchemaListItem` objects containing details of each
11096
+ # schema.
11097
+ # @return [Array<Types::SchemaListItem>]
11098
+ #
11099
+ # @!attribute [rw] next_token
11100
+ # A continuation token for paginating the returned list of tokens,
11101
+ # returned if the current segment of the list is not the last.
11102
+ # @return [String]
11103
+ #
11104
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSchemasResponse AWS API Documentation
11105
+ #
11106
+ class ListSchemasResponse < Struct.new(
11107
+ :schemas,
11108
+ :next_token)
11109
+ SENSITIVE = []
11110
+ include Aws::Structure
11111
+ end
11112
+
11113
+ # @note When making an API call, you may pass ListTriggersRequest
11114
+ # data as a hash:
11115
+ #
11116
+ # {
11117
+ # next_token: "GenericString",
11118
+ # dependent_job_name: "NameString",
11119
+ # max_results: 1,
11120
+ # tags: {
11121
+ # "TagKey" => "TagValue",
11122
+ # },
11123
+ # }
11124
+ #
11125
+ # @!attribute [rw] next_token
11126
+ # A continuation token, if this is a continuation request.
11127
+ # @return [String]
11128
+ #
11129
+ # @!attribute [rw] dependent_job_name
11130
+ # The name of the job for which to retrieve triggers. The trigger that
11131
+ # can start this job is returned. If there is no such trigger, all
11132
+ # triggers are returned.
11133
+ # @return [String]
11134
+ #
11135
+ # @!attribute [rw] max_results
11136
+ # The maximum size of a list to return.
11137
+ # @return [Integer]
11138
+ #
11139
+ # @!attribute [rw] tags
11140
+ # Specifies to return only these tagged resources.
11141
+ # @return [Hash<String,String>]
11142
+ #
11143
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListTriggersRequest AWS API Documentation
11144
+ #
11145
+ class ListTriggersRequest < Struct.new(
11146
+ :next_token,
11147
+ :dependent_job_name,
11148
+ :max_results,
11149
+ :tags)
11150
+ SENSITIVE = []
11151
+ include Aws::Structure
11152
+ end
11153
+
11154
+ # @!attribute [rw] trigger_names
11155
+ # The names of all triggers in the account, or the triggers with the
11156
+ # specified tags.
11157
+ # @return [Array<String>]
11158
+ #
11159
+ # @!attribute [rw] next_token
11160
+ # A continuation token, if the returned list does not contain the last
11161
+ # metric available.
11162
+ # @return [String]
11163
+ #
11164
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListTriggersResponse AWS API Documentation
11165
+ #
11166
+ class ListTriggersResponse < Struct.new(
11167
+ :trigger_names,
11168
+ :next_token)
11169
+ SENSITIVE = []
11170
+ include Aws::Structure
11171
+ end
11172
+
11173
+ # @note When making an API call, you may pass ListWorkflowsRequest
11174
+ # data as a hash:
11175
+ #
11176
+ # {
11177
+ # next_token: "GenericString",
11178
+ # max_results: 1,
11179
+ # }
11180
+ #
11181
+ # @!attribute [rw] next_token
11182
+ # A continuation token, if this is a continuation request.
11183
+ # @return [String]
11184
+ #
11185
+ # @!attribute [rw] max_results
11186
+ # The maximum size of a list to return.
11187
+ # @return [Integer]
11188
+ #
11189
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListWorkflowsRequest AWS API Documentation
11190
+ #
11191
+ class ListWorkflowsRequest < Struct.new(
11192
+ :next_token,
11193
+ :max_results)
11194
+ SENSITIVE = []
11195
+ include Aws::Structure
11196
+ end
11197
+
11198
+ # @!attribute [rw] workflows
11199
+ # List of names of workflows in the account.
11200
+ # @return [Array<String>]
11201
+ #
11202
+ # @!attribute [rw] next_token
11203
+ # A continuation token, if not all workflow names have been returned.
11204
+ # @return [String]
11205
+ #
11206
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListWorkflowsResponse AWS API Documentation
11207
+ #
11208
+ class ListWorkflowsResponse < Struct.new(
11209
+ :workflows,
11210
+ :next_token)
11211
+ SENSITIVE = []
11212
+ include Aws::Structure
11213
+ end
11214
+
11215
+ # The location of resources.
11216
+ #
11217
+ # @note When making an API call, you may pass Location
11218
+ # data as a hash:
11219
+ #
11220
+ # {
11221
+ # jdbc: [
11222
+ # {
11223
+ # name: "CodeGenArgName", # required
11224
+ # value: "CodeGenArgValue", # required
11225
+ # param: false,
11226
+ # },
11227
+ # ],
11228
+ # s3: [
11229
+ # {
11230
+ # name: "CodeGenArgName", # required
11231
+ # value: "CodeGenArgValue", # required
11232
+ # param: false,
11233
+ # },
11234
+ # ],
11235
+ # dynamo_db: [
11236
+ # {
11237
+ # name: "CodeGenArgName", # required
11238
+ # value: "CodeGenArgValue", # required
9931
11239
  # param: false,
9932
11240
  # },
9933
11241
  # ],
@@ -9955,7 +11263,7 @@ module Aws::Glue
9955
11263
  include Aws::Structure
9956
11264
  end
9957
11265
 
9958
- # Defines a long column statistics data.
11266
+ # Defines column statistics supported for integer data columns.
9959
11267
  #
9960
11268
  # @note When making an API call, you may pass LongColumnStatisticsData
9961
11269
  # data as a hash:
@@ -9968,19 +11276,19 @@ module Aws::Glue
9968
11276
  # }
9969
11277
  #
9970
11278
  # @!attribute [rw] minimum_value
9971
- # Minimum value of the column.
11279
+ # The lowest value in the column.
9972
11280
  # @return [Integer]
9973
11281
  #
9974
11282
  # @!attribute [rw] maximum_value
9975
- # Maximum value of the column.
11283
+ # The highest value in the column.
9976
11284
  # @return [Integer]
9977
11285
  #
9978
11286
  # @!attribute [rw] number_of_nulls
9979
- # Number of nulls.
11287
+ # The number of null values in the column.
9980
11288
  # @return [Integer]
9981
11289
  #
9982
11290
  # @!attribute [rw] number_of_distinct_values
9983
- # Number of distinct values.
11291
+ # The number of distinct values in a column.
9984
11292
  # @return [Integer]
9985
11293
  #
9986
11294
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/LongColumnStatisticsData AWS API Documentation
@@ -10160,6 +11468,12 @@ module Aws::Glue
10160
11468
  # machine learning transform fails.
10161
11469
  # @return [Integer]
10162
11470
  #
11471
+ # @!attribute [rw] transform_encryption
11472
+ # The encryption-at-rest settings of the transform that apply to
11473
+ # accessing user data. Machine learning transforms can access user
11474
+ # data encrypted in Amazon S3 using KMS.
11475
+ # @return [Types::TransformEncryption]
11476
+ #
10163
11477
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/MLTransform AWS API Documentation
10164
11478
  #
10165
11479
  class MLTransform < Struct.new(
@@ -10180,7 +11494,8 @@ module Aws::Glue
10180
11494
  :worker_type,
10181
11495
  :number_of_workers,
10182
11496
  :timeout,
10183
- :max_retries)
11497
+ :max_retries,
11498
+ :transform_encryption)
10184
11499
  SENSITIVE = []
10185
11500
  include Aws::Structure
10186
11501
  end
@@ -10199,6 +11514,39 @@ module Aws::Glue
10199
11514
  include Aws::Structure
10200
11515
  end
10201
11516
 
11517
+ # The encryption-at-rest settings of the transform that apply to
11518
+ # accessing user data.
11519
+ #
11520
+ # @note When making an API call, you may pass MLUserDataEncryption
11521
+ # data as a hash:
11522
+ #
11523
+ # {
11524
+ # ml_user_data_encryption_mode: "DISABLED", # required, accepts DISABLED, SSE-KMS
11525
+ # kms_key_id: "NameString",
11526
+ # }
11527
+ #
11528
+ # @!attribute [rw] ml_user_data_encryption_mode
11529
+ # The encryption mode applied to user data. Valid values are:
11530
+ #
11531
+ # * DISABLED: encryption is disabled
11532
+ #
11533
+ # * SSEKMS: use of server-side encryption with AWS Key Management
11534
+ # Service (SSE-KMS) for user data stored in Amazon S3.
11535
+ # @return [String]
11536
+ #
11537
+ # @!attribute [rw] kms_key_id
11538
+ # The ID for the customer-provided KMS key.
11539
+ # @return [String]
11540
+ #
11541
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/MLUserDataEncryption AWS API Documentation
11542
+ #
11543
+ class MLUserDataEncryption < Struct.new(
11544
+ :ml_user_data_encryption_mode,
11545
+ :kms_key_id)
11546
+ SENSITIVE = []
11547
+ include Aws::Structure
11548
+ end
11549
+
10202
11550
  # Defines a mapping.
10203
11551
  #
10204
11552
  # @note When making an API call, you may pass MappingEntry
@@ -10250,6 +11598,52 @@ module Aws::Glue
10250
11598
  include Aws::Structure
10251
11599
  end
10252
11600
 
11601
+ # A structure containing metadata information for a schema version.
11602
+ #
11603
+ # @!attribute [rw] metadata_value
11604
+ # The metadata key’s corresponding value.
11605
+ # @return [String]
11606
+ #
11607
+ # @!attribute [rw] created_time
11608
+ # The time at which the entry was created.
11609
+ # @return [String]
11610
+ #
11611
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/MetadataInfo AWS API Documentation
11612
+ #
11613
+ class MetadataInfo < Struct.new(
11614
+ :metadata_value,
11615
+ :created_time)
11616
+ SENSITIVE = []
11617
+ include Aws::Structure
11618
+ end
11619
+
11620
+ # A structure containing a key value pair for metadata.
11621
+ #
11622
+ # @note When making an API call, you may pass MetadataKeyValuePair
11623
+ # data as a hash:
11624
+ #
11625
+ # {
11626
+ # metadata_key: "MetadataKeyString",
11627
+ # metadata_value: "MetadataValueString",
11628
+ # }
11629
+ #
11630
+ # @!attribute [rw] metadata_key
11631
+ # A metadata key.
11632
+ # @return [String]
11633
+ #
11634
+ # @!attribute [rw] metadata_value
11635
+ # A metadata key’s corresponding value.
11636
+ # @return [String]
11637
+ #
11638
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/MetadataKeyValuePair AWS API Documentation
11639
+ #
11640
+ class MetadataKeyValuePair < Struct.new(
11641
+ :metadata_key,
11642
+ :metadata_value)
11643
+ SENSITIVE = []
11644
+ include Aws::Structure
11645
+ end
11646
+
10253
11647
  # Specifies an Amazon DocumentDB or MongoDB data store to crawl.
10254
11648
  #
10255
11649
  # @note When making an API call, you may pass MongoDBTarget
@@ -10524,14 +11918,31 @@ module Aws::Glue
10524
11918
  #
10525
11919
  # @!attribute [rw] index_status
10526
11920
  # The status of the partition index.
11921
+ #
11922
+ # The possible statuses are:
11923
+ #
11924
+ # * CREATING: The index is being created. When an index is in a
11925
+ # CREATING state, the index or its table cannot be deleted.
11926
+ #
11927
+ # * ACTIVE: The index creation succeeds.
11928
+ #
11929
+ # * FAILED: The index creation fails.
11930
+ #
11931
+ # * DELETING: The index is deleted from the list of indexes.
10527
11932
  # @return [String]
10528
11933
  #
11934
+ # @!attribute [rw] backfill_errors
11935
+ # A list of errors that can occur when registering partition indexes
11936
+ # for an existing table.
11937
+ # @return [Array<Types::BackfillError>]
11938
+ #
10529
11939
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PartitionIndexDescriptor AWS API Documentation
10530
11940
  #
10531
11941
  class PartitionIndexDescriptor < Struct.new(
10532
11942
  :index_name,
10533
11943
  :keys,
10534
- :index_status)
11944
+ :index_status,
11945
+ :backfill_errors)
10535
11946
  SENSITIVE = []
10536
11947
  include Aws::Structure
10537
11948
  end
@@ -10585,6 +11996,15 @@ module Aws::Glue
10585
11996
  # },
10586
11997
  # },
10587
11998
  # stored_as_sub_directories: false,
11999
+ # schema_reference: {
12000
+ # schema_id: {
12001
+ # schema_arn: "GlueResourceArn",
12002
+ # schema_name: "SchemaRegistryNameString",
12003
+ # registry_name: "SchemaRegistryNameString",
12004
+ # },
12005
+ # schema_version_id: "SchemaVersionIdString",
12006
+ # schema_version_number: 1,
12007
+ # },
10588
12008
  # },
10589
12009
  # parameters: {
10590
12010
  # "KeyString" => "ParametersMapValue",
@@ -10914,84 +12334,490 @@ module Aws::Glue
10914
12334
  # in a subsequent call that overwrites or updates this policy.
10915
12335
  # @return [String]
10916
12336
  #
10917
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutResourcePolicyResponse AWS API Documentation
12337
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutResourcePolicyResponse AWS API Documentation
12338
+ #
12339
+ class PutResourcePolicyResponse < Struct.new(
12340
+ :policy_hash)
12341
+ SENSITIVE = []
12342
+ include Aws::Structure
12343
+ end
12344
+
12345
+ # @note When making an API call, you may pass PutSchemaVersionMetadataInput
12346
+ # data as a hash:
12347
+ #
12348
+ # {
12349
+ # schema_id: {
12350
+ # schema_arn: "GlueResourceArn",
12351
+ # schema_name: "SchemaRegistryNameString",
12352
+ # registry_name: "SchemaRegistryNameString",
12353
+ # },
12354
+ # schema_version_number: {
12355
+ # latest_version: false,
12356
+ # version_number: 1,
12357
+ # },
12358
+ # schema_version_id: "SchemaVersionIdString",
12359
+ # metadata_key_value: { # required
12360
+ # metadata_key: "MetadataKeyString",
12361
+ # metadata_value: "MetadataValueString",
12362
+ # },
12363
+ # }
12364
+ #
12365
+ # @!attribute [rw] schema_id
12366
+ # The unique ID for the schema.
12367
+ # @return [Types::SchemaId]
12368
+ #
12369
+ # @!attribute [rw] schema_version_number
12370
+ # The version number of the schema.
12371
+ # @return [Types::SchemaVersionNumber]
12372
+ #
12373
+ # @!attribute [rw] schema_version_id
12374
+ # The unique version ID of the schema version.
12375
+ # @return [String]
12376
+ #
12377
+ # @!attribute [rw] metadata_key_value
12378
+ # The metadata key's corresponding value.
12379
+ # @return [Types::MetadataKeyValuePair]
12380
+ #
12381
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutSchemaVersionMetadataInput AWS API Documentation
12382
+ #
12383
+ class PutSchemaVersionMetadataInput < Struct.new(
12384
+ :schema_id,
12385
+ :schema_version_number,
12386
+ :schema_version_id,
12387
+ :metadata_key_value)
12388
+ SENSITIVE = []
12389
+ include Aws::Structure
12390
+ end
12391
+
12392
+ # @!attribute [rw] schema_arn
12393
+ # The Amazon Resource Name (ARN) for the schema.
12394
+ # @return [String]
12395
+ #
12396
+ # @!attribute [rw] schema_name
12397
+ # The name for the schema.
12398
+ # @return [String]
12399
+ #
12400
+ # @!attribute [rw] registry_name
12401
+ # The name for the registry.
12402
+ # @return [String]
12403
+ #
12404
+ # @!attribute [rw] latest_version
12405
+ # The latest version of the schema.
12406
+ # @return [Boolean]
12407
+ #
12408
+ # @!attribute [rw] version_number
12409
+ # The version number of the schema.
12410
+ # @return [Integer]
12411
+ #
12412
+ # @!attribute [rw] schema_version_id
12413
+ # The unique version ID of the schema version.
12414
+ # @return [String]
12415
+ #
12416
+ # @!attribute [rw] metadata_key
12417
+ # The metadata key.
12418
+ # @return [String]
12419
+ #
12420
+ # @!attribute [rw] metadata_value
12421
+ # The value of the metadata key.
12422
+ # @return [String]
12423
+ #
12424
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutSchemaVersionMetadataResponse AWS API Documentation
12425
+ #
12426
+ class PutSchemaVersionMetadataResponse < Struct.new(
12427
+ :schema_arn,
12428
+ :schema_name,
12429
+ :registry_name,
12430
+ :latest_version,
12431
+ :version_number,
12432
+ :schema_version_id,
12433
+ :metadata_key,
12434
+ :metadata_value)
12435
+ SENSITIVE = []
12436
+ include Aws::Structure
12437
+ end
12438
+
12439
+ # @note When making an API call, you may pass PutWorkflowRunPropertiesRequest
12440
+ # data as a hash:
12441
+ #
12442
+ # {
12443
+ # name: "NameString", # required
12444
+ # run_id: "IdString", # required
12445
+ # run_properties: { # required
12446
+ # "IdString" => "GenericString",
12447
+ # },
12448
+ # }
12449
+ #
12450
+ # @!attribute [rw] name
12451
+ # Name of the workflow which was run.
12452
+ # @return [String]
12453
+ #
12454
+ # @!attribute [rw] run_id
12455
+ # The ID of the workflow run for which the run properties should be
12456
+ # updated.
12457
+ # @return [String]
12458
+ #
12459
+ # @!attribute [rw] run_properties
12460
+ # The properties to put for the specified run.
12461
+ # @return [Hash<String,String>]
12462
+ #
12463
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutWorkflowRunPropertiesRequest AWS API Documentation
12464
+ #
12465
+ class PutWorkflowRunPropertiesRequest < Struct.new(
12466
+ :name,
12467
+ :run_id,
12468
+ :run_properties)
12469
+ SENSITIVE = []
12470
+ include Aws::Structure
12471
+ end
12472
+
12473
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutWorkflowRunPropertiesResponse AWS API Documentation
12474
+ #
12475
+ class PutWorkflowRunPropertiesResponse < Aws::EmptyStructure; end
12476
+
12477
+ # @note When making an API call, you may pass QuerySchemaVersionMetadataInput
12478
+ # data as a hash:
12479
+ #
12480
+ # {
12481
+ # schema_id: {
12482
+ # schema_arn: "GlueResourceArn",
12483
+ # schema_name: "SchemaRegistryNameString",
12484
+ # registry_name: "SchemaRegistryNameString",
12485
+ # },
12486
+ # schema_version_number: {
12487
+ # latest_version: false,
12488
+ # version_number: 1,
12489
+ # },
12490
+ # schema_version_id: "SchemaVersionIdString",
12491
+ # metadata_list: [
12492
+ # {
12493
+ # metadata_key: "MetadataKeyString",
12494
+ # metadata_value: "MetadataValueString",
12495
+ # },
12496
+ # ],
12497
+ # max_results: 1,
12498
+ # next_token: "SchemaRegistryTokenString",
12499
+ # }
12500
+ #
12501
+ # @!attribute [rw] schema_id
12502
+ # A wrapper structure that may contain the schema name and Amazon
12503
+ # Resource Name (ARN).
12504
+ # @return [Types::SchemaId]
12505
+ #
12506
+ # @!attribute [rw] schema_version_number
12507
+ # The version number of the schema.
12508
+ # @return [Types::SchemaVersionNumber]
12509
+ #
12510
+ # @!attribute [rw] schema_version_id
12511
+ # The unique version ID of the schema version.
12512
+ # @return [String]
12513
+ #
12514
+ # @!attribute [rw] metadata_list
12515
+ # Search key-value pairs for metadata, if they are not provided all
12516
+ # the metadata information will be fetched.
12517
+ # @return [Array<Types::MetadataKeyValuePair>]
12518
+ #
12519
+ # @!attribute [rw] max_results
12520
+ # Maximum number of results required per page. If the value is not
12521
+ # supplied, this will be defaulted to 25 per page.
12522
+ # @return [Integer]
12523
+ #
12524
+ # @!attribute [rw] next_token
12525
+ # A continuation token, if this is a continuation call.
12526
+ # @return [String]
12527
+ #
12528
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/QuerySchemaVersionMetadataInput AWS API Documentation
12529
+ #
12530
+ class QuerySchemaVersionMetadataInput < Struct.new(
12531
+ :schema_id,
12532
+ :schema_version_number,
12533
+ :schema_version_id,
12534
+ :metadata_list,
12535
+ :max_results,
12536
+ :next_token)
12537
+ SENSITIVE = []
12538
+ include Aws::Structure
12539
+ end
12540
+
12541
+ # @!attribute [rw] metadata_info_map
12542
+ # A map of a metadata key and associated values.
12543
+ # @return [Hash<String,Types::MetadataInfo>]
12544
+ #
12545
+ # @!attribute [rw] schema_version_id
12546
+ # The unique version ID of the schema version.
12547
+ # @return [String]
12548
+ #
12549
+ # @!attribute [rw] next_token
12550
+ # A continuation token for paginating the returned list of tokens,
12551
+ # returned if the current segment of the list is not the last.
12552
+ # @return [String]
12553
+ #
12554
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/QuerySchemaVersionMetadataResponse AWS API Documentation
12555
+ #
12556
+ class QuerySchemaVersionMetadataResponse < Struct.new(
12557
+ :metadata_info_map,
12558
+ :schema_version_id,
12559
+ :next_token)
12560
+ SENSITIVE = []
12561
+ include Aws::Structure
12562
+ end
12563
+
12564
+ # When crawling an Amazon S3 data source after the first crawl is
12565
+ # complete, specifies whether to crawl the entire dataset again or to
12566
+ # crawl only folders that were added since the last crawler run. For
12567
+ # more information, see [Incremental Crawls in AWS Glue][1] in the
12568
+ # developer guide.
12569
+ #
12570
+ #
12571
+ #
12572
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/incremental-crawls.html
12573
+ #
12574
+ # @note When making an API call, you may pass RecrawlPolicy
12575
+ # data as a hash:
12576
+ #
12577
+ # {
12578
+ # recrawl_behavior: "CRAWL_EVERYTHING", # accepts CRAWL_EVERYTHING, CRAWL_NEW_FOLDERS_ONLY
12579
+ # }
12580
+ #
12581
+ # @!attribute [rw] recrawl_behavior
12582
+ # Specifies whether to crawl the entire dataset again or to crawl only
12583
+ # folders that were added since the last crawler run.
12584
+ #
12585
+ # A value of `CRAWL_EVERYTHING` specifies crawling the entire dataset
12586
+ # again.
12587
+ #
12588
+ # A value of `CRAWL_NEW_FOLDERS_ONLY` specifies crawling only folders
12589
+ # that were added since the last crawler run.
12590
+ # @return [String]
12591
+ #
12592
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RecrawlPolicy AWS API Documentation
12593
+ #
12594
+ class RecrawlPolicy < Struct.new(
12595
+ :recrawl_behavior)
12596
+ SENSITIVE = []
12597
+ include Aws::Structure
12598
+ end
12599
+
12600
+ # @note When making an API call, you may pass RegisterSchemaVersionInput
12601
+ # data as a hash:
12602
+ #
12603
+ # {
12604
+ # schema_id: { # required
12605
+ # schema_arn: "GlueResourceArn",
12606
+ # schema_name: "SchemaRegistryNameString",
12607
+ # registry_name: "SchemaRegistryNameString",
12608
+ # },
12609
+ # schema_definition: "SchemaDefinitionString", # required
12610
+ # }
12611
+ #
12612
+ # @!attribute [rw] schema_id
12613
+ # This is a wrapper structure to contain schema identity fields. The
12614
+ # structure contains:
12615
+ #
12616
+ # * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema.
12617
+ # Either `SchemaArn` or `SchemaName` and `RegistryName` has to be
12618
+ # provided.
12619
+ #
12620
+ # * SchemaId$SchemaName: The name of the schema. Either `SchemaArn` or
12621
+ # `SchemaName` and `RegistryName` has to be provided.
12622
+ # @return [Types::SchemaId]
12623
+ #
12624
+ # @!attribute [rw] schema_definition
12625
+ # The schema definition using the `DataFormat` setting for the
12626
+ # `SchemaName`.
12627
+ # @return [String]
12628
+ #
12629
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RegisterSchemaVersionInput AWS API Documentation
12630
+ #
12631
+ class RegisterSchemaVersionInput < Struct.new(
12632
+ :schema_id,
12633
+ :schema_definition)
12634
+ SENSITIVE = []
12635
+ include Aws::Structure
12636
+ end
12637
+
12638
+ # @!attribute [rw] schema_version_id
12639
+ # The unique ID that represents the version of this schema.
12640
+ # @return [String]
12641
+ #
12642
+ # @!attribute [rw] version_number
12643
+ # The version of this schema (for sync flow only, in case this is the
12644
+ # first version).
12645
+ # @return [Integer]
12646
+ #
12647
+ # @!attribute [rw] status
12648
+ # The status of the schema version.
12649
+ # @return [String]
12650
+ #
12651
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RegisterSchemaVersionResponse AWS API Documentation
12652
+ #
12653
+ class RegisterSchemaVersionResponse < Struct.new(
12654
+ :schema_version_id,
12655
+ :version_number,
12656
+ :status)
12657
+ SENSITIVE = []
12658
+ include Aws::Structure
12659
+ end
12660
+
12661
+ # A wrapper structure that may contain the registry name and Amazon
12662
+ # Resource Name (ARN).
12663
+ #
12664
+ # @note When making an API call, you may pass RegistryId
12665
+ # data as a hash:
12666
+ #
12667
+ # {
12668
+ # registry_name: "SchemaRegistryNameString",
12669
+ # registry_arn: "GlueResourceArn",
12670
+ # }
12671
+ #
12672
+ # @!attribute [rw] registry_name
12673
+ # Name of the registry. Used only for lookup. One of `RegistryArn` or
12674
+ # `RegistryName` has to be provided.
12675
+ # @return [String]
12676
+ #
12677
+ # @!attribute [rw] registry_arn
12678
+ # Arn of the registry to be updated. One of `RegistryArn` or
12679
+ # `RegistryName` has to be provided.
12680
+ # @return [String]
12681
+ #
12682
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RegistryId AWS API Documentation
12683
+ #
12684
+ class RegistryId < Struct.new(
12685
+ :registry_name,
12686
+ :registry_arn)
12687
+ SENSITIVE = []
12688
+ include Aws::Structure
12689
+ end
12690
+
12691
+ # A structure containing the details for a registry.
12692
+ #
12693
+ # @!attribute [rw] registry_name
12694
+ # The name of the registry.
12695
+ # @return [String]
12696
+ #
12697
+ # @!attribute [rw] registry_arn
12698
+ # The Amazon Resource Name (ARN) of the registry.
12699
+ # @return [String]
10918
12700
  #
10919
- class PutResourcePolicyResponse < Struct.new(
10920
- :policy_hash)
12701
+ # @!attribute [rw] description
12702
+ # A description of the registry.
12703
+ # @return [String]
12704
+ #
12705
+ # @!attribute [rw] status
12706
+ # The status of the registry.
12707
+ # @return [String]
12708
+ #
12709
+ # @!attribute [rw] created_time
12710
+ # The data the registry was created.
12711
+ # @return [String]
12712
+ #
12713
+ # @!attribute [rw] updated_time
12714
+ # The date the registry was updated.
12715
+ # @return [String]
12716
+ #
12717
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RegistryListItem AWS API Documentation
12718
+ #
12719
+ class RegistryListItem < Struct.new(
12720
+ :registry_name,
12721
+ :registry_arn,
12722
+ :description,
12723
+ :status,
12724
+ :created_time,
12725
+ :updated_time)
10921
12726
  SENSITIVE = []
10922
12727
  include Aws::Structure
10923
12728
  end
10924
12729
 
10925
- # @note When making an API call, you may pass PutWorkflowRunPropertiesRequest
12730
+ # @note When making an API call, you may pass RemoveSchemaVersionMetadataInput
10926
12731
  # data as a hash:
10927
12732
  #
10928
12733
  # {
10929
- # name: "NameString", # required
10930
- # run_id: "IdString", # required
10931
- # run_properties: { # required
10932
- # "IdString" => "GenericString",
12734
+ # schema_id: {
12735
+ # schema_arn: "GlueResourceArn",
12736
+ # schema_name: "SchemaRegistryNameString",
12737
+ # registry_name: "SchemaRegistryNameString",
12738
+ # },
12739
+ # schema_version_number: {
12740
+ # latest_version: false,
12741
+ # version_number: 1,
12742
+ # },
12743
+ # schema_version_id: "SchemaVersionIdString",
12744
+ # metadata_key_value: { # required
12745
+ # metadata_key: "MetadataKeyString",
12746
+ # metadata_value: "MetadataValueString",
10933
12747
  # },
10934
12748
  # }
10935
12749
  #
10936
- # @!attribute [rw] name
10937
- # Name of the workflow which was run.
10938
- # @return [String]
12750
+ # @!attribute [rw] schema_id
12751
+ # A wrapper structure that may contain the schema name and Amazon
12752
+ # Resource Name (ARN).
12753
+ # @return [Types::SchemaId]
10939
12754
  #
10940
- # @!attribute [rw] run_id
10941
- # The ID of the workflow run for which the run properties should be
10942
- # updated.
12755
+ # @!attribute [rw] schema_version_number
12756
+ # The version number of the schema.
12757
+ # @return [Types::SchemaVersionNumber]
12758
+ #
12759
+ # @!attribute [rw] schema_version_id
12760
+ # The unique version ID of the schema version.
10943
12761
  # @return [String]
10944
12762
  #
10945
- # @!attribute [rw] run_properties
10946
- # The properties to put for the specified run.
10947
- # @return [Hash<String,String>]
12763
+ # @!attribute [rw] metadata_key_value
12764
+ # The value of the metadata key.
12765
+ # @return [Types::MetadataKeyValuePair]
10948
12766
  #
10949
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutWorkflowRunPropertiesRequest AWS API Documentation
12767
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RemoveSchemaVersionMetadataInput AWS API Documentation
10950
12768
  #
10951
- class PutWorkflowRunPropertiesRequest < Struct.new(
10952
- :name,
10953
- :run_id,
10954
- :run_properties)
12769
+ class RemoveSchemaVersionMetadataInput < Struct.new(
12770
+ :schema_id,
12771
+ :schema_version_number,
12772
+ :schema_version_id,
12773
+ :metadata_key_value)
10955
12774
  SENSITIVE = []
10956
12775
  include Aws::Structure
10957
12776
  end
10958
12777
 
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
- #
12778
+ # @!attribute [rw] schema_arn
12779
+ # The Amazon Resource Name (ARN) of the schema.
12780
+ # @return [String]
10969
12781
  #
12782
+ # @!attribute [rw] schema_name
12783
+ # The name of the schema.
12784
+ # @return [String]
10970
12785
  #
10971
- # [1]: https://docs.aws.amazon.com/glue/latest/dg/incremental-crawls.html
12786
+ # @!attribute [rw] registry_name
12787
+ # The name of the registry.
12788
+ # @return [String]
10972
12789
  #
10973
- # @note When making an API call, you may pass RecrawlPolicy
10974
- # data as a hash:
12790
+ # @!attribute [rw] latest_version
12791
+ # The latest version of the schema.
12792
+ # @return [Boolean]
10975
12793
  #
10976
- # {
10977
- # recrawl_behavior: "CRAWL_EVERYTHING", # accepts CRAWL_EVERYTHING, CRAWL_NEW_FOLDERS_ONLY
10978
- # }
12794
+ # @!attribute [rw] version_number
12795
+ # The version number of the schema.
12796
+ # @return [Integer]
10979
12797
  #
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.
12798
+ # @!attribute [rw] schema_version_id
12799
+ # The version ID for the schema version.
12800
+ # @return [String]
10983
12801
  #
10984
- # A value of `CRAWL_EVERYTHING` specifies crawling the entire dataset
10985
- # again.
12802
+ # @!attribute [rw] metadata_key
12803
+ # The metadata key.
12804
+ # @return [String]
10986
12805
  #
10987
- # A value of `CRAWL_NEW_FOLDERS_ONLY` specifies crawling only folders
10988
- # that were added since the last crawler run.
12806
+ # @!attribute [rw] metadata_value
12807
+ # The value of the metadata key.
10989
12808
  # @return [String]
10990
12809
  #
10991
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RecrawlPolicy AWS API Documentation
12810
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RemoveSchemaVersionMetadataResponse AWS API Documentation
10992
12811
  #
10993
- class RecrawlPolicy < Struct.new(
10994
- :recrawl_behavior)
12812
+ class RemoveSchemaVersionMetadataResponse < Struct.new(
12813
+ :schema_arn,
12814
+ :schema_name,
12815
+ :registry_name,
12816
+ :latest_version,
12817
+ :version_number,
12818
+ :schema_version_id,
12819
+ :metadata_key,
12820
+ :metadata_value)
10995
12821
  SENSITIVE = []
10996
12822
  include Aws::Structure
10997
12823
  end
@@ -11317,6 +13143,206 @@ module Aws::Glue
11317
13143
  include Aws::Structure
11318
13144
  end
11319
13145
 
13146
+ # The unique ID of the schema in the AWS Glue schema registry.
13147
+ #
13148
+ # @note When making an API call, you may pass SchemaId
13149
+ # data as a hash:
13150
+ #
13151
+ # {
13152
+ # schema_arn: "GlueResourceArn",
13153
+ # schema_name: "SchemaRegistryNameString",
13154
+ # registry_name: "SchemaRegistryNameString",
13155
+ # }
13156
+ #
13157
+ # @!attribute [rw] schema_arn
13158
+ # The Amazon Resource Name (ARN) of the schema. One of `SchemaArn` or
13159
+ # `SchemaName` has to be provided.
13160
+ # @return [String]
13161
+ #
13162
+ # @!attribute [rw] schema_name
13163
+ # The name of the schema. One of `SchemaArn` or `SchemaName` has to be
13164
+ # provided.
13165
+ # @return [String]
13166
+ #
13167
+ # @!attribute [rw] registry_name
13168
+ # The name of the schema registry that contains the schema.
13169
+ # @return [String]
13170
+ #
13171
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SchemaId AWS API Documentation
13172
+ #
13173
+ class SchemaId < Struct.new(
13174
+ :schema_arn,
13175
+ :schema_name,
13176
+ :registry_name)
13177
+ SENSITIVE = []
13178
+ include Aws::Structure
13179
+ end
13180
+
13181
+ # An object that contains minimal details for a schema.
13182
+ #
13183
+ # @!attribute [rw] registry_name
13184
+ # the name of the registry where the schema resides.
13185
+ # @return [String]
13186
+ #
13187
+ # @!attribute [rw] schema_name
13188
+ # The name of the schema.
13189
+ # @return [String]
13190
+ #
13191
+ # @!attribute [rw] schema_arn
13192
+ # The Amazon Resource Name (ARN) for the schema.
13193
+ # @return [String]
13194
+ #
13195
+ # @!attribute [rw] description
13196
+ # A description for the schema.
13197
+ # @return [String]
13198
+ #
13199
+ # @!attribute [rw] schema_status
13200
+ # The status of the schema.
13201
+ # @return [String]
13202
+ #
13203
+ # @!attribute [rw] created_time
13204
+ # The date and time that a schema was created.
13205
+ # @return [String]
13206
+ #
13207
+ # @!attribute [rw] updated_time
13208
+ # The date and time that a schema was updated.
13209
+ # @return [String]
13210
+ #
13211
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SchemaListItem AWS API Documentation
13212
+ #
13213
+ class SchemaListItem < Struct.new(
13214
+ :registry_name,
13215
+ :schema_name,
13216
+ :schema_arn,
13217
+ :description,
13218
+ :schema_status,
13219
+ :created_time,
13220
+ :updated_time)
13221
+ SENSITIVE = []
13222
+ include Aws::Structure
13223
+ end
13224
+
13225
+ # An object that references a schema stored in the AWS Glue Schema
13226
+ # Registry.
13227
+ #
13228
+ # @note When making an API call, you may pass SchemaReference
13229
+ # data as a hash:
13230
+ #
13231
+ # {
13232
+ # schema_id: {
13233
+ # schema_arn: "GlueResourceArn",
13234
+ # schema_name: "SchemaRegistryNameString",
13235
+ # registry_name: "SchemaRegistryNameString",
13236
+ # },
13237
+ # schema_version_id: "SchemaVersionIdString",
13238
+ # schema_version_number: 1,
13239
+ # }
13240
+ #
13241
+ # @!attribute [rw] schema_id
13242
+ # A structure that contains schema identity fields. Either this or the
13243
+ # `SchemaVersionId` has to be provided.
13244
+ # @return [Types::SchemaId]
13245
+ #
13246
+ # @!attribute [rw] schema_version_id
13247
+ # The unique ID assigned to a version of the schema. Either this or
13248
+ # the `SchemaId` has to be provided.
13249
+ # @return [String]
13250
+ #
13251
+ # @!attribute [rw] schema_version_number
13252
+ # The version number of the schema.
13253
+ # @return [Integer]
13254
+ #
13255
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SchemaReference AWS API Documentation
13256
+ #
13257
+ class SchemaReference < Struct.new(
13258
+ :schema_id,
13259
+ :schema_version_id,
13260
+ :schema_version_number)
13261
+ SENSITIVE = []
13262
+ include Aws::Structure
13263
+ end
13264
+
13265
+ # An object that contains the error details for an operation on a schema
13266
+ # version.
13267
+ #
13268
+ # @!attribute [rw] version_number
13269
+ # The version number of the schema.
13270
+ # @return [Integer]
13271
+ #
13272
+ # @!attribute [rw] error_details
13273
+ # The details of the error for the schema version.
13274
+ # @return [Types::ErrorDetails]
13275
+ #
13276
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SchemaVersionErrorItem AWS API Documentation
13277
+ #
13278
+ class SchemaVersionErrorItem < Struct.new(
13279
+ :version_number,
13280
+ :error_details)
13281
+ SENSITIVE = []
13282
+ include Aws::Structure
13283
+ end
13284
+
13285
+ # An object containing the details about a schema version.
13286
+ #
13287
+ # @!attribute [rw] schema_arn
13288
+ # The Amazon Resource Name (ARN) of the schema.
13289
+ # @return [String]
13290
+ #
13291
+ # @!attribute [rw] schema_version_id
13292
+ # The unique identifier of the schema version.
13293
+ # @return [String]
13294
+ #
13295
+ # @!attribute [rw] version_number
13296
+ # The version number of the schema.
13297
+ # @return [Integer]
13298
+ #
13299
+ # @!attribute [rw] status
13300
+ # The status of the schema version.
13301
+ # @return [String]
13302
+ #
13303
+ # @!attribute [rw] created_time
13304
+ # The date and time the schema version was created.
13305
+ # @return [String]
13306
+ #
13307
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SchemaVersionListItem AWS API Documentation
13308
+ #
13309
+ class SchemaVersionListItem < Struct.new(
13310
+ :schema_arn,
13311
+ :schema_version_id,
13312
+ :version_number,
13313
+ :status,
13314
+ :created_time)
13315
+ SENSITIVE = []
13316
+ include Aws::Structure
13317
+ end
13318
+
13319
+ # A structure containing the schema version information.
13320
+ #
13321
+ # @note When making an API call, you may pass SchemaVersionNumber
13322
+ # data as a hash:
13323
+ #
13324
+ # {
13325
+ # latest_version: false,
13326
+ # version_number: 1,
13327
+ # }
13328
+ #
13329
+ # @!attribute [rw] latest_version
13330
+ # The latest version available for the schema.
13331
+ # @return [Boolean]
13332
+ #
13333
+ # @!attribute [rw] version_number
13334
+ # The version number of the schema.
13335
+ # @return [Integer]
13336
+ #
13337
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SchemaVersionNumber AWS API Documentation
13338
+ #
13339
+ class SchemaVersionNumber < Struct.new(
13340
+ :latest_version,
13341
+ :version_number)
13342
+ SENSITIVE = []
13343
+ include Aws::Structure
13344
+ end
13345
+
11320
13346
  # @note When making an API call, you may pass SearchTablesRequest
11321
13347
  # data as a hash:
11322
13348
  #
@@ -12149,6 +14175,15 @@ module Aws::Glue
12149
14175
  # },
12150
14176
  # },
12151
14177
  # stored_as_sub_directories: false,
14178
+ # schema_reference: {
14179
+ # schema_id: {
14180
+ # schema_arn: "GlueResourceArn",
14181
+ # schema_name: "SchemaRegistryNameString",
14182
+ # registry_name: "SchemaRegistryNameString",
14183
+ # },
14184
+ # schema_version_id: "SchemaVersionIdString",
14185
+ # schema_version_number: 1,
14186
+ # },
12152
14187
  # }
12153
14188
  #
12154
14189
  # @!attribute [rw] columns
@@ -12206,6 +14241,14 @@ module Aws::Glue
12206
14241
  # not.
12207
14242
  # @return [Boolean]
12208
14243
  #
14244
+ # @!attribute [rw] schema_reference
14245
+ # An object that references a schema stored in the AWS Glue Schema
14246
+ # Registry.
14247
+ #
14248
+ # When creating a table, you can pass an empty list of columns for the
14249
+ # schema, and instead use a schema reference.
14250
+ # @return [Types::SchemaReference]
14251
+ #
12209
14252
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StorageDescriptor AWS API Documentation
12210
14253
  #
12211
14254
  class StorageDescriptor < Struct.new(
@@ -12220,12 +14263,14 @@ module Aws::Glue
12220
14263
  :sort_columns,
12221
14264
  :parameters,
12222
14265
  :skewed_info,
12223
- :stored_as_sub_directories)
14266
+ :stored_as_sub_directories,
14267
+ :schema_reference)
12224
14268
  SENSITIVE = []
12225
14269
  include Aws::Structure
12226
14270
  end
12227
14271
 
12228
- # Defines a string column statistics data.
14272
+ # Defines column statistics supported for character sequence data
14273
+ # values.
12229
14274
  #
12230
14275
  # @note When making an API call, you may pass StringColumnStatisticsData
12231
14276
  # data as a hash:
@@ -12238,19 +14283,19 @@ module Aws::Glue
12238
14283
  # }
12239
14284
  #
12240
14285
  # @!attribute [rw] maximum_length
12241
- # Maximum value of the column.
14286
+ # The size of the longest string in the column.
12242
14287
  # @return [Integer]
12243
14288
  #
12244
14289
  # @!attribute [rw] average_length
12245
- # Average value of the column.
14290
+ # The average string length in the column.
12246
14291
  # @return [Float]
12247
14292
  #
12248
14293
  # @!attribute [rw] number_of_nulls
12249
- # Number of nulls.
14294
+ # The number of null values in the column.
12250
14295
  # @return [Integer]
12251
14296
  #
12252
14297
  # @!attribute [rw] number_of_distinct_values
12253
- # Number of distinct values.
14298
+ # The number of distinct values in a column.
12254
14299
  # @return [Integer]
12255
14300
  #
12256
14301
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StringColumnStatisticsData AWS API Documentation
@@ -12489,6 +14534,15 @@ module Aws::Glue
12489
14534
  # },
12490
14535
  # },
12491
14536
  # stored_as_sub_directories: false,
14537
+ # schema_reference: {
14538
+ # schema_id: {
14539
+ # schema_arn: "GlueResourceArn",
14540
+ # schema_name: "SchemaRegistryNameString",
14541
+ # registry_name: "SchemaRegistryNameString",
14542
+ # },
14543
+ # schema_version_id: "SchemaVersionIdString",
14544
+ # schema_version_number: 1,
14545
+ # },
12492
14546
  # },
12493
14547
  # partition_keys: [
12494
14548
  # {
@@ -12846,6 +14900,42 @@ module Aws::Glue
12846
14900
  include Aws::Structure
12847
14901
  end
12848
14902
 
14903
+ # The encryption-at-rest settings of the transform that apply to
14904
+ # accessing user data. Machine learning transforms can access user data
14905
+ # encrypted in Amazon S3 using KMS.
14906
+ #
14907
+ # Additionally, imported labels and trained transforms can now be
14908
+ # encrypted using a customer provided KMS key.
14909
+ #
14910
+ # @note When making an API call, you may pass TransformEncryption
14911
+ # data as a hash:
14912
+ #
14913
+ # {
14914
+ # ml_user_data_encryption: {
14915
+ # ml_user_data_encryption_mode: "DISABLED", # required, accepts DISABLED, SSE-KMS
14916
+ # kms_key_id: "NameString",
14917
+ # },
14918
+ # task_run_security_configuration_name: "NameString",
14919
+ # }
14920
+ #
14921
+ # @!attribute [rw] ml_user_data_encryption
14922
+ # An `MLUserDataEncryption` object containing the encryption mode and
14923
+ # customer-provided KMS key ID.
14924
+ # @return [Types::MLUserDataEncryption]
14925
+ #
14926
+ # @!attribute [rw] task_run_security_configuration_name
14927
+ # The name of the security configuration.
14928
+ # @return [String]
14929
+ #
14930
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TransformEncryption AWS API Documentation
14931
+ #
14932
+ class TransformEncryption < Struct.new(
14933
+ :ml_user_data_encryption,
14934
+ :task_run_security_configuration_name)
14935
+ SENSITIVE = []
14936
+ include Aws::Structure
14937
+ end
14938
+
12849
14939
  # The criteria used to filter the machine learning transforms.
12850
14940
  #
12851
14941
  # @note When making an API call, you may pass TransformFilterCriteria
@@ -12960,7 +15050,7 @@ module Aws::Glue
12960
15050
  #
12961
15051
  #
12962
15052
  #
12963
- # [1]: http://docs.aws.amazon.com/glue/latest/dg/add-job-machine-learning-transform.html
15053
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/add-job-machine-learning-transform.html
12964
15054
  # @return [String]
12965
15055
  #
12966
15056
  # @!attribute [rw] find_matches_parameters
@@ -13473,7 +15563,7 @@ module Aws::Glue
13473
15563
  # connection_input: { # required
13474
15564
  # name: "NameString", # required
13475
15565
  # description: "DescriptionString",
13476
- # connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
15566
+ # connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK, MARKETPLACE, CUSTOM
13477
15567
  # match_criteria: ["NameString"],
13478
15568
  # connection_properties: { # required
13479
15569
  # "HOST" => "ValueString",
@@ -13568,6 +15658,9 @@ module Aws::Glue
13568
15658
  # recrawl_policy: {
13569
15659
  # recrawl_behavior: "CRAWL_EVERYTHING", # accepts CRAWL_EVERYTHING, CRAWL_NEW_FOLDERS_ONLY
13570
15660
  # },
15661
+ # lineage_configuration: {
15662
+ # crawler_lineage_settings: "ENABLE", # accepts ENABLE, DISABLE
15663
+ # },
13571
15664
  # configuration: "CrawlerConfiguration",
13572
15665
  # crawler_security_configuration: "CrawlerSecurityConfiguration",
13573
15666
  # }
@@ -13624,6 +15717,10 @@ module Aws::Glue
13624
15717
  # or to crawl only folders that were added since the last crawler run.
13625
15718
  # @return [Types::RecrawlPolicy]
13626
15719
  #
15720
+ # @!attribute [rw] lineage_configuration
15721
+ # Specifies data lineage configuration settings for the crawler.
15722
+ # @return [Types::LineageConfiguration]
15723
+ #
13627
15724
  # @!attribute [rw] configuration
13628
15725
  # Crawler configuration information. This versioned JSON string allows
13629
15726
  # users to specify aspects of a crawler's behavior. For more
@@ -13652,6 +15749,7 @@ module Aws::Glue
13652
15749
  :table_prefix,
13653
15750
  :schema_change_policy,
13654
15751
  :recrawl_policy,
15752
+ :lineage_configuration,
13655
15753
  :configuration,
13656
15754
  :crawler_security_configuration)
13657
15755
  SENSITIVE = []
@@ -14233,6 +16331,15 @@ module Aws::Glue
14233
16331
  # },
14234
16332
  # },
14235
16333
  # stored_as_sub_directories: false,
16334
+ # schema_reference: {
16335
+ # schema_id: {
16336
+ # schema_arn: "GlueResourceArn",
16337
+ # schema_name: "SchemaRegistryNameString",
16338
+ # registry_name: "SchemaRegistryNameString",
16339
+ # },
16340
+ # schema_version_id: "SchemaVersionIdString",
16341
+ # schema_version_number: 1,
16342
+ # },
14236
16343
  # },
14237
16344
  # parameters: {
14238
16345
  # "KeyString" => "ParametersMapValue",
@@ -14284,6 +16391,127 @@ module Aws::Glue
14284
16391
  #
14285
16392
  class UpdatePartitionResponse < Aws::EmptyStructure; end
14286
16393
 
16394
+ # @note When making an API call, you may pass UpdateRegistryInput
16395
+ # data as a hash:
16396
+ #
16397
+ # {
16398
+ # registry_id: { # required
16399
+ # registry_name: "SchemaRegistryNameString",
16400
+ # registry_arn: "GlueResourceArn",
16401
+ # },
16402
+ # description: "DescriptionString", # required
16403
+ # }
16404
+ #
16405
+ # @!attribute [rw] registry_id
16406
+ # This is a wrapper structure that may contain the registry name and
16407
+ # Amazon Resource Name (ARN).
16408
+ # @return [Types::RegistryId]
16409
+ #
16410
+ # @!attribute [rw] description
16411
+ # A description of the registry. If description is not provided, this
16412
+ # field will not be updated.
16413
+ # @return [String]
16414
+ #
16415
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateRegistryInput AWS API Documentation
16416
+ #
16417
+ class UpdateRegistryInput < Struct.new(
16418
+ :registry_id,
16419
+ :description)
16420
+ SENSITIVE = []
16421
+ include Aws::Structure
16422
+ end
16423
+
16424
+ # @!attribute [rw] registry_name
16425
+ # The name of the updated registry.
16426
+ # @return [String]
16427
+ #
16428
+ # @!attribute [rw] registry_arn
16429
+ # The Amazon Resource name (ARN) of the updated registry.
16430
+ # @return [String]
16431
+ #
16432
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateRegistryResponse AWS API Documentation
16433
+ #
16434
+ class UpdateRegistryResponse < Struct.new(
16435
+ :registry_name,
16436
+ :registry_arn)
16437
+ SENSITIVE = []
16438
+ include Aws::Structure
16439
+ end
16440
+
16441
+ # @note When making an API call, you may pass UpdateSchemaInput
16442
+ # data as a hash:
16443
+ #
16444
+ # {
16445
+ # schema_id: { # required
16446
+ # schema_arn: "GlueResourceArn",
16447
+ # schema_name: "SchemaRegistryNameString",
16448
+ # registry_name: "SchemaRegistryNameString",
16449
+ # },
16450
+ # schema_version_number: {
16451
+ # latest_version: false,
16452
+ # version_number: 1,
16453
+ # },
16454
+ # compatibility: "NONE", # accepts NONE, DISABLED, BACKWARD, BACKWARD_ALL, FORWARD, FORWARD_ALL, FULL, FULL_ALL
16455
+ # description: "DescriptionString",
16456
+ # }
16457
+ #
16458
+ # @!attribute [rw] schema_id
16459
+ # This is a wrapper structure to contain schema identity fields. The
16460
+ # structure contains:
16461
+ #
16462
+ # * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema.
16463
+ # One of `SchemaArn` or `SchemaName` has to be provided.
16464
+ #
16465
+ # * SchemaId$SchemaName: The name of the schema. One of `SchemaArn` or
16466
+ # `SchemaName` has to be provided.
16467
+ # @return [Types::SchemaId]
16468
+ #
16469
+ # @!attribute [rw] schema_version_number
16470
+ # Version number required for check pointing. One of `VersionNumber`
16471
+ # or `Compatibility` has to be provided.
16472
+ # @return [Types::SchemaVersionNumber]
16473
+ #
16474
+ # @!attribute [rw] compatibility
16475
+ # The new compatibility setting for the schema.
16476
+ # @return [String]
16477
+ #
16478
+ # @!attribute [rw] description
16479
+ # The new description for the schema.
16480
+ # @return [String]
16481
+ #
16482
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateSchemaInput AWS API Documentation
16483
+ #
16484
+ class UpdateSchemaInput < Struct.new(
16485
+ :schema_id,
16486
+ :schema_version_number,
16487
+ :compatibility,
16488
+ :description)
16489
+ SENSITIVE = []
16490
+ include Aws::Structure
16491
+ end
16492
+
16493
+ # @!attribute [rw] schema_arn
16494
+ # The Amazon Resource Name (ARN) of the schema.
16495
+ # @return [String]
16496
+ #
16497
+ # @!attribute [rw] schema_name
16498
+ # The name of the schema.
16499
+ # @return [String]
16500
+ #
16501
+ # @!attribute [rw] registry_name
16502
+ # The name of the registry that contains the schema.
16503
+ # @return [String]
16504
+ #
16505
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateSchemaResponse AWS API Documentation
16506
+ #
16507
+ class UpdateSchemaResponse < Struct.new(
16508
+ :schema_arn,
16509
+ :schema_name,
16510
+ :registry_name)
16511
+ SENSITIVE = []
16512
+ include Aws::Structure
16513
+ end
16514
+
14287
16515
  # @note When making an API call, you may pass UpdateTableRequest
14288
16516
  # data as a hash:
14289
16517
  #
@@ -14338,6 +16566,15 @@ module Aws::Glue
14338
16566
  # },
14339
16567
  # },
14340
16568
  # stored_as_sub_directories: false,
16569
+ # schema_reference: {
16570
+ # schema_id: {
16571
+ # schema_arn: "GlueResourceArn",
16572
+ # schema_name: "SchemaRegistryNameString",
16573
+ # registry_name: "SchemaRegistryNameString",
16574
+ # },
16575
+ # schema_version_id: "SchemaVersionIdString",
16576
+ # schema_version_number: 1,
16577
+ # },
14341
16578
  # },
14342
16579
  # partition_keys: [
14343
16580
  # {