aws-sdk-glue 1.78.0 → 1.83.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -114,6 +114,45 @@ module Aws::Glue
114
114
  include Aws::Structure
115
115
  end
116
116
 
117
+ # A list of errors that can occur when registering partition indexes for
118
+ # an existing table.
119
+ #
120
+ # These errors give the details about why an index registration failed
121
+ # and provide a limited number of partitions in the response, so that
122
+ # you can fix the partitions at fault and try registering the index
123
+ # again. The most common set of errors that can occur are categorized as
124
+ # follows:
125
+ #
126
+ # * EncryptedPartitionError: The partitions are encrypted.
127
+ #
128
+ # * InvalidPartitionTypeDataError: The partition value doesn't match
129
+ # the data type for that partition column.
130
+ #
131
+ # * MissingPartitionValueError: The partitions are encrypted.
132
+ #
133
+ # * UnsupportedPartitionCharacterError: Characters inside the partition
134
+ # value are not supported. For example: U+0000 , U+0001, U+0002.
135
+ #
136
+ # * InternalError: Any error which does not belong to other error codes.
137
+ #
138
+ # @!attribute [rw] code
139
+ # The error code for an error that occurred when registering partition
140
+ # indexes for an existing table.
141
+ # @return [String]
142
+ #
143
+ # @!attribute [rw] partitions
144
+ # A list of a limited number of partitions in the response.
145
+ # @return [Array<Types::PartitionValueList>]
146
+ #
147
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BackfillError AWS API Documentation
148
+ #
149
+ class BackfillError < Struct.new(
150
+ :code,
151
+ :partitions)
152
+ SENSITIVE = []
153
+ include Aws::Structure
154
+ end
155
+
117
156
  # @note When making an API call, you may pass BatchCreatePartitionRequest
118
157
  # data as a hash:
119
158
  #
@@ -166,6 +205,15 @@ module Aws::Glue
166
205
  # },
167
206
  # },
168
207
  # stored_as_sub_directories: false,
208
+ # schema_reference: {
209
+ # schema_id: {
210
+ # schema_arn: "GlueResourceArn",
211
+ # schema_name: "SchemaRegistryNameString",
212
+ # registry_name: "SchemaRegistryNameString",
213
+ # },
214
+ # schema_version_id: "SchemaVersionIdString",
215
+ # schema_version_number: 1,
216
+ # },
169
217
  # },
170
218
  # parameters: {
171
219
  # "KeyString" => "ParametersMapValue",
@@ -837,6 +885,15 @@ module Aws::Glue
837
885
  # },
838
886
  # },
839
887
  # stored_as_sub_directories: false,
888
+ # schema_reference: {
889
+ # schema_id: {
890
+ # schema_arn: "GlueResourceArn",
891
+ # schema_name: "SchemaRegistryNameString",
892
+ # registry_name: "SchemaRegistryNameString",
893
+ # },
894
+ # schema_version_id: "SchemaVersionIdString",
895
+ # schema_version_number: 1,
896
+ # },
840
897
  # },
841
898
  # parameters: {
842
899
  # "KeyString" => "ParametersMapValue",
@@ -930,6 +987,15 @@ module Aws::Glue
930
987
  # },
931
988
  # },
932
989
  # stored_as_sub_directories: false,
990
+ # schema_reference: {
991
+ # schema_id: {
992
+ # schema_arn: "GlueResourceArn",
993
+ # schema_name: "SchemaRegistryNameString",
994
+ # registry_name: "SchemaRegistryNameString",
995
+ # },
996
+ # schema_version_id: "SchemaVersionIdString",
997
+ # schema_version_number: 1,
998
+ # },
933
999
  # },
934
1000
  # parameters: {
935
1001
  # "KeyString" => "ParametersMapValue",
@@ -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
@@ -1397,6 +1506,30 @@ module Aws::Glue
1397
1506
  include Aws::Structure
1398
1507
  end
1399
1508
 
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
+
1400
1533
  # Represents the generated column-level statistics for a table or
1401
1534
  # partition.
1402
1535
  #
@@ -1854,6 +1987,18 @@ module Aws::Glue
1854
1987
  # validation of the CA cert file or not. AWS Glue validates for
1855
1988
  # three algorithms: SHA256withRSA, SHA384withRSA and SHA512withRSA.
1856
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.
1857
2002
  # @return [Hash<String,String>]
1858
2003
  #
1859
2004
  # @!attribute [rw] physical_connection_requirements
@@ -1899,7 +2044,7 @@ module Aws::Glue
1899
2044
  # {
1900
2045
  # name: "NameString", # required
1901
2046
  # description: "DescriptionString",
1902
- # connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
2047
+ # connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK, MARKETPLACE, CUSTOM
1903
2048
  # match_criteria: ["NameString"],
1904
2049
  # connection_properties: { # required
1905
2050
  # "HOST" => "ValueString",
@@ -1934,6 +2079,14 @@ module Aws::Glue
1934
2079
  # * `NETWORK` - Designates a network connection to a data source
