aws-sdk-glue 1.85.0 → 1.86.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2b7f51f2418cce9ca8f20da3a7a193c572ff13f70a7f155039a5d70eab548efb
4
- data.tar.gz: c7d1b2c3ca55d6eaa53e1ccba79d7638e8fa3d8d469225431840d1cd925d7357
3
+ metadata.gz: 49684204de36027b852d485f456ac9e686bb14fc78177ce47561ce70c8c2f9e4
4
+ data.tar.gz: 55449a6da0b77b286bd7ff8f44391856b9a78333f7f2f1f780810fb2c1b2d69d
5
5
  SHA512:
6
- metadata.gz: ac55299761fc7230eeddb42ea5abb37b0eee6d57ced17b377aa684919600253c41a7773370d0edf7a797a23f1bff03001cb4fb1638ddce8a2bbbf71430d02c9b
7
- data.tar.gz: 81029b4454d475be50ebb1cfae398ad8f6de2f53385d97b8c9e2127c7e5df52fb83b69b102d58cdecae80b1f03891a33fc5e63dcff2d1f4433b1726f16bfbd49
6
+ metadata.gz: 4de3f48805ce17b74b44ac8fab57f66c27a9ecd932b9f02dec2197dd465e8ffa6a0263b20eea884348a8978b7bc538a67e1e4575b318f8b4f905f7a9fbdfb428
7
+ data.tar.gz: 667e7cef9f5daf06e45521b79c7a7290f7d8e80a89711a10535de23999e175c4ec4e9b727fc5e4b839216465abb9b251060ac665b9f481c277becb884ba5b4c3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.86.0 (2021-03-29)
5
+ ------------------
6
+
7
+ * Feature - Allow Dots in Registry and Schema Names for CreateRegistry, CreateSchema; Fixed issue when duplicate keys are present and not returned as part of QuerySchemaVersionMetadata.
8
+
4
9
  1.85.0 (2021-03-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.85.0
1
+ 1.86.0
data/lib/aws-sdk-glue.rb CHANGED
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-glue/customizations'
48
48
  # @!group service
49
49
  module Aws::Glue
50
50
 
51
- GEM_VERSION = '1.85.0'
51
+ GEM_VERSION = '1.86.0'
52
52
 
53
53
  end
@@ -5942,11 +5942,11 @@ module Aws::Glue
5942
5942
  req.send_request(options)
5943
5943
  end
5944
5944
 
5945
- # Retrieves the security configurations for the resource policies set on
5946
- # individual resources, and also the account-level policy.
5945
+ # Retrieves the resource policies set on individual resources by AWS
5946
+ # Resource Access Manager during cross-account permission grants. Also
5947
+ # retrieves the Data Catalog resource policy.
5947
5948
  #
5948
- # This operation also returns the Data Catalog resource policy. However,
5949
- # if you enabled metadata encryption in Data Catalog settings, and you
5949
+ # If you enabled metadata encryption in Data Catalog settings, and you
5950
5950
  # do not have permission on the AWS KMS key, the operation can't return
5951
5951
  # the Data Catalog resource policy.
5952
5952
  #
@@ -5991,13 +5991,14 @@ module Aws::Glue
5991
5991
  # Retrieves a specified resource policy.
5992
5992
  #
5993
5993
  # @option params [String] :resource_arn
5994
- # The ARN of the AWS Glue resource for the resource policy to be
5995
- # retrieved. For more information about AWS Glue resource ARNs, see the
5996
- # [AWS Glue ARN string pattern][1]
5994
+ # The ARN of the AWS Glue resource for which to retrieve the resource
5995
+ # policy. If not supplied, the Data Catalog resource policy is returned.
5996
+ # Use `GetResourcePolicies` to view all existing resource policies. For
5997
+ # more information see [Specifying AWS Glue Resource ARNs][1].
5997
5998
  #
5998
5999
  #
5999
6000
  #
6000
- # [1]: https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-common.html#aws-glue-api-regex-aws-glue-arn-id
6001
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/glue-specifying-resource-arns.html
6001
6002
  #
6002
6003
  # @return [Types::GetResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6003
6004
  #
@@ -8031,13 +8032,7 @@ module Aws::Glue
8031
8032
  # Contains the policy document to set, in JSON format.
8032
8033
  #
8033
8034
  # @option params [String] :resource_arn
8034
- # The ARN of the AWS Glue resource for the resource policy to be set.
8035
- # For more information about AWS Glue resource ARNs, see the [AWS Glue
8036
- # ARN string pattern][1]
8037
- #
8038
- #
8039
- #
8040
- # [1]: https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-common.html#aws-glue-api-regex-aws-glue-arn-id
8035
+ # Do not use. For internal use only.
8041
8036
  #
8042
8037
  # @option params [String] :policy_hash_condition
8043
8038
  # The hash value returned when the previous policy was set using
@@ -8048,19 +8043,21 @@ module Aws::Glue
8048
8043
  # @option params [String] :policy_exists_condition
8049
8044
  # A value of `MUST_EXIST` is used to update a policy. A value of
8050
8045
  # `NOT_EXIST` is used to create a new policy. If a value of `NONE` or a
8051
- # null value is used, the call will not depend on the existence of a
8046
+ # null value is used, the call does not depend on the existence of a
8052
8047
  # policy.
8053
8048
  #
8054
8049
  # @option params [String] :enable_hybrid
8055
- # Allows you to specify if you want to use both resource-level and
8056
- # account/catalog-level resource policies. A resource-level policy is a
8057
- # policy attached to an individual resource such as a database or a
8058
- # table.
8050
+ # If `'TRUE'`, indicates that you are using both methods to grant
8051
+ # cross-account access to Data Catalog resources:
8052
+ #
8053
+ # * By directly updating the resource policy with `PutResourePolicy`
8054
+ #
8055
+ # * By using the **Grant permissions** command on the AWS Management
8056
+ # Console.
8059
8057
  #
8060
- # The default value of `NO` indicates that resource-level policies
8061
- # cannot co-exist with an account-level policy. A value of `YES` means
8062
- # the use of both resource-level and account/catalog-level resource
8063
- # policies is allowed.
8058
+ # Must be set to `'TRUE'` if you have already used the Management
8059
+ # Console to grant cross-account access, otherwise the call fails.
8060
+ # Default is 'FALSE'.
8064
8061
  #
8065
8062
  # @return [Types::PutResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8066
8063
  #
@@ -8247,6 +8244,9 @@ module Aws::Glue
8247
8244
  # resp.metadata_info_map #=> Hash
8248
8245
  # resp.metadata_info_map["MetadataKeyString"].metadata_value #=> String
8249
8246
  # resp.metadata_info_map["MetadataKeyString"].created_time #=> String
8247
+ # resp.metadata_info_map["MetadataKeyString"].other_metadata_value_list #=> Array
8248
+ # resp.metadata_info_map["MetadataKeyString"].other_metadata_value_list[0].metadata_value #=> String
8249
+ # resp.metadata_info_map["MetadataKeyString"].other_metadata_value_list[0].created_time #=> String
8250
8250
  # resp.schema_version_id #=> String
8251
8251
  # resp.next_token #=> String
8252
8252
  #
@@ -10599,7 +10599,7 @@ module Aws::Glue
10599
10599
  params: params,
10600
10600
  config: config)
