aws-sdk-datazone 1.20.0 → 1.21.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: ef346f83ab7f2b792be2c970d445b781672b25eecf5b5b508c92bc96216b7fa6
4
- data.tar.gz: e84a56b4bfdce46729940da8ecbcdf91aabd1aef165e33e2771ed805928dbf4d
3
+ metadata.gz: b9d12114722535f3aadd0d5be37b4fe8a727238721769de6d263e890b8d2a19b
4
+ data.tar.gz: ff015e04d8a4e3185dd44c43baa65829f3bd19fc5996641b8bf2e2c26c9dbb34
5
5
  SHA512:
6
- metadata.gz: e307454e7084e88afca4707c6bf9e3f439bc6301900ba07aa25c0739513f5838c3e72e2dac14f4b54b46599be48dabe361f993c6395e579d3f1dfed168a153ac
7
- data.tar.gz: c3945789b8663f54e175e2bbf8031f517cff46d066b3cc3bd424381feea5b978a6408a1ca895a856ac4b33c8c06a72920bbbf8ee03e0dd4718ffeaafb46acf00
6
+ metadata.gz: c4ccc0004cf5b8a7760cf0c9e3ea3462d2f831abaa0fbf66844f4ac70e8380ad80b7081a8d84f3010e0ebb4473fe3c1b617e5c971aee34f491b66a35ec657a65
7
+ data.tar.gz: 9146e4e07fde8de51b010d8a7ca841de0e74179388382b2844d1d63da1c70ae9384f5ef4ddf3fad799a3152ca64490889c1e4790dc42b8d9a0380ecfe9e92349
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.21.0 (2024-09-03)
5
+ ------------------
6
+
7
+ * Feature - Add support to let data publisher specify a subset of the data asset that a subscriber will have access to based on the asset filters provided, when accepting a subscription request.
8
+
4
9
  1.20.0 (2024-08-30)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.20.0
1
+ 1.21.0
@@ -32,6 +32,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
32
32
  require 'aws-sdk-core/plugins/request_compression.rb'
33
33
  require 'aws-sdk-core/plugins/defaults_mode.rb'
34
34
  require 'aws-sdk-core/plugins/recursion_detection.rb'
35
+ require 'aws-sdk-core/plugins/telemetry.rb'
35
36
  require 'aws-sdk-core/plugins/sign.rb'
36
37
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
37
38
 
@@ -83,6 +84,7 @@ module Aws::DataZone
83
84
  add_plugin(Aws::Plugins::RequestCompression)
84
85
  add_plugin(Aws::Plugins::DefaultsMode)
85
86
  add_plugin(Aws::Plugins::RecursionDetection)
87
+ add_plugin(Aws::Plugins::Telemetry)
86
88
  add_plugin(Aws::Plugins::Sign)
87
89
  add_plugin(Aws::Plugins::Protocols::RestJson)
88
90
  add_plugin(Aws::DataZone::Plugins::Endpoints)
@@ -330,6 +332,16 @@ module Aws::DataZone
330
332
  # ** Please note ** When response stubbing is enabled, no HTTP
331
333
  # requests are made, and retries are disabled.
332
334
  #
335
+ # @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
336
+ # Allows you to provide a telemetry provider, which is used to
337
+ # emit telemetry data. By default, uses `NoOpTelemetryProvider` which
338
+ # will not record or emit any telemetry data. The SDK supports the
339
+ # following telemetry providers:
340
+ #
341
+ # * OpenTelemetry (OTel) - To use the OTel provider, install and require the
342
+ # `opentelemetry-sdk` gem and then, pass in an instance of a
343
+ # `Aws::Telemetry::OTelProvider` for telemetry provider.
344
+ #
333
345
  # @option options [Aws::TokenProvider] :token_provider
334
346
  # A Bearer Token Provider. This can be an instance of any one of the
335
347
  # following classes:
@@ -496,6 +508,9 @@ module Aws::DataZone
496
508
 
497
509
  # Accepts a subscription request to a specific asset.
498
510
  #
511
+ # @option params [Array<Types::AcceptedAssetScope>] :asset_scopes
512
+ # The asset scopes of the accept subscription request.
513
+ #
499
514
  # @option params [String] :decision_comment
500
515
  # A description that specifies the reason for accepting the specified
501
516
  # subscription request.
@@ -526,6 +541,12 @@ module Aws::DataZone
526
541
  # @example Request syntax with placeholder values
527
542
  #
528
543
  # resp = client.accept_subscription_request({
544
+ # asset_scopes: [
545
+ # {
546
+ # asset_id: "AssetId", # required
547
+ # filter_ids: ["FilterId"], # required
548
+ # },
549
+ # ],
529
550
  # decision_comment: "DecisionComment",
530
551
  # domain_identifier: "DomainId", # required
531
552
  # identifier: "SubscriptionRequestId", # required
@@ -544,6 +565,11 @@ module Aws::DataZone
544
565
  # resp.subscribed_listings #=> Array
545
566
  # resp.subscribed_listings[0].description #=> String
546
567
  # resp.subscribed_listings[0].id #=> String
568
+ # resp.subscribed_listings[0].item.asset_listing.asset_scope.asset_id #=> String
569
+ # resp.subscribed_listings[0].item.asset_listing.asset_scope.error_message #=> String
570
+ # resp.subscribed_listings[0].item.asset_listing.asset_scope.filter_ids #=> Array
571
+ # resp.subscribed_listings[0].item.asset_listing.asset_scope.filter_ids[0] #=> String
572
+ # resp.subscribed_listings[0].item.asset_listing.asset_scope.status #=> String
547
573
  # resp.subscribed_listings[0].item.asset_listing.entity_id #=> String
548
574
  # resp.subscribed_listings[0].item.asset_listing.entity_revision #=> String
549
575
  # resp.subscribed_listings[0].item.asset_listing.entity_type #=> String
@@ -840,6 +866,11 @@ module Aws::DataZone
840
866
  # resp.status #=> String, one of "APPROVED", "REVOKED", "CANCELLED"
841
867
  # resp.subscribed_listing.description #=> String
842
868
  # resp.subscribed_listing.id #=> String
869
+ # resp.subscribed_listing.item.asset_listing.asset_scope.asset_id #=> String
870
+ # resp.subscribed_listing.item.asset_listing.asset_scope.error_message #=> String
871
+ # resp.subscribed_listing.item.asset_listing.asset_scope.filter_ids #=> Array
872
+ # resp.subscribed_listing.item.asset_listing.asset_scope.filter_ids[0] #=> String
873
+ # resp.subscribed_listing.item.asset_listing.asset_scope.status #=> String
843
874
  # resp.subscribed_listing.item.asset_listing.entity_id #=> String
844
875
  # resp.subscribed_listing.item.asset_listing.entity_revision #=> String
845
876
  # resp.subscribed_listing.item.asset_listing.entity_type #=> String
@@ -2748,6 +2779,11 @@ module Aws::DataZone
2748
2779
  # resp.assets #=> Array
2749
2780
  # resp.assets[0].asset_id #=> String
2750
2781
  # resp.assets[0].asset_revision #=> String
2782
+ # resp.assets[0].asset_scope.asset_id #=> String
2783
+ # resp.assets[0].asset_scope.error_message #=> String
2784
+ # resp.assets[0].asset_scope.filter_ids #=> Array
2785
+ # resp.assets[0].asset_scope.filter_ids[0] #=> String
2786
+ # resp.assets[0].asset_scope.status #=> String
2751
2787
  # resp.assets[0].failure_cause.message #=> String
2752
2788
  # resp.assets[0].failure_timestamp #=> Time
2753
2789
  # resp.assets[0].granted_timestamp #=> Time
@@ -2845,6 +2881,11 @@ module Aws::DataZone
2845
2881
  # resp.subscribed_listings #=> Array
2846
2882
  # resp.subscribed_listings[0].description #=> String
2847
2883
  # resp.subscribed_listings[0].id #=> String
2884
+ # resp.subscribed_listings[0].item.asset_listing.asset_scope.asset_id #=> String
2885
+ # resp.subscribed_listings[0].item.asset_listing.asset_scope.error_message #=> String
2886
+ # resp.subscribed_listings[0].item.asset_listing.asset_scope.filter_ids #=> Array
2887
+ # resp.subscribed_listings[0].item.asset_listing.asset_scope.filter_ids[0] #=> String
2888
+ # resp.subscribed_listings[0].item.asset_listing.asset_scope.status #=> String
2848
2889
  # resp.subscribed_listings[0].item.asset_listing.entity_id #=> String
2849
2890
  # resp.subscribed_listings[0].item.asset_listing.entity_revision #=> String
2850
2891
  # resp.subscribed_listings[0].item.asset_listing.entity_type #=> String
@@ -3666,6 +3707,11 @@ module Aws::DataZone
3666
3707
  # resp.assets #=> Array
3667
3708
  # resp.assets[0].asset_id #=> String
3668
3709
  # resp.assets[0].asset_revision #=> String
3710
+ # resp.assets[0].asset_scope.asset_id #=> String
3711
+ # resp.assets[0].asset_scope.error_message #=> String
3712
+ # resp.assets[0].asset_scope.filter_ids #=> Array
3713
+ # resp.assets[0].asset_scope.filter_ids[0] #=> String
3714
+ # resp.assets[0].asset_scope.status #=> String
3669
3715
  # resp.assets[0].failure_cause.message #=> String
3670
3716
  # resp.assets[0].failure_timestamp #=> Time
3671
3717
  # resp.assets[0].granted_timestamp #=> Time
@@ -5312,6 +5358,11 @@ module Aws::DataZone
5312
5358
  # resp.status #=> String, one of "APPROVED", "REVOKED", "CANCELLED"
5313
5359
  # resp.subscribed_listing.description #=> String
5314
5360
  # resp.subscribed_listing.id #=> String
5361
+ # resp.subscribed_listing.item.asset_listing.asset_scope.asset_id #=> String
5362
+ # resp.subscribed_listing.item.asset_listing.asset_scope.error_message #=> String
5363
+ # resp.subscribed_listing.item.asset_listing.asset_scope.filter_ids #=> Array
5364
+ # resp.subscribed_listing.item.asset_listing.asset_scope.filter_ids[0] #=> String
5365
+ # resp.subscribed_listing.item.asset_listing.asset_scope.status #=> String
5315
5366
  # resp.subscribed_listing.item.asset_listing.entity_id #=> String
5316
5367
  # resp.subscribed_listing.item.asset_listing.entity_revision #=> String
5317
5368
  # resp.subscribed_listing.item.asset_listing.entity_type #=> String
@@ -5384,6 +5435,11 @@ module Aws::DataZone
5384
5435
  # resp.assets #=> Array
5385
5436
  # resp.assets[0].asset_id #=> String
5386
5437
  # resp.assets[0].asset_revision #=> String
5438
+ # resp.assets[0].asset_scope.asset_id #=> String
5439
+ # resp.assets[0].asset_scope.error_message #=> String
5440
+ # resp.assets[0].asset_scope.filter_ids #=> Array
5441
+ # resp.assets[0].asset_scope.filter_ids[0] #=> String
5442
+ # resp.assets[0].asset_scope.status #=> String
5387
5443
  # resp.assets[0].failure_cause.message #=> String
5388
5444
  # resp.assets[0].failure_timestamp #=> Time
5389
5445
  # resp.assets[0].granted_timestamp #=> Time
@@ -5455,6 +5511,11 @@ module Aws::DataZone
5455
5511
  # resp.subscribed_listings #=> Array
5456
5512
  # resp.subscribed_listings[0].description #=> String
5457
5513
  # resp.subscribed_listings[0].id #=> String
5514
+ # resp.subscribed_listings[0].item.asset_listing.asset_scope.asset_id #=> String
5515
+ # resp.subscribed_listings[0].item.asset_listing.asset_scope.error_message #=> String
5516
+ # resp.subscribed_listings[0].item.asset_listing.asset_scope.filter_ids #=> Array
5517
+ # resp.subscribed_listings[0].item.asset_listing.asset_scope.filter_ids[0] #=> String
5518
+ # resp.subscribed_listings[0].item.asset_listing.asset_scope.status #=> String
5458
5519
  # resp.subscribed_listings[0].item.asset_listing.entity_id #=> String
5459
5520
  # resp.subscribed_listings[0].item.asset_listing.entity_revision #=> String
5460
5521
  # resp.subscribed_listings[0].item.asset_listing.entity_type #=> String
@@ -7156,6 +7217,11 @@ module Aws::DataZone
7156
7217
  # resp.items[0].assets #=> Array
7157
7218
  # resp.items[0].assets[0].asset_id #=> String
7158
7219
  # resp.items[0].assets[0].asset_revision #=> String
7220
+ # resp.items[0].assets[0].asset_scope.asset_id #=> String
7221
+ # resp.items[0].assets[0].asset_scope.error_message #=> String
7222
+ # resp.items[0].assets[0].asset_scope.filter_ids #=> Array
7223
+ # resp.items[0].assets[0].asset_scope.filter_ids[0] #=> String
7224
+ # resp.items[0].assets[0].asset_scope.status #=> String
7159
7225
  # resp.items[0].assets[0].failure_cause.message #=> String
7160
7226
  # resp.items[0].assets[0].failure_timestamp #=> Time
7161
7227
  # resp.items[0].assets[0].granted_timestamp #=> Time
@@ -7263,6 +7329,11 @@ module Aws::DataZone
7263
7329
  # resp.items[0].subscribed_listings #=> Array
7264
7330
  # resp.items[0].subscribed_listings[0].description #=> String
7265
7331
  # resp.items[0].subscribed_listings[0].id #=> String
7332
+ # resp.items[0].subscribed_listings[0].item.asset_listing.asset_scope.asset_id #=> String
7333
+ # resp.items[0].subscribed_listings[0].item.asset_listing.asset_scope.error_message #=> String
7334
+ # resp.items[0].subscribed_listings[0].item.asset_listing.asset_scope.filter_ids #=> Array
7335
+ # resp.items[0].subscribed_listings[0].item.asset_listing.asset_scope.filter_ids[0] #=> String
7336
+ # resp.items[0].subscribed_listings[0].item.asset_listing.asset_scope.status #=> String
7266
7337
  # resp.items[0].subscribed_listings[0].item.asset_listing.entity_id #=> String
7267
7338
  # resp.items[0].subscribed_listings[0].item.asset_listing.entity_revision #=> String
7268
7339
  # resp.items[0].subscribed_listings[0].item.asset_listing.entity_type #=> String
@@ -7468,6 +7539,11 @@ module Aws::DataZone
7468
7539
  # resp.items[0].status #=> String, one of "APPROVED", "REVOKED", "CANCELLED"
7469
7540
  # resp.items[0].subscribed_listing.description #=> String
7470
7541
  # resp.items[0].subscribed_listing.id #=> String
7542
+ # resp.items[0].subscribed_listing.item.asset_listing.asset_scope.asset_id #=> String
7543
+ # resp.items[0].subscribed_listing.item.asset_listing.asset_scope.error_message #=> String
7544
+ # resp.items[0].subscribed_listing.item.asset_listing.asset_scope.filter_ids #=> Array
7545
+ # resp.items[0].subscribed_listing.item.asset_listing.asset_scope.filter_ids[0] #=> String
7546
+ # resp.items[0].subscribed_listing.item.asset_listing.asset_scope.status #=> String
7471
7547
  # resp.items[0].subscribed_listing.item.asset_listing.entity_id #=> String
7472
7548
  # resp.items[0].subscribed_listing.item.asset_listing.entity_revision #=> String
7473
7549
  # resp.items[0].subscribed_listing.item.asset_listing.entity_type #=> String
@@ -7919,6 +7995,11 @@ module Aws::DataZone
7919
7995
  # resp.subscribed_listings #=> Array
7920
7996
  # resp.subscribed_listings[0].description #=> String
7921
7997
  # resp.subscribed_listings[0].id #=> String
7998
+ # resp.subscribed_listings[0].item.asset_listing.asset_scope.asset_id #=> String
7999
+ # resp.subscribed_listings[0].item.asset_listing.asset_scope.error_message #=> String
8000
+ # resp.subscribed_listings[0].item.asset_listing.asset_scope.filter_ids #=> Array
8001
+ # resp.subscribed_listings[0].item.asset_listing.asset_scope.filter_ids[0] #=> String
8002
+ # resp.subscribed_listings[0].item.asset_listing.asset_scope.status #=> String
7922
8003
  # resp.subscribed_listings[0].item.asset_listing.entity_id #=> String
7923
8004
  # resp.subscribed_listings[0].item.asset_listing.entity_revision #=> String
7924
8005
  # resp.subscribed_listings[0].item.asset_listing.entity_type #=> String
@@ -8123,6 +8204,11 @@ module Aws::DataZone
8123
8204
  # resp.status #=> String, one of "APPROVED", "REVOKED", "CANCELLED"
8124
8205
  # resp.subscribed_listing.description #=> String
8125
8206
  # resp.subscribed_listing.id #=> String
8207
+ # resp.subscribed_listing.item.asset_listing.asset_scope.asset_id #=> String
8208
+ # resp.subscribed_listing.item.asset_listing.asset_scope.error_message #=> String
8209
+ # resp.subscribed_listing.item.asset_listing.asset_scope.filter_ids #=> Array
8210
+ # resp.subscribed_listing.item.asset_listing.asset_scope.filter_ids[0] #=> String
8211
+ # resp.subscribed_listing.item.asset_listing.asset_scope.status #=> String
8126
8212
  # resp.subscribed_listing.item.asset_listing.entity_id #=> String
8127
8213
  # resp.subscribed_listing.item.asset_listing.entity_revision #=> String
8128
8214
  # resp.subscribed_listing.item.asset_listing.entity_type #=> String
@@ -10003,6 +10089,11 @@ module Aws::DataZone
10003
10089
  # resp.assets #=> Array
10004
10090
  # resp.assets[0].asset_id #=> String
10005
10091
  # resp.assets[0].asset_revision #=> String
10092
+ # resp.assets[0].asset_scope.asset_id #=> String
10093
+ # resp.assets[0].asset_scope.error_message #=> String
10094
+ # resp.assets[0].asset_scope.filter_ids #=> Array
10095
+ # resp.assets[0].asset_scope.filter_ids[0] #=> String
10096
+ # resp.assets[0].asset_scope.status #=> String
10006
10097
  # resp.assets[0].failure_cause.message #=> String
