aws-sdk-dataexchange 1.29.0 → 1.31.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 286109228f1da56b50e7245ea9461407ba6f508136612e2b805438f633206e64
4
- data.tar.gz: 77488b0fe3a78b67c2355c070cdc7140da45137b966bcd76ca6cd7760eb464aa
3
+ metadata.gz: bfa1e36372ceab8ae50ea31f22adce15df8e5edfc3b9861f1fc091772816f3a6
4
+ data.tar.gz: a92f8d82bd48c6d71f4533523e41db2aa8c32331ebb6845be3b2ac98cdf0ee16
5
5
  SHA512:
6
- metadata.gz: 6f830240b357ff757680e8149fa873b3680028387665e01346ecf930359847e3b4d65ff1f529a5ebaaec5855f0dc3cf77fd86ebdf5f0311e9974ef79d69d106b
7
- data.tar.gz: 42cee149161a7c0fad2f3970d28f38d2a5d5b6b558096f2dfc35c687cb68b2ab4126f29cd107c5b7e15b741583ccc570954d2f9e2aeb3d72f46c12ad7f7f2c0f
6
+ metadata.gz: 9e1adf9824ee98d3b161d5fdd6f5f85c279afe6127ab5c9223acbe73b8a72704dbe482ad76251bca4d73a86b05c7e2f668b9550ac7a0cadc2bbd117f2753df0c
7
+ data.tar.gz: 93854ba06f7c4db0ad691277dddfec976b9aacf4fc12bd8b26d249b4fbceca6f31343bdb83b568e3466f2faa7c091d1672be9a9149f6eed56e39747c780338ae
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.31.0 (2023-03-14)
5
+ ------------------
6
+
7
+ * Feature - This release enables data providers to license direct access to S3 objects encrypted with Customer Managed Keys (CMK) in AWS KMS through AWS Data Exchange. Subscribers can use these keys to decrypt, then use the encrypted S3 objects shared with them, without creating or managing copies.
8
+
9
+ 1.30.0 (2023-01-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
15
+
4
16
  1.29.0 (2022-11-30)
5
17
  ------------------
6
18
 
@@ -155,4 +167,4 @@ Unreleased Changes
155
167
  1.0.0 (2019-11-13)
156
168
  ------------------
157
169
 
158
- * Feature - Initial release of `aws-sdk-dataexchange`.
170
+ * Feature - Initial release of `aws-sdk-dataexchange`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.29.0
1
+ 1.31.0
@@ -617,6 +617,11 @@ module Aws::DataExchange
617
617
  # bucket: "__string", # required
618
618
  # key_prefixes: ["__string"],
619
619
  # keys: ["__string"],
620
+ # kms_keys_to_grant: [
621
+ # {
622
+ # kms_key_arn: "KmsKeyArn", # required
623
+ # },
624
+ # ],
620
625
  # },
621
626
  # data_set_id: "Id", # required
622
627
  # revision_id: "Id", # required
@@ -705,6 +710,8 @@ module Aws::DataExchange
705
710
  # resp.details.create_s3_data_access_from_s3_bucket.asset_source.key_prefixes[0] #=> String
706
711
  # resp.details.create_s3_data_access_from_s3_bucket.asset_source.keys #=> Array
707
712
  # resp.details.create_s3_data_access_from_s3_bucket.asset_source.keys[0] #=> String
713
+ # resp.details.create_s3_data_access_from_s3_bucket.asset_source.kms_keys_to_grant #=> Array
714
+ # resp.details.create_s3_data_access_from_s3_bucket.asset_source.kms_keys_to_grant[0].kms_key_arn #=> String
708
715
  # resp.details.create_s3_data_access_from_s3_bucket.data_set_id #=> String
709
716
  # resp.details.create_s3_data_access_from_s3_bucket.revision_id #=> String
710
717
  # resp.details.import_assets_from_lake_formation_tag_policy.catalog_id #=> String
@@ -966,6 +973,8 @@ module Aws::DataExchange
966
973
  # resp.asset_details.s3_data_access_asset.keys[0] #=> String
967
974
  # resp.asset_details.s3_data_access_asset.s3_access_point_alias #=> String
968
975
  # resp.asset_details.s3_data_access_asset.s3_access_point_arn #=> String
976
+ # resp.asset_details.s3_data_access_asset.kms_keys_to_grant #=> Array
977
+ # resp.asset_details.s3_data_access_asset.kms_keys_to_grant[0].kms_key_arn #=> String
969
978
  # resp.asset_details.lake_formation_data_permission_asset.lake_formation_data_permission_details.lf_tag_policy.catalog_id #=> String
970
979
  # resp.asset_details.lake_formation_data_permission_asset.lake_formation_data_permission_details.lf_tag_policy.resource_type #=> String, one of "TABLE", "DATABASE"
971
980
  # resp.asset_details.lake_formation_data_permission_asset.lake_formation_data_permission_details.lf_tag_policy.resource_details.database.expression #=> Array
@@ -1166,6 +1175,8 @@ module Aws::DataExchange
1166
1175
  # resp.details.create_s3_data_access_from_s3_bucket.asset_source.key_prefixes[0] #=> String
1167
1176
  # resp.details.create_s3_data_access_from_s3_bucket.asset_source.keys #=> Array
1168
1177
  # resp.details.create_s3_data_access_from_s3_bucket.asset_source.keys[0] #=> String
1178
+ # resp.details.create_s3_data_access_from_s3_bucket.asset_source.kms_keys_to_grant #=> Array
1179
+ # resp.details.create_s3_data_access_from_s3_bucket.asset_source.kms_keys_to_grant[0].kms_key_arn #=> String
1169
1180
  # resp.details.create_s3_data_access_from_s3_bucket.data_set_id #=> String
1170
1181
  # resp.details.create_s3_data_access_from_s3_bucket.revision_id #=> String
1171
1182
  # resp.details.import_assets_from_lake_formation_tag_policy.catalog_id #=> String
@@ -1511,6 +1522,8 @@ module Aws::DataExchange
1511
1522
  # resp.jobs[0].details.create_s3_data_access_from_s3_bucket.asset_source.key_prefixes[0] #=> String
1512
1523
  # resp.jobs[0].details.create_s3_data_access_from_s3_bucket.asset_source.keys #=> Array
1513
1524
  # resp.jobs[0].details.create_s3_data_access_from_s3_bucket.asset_source.keys[0] #=> String
1525
+ # resp.jobs[0].details.create_s3_data_access_from_s3_bucket.asset_source.kms_keys_to_grant #=> Array
1526
+ # resp.jobs[0].details.create_s3_data_access_from_s3_bucket.asset_source.kms_keys_to_grant[0].kms_key_arn #=> String
1514
1527
  # resp.jobs[0].details.create_s3_data_access_from_s3_bucket.data_set_id #=> String
1515
1528
  # resp.jobs[0].details.create_s3_data_access_from_s3_bucket.revision_id #=> String
1516
1529
  # resp.jobs[0].details.import_assets_from_lake_formation_tag_policy.catalog_id #=> String
@@ -1609,6 +1622,8 @@ module Aws::DataExchange
1609
1622
  # resp.assets[0].asset_details.s3_data_access_asset.keys[0] #=> String
1610
1623
  # resp.assets[0].asset_details.s3_data_access_asset.s3_access_point_alias #=> String
1611
1624
  # resp.assets[0].asset_details.s3_data_access_asset.s3_access_point_arn #=> String
1625
+ # resp.assets[0].asset_details.s3_data_access_asset.kms_keys_to_grant #=> Array
1626
+ # resp.assets[0].asset_details.s3_data_access_asset.kms_keys_to_grant[0].kms_key_arn #=> String
1612
1627
  # resp.assets[0].asset_details.lake_formation_data_permission_asset.lake_formation_data_permission_details.lf_tag_policy.catalog_id #=> String
1613
1628
  # resp.assets[0].asset_details.lake_formation_data_permission_asset.lake_formation_data_permission_details.lf_tag_policy.resource_type #=> String, one of "TABLE", "DATABASE"
1614
1629
  # resp.assets[0].asset_details.lake_formation_data_permission_asset.lake_formation_data_permission_details.lf_tag_policy.resource_details.database.expression #=> Array
@@ -1941,6 +1956,8 @@ module Aws::DataExchange
1941
1956
  # resp.asset_details.s3_data_access_asset.keys[0] #=> String
1942
1957
  # resp.asset_details.s3_data_access_asset.s3_access_point_alias #=> String
1943
1958
  # resp.asset_details.s3_data_access_asset.s3_access_point_arn #=> String
1959
+ # resp.asset_details.s3_data_access_asset.kms_keys_to_grant #=> Array
1960
+ # resp.asset_details.s3_data_access_asset.kms_keys_to_grant[0].kms_key_arn #=> String
1944
1961
  # resp.asset_details.lake_formation_data_permission_asset.lake_formation_data_permission_details.lf_tag_policy.catalog_id #=> String
1945
1962
  # resp.asset_details.lake_formation_data_permission_asset.lake_formation_data_permission_details.lf_tag_policy.resource_type #=> String, one of "TABLE", "DATABASE"
1946
1963
  # resp.asset_details.lake_formation_data_permission_asset.lake_formation_data_permission_details.lf_tag_policy.resource_details.database.expression #=> Array
@@ -2158,7 +2175,7 @@ module Aws::DataExchange
2158
2175
  params: params,
2159
2176
  config: config)
2160
2177
  context[:gem_name] = 'aws-sdk-dataexchange'
2161
- context[:gem_version] = '1.29.0'
2178
+ context[:gem_version] = '1.31.0'
2162
2179
  Seahorse::Client::Request.new(handlers, context)
2163
2180
  end
2164
2181
 
@@ -87,6 +87,8 @@ module Aws::DataExchange
87
87
  JobError = Shapes::StructureShape.new(name: 'JobError')
88
88
  JobErrorLimitName = Shapes::StringShape.new(name: 'JobErrorLimitName')
89
89
  JobErrorResourceTypes = Shapes::StringShape.new(name: 'JobErrorResourceTypes')
90
+ KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
91
+ KmsKeyToGrant = Shapes::StructureShape.new(name: 'KmsKeyToGrant')
90
92
  LFPermission = Shapes::StringShape.new(name: 'LFPermission')
91
93
  LFResourceDetails = Shapes::StructureShape.new(name: 'LFResourceDetails')
92
94
  LFResourceType = Shapes::StringShape.new(name: 'LFResourceType')
@@ -112,6 +114,7 @@ module Aws::DataExchange
112
114
  ListOfEventActionEntry = Shapes::ListShape.new(name: 'ListOfEventActionEntry')
113
115
  ListOfJobEntry = Shapes::ListShape.new(name: 'ListOfJobEntry')