10601
10601
  context[:gem_name] = 'aws-sdk-glue'
10602
- context[:gem_version] = '1.85.0'
10602
+ context[:gem_version] = '1.86.0'
10603
10603
  Seahorse::Client::Request.new(handlers, context)
10604
10604
  end
10605
10605
 
@@ -516,6 +516,8 @@ module Aws::Glue
516
516
  OrchestrationStringList = Shapes::ListShape.new(name: 'OrchestrationStringList')
517
517
  Order = Shapes::StructureShape.new(name: 'Order')
518
518
  OrderList = Shapes::ListShape.new(name: 'OrderList')
519
+ OtherMetadataValueList = Shapes::ListShape.new(name: 'OtherMetadataValueList')
520
+ OtherMetadataValueListItem = Shapes::StructureShape.new(name: 'OtherMetadataValueListItem')
519
521
  PageSize = Shapes::IntegerShape.new(name: 'PageSize')
520
522
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
521
523
  ParametersMap = Shapes::MapShape.new(name: 'ParametersMap')
@@ -2576,6 +2578,7 @@ module Aws::Glue
2576
2578
 
2577
2579
  MetadataInfo.add_member(:metadata_value, Shapes::ShapeRef.new(shape: MetadataValueString, location_name: "MetadataValue"))
