aws-sdk-glue 1.78.0 → 1.79.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -166,6 +166,15 @@ module Aws::Glue
166
166
  # },
167
167
  # },
168
168
  # stored_as_sub_directories: false,
169
+ # schema_reference: {
170
+ # schema_id: {
171
+ # schema_arn: "GlueResourceArn",
172
+ # schema_name: "SchemaRegistryNameString",
173
+ # registry_name: "SchemaRegistryNameString",
174
+ # },
175
+ # schema_version_id: "SchemaVersionIdString",
176
+ # schema_version_number: 1,
177
+ # },
169
178
  # },
170
179
  # parameters: {
171
180
  # "KeyString" => "ParametersMapValue",
@@ -837,6 +846,15 @@ module Aws::Glue
837
846
  # },
838
847
  # },
839
848
  # stored_as_sub_directories: false,
849
+ # schema_reference: {
850
+ # schema_id: {
851
+ # schema_arn: "GlueResourceArn",
852
+ # schema_name: "SchemaRegistryNameString",
853
+ # registry_name: "SchemaRegistryNameString",
854
+ # },
855
+ # schema_version_id: "SchemaVersionIdString",
856
+ # schema_version_number: 1,
857
+ # },
840
858
  # },
841
859
  # parameters: {
842
860
  # "KeyString" => "ParametersMapValue",
@@ -930,6 +948,15 @@ module Aws::Glue
930
948
  # },
931
949
  # },
932
950
  # stored_as_sub_directories: false,
951
+ # schema_reference: {
952
+ # schema_id: {
953
+ # schema_arn: "GlueResourceArn",
954
+ # schema_name: "SchemaRegistryNameString",
955
+ # registry_name: "SchemaRegistryNameString",
956
+ # },
957
+ # schema_version_id: "SchemaVersionIdString",
958
+ # schema_version_number: 1,
959
+ # },
933
960
  # },
934
961
  # parameters: {
935
962
  # "KeyString" => "ParametersMapValue",
@@ -1159,6 +1186,49 @@ module Aws::Glue
1159
1186
  include Aws::Structure
1160
1187
  end
1161
1188
 
1189
+ # @note When making an API call, you may pass CheckSchemaVersionValidityInput
1190
+ # data as a hash:
1191
+ #
1192
+ # {
1193
+ # data_format: "AVRO", # required, accepts AVRO
1194
+ # schema_definition: "SchemaDefinitionString", # required
1195
+ # }
1196
+ #
1197
+ # @!attribute [rw] data_format
1198
+ # The data format of the schema definition. Currently only `AVRO` is
1199
+ # supported.
1200
+ # @return [String]
1201
+ #
1202
+ # @!attribute [rw] schema_definition
1203
+ # The definition of the schema that has to be validated.
1204
+ # @return [String]
1205
+ #
1206
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CheckSchemaVersionValidityInput AWS API Documentation
1207
+ #
1208
+ class CheckSchemaVersionValidityInput < Struct.new(
1209
+ :data_format,
1210
+ :schema_definition)
1211
+ SENSITIVE = []
1212
+ include Aws::Structure
1213
+ end
1214
+
1215
+ # @!attribute [rw] valid
1216
+ # Return true, if the schema is valid and false otherwise.
1217
+ # @return [Boolean]
1218
+ #
1219
+ # @!attribute [rw] error
1220
+ # A validation failure error message.
1221
+ # @return [String]
1222
+ #
1223
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CheckSchemaVersionValidityResponse AWS API Documentation
1224
+ #
1225
+ class CheckSchemaVersionValidityResponse < Struct.new(
1226
+ :valid,
1227
+ :error)
1228
+ SENSITIVE = []
1229
+ include Aws::Structure
1230
+ end
1231
+
1162
1232
  # Classifiers are triggered during a crawl task. A classifier checks
1163
1233
  # whether a given file is in a format it can handle. If it is, the
1164
1234
  # classifier creates a schema in the form of a `StructType` object that
@@ -3645,6 +3715,15 @@ module Aws::Glue
3645
3715
  # },
3646
3716
  # },
3647
3717
  # stored_as_sub_directories: false,
3718
+ # schema_reference: {
3719
+ # schema_id: {
3720
+ # schema_arn: "GlueResourceArn",
3721
+ # schema_name: "SchemaRegistryNameString",
3722
+ # registry_name: "SchemaRegistryNameString",
3723
+ # },
3724
+ # schema_version_id: "SchemaVersionIdString",
3725
+ # schema_version_number: 1,
3726
+ # },
3648
3727
  # },
3649
3728
  # parameters: {
3650
3729
  # "KeyString" => "ParametersMapValue",
@@ -3687,6 +3766,266 @@ module Aws::Glue
3687
3766
  #
3688
3767
  class CreatePartitionResponse < Aws::EmptyStructure; end
3689
3768
 
3769
+ # @note When making an API call, you may pass CreateRegistryInput
3770
+ # data as a hash:
3771
+ #
3772
+ # {
3773
+ # registry_name: "SchemaRegistryNameString", # required
3774
+ # description: "DescriptionString",
3775
+ # tags: {
3776
+ # "TagKey" => "TagValue",
3777
+ # },
3778
+ # }
3779
+ #
3780
+ # @!attribute [rw] registry_name
3781
+ # Name of the registry to be created of max length of 255, and may
3782
+ # only contain letters, numbers, hyphen, underscore, dollar sign, or
3783
+ # hash mark. No whitespace.
3784
+ # @return [String]
3785
+ #
3786
+ # @!attribute [rw] description
3787
+ # A description of the registry. If description is not provided, there
3788
+ # will not be any default value for this.
3789
+ # @return [String]
3790
+ #
3791
+ # @!attribute [rw] tags
3792
+ # AWS tags that contain a key value pair and may be searched by
3793
+ # console, command line, or API.
3794
+ # @return [Hash<String,String>]
3795
+ #
3796
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateRegistryInput AWS API Documentation
3797
+ #
3798
+ class CreateRegistryInput < Struct.new(
3799
+ :registry_name,
3800
+ :description,
3801
+ :tags)
3802
+ SENSITIVE = []
3803
+ include Aws::Structure
3804
+ end
3805
+
3806
+ # @!attribute [rw] registry_arn
3807
+ # The Amazon Resource Name (ARN) of the newly created registry.
3808
+ # @return [String]
3809
+ #
3810
+ # @!attribute [rw] registry_name
3811
+ # The name of the registry.
3812
+ # @return [String]
3813
+ #
3814
+ # @!attribute [rw] description
3815
+ # A description of the registry.
3816
+ # @return [String]
3817
+ #
3818
+ # @!attribute [rw] tags
3819
+ # The tags for the registry.
3820
+ # @return [Hash<String,String>]
3821
+ #
3822
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateRegistryResponse AWS API Documentation
3823
+ #
3824
+ class CreateRegistryResponse < Struct.new(
3825
+ :registry_arn,
3826
+ :registry_name,
3827
+ :description,
3828
+ :tags)
3829
+ SENSITIVE = []
3830
+ include Aws::Structure
3831
+ end
3832
+
3833
+ # @note When making an API call, you may pass CreateSchemaInput
3834
+ # data as a hash:
3835
+ #
3836
+ # {
3837
+ # registry_id: {
3838
+ # registry_name: "SchemaRegistryNameString",
3839
+ # registry_arn: "GlueResourceArn",
3840
+ # },
3841
+ # schema_name: "SchemaRegistryNameString", # required
3842
+ # data_format: "AVRO", # required, accepts AVRO
3843
+ # compatibility: "NONE", # accepts NONE, DISABLED, BACKWARD, BACKWARD_ALL, FORWARD, FORWARD_ALL, FULL, FULL_ALL
3844
+ # description: "DescriptionString",
3845
+ # tags: {
3846
+ # "TagKey" => "TagValue",
3847
+ # },
3848
+ # schema_definition: "SchemaDefinitionString",
3849
+ # }
3850
+ #
3851
+ # @!attribute [rw] registry_id
3852
+ # This is a wrapper shape to contain the registry identity fields. If
3853
+ # this is not provided, the default registry will be used. The ARN
3854
+ # format for the same will be: `arn:aws:glue:us-east-2:<customer
3855
+ # id>:registry/default-registry:random-5-letter-id`.
3856
+ # @return [Types::RegistryId]
3857
+ #
3858
+ # @!attribute [rw] schema_name
3859
+ # Name of the schema to be created of max length of 255, and may only
3860
+ # contain letters, numbers, hyphen, underscore, dollar sign, or hash
3861
+ # mark. No whitespace.
3862
+ # @return [String]
3863
+ #
3864
+ # @!attribute [rw] data_format
3865
+ # The data format of the schema definition. Currently only `AVRO` is
3866
+ # supported.
3867
+ # @return [String]
3868
+ #
3869
+ # @!attribute [rw] compatibility
3870
+ # The compatibility mode of the schema. The possible values are:
3871
+ #
3872
+ # * *NONE*\: No compatibility mode applies. You can use this choice in
3873
+ # development scenarios or if you do not know the compatibility mode
3874
+ # that you want to apply to schemas. Any new version added will be
3875
+ # accepted without undergoing a compatibility check.
3876
+ #
3877
+ # * *DISABLED*\: This compatibility choice prevents versioning for a
3878
+ # particular schema. You can use this choice to prevent future
3879
+ # versioning of a schema.
3880
+ #
3881
+ # * *BACKWARD*\: This compatibility choice is recommended as it allows
3882
+ # data receivers to read both the current and one previous schema
3883
+ # version. This means that for instance, a new schema version cannot
3884
+ # drop data fields or change the type of these fields, so they
3885
+ # can't be read by readers using the previous version.
3886
+ #
3887
+ # * *BACKWARD\_ALL*\: This compatibility choice allows data receivers
3888
+ # to read both the current and all previous schema versions. You can
3889
+ # use this choice when you need to delete fields or add optional
3890
+ # fields, and check compatibility against all previous schema
3891
+ # versions.
3892
+ #
3893
+ # * *FORWARD*\: This compatibility choice allows data receivers to
3894
+ # read both the current and one next schema version, but not
3895
+ # necessarily later versions. You can use this choice when you need
3896
+ # to add fields or delete optional fields, but only check
3897
+ # compatibility against the last schema version.
3898
+ #
3899
+ # * *FORWARD\_ALL*\: This compatibility choice allows data receivers
3900
+ # to read written by producers of any new registered schema. You can
3901
+ # use this choice when you need to add fields or delete optional
3902
+ # fields, and check compatibility against all previous schema
3903
+ # versions.
3904
+ #
3905
+ # * *FULL*\: This compatibility choice allows data receivers to read
3906
+ # data written by producers using the previous or next version of
3907
+ # the schema, but not necessarily earlier or later versions. You can
3908
+ # use this choice when you need to add or remove optional fields,
3909
+ # but only check compatibility against the last schema version.
3910
+ #
3911
+ # * *FULL\_ALL*\: This compatibility choice allows data receivers to
3912
+ # read data written by producers using all previous schema versions.
3913
+ # You can use this choice when you need to add or remove optional
3914
+ # fields, and check compatibility against all previous schema
3915
+ # versions.
3916
+ # @return [String]
3917
+ #
3918
+ # @!attribute [rw] description
3919
+ # An optional description of the schema. If description is not
3920
+ # provided, there will not be any automatic default value for this.
3921
+ # @return [String]
3922
+ #
3923
+ # @!attribute [rw] tags
3924
+ # AWS tags that contain a key value pair and may be searched by
3925
+ # console, command line, or API. If specified, follows the AWS
3926
+ # tags-on-create pattern.
3927
+ # @return [Hash<String,String>]
3928
+ #
3929
+ # @!attribute [rw] schema_definition
3930
+ # The schema definition using the `DataFormat` setting for
3931
+ # `SchemaName`.
3932
+ # @return [String]
3933
+ #
3934
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateSchemaInput AWS API Documentation
3935
+ #
3936
+ class CreateSchemaInput < Struct.new(
3937
+ :registry_id,
3938
+ :schema_name,
3939
+ :data_format,
3940
+ :compatibility,
3941
+ :description,
3942
+ :tags,
3943
+ :schema_definition)
3944
+ SENSITIVE = []
3945
+ include Aws::Structure
3946
+ end
3947
+
3948
+ # @!attribute [rw] registry_name
3949
+ # The name of the registry.
3950
+ # @return [String]
3951
+ #
3952
+ # @!attribute [rw] registry_arn
3953
+ # The Amazon Resource Name (ARN) of the registry.
3954
+ # @return [String]
3955
+ #
3956
+ # @!attribute [rw] schema_name
3957
+ # The name of the schema.
3958
+ # @return [String]
3959
+ #
3960
+ # @!attribute [rw] schema_arn
3961
+ # The Amazon Resource Name (ARN) of the schema.
3962
+ # @return [String]
3963
+ #
3964
+ # @!attribute [rw] description
3965
+ # A description of the schema if specified when created.
3966
+ # @return [String]
3967
+ #
3968
+ # @!attribute [rw] data_format
3969
+ # The data format of the schema definition. Currently only `AVRO` is
3970
+ # supported.
3971
+ # @return [String]
3972
+ #
3973
+ # @!attribute [rw] compatibility
3974
+ # The schema compatibility mode.
3975
+ # @return [String]
3976
+ #
3977
+ # @!attribute [rw] schema_checkpoint
3978
+ # The version number of the checkpoint (the last time the
3979
+ # compatibility mode was changed).
3980
+ # @return [Integer]
3981
+ #
3982
+ # @!attribute [rw] latest_schema_version
3983
+ # The latest version of the schema associated with the returned schema
3984
+ # definition.
3985
+ # @return [Integer]
3986
+ #
3987
+ # @!attribute [rw] next_schema_version
3988
+ # The next version of the schema associated with the returned schema
3989
+ # definition.
3990
+ # @return [Integer]
3991
+ #
3992
+ # @!attribute [rw] schema_status
3993
+ # The status of the schema.
3994
+ # @return [String]
3995
+ #
3996
+ # @!attribute [rw] tags
3997
+ # The tags for the schema.
3998
+ # @return [Hash<String,String>]
3999
+ #
4000
+ # @!attribute [rw] schema_version_id
4001
+ # The unique identifier of the first schema version.
4002
+ # @return [String]
4003
+ #
4004
+ # @!attribute [rw] schema_version_status
4005
+ # The status of the first schema version created.
4006
+ # @return [String]
4007
+ #
4008
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateSchemaResponse AWS API Documentation
4009
+ #
4010
+ class CreateSchemaResponse < Struct.new(
4011
+ :registry_name,
4012
+ :registry_arn,
4013
+ :schema_name,
4014
+ :schema_arn,
4015
+ :description,
4016
+ :data_format,
4017
+ :compatibility,
4018
+ :schema_checkpoint,
4019
+ :latest_schema_version,
4020
+ :next_schema_version,
4021
+ :schema_status,
4022
+ :tags,
4023
+ :schema_version_id,
4024
+ :schema_version_status)
4025
+ SENSITIVE = []
4026
+ include Aws::Structure
4027
+ end
4028
+
3690
4029
  # @note When making an API call, you may pass CreateScriptRequest
3691
4030
  # data as a hash:
3692
4031
  #
@@ -3865,6 +4204,15 @@ module Aws::Glue
3865
4204
  # },
3866
4205
  # },
3867
4206
  # stored_as_sub_directories: false,
4207
+ # schema_reference: {
4208
+ # schema_id: {
4209
+ # schema_arn: "GlueResourceArn",
4210
+ # schema_name: "SchemaRegistryNameString",
4211
+ # registry_name: "SchemaRegistryNameString",
4212
+ # },
4213
+ # schema_version_id: "SchemaVersionIdString",
4214
+ # schema_version_number: 1,
4215
+ # },
3868
4216
  # },
3869
4217
  # partition_keys: [
3870
4218
  # {
@@ -4912,6 +5260,52 @@ module Aws::Glue
4912
5260
  #
4913
5261
  class DeletePartitionResponse < Aws::EmptyStructure; end
4914
5262
 
5263
+ # @note When making an API call, you may pass DeleteRegistryInput
5264
+ # data as a hash:
5265
+ #
5266
+ # {
5267
+ # registry_id: { # required
5268
+ # registry_name: "SchemaRegistryNameString",
5269
+ # registry_arn: "GlueResourceArn",
5270
+ # },
5271
+ # }
5272
+ #
5273
+ # @!attribute [rw] registry_id
5274
+ # This is a wrapper structure that may contain the registry name and
5275
+ # Amazon Resource Name (ARN).
5276
+ # @return [Types::RegistryId]
5277
+ #
5278
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteRegistryInput AWS API Documentation
5279
+ #
5280
+ class DeleteRegistryInput < Struct.new(
5281
+ :registry_id)
5282
+ SENSITIVE = []
5283
+ include Aws::Structure
5284
+ end
5285
+
5286
+ # @!attribute [rw] registry_name
5287
+ # The name of the registry being deleted.
5288
+ # @return [String]
5289
+ #
5290
+ # @!attribute [rw] registry_arn
5291
+ # The Amazon Resource Name (ARN) of the registry being deleted.
5292
+ # @return [String]
5293
+ #
5294
+ # @!attribute [rw] status
5295
+ # The status of the registry. A successful operation will return the
5296
+ # `Deleting` status.
5297
+ # @return [String]
5298
+ #
5299
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteRegistryResponse AWS API Documentation
5300
+ #
5301
+ class DeleteRegistryResponse < Struct.new(
5302
+ :registry_name,
5303
+ :registry_arn,
5304
+ :status)
5305
+ SENSITIVE = []
5306
+ include Aws::Structure
5307
+ end
5308
+
4915
5309
  # @note When making an API call, you may pass DeleteResourcePolicyRequest
4916
5310
  # data as a hash:
4917
5311
  #
@@ -4942,6 +5336,99 @@ module Aws::Glue
4942
5336
  #
4943
5337
  class DeleteResourcePolicyResponse < Aws::EmptyStructure; end
4944
5338
 
5339
+ # @note When making an API call, you may pass DeleteSchemaInput
5340
+ # data as a hash:
5341
+ #
5342
+ # {
5343
+ # schema_id: { # required
5344
+ # schema_arn: "GlueResourceArn",
5345
+ # schema_name: "SchemaRegistryNameString",
5346
+ # registry_name: "SchemaRegistryNameString",
5347
+ # },
5348
+ # }
5349
+ #
5350
+ # @!attribute [rw] schema_id
5351
+ # This is a wrapper structure that may contain the schema name and
5352
+ # Amazon Resource Name (ARN).
5353
+ # @return [Types::SchemaId]
5354
+ #
5355
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSchemaInput AWS API Documentation
5356
+ #
5357
+ class DeleteSchemaInput < Struct.new(
5358
+ :schema_id)
5359
+ SENSITIVE = []
5360
+ include Aws::Structure
5361
+ end
5362
+
5363
+ # @!attribute [rw] schema_arn
5364
+ # The Amazon Resource Name (ARN) of the schema being deleted.
5365
+ # @return [String]
5366
+ #
5367
+ # @!attribute [rw] schema_name
5368
+ # The name of the schema being deleted.
5369
+ # @return [String]
5370
+ #
5371
+ # @!attribute [rw] status
5372
+ # The status of the schema.
5373
+ # @return [String]
5374
+ #
5375
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSchemaResponse AWS API Documentation
5376
+ #
5377
+ class DeleteSchemaResponse < Struct.new(
5378
+ :schema_arn,
5379
+ :schema_name,
5380
+ :status)
5381
+ SENSITIVE = []
5382
+ include Aws::Structure
5383
+ end
5384
+
5385
+ # @note When making an API call, you may pass DeleteSchemaVersionsInput
5386
+ # data as a hash:
5387
+ #
5388
+ # {
5389
+ # schema_id: { # required
5390
+ # schema_arn: "GlueResourceArn",
5391
+ # schema_name: "SchemaRegistryNameString",
5392
+ # registry_name: "SchemaRegistryNameString",
5393
+ # },
5394
+ # versions: "VersionsString", # required
5395
+ # }
5396
+ #
5397
+ # @!attribute [rw] schema_id
5398
+ # This is a wrapper structure that may contain the schema name and
5399
+ # Amazon Resource Name (ARN).
5400
+ # @return [Types::SchemaId]
5401
+ #
5402
+ # @!attribute [rw] versions
5403
+ # A version range may be supplied which may be of the format:
5404
+ #
5405
+ # * a single version number, 5
5406
+ #
5407
+ # * a range, 5-8 : deletes versions 5, 6, 7, 8
5408
+ # @return [String]
5409
+ #
5410
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSchemaVersionsInput AWS API Documentation
5411
+ #
5412
+ class DeleteSchemaVersionsInput < Struct.new(
5413
+ :schema_id,
5414
+ :versions)
5415
+ SENSITIVE = []
5416
+ include Aws::Structure
5417
+ end
5418
+
5419
+ # @!attribute [rw] schema_version_errors
5420
+ # A list of `SchemaVersionErrorItem` objects, each containing an error
5421
+ # and schema version.
5422
+ # @return [Array<Types::SchemaVersionErrorItem>]
5423
+ #
5424
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSchemaVersionsResponse AWS API Documentation
5425
+ #
5426
+ class DeleteSchemaVersionsResponse < Struct.new(
5427
+ :schema_version_errors)
5428
+ SENSITIVE = []
5429
+ include Aws::Structure
5430
+ end
5431
+
4945
5432
  # @note When making an API call, you may pass DeleteSecurityConfigurationRequest
4946
5433
  # data as a hash:
4947
5434
  #
@@ -5628,6 +6115,25 @@ module Aws::Glue
5628
6115
  include Aws::Structure
5629
6116
  end
5630
6117
 
6118
+ # An object containing error details.
6119
+ #
6120
+ # @!attribute [rw] error_code
6121
+ # The error code for an error.
6122
+ # @return [String]
6123
+ #
6124
+ # @!attribute [rw] error_message
6125
+ # The error message for an error.
6126
+ # @return [String]
6127
+ #
6128
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ErrorDetails AWS API Documentation
6129
+ #
6130
+ class ErrorDetails < Struct.new(
6131
+ :error_code,
6132
+ :error_message)
6133
+ SENSITIVE = []
6134
+ include Aws::Structure
6135
+ end
6136
+
5631
6137
  # Evaluation metrics provide an estimate of the quality of your machine
5632
6138
  # learning transform.
5633
6139
  #
@@ -7656,45 +8162,105 @@ module Aws::Glue
7656
8162
  include Aws::Structure
7657
8163
  end
7658
8164
 
7659
- # @note When making an API call, you may pass GetResourcePoliciesRequest
8165
+ # @note When making an API call, you may pass GetRegistryInput
7660
8166
  # data as a hash:
7661
8167
  #
7662
8168
  # {
7663
- # next_token: "Token",
7664
- # max_results: 1,
8169
+ # registry_id: { # required
8170
+ # registry_name: "SchemaRegistryNameString",
8171
+ # registry_arn: "GlueResourceArn",
8172
+ # },
7665
8173
  # }
7666
8174
  #
7667
- # @!attribute [rw] next_token
7668
- # A continuation token, if this is a continuation request.
7669
- # @return [String]
7670
- #
7671
- # @!attribute [rw] max_results
7672
- # The maximum size of a list to return.
7673
- # @return [Integer]
8175
+ # @!attribute [rw] registry_id
8176
+ # This is a wrapper structure that may contain the registry name and
8177
+ # Amazon Resource Name (ARN).
8178
+ # @return [Types::RegistryId]
7674
8179
  #
7675
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetResourcePoliciesRequest AWS API Documentation
8180
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetRegistryInput AWS API Documentation
7676
8181
  #
7677
- class GetResourcePoliciesRequest < Struct.new(
7678
- :next_token,
7679
- :max_results)
8182
+ class GetRegistryInput < Struct.new(
8183
+ :registry_id)
7680
8184
  SENSITIVE = []
7681
8185
  include Aws::Structure
7682
8186
  end
7683
8187
 
7684
- # @!attribute [rw] get_resource_policies_response_list
7685
- # A list of the individual resource policies and the account-level
7686
- # resource policy.
7687
- # @return [Array<Types::GluePolicy>]
8188
+ # @!attribute [rw] registry_name
8189
+ # The name of the registry.
8190
+ # @return [String]
7688
8191
  #
7689
- # @!attribute [rw] next_token
7690
- # A continuation token, if the returned list does not contain the last
7691
- # resource policy available.
8192
+ # @!attribute [rw] registry_arn
8193
+ # The Amazon Resource Name (ARN) of the registry.
7692
8194
  # @return [String]
7693
8195
  #
7694
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetResourcePoliciesResponse AWS API Documentation
8196
+ # @!attribute [rw] description
8197
+ # A description of the registry.
8198
+ # @return [String]
7695
8199
  #
7696
- class GetResourcePoliciesResponse < Struct.new(
7697
- :get_resource_policies_response_list,
8200
+ # @!attribute [rw] status
8201
+ # The status of the registry.
8202
+ # @return [String]
8203
+ #
8204
+ # @!attribute [rw] created_time
8205
+ # The date and time the registry was created.
8206
+ # @return [String]
8207
+ #
8208
+ # @!attribute [rw] updated_time
8209
+ # The date and time the registry was updated.
8210
+ # @return [String]
8211
+ #
8212
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetRegistryResponse AWS API Documentation
8213
+ #
8214
+ class GetRegistryResponse < Struct.new(
8215
+ :registry_name,
8216
+ :registry_arn,
8217
+ :description,
8218
+ :status,
8219
+ :created_time,
8220
+ :updated_time)
8221
+ SENSITIVE = []
8222
+ include Aws::Structure
8223
+ end
8224
+
8225
+ # @note When making an API call, you may pass GetResourcePoliciesRequest
8226
+ # data as a hash:
8227
+ #
8228
+ # {
8229
+ # next_token: "Token",
8230
+ # max_results: 1,
8231
+ # }
8232
+ #
8233
+ # @!attribute [rw] next_token
8234
+ # A continuation token, if this is a continuation request.
8235
+ # @return [String]
8236
+ #
8237
+ # @!attribute [rw] max_results
8238
+ # The maximum size of a list to return.
8239
+ # @return [Integer]
8240
+ #
8241
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetResourcePoliciesRequest AWS API Documentation
8242
+ #
8243
+ class GetResourcePoliciesRequest < Struct.new(
8244
+ :next_token,
8245
+ :max_results)
8246
+ SENSITIVE = []
8247
+ include Aws::Structure
8248
+ end
8249
+
8250
+ # @!attribute [rw] get_resource_policies_response_list
8251
+ # A list of the individual resource policies and the account-level
8252
+ # resource policy.
8253
+ # @return [Array<Types::GluePolicy>]
8254
+ #
8255
+ # @!attribute [rw] next_token
8256
+ # A continuation token, if the returned list does not contain the last
8257
+ # resource policy available.
8258
+ # @return [String]
8259
+ #
8260
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetResourcePoliciesResponse AWS API Documentation
8261
+ #
8262
+ class GetResourcePoliciesResponse < Struct.new(
8263
+ :get_resource_policies_response_list,
7698
8264
  :next_token)
7699
8265
  SENSITIVE = []
7700
8266
  include Aws::Structure
@@ -7752,6 +8318,339 @@ module Aws::Glue
7752
8318
  include Aws::Structure
7753
8319
  end
7754
8320
 
8321
+ # @note When making an API call, you may pass GetSchemaByDefinitionInput
8322
+ # data as a hash:
8323
+ #
8324
+ # {
8325
+ # schema_id: { # required
8326
+ # schema_arn: "GlueResourceArn",
8327
+ # schema_name: "SchemaRegistryNameString",
8328
+ # registry_name: "SchemaRegistryNameString",
8329
+ # },
8330
+ # schema_definition: "SchemaDefinitionString", # required
8331
+ # }
8332
+ #
8333
+ # @!attribute [rw] schema_id
8334
+ # This is a wrapper structure to contain schema identity fields. The
8335
+ # structure contains:
8336
+ #
8337
+ # * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema.
8338
+ # One of `SchemaArn` or `SchemaName` has to be provided.
8339
+ #
8340
+ # * SchemaId$SchemaName: The name of the schema. One of `SchemaArn` or
8341
+ # `SchemaName` has to be provided.
8342
+ # @return [Types::SchemaId]
8343
+ #
8344
+ # @!attribute [rw] schema_definition
8345
+ # The definition of the schema for which schema details are required.
8346
+ # @return [String]
8347
+ #
8348
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaByDefinitionInput AWS API Documentation
8349
+ #
8350
+ class GetSchemaByDefinitionInput < Struct.new(
8351
+ :schema_id,
8352
+ :schema_definition)
8353
+ SENSITIVE = []
8354
+ include Aws::Structure
8355
+ end
8356
+
8357
+ # @!attribute [rw] schema_version_id
8358
+ # The schema ID of the schema version.
8359
+ # @return [String]
8360
+ #
8361
+ # @!attribute [rw] schema_arn
8362
+ # The Amazon Resource Name (ARN) of the schema.
8363
+ # @return [String]
8364
+ #
8365
+ # @!attribute [rw] data_format
8366
+ # The data format of the schema definition. Currently only `AVRO` is
8367
+ # supported.
8368
+ # @return [String]
8369
+ #
8370
+ # @!attribute [rw] status
8371
+ # The status of the schema version.
8372
+ # @return [String]
8373
+ #
8374
+ # @!attribute [rw] created_time
8375
+ # The date and time the schema was created.
8376
+ # @return [String]
8377
+ #
8378
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaByDefinitionResponse AWS API Documentation
8379
+ #
8380
+ class GetSchemaByDefinitionResponse < Struct.new(
8381
+ :schema_version_id,
8382
+ :schema_arn,
8383
+ :data_format,
8384
+ :status,
8385
+ :created_time)
8386
+ SENSITIVE = []
8387
+ include Aws::Structure
8388
+ end
8389
+
8390
+ # @note When making an API call, you may pass GetSchemaInput
8391
+ # data as a hash:
8392
+ #
8393
+ # {
8394
+ # schema_id: { # required
8395
+ # schema_arn: "GlueResourceArn",
8396
+ # schema_name: "SchemaRegistryNameString",
8397
+ # registry_name: "SchemaRegistryNameString",
8398
+ # },
8399
+ # }
8400
+ #
8401
+ # @!attribute [rw] schema_id
8402
+ # This is a wrapper structure to contain schema identity fields. The
8403
+ # structure contains:
8404
+ #
8405
+ # * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema.
8406
+ # Either `SchemaArn` or `SchemaName` and `RegistryName` has to be
8407
+ # provided.
8408
+ #
8409
+ # * SchemaId$SchemaName: The name of the schema. Either `SchemaArn` or
8410
+ # `SchemaName` and `RegistryName` has to be provided.
8411
+ # @return [Types::SchemaId]
8412
+ #
8413
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaInput AWS API Documentation
8414
+ #
8415
+ class GetSchemaInput < Struct.new(
8416
+ :schema_id)
8417
+ SENSITIVE = []
8418
+ include Aws::Structure
8419
+ end
8420
+
8421
+ # @!attribute [rw] registry_name
8422
+ # The name of the registry.
8423
+ # @return [String]
8424
+ #
8425
+ # @!attribute [rw] registry_arn
8426
+ # The Amazon Resource Name (ARN) of the registry.
8427
+ # @return [String]
8428
+ #
8429
+ # @!attribute [rw] schema_name
8430
+ # The name of the schema.
8431
+ # @return [String]
8432
+ #
8433
+ # @!attribute [rw] schema_arn
8434
+ # The Amazon Resource Name (ARN) of the schema.
8435
+ # @return [String]
8436
+ #
8437
+ # @!attribute [rw] description
8438
+ # A description of schema if specified when created
8439
+ # @return [String]
8440
+ #
8441
+ # @!attribute [rw] data_format
8442
+ # The data format of the schema definition. Currently only `AVRO` is
8443
+ # supported.
8444
+ # @return [String]
8445
+ #
8446
+ # @!attribute [rw] compatibility
8447
+ # The compatibility mode of the schema.
8448
+ # @return [String]
8449
+ #
8450
+ # @!attribute [rw] schema_checkpoint
8451
+ # The version number of the checkpoint (the last time the
8452
+ # compatibility mode was changed).
8453
+ # @return [Integer]
8454
+ #
8455
+ # @!attribute [rw] latest_schema_version
8456
+ # The latest version of the schema associated with the returned schema
8457
+ # definition.
8458
+ # @return [Integer]
8459
+ #
8460
+ # @!attribute [rw] next_schema_version
8461
+ # The next version of the schema associated with the returned schema
8462
+ # definition.
8463
+ # @return [Integer]
8464
+ #
8465
+ # @!attribute [rw] schema_status
8466
+ # The status of the schema.
8467
+ # @return [String]
8468
+ #
8469
+ # @!attribute [rw] created_time
8470
+ # The date and time the schema was created.
8471
+ # @return [String]
8472
+ #
8473
+ # @!attribute [rw] updated_time
8474
+ # The date and time the schema was updated.
8475
+ # @return [String]
8476
+ #
8477
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaResponse AWS API Documentation
8478
+ #
8479
+ class GetSchemaResponse < Struct.new(
8480
+ :registry_name,
8481
+ :registry_arn,
8482
+ :schema_name,
8483
+ :schema_arn,
8484
+ :description,
8485
+ :data_format,
8486
+ :compatibility,
8487
+ :schema_checkpoint,
8488
+ :latest_schema_version,
8489
+ :next_schema_version,
8490
+ :schema_status,
8491
+ :created_time,
8492
+ :updated_time)
8493
+ SENSITIVE = []
8494
+ include Aws::Structure
8495
+ end
8496
+
8497
+ # @note When making an API call, you may pass GetSchemaVersionInput
8498
+ # data as a hash:
8499
+ #
8500
+ # {
8501
+ # schema_id: {
8502
+ # schema_arn: "GlueResourceArn",
8503
+ # schema_name: "SchemaRegistryNameString",
8504
+ # registry_name: "SchemaRegistryNameString",
8505
+ # },
8506
+ # schema_version_id: "SchemaVersionIdString",
8507
+ # schema_version_number: {
8508
+ # latest_version: false,
8509
+ # version_number: 1,
8510
+ # },
8511
+ # }
8512
+ #
8513
+ # @!attribute [rw] schema_id
8514
+ # This is a wrapper structure to contain schema identity fields. The
8515
+ # structure contains:
8516
+ #
8517
+ # * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema.
8518
+ # Either `SchemaArn` or `SchemaName` and `RegistryName` has to be
8519
+ # provided.
8520
+ #
8521
+ # * SchemaId$SchemaName: The name of the schema. Either `SchemaArn` or
8522
+ # `SchemaName` and `RegistryName` has to be provided.
8523
+ # @return [Types::SchemaId]
8524
+ #
8525
+ # @!attribute [rw] schema_version_id
8526
+ # The `SchemaVersionId` of the schema version. This field is required
8527
+ # for fetching by schema ID. Either this or the `SchemaId` wrapper has
8528
+ # to be provided.
8529
+ # @return [String]
8530
+ #
8531
+ # @!attribute [rw] schema_version_number
8532
+ # The version number of the schema.
8533
+ # @return [Types::SchemaVersionNumber]
8534
+ #
8535
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaVersionInput AWS API Documentation
8536
+ #
8537
+ class GetSchemaVersionInput < Struct.new(
8538
+ :schema_id,
8539
+ :schema_version_id,
8540
+ :schema_version_number)
8541
+ SENSITIVE = []
8542
+ include Aws::Structure
8543
+ end
8544
+
8545
+ # @!attribute [rw] schema_version_id
8546
+ # The `SchemaVersionId` of the schema version.
8547
+ # @return [String]
8548
+ #
8549
+ # @!attribute [rw] schema_definition
8550
+ # The schema definition for the schema ID.
8551
+ # @return [String]
8552
+ #
8553
+ # @!attribute [rw] data_format
8554
+ # The data format of the schema definition. Currently only `AVRO` is
8555
+ # supported.
8556
+ # @return [String]
8557
+ #
8558
+ # @!attribute [rw] schema_arn
8559
+ # The Amazon Resource Name (ARN) of the schema.
8560
+ # @return [String]
8561
+ #
8562
+ # @!attribute [rw] version_number
8563
+ # The version number of the schema.
8564
+ # @return [Integer]
8565
+ #
8566
+ # @!attribute [rw] status
8567
+ # The status of the schema version.
8568
+ # @return [String]
8569
+ #
8570
+ # @!attribute [rw] created_time
8571
+ # The date and time the schema version was created.
8572
+ # @return [String]
8573
+ #
8574
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaVersionResponse AWS API Documentation
8575
+ #
8576
+ class GetSchemaVersionResponse < Struct.new(
8577
+ :schema_version_id,
8578
+ :schema_definition,
8579
+ :data_format,
8580
+ :schema_arn,
8581
+ :version_number,
8582
+ :status,
8583
+ :created_time)
8584
+ SENSITIVE = []
8585
+ include Aws::Structure
8586
+ end
8587
+
8588
+ # @note When making an API call, you may pass GetSchemaVersionsDiffInput
8589
+ # data as a hash:
8590
+ #
8591
+ # {
8592
+ # schema_id: { # required
8593
+ # schema_arn: "GlueResourceArn",
8594
+ # schema_name: "SchemaRegistryNameString",
8595
+ # registry_name: "SchemaRegistryNameString",
8596
+ # },
8597
+ # first_schema_version_number: { # required
8598
+ # latest_version: false,
8599
+ # version_number: 1,
8600
+ # },
8601
+ # second_schema_version_number: { # required
8602
+ # latest_version: false,
8603
+ # version_number: 1,
8604
+ # },
8605
+ # schema_diff_type: "SYNTAX_DIFF", # required, accepts SYNTAX_DIFF
8606
+ # }
8607
+ #
8608
+ # @!attribute [rw] schema_id
8609
+ # This is a wrapper structure to contain schema identity fields. The
8610
+ # structure contains:
8611
+ #
8612
+ # * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema.
8613
+ # One of `SchemaArn` or `SchemaName` has to be provided.
8614
+ #
8615
+ # * SchemaId$SchemaName: The name of the schema. One of `SchemaArn` or
8616
+ # `SchemaName` has to be provided.
8617
+ # @return [Types::SchemaId]
8618
+ #
8619
+ # @!attribute [rw] first_schema_version_number
8620
+ # The first of the two schema versions to be compared.
8621
+ # @return [Types::SchemaVersionNumber]
8622
+ #
8623
+ # @!attribute [rw] second_schema_version_number
8624
+ # The second of the two schema versions to be compared.
8625
+ # @return [Types::SchemaVersionNumber]
8626
+ #
8627
+ # @!attribute [rw] schema_diff_type
8628
+ # Refers to `SYNTAX_DIFF`, which is the currently supported diff type.
8629
+ # @return [String]
8630
+ #
8631
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaVersionsDiffInput AWS API Documentation
8632
+ #
8633
+ class GetSchemaVersionsDiffInput < Struct.new(
8634
+ :schema_id,
8635
+ :first_schema_version_number,
8636
+ :second_schema_version_number,
8637
+ :schema_diff_type)
8638
+ SENSITIVE = []
8639
+ include Aws::Structure
8640
+ end
8641
+
8642
+ # @!attribute [rw] diff
8643
+ # The difference between schemas as a string in JsonPatch format.
8644
+ # @return [String]
8645
+ #
8646
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaVersionsDiffResponse AWS API Documentation
8647
+ #
8648
+ class GetSchemaVersionsDiffResponse < Struct.new(
8649
+ :diff)
8650
+ SENSITIVE = []
8651
+ include Aws::Structure
8652
+ end
8653
+
7755
8654
  # @note When making an API call, you may pass GetSecurityConfigurationRequest
7756
8655
  # data as a hash:
7757
8656
  #
@@ -9829,86 +10728,249 @@ module Aws::Glue
9829
10728
  include Aws::Structure
9830
10729
  end
9831
10730
 
9832
- # @note When making an API call, you may pass ListTriggersRequest
10731
+ # @note When making an API call, you may pass ListRegistriesInput
9833
10732
  # data as a hash:
9834
10733
  #
9835
10734
  # {
9836
- # next_token: "GenericString",
9837
- # dependent_job_name: "NameString",
9838
10735
  # max_results: 1,
9839
- # tags: {
9840
- # "TagKey" => "TagValue",
9841
- # },
10736
+ # next_token: "SchemaRegistryTokenString",
9842
10737
  # }
9843
10738
  #
9844
- # @!attribute [rw] next_token
9845
- # A continuation token, if this is a continuation request.
9846
- # @return [String]
9847
- #
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.
9852
- # @return [String]
9853
- #
9854
10739
  # @!attribute [rw] max_results
9855
- # The maximum size of a list to return.
10740
+ # Maximum number of results required per page. If the value is not
10741
+ # supplied, this will be defaulted to 25 per page.
9856
10742
  # @return [Integer]
9857
10743
  #
9858
- # @!attribute [rw] tags
9859
- # Specifies to return only these tagged resources.
9860
- # @return [Hash<String,String>]
10744
+ # @!attribute [rw] next_token
10745
+ # A continuation token, if this is a continuation call.
10746
+ # @return [String]
9861
10747
  #
9862
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListTriggersRequest AWS API Documentation
10748
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListRegistriesInput AWS API Documentation
9863
10749
  #
9864
- class ListTriggersRequest < Struct.new(
9865
- :next_token,
9866
- :dependent_job_name,
10750
+ class ListRegistriesInput < Struct.new(
9867
10751
  :max_results,
9868
- :tags)
10752
+ :next_token)
9869
10753
  SENSITIVE = []
9870
10754
  include Aws::Structure
9871
10755
  end
9872
10756
 
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>]
10757
+ # @!attribute [rw] registries
10758
+ # An array of `RegistryDetailedListItem` objects containing minimal
10759
+ # details of each registry.
10760
+ # @return [Array<Types::RegistryListItem>]
9877
10761
  #
9878
10762
  # @!attribute [rw] next_token
9879
- # A continuation token, if the returned list does not contain the last
9880
- # metric available.
10763
+ # A continuation token for paginating the returned list of tokens,
10764
+ # returned if the current segment of the list is not the last.
9881
10765
  # @return [String]
9882
10766
  #
9883
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListTriggersResponse AWS API Documentation
10767
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListRegistriesResponse AWS API Documentation
9884
10768
  #
9885
- class ListTriggersResponse < Struct.new(
9886
- :trigger_names,
10769
+ class ListRegistriesResponse < Struct.new(
10770
+ :registries,
9887
10771
  :next_token)
9888
10772
  SENSITIVE = []
9889
10773
  include Aws::Structure
9890
10774
  end
9891
10775
 
9892
- # @note When making an API call, you may pass ListWorkflowsRequest
10776
+ # @note When making an API call, you may pass ListSchemaVersionsInput
9893
10777
  # data as a hash:
9894
10778
  #
9895
10779
  # {
9896
- # next_token: "GenericString",
10780
+ # schema_id: { # required
10781
+ # schema_arn: "GlueResourceArn",
10782
+ # schema_name: "SchemaRegistryNameString",
10783
+ # registry_name: "SchemaRegistryNameString",
10784
+ # },
9897
10785
  # max_results: 1,
10786
+ # next_token: "SchemaRegistryTokenString",
9898
10787
  # }
9899
10788
  #
9900
- # @!attribute [rw] next_token
9901
- # A continuation token, if this is a continuation request.
9902
- # @return [String]
10789
+ # @!attribute [rw] schema_id
10790
+ # This is a wrapper structure to contain schema identity fields. The
10791
+ # structure contains:
10792
+ #
10793
+ # * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema.
10794
+ # Either `SchemaArn` or `SchemaName` and `RegistryName` has to be
10795
+ # provided.
10796
+ #
10797
+ # * SchemaId$SchemaName: The name of the schema. Either `SchemaArn` or
10798
+ # `SchemaName` and `RegistryName` has to be provided.
10799
+ # @return [Types::SchemaId]
9903
10800
  #
9904
10801
  # @!attribute [rw] max_results
9905
- # The maximum size of a list to return.
10802
+ # Maximum number of results required per page. If the value is not
10803
+ # supplied, this will be defaulted to 25 per page.
9906
10804
  # @return [Integer]
9907
10805
  #
9908
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListWorkflowsRequest AWS API Documentation
10806
+ # @!attribute [rw] next_token
10807
+ # A continuation token, if this is a continuation call.
10808
+ # @return [String]
9909
10809
  #
9910
- class ListWorkflowsRequest < Struct.new(
9911
- :next_token,
10810
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSchemaVersionsInput AWS API Documentation
10811
+ #
10812
+ class ListSchemaVersionsInput < Struct.new(
10813
+ :schema_id,
10814
+ :max_results,
10815
+ :next_token)
10816
+ SENSITIVE = []
10817
+ include Aws::Structure
10818
+ end
10819
+
10820
+ # @!attribute [rw] schemas
10821
+ # An array of `SchemaVersionList` objects containing details of each
10822
+ # schema version.
10823
+ # @return [Array<Types::SchemaVersionListItem>]
10824
+ #
10825
+ # @!attribute [rw] next_token
10826
+ # A continuation token for paginating the returned list of tokens,
10827
+ # returned if the current segment of the list is not the last.
10828
+ # @return [String]
10829
+ #
10830
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSchemaVersionsResponse AWS API Documentation
10831
+ #
10832
+ class ListSchemaVersionsResponse < Struct.new(
10833
+ :schemas,
10834
+ :next_token)
10835
+ SENSITIVE = []
10836
+ include Aws::Structure
10837
+ end
10838
+
10839
+ # @note When making an API call, you may pass ListSchemasInput
10840
+ # data as a hash:
10841
+ #
10842
+ # {
10843
+ # registry_id: {
10844
+ # registry_name: "SchemaRegistryNameString",
10845
+ # registry_arn: "GlueResourceArn",
10846
+ # },
10847
+ # max_results: 1,
10848
+ # next_token: "SchemaRegistryTokenString",
10849
+ # }
10850
+ #
10851
+ # @!attribute [rw] registry_id
10852
+ # A wrapper structure that may contain the registry name and Amazon
10853
+ # Resource Name (ARN).
10854
+ # @return [Types::RegistryId]
10855
+ #
10856
+ # @!attribute [rw] max_results
10857
+ # Maximum number of results required per page. If the value is not
10858
+ # supplied, this will be defaulted to 25 per page.
10859
+ # @return [Integer]
10860
+ #
10861
+ # @!attribute [rw] next_token
10862
+ # A continuation token, if this is a continuation call.
10863
+ # @return [String]
10864
+ #
10865
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSchemasInput AWS API Documentation
10866
+ #
10867
+ class ListSchemasInput < Struct.new(
10868
+ :registry_id,
10869
+ :max_results,
10870
+ :next_token)
10871
+ SENSITIVE = []
10872
+ include Aws::Structure
10873
+ end
10874
+
10875
+ # @!attribute [rw] schemas
10876
+ # An array of `SchemaListItem` objects containing details of each
10877
+ # schema.
10878
+ # @return [Array<Types::SchemaListItem>]
10879
+ #
10880
+ # @!attribute [rw] next_token
10881
+ # A continuation token for paginating the returned list of tokens,
10882
+ # returned if the current segment of the list is not the last.
10883
+ # @return [String]
10884
+ #
10885
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSchemasResponse AWS API Documentation
10886
+ #
10887
+ class ListSchemasResponse < Struct.new(
10888
+ :schemas,
10889
+ :next_token)
10890
+ SENSITIVE = []
10891
+ include Aws::Structure
10892
+ end
10893
+
10894
+ # @note When making an API call, you may pass ListTriggersRequest
10895
+ # data as a hash:
10896
+ #
10897
+ # {
10898
+ # next_token: "GenericString",
10899
+ # dependent_job_name: "NameString",
10900
+ # max_results: 1,
10901
+ # tags: {
10902
+ # "TagKey" => "TagValue",
10903
+ # },
10904
+ # }
10905
+ #
10906
+ # @!attribute [rw] next_token
10907
+ # A continuation token, if this is a continuation request.
10908
+ # @return [String]
10909
+ #
10910
+ # @!attribute [rw] dependent_job_name
10911
+ # The name of the job for which to retrieve triggers. The trigger that
10912
+ # can start this job is returned. If there is no such trigger, all
10913
+ # triggers are returned.
10914
+ # @return [String]
10915
+ #
10916
+ # @!attribute [rw] max_results
10917
+ # The maximum size of a list to return.
10918
+ # @return [Integer]
10919
+ #
10920
+ # @!attribute [rw] tags
10921
+ # Specifies to return only these tagged resources.
10922
+ # @return [Hash<String,String>]
10923
+ #
10924
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListTriggersRequest AWS API Documentation
10925
+ #
10926
+ class ListTriggersRequest < Struct.new(
10927
+ :next_token,
10928
+ :dependent_job_name,
10929
+ :max_results,
10930
+ :tags)
10931
+ SENSITIVE = []
10932
+ include Aws::Structure
10933
+ end
10934
+
10935
+ # @!attribute [rw] trigger_names
10936
+ # The names of all triggers in the account, or the triggers with the
10937
+ # specified tags.
10938
+ # @return [Array<String>]
10939
+ #
10940
+ # @!attribute [rw] next_token
10941
+ # A continuation token, if the returned list does not contain the last
10942
+ # metric available.
10943
+ # @return [String]
10944
+ #
10945
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListTriggersResponse AWS API Documentation
10946
+ #
10947
+ class ListTriggersResponse < Struct.new(
10948
+ :trigger_names,
10949
+ :next_token)
10950
+ SENSITIVE = []
10951
+ include Aws::Structure
10952
+ end
10953
+
10954
+ # @note When making an API call, you may pass ListWorkflowsRequest
10955
+ # data as a hash:
10956
+ #
10957
+ # {
10958
+ # next_token: "GenericString",
10959
+ # max_results: 1,
10960
+ # }
10961
+ #
10962
+ # @!attribute [rw] next_token
10963
+ # A continuation token, if this is a continuation request.
10964
+ # @return [String]
10965
+ #
10966
+ # @!attribute [rw] max_results
10967
+ # The maximum size of a list to return.
10968
+ # @return [Integer]
10969
+ #
10970
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListWorkflowsRequest AWS API Documentation
10971
+ #
10972
+ class ListWorkflowsRequest < Struct.new(
10973
+ :next_token,
9912
10974
  :max_results)
9913
10975
  SENSITIVE = []
9914
10976
  include Aws::Structure
@@ -10317,6 +11379,52 @@ module Aws::Glue
10317
11379
  include Aws::Structure
10318
11380
  end
10319
11381
 
11382
+ # A structure containing metadata information for a schema version.
11383
+ #
11384
+ # @!attribute [rw] metadata_value
11385
+ # The metadata key’s corresponding value.
11386
+ # @return [String]
11387
+ #
11388
+ # @!attribute [rw] created_time
11389
+ # The time at which the entry was created.
11390
+ # @return [String]
11391
+ #
11392
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/MetadataInfo AWS API Documentation
11393
+ #
11394
+ class MetadataInfo < Struct.new(
11395
+ :metadata_value,
11396
+ :created_time)
11397
+ SENSITIVE = []
11398
+ include Aws::Structure
11399
+ end
11400
+
11401
+ # A structure containing a key value pair for metadata.
11402
+ #
11403
+ # @note When making an API call, you may pass MetadataKeyValuePair
11404
+ # data as a hash:
11405
+ #
11406
+ # {
11407
+ # metadata_key: "MetadataKeyString",
11408
+ # metadata_value: "MetadataValueString",
11409
+ # }
11410
+ #
11411
+ # @!attribute [rw] metadata_key
11412
+ # A metadata key.
11413
+ # @return [String]
11414
+ #
11415
+ # @!attribute [rw] metadata_value
11416
+ # A metadata key’s corresponding value.
11417
+ # @return [String]
11418
+ #
11419
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/MetadataKeyValuePair AWS API Documentation
11420
+ #
11421
+ class MetadataKeyValuePair < Struct.new(
11422
+ :metadata_key,
11423
+ :metadata_value)
11424
+ SENSITIVE = []
11425
+ include Aws::Structure
11426
+ end
11427
+
10320
11428
  # Specifies an Amazon DocumentDB or MongoDB data store to crawl.
10321
11429
  #
10322
11430
  # @note When making an API call, you may pass MongoDBTarget
@@ -10652,6 +11760,15 @@ module Aws::Glue
10652
11760
  # },
10653
11761
  # },
10654
11762
  # stored_as_sub_directories: false,
11763
+ # schema_reference: {
11764
+ # schema_id: {
11765
+ # schema_arn: "GlueResourceArn",
11766
+ # schema_name: "SchemaRegistryNameString",
11767
+ # registry_name: "SchemaRegistryNameString",
11768
+ # },
11769
+ # schema_version_id: "SchemaVersionIdString",
11770
+ # schema_version_number: 1,
11771
+ # },
10655
11772
  # },
10656
11773
  # parameters: {
10657
11774
  # "KeyString" => "ParametersMapValue",
@@ -10952,113 +12069,519 @@ module Aws::Glue
10952
12069
  # policy.
10953
12070
  # @return [String]
10954
12071
  #
10955
- # @!attribute [rw] enable_hybrid
10956
- # Allows you to specify if you want to use both resource-level and
10957
- # account/catalog-level resource policies. A resource-level policy is
10958
- # a policy attached to an individual resource such as a database or a
10959
- # table.
12072
+ # @!attribute [rw] enable_hybrid
12073
+ # Allows you to specify if you want to use both resource-level and
12074
+ # account/catalog-level resource policies. A resource-level policy is
12075
+ # a policy attached to an individual resource such as a database or a
12076
+ # table.
12077
+ #
12078
+ # The default value of `NO` indicates that resource-level policies
12079
+ # cannot co-exist with an account-level policy. A value of `YES` means
12080
+ # the use of both resource-level and account/catalog-level resource
12081
+ # policies is allowed.
12082
+ # @return [String]
12083
+ #
12084
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutResourcePolicyRequest AWS API Documentation
12085
+ #
12086
+ class PutResourcePolicyRequest < Struct.new(
12087
+ :policy_in_json,
12088
+ :resource_arn,
12089
+ :policy_hash_condition,
12090
+ :policy_exists_condition,
12091
+ :enable_hybrid)
12092
+ SENSITIVE = []
12093
+ include Aws::Structure
12094
+ end
12095
+
12096
+ # @!attribute [rw] policy_hash
12097
+ # A hash of the policy that has just been set. This must be included
12098
+ # in a subsequent call that overwrites or updates this policy.
12099
+ # @return [String]
12100
+ #
12101
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutResourcePolicyResponse AWS API Documentation
12102
+ #
12103
+ class PutResourcePolicyResponse < Struct.new(
12104
+ :policy_hash)
12105
+ SENSITIVE = []
12106
+ include Aws::Structure
12107
+ end
12108
+
12109
+ # @note When making an API call, you may pass PutSchemaVersionMetadataInput
12110
+ # data as a hash:
12111
+ #
12112
+ # {
12113
+ # schema_id: {
12114
+ # schema_arn: "GlueResourceArn",
12115
+ # schema_name: "SchemaRegistryNameString",
12116
+ # registry_name: "SchemaRegistryNameString",
12117
+ # },
12118
+ # schema_version_number: {
12119
+ # latest_version: false,
12120
+ # version_number: 1,
12121
+ # },
12122
+ # schema_version_id: "SchemaVersionIdString",
12123
+ # metadata_key_value: { # required
12124
+ # metadata_key: "MetadataKeyString",
12125
+ # metadata_value: "MetadataValueString",
12126
+ # },
12127
+ # }
12128
+ #
12129
+ # @!attribute [rw] schema_id
12130
+ # The unique ID for the schema.
12131
+ # @return [Types::SchemaId]
12132
+ #
12133
+ # @!attribute [rw] schema_version_number
12134
+ # The version number of the schema.
12135
+ # @return [Types::SchemaVersionNumber]
12136
+ #
12137
+ # @!attribute [rw] schema_version_id
12138
+ # The unique version ID of the schema version.
12139
+ # @return [String]
12140
+ #
12141
+ # @!attribute [rw] metadata_key_value
12142
+ # The metadata key's corresponding value.
12143
+ # @return [Types::MetadataKeyValuePair]
12144
+ #
12145
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutSchemaVersionMetadataInput AWS API Documentation
12146
+ #
12147
+ class PutSchemaVersionMetadataInput < Struct.new(
12148
+ :schema_id,
12149
+ :schema_version_number,
12150
+ :schema_version_id,
12151
+ :metadata_key_value)
12152
+ SENSITIVE = []
12153
+ include Aws::Structure
12154
+ end
12155
+
12156
+ # @!attribute [rw] schema_arn
12157
+ # The Amazon Resource Name (ARN) for the schema.
12158
+ # @return [String]
12159
+ #
12160
+ # @!attribute [rw] schema_name
12161
+ # The name for the schema.
12162
+ # @return [String]
12163
+ #
12164
+ # @!attribute [rw] registry_name
12165
+ # The name for the registry.
12166
+ # @return [String]
12167
+ #
12168
+ # @!attribute [rw] latest_version
12169
+ # The latest version of the schema.
12170
+ # @return [Boolean]
12171
+ #
12172
+ # @!attribute [rw] version_number
12173
+ # The version number of the schema.
12174
+ # @return [Integer]
12175
+ #
12176
+ # @!attribute [rw] schema_version_id
12177
+ # The unique version ID of the schema version.
12178
+ # @return [String]
12179
+ #
12180
+ # @!attribute [rw] metadata_key
12181
+ # The metadata key.
12182
+ # @return [String]
12183
+ #
12184
+ # @!attribute [rw] metadata_value
12185
+ # The value of the metadata key.
12186
+ # @return [String]
12187
+ #
12188
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutSchemaVersionMetadataResponse AWS API Documentation
12189
+ #
12190
+ class PutSchemaVersionMetadataResponse < Struct.new(
12191
+ :schema_arn,
12192
+ :schema_name,
12193
+ :registry_name,
12194
+ :latest_version,
12195
+ :version_number,
12196
+ :schema_version_id,
12197
+ :metadata_key,
12198
+ :metadata_value)
12199
+ SENSITIVE = []
12200
+ include Aws::Structure
12201
+ end
12202
+
12203
+ # @note When making an API call, you may pass PutWorkflowRunPropertiesRequest
12204
+ # data as a hash:
12205
+ #
12206
+ # {
12207
+ # name: "NameString", # required
12208
+ # run_id: "IdString", # required
12209
+ # run_properties: { # required
12210
+ # "IdString" => "GenericString",
12211
+ # },
12212
+ # }
12213
+ #
12214
+ # @!attribute [rw] name
12215
+ # Name of the workflow which was run.
12216
+ # @return [String]
12217
+ #
12218
+ # @!attribute [rw] run_id
12219
+ # The ID of the workflow run for which the run properties should be
12220
+ # updated.
12221
+ # @return [String]
12222
+ #
12223
+ # @!attribute [rw] run_properties
12224
+ # The properties to put for the specified run.
12225
+ # @return [Hash<String,String>]
12226
+ #
12227
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutWorkflowRunPropertiesRequest AWS API Documentation
12228
+ #
12229
+ class PutWorkflowRunPropertiesRequest < Struct.new(
12230
+ :name,
12231
+ :run_id,
12232
+ :run_properties)
12233
+ SENSITIVE = []
12234
+ include Aws::Structure
12235
+ end
12236
+
12237
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutWorkflowRunPropertiesResponse AWS API Documentation
12238
+ #
12239
+ class PutWorkflowRunPropertiesResponse < Aws::EmptyStructure; end
12240
+
12241
+ # @note When making an API call, you may pass QuerySchemaVersionMetadataInput
12242
+ # data as a hash:
12243
+ #
12244
+ # {
12245
+ # schema_id: {
12246
+ # schema_arn: "GlueResourceArn",
12247
+ # schema_name: "SchemaRegistryNameString",
12248
+ # registry_name: "SchemaRegistryNameString",
12249
+ # },
12250
+ # schema_version_number: {
12251
+ # latest_version: false,
12252
+ # version_number: 1,
12253
+ # },
12254
+ # schema_version_id: "SchemaVersionIdString",
12255
+ # metadata_list: [
12256
+ # {
12257
+ # metadata_key: "MetadataKeyString",
12258
+ # metadata_value: "MetadataValueString",
12259
+ # },
12260
+ # ],
12261
+ # max_results: 1,
12262
+ # next_token: "SchemaRegistryTokenString",
12263
+ # }
12264
+ #
12265
+ # @!attribute [rw] schema_id
12266
+ # A wrapper structure that may contain the schema name and Amazon
12267
+ # Resource Name (ARN).
12268
+ # @return [Types::SchemaId]
12269
+ #
12270
+ # @!attribute [rw] schema_version_number
12271
+ # The version number of the schema.
12272
+ # @return [Types::SchemaVersionNumber]
12273
+ #
12274
+ # @!attribute [rw] schema_version_id
12275
+ # The unique version ID of the schema version.
12276
+ # @return [String]
12277
+ #
12278
+ # @!attribute [rw] metadata_list
12279
+ # Search key-value pairs for metadata, if they are not provided all
12280
+ # the metadata information will be fetched.
12281
+ # @return [Array<Types::MetadataKeyValuePair>]
12282
+ #
12283
+ # @!attribute [rw] max_results
12284
+ # Maximum number of results required per page. If the value is not
12285
+ # supplied, this will be defaulted to 25 per page.
12286
+ # @return [Integer]
12287
+ #
12288
+ # @!attribute [rw] next_token
12289
+ # A continuation token, if this is a continuation call.
12290
+ # @return [String]
12291
+ #
12292
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/QuerySchemaVersionMetadataInput AWS API Documentation
12293
+ #
12294
+ class QuerySchemaVersionMetadataInput < Struct.new(
12295
+ :schema_id,
12296
+ :schema_version_number,
12297
+ :schema_version_id,
12298
+ :metadata_list,
12299
+ :max_results,
12300
+ :next_token)
12301
+ SENSITIVE = []
12302
+ include Aws::Structure
12303
+ end
12304
+
12305
+ # @!attribute [rw] metadata_info_map
12306
+ # A map of a metadata key and associated values.
12307
+ # @return [Hash<String,Types::MetadataInfo>]
12308
+ #
12309
+ # @!attribute [rw] schema_version_id
12310
+ # The unique version ID of the schema version.
12311
+ # @return [String]
12312
+ #
12313
+ # @!attribute [rw] next_token
12314
+ # A continuation token for paginating the returned list of tokens,
12315
+ # returned if the current segment of the list is not the last.
12316
+ # @return [String]
12317
+ #
12318
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/QuerySchemaVersionMetadataResponse AWS API Documentation
12319
+ #
12320
+ class QuerySchemaVersionMetadataResponse < Struct.new(
12321
+ :metadata_info_map,
12322
+ :schema_version_id,
12323
+ :next_token)
12324
+ SENSITIVE = []
12325
+ include Aws::Structure
12326
+ end
12327
+
12328
+ # When crawling an Amazon S3 data source after the first crawl is
12329
+ # complete, specifies whether to crawl the entire dataset again or to
12330
+ # crawl only folders that were added since the last crawler run. For
12331
+ # more information, see [Incremental Crawls in AWS Glue][1] in the
12332
+ # developer guide.
12333
+ #
12334
+ #
12335
+ #
12336
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/incremental-crawls.html
12337
+ #
12338
+ # @note When making an API call, you may pass RecrawlPolicy
12339
+ # data as a hash:
12340
+ #
12341
+ # {
12342
+ # recrawl_behavior: "CRAWL_EVERYTHING", # accepts CRAWL_EVERYTHING, CRAWL_NEW_FOLDERS_ONLY
12343
+ # }
12344
+ #
12345
+ # @!attribute [rw] recrawl_behavior
12346
+ # Specifies whether to crawl the entire dataset again or to crawl only
12347
+ # folders that were added since the last crawler run.
12348
+ #
12349
+ # A value of `CRAWL_EVERYTHING` specifies crawling the entire dataset
12350
+ # again.
12351
+ #
12352
+ # A value of `CRAWL_NEW_FOLDERS_ONLY` specifies crawling only folders
12353
+ # that were added since the last crawler run.
12354
+ # @return [String]
12355
+ #
12356
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RecrawlPolicy AWS API Documentation
12357
+ #
12358
+ class RecrawlPolicy < Struct.new(
12359
+ :recrawl_behavior)
12360
+ SENSITIVE = []
12361
+ include Aws::Structure
12362
+ end
12363
+
12364
+ # @note When making an API call, you may pass RegisterSchemaVersionInput
12365
+ # data as a hash:
12366
+ #
12367
+ # {
12368
+ # schema_id: { # required
12369
+ # schema_arn: "GlueResourceArn",
12370
+ # schema_name: "SchemaRegistryNameString",
12371
+ # registry_name: "SchemaRegistryNameString",
12372
+ # },
12373
+ # schema_definition: "SchemaDefinitionString", # required
12374
+ # }
12375
+ #
12376
+ # @!attribute [rw] schema_id
12377
+ # This is a wrapper structure to contain schema identity fields. The
12378
+ # structure contains:
12379
+ #
12380
+ # * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema.
12381
+ # Either `SchemaArn` or `SchemaName` and `RegistryName` has to be
12382
+ # provided.
12383
+ #
12384
+ # * SchemaId$SchemaName: The name of the schema. Either `SchemaArn` or
12385
+ # `SchemaName` and `RegistryName` has to be provided.
12386
+ # @return [Types::SchemaId]
12387
+ #
12388
+ # @!attribute [rw] schema_definition
12389
+ # The schema definition using the `DataFormat` setting for the
12390
+ # `SchemaName`.
12391
+ # @return [String]
12392
+ #
12393
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RegisterSchemaVersionInput AWS API Documentation
12394
+ #
12395
+ class RegisterSchemaVersionInput < Struct.new(
12396
+ :schema_id,
12397
+ :schema_definition)
12398
+ SENSITIVE = []
12399
+ include Aws::Structure
12400
+ end
12401
+
12402
+ # @!attribute [rw] schema_version_id
12403
+ # The unique ID that represents the version of this schema.
12404
+ # @return [String]
12405
+ #
12406
+ # @!attribute [rw] version_number
12407
+ # The version of this schema (for sync flow only, in case this is the
12408
+ # first version).
12409
+ # @return [Integer]
12410
+ #
12411
+ # @!attribute [rw] status
12412
+ # The status of the schema version.
12413
+ # @return [String]
12414
+ #
12415
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RegisterSchemaVersionResponse AWS API Documentation
12416
+ #
12417
+ class RegisterSchemaVersionResponse < Struct.new(
12418
+ :schema_version_id,
12419
+ :version_number,
12420
+ :status)
12421
+ SENSITIVE = []
12422
+ include Aws::Structure
12423
+ end
12424
+
12425
+ # A wrapper structure that may contain the registry name and Amazon
12426
+ # Resource Name (ARN).
12427
+ #
12428
+ # @note When making an API call, you may pass RegistryId
12429
+ # data as a hash:
12430
+ #
12431
+ # {
12432
+ # registry_name: "SchemaRegistryNameString",
12433
+ # registry_arn: "GlueResourceArn",
12434
+ # }
12435
+ #
12436
+ # @!attribute [rw] registry_name
12437
+ # Name of the registry. Used only for lookup. One of `RegistryArn` or
12438
+ # `RegistryName` has to be provided.
12439
+ # @return [String]
10960
12440
  #
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.
12441
+ # @!attribute [rw] registry_arn
12442
+ # Arn of the registry to be updated. One of `RegistryArn` or
12443
+ # `RegistryName` has to be provided.
10965
12444
  # @return [String]
10966
12445
  #
10967
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutResourcePolicyRequest AWS API Documentation
12446
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RegistryId AWS API Documentation
10968
12447
  #
10969
- class PutResourcePolicyRequest < Struct.new(
10970
- :policy_in_json,
10971
- :resource_arn,
10972
- :policy_hash_condition,
10973
- :policy_exists_condition,
10974
- :enable_hybrid)
12448
+ class RegistryId < Struct.new(
12449
+ :registry_name,
12450
+ :registry_arn)
10975
12451
  SENSITIVE = []
10976
12452
  include Aws::Structure
10977
12453
  end
10978
12454
 
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.
12455
+ # A structure containing the details for a registry.
12456
+ #
12457
+ # @!attribute [rw] registry_name
12458
+ # The name of the registry.
10982
12459
  # @return [String]
10983
12460
  #
10984
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutResourcePolicyResponse AWS API Documentation
12461
+ # @!attribute [rw] registry_arn
12462
+ # The Amazon Resource Name (ARN) of the registry.
12463
+ # @return [String]
10985
12464
  #
10986
- class PutResourcePolicyResponse < Struct.new(
10987
- :policy_hash)
12465
+ # @!attribute [rw] description
12466
+ # A description of the registry.
12467
+ # @return [String]
12468
+ #
12469
+ # @!attribute [rw] status
12470
+ # The status of the registry.
12471
+ # @return [String]
12472
+ #
12473
+ # @!attribute [rw] created_time
12474
+ # The data the registry was created.
12475
+ # @return [String]
12476
+ #
12477
+ # @!attribute [rw] updated_time
12478
+ # The date the registry was updated.
12479
+ # @return [String]
12480
+ #
12481
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RegistryListItem AWS API Documentation
12482
+ #
12483
+ class RegistryListItem < Struct.new(
12484
+ :registry_name,
12485
+ :registry_arn,
12486
+ :description,
12487
+ :status,
12488
+ :created_time,
12489
+ :updated_time)
10988
12490
  SENSITIVE = []
10989
12491
  include Aws::Structure
10990
12492
  end
10991
12493
 
10992
- # @note When making an API call, you may pass PutWorkflowRunPropertiesRequest
12494
+ # @note When making an API call, you may pass RemoveSchemaVersionMetadataInput
10993
12495
  # data as a hash:
10994
12496
  #
10995
12497
  # {
10996
- # name: "NameString", # required
10997
- # run_id: "IdString", # required
10998
- # run_properties: { # required
10999
- # "IdString" => "GenericString",
12498
+ # schema_id: {
12499
+ # schema_arn: "GlueResourceArn",
12500
+ # schema_name: "SchemaRegistryNameString",
12501
+ # registry_name: "SchemaRegistryNameString",
12502
+ # },
12503
+ # schema_version_number: {
12504
+ # latest_version: false,
12505
+ # version_number: 1,
12506
+ # },
12507
+ # schema_version_id: "SchemaVersionIdString",
12508
+ # metadata_key_value: { # required
12509
+ # metadata_key: "MetadataKeyString",
12510
+ # metadata_value: "MetadataValueString",
11000
12511
  # },
11001
12512
  # }
11002
12513
  #
11003
- # @!attribute [rw] name
11004
- # Name of the workflow which was run.
11005
- # @return [String]
12514
+ # @!attribute [rw] schema_id
12515
+ # A wrapper structure that may contain the schema name and Amazon
12516
+ # Resource Name (ARN).
12517
+ # @return [Types::SchemaId]
11006
12518
  #
11007
- # @!attribute [rw] run_id
11008
- # The ID of the workflow run for which the run properties should be
11009
- # updated.
12519
+ # @!attribute [rw] schema_version_number
12520
+ # The version number of the schema.
12521
+ # @return [Types::SchemaVersionNumber]
12522
+ #
12523
+ # @!attribute [rw] schema_version_id
12524
+ # The unique version ID of the schema version.
11010
12525
  # @return [String]
11011
12526
  #
11012
- # @!attribute [rw] run_properties
11013
- # The properties to put for the specified run.
11014
- # @return [Hash<String,String>]
12527
+ # @!attribute [rw] metadata_key_value
12528
+ # The value of the metadata key.
12529
+ # @return [Types::MetadataKeyValuePair]
11015
12530
  #
11016
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutWorkflowRunPropertiesRequest AWS API Documentation
12531
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RemoveSchemaVersionMetadataInput AWS API Documentation
11017
12532
  #
11018
- class PutWorkflowRunPropertiesRequest < Struct.new(
11019
- :name,
11020
- :run_id,
11021
- :run_properties)
12533
+ class RemoveSchemaVersionMetadataInput < Struct.new(
12534
+ :schema_id,
12535
+ :schema_version_number,
12536
+ :schema_version_id,
12537
+ :metadata_key_value)
11022
12538
  SENSITIVE = []
11023
12539
  include Aws::Structure
11024
12540
  end
11025
12541
 
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
- #
12542
+ # @!attribute [rw] schema_arn
12543
+ # The Amazon Resource Name (ARN) of the schema.
12544
+ # @return [String]
11036
12545
  #
12546
+ # @!attribute [rw] schema_name
12547
+ # The name of the schema.
12548
+ # @return [String]
11037
12549
  #
11038
- # [1]: https://docs.aws.amazon.com/glue/latest/dg/incremental-crawls.html
12550
+ # @!attribute [rw] registry_name
12551
+ # The name of the registry.
12552
+ # @return [String]
11039
12553
  #
11040
- # @note When making an API call, you may pass RecrawlPolicy
11041
- # data as a hash:
12554
+ # @!attribute [rw] latest_version
12555
+ # The latest version of the schema.
12556
+ # @return [Boolean]
11042
12557
  #
11043
- # {
11044
- # recrawl_behavior: "CRAWL_EVERYTHING", # accepts CRAWL_EVERYTHING, CRAWL_NEW_FOLDERS_ONLY
11045
- # }
12558
+ # @!attribute [rw] version_number
12559
+ # The version number of the schema.
12560
+ # @return [Integer]
11046
12561
  #
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.
12562
+ # @!attribute [rw] schema_version_id
12563
+ # The version ID for the schema version.
12564
+ # @return [String]
11050
12565
  #
11051
- # A value of `CRAWL_EVERYTHING` specifies crawling the entire dataset
11052
- # again.
12566
+ # @!attribute [rw] metadata_key
12567
+ # The metadata key.
12568
+ # @return [String]
11053
12569
  #
11054
- # A value of `CRAWL_NEW_FOLDERS_ONLY` specifies crawling only folders
11055
- # that were added since the last crawler run.
12570
+ # @!attribute [rw] metadata_value
12571
+ # The value of the metadata key.
11056
12572
  # @return [String]
11057
12573
  #
11058
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RecrawlPolicy AWS API Documentation
12574
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RemoveSchemaVersionMetadataResponse AWS API Documentation
11059
12575
  #
11060
- class RecrawlPolicy < Struct.new(
11061
- :recrawl_behavior)
12576
+ class RemoveSchemaVersionMetadataResponse < Struct.new(
12577
+ :schema_arn,
12578
+ :schema_name,
12579
+ :registry_name,
12580
+ :latest_version,
12581
+ :version_number,
12582
+ :schema_version_id,
12583
+ :metadata_key,
12584
+ :metadata_value)
11062
12585
  SENSITIVE = []
11063
12586
  include Aws::Structure
11064
12587
  end
@@ -11384,6 +12907,195 @@ module Aws::Glue
11384
12907
  include Aws::Structure
11385
12908
  end
11386
12909
 
12910
+ # @note When making an API call, you may pass SchemaId
12911
+ # data as a hash:
12912
+ #
12913
+ # {
12914
+ # schema_arn: "GlueResourceArn",
12915
+ # schema_name: "SchemaRegistryNameString",
12916
+ # registry_name: "SchemaRegistryNameString",
12917
+ # }
12918
+ #
12919
+ # @!attribute [rw] schema_arn
12920
+ # @return [String]
12921
+ #
12922
+ # @!attribute [rw] schema_name
12923
+ # @return [String]
12924
+ #
12925
+ # @!attribute [rw] registry_name
12926
+ # @return [String]
12927
+ #
12928
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SchemaId AWS API Documentation
12929
+ #
12930
+ class SchemaId < Struct.new(
12931
+ :schema_arn,
12932
+ :schema_name,
12933
+ :registry_name)
12934
+ SENSITIVE = []
12935
+ include Aws::Structure
12936
+ end
12937
+
12938
+ # An object that contains minimal details for a schema.
12939
+ #
12940
+ # @!attribute [rw] registry_name
12941
+ # the name of the registry where the schema resides.
12942
+ # @return [String]
12943
+ #
12944
+ # @!attribute [rw] schema_name
12945
+ # The name of the schema.
12946
+ # @return [String]
12947
+ #
12948
+ # @!attribute [rw] schema_arn
12949
+ # The Amazon Resource Name (ARN) for the schema.
12950
+ # @return [String]
12951
+ #
12952
+ # @!attribute [rw] description
12953
+ # A description for the schema.
12954
+ # @return [String]
12955
+ #
12956
+ # @!attribute [rw] schema_status
12957
+ # The status of the schema.
12958
+ # @return [String]
12959
+ #
12960
+ # @!attribute [rw] created_time
12961
+ # The date and time that a schema was created.
12962
+ # @return [String]
12963
+ #
12964
+ # @!attribute [rw] updated_time
12965
+ # The date and time that a schema was updated.
12966
+ # @return [String]
12967
+ #
12968
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SchemaListItem AWS API Documentation
12969
+ #
12970
+ class SchemaListItem < Struct.new(
12971
+ :registry_name,
12972
+ :schema_name,
12973
+ :schema_arn,
12974
+ :description,
12975
+ :schema_status,
12976
+ :created_time,
12977
+ :updated_time)
12978
+ SENSITIVE = []
12979
+ include Aws::Structure
12980
+ end
12981
+
12982
+ # An object that references a schema stored in the AWS Glue Schema
12983
+ # Registry.
12984
+ #
12985
+ # @note When making an API call, you may pass SchemaReference
12986
+ # data as a hash:
12987
+ #
12988
+ # {
12989
+ # schema_id: {
12990
+ # schema_arn: "GlueResourceArn",
12991
+ # schema_name: "SchemaRegistryNameString",
12992
+ # registry_name: "SchemaRegistryNameString",
12993
+ # },
12994
+ # schema_version_id: "SchemaVersionIdString",
12995
+ # schema_version_number: 1,
12996
+ # }
12997
+ #
12998
+ # @!attribute [rw] schema_id
12999
+ # A structure that contains schema identity fields. Either this or the
13000
+ # `SchemaVersionId` has to be provided.
13001
+ # @return [Types::SchemaId]
13002
+ #
13003
+ # @!attribute [rw] schema_version_id
13004
+ # The unique ID assigned to a version of the schema. Either this or
13005
+ # the `SchemaId` has to be provided.
13006
+ # @return [String]
13007
+ #
13008
+ # @!attribute [rw] schema_version_number
13009
+ # The version number of the schema.
13010
+ # @return [Integer]
13011
+ #
13012
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SchemaReference AWS API Documentation
13013
+ #
13014
+ class SchemaReference < Struct.new(
13015
+ :schema_id,
13016
+ :schema_version_id,
13017
+ :schema_version_number)
13018
+ SENSITIVE = []
13019
+ include Aws::Structure
13020
+ end
13021
+
13022
+ # An object that contains the error details for an operation on a schema
13023
+ # version.
13024
+ #
13025
+ # @!attribute [rw] version_number
13026
+ # The version number of the schema.
13027
+ # @return [Integer]
13028
+ #
13029
+ # @!attribute [rw] error_details
13030
+ # The details of the error for the schema version.
13031
+ # @return [Types::ErrorDetails]
13032
+ #
13033
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SchemaVersionErrorItem AWS API Documentation
13034
+ #
13035
+ class SchemaVersionErrorItem < Struct.new(
13036
+ :version_number,
13037
+ :error_details)
13038
+ SENSITIVE = []
13039
+ include Aws::Structure
13040
+ end
13041
+
13042
+ # An object containing the details about a schema version.
13043
+ #
13044
+ # @!attribute [rw] schema_arn
13045
+ # The Amazon Resource Name (ARN) of the schema.
13046
+ # @return [String]
13047
+ #
13048
+ # @!attribute [rw] schema_version_id
13049
+ # The unique identifier of the schema version.
13050
+ # @return [String]
13051
+ #
13052
+ # @!attribute [rw] version_number
13053
+ # The version number of the schema.
13054
+ # @return [Integer]
13055
+ #
13056
+ # @!attribute [rw] status
13057
+ # The status of the schema version.
13058
+ # @return [String]
13059
+ #
13060
+ # @!attribute [rw] created_time
13061
+ # The date and time the schema version was created.
13062
+ # @return [String]
13063
+ #
13064
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SchemaVersionListItem AWS API Documentation
13065
+ #
13066
+ class SchemaVersionListItem < Struct.new(
13067
+ :schema_arn,
13068
+ :schema_version_id,
13069
+ :version_number,
13070
+ :status,
13071
+ :created_time)
13072
+ SENSITIVE = []
13073
+ include Aws::Structure
13074
+ end
13075
+
13076
+ # @note When making an API call, you may pass SchemaVersionNumber
13077
+ # data as a hash:
13078
+ #
13079
+ # {
13080
+ # latest_version: false,
13081
+ # version_number: 1,
13082
+ # }
13083
+ #
13084
+ # @!attribute [rw] latest_version
13085
+ # @return [Boolean]
13086
+ #
13087
+ # @!attribute [rw] version_number
13088
+ # @return [Integer]
13089
+ #
13090
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SchemaVersionNumber AWS API Documentation
13091
+ #
13092
+ class SchemaVersionNumber < Struct.new(
13093
+ :latest_version,
13094
+ :version_number)
13095
+ SENSITIVE = []
13096
+ include Aws::Structure
13097
+ end
13098
+
11387
13099
  # @note When making an API call, you may pass SearchTablesRequest
11388
13100
  # data as a hash:
11389
13101
  #
@@ -12216,6 +13928,15 @@ module Aws::Glue
12216
13928
  # },
12217
13929
  # },
12218
13930
  # stored_as_sub_directories: false,
13931
+ # schema_reference: {
13932
+ # schema_id: {
13933
+ # schema_arn: "GlueResourceArn",
13934
+ # schema_name: "SchemaRegistryNameString",
13935
+ # registry_name: "SchemaRegistryNameString",
13936
+ # },
13937
+ # schema_version_id: "SchemaVersionIdString",
13938
+ # schema_version_number: 1,
13939
+ # },
12219
13940
  # }
12220
13941
  #
12221
13942
  # @!attribute [rw] columns
@@ -12273,6 +13994,14 @@ module Aws::Glue
12273
13994
  # not.
12274
13995
  # @return [Boolean]
12275
13996
  #
13997
+ # @!attribute [rw] schema_reference
13998
+ # An object that references a schema stored in the AWS Glue Schema
13999
+ # Registry.
14000
+ #
14001
+ # When creating a table, you can pass an empty list of columns for the
14002
+ # schema, and instead use a schema reference.
14003
+ # @return [Types::SchemaReference]
14004
+ #
12276
14005
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StorageDescriptor AWS API Documentation
12277
14006
  #
12278
14007
  class StorageDescriptor < Struct.new(
@@ -12287,7 +14016,8 @@ module Aws::Glue
12287
14016
  :sort_columns,
12288
14017
  :parameters,
12289
14018
  :skewed_info,
12290
- :stored_as_sub_directories)
14019
+ :stored_as_sub_directories,
14020
+ :schema_reference)
12291
14021
  SENSITIVE = []
12292
14022
  include Aws::Structure
12293
14023
  end
@@ -12557,6 +14287,15 @@ module Aws::Glue
12557
14287
  # },
12558
14288
  # },
12559
14289
  # stored_as_sub_directories: false,
14290
+ # schema_reference: {
14291
+ # schema_id: {
14292
+ # schema_arn: "GlueResourceArn",
14293
+ # schema_name: "SchemaRegistryNameString",
14294
+ # registry_name: "SchemaRegistryNameString",
14295
+ # },
14296
+ # schema_version_id: "SchemaVersionIdString",
14297
+ # schema_version_number: 1,
14298
+ # },
12560
14299
  # },
12561
14300
  # partition_keys: [
12562
14301
  # {
@@ -14337,6 +16076,15 @@ module Aws::Glue
14337
16076
  # },
14338
16077
  # },
14339
16078
  # stored_as_sub_directories: false,
16079
+ # schema_reference: {
16080
+ # schema_id: {
16081
+ # schema_arn: "GlueResourceArn",
16082
+ # schema_name: "SchemaRegistryNameString",
16083
+ # registry_name: "SchemaRegistryNameString",
16084
+ # },
16085
+ # schema_version_id: "SchemaVersionIdString",
16086
+ # schema_version_number: 1,
16087
+ # },
14340
16088
  # },
14341
16089
  # parameters: {
14342
16090
  # "KeyString" => "ParametersMapValue",
@@ -14388,6 +16136,127 @@ module Aws::Glue
14388
16136
  #
14389
16137
  class UpdatePartitionResponse < Aws::EmptyStructure; end
14390
16138
 
16139
+ # @note When making an API call, you may pass UpdateRegistryInput
16140
+ # data as a hash:
16141
+ #
16142
+ # {
16143
+ # registry_id: { # required
16144
+ # registry_name: "SchemaRegistryNameString",
16145
+ # registry_arn: "GlueResourceArn",
16146
+ # },
16147
+ # description: "DescriptionString", # required
16148
+ # }
16149
+ #
16150
+ # @!attribute [rw] registry_id
16151
+ # This is a wrapper structure that may contain the registry name and
16152
+ # Amazon Resource Name (ARN).
16153
+ # @return [Types::RegistryId]
16154
+ #
16155
+ # @!attribute [rw] description
16156
+ # A description of the registry. If description is not provided, this
16157
+ # field will not be updated.
16158
+ # @return [String]
16159
+ #
16160
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateRegistryInput AWS API Documentation
16161
+ #
16162
+ class UpdateRegistryInput < Struct.new(
16163
+ :registry_id,
16164
+ :description)
16165
+ SENSITIVE = []
16166
+ include Aws::Structure
16167
+ end
16168
+
16169
+ # @!attribute [rw] registry_name
16170
+ # The name of the updated registry.
16171
+ # @return [String]
16172
+ #
16173
+ # @!attribute [rw] registry_arn
16174
+ # The Amazon Resource name (ARN) of the updated registry.
16175
+ # @return [String]
16176
+ #
16177
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateRegistryResponse AWS API Documentation
16178
+ #
16179
+ class UpdateRegistryResponse < Struct.new(
16180
+ :registry_name,
16181
+ :registry_arn)
16182
+ SENSITIVE = []
16183
+ include Aws::Structure
16184
+ end
16185
+
16186
+ # @note When making an API call, you may pass UpdateSchemaInput
16187
+ # data as a hash:
16188
+ #
16189
+ # {
16190
+ # schema_id: { # required
16191
+ # schema_arn: "GlueResourceArn",
16192
+ # schema_name: "SchemaRegistryNameString",
16193
+ # registry_name: "SchemaRegistryNameString",
16194
+ # },
16195
+ # schema_version_number: {
16196
+ # latest_version: false,
16197
+ # version_number: 1,
16198
+ # },
16199
+ # compatibility: "NONE", # accepts NONE, DISABLED, BACKWARD, BACKWARD_ALL, FORWARD, FORWARD_ALL, FULL, FULL_ALL
16200
+ # description: "DescriptionString",
16201
+ # }
16202
+ #
16203
+ # @!attribute [rw] schema_id
16204
+ # This is a wrapper structure to contain schema identity fields. The
16205
+ # structure contains:
16206
+ #
16207
+ # * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema.
16208
+ # One of `SchemaArn` or `SchemaName` has to be provided.
16209
+ #
16210
+ # * SchemaId$SchemaName: The name of the schema. One of `SchemaArn` or
16211
+ # `SchemaName` has to be provided.
16212
+ # @return [Types::SchemaId]
16213
+ #
16214
+ # @!attribute [rw] schema_version_number
16215
+ # Version number required for check pointing. One of `VersionNumber`
16216
+ # or `Compatibility` has to be provided.
16217
+ # @return [Types::SchemaVersionNumber]
16218
+ #
16219
+ # @!attribute [rw] compatibility
16220
+ # The new compatibility setting for the schema.
16221
+ # @return [String]
16222
+ #
16223
+ # @!attribute [rw] description
16224
+ # The new description for the schema.
16225
+ # @return [String]
16226
+ #
16227
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateSchemaInput AWS API Documentation
16228
+ #
16229
+ class UpdateSchemaInput < Struct.new(
16230
+ :schema_id,
16231
+ :schema_version_number,
16232
+ :compatibility,
16233
+ :description)
16234
+ SENSITIVE = []
16235
+ include Aws::Structure
16236
+ end
16237
+
16238
+ # @!attribute [rw] schema_arn
16239
+ # The Amazon Resource Name (ARN) of the schema.
16240
+ # @return [String]
16241
+ #
16242
+ # @!attribute [rw] schema_name
16243
+ # The name of the schema.
16244
+ # @return [String]
16245
+ #
16246
+ # @!attribute [rw] registry_name
16247
+ # The name of the registry that contains the schema.
16248
+ # @return [String]
16249
+ #
16250
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateSchemaResponse AWS API Documentation
16251
+ #
16252
+ class UpdateSchemaResponse < Struct.new(
16253
+ :schema_arn,
16254
+ :schema_name,
16255
+ :registry_name)
16256
+ SENSITIVE = []
16257
+ include Aws::Structure
16258
+ end
16259
+
14391
16260
  # @note When making an API call, you may pass UpdateTableRequest
14392
16261
  # data as a hash:
14393
16262
  #
@@ -14442,6 +16311,15 @@ module Aws::Glue
14442
16311
  # },
14443
16312
  # },
14444
16313
  # stored_as_sub_directories: false,
16314
+ # schema_reference: {
16315
+ # schema_id: {
16316
+ # schema_arn: "GlueResourceArn",
16317
+ # schema_name: "SchemaRegistryNameString",
16318
+ # registry_name: "SchemaRegistryNameString",
16319
+ # },
16320
+ # schema_version_id: "SchemaVersionIdString",
16321
+ # schema_version_number: 1,
16322
+ # },
14445
16323
  # },
14446
16324
  # partition_keys: [
14447
16325
  # {