1935
2080
  # within an Amazon Virtual Private Cloud environment (Amazon VPC).
1936
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
+ #
1937
2090
  # SFTP is not supported.
1938
2091
  # @return [String]
1939
2092
  #
@@ -2117,6 +2270,11 @@ module Aws::Glue
2117
2270
  # crawler.
2118
2271
  # @return [Types::SchemaChangePolicy]
2119
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
+ #
2120
2278
  # @!attribute [rw] state
2121
2279
  # Indicates whether the crawler is running, or whether a run is
2122
2280
  # pending.
@@ -2178,6 +2336,7 @@ module Aws::Glue
2178
2336
  :classifiers,
2179
2337
  :recrawl_policy,
2180
2338
  :schema_change_policy,
2339
+ :lineage_configuration,
2181
2340
  :state,
2182
2341
  :table_prefix,
2183
2342
  :schedule,
@@ -2442,7 +2601,7 @@ module Aws::Glue
2442
2601
  # connection_input: { # required
2443
2602
  # name: "NameString", # required
2444
2603
  # description: "DescriptionString",
2445
- # connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
2604
+ # connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK, MARKETPLACE, CUSTOM
2446
2605
  # match_criteria: ["NameString"],
2447
2606
  # connection_properties: { # required
2448
2607
  # "HOST" => "ValueString",
@@ -2531,6 +2690,9 @@ module Aws::Glue
2531
2690
  # recrawl_policy: {
2532
2691
  # recrawl_behavior: "CRAWL_EVERYTHING", # accepts CRAWL_EVERYTHING, CRAWL_NEW_FOLDERS_ONLY
2533
2692
  # },
2693
+ # lineage_configuration: {
2694
+ # crawler_lineage_settings: "ENABLE", # accepts ENABLE, DISABLE
2695
+ # },
2534
2696
  # configuration: "CrawlerConfiguration",
2535
2697
  # crawler_security_configuration: "CrawlerSecurityConfiguration",
2536
2698
  # tags: {
@@ -2590,6 +2752,10 @@ module Aws::Glue
2590
2752
  # or to crawl only folders that were added since the last crawler run.
2591
2753
  # @return [Types::RecrawlPolicy]
2592
2754
  #
2755
+ # @!attribute [rw] lineage_configuration
2756
+ # Specifies data lineage configuration settings for the crawler.
2757
+ # @return [Types::LineageConfiguration]
2758
+ #
2593
2759
  # @!attribute [rw] configuration
2594
2760
  # Crawler configuration information. This versioned JSON string allows
2595
2761
  # users to specify aspects of a crawler's behavior. For more
@@ -2628,6 +2794,7 @@ module Aws::Glue
2628
2794
  :table_prefix,
2629
2795
  :schema_change_policy,
2630
2796
  :recrawl_policy,
2797
+ :lineage_configuration,
2631
2798
  :configuration,
2632
2799
  :crawler_security_configuration,
2633
2800
  :tags)
@@ -3594,6 +3761,53 @@ module Aws::Glue
3594
3761
  include Aws::Structure
3595
3762
  end
3596
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
+
3597
3811
  # @note When making an API call, you may pass CreatePartitionRequest
3598
3812
  # data as a hash:
3599
3813
  #
@@ -3645,6 +3859,15 @@ module Aws::Glue
3645
3859
  # },
3646
3860
  # },
3647
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
+ # },
3648
3871
  # },
3649
3872
  # parameters: {
3650
3873
  # "KeyString" => "ParametersMapValue",
@@ -3687,6 +3910,266 @@ module Aws::Glue
3687
3910
  #
3688
3911
  class CreatePartitionResponse < Aws::EmptyStructure; end
3689
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
+
3690
4173
  # @note When making an API call, you may pass CreateScriptRequest
3691
4174
  # data as a hash:
3692
4175
  #
@@ -3865,6 +4348,15 @@ module Aws::Glue
3865
4348
  # },
3866
4349
  # },
3867
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
+ # },
3868
4360
  # },
3869
4361
  # partition_keys: [
3870
4362
  # {
@@ -4869,6 +5361,49 @@ module Aws::Glue
4869
5361
  include Aws::Structure
4870
5362
  end
4871
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
+
4872
5407
  # @note When making an API call, you may pass DeletePartitionRequest
4873
5408
  # data as a hash:
4874
5409
  #
@@ -4912,24 +5447,70 @@ module Aws::Glue
4912
5447
  #
4913
5448
  class DeletePartitionResponse < Aws::EmptyStructure; end
4914
5449
 
4915
- # @note When making an API call, you may pass DeleteResourcePolicyRequest
5450
+ # @note When making an API call, you may pass DeleteRegistryInput
4916
5451
  # data as a hash:
4917
5452
  #
4918
5453
  # {
4919
- # policy_hash_condition: "HashString",
4920
- # resource_arn: "GlueResourceArn",
5454
+ # registry_id: { # required
5455
+ # registry_name: "SchemaRegistryNameString",
5456
+ # registry_arn: "GlueResourceArn",
5457
+ # },
4921
5458
  # }
4922
5459
  #
4923
- # @!attribute [rw] policy_hash_condition
4924
- # The hash value returned when this policy was set.
4925
- # @return [String]
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]
4926
5464
  #
4927
- # @!attribute [rw] resource_arn
4928
- # The ARN of the AWS Glue resource for the resource policy to be
4929
- # deleted.
4930
- # @return [String]
5465
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteRegistryInput AWS API Documentation
4931
5466
  #
4932
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteResourcePolicyRequest AWS API Documentation
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",
5502
+ # }
5503
+ #
5504
+ # @!attribute [rw] policy_hash_condition
5505
+ # The hash value returned when this policy was set.
5506
+ # @return [String]
5507
+ #
5508
+ # @!attribute [rw] resource_arn
5509
+ # The ARN of the AWS Glue resource for the resource policy to be
5510
+ # deleted.
5511
+ # @return [String]
5512
+ #
5513
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteResourcePolicyRequest AWS API Documentation
4933
5514
  #
4934
5515
  class DeleteResourcePolicyRequest < Struct.new(
4935
5516
  :policy_hash_condition,
@@ -4942,6 +5523,99 @@ module Aws::Glue
4942
5523
  #
4943
5524
  class DeleteResourcePolicyResponse < Aws::EmptyStructure; end
4944
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
+
4945
5619
  # @note When making an API call, you may pass DeleteSecurityConfigurationRequest
4946
5620
  # data as a hash:
4947
5621
  #
@@ -5628,6 +6302,25 @@ module Aws::Glue
5628
6302
  include Aws::Structure
5629
6303
  end
5630
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
+
5631
6324
  # Evaluation metrics provide an estimate of the quality of your machine
5632
6325
  # learning transform.
5633
6326
  #
@@ -5753,6 +6446,11 @@ module Aws::Glue
5753
6446
  # [1]: https://en.wikipedia.org/wiki/Confusion_matrix
5754
6447
  # @return [Types::ConfusionMatrix]
5755
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
+ #
5756
6454
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/FindMatchesMetrics AWS API Documentation
5757
6455
  #
5758
6456
  class FindMatchesMetrics < Struct.new(
@@ -5760,7 +6458,8 @@ module Aws::Glue
5760
6458
  :precision,
5761
6459
  :recall,
5762
6460
  :f1,
5763
- :confusion_matrix)
6461
+ :confusion_matrix,
6462
+ :column_importances)
5764
6463
  SENSITIVE = []
5765
6464
  include Aws::Structure
5766
6465
  end
@@ -6139,7 +6838,7 @@ module Aws::Glue
6139
6838
  #
6140
6839
  # {
6141
6840
  # match_criteria: ["NameString"],
6142
- # connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
6841
+ # connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK, MARKETPLACE, CUSTOM
6143
6842
  # }
6144
6843
  #
6145
6844
  # @!attribute [rw] match_criteria
@@ -6167,7 +6866,7 @@ module Aws::Glue
6167
6866
  # catalog_id: "CatalogIdString",
6168
6867
  # filter: {
6169
6868
  # match_criteria: ["NameString"],
6170
- # connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
6869
+ # connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK, MARKETPLACE, CUSTOM
6171
6870
  # },
6172
6871
  # hide_password: false,
6173
6872
  # next_token: "Token",
@@ -7656,6 +8355,66 @@ module Aws::Glue
7656
8355
  include Aws::Structure
7657
8356
  end
7658
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
+
7659
8418
  # @note When making an API call, you may pass GetResourcePoliciesRequest
7660
8419
  # data as a hash:
7661
8420
  #
@@ -7752,127 +8511,460 @@ module Aws::Glue
7752
8511
  include Aws::Structure
7753
8512
  end
7754
8513
 
7755
- # @note When making an API call, you may pass GetSecurityConfigurationRequest
8514
+ # @note When making an API call, you may pass GetSchemaByDefinitionInput
7756
8515
  # data as a hash:
7757
8516
  #
7758
8517
  # {
7759
- # 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
7760
8524
  # }
7761
8525
  #
7762
- # @!attribute [rw] name
7763
- # 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.
7764
8539
  # @return [String]
7765
8540
  #
7766
- # @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
7767
8542
  #
7768
- class GetSecurityConfigurationRequest < Struct.new(
7769
- :name)
8543
+ class GetSchemaByDefinitionInput < Struct.new(
8544
+ :schema_id,
8545
+ :schema_definition)
7770
8546
  SENSITIVE = []
7771
8547
  include Aws::Structure
7772
8548
  end
7773
8549
 
7774
- # @!attribute [rw] security_configuration
7775
- # The requested security configuration.
7776
- # @return [Types::SecurityConfiguration]
8550
+ # @!attribute [rw] schema_version_id
8551
+ # The schema ID of the schema version.
8552
+ # @return [String]
7777
8553
  #
7778
- # @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]
7779
8557
  #
