aws-sdk-datazone 1.27.0 → 1.28.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -54,7 +54,7 @@ module Aws::DataZone
54
54
  autoload :EndpointProvider, 'aws-sdk-datazone/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-datazone/endpoints'
56
56
 
57
- GEM_VERSION = '1.27.0'
57
+ GEM_VERSION = '1.28.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -107,7 +107,9 @@ module Aws
107
107
  def created_by: () -> ::String
108
108
  def decision_comment: () -> ::String
109
109
  def domain_id: () -> ::String
110
+ def existing_subscription_id: () -> ::String
110
111
  def id: () -> ::String
112
+ def metadata_forms: () -> ::Array[Types::FormOutput]
111
113
  def request_reason: () -> ::String
112
114
  def reviewer_id: () -> ::String
113
115
  def status: () -> ("PENDING" | "ACCEPTED" | "REJECTED")
@@ -955,6 +957,57 @@ module Aws
955
957
  ) -> _CreateProjectMembershipResponseSuccess
956
958
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateProjectMembershipResponseSuccess
957
959
 
960
+ interface _CreateRuleResponseSuccess
961
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateRuleOutput]
962
+ def action: () -> ("CREATE_SUBSCRIPTION_REQUEST")
963
+ def created_at: () -> ::Time
964
+ def created_by: () -> ::String
965
+ def description: () -> ::String
966
+ def detail: () -> Types::RuleDetail
967
+ def identifier: () -> ::String
968
+ def name: () -> ::String
969
+ def rule_type: () -> ("METADATA_FORM_ENFORCEMENT")
970
+ def scope: () -> Types::RuleScope
971
+ def target: () -> Types::RuleTarget
972
+ def target_type: () -> ("DOMAIN_UNIT")
973
+ end
974
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#create_rule-instance_method
975
+ def create_rule: (
976
+ action: ("CREATE_SUBSCRIPTION_REQUEST"),
977
+ ?client_token: ::String,
978
+ ?description: ::String,
979
+ detail: {
980
+ metadata_form_enforcement_detail: {
981
+ required_metadata_forms: Array[
982
+ {
983
+ type_identifier: ::String,
984
+ type_revision: ::String
985
+ },
986
+ ]?
987
+ }?
988
+ },
989
+ domain_identifier: ::String,
990
+ name: ::String,
991
+ scope: {
992
+ asset_type: {
993
+ selection_mode: ("ALL" | "SPECIFIC"),
994
+ specific_asset_types: Array[::String]?
995
+ }?,
996
+ data_product: bool?,
997
+ project: {
998
+ selection_mode: ("ALL" | "SPECIFIC"),
999
+ specific_projects: Array[::String]?
1000
+ }?
1001
+ },
1002
+ target: {
1003
+ domain_unit_target: {
1004
+ domain_unit_id: ::String,
1005
+ include_child_domain_units: bool?
1006
+ }?
1007
+ }
1008
+ ) -> _CreateRuleResponseSuccess
1009
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRuleResponseSuccess
1010
+
958
1011
  interface _CreateSubscriptionGrantResponseSuccess
959
1012
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateSubscriptionGrantOutput]
960
1013
  def assets: () -> ::Array[Types::SubscribedAsset]
@@ -996,7 +1049,9 @@ module Aws
996
1049
  def created_by: () -> ::String
997
1050
  def decision_comment: () -> ::String
998
1051
  def domain_id: () -> ::String
1052
+ def existing_subscription_id: () -> ::String
999
1053
  def id: () -> ::String
1054
+ def metadata_forms: () -> ::Array[Types::FormOutput]
1000
1055
  def request_reason: () -> ::String
1001
1056
  def reviewer_id: () -> ::String
1002
1057
  def status: () -> ("PENDING" | "ACCEPTED" | "REJECTED")
@@ -1009,6 +1064,14 @@ module Aws
1009
1064
  def create_subscription_request: (
1010
1065
  ?client_token: ::String,
1011
1066
  domain_identifier: ::String,
1067
+ ?metadata_forms: Array[
1068
+ {
1069
+ content: ::String?,
1070
+ form_name: ::String,
1071
+ type_identifier: ::String?,
1072
+ type_revision: ::String?
1073
+ },
1074
+ ],
1012
1075
  request_reason: ::String,
1013
1076
  subscribed_listings: Array[
1014
1077
  {
@@ -1270,6 +1333,16 @@ module Aws
1270
1333
  ) -> _DeleteProjectMembershipResponseSuccess
1271
1334
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteProjectMembershipResponseSuccess
1272
1335
 
1336
+ interface _DeleteRuleResponseSuccess
1337
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRuleOutput]
1338
+ end
1339
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#delete_rule-instance_method
1340
+ def delete_rule: (
1341
+ domain_identifier: ::String,
1342
+ identifier: ::String
1343
+ ) -> _DeleteRuleResponseSuccess
1344
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRuleResponseSuccess
1345
+
1273
1346
  interface _DeleteSubscriptionGrantResponseSuccess
1274
1347
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSubscriptionGrantOutput]
1275
1348
  def assets: () -> ::Array[Types::SubscribedAsset]
@@ -1826,6 +1899,31 @@ module Aws
1826
1899
  ) -> _GetProjectResponseSuccess
1827
1900
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetProjectResponseSuccess
1828
1901
 
1902
+ interface _GetRuleResponseSuccess
1903
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRuleOutput]
1904
+ def action: () -> ("CREATE_SUBSCRIPTION_REQUEST")
1905
+ def created_at: () -> ::Time
1906
+ def created_by: () -> ::String
1907
+ def description: () -> ::String
1908
+ def detail: () -> Types::RuleDetail
1909
+ def identifier: () -> ::String
1910
+ def last_updated_by: () -> ::String
1911
+ def name: () -> ::String
1912
+ def revision: () -> ::String
1913
+ def rule_type: () -> ("METADATA_FORM_ENFORCEMENT")
1914
+ def scope: () -> Types::RuleScope
1915
+ def target: () -> Types::RuleTarget
1916
+ def target_type: () -> ("DOMAIN_UNIT")
1917
+ def updated_at: () -> ::Time
1918
+ end
1919
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#get_rule-instance_method
1920
+ def get_rule: (
1921
+ domain_identifier: ::String,
1922
+ identifier: ::String,
1923
+ ?revision: ::String
1924
+ ) -> _GetRuleResponseSuccess
1925
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRuleResponseSuccess
1926
+
1829
1927
  interface _GetSubscriptionResponseSuccess
1830
1928
  include ::Seahorse::Client::_ResponseSuccess[Types::GetSubscriptionOutput]
1831
1929
  def created_at: () -> ::Time
@@ -1874,7 +1972,9 @@ module Aws
1874
1972
  def created_by: () -> ::String
1875
1973
  def decision_comment: () -> ::String
1876
1974
  def domain_id: () -> ::String
1975
+ def existing_subscription_id: () -> ::String
1877
1976
  def id: () -> ::String
1977
+ def metadata_forms: () -> ::Array[Types::FormOutput]
1878
1978
  def request_reason: () -> ::String
1879
1979
  def reviewer_id: () -> ::String
1880
1980
  def status: () -> ("PENDING" | "ACCEPTED" | "REJECTED")
@@ -2263,6 +2363,27 @@ module Aws
2263
2363
  ) -> _ListProjectsResponseSuccess
2264
2364
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListProjectsResponseSuccess
2265
2365
 
2366
+ interface _ListRulesResponseSuccess
2367
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRulesOutput]
2368
+ def items: () -> ::Array[Types::RuleSummary]
2369
+ def next_token: () -> ::String
2370
+ end
2371
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#list_rules-instance_method
2372
+ def list_rules: (
2373
+ ?action: ("CREATE_SUBSCRIPTION_REQUEST"),
2374
+ ?asset_types: Array[::String],
2375
+ ?data_product: bool,
2376
+ domain_identifier: ::String,
2377
+ ?include_cascaded: bool,
2378
+ ?max_results: ::Integer,
2379
+ ?next_token: ::String,
2380
+ ?project_ids: Array[::String],
2381
+ ?rule_type: ("METADATA_FORM_ENFORCEMENT"),
2382
+ target_identifier: ::String,
2383
+ target_type: ("DOMAIN_UNIT")
2384
+ ) -> _ListRulesResponseSuccess
2385
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRulesResponseSuccess
2386
+
2266
2387
  interface _ListSubscriptionGrantsResponseSuccess
2267
2388
  include ::Seahorse::Client::_ResponseSuccess[Types::ListSubscriptionGrantsOutput]
2268
2389
  def items: () -> ::Array[Types::SubscriptionGrantSummary]
@@ -2464,7 +2585,9 @@ module Aws
2464
2585
  def created_by: () -> ::String
2465
2586
  def decision_comment: () -> ::String
2466
2587
  def domain_id: () -> ::String
2588
+ def existing_subscription_id: () -> ::String
2467
2589
  def id: () -> ::String
2590
+ def metadata_forms: () -> ::Array[Types::FormOutput]
2468
2591
  def request_reason: () -> ::String
2469
2592
  def reviewer_id: () -> ::String
2470
2593
  def status: () -> ("PENDING" | "ACCEPTED" | "REJECTED")
@@ -3182,6 +3305,53 @@ module Aws
3182
3305
  ) -> _UpdateProjectResponseSuccess
3183
3306
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateProjectResponseSuccess
3184
3307
 
3308
+ interface _UpdateRuleResponseSuccess
3309
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRuleOutput]
3310
+ def action: () -> ("CREATE_SUBSCRIPTION_REQUEST")
3311
+ def created_at: () -> ::Time
3312
+ def created_by: () -> ::String
3313
+ def description: () -> ::String
3314
+ def detail: () -> Types::RuleDetail
3315
+ def identifier: () -> ::String
3316
+ def last_updated_by: () -> ::String
3317
+ def name: () -> ::String
3318
+ def revision: () -> ::String
3319
+ def rule_type: () -> ("METADATA_FORM_ENFORCEMENT")
3320
+ def scope: () -> Types::RuleScope
3321
+ def target: () -> Types::RuleTarget
3322
+ def updated_at: () -> ::Time
3323
+ end
3324
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#update_rule-instance_method
3325
+ def update_rule: (
3326
+ ?description: ::String,
3327
+ ?detail: {
3328
+ metadata_form_enforcement_detail: {
3329
+ required_metadata_forms: Array[
3330
+ {
3331
+ type_identifier: ::String,
3332
+ type_revision: ::String
3333
+ },
3334
+ ]?
3335
+ }?
3336
+ },
3337
+ domain_identifier: ::String,
3338
+ identifier: ::String,
3339
+ ?include_child_domain_units: bool,
3340
+ ?name: ::String,
3341
+ ?scope: {
3342
+ asset_type: {
3343
+ selection_mode: ("ALL" | "SPECIFIC"),
3344
+ specific_asset_types: Array[::String]?
3345
+ }?,
3346
+ data_product: bool?,
3347
+ project: {
3348
+ selection_mode: ("ALL" | "SPECIFIC"),
3349
+ specific_projects: Array[::String]?
3350
+ }?
3351
+ }
3352
+ ) -> _UpdateRuleResponseSuccess
3353
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRuleResponseSuccess
3354
+
3185
3355
  interface _UpdateSubscriptionGrantStatusResponseSuccess
3186
3356
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSubscriptionGrantStatusOutput]
3187
3357
  def assets: () -> ::Array[Types::SubscribedAsset]
@@ -3215,7 +3385,9 @@ module Aws
3215
3385
  def created_by: () -> ::String
3216
3386
  def decision_comment: () -> ::String
3217
3387
  def domain_id: () -> ::String
3388
+ def existing_subscription_id: () -> ::String
3218
3389
  def id: () -> ::String
3390
+ def metadata_forms: () -> ::Array[Types::FormOutput]
3219
3391
  def request_reason: () -> ::String
3220
3392
  def reviewer_id: () -> ::String
3221
3393
  def status: () -> ("PENDING" | "ACCEPTED" | "REJECTED")
data/sig/types.rbs CHANGED
@@ -51,7 +51,9 @@ module Aws::DataZone
51
51
  attr_accessor created_by: ::String
52
52
  attr_accessor decision_comment: ::String
53
53
  attr_accessor domain_id: ::String
54
+ attr_accessor existing_subscription_id: ::String
54
55
  attr_accessor id: ::String
56
+ attr_accessor metadata_forms: ::Array[Types::FormOutput]
55
57
  attr_accessor request_reason: ::String
56
58
  attr_accessor reviewer_id: ::String
57
59
  attr_accessor status: ("PENDING" | "ACCEPTED" | "REJECTED")
@@ -261,6 +263,12 @@ module Aws::DataZone
261
263
  SENSITIVE: [:description]
262
264
  end
263
265
 
266
+ class AssetTypesForRule
267
+ attr_accessor selection_mode: ("ALL" | "SPECIFIC")
268
+ attr_accessor specific_asset_types: ::Array[::String]
269
+ SENSITIVE: []
270
+ end
271
+
264
272
  class AssociateEnvironmentRoleInput
265
273
  attr_accessor domain_identifier: ::String
266
274
  attr_accessor environment_identifier: ::String
@@ -860,6 +868,33 @@ module Aws::DataZone
860
868
  SENSITIVE: []
861
869
  end
862
870
 
871
+ class CreateRuleInput
872
+ attr_accessor action: ("CREATE_SUBSCRIPTION_REQUEST")
873
+ attr_accessor client_token: ::String
874
+ attr_accessor description: ::String
875
+ attr_accessor detail: Types::RuleDetail
876
+ attr_accessor domain_identifier: ::String
877
+ attr_accessor name: ::String
878
+ attr_accessor scope: Types::RuleScope
879
+ attr_accessor target: Types::RuleTarget
880
+ SENSITIVE: [:description, :name]
881
+ end
882
+
883
+ class CreateRuleOutput
884
+ attr_accessor action: ("CREATE_SUBSCRIPTION_REQUEST")
885
+ attr_accessor created_at: ::Time
886
+ attr_accessor created_by: ::String
887
+ attr_accessor description: ::String
888
+ attr_accessor detail: Types::RuleDetail
889
+ attr_accessor identifier: ::String
890
+ attr_accessor name: ::String
891
+ attr_accessor rule_type: ("METADATA_FORM_ENFORCEMENT")
892
+ attr_accessor scope: Types::RuleScope
893
+ attr_accessor target: Types::RuleTarget
894
+ attr_accessor target_type: ("DOMAIN_UNIT")
895
+ SENSITIVE: [:description, :name]
896
+ end
897
+
863
898
  class CreateSubscriptionGrantInput
864
899
  attr_accessor asset_target_names: ::Array[Types::AssetTargetNameMap]
865
900
  attr_accessor client_token: ::String
@@ -888,6 +923,7 @@ module Aws::DataZone
888
923
  class CreateSubscriptionRequestInput
889
924
  attr_accessor client_token: ::String
890
925
  attr_accessor domain_identifier: ::String
926
+ attr_accessor metadata_forms: ::Array[Types::FormInput]
891
927
  attr_accessor request_reason: ::String
892
928
  attr_accessor subscribed_listings: ::Array[Types::SubscribedListingInput]
893
929
  attr_accessor subscribed_principals: ::Array[Types::SubscribedPrincipalInput]
@@ -899,7 +935,9 @@ module Aws::DataZone
899
935
  attr_accessor created_by: ::String
900
936
  attr_accessor decision_comment: ::String
901
937
  attr_accessor domain_id: ::String
938
+ attr_accessor existing_subscription_id: ::String
902
939
  attr_accessor id: ::String
940
+ attr_accessor metadata_forms: ::Array[Types::FormOutput]
903
941
  attr_accessor request_reason: ::String
904
942
  attr_accessor reviewer_id: ::String
905
943
  attr_accessor status: ("PENDING" | "ACCEPTED" | "REJECTED")
@@ -1287,6 +1325,15 @@ module Aws::DataZone
1287
1325
  class DeleteProjectOutput < Aws::EmptyStructure
1288
1326
  end
1289
1327
 
1328
+ class DeleteRuleInput
1329
+ attr_accessor domain_identifier: ::String
1330
+ attr_accessor identifier: ::String
1331
+ SENSITIVE: []
1332
+ end
1333
+
1334
+ class DeleteRuleOutput < Aws::EmptyStructure
1335
+ end
1336
+
1290
1337
  class DeleteSubscriptionGrantInput
1291
1338
  attr_accessor domain_identifier: ::String
1292
1339
  attr_accessor identifier: ::String
@@ -1427,6 +1474,12 @@ module Aws::DataZone
1427
1474
  SENSITIVE: []
1428
1475
  end
1429
1476
 
1477
+ class DomainUnitTarget
1478
+ attr_accessor domain_unit_id: ::String
1479
+ attr_accessor include_child_domain_units: bool
1480
+ SENSITIVE: []
1481
+ end
1482
+
1430
1483
  class DomainUnitUserProperties
1431
1484
  attr_accessor user_id: ::String
1432
1485
  SENSITIVE: []
@@ -2092,6 +2145,31 @@ module Aws::DataZone
2092
2145
  SENSITIVE: [:description, :name]
2093
2146
  end
2094
2147
 
2148
+ class GetRuleInput
2149
+ attr_accessor domain_identifier: ::String
2150
+ attr_accessor identifier: ::String
2151
+ attr_accessor revision: ::String
2152
+ SENSITIVE: []
2153
+ end
2154
+
2155
+ class GetRuleOutput
2156
+ attr_accessor action: ("CREATE_SUBSCRIPTION_REQUEST")
2157
+ attr_accessor created_at: ::Time
2158
+ attr_accessor created_by: ::String
2159
+ attr_accessor description: ::String
2160
+ attr_accessor detail: Types::RuleDetail
2161
+ attr_accessor identifier: ::String
2162
+ attr_accessor last_updated_by: ::String
2163
+ attr_accessor name: ::String
2164
+ attr_accessor revision: ::String
2165
+ attr_accessor rule_type: ("METADATA_FORM_ENFORCEMENT")
2166
+ attr_accessor scope: Types::RuleScope
2167
+ attr_accessor target: Types::RuleTarget
2168
+ attr_accessor target_type: ("DOMAIN_UNIT")
2169
+ attr_accessor updated_at: ::Time
2170
+ SENSITIVE: [:description, :name]
2171
+ end
2172
+
2095
2173
  class GetSubscriptionGrantInput
2096
2174
  attr_accessor domain_identifier: ::String
2097
2175
  attr_accessor identifier: ::String
@@ -2145,7 +2223,9 @@ module Aws::DataZone
2145
2223
  attr_accessor created_by: ::String
2146
2224
  attr_accessor decision_comment: ::String
2147
2225
  attr_accessor domain_id: ::String
2226
+ attr_accessor existing_subscription_id: ::String
2148
2227
  attr_accessor id: ::String
2228
+ attr_accessor metadata_forms: ::Array[Types::FormOutput]
2149
2229
  attr_accessor request_reason: ::String
2150
2230
  attr_accessor reviewer_id: ::String
2151
2231
  attr_accessor status: ("PENDING" | "ACCEPTED" | "REJECTED")
@@ -2729,6 +2809,27 @@ module Aws::DataZone
2729
2809
  SENSITIVE: []
2730
2810
  end
2731
2811
 
2812
+ class ListRulesInput
2813
+ attr_accessor action: ("CREATE_SUBSCRIPTION_REQUEST")
2814
+ attr_accessor asset_types: ::Array[::String]
2815
+ attr_accessor data_product: bool
2816
+ attr_accessor domain_identifier: ::String
2817
+ attr_accessor include_cascaded: bool
2818
+ attr_accessor max_results: ::Integer
2819
+ attr_accessor next_token: ::String
2820
+ attr_accessor project_ids: ::Array[::String]
2821
+ attr_accessor rule_type: ("METADATA_FORM_ENFORCEMENT")
2822
+ attr_accessor target_identifier: ::String
2823
+ attr_accessor target_type: ("DOMAIN_UNIT")
2824
+ SENSITIVE: []
2825
+ end
2826
+
2827
+ class ListRulesOutput
2828
+ attr_accessor items: ::Array[Types::RuleSummary]
2829
+ attr_accessor next_token: ::String
2830
+ SENSITIVE: []
2831
+ end
2832
+
2732
2833
  class ListSubscriptionGrantsInput
2733
2834
  attr_accessor domain_identifier: ::String
2734
2835
  attr_accessor environment_id: ::String
@@ -2900,6 +3001,24 @@ module Aws::DataZone
2900
3001
  end
2901
3002
  end
2902
3003
 
3004
+ class MetadataFormEnforcementDetail
3005
+ attr_accessor required_metadata_forms: ::Array[Types::MetadataFormReference]
3006
+ SENSITIVE: []
3007
+ end
3008
+
3009
+ class MetadataFormReference
3010
+ attr_accessor type_identifier: ::String
3011
+ attr_accessor type_revision: ::String
3012
+ SENSITIVE: []
3013
+ end
3014
+
3015
+ class MetadataFormSummary
3016
+ attr_accessor form_name: ::String
3017
+ attr_accessor type_name: ::String
3018
+ attr_accessor type_revision: ::String
3019
+ SENSITIVE: [:type_name]
3020
+ end
3021
+
2903
3022
  class MetadataGenerationRunItem
2904
3023
  attr_accessor created_at: ::Time
2905
3024
  attr_accessor created_by: ::String
@@ -3173,6 +3292,12 @@ module Aws::DataZone
3173
3292
  SENSITIVE: [:description, :name]
3174
3293
  end
3175
3294
 
3295
+ class ProjectsForRule
3296
+ attr_accessor selection_mode: ("ALL" | "SPECIFIC")
3297
+ attr_accessor specific_projects: ::Array[::String]
3298
+ SENSITIVE: []
3299
+ end
3300
+
3176
3301
  class ProvisioningConfiguration
3177
3302
  attr_accessor lake_formation_configuration: Types::LakeFormationConfiguration
3178
3303
  attr_accessor unknown: untyped
@@ -3317,7 +3442,9 @@ module Aws::DataZone
3317
3442
  attr_accessor created_by: ::String
3318
3443
  attr_accessor decision_comment: ::String
3319
3444
  attr_accessor domain_id: ::String
3445
+ attr_accessor existing_subscription_id: ::String
3320
3446
  attr_accessor id: ::String
3447
+ attr_accessor metadata_forms: ::Array[Types::FormOutput]
3321
3448
  attr_accessor request_reason: ::String
3322
3449
  attr_accessor reviewer_id: ::String
3323
3450
  attr_accessor status: ("PENDING" | "ACCEPTED" | "REJECTED")
@@ -3462,6 +3589,49 @@ module Aws::DataZone
3462
3589
  end
3463
3590
  end
3464
3591
 
3592
+ class RuleDetail
3593
+ attr_accessor metadata_form_enforcement_detail: Types::MetadataFormEnforcementDetail
3594
+ attr_accessor unknown: untyped
3595
+ SENSITIVE: []
3596
+
3597
+ class MetadataFormEnforcementDetail < RuleDetail
3598
+ end
3599
+ class Unknown < RuleDetail
3600
+ end
3601
+ end
3602
+
3603
+ class RuleScope
3604
+ attr_accessor asset_type: Types::AssetTypesForRule
3605
+ attr_accessor data_product: bool
3606
+ attr_accessor project: Types::ProjectsForRule
3607
+ SENSITIVE: []
3608
+ end
3609
+
3610
+ class RuleSummary
3611
+ attr_accessor action: ("CREATE_SUBSCRIPTION_REQUEST")
3612
+ attr_accessor identifier: ::String
3613
+ attr_accessor last_updated_by: ::String
3614
+ attr_accessor name: ::String
3615
+ attr_accessor revision: ::String
3616
+ attr_accessor rule_type: ("METADATA_FORM_ENFORCEMENT")
3617
+ attr_accessor scope: Types::RuleScope
3618
+ attr_accessor target: Types::RuleTarget
3619
+ attr_accessor target_type: ("DOMAIN_UNIT")
3620
+ attr_accessor updated_at: ::Time
3621
+ SENSITIVE: [:name]
3622
+ end
3623
+
3624
+ class RuleTarget
3625
+ attr_accessor domain_unit_target: Types::DomainUnitTarget
3626
+ attr_accessor unknown: untyped
3627
+ SENSITIVE: []
3628
+
3629
+ class DomainUnitTarget < RuleTarget
3630
+ end
3631
+ class Unknown < RuleTarget
3632
+ end
3633
+ end
3634
+
3465
3635
  class RunStatisticsForAssets
3466
3636
  attr_accessor added: ::Integer
3467
3637
  attr_accessor failed: ::Integer
@@ -3828,7 +3998,9 @@ module Aws::DataZone
3828
3998
  attr_accessor created_by: ::String
3829
3999
  attr_accessor decision_comment: ::String
3830
4000
  attr_accessor domain_id: ::String
4001
+ attr_accessor existing_subscription_id: ::String
3831
4002
  attr_accessor id: ::String
4003
+ attr_accessor metadata_forms_summary: ::Array[Types::MetadataFormSummary]
3832
4004
  attr_accessor request_reason: ::String
3833
4005
  attr_accessor reviewer_id: ::String
3834
4006
  attr_accessor status: ("PENDING" | "ACCEPTED" | "REJECTED")
@@ -4225,6 +4397,34 @@ module Aws::DataZone
4225
4397
  SENSITIVE: [:description, :name]
4226
4398
  end
4227
4399
 
4400
+ class UpdateRuleInput
4401
+ attr_accessor description: ::String
4402
+ attr_accessor detail: Types::RuleDetail
4403
+ attr_accessor domain_identifier: ::String
4404
+ attr_accessor identifier: ::String
4405
+ attr_accessor include_child_domain_units: bool
4406
+ attr_accessor name: ::String
4407
+ attr_accessor scope: Types::RuleScope
4408
+ SENSITIVE: [:description, :name]
4409
+ end
4410
+
4411
+ class UpdateRuleOutput
4412
+ attr_accessor action: ("CREATE_SUBSCRIPTION_REQUEST")
4413
+ attr_accessor created_at: ::Time
4414
+ attr_accessor created_by: ::String
4415
+ attr_accessor description: ::String
4416
+ attr_accessor detail: Types::RuleDetail
4417
+ attr_accessor identifier: ::String
4418
+ attr_accessor last_updated_by: ::String
4419
+ attr_accessor name: ::String
4420
+ attr_accessor revision: ::String
4421
+ attr_accessor rule_type: ("METADATA_FORM_ENFORCEMENT")
4422
+ attr_accessor scope: Types::RuleScope
4423
+ attr_accessor target: Types::RuleTarget
4424
+ attr_accessor updated_at: ::Time
4425
+ SENSITIVE: [:description, :name]
4426
+ end
4427
+
4228
4428
  class UpdateSubscriptionGrantStatusInput
4229
4429
  attr_accessor asset_identifier: ::String
4230
4430
  attr_accessor domain_identifier: ::String
@@ -4262,7 +4462,9 @@ module Aws::DataZone
4262
4462
  attr_accessor created_by: ::String
4263
4463
  attr_accessor decision_comment: ::String
4264
4464
  attr_accessor domain_id: ::String
4465
+ attr_accessor existing_subscription_id: ::String
4265
4466
  attr_accessor id: ::String
4467
+ attr_accessor metadata_forms: ::Array[Types::FormOutput]
4266
4468
  attr_accessor request_reason: ::String
4267
4469
  attr_accessor reviewer_id: ::String
4268
4470
  attr_accessor status: ("PENDING" | "ACCEPTED" | "REJECTED")
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.27.0
4
+ version: 1.28.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-10-18 00:00:00.000000000 Z
11
+ date: 2024-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core