2578
2580
  MetadataInfo.add_member(:created_time, Shapes::ShapeRef.new(shape: CreatedTimestamp, location_name: "CreatedTime"))
2581
+ MetadataInfo.add_member(:other_metadata_value_list, Shapes::ShapeRef.new(shape: OtherMetadataValueList, location_name: "OtherMetadataValueList"))
2579
2582
  MetadataInfo.struct_class = Types::MetadataInfo
2580
2583
 
2581
2584
  MetadataInfoMap.key = Shapes::ShapeRef.new(shape: MetadataKeyString)
@@ -2625,6 +2628,12 @@ module Aws::Glue
2625
2628
 
2626
2629
  OrderList.member = Shapes::ShapeRef.new(shape: Order)
2627
2630
 
2631
+ OtherMetadataValueList.member = Shapes::ShapeRef.new(shape: OtherMetadataValueListItem)
2632
+
2633
+ OtherMetadataValueListItem.add_member(:metadata_value, Shapes::ShapeRef.new(shape: MetadataValueString, location_name: "MetadataValue"))
2634
+ OtherMetadataValueListItem.add_member(:created_time, Shapes::ShapeRef.new(shape: CreatedTimestamp, location_name: "CreatedTime"))
2635
+ OtherMetadataValueListItem.struct_class = Types::OtherMetadataValueListItem
2636
+
2628
2637
  ParametersMap.key = Shapes::ShapeRef.new(shape: KeyString)
2629
2638
  ParametersMap.value = Shapes::ShapeRef.new(shape: ParametersMapValue)
2630
2639
 
@@ -8472,13 +8472,15 @@ module Aws::Glue
8472
8472
  # }
8473
8473
  #
8474
8474
  # @!attribute [rw] resource_arn
8475
- # The ARN of the AWS Glue resource for the resource policy to be
8476
- # retrieved. For more information about AWS Glue resource ARNs, see
8477
- # the [AWS Glue ARN string pattern][1]
8475
+ # The ARN of the AWS Glue resource for which to retrieve the resource
8476
+ # policy. If not supplied, the Data Catalog resource policy is
8477
+ # returned. Use `GetResourcePolicies` to view all existing resource
8478
+ # policies. For more information see [Specifying AWS Glue Resource
8479
+ # ARNs][1].
8478
8480
  #
8479
8481
  #
8480
8482
  #
8481
- # [1]: https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-common.html#aws-glue-api-regex-aws-glue-arn-id
8483
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/glue-specifying-resource-arns.html
8482
8484
  # @return [String]
8483
8485
  #
8484
8486
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetResourcePolicyRequest AWS API Documentation
@@ -11613,11 +11615,16 @@ module Aws::Glue
11613
11615
  # The time at which the entry was created.
11614
11616
  # @return [String]
11615
11617
  #
11618
+ # @!attribute [rw] other_metadata_value_list
11619
+ # Other metadata belonging to the same metadata key.
11620
+ # @return [Array<Types::OtherMetadataValueListItem>]
11621
+ #
11616
11622
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/MetadataInfo AWS API Documentation
11617
11623
  #
11618
11624
  class MetadataInfo < Struct.new(
11619
11625
  :metadata_value,
11620
- :created_time)
11626
+ :created_time,
11627
+ :other_metadata_value_list)
11621
11628
  SENSITIVE = []
11622
11629
  include Aws::Structure
11623
11630
  end
@@ -11808,6 +11815,27 @@ module Aws::Glue
11808
11815
  include Aws::Structure
11809
11816
  end
11810
11817
 
11818
+ # A structure containing other metadata for a schema version belonging
11819
+ # to the same metadata key.
11820
+ #
11821
+ # @!attribute [rw] metadata_value
11822
+ # The metadata key’s corresponding value for the other metadata
11823
+ # belonging to the same metadata key.
11824
+ # @return [String]
11825
+ #
11826
+ # @!attribute [rw] created_time
11827
+ # The time at which the entry was created.
11828
+ # @return [String]
11829
+ #
11830
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/OtherMetadataValueListItem AWS API Documentation
11831
+ #
11832
+ class OtherMetadataValueListItem < Struct.new(
11833
+ :metadata_value,
11834
+ :created_time)
11835
+ SENSITIVE = []
11836
+ include Aws::Structure
11837
+ end
11838
+
11811
11839
  # Represents a slice of table data.
11812
11840
  #
11813
11841
  # @!attribute [rw] values
@@ -12287,13 +12315,7 @@ module Aws::Glue
12287
12315
  # @return [String]
12288
12316
  #
12289
12317
  # @!attribute [rw] resource_arn
12290
- # The ARN of the AWS Glue resource for the resource policy to be set.
12291
- # For more information about AWS Glue resource ARNs, see the [AWS Glue
12292
- # ARN string pattern][1]
12293
- #
12294
- #
12295
- #
12296
- # [1]: https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-common.html#aws-glue-api-regex-aws-glue-arn-id
12318
+ # Do not use. For internal use only.
12297
12319
  # @return [String]
12298
12320
  #
12299
12321
  # @!attribute [rw] policy_hash_condition
@@ -12306,20 +12328,22 @@ module Aws::Glue
12306
12328
  # @!attribute [rw] policy_exists_condition
12307
12329
  # A value of `MUST_EXIST` is used to update a policy. A value of
12308
12330
  # `NOT_EXIST` is used to create a new policy. If a value of `NONE` or
12309
- # a null value is used, the call will not depend on the existence of a
12331
+ # a null value is used, the call does not depend on the existence of a
12310
12332
  # policy.
12311
12333
  # @return [String]
12312
12334
  #
12313
12335
  # @!attribute [rw] enable_hybrid
12314
- # Allows you to specify if you want to use both resource-level and
12315
- # account/catalog-level resource policies. A resource-level policy is
12316
- # a policy attached to an individual resource such as a database or a
12317
- # table.
12336
+ # If `'TRUE'`, indicates that you are using both methods to grant
12337
+ # cross-account access to Data Catalog resources:
12338
+ #
12339
+ # * By directly updating the resource policy with `PutResourePolicy`
12340
+ #
12341
+ # * By using the **Grant permissions** command on the AWS Management
12342
+ # Console.
12318
12343
  #
12319
- # The default value of `NO` indicates that resource-level policies
12320
- # cannot co-exist with an account-level policy. A value of `YES` means
12321
- # the use of both resource-level and account/catalog-level resource
12322
- # policies is allowed.
12344
+ # Must be set to `'TRUE'` if you have already used the Management
12345
+ # Console to grant cross-account access, otherwise the call fails.
12346
+ # Default is 'FALSE'.
12323
12347
  # @return [String]
12324
12348
  #
12325
12349
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutResourcePolicyRequest AWS API Documentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-glue
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.85.0
4
+ version: 1.86.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-10 00:00:00.000000000 Z
11
+ date: 2021-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -66,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
66
66
  licenses:
67
67
  - Apache-2.0
68
68
  metadata:
69
- source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-glue
70
- changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-glue/CHANGELOG.md
69
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-glue
70
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-glue/CHANGELOG.md
71
71
  post_install_message:
72
72
  rdoc_options: []
73
73
  require_paths: