aws-sdk-datazone 1.26.0 → 1.28.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.
@@ -175,10 +175,18 @@ module Aws::DataZone
175
175
  # specified subscription request was accepted.
176
176
  # @return [String]
177
177
  #
178
+ # @!attribute [rw] existing_subscription_id
179
+ # The ID of the existing subscription.
180
+ # @return [String]
181
+ #
178
182
  # @!attribute [rw] id
179
183
  # The identifier of the subscription request.
180
184
  # @return [String]
181
185
  #
186
+ # @!attribute [rw] metadata_forms
187
+ # The metadata form in the subscription request.
188
+ # @return [Array<Types::FormOutput>]
189
+ #
182
190
  # @!attribute [rw] request_reason
183
191
  # Specifies the reason for requesting a subscription to the asset.
184
192
  # @return [String]
@@ -217,7 +225,9 @@ module Aws::DataZone
217
225
  :created_by,
218
226
  :decision_comment,
219
227
  :domain_id,
228
+ :existing_subscription_id,
220
229
  :id,
230
+ :metadata_forms,
221
231
  :request_reason,
222
232
  :reviewer_id,
223
233
  :status,
@@ -956,6 +966,25 @@ module Aws::DataZone
956
966
  include Aws::Structure
957
967
  end
958
968
 
969
+ # The asset type for the rule details.
970
+ #
971
+ # @!attribute [rw] selection_mode
972
+ # The selection mode for the rule.
973
+ # @return [String]
974
+ #
975
+ # @!attribute [rw] specific_asset_types
976
+ # The specific asset types that are included in the rule.
977
+ # @return [Array<String>]
978
+ #
979
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/AssetTypesForRule AWS API Documentation
980
+ #
981
+ class AssetTypesForRule < Struct.new(
982
+ :selection_mode,
983
+ :specific_asset_types)
984
+ SENSITIVE = []
985
+ include Aws::Structure
986
+ end
987
+
959
988
  # @!attribute [rw] domain_identifier
960
989
  # The ID of the Amazon DataZone domain in which the environment role
961
990
  # is associated.
@@ -3392,6 +3421,119 @@ module Aws::DataZone
3392
3421
  include Aws::Structure
3393
3422
  end
3394
3423
 
3424
+ # @!attribute [rw] action
3425
+ # The action of the rule.
3426
+ # @return [String]
3427
+ #
3428
+ # @!attribute [rw] client_token
3429
+ # A unique, case-sensitive identifier that is provided to ensure the
3430
+ # idempotency of the request.
3431
+ #
3432
+ # **A suitable default value is auto-generated.** You should normally
3433
+ # not need to pass this option.
3434
+ # @return [String]
3435
+ #
3436
+ # @!attribute [rw] description
3437
+ # The description of the rule.
3438
+ # @return [String]
3439
+ #
3440
+ # @!attribute [rw] detail
3441
+ # The detail of the rule.
3442
+ # @return [Types::RuleDetail]
3443
+ #
3444
+ # @!attribute [rw] domain_identifier
3445
+ # The ID of the domain where the rule is created.
3446
+ # @return [String]
3447
+ #
3448
+ # @!attribute [rw] name
3449
+ # The name of the rule.
3450
+ # @return [String]
3451
+ #
3452
+ # @!attribute [rw] scope
3453
+ # The scope of the rule.
3454
+ # @return [Types::RuleScope]
3455
+ #
3456
+ # @!attribute [rw] target
3457
+ # The target of the rule.
3458
+ # @return [Types::RuleTarget]
3459
+ #
3460
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/CreateRuleInput AWS API Documentation
3461
+ #
3462
+ class CreateRuleInput < Struct.new(
3463
+ :action,
3464
+ :client_token,
3465
+ :description,
3466
+ :detail,
3467
+ :domain_identifier,
3468
+ :name,
3469
+ :scope,
3470
+ :target)
3471
+ SENSITIVE = [:description, :name]
3472
+ include Aws::Structure
3473
+ end
3474
+
3475
+ # @!attribute [rw] action
3476
+ # The action of the rule.
3477
+ # @return [String]
3478
+ #
3479
+ # @!attribute [rw] created_at
3480
+ # The timestamp at which the rule is created.
3481
+ # @return [Time]
3482
+ #
3483
+ # @!attribute [rw] created_by
3484
+ # The user who creates the rule.
3485
+ # @return [String]
3486
+ #
3487
+ # @!attribute [rw] description
3488
+ # The description of the rule.
3489
+ # @return [String]
3490
+ #
3491
+ # @!attribute [rw] detail
3492
+ # The detail of the rule.
3493
+ # @return [Types::RuleDetail]
3494
+ #
3495
+ # @!attribute [rw] identifier
3496
+ # The ID of the rule.
3497
+ # @return [String]
3498
+ #
3499
+ # @!attribute [rw] name
3500
+ # The name of the rule.
3501
+ # @return [String]
3502
+ #
3503
+ # @!attribute [rw] rule_type
3504
+ # The type of the rule.
3505
+ # @return [String]
3506
+ #
3507
+ # @!attribute [rw] scope
3508
+ # The scope of the rule.
3509
+ # @return [Types::RuleScope]
3510
+ #
3511
+ # @!attribute [rw] target
3512
+ # The target of the rule.
3513
+ # @return [Types::RuleTarget]
3514
+ #
3515
+ # @!attribute [rw] target_type
3516
+ # The target type of the rule.
3517
+ # @return [String]
3518
+ #
3519
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/CreateRuleOutput AWS API Documentation
3520
+ #
3521
+ class CreateRuleOutput < Struct.new(
3522
+ :action,
3523
+ :created_at,
3524
+ :created_by,
3525
+ :description,
3526
+ :detail,
3527
+ :identifier,
3528
+ :name,
3529
+ :rule_type,
3530
+ :scope,
3531
+ :target,
3532
+ :target_type)
3533
+ SENSITIVE = [:description, :name]
3534
+ include Aws::Structure
3535
+ end
3536
+
3395
3537
  # @!attribute [rw] asset_target_names