114
116
  ListOfJobError = Shapes::ListShape.new(name: 'ListOfJobError')
117
+ ListOfKmsKeysToGrant = Shapes::ListShape.new(name: 'ListOfKmsKeysToGrant')
115
118
  ListOfLFPermissions = Shapes::ListShape.new(name: 'ListOfLFPermissions')
116
119
  ListOfLFTagValues = Shapes::ListShape.new(name: 'ListOfLFTagValues')
117
120
  ListOfLFTags = Shapes::ListShape.new(name: 'ListOfLFTags')
@@ -576,6 +579,9 @@ module Aws::DataExchange
576
579
  JobError.add_member(:resource_type, Shapes::ShapeRef.new(shape: JobErrorResourceTypes, location_name: "ResourceType"))
577
580
  JobError.struct_class = Types::JobError
578
581
 
582
+ KmsKeyToGrant.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, required: true, location_name: "KmsKeyArn"))
583
+ KmsKeyToGrant.struct_class = Types::KmsKeyToGrant
584
+
579
585
  LFResourceDetails.add_member(:database, Shapes::ShapeRef.new(shape: DatabaseLFTagPolicy, location_name: "Database"))
580
586
  LFResourceDetails.add_member(:table, Shapes::ShapeRef.new(shape: TableLFTagPolicy, location_name: "Table"))
581
587
  LFResourceDetails.struct_class = Types::LFResourceDetails
@@ -651,6 +657,8 @@ module Aws::DataExchange
651
657
 
652
658
  ListOfJobError.member = Shapes::ShapeRef.new(shape: JobError)
653
659
 
660
+ ListOfKmsKeysToGrant.member = Shapes::ShapeRef.new(shape: KmsKeyToGrant)
661
+
654
662
  ListOfLFPermissions.member = Shapes::ShapeRef.new(shape: LFPermission)
655
663
 
656
664
  ListOfLFTagValues.member = Shapes::ShapeRef.new(shape: String)
@@ -766,11 +774,13 @@ module Aws::DataExchange
766
774
  S3DataAccessAsset.add_member(:keys, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "Keys"))
767
775
  S3DataAccessAsset.add_member(:s3_access_point_alias, Shapes::ShapeRef.new(shape: __string, location_name: "S3AccessPointAlias"))
768
776
  S3DataAccessAsset.add_member(:s3_access_point_arn, Shapes::ShapeRef.new(shape: __string, location_name: "S3AccessPointArn"))
777
+ S3DataAccessAsset.add_member(:kms_keys_to_grant, Shapes::ShapeRef.new(shape: ListOfKmsKeysToGrant, location_name: "KmsKeysToGrant"))
769
778
  S3DataAccessAsset.struct_class = Types::S3DataAccessAsset
770
779
 
771
780
  S3DataAccessAssetSourceEntry.add_member(:bucket, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Bucket"))
772
781
  S3DataAccessAssetSourceEntry.add_member(:key_prefixes, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "KeyPrefixes"))
773
782
  S3DataAccessAssetSourceEntry.add_member(:keys, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "Keys"))
783
+ S3DataAccessAssetSourceEntry.add_member(:kms_keys_to_grant, Shapes::ShapeRef.new(shape: ListOfKmsKeysToGrant, location_name: "KmsKeysToGrant"))
774
784
  S3DataAccessAssetSourceEntry.struct_class = Types::S3DataAccessAssetSourceEntry
775
785
 
776
786
  S3SnapshotAsset.add_member(:size, Shapes::ShapeRef.new(shape: __doubleMin0, required: true, location_name: "Size"))
@@ -50,9 +50,6 @@ module Aws::DataExchange
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
- if self[:region].nil?
54
- raise ArgumentError, "Missing required EndpointParameter: :region"
55
- end
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -9,104 +9,46 @@
9
9
 
10
10
  module Aws::DataExchange
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
18
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
+ end
21
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
21
25
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://dataexchange-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://dataexchange-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://dataexchange.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
45
+ end
46
+ return Aws::Endpoints::Endpoint.new(url: "https://dataexchange.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
47
+ end
48
+ end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
50
+ raise ArgumentError, 'No endpoint could be resolved'
24
51
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
52
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOnRydWUsImRvY3VtZW50
33
- YXRpb24iOiJU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OnsidXJsIjoiaHR0cHM6
100
- Ly9kYXRhZXhjaGFuZ2Uue1JlZ2lvbn0ue1BhcnRpdGlvblJlc3VsdCNkdWFs
101
- U3RhY2tEbnNTdWZmaXh9IiwicHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9
102
- fSwidHlwZSI6ImVuZHBvaW50In1dfSx7ImNvbmRpdGlvbnMiOltdLCJlcnJv
103
- ciI6IkR1YWxTdGFjayBpcyBlbmFibGVkIGJ1dCB0aGlzIHBhcnRpdGlvbiBk
104
- b2VzIG5vdCBzdXBwb3J0IER1YWxTdGFjayIsInR5cGUiOiJlcnJvciJ9XX0s
105
- eyJjb25kaXRpb25zIjpbXSwiZW5kcG9pbnQiOnsidXJsIjoiaHR0cHM6Ly9k
106
- YXRhZXhjaGFuZ2Uue1JlZ2lvbn0ue1BhcnRpdGlvblJlc3VsdCNkbnNTdWZm
107
- aXh9IiwicHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVu
108
- ZHBvaW50In1dfV19
109
-
110
- JSON
111
53
  end
112
54
  end
@@ -2036,6 +2036,25 @@ module Aws::DataExchange
2036
2036
  include Aws::Structure
2037
2037
  end
2038
2038
 
2039
+ # The Amazon Resource Name (ARN) of the AWS KMS key used to encrypt the
2040
+ # shared S3 objects.
2041
+ #
2042
+ # @!attribute [rw] kms_key_arn
2043
+ # The AWS KMS CMK (Key Management System Customer Managed Key) used to
2044
+ # encrypt S3 objects in the shared S3 Bucket. AWS Data exchange will
2045
+ # create a KMS grant for each subscriber to allow them to access and
2046
+ # decrypt their entitled data that is encrypted using this KMS key
2047
+ # specified.
2048
+ # @return [String]
2049
+ #
2050
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/KmsKeyToGrant AWS API Documentation
2051
+ #
2052
+ class KmsKeyToGrant < Struct.new(
2053
+ :kms_key_arn)
2054
+ SENSITIVE = []
2055
+ include Aws::Structure
2056
+ end
2057
+
2039
2058
  # Details about the AWS Lake Formation resource (Table or Database)
2040
2059
  # included in the AWS Lake Formation data permission.
2041
2060
  #
@@ -2813,6 +2832,13 @@ module Aws::DataExchange
2813
2832
  # their entitled data using the S3 Access Point ARN.
2814
2833
  # @return [String]
2815
2834
  #
2835
+ # @!attribute [rw] kms_keys_to_grant
2836
+ # List of AWS KMS CMKs (Key Management System Customer Managed Keys)
2837
+ # and ARNs used to encrypt S3 objects being shared in this S3 Data
2838
+ # Access asset. Providers must include all AWS KMS keys used to
2839
+ # encrypt these shared S3 objects.
2840
+ # @return [Array<Types::KmsKeyToGrant>]
2841
+ #
2816
2842
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/S3DataAccessAsset AWS API Documentation
2817
2843
  #
2818
2844
  class S3DataAccessAsset < Struct.new(
@@ -2820,7 +2846,8 @@ module Aws::DataExchange
2820
2846
  :key_prefixes,
2821
2847
  :keys,
2822
2848
  :s3_access_point_alias,
2823
- :s3_access_point_arn)
2849
+ :s3_access_point_arn,
2850
+ :kms_keys_to_grant)
2824
2851
  SENSITIVE = []
2825
2852
  include Aws::Structure
2826
2853
  end
@@ -2841,12 +2868,19 @@ module Aws::DataExchange
2841
2868
  # The keys used to create the Amazon S3 data access.
2842
2869
  # @return [Array<String>]
2843
2870
  #
2871
+ # @!attribute [rw] kms_keys_to_grant
2872
+ # List of AWS KMS CMKs (Key Management System Customer Managed Keys)
2873
+ # and ARNs used to encrypt S3 objects being shared in this S3 Data
2874
+ # Access asset.
2875
+ # @return [Array<Types::KmsKeyToGrant>]
2876
+ #
2844
2877
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/S3DataAccessAssetSourceEntry AWS API Documentation
2845
2878
  #
2846
2879
  class S3DataAccessAssetSourceEntry < Struct.new(
2847
2880
  :bucket,
2848
2881
  :key_prefixes,
2849
- :keys)
2882
+ :keys,
2883
+ :kms_keys_to_grant)
2850
2884
  SENSITIVE = []
2851
2885
  include Aws::Structure
2852
2886
  end
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-dataexchange/customizations'
53
53
  # @!group service
54
54
  module Aws::DataExchange
55
55
 
56
- GEM_VERSION = '1.29.0'
56
+ GEM_VERSION = '1.31.0'
57
57
 
58
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-dataexchange
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.29.0
4
+ version: 1.31.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: 2022-11-30 00:00:00.000000000 Z
11
+ date: 2023-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core