7780
- class GetSecurityConfigurationResponse < Struct.new(
7781
- :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)
7782
8579
  SENSITIVE = []
7783
8580
  include Aws::Structure
7784
8581
  end
7785
8582
 
7786
- # @note When making an API call, you may pass GetSecurityConfigurationsRequest
8583
+ # @note When making an API call, you may pass GetSchemaInput
7787
8584
  # data as a hash:
7788
8585
  #
7789
8586
  # {
7790
- # max_results: 1,
7791
- # next_token: "GenericString",
8587
+ # schema_id: { # required
8588
+ # schema_arn: "GlueResourceArn",
8589
+ # schema_name: "SchemaRegistryNameString",
8590
+ # registry_name: "SchemaRegistryNameString",
8591
+ # },
7792
8592
  # }
7793
8593
  #
7794
- # @!attribute [rw] max_results
7795
- # The maximum number of results to return.
7796
- # @return [Integer]
8594
+ # @!attribute [rw] schema_id
8595
+ # This is a wrapper structure to contain schema identity fields. The
8596
+ # structure contains:
7797
8597
  #
7798
- # @!attribute [rw] next_token
7799
- # A continuation token, if this is a continuation call.
7800
- # @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.
7801
8601
  #
7802
- # @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]
7803
8605
  #
7804
- class GetSecurityConfigurationsRequest < Struct.new(
7805
- :max_results,
7806
- :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)
7807
8610
  SENSITIVE = []
7808
8611
  include Aws::Structure
7809
8612
  end
7810
8613
 
7811
- # @!attribute [rw] security_configurations
7812
- # A list of security configurations.
7813
- # @return [Array<Types::SecurityConfiguration>]
8614
+ # @!attribute [rw] registry_name
8615
+ # The name of the registry.
8616
+ # @return [String]
7814
8617
  #
7815
- # @!attribute [rw] next_token
7816
- # A continuation token, if there are more security configurations to
7817
- # return.
8618
+ # @!attribute [rw] registry_arn
8619
+ # The Amazon Resource Name (ARN) of the registry.
7818
8620
  # @return [String]
7819
8621
  #
7820
- # @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]
7821
8625
  #
7822
- class GetSecurityConfigurationsResponse < Struct.new(
7823
- :security_configurations,
7824
- :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)
7825
8686
  SENSITIVE = []
7826
8687
  include Aws::Structure
7827
8688
  end
7828
8689
 
7829
- # @note When making an API call, you may pass GetTableRequest
8690
+ # @note When making an API call, you may pass GetSchemaVersionInput
7830
8691
  # data as a hash:
7831
8692
  #
7832
8693
  # {
7833
- # catalog_id: "CatalogIdString",
7834
- # database_name: "NameString", # required
7835
- # 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
+ # },
7836
8704
  # }
7837
8705
  #
7838
- # @!attribute [rw] catalog_id
7839
- # The ID of the Data Catalog where the table resides. If none is
7840
- # provided, the AWS account ID is used by default.
7841
- # @return [String]
8706
+ # @!attribute [rw] schema_id
8707
+ # This is a wrapper structure to contain schema identity fields. The
8708
+ # structure contains:
7842
8709
  #
7843
- # @!attribute [rw] database_name
7844
- # The name of the database in the catalog in which the table resides.
7845
- # For Hive compatibility, this name is entirely lowercase.
7846
- # @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.
7847
8713
  #
7848
- # @!attribute [rw] name
7849
- # The name of the table for which to retrieve the definition. For Hive
7850
- # 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.
7851
8722
  # @return [String]
7852
8723
  #
7853
- # @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]
7854
8727
  #
7855
- class GetTableRequest < Struct.new(
7856
- :catalog_id,
7857
- :database_name,
7858
- :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)
7859
8734
  SENSITIVE = []
7860
8735
  include Aws::Structure
7861
8736
  end
7862
8737
 
7863
- # @!attribute [rw] table
7864
- # The `Table` object that defines the specified table.
7865
- # @return [Types::Table]
8738
+ # @!attribute [rw] schema_version_id
8739
+ # The `SchemaVersionId` of the schema version.
8740
+ # @return [String]
7866
8741
  #
7867
- # @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]
7868
8745
  #
7869
- class GetTableResponse < Struct.new(
7870
- :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)
7871
8777
  SENSITIVE = []
7872
8778
  include Aws::Structure
7873
8779
  end
7874
8780
 
7875
- # @note When making an API call, you may pass GetTableVersionRequest
8781
+ # @note When making an API call, you may pass GetSchemaVersionsDiffInput
8782
+ # data as a hash:
8783
+ #
8784
+ # {
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
7876
8968
  # data as a hash:
7877
8969
  #
7878
8970
  # {
@@ -9589,6 +10681,32 @@ module Aws::Glue
9589
10681
  include Aws::Structure
9590
10682
  end
9591
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
+
9592
10710
  # @note When making an API call, you may pass ListCrawlersRequest
9593
10711
  # data as a hash:
9594
10712
  #
@@ -9829,109 +10947,272 @@ module Aws::Glue
9829
10947
  include Aws::Structure
9830
10948
  end
9831
10949
 
9832
- # @note When making an API call, you may pass ListTriggersRequest
10950
+ # @note When making an API call, you may pass ListRegistriesInput
9833
10951
  # data as a hash:
9834
10952
  #
9835
10953
  # {
9836
- # next_token: "GenericString",
9837
- # dependent_job_name: "NameString",
9838
10954
  # max_results: 1,
9839
- # tags: {
9840
- # "TagKey" => "TagValue",
9841
- # },
10955
+ # next_token: "SchemaRegistryTokenString",
9842
10956
  # }
9843
10957
  #
10958
+ # @!attribute [rw] max_results
10959
+ # Maximum number of results required per page. If the value is not
10960
+ # supplied, this will be defaulted to 25 per page.
10961
+ # @return [Integer]
10962
+ #
9844
10963
  # @!attribute [rw] next_token
9845
- # A continuation token, if this is a continuation request.
10964
+ # A continuation token, if this is a continuation call.
9846
10965
  # @return [String]
9847
10966
  #
9848
- # @!attribute [rw] dependent_job_name
9849
- # The name of the job for which to retrieve triggers. The trigger that
9850
- # can start this job is returned. If there is no such trigger, all
9851
- # triggers are returned.
10967
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListRegistriesInput AWS API Documentation
10968
+ #
10969
+ class ListRegistriesInput < Struct.new(
10970
+ :max_results,
10971
+ :next_token)
10972
+ SENSITIVE = []
10973
+ include Aws::Structure
10974
+ end
10975
+
10976
+ # @!attribute [rw] registries
10977
+ # An array of `RegistryDetailedListItem` objects containing minimal
10978
+ # details of each registry.
10979
+ # @return [Array<Types::RegistryListItem>]
10980
+ #
10981
+ # @!attribute [rw] next_token
10982
+ # A continuation token for paginating the returned list of tokens,
10983
+ # returned if the current segment of the list is not the last.
9852
10984
  # @return [String]
9853
10985
  #
10986
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListRegistriesResponse AWS API Documentation
10987
+ #
10988
+ class ListRegistriesResponse < Struct.new(
10989
+ :registries,
10990
+ :next_token)
10991
+ SENSITIVE = []
10992
+ include Aws::Structure
10993
+ end
10994
+
10995
+ # @note When making an API call, you may pass ListSchemaVersionsInput
10996
+ # data as a hash:
10997
+ #
10998
+ # {
10999
+ # schema_id: { # required
11000
+ # schema_arn: "GlueResourceArn",
11001
+ # schema_name: "SchemaRegistryNameString",
11002
+ # registry_name: "SchemaRegistryNameString",
11003
+ # },
11004
+ # max_results: 1,
11005
+ # next_token: "SchemaRegistryTokenString",
11006
+ # }
11007
+ #
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]
11019
+ #
9854
11020
  # @!attribute [rw] max_results
9855
- # 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.
9856
11023
  # @return [Integer]
9857
11024
  #
9858
- # @!attribute [rw] tags
9859
- # Specifies to return only these tagged resources.
9860
- # @return [Hash<String,String>]
11025
+ # @!attribute [rw] next_token
11026
+ # A continuation token, if this is a continuation call.
11027
+ # @return [String]
9861
11028
  #
9862
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListTriggersRequest AWS API Documentation
11029
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSchemaVersionsInput AWS API Documentation
9863
11030
  #
9864
- class ListTriggersRequest < Struct.new(
9865
- :next_token,
9866
- :dependent_job_name,
11031
+ class ListSchemaVersionsInput < Struct.new(
11032
+ :schema_id,
9867
11033
  :max_results,
9868
- :tags)
11034
+ :next_token)
9869
11035
  SENSITIVE = []
9870
11036
  include Aws::Structure
9871
11037
  end
9872
11038
 
9873
- # @!attribute [rw] trigger_names
9874
- # The names of all triggers in the account, or the triggers with the
9875
- # specified tags.
9876
- # @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>]
9877
11043
  #
9878
11044
  # @!attribute [rw] next_token
9879
- # A continuation token, if the returned list does not contain the last
9880
- # metric available.
11045
+ # A continuation token for paginating the returned list of tokens,
11046
+ # returned if the current segment of the list is not the last.
9881
11047
  # @return [String]
9882
11048
  #
9883
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListTriggersResponse AWS API Documentation
11049
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSchemaVersionsResponse AWS API Documentation
9884
11050
  #
9885
- class ListTriggersResponse < Struct.new(
9886
- :trigger_names,
11051
+ class ListSchemaVersionsResponse < Struct.new(
11052
+ :schemas,
9887
11053
  :next_token)
9888
11054
  SENSITIVE = []
9889
11055
  include Aws::Structure
9890
11056
  end
9891
11057
 
9892
- # @note When making an API call, you may pass ListWorkflowsRequest
11058
+ # @note When making an API call, you may pass ListSchemasInput
9893
11059
  # data as a hash:
9894
11060
  #
9895
11061
  # {
9896
- # next_token: "GenericString",
11062
+ # registry_id: {
11063
+ # registry_name: "SchemaRegistryNameString",
11064
+ # registry_arn: "GlueResourceArn",
11065
+ # },
9897
11066
  # max_results: 1,
11067
+ # next_token: "SchemaRegistryTokenString",
9898
11068
  # }
9899
11069
  #
9900
- # @!attribute [rw] next_token
9901
- # A continuation token, if this is a continuation request.
9902
- # @return [String]
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]
9903
11074
  #
9904
11075
  # @!attribute [rw] max_results
9905
- # The maximum size of a list to return.
11076
+ # Maximum number of results required per page. If the value is not
11077
+ # supplied, this will be defaulted to 25 per page.
9906
11078
  # @return [Integer]
9907
11079
  #
9908
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListWorkflowsRequest AWS API Documentation
11080
+ # @!attribute [rw] next_token
11081
+ # A continuation token, if this is a continuation call.
11082
+ # @return [String]
9909
11083
  #
9910
- class ListWorkflowsRequest < Struct.new(
9911
- :next_token,
9912
- :max_results)
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)
9913
11090
  SENSITIVE = []
9914
11091
  include Aws::Structure
9915
11092
  end
9916
11093
 
9917
- # @!attribute [rw] workflows
9918
- # List of names of workflows in the account.
9919
- # @return [Array<String>]
11094
+ # @!attribute [rw] schemas
11095
+ # An array of `SchemaListItem` objects containing details of each
11096
+ # schema.
11097
+ # @return [Array<Types::SchemaListItem>]
9920
11098
  #
9921
11099
  # @!attribute [rw] next_token
9922
- # A continuation token, if not all workflow names have been returned.
11100
+ # A continuation token for paginating the returned list of tokens,
11101
+ # returned if the current segment of the list is not the last.
9923
11102
  # @return [String]
9924
11103
  #
9925
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListWorkflowsResponse AWS API Documentation
11104
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSchemasResponse AWS API Documentation
9926
11105
  #
9927
- class ListWorkflowsResponse < Struct.new(
9928
- :workflows,
11106
+ class ListSchemasResponse < Struct.new(
11107
+ :schemas,
9929
11108
  :next_token)
9930
11109
  SENSITIVE = []
9931
11110
  include Aws::Structure
9932
11111
  end
9933
11112
 
9934
- # The location of resources.
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.
9935
11216
  #
9936
11217
  # @note When making an API call, you may pass Location
9937
11218
  # data as a hash:
@@ -10317,6 +11598,52 @@ module Aws::Glue
10317
11598
  include Aws::Structure
10318
11599
  end
10319
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
+
10320
11647
  # Specifies an Amazon DocumentDB or MongoDB data store to crawl.
10321
11648
  #
10322
11649
  # @note When making an API call, you may pass MongoDBTarget
@@ -10591,14 +11918,31 @@ module Aws::Glue
10591
11918
  #
10592
11919
  # @!attribute [rw] index_status
10593
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.
10594
11932
  # @return [String]
10595
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
+ #
10596
11939
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PartitionIndexDescriptor AWS API Documentation
10597
11940
  #
10598
11941
  class PartitionIndexDescriptor < Struct.new(
10599
11942
  :index_name,
10600
11943
  :keys,
10601
- :index_status)
11944
+ :index_status,
11945
+ :backfill_errors)
10602
11946
  SENSITIVE = []
10603
11947
  include Aws::Structure
10604
11948
  end
@@ -10652,6 +11996,15 @@ module Aws::Glue
10652
11996
  # },
10653
11997
  # },
10654
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
+ # },
10655
12008
  # },
10656
12009
  # parameters: {
10657
12010
  # "KeyString" => "ParametersMapValue",
@@ -10958,107 +12311,513 @@ module Aws::Glue
10958
12311
  # a policy attached to an individual resource such as a database or a
10959
12312
  # table.
10960
12313
  #
10961
- # The default value of `NO` indicates that resource-level policies
10962
- # cannot co-exist with an account-level policy. A value of `YES` means
10963
- # the use of both resource-level and account/catalog-level resource
10964
- # policies is allowed.
12314
+ # The default value of `NO` indicates that resource-level policies
12315
+ # cannot co-exist with an account-level policy. A value of `YES` means
12316
+ # the use of both resource-level and account/catalog-level resource
12317
+ # policies is allowed.
12318
+ # @return [String]
12319
+ #
12320
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutResourcePolicyRequest AWS API Documentation
12321
+ #
12322
+ class PutResourcePolicyRequest < Struct.new(
12323
+ :policy_in_json,
12324
+ :resource_arn,
12325
+ :policy_hash_condition,
12326
+ :policy_exists_condition,
12327
+ :enable_hybrid)
12328
+ SENSITIVE = []
12329
+ include Aws::Structure
12330
+ end
12331
+
12332
+ # @!attribute [rw] policy_hash
12333
+ # A hash of the policy that has just been set. This must be included
12334
+ # in a subsequent call that overwrites or updates this policy.
12335
+ # @return [String]
12336
+ #
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.
10965
12675
  # @return [String]
10966
12676
  #
10967
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutResourcePolicyRequest AWS API Documentation
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]
10968
12681
  #
10969
- class PutResourcePolicyRequest < Struct.new(
10970
- :policy_in_json,
10971
- :resource_arn,
10972
- :policy_hash_condition,
10973
- :policy_exists_condition,
10974
- :enable_hybrid)
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)
10975
12687
  SENSITIVE = []
10976
12688
  include Aws::Structure
10977
12689
  end
10978
12690
 
10979
- # @!attribute [rw] policy_hash
10980
- # A hash of the policy that has just been set. This must be included
10981
- # in a subsequent call that overwrites or updates this policy.
12691
+ # A structure containing the details for a registry.
12692
+ #
12693
+ # @!attribute [rw] registry_name
12694
+ # The name of the registry.
10982
12695
  # @return [String]
10983
12696
  #
10984
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutResourcePolicyResponse AWS API Documentation
12697
+ # @!attribute [rw] registry_arn
12698
+ # The Amazon Resource Name (ARN) of the registry.
12699
+ # @return [String]
10985
12700
  #
10986
- class PutResourcePolicyResponse < Struct.new(
10987
- :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)
10988
12726
  SENSITIVE = []
10989
12727
  include Aws::Structure
10990
12728
  end
10991
12729
 
10992
- # @note When making an API call, you may pass PutWorkflowRunPropertiesRequest
12730
+ # @note When making an API call, you may pass RemoveSchemaVersionMetadataInput
10993
12731
  # data as a hash:
10994
12732
  #
10995
12733
  # {
10996
- # name: "NameString", # required
10997
- # run_id: "IdString", # required
10998
- # run_properties: { # required
10999
- # "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",
11000
12747
  # },
11001
12748
  # }
11002
12749
  #
11003
- # @!attribute [rw] name
11004
- # Name of the workflow which was run.
11005
- # @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]
11006
12754
  #
11007
- # @!attribute [rw] run_id
11008
- # The ID of the workflow run for which the run properties should be
11009
- # 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.
11010
12761
  # @return [String]
11011
12762
  #
11012
- # @!attribute [rw] run_properties
11013
- # The properties to put for the specified run.
11014
- # @return [Hash<String,String>]
12763
+ # @!attribute [rw] metadata_key_value
12764
+ # The value of the metadata key.
12765
+ # @return [Types::MetadataKeyValuePair]
11015
12766
  #
11016
- # @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
11017
12768
  #
11018
- class PutWorkflowRunPropertiesRequest < Struct.new(
11019
- :name,
11020
- :run_id,
11021
- :run_properties)
12769
+ class RemoveSchemaVersionMetadataInput < Struct.new(
12770
+ :schema_id,
12771
+ :schema_version_number,
12772
+ :schema_version_id,
12773
+ :metadata_key_value)
11022
12774
  SENSITIVE = []
11023
12775
  include Aws::Structure
11024
12776
  end
11025
12777
 
11026
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutWorkflowRunPropertiesResponse AWS API Documentation
11027
- #
11028
- class PutWorkflowRunPropertiesResponse < Aws::EmptyStructure; end
11029
-
11030
- # When crawling an Amazon S3 data source after the first crawl is
11031
- # complete, specifies whether to crawl the entire dataset again or to
11032
- # crawl only folders that were added since the last crawler run. For
11033
- # more information, see [Incremental Crawls in AWS Glue][1] in the
11034
- # developer guide.
11035
- #
12778
+ # @!attribute [rw] schema_arn
12779
+ # The Amazon Resource Name (ARN) of the schema.
12780
+ # @return [String]
11036
12781
  #
12782
+ # @!attribute [rw] schema_name
12783
+ # The name of the schema.
12784
+ # @return [String]
11037
12785
  #
11038
- # [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]
11039
12789
  #
11040
- # @note When making an API call, you may pass RecrawlPolicy
11041
- # data as a hash:
12790
+ # @!attribute [rw] latest_version
12791
+ # The latest version of the schema.
12792
+ # @return [Boolean]
11042
12793
  #
11043
- # {
11044
- # recrawl_behavior: "CRAWL_EVERYTHING", # accepts CRAWL_EVERYTHING, CRAWL_NEW_FOLDERS_ONLY
11045
- # }
12794
+ # @!attribute [rw] version_number
12795
+ # The version number of the schema.
12796
+ # @return [Integer]
11046
12797
  #
11047
- # @!attribute [rw] recrawl_behavior
11048
- # Specifies whether to crawl the entire dataset again or to crawl only
11049
- # 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]
11050
12801
  #
11051
- # A value of `CRAWL_EVERYTHING` specifies crawling the entire dataset
11052
- # again.
12802
+ # @!attribute [rw] metadata_key
12803
+ # The metadata key.
12804
+ # @return [String]
11053
12805
  #
11054
- # A value of `CRAWL_NEW_FOLDERS_ONLY` specifies crawling only folders
11055
- # that were added since the last crawler run.
12806
+ # @!attribute [rw] metadata_value
12807
+ # The value of the metadata key.
11056
12808
  # @return [String]
11057
12809
  #
11058
- # @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
11059
12811
  #
11060
- class RecrawlPolicy < Struct.new(
11061
- :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)
11062
12821
  SENSITIVE = []
11063
12822
  include Aws::Structure
11064
12823
  end
@@ -11384,6 +13143,206 @@ module Aws::Glue
11384
13143
  include Aws::Structure
11385
13144
  end
11386
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
+
11387
13346
  # @note When making an API call, you may pass SearchTablesRequest
11388
13347
  # data as a hash:
11389
13348
  #
@@ -12216,6 +14175,15 @@ module Aws::Glue
12216
14175
  # },
12217
14176
  # },
12218
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
+ # },
12219
14187
  # }
12220
14188
  #
12221
14189
  # @!attribute [rw] columns
@@ -12273,6 +14241,14 @@ module Aws::Glue
12273
14241
  # not.
12274
14242
  # @return [Boolean]
12275
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
+ #
12276
14252
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StorageDescriptor AWS API Documentation
12277
14253
  #
12278
14254
  class StorageDescriptor < Struct.new(
@@ -12287,7 +14263,8 @@ module Aws::Glue
12287
14263
  :sort_columns,
12288
14264
  :parameters,
12289
14265
  :skewed_info,
12290
- :stored_as_sub_directories)
14266
+ :stored_as_sub_directories,
14267
+ :schema_reference)
12291
14268
  SENSITIVE = []
12292
14269
  include Aws::Structure
12293
14270
  end
@@ -12557,6 +14534,15 @@ module Aws::Glue
12557
14534
  # },
12558
14535
  # },
12559
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
+ # },
12560
14546
  # },
12561
14547
  # partition_keys: [
12562
14548
  # {
@@ -13577,7 +15563,7 @@ module Aws::Glue
13577
15563
  # connection_input: { # required
13578
15564
  # name: "NameString", # required
13579
15565
  # description: "DescriptionString",
13580
- # connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
15566
+ # connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK, MARKETPLACE, CUSTOM
13581
15567
  # match_criteria: ["NameString"],
13582
15568
  # connection_properties: { # required
13583
15569
  # "HOST" => "ValueString",
@@ -13672,6 +15658,9 @@ module Aws::Glue
13672
15658
  # recrawl_policy: {
13673
15659
  # recrawl_behavior: "CRAWL_EVERYTHING", # accepts CRAWL_EVERYTHING, CRAWL_NEW_FOLDERS_ONLY
13674
15660
  # },
15661
+ # lineage_configuration: {
15662
+ # crawler_lineage_settings: "ENABLE", # accepts ENABLE, DISABLE
15663
+ # },
13675
15664
  # configuration: "CrawlerConfiguration",
13676
15665
  # crawler_security_configuration: "CrawlerSecurityConfiguration",
13677
15666
  # }
@@ -13728,6 +15717,10 @@ module Aws::Glue
13728
15717
  # or to crawl only folders that were added since the last crawler run.
13729
15718
  # @return [Types::RecrawlPolicy]
13730
15719
  #
15720
+ # @!attribute [rw] lineage_configuration
15721
+ # Specifies data lineage configuration settings for the crawler.
15722
+ # @return [Types::LineageConfiguration]
15723
+ #
13731
15724
  # @!attribute [rw] configuration
13732
15725
  # Crawler configuration information. This versioned JSON string allows
13733
15726
  # users to specify aspects of a crawler's behavior. For more
@@ -13756,6 +15749,7 @@ module Aws::Glue
13756
15749
  :table_prefix,
13757
15750
  :schema_change_policy,
13758
15751
  :recrawl_policy,
15752
+ :lineage_configuration,
13759
15753
  :configuration,
13760
15754
  :crawler_security_configuration)
13761
15755
  SENSITIVE = []
@@ -14337,6 +16331,15 @@ module Aws::Glue
14337
16331
  # },
14338
16332
  # },
14339
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
+ # },
14340
16343
  # },
14341
16344
  # parameters: {
14342
16345
  # "KeyString" => "ParametersMapValue",
@@ -14388,6 +16391,127 @@ module Aws::Glue
14388
16391
  #
14389
16392
  class UpdatePartitionResponse < Aws::EmptyStructure; end
14390
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
+
14391
16515
  # @note When making an API call, you may pass UpdateTableRequest
14392
16516
  # data as a hash:
14393
16517
  #
@@ -14442,6 +16566,15 @@ module Aws::Glue
14442
16566
  # },
14443
16567
  # },
14444
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
+ # },
14445
16578
  # },
14446
16579
  # partition_keys: [
14447
16580
  # {