3396
3538
  # The names of the assets for which the subscription grant is created.
3397
3539
  # @return [Array<Types::AssetTargetNameMap>]
@@ -3513,6 +3655,10 @@ module Aws::DataZone
3513
3655
  # request is created.
3514
3656
  # @return [String]
3515
3657
  #
3658
+ # @!attribute [rw] metadata_forms
3659
+ # The metadata form included in the subscription request.
3660
+ # @return [Array<Types::FormInput>]
3661
+ #
3516
3662
  # @!attribute [rw] request_reason
3517
3663
  # The reason for the subscription request.
3518
3664
  # @return [String]
@@ -3532,10 +3678,11 @@ module Aws::DataZone
3532
3678
  class CreateSubscriptionRequestInput < Struct.new(
3533
3679
  :client_token,
3534
3680
  :domain_identifier,
3681
+ :metadata_forms,
3535
3682
  :request_reason,
3536
3683
  :subscribed_listings,
3537
3684
  :subscribed_principals)
3538
- SENSITIVE = [:request_reason]
3685
+ SENSITIVE = [:metadata_forms, :request_reason]
3539
3686
  include Aws::Structure
3540
3687
  end
3541
3688
 
@@ -3556,10 +3703,18 @@ module Aws::DataZone
3556
3703
  # request is created.
3557
3704
  # @return [String]
3558
3705
  #
3706
+ # @!attribute [rw] existing_subscription_id
3707
+ # The ID of the existing subscription.
3708
+ # @return [String]
3709
+ #
3559
3710
  # @!attribute [rw] id
3560
3711
  # The ID of the subscription request.
3561
3712
  # @return [String]
3562
3713
  #
3714
+ # @!attribute [rw] metadata_forms
3715
+ # The metadata form included in the subscription request.
3716
+ # @return [Array<Types::FormOutput>]
3717
+ #
3563
3718
  # @!attribute [rw] request_reason
3564
3719
  # The reason for the subscription request.
3565
3720
  # @return [String]
@@ -3596,7 +3751,9 @@ module Aws::DataZone
3596
3751
  :created_by,
3597
3752
  :decision_comment,
3598
3753
  :domain_id,
3754
+ :existing_subscription_id,
3599
3755
  :id,
3756
+ :metadata_forms,
3600
3757
  :request_reason,
3601
3758
  :reviewer_id,
3602
3759
  :status,
@@ -4923,6 +5080,27 @@ module Aws::DataZone
4923
5080
  #
4924
5081
  class DeleteProjectOutput < Aws::EmptyStructure; end
4925
5082
 
5083
+ # @!attribute [rw] domain_identifier
5084
+ # The ID of the domain that where the rule is to be deleted.
5085
+ # @return [String]
5086
+ #
5087
+ # @!attribute [rw] identifier
5088
+ # The ID of the rule that is to be deleted.
5089
+ # @return [String]
5090
+ #
5091
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/DeleteRuleInput AWS API Documentation
5092
+ #
5093
+ class DeleteRuleInput < Struct.new(
5094
+ :domain_identifier,
5095
+ :identifier)
5096
+ SENSITIVE = []
5097
+ include Aws::Structure
5098
+ end
5099
+
5100
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/DeleteRuleOutput AWS API Documentation
5101
+ #
5102
+ class DeleteRuleOutput < Aws::EmptyStructure; end
5103
+
4926
5104
  # @!attribute [rw] domain_identifier
4927
5105
  # The ID of the Amazon DataZone domain where the subscription grant is
4928
5106
  # deleted.
@@ -5384,6 +5562,25 @@ module Aws::DataZone
5384
5562
  include Aws::Structure
5385
5563
  end
5386
5564
 
5565
+ # The target for the domain unit.
5566
+ #
5567
+ # @!attribute [rw] domain_unit_id
5568
+ # The ID of the domain unit.
5569
+ # @return [String]
5570
+ #
5571
+ # @!attribute [rw] include_child_domain_units
5572
+ # Specifies whether to apply a rule to the child domain units.
5573
+ # @return [Boolean]
5574
+ #
5575
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/DomainUnitTarget AWS API Documentation
5576
+ #
5577
+ class DomainUnitTarget < Struct.new(
5578
+ :domain_unit_id,
5579
+ :include_child_domain_units)
5580
+ SENSITIVE = []
5581
+ include Aws::Structure
5582
+ end
5583
+
5387
5584
  # The properties of the domain unit user.
5388
5585
  #
5389
5586
  # @!attribute [rw] user_id
@@ -7945,6 +8142,105 @@ module Aws::DataZone
7945
8142
  include Aws::Structure
7946
8143
  end
7947
8144
 
8145
+ # @!attribute [rw] domain_identifier
8146
+ # The ID of the domain where the `GetRule` action is to be invoked.
8147
+ # @return [String]
8148
+ #
8149
+ # @!attribute [rw] identifier
8150
+ # The ID of the rule.
8151
+ # @return [String]
8152
+ #
8153
+ # @!attribute [rw] revision
8154
+ # The revision of the rule.
8155
+ # @return [String]
8156
+ #
8157
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/GetRuleInput AWS API Documentation
8158
+ #
8159
+ class GetRuleInput < Struct.new(
8160
+ :domain_identifier,
8161
+ :identifier,
8162
+ :revision)
8163
+ SENSITIVE = []
8164
+ include Aws::Structure
8165
+ end
8166
+
8167
+ # @!attribute [rw] action
8168
+ # The action of the rule.
8169
+ # @return [String]
8170
+ #
8171
+ # @!attribute [rw] created_at
8172
+ # The timestamp at which the rule was created.
8173
+ # @return [Time]
8174
+ #
8175
+ # @!attribute [rw] created_by
8176
+ # The user who created the rule.
8177
+ # @return [String]
8178
+ #
8179
+ # @!attribute [rw] description
8180
+ # The description of the rule.
8181
+ # @return [String]
8182
+ #
8183
+ # @!attribute [rw] detail
8184
+ # The detail of the rule.
8185
+ # @return [Types::RuleDetail]
8186
+ #
8187
+ # @!attribute [rw] identifier
8188
+ # The ID of the rule.
8189
+ # @return [String]
8190
+ #
8191
+ # @!attribute [rw] last_updated_by
8192
+ # The timestamp at which the rule was last updated.
8193
+ # @return [String]
8194
+ #
8195
+ # @!attribute [rw] name
8196
+ # The name of the rule.
8197
+ # @return [String]
8198
+ #
8199
+ # @!attribute [rw] revision
8200
+ # The revision of the rule.
8201
+ # @return [String]
8202
+ #
8203
+ # @!attribute [rw] rule_type
8204
+ # The type of the rule.
8205
+ # @return [String]
8206
+ #
8207
+ # @!attribute [rw] scope
8208
+ # The scope of the rule.
8209
+ # @return [Types::RuleScope]
8210
+ #
8211
+ # @!attribute [rw] target
8212
+ # The target of the rule.
8213
+ # @return [Types::RuleTarget]
8214
+ #
8215
+ # @!attribute [rw] target_type
8216
+ # The target type of the rule.
8217
+ # @return [String]
8218
+ #
8219
+ # @!attribute [rw] updated_at
8220
+ # The timestamp at which the rule was last updated.
8221
+ # @return [Time]
8222
+ #
8223
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/GetRuleOutput AWS API Documentation
8224
+ #
8225
+ class GetRuleOutput < Struct.new(
8226
+ :action,
8227
+ :created_at,
8228
+ :created_by,
8229
+ :description,
8230
+ :detail,
8231
+ :identifier,
8232
+ :last_updated_by,
8233
+ :name,
8234
+ :revision,
8235
+ :rule_type,
8236
+ :scope,
8237
+ :target,
8238
+ :target_type,
8239
+ :updated_at)
8240
+ SENSITIVE = [:description, :name]
8241
+ include Aws::Structure
8242
+ end
8243
+
7948
8244
  # @!attribute [rw] domain_identifier
7949
8245
  # The ID of the Amazon DataZone domain in which the subscription grant
7950
8246
  # exists.
@@ -8144,10 +8440,18 @@ module Aws::DataZone
8144
8440
  # The Amazon DataZone domain of the subscription request.
8145
8441
  # @return [String]
8146
8442
  #
8443
+ # @!attribute [rw] existing_subscription_id
8444
+ # The ID of the existing subscription.
8445
+ # @return [String]
8446
+ #
8147
8447
  # @!attribute [rw] id
8148
8448
  # The identifier of the subscription request.
8149
8449
  # @return [String]
8150
8450
  #
8451
+ # @!attribute [rw] metadata_forms
8452
+ # The metadata forms included in the subscription request.
8453
+ # @return [Array<Types::FormOutput>]
8454
+ #
8151
8455
  # @!attribute [rw] request_reason
8152
8456
  # The reason for the subscription request.
8153
8457
  # @return [String]
@@ -8184,7 +8488,9 @@ module Aws::DataZone
8184
8488
  :created_by,
8185
8489
  :decision_comment,
8186
8490
  :domain_id,
8491
+ :existing_subscription_id,
8187
8492
  :id,
8493
+ :metadata_forms,
8188
8494
  :request_reason,
8189
8495
  :reviewer_id,
8190
8496
  :status,
@@ -10460,6 +10766,99 @@ module Aws::DataZone
10460
10766
  include Aws::Structure
10461
10767
  end
10462
10768
 
10769
+ # @!attribute [rw] action
10770
+ # The action of the rule.
10771
+ # @return [String]
10772
+ #
10773
+ # @!attribute [rw] asset_types
10774
+ # The asset types of the rule.
10775
+ # @return [Array<String>]
10776
+ #
10777
+ # @!attribute [rw] data_product
10778
+ # The data product of the rule.
10779
+ # @return [Boolean]
10780
+ #
10781
+ # @!attribute [rw] domain_identifier
10782
+ # The ID of the domain in which the rules are to be listed.
10783
+ # @return [String]
10784
+ #
10785
+ # @!attribute [rw] include_cascaded
10786
+ # Specifies whether to include cascading rules in the results.
10787
+ # @return [Boolean]
10788
+ #
10789
+ # @!attribute [rw] max_results
10790
+ # The maximum number of rules to return in a single call to
10791
+ # `ListRules`. When the number of rules to be listed is greater than
10792
+ # the value of `MaxResults`, the response contains a `NextToken` value
10793
+ # that you can use in a subsequent call to `ListRules` to list the
10794
+ # next set of rules.
10795
+ # @return [Integer]
10796
+ #
10797
+ # @!attribute [rw] next_token
10798
+ # When the number of rules is greater than the default value for the
10799
+ # `MaxResults` parameter, or if you explicitly specify a value for
10800
+ # `MaxResults` that is less than the number of rules, the response
10801
+ # includes a pagination token named `NextToken`. You can specify this
10802
+ # `NextToken` value in a subsequent call to `ListRules` to list the
10803
+ # next set of rules.
10804
+ # @return [String]
10805
+ #
10806
+ # @!attribute [rw] project_ids
10807
+ # The IDs of projects in which rules are to be listed.
10808
+ # @return [Array<String>]
10809
+ #
10810
+ # @!attribute [rw] rule_type
10811
+ # The type of the rule.
10812
+ # @return [String]
10813
+ #
10814
+ # @!attribute [rw] target_identifier
10815
+ # The target ID of the rule.
10816
+ # @return [String]
10817
+ #
10818
+ # @!attribute [rw] target_type
10819
+ # The target type of the rule.
10820
+ # @return [String]
10821
+ #
10822
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/ListRulesInput AWS API Documentation
10823
+ #
10824
+ class ListRulesInput < Struct.new(
10825
+ :action,
10826
+ :asset_types,
10827
+ :data_product,
10828
+ :domain_identifier,
10829
+ :include_cascaded,
10830
+ :max_results,
10831
+ :next_token,
10832
+ :project_ids,
10833
+ :rule_type,
10834
+ :target_identifier,
10835
+ :target_type)
10836
+ SENSITIVE = []
10837
+ include Aws::Structure
10838
+ end
10839
+
10840
+ # @!attribute [rw] items
10841
+ # The results of the `ListRules` action.
10842
+ # @return [Array<Types::RuleSummary>]
10843
+ #
10844
+ # @!attribute [rw] next_token
10845
+ # When the number of rules is greater than the default value for the
10846
+ # `MaxResults` parameter, or if you explicitly specify a value for
10847
+ # `MaxResults` that is less than the number of rules, the response
10848
+ # includes a pagination token named `NextToken`. You can specify this
10849
+ # `NextToken` value in a subsequent call to `ListRules` to list the
10850
+ # next set of rules.
10851
+ # @return [String]
10852
+ #
10853
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/ListRulesOutput AWS API Documentation
10854
+ #
10855
+ class ListRulesOutput < Struct.new(
10856
+ :items,
10857
+ :next_token)
10858
+ SENSITIVE = []
10859
+ include Aws::Structure
10860
+ end
10861
+
10463
10862
  # @!attribute [rw] domain_identifier
10464
10863
  # The identifier of the Amazon DataZone domain.
10465
10864
  # @return [String]
@@ -11090,6 +11489,63 @@ module Aws::DataZone
11090
11489
  class Unknown < MemberDetails; end
11091
11490
  end
11092
11491
 
11492
+ # The enforcement details of a metadata form.
11493
+ #
11494
+ # @!attribute [rw] required_metadata_forms
11495
+ # The required metadata forms.
11496
+ # @return [Array<Types::MetadataFormReference>]
11497
+ #
11498
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/MetadataFormEnforcementDetail AWS API Documentation
11499
+ #
11500
+ class MetadataFormEnforcementDetail < Struct.new(
11501
+ :required_metadata_forms)
11502
+ SENSITIVE = []
11503
+ include Aws::Structure
11504
+ end
11505
+
11506
+ # The reference of a metadata form.
11507
+ #
11508
+ # @!attribute [rw] type_identifier
11509
+ # The type ID of the metadata form reference.
11510
+ # @return [String]
11511
+ #
11512
+ # @!attribute [rw] type_revision
11513
+ # The type revision of the metadata form reference.
11514
+ # @return [String]
11515
+ #
11516
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/MetadataFormReference AWS API Documentation
11517
+ #
11518
+ class MetadataFormReference < Struct.new(
11519
+ :type_identifier,
11520
+ :type_revision)
11521
+ SENSITIVE = []
11522
+ include Aws::Structure
11523
+ end
11524
+
11525
+ # The summary of the metadata form.
11526
+ #
11527
+ # @!attribute [rw] form_name
11528
+ # The form name of the metadata form.
11529
+ # @return [String]
11530
+ #
11531
+ # @!attribute [rw] type_name
11532
+ # The type name of the metadata form.
11533
+ # @return [String]
11534
+ #
11535
+ # @!attribute [rw] type_revision
11536
+ # The type revision of the metadata form.
11537
+ # @return [String]
11538
+ #
11539
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/MetadataFormSummary AWS API Documentation
11540
+ #
11541
+ class MetadataFormSummary < Struct.new(
11542
+ :form_name,
11543
+ :type_name,
11544
+ :type_revision)
11545
+ SENSITIVE = [:type_name]
11546
+ include Aws::Structure
11547
+ end
11548
+
11093
11549
  # The metadata generation run.
11094
11550
  #
11095
11551
  # @!attribute [rw] created_at
@@ -11885,6 +12341,25 @@ module Aws::DataZone
11885
12341
  include Aws::Structure
11886
12342
  end
11887
12343
 
12344
+ # Specifies projects in which the rule is created.
12345
+ #
12346
+ # @!attribute [rw] selection_mode
12347
+ # The selection mode of the rule.
12348
+ # @return [String]
12349
+ #
12350
+ # @!attribute [rw] specific_projects
12351
+ # The specific projects in which the rule is created.
12352
+ # @return [Array<String>]
12353
+ #
12354
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/ProjectsForRule AWS API Documentation
12355
+ #
12356
+ class ProjectsForRule < Struct.new(
12357
+ :selection_mode,
12358
+ :specific_projects)
12359
+ SENSITIVE = []
12360
+ include Aws::Structure
12361
+ end
12362
+
11888
12363
  # The provisioning configuration of the blueprint.
11889
12364
  #
11890
12365
  # @note ProvisioningConfiguration is a union - when making an API calls you must set exactly one of the members.
@@ -12357,10 +12832,18 @@ module Aws::DataZone
12357
12832
  # subscription request was rejected.
12358
12833
  # @return [String]
12359
12834
  #
12835
+ # @!attribute [rw] existing_subscription_id
12836
+ # The ID of the existing subscription.
12837
+ # @return [String]
12838
+ #
12360
12839
  # @!attribute [rw] id
12361
12840
  # The identifier of the subscription request that was rejected.
12362
12841
  # @return [String]
12363
12842
  #
12843
+ # @!attribute [rw] metadata_forms
12844
+ # Metadata forms included in the subscription request.
12845
+ # @return [Array<Types::FormOutput>]
12846
+ #
12364
12847
  # @!attribute [rw] request_reason
12365
12848
  # The reason for the subscription request.
12366
12849
  # @return [String]
@@ -12396,7 +12879,9 @@ module Aws::DataZone
12396
12879
  :created_by,
12397
12880
  :decision_comment,
12398
12881
  :domain_id,
12882
+ :existing_subscription_id,
12399
12883
  :id,
12884
+ :metadata_forms,
12400
12885
  :request_reason,
12401
12886
  :reviewer_id,
12402
12887
  :status,
@@ -12800,6 +13285,135 @@ module Aws::DataZone
12800
13285
  class Unknown < RowFilterExpression; end
12801
13286
  end
12802
13287
 
13288
+ # The details of a rule.
13289
+ #
13290
+ # @note RuleDetail is a union - when making an API calls you must set exactly one of the members.
13291
+ #
13292
+ # @note RuleDetail is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of RuleDetail corresponding to the set member.
13293
+ #
13294
+ # @!attribute [rw] metadata_form_enforcement_detail
13295
+ # The enforcement detail of the metadata form.
13296
+ # @return [Types::MetadataFormEnforcementDetail]
13297
+ #
13298
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/RuleDetail AWS API Documentation
13299
+ #
13300
+ class RuleDetail < Struct.new(
13301
+ :metadata_form_enforcement_detail,
13302
+ :unknown)
13303
+ SENSITIVE = []
13304
+ include Aws::Structure
13305
+ include Aws::Structure::Union
13306
+
13307
+ class MetadataFormEnforcementDetail < RuleDetail; end
13308
+ class Unknown < RuleDetail; end
13309
+ end
13310
+
13311
+ # The scope of a rule.
13312
+ #
13313
+ # @!attribute [rw] asset_type
13314
+ # The asset type included in the rule scope.
13315
+ # @return [Types::AssetTypesForRule]
13316
+ #
13317
+ # @!attribute [rw] data_product
13318
+ # The data product included in the rule scope.
13319
+ # @return [Boolean]
13320
+ #
13321
+ # @!attribute [rw] project
13322
+ # The project included in the rule scope.
13323
+ # @return [Types::ProjectsForRule]
13324
+ #
13325
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/RuleScope AWS API Documentation
13326
+ #
13327
+ class RuleScope < Struct.new(
13328
+ :asset_type,
13329
+ :data_product,
13330
+ :project)
13331
+ SENSITIVE = []
13332
+ include Aws::Structure
13333
+ end
13334
+
13335
+ # The summary of the rule.
13336
+ #
13337
+ # @!attribute [rw] action
13338
+ # The action of the rule.
13339
+ # @return [String]
13340
+ #
13341
+ # @!attribute [rw] identifier
13342
+ # The ID of the rule.
13343
+ # @return [String]
13344
+ #
13345
+ # @!attribute [rw] last_updated_by
13346
+ # The timestamp at which the rule was last updated.
13347
+ # @return [String]
13348
+ #
13349
+ # @!attribute [rw] name
13350
+ # The name of the rule.
13351
+ # @return [String]
13352
+ #
13353
+ # @!attribute [rw] revision
13354
+ # The revision of the rule.
13355
+ # @return [String]
13356
+ #
13357
+ # @!attribute [rw] rule_type
13358
+ # The type of the rule.
13359
+ # @return [String]
13360
+ #
13361
+ # @!attribute [rw] scope
13362
+ # The scope of the rule.
13363
+ # @return [Types::RuleScope]
13364
+ #
13365
+ # @!attribute [rw] target
13366
+ # The target of the rule.
13367
+ # @return [Types::RuleTarget]
13368
+ #
13369
+ # @!attribute [rw] target_type
13370
+ # The target type of the rule.
13371
+ # @return [String]
13372
+ #
13373
+ # @!attribute [rw] updated_at
13374
+ # The timestamp at which the rule was last updated.
13375
+ # @return [Time]
13376
+ #
13377
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/RuleSummary AWS API Documentation
13378
+ #
13379
+ class RuleSummary < Struct.new(
13380
+ :action,
13381
+ :identifier,
13382
+ :last_updated_by,
13383
+ :name,
13384
+ :revision,
13385
+ :rule_type,
13386
+ :scope,
13387
+ :target,
13388
+ :target_type,
13389
+ :updated_at)
13390
+ SENSITIVE = [:name]
13391
+ include Aws::Structure
13392
+ end
13393
+
13394
+ # The target of the rule.
13395
+ #
13396
+ # @note RuleTarget is a union - when making an API calls you must set exactly one of the members.
13397
+ #
13398
+ # @note RuleTarget is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of RuleTarget corresponding to the set member.
13399
+ #
13400
+ # @!attribute [rw] domain_unit_target
13401
+ # The ID of the domain unit.
13402
+ # @return [Types::DomainUnitTarget]
13403
+ #
13404
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/RuleTarget AWS API Documentation
13405
+ #
13406
+ class RuleTarget < Struct.new(
13407
+ :domain_unit_target,
13408
+ :unknown)
13409
+ SENSITIVE = []
13410
+ include Aws::Structure
13411
+ include Aws::Structure::Union
13412
+
13413
+ class DomainUnitTarget < RuleTarget; end
13414
+ class Unknown < RuleTarget; end
13415
+ end
13416
+
12803
13417
  # The asset statistics from the data source run.
12804
13418
  #
12805
13419
  # @!attribute [rw] added
@@ -14070,10 +14684,18 @@ module Aws::DataZone
14070
14684
  # request exists.
14071
14685
  # @return [String]
14072
14686
  #
14687
+ # @!attribute [rw] existing_subscription_id
14688
+ # The ID of the existing subscription.
14689
+ # @return [String]
14690
+ #
14073
14691
  # @!attribute [rw] id
14074
14692
  # The identifier of the subscription request.
14075
14693
  # @return [String]
14076
14694
  #
14695
+ # @!attribute [rw] metadata_forms_summary
14696
+ # The summary of the metadata forms.
14697
+ # @return [Array<Types::MetadataFormSummary>]
14698
+ #
14077
14699
  # @!attribute [rw] request_reason
14078
14700
  # The reason for the subscription request.
14079
14701
  # @return [String]
@@ -14110,7 +14732,9 @@ module Aws::DataZone
14110
14732
  :created_by,
14111
14733
  :decision_comment,
14112
14734
  :domain_id,
14735
+ :existing_subscription_id,
14113
14736
  :id,
14737
+ :metadata_forms_summary,
14114
14738
  :request_reason,
14115
14739
  :reviewer_id,
14116
14740
  :status,
@@ -15678,6 +16302,120 @@ module Aws::DataZone
15678
16302
  include Aws::Structure
15679
16303
  end
15680
16304
 
16305
+ # @!attribute [rw] description
16306
+ # The description of the rule.
16307
+ # @return [String]
16308
+ #
16309
+ # @!attribute [rw] detail
16310
+ # The detail of the rule.
16311
+ # @return [Types::RuleDetail]
16312
+ #
16313
+ # @!attribute [rw] domain_identifier
16314
+ # The ID of the domain in which a rule is to be updated.
16315
+ # @return [String]
16316
+ #
16317
+ # @!attribute [rw] identifier
16318
+ # The ID of the rule that is to be updated
16319
+ # @return [String]
16320
+ #
16321
+ # @!attribute [rw] include_child_domain_units
16322
+ # Specifies whether to update this rule in the child domain units.
16323
+ # @return [Boolean]
16324
+ #
16325
+ # @!attribute [rw] name
16326
+ # The name of the rule.
16327
+ # @return [String]
16328
+ #
16329
+ # @!attribute [rw] scope
16330
+ # The scrope of the rule.
16331
+ # @return [Types::RuleScope]
16332
+ #
16333
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/UpdateRuleInput AWS API Documentation
16334
+ #
16335
+ class UpdateRuleInput < Struct.new(
16336
+ :description,
16337
+ :detail,
16338
+ :domain_identifier,
16339
+ :identifier,
16340
+ :include_child_domain_units,
16341
+ :name,
16342
+ :scope)
16343
+ SENSITIVE = [:description, :name]
16344
+ include Aws::Structure
16345
+ end
16346
+
16347
+ # @!attribute [rw] action
16348
+ # The action of the rule.
16349
+ # @return [String]
16350
+ #
16351
+ # @!attribute [rw] created_at
16352
+ # The timestamp at which the rule was created.
16353
+ # @return [Time]
16354
+ #
16355
+ # @!attribute [rw] created_by
16356
+ # The user who created the rule.
16357
+ # @return [String]
16358
+ #
16359
+ # @!attribute [rw] description
16360
+ # The description of the rule.
16361
+ # @return [String]
16362
+ #
16363
+ # @!attribute [rw] detail
16364
+ # The detail of the rule.
16365
+ # @return [Types::RuleDetail]
16366
+ #
16367
+ # @!attribute [rw] identifier
16368
+ # The ID of the rule.
16369
+ # @return [String]
16370
+ #
16371
+ # @!attribute [rw] last_updated_by
16372
+ # The timestamp at which the rule was last updated.
16373
+ # @return [String]
16374
+ #
16375
+ # @!attribute [rw] name
16376
+ # The name of the rule.
16377
+ # @return [String]
16378
+ #
16379
+ # @!attribute [rw] revision
16380
+ # The revision of the rule.
16381
+ # @return [String]
16382
+ #
16383
+ # @!attribute [rw] rule_type
16384
+ # The type of the rule.
16385
+ # @return [String]
16386
+ #
16387
+ # @!attribute [rw] scope
16388
+ # The scope of the rule.
16389
+ # @return [Types::RuleScope]
16390
+ #
16391
+ # @!attribute [rw] target
16392
+ # The target of the rule.
16393
+ # @return [Types::RuleTarget]
16394
+ #
16395
+ # @!attribute [rw] updated_at
16396
+ # The timestamp at which the rule was last updated.
16397
+ # @return [Time]
16398
+ #
16399
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/UpdateRuleOutput AWS API Documentation
16400
+ #
16401
+ class UpdateRuleOutput < Struct.new(
16402
+ :action,
16403
+ :created_at,
16404
+ :created_by,
16405
+ :description,
16406
+ :detail,
16407
+ :identifier,
16408
+ :last_updated_by,
16409
+ :name,
16410
+ :revision,
16411
+ :rule_type,
16412
+ :scope,
16413
+ :target,
16414
+ :updated_at)
16415
+ SENSITIVE = [:description, :name]
16416
+ include Aws::Structure
16417
+ end
16418
+
15681
16419
  # @!attribute [rw] asset_identifier
15682
16420
  # The identifier of the asset the subscription grant status of which
15683
16421
  # is to be updated.
@@ -15830,10 +16568,18 @@ module Aws::DataZone
15830
16568
  # request is to be updated.
15831
16569
  # @return [String]
15832
16570
  #
16571
+ # @!attribute [rw] existing_subscription_id
16572
+ # The ID of the existing subscription.
16573
+ # @return [String]
16574
+ #
15833
16575
  # @!attribute [rw] id
15834
16576
  # The identifier of the subscription request that is to be updated.
15835
16577
  # @return [String]
15836
16578
  #
16579
+ # @!attribute [rw] metadata_forms
16580
+ # Metadata forms included in the subscription request.
16581
+ # @return [Array<Types::FormOutput>]
16582
+ #
15837
16583
  # @!attribute [rw] request_reason
15838
16584
  # The reason for the `UpdateSubscriptionRequest` action.
15839
16585
  # @return [String]
@@ -15870,7 +16616,9 @@ module Aws::DataZone
15870
16616
  :created_by,
15871
16617
  :decision_comment,
15872
16618
  :domain_id,
16619
+ :existing_subscription_id,
15873
16620
  :id,
16621
+ :metadata_forms,
15874
16622
  :request_reason,
15875
16623
  :reviewer_id,
15876
16624
  :status,