10007
10098
  # resp.assets[0].failure_timestamp #=> Time
10008
10099
  # resp.assets[0].granted_timestamp #=> Time
@@ -10077,6 +10168,11 @@ module Aws::DataZone
10077
10168
  # resp.subscribed_listings #=> Array
10078
10169
  # resp.subscribed_listings[0].description #=> String
10079
10170
  # resp.subscribed_listings[0].id #=> String
10171
+ # resp.subscribed_listings[0].item.asset_listing.asset_scope.asset_id #=> String
10172
+ # resp.subscribed_listings[0].item.asset_listing.asset_scope.error_message #=> String
10173
+ # resp.subscribed_listings[0].item.asset_listing.asset_scope.filter_ids #=> Array
10174
+ # resp.subscribed_listings[0].item.asset_listing.asset_scope.filter_ids[0] #=> String
10175
+ # resp.subscribed_listings[0].item.asset_listing.asset_scope.status #=> String
10080
10176
  # resp.subscribed_listings[0].item.asset_listing.entity_id #=> String
10081
10177
  # resp.subscribed_listings[0].item.asset_listing.entity_revision #=> String
10082
10178
  # resp.subscribed_listings[0].item.asset_listing.entity_type #=> String
@@ -10277,14 +10373,19 @@ module Aws::DataZone
10277
10373
  # @api private
10278
10374
  def build_request(operation_name, params = {})
10279
10375
  handlers = @handlers.for(operation_name)
10376
+ tracer = config.telemetry_provider.tracer_provider.tracer(
10377
+ Aws::Telemetry.module_to_tracer_name('Aws::DataZone')
10378
+ )
10280
10379
  context = Seahorse::Client::RequestContext.new(
10281
10380
  operation_name: operation_name,
10282
10381
  operation: config.api.operation(operation_name),
10283
10382
  client: self,
10284
10383
  params: params,
10285
- config: config)
10384
+ config: config,
10385
+ tracer: tracer
10386
+ )
10286
10387
  context[:gem_name] = 'aws-sdk-datazone'
10287
- context[:gem_version] = '1.20.0'
10388
+ context[:gem_version] = '1.21.0'
10288
10389
  Seahorse::Client::Request.new(handlers, context)
10289
10390
  end
10290
10391
 
@@ -23,6 +23,8 @@ module Aws::DataZone
23
23
  AcceptSubscriptionRequestOutput = Shapes::StructureShape.new(name: 'AcceptSubscriptionRequestOutput')
24
24
  AcceptSubscriptionRequestOutputSubscribedListingsList = Shapes::ListShape.new(name: 'AcceptSubscriptionRequestOutputSubscribedListingsList')
25
25
  AcceptSubscriptionRequestOutputSubscribedPrincipalsList = Shapes::ListShape.new(name: 'AcceptSubscriptionRequestOutputSubscribedPrincipalsList')
26
+ AcceptedAssetScope = Shapes::StructureShape.new(name: 'AcceptedAssetScope')
27
+ AcceptedAssetScopes = Shapes::ListShape.new(name: 'AcceptedAssetScopes')
26
28
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
27
29
  ActionLink = Shapes::StringShape.new(name: 'ActionLink')
28
30
  ActionParameters = Shapes::UnionShape.new(name: 'ActionParameters')
@@ -50,6 +52,7 @@ module Aws::DataZone
50
52
  AssetName = Shapes::StringShape.new(name: 'AssetName')
51
53
  AssetRevision = Shapes::StructureShape.new(name: 'AssetRevision')
52
54
  AssetRevisions = Shapes::ListShape.new(name: 'AssetRevisions')
55
+ AssetScope = Shapes::StructureShape.new(name: 'AssetScope')
53
56
  AssetTargetNameMap = Shapes::StructureShape.new(name: 'AssetTargetNameMap')
54
57
  AssetTargetNames = Shapes::ListShape.new(name: 'AssetTargetNames')
55
58
  AssetTypeIdentifier = Shapes::StringShape.new(name: 'AssetTypeIdentifier')
@@ -283,6 +286,7 @@ module Aws::DataZone
283
286
  FilterExpressionType = Shapes::StringShape.new(name: 'FilterExpressionType')
284
287
  FilterExpressions = Shapes::ListShape.new(name: 'FilterExpressions')
285
288
  FilterId = Shapes::StringShape.new(name: 'FilterId')
289
+ FilterIds = Shapes::ListShape.new(name: 'FilterIds')
286
290
  FilterList = Shapes::ListShape.new(name: 'FilterList')
287
291
  FilterName = Shapes::StringShape.new(name: 'FilterName')
288
292
  FilterStatus = Shapes::StringShape.new(name: 'FilterStatus')
@@ -783,6 +787,7 @@ module Aws::DataZone
783
787
  AcceptRule.add_member(:threshold, Shapes::ShapeRef.new(shape: Float, location_name: "threshold"))
784
788
  AcceptRule.struct_class = Types::AcceptRule
785
789
 
790
+ AcceptSubscriptionRequestInput.add_member(:asset_scopes, Shapes::ShapeRef.new(shape: AcceptedAssetScopes, location_name: "assetScopes"))
786
791
  AcceptSubscriptionRequestInput.add_member(:decision_comment, Shapes::ShapeRef.new(shape: DecisionComment, location_name: "decisionComment"))
787
792
  AcceptSubscriptionRequestInput.add_member(:domain_identifier, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainIdentifier"))
788
793
  AcceptSubscriptionRequestInput.add_member(:identifier, Shapes::ShapeRef.new(shape: SubscriptionRequestId, required: true, location: "uri", location_name: "identifier"))
@@ -806,6 +811,12 @@ module Aws::DataZone
806
811
 
807
812
  AcceptSubscriptionRequestOutputSubscribedPrincipalsList.member = Shapes::ShapeRef.new(shape: SubscribedPrincipal)
808
813
 
814
+ AcceptedAssetScope.add_member(:asset_id, Shapes::ShapeRef.new(shape: AssetId, required: true, location_name: "assetId"))
815
+ AcceptedAssetScope.add_member(:filter_ids, Shapes::ShapeRef.new(shape: FilterIds, required: true, location_name: "filterIds"))
816
+ AcceptedAssetScope.struct_class = Types::AcceptedAssetScope
817
+
818
+ AcceptedAssetScopes.member = Shapes::ShapeRef.new(shape: AcceptedAssetScope)
819
+
809
820
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
810
821
  AccessDeniedException.struct_class = Types::AccessDeniedException
811
822
 
@@ -936,6 +947,12 @@ module Aws::DataZone
936
947
 
937
948
  AssetRevisions.member = Shapes::ShapeRef.new(shape: AssetRevision)
938
949
 
950
+ AssetScope.add_member(:asset_id, Shapes::ShapeRef.new(shape: AssetId, required: true, location_name: "assetId"))
951
+ AssetScope.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "errorMessage"))
952
+ AssetScope.add_member(:filter_ids, Shapes::ShapeRef.new(shape: FilterIds, required: true, location_name: "filterIds"))
953
+ AssetScope.add_member(:status, Shapes::ShapeRef.new(shape: String, required: true, location_name: "status"))
954
+ AssetScope.struct_class = Types::AssetScope
955
+
939
956
  AssetTargetNameMap.add_member(:asset_id, Shapes::ShapeRef.new(shape: AssetId, required: true, location_name: "assetId"))
940
957
  AssetTargetNameMap.add_member(:target_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "targetName"))
941
958
  AssetTargetNameMap.struct_class = Types::AssetTargetNameMap
@@ -2017,6 +2034,8 @@ module Aws::DataZone
2017
2034
 
2018
2035
  FilterExpressions.member = Shapes::ShapeRef.new(shape: FilterExpression)
2019
2036
 
2037
+ FilterIds.member = Shapes::ShapeRef.new(shape: FilterId)
2038
+
2020
2039
  FilterList.member = Shapes::ShapeRef.new(shape: FilterClause)
2021
2040
 
2022
2041
  FormEntryInput.add_member(:required, Shapes::ShapeRef.new(shape: Boolean, location_name: "required"))
@@ -3708,6 +3727,7 @@ module Aws::DataZone
3708
3727
 
3709
3728
  SubscribedAsset.add_member(:asset_id, Shapes::ShapeRef.new(shape: AssetId, required: true, location_name: "assetId"))
3710
3729
  SubscribedAsset.add_member(:asset_revision, Shapes::ShapeRef.new(shape: Revision, required: true, location_name: "assetRevision"))
3730
+ SubscribedAsset.add_member(:asset_scope, Shapes::ShapeRef.new(shape: AssetScope, location_name: "assetScope"))
3711
3731
  SubscribedAsset.add_member(:failure_cause, Shapes::ShapeRef.new(shape: FailureCause, location_name: "failureCause"))
3712
3732
  SubscribedAsset.add_member(:failure_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "failureTimestamp"))
3713
3733
  SubscribedAsset.add_member(:granted_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "grantedTimestamp"))
@@ -3715,6 +3735,7 @@ module Aws::DataZone
3715
3735
  SubscribedAsset.add_member(:target_name, Shapes::ShapeRef.new(shape: String, location_name: "targetName"))
3716
3736
  SubscribedAsset.struct_class = Types::SubscribedAsset
3717
3737
 
3738
+ SubscribedAssetListing.add_member(:asset_scope, Shapes::ShapeRef.new(shape: AssetScope, location_name: "assetScope"))
3718
3739
  SubscribedAssetListing.add_member(:entity_id, Shapes::ShapeRef.new(shape: AssetId, location_name: "entityId"))
3719
3740
  SubscribedAssetListing.add_member(:entity_revision, Shapes::ShapeRef.new(shape: Revision, location_name: "entityRevision"))
3720
3741
  SubscribedAssetListing.add_member(:entity_type, Shapes::ShapeRef.new(shape: TypeName, location_name: "entityType"))
@@ -126,6 +126,10 @@ module Aws::DataZone
126
126
  include Aws::Structure
127
127
  end
128
128
 
129
+ # @!attribute [rw] asset_scopes
130
+ # The asset scopes of the accept subscription request.
131
+ # @return [Array<Types::AcceptedAssetScope>]
132
+ #
129
133
  # @!attribute [rw] decision_comment
130
134
  # A description that specifies the reason for accepting the specified
131
135
  # subscription request.
@@ -144,6 +148,7 @@ module Aws::DataZone
144
148
  # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/AcceptSubscriptionRequestInput AWS API Documentation
145
149
  #
146
150
  class AcceptSubscriptionRequestInput < Struct.new(
151
+ :asset_scopes,
147
152
  :decision_comment,
148
153
  :domain_identifier,
149
154
  :identifier)
@@ -224,6 +229,25 @@ module Aws::DataZone
224
229
  include Aws::Structure
225
230
  end
226
231
 
232
+ # The accepted asset scope.
233
+ #
234
+ # @!attribute [rw] asset_id
235
+ # The asset ID of the accepted asset scope.
236
+ # @return [String]
237
+ #
238
+ # @!attribute [rw] filter_ids
239
+ # The filter IDs of the accepted asset scope.
240
+ # @return [Array<String>]
241
+ #
242
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/AcceptedAssetScope AWS API Documentation
243
+ #
244
+ class AcceptedAssetScope < Struct.new(
245
+ :asset_id,
246
+ :filter_ids)
247
+ SENSITIVE = []
248
+ include Aws::Structure
249
+ end
250
+
227
251
  # You do not have sufficient access to perform this action.
228
252
  #
229
253
  # @!attribute [rw] message
@@ -811,6 +835,35 @@ module Aws::DataZone
811
835
  include Aws::Structure
812
836
  end
813
837
 
838
+ # The asset scope.
839
+ #
840
+ # @!attribute [rw] asset_id
841
+ # The asset ID of the asset scope.
842
+ # @return [String]
843
+ #
844
+ # @!attribute [rw] error_message
845
+ # The error message of the asset scope.
846
+ # @return [String]
847
+ #
848
+ # @!attribute [rw] filter_ids
849
+ # The filter IDs of the asset scope.
850
+ # @return [Array<String>]
851
+ #
852
+ # @!attribute [rw] status
853
+ # The status of the asset scope.
854
+ # @return [String]
855
+ #
856
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/AssetScope AWS API Documentation
857
+ #
858
+ class AssetScope < Struct.new(
859
+ :asset_id,
860
+ :error_message,
861
+ :filter_ids,
862
+ :status)
863
+ SENSITIVE = []
864
+ include Aws::Structure
865
+ end
866
+
814
867
  # The name map for assets.
815
868
  #
816
869
  # @!attribute [rw] asset_id
@@ -13637,6 +13690,10 @@ module Aws::DataZone
13637
13690
  # created.
13638
13691
  # @return [String]
13639
13692
  #
13693
+ # @!attribute [rw] asset_scope
13694
+ # The asset scope of the subscribed asset.
13695
+ # @return [Types::AssetScope]
13696
+ #
13640
13697
  # @!attribute [rw] failure_cause
13641
13698
  # The failure cause included in the details of the asset for which the
13642
13699
  # subscription grant is created.
@@ -13666,6 +13723,7 @@ module Aws::DataZone
13666
13723
  class SubscribedAsset < Struct.new(
13667
13724
  :asset_id,
13668
13725
  :asset_revision,
13726
+ :asset_scope,
13669
13727
  :failure_cause,
13670
13728
  :failure_timestamp,
13671
13729
  :granted_timestamp,
@@ -13678,6 +13736,10 @@ module Aws::DataZone
13678
13736
  # The details of the published asset for which the subscription grant is
13679
13737
  # created.
13680
13738
  #
13739
+ # @!attribute [rw] asset_scope
13740
+ # The asset scope of the subscribed asset listing.
13741
+ # @return [Types::AssetScope]
13742
+ #
13681
13743
  # @!attribute [rw] entity_id
13682
13744
  # The identifier of the published asset for which the subscription
13683
13745
  # grant is created.
@@ -13706,6 +13768,7 @@ module Aws::DataZone
13706
13768
  # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/SubscribedAssetListing AWS API Documentation
13707
13769
  #
13708
13770
  class SubscribedAssetListing < Struct.new(
13771
+ :asset_scope,
13709
13772
  :entity_id,
13710
13773
  :entity_revision,
13711
13774
  :entity_type,
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-datazone/customizations'
52
52
  # @!group service
53
53
  module Aws::DataZone
54
54
 
55
- GEM_VERSION = '1.20.0'
55
+ GEM_VERSION = '1.21.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -50,6 +50,7 @@ module Aws
50
50
  ?session_token: String,
51
51
  ?sigv4a_signing_region_set: Array[String],
52
52
  ?stub_responses: untyped,
53
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
53
54
  ?token_provider: untyped,
54
55
  ?use_dualstack_endpoint: bool,
55
56
  ?use_fips_endpoint: bool,
@@ -116,6 +117,12 @@ module Aws
116
117
  end
117
118
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#accept_subscription_request-instance_method
118
119
  def accept_subscription_request: (
120
+ ?asset_scopes: Array[
121
+ {
122
+ asset_id: ::String,
123
+ filter_ids: Array[::String]
124
+ },
125
+ ],
119
126
  ?decision_comment: ::String,
120
127
  domain_identifier: ::String,
121
128
  identifier: ::String
data/sig/resource.rbs CHANGED
@@ -50,6 +50,7 @@ module Aws
50
50
  ?session_token: String,
51
51
  ?sigv4a_signing_region_set: Array[String],
52
52
  ?stub_responses: untyped,
53
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
53
54
  ?token_provider: untyped,
54
55
  ?use_dualstack_endpoint: bool,
55
56
  ?use_fips_endpoint: bool,
data/sig/types.rbs CHANGED
@@ -39,6 +39,7 @@ module Aws::DataZone
39
39
  end
40
40
 
41
41
  class AcceptSubscriptionRequestInput
42
+ attr_accessor asset_scopes: ::Array[Types::AcceptedAssetScope]
42
43
  attr_accessor decision_comment: ::String
43
44
  attr_accessor domain_identifier: ::String
44
45
  attr_accessor identifier: ::String
@@ -61,6 +62,12 @@ module Aws::DataZone
61
62
  SENSITIVE: [:decision_comment, :request_reason]
62
63
  end
63
64
 
65
+ class AcceptedAssetScope
66
+ attr_accessor asset_id: ::String
67
+ attr_accessor filter_ids: ::Array[::String]
68
+ SENSITIVE: []
69
+ end
70
+
64
71
  class AccessDeniedException
65
72
  attr_accessor message: ::String
66
73
  SENSITIVE: []
@@ -224,6 +231,14 @@ module Aws::DataZone
224
231
  SENSITIVE: []
225
232
  end
226
233
 
234
+ class AssetScope
235
+ attr_accessor asset_id: ::String
236
+ attr_accessor error_message: ::String
237
+ attr_accessor filter_ids: ::Array[::String]
238
+ attr_accessor status: ::String
239
+ SENSITIVE: []
240
+ end
241
+
227
242
  class AssetTargetNameMap
228
243
  attr_accessor asset_id: ::String
229
244
  attr_accessor target_name: ::String
@@ -3701,6 +3716,7 @@ module Aws::DataZone
3701
3716
  class SubscribedAsset
3702
3717
  attr_accessor asset_id: ::String
3703
3718
  attr_accessor asset_revision: ::String
3719
+ attr_accessor asset_scope: Types::AssetScope
3704
3720
  attr_accessor failure_cause: Types::FailureCause
3705
3721
  attr_accessor failure_timestamp: ::Time
3706
3722
  attr_accessor granted_timestamp: ::Time
@@ -3710,6 +3726,7 @@ module Aws::DataZone
3710
3726
  end
3711
3727
 
3712
3728
  class SubscribedAssetListing
3729
+ attr_accessor asset_scope: Types::AssetScope
3713
3730
  attr_accessor entity_id: ::String
3714
3731
  attr_accessor entity_revision: ::String
3715
3732
  attr_accessor entity_type: ::String
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-datazone
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.20.0
4
+ version: 1.21.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: 2024-08-30 00:00:00.000000000 Z
11
+ date: 2024-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.201.0
22
+ version: 3.203.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.201.0
32
+ version: 3.203.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement