aws-sdk-datazone 1.19.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.
@@ -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
@@ -581,6 +607,167 @@ module Aws::DataZone
581
607
  req.send_request(options)
582
608
  end
583
609
 
610
+ # Adds the owner of an entity (a domain unit).
611
+ #
612
+ # @option params [String] :client_token
613
+ # A unique, case-sensitive identifier that is provided to ensure the
614
+ # idempotency of the request.
615
+ #
616
+ # **A suitable default value is auto-generated.** You should normally
617
+ # not need to pass this option.**
618
+ #
619
+ # @option params [required, String] :domain_identifier
620
+ # The ID of the domain in which you want to add the entity owner.
621
+ #
622
+ # @option params [required, String] :entity_identifier
623
+ # The ID of the entity to which you want to add an owner.
624
+ #
625
+ # @option params [required, String] :entity_type
626
+ # The type of an entity.
627
+ #
628
+ # @option params [required, Types::OwnerProperties] :owner
629
+ # The owner that you want to add to the entity.
630
+ #
631
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
632
+ #
633
+ # @example Request syntax with placeholder values
634
+ #
635
+ # resp = client.add_entity_owner({
636
+ # client_token: "ClientToken",
637
+ # domain_identifier: "DomainId", # required
638
+ # entity_identifier: "String", # required
639
+ # entity_type: "DOMAIN_UNIT", # required, accepts DOMAIN_UNIT
640
+ # owner: { # required
641
+ # group: {
642
+ # group_identifier: "GroupIdentifier", # required
643
+ # },
644
+ # user: {
645
+ # user_identifier: "UserIdentifier", # required
646
+ # },
647
+ # },
648
+ # })
649
+ #
650
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/AddEntityOwner AWS API Documentation
651
+ #
652
+ # @overload add_entity_owner(params = {})
653
+ # @param [Hash] params ({})
654
+ def add_entity_owner(params = {}, options = {})
655
+ req = build_request(:add_entity_owner, params)
656
+ req.send_request(options)
657
+ end
658
+
659
+ # Adds a policy grant (an authorization policy) to a specified entity,
660
+ # including domain units, environment blueprint configurations, or
661
+ # environment profiles.
662
+ #
663
+ # @option params [String] :client_token
664
+ # A unique, case-sensitive identifier that is provided to ensure the
665
+ # idempotency of the request.
666
+ #
667
+ # **A suitable default value is auto-generated.** You should normally
668
+ # not need to pass this option.**
669
+ #
670
+ # @option params [required, Types::PolicyGrantDetail] :detail
671
+ # The details of the policy grant.
672
+ #
673
+ # @option params [required, String] :domain_identifier
674
+ # The ID of the domain where you want to add a policy grant.
675
+ #
676
+ # @option params [required, String] :entity_identifier
677
+ # The ID of the entity (resource) to which you want to add a policy
678
+ # grant.
679
+ #
680
+ # @option params [required, String] :entity_type
681
+ # The type of entity (resource) to which the grant is added.
682
+ #
683
+ # @option params [required, String] :policy_type
684
+ # The type of policy that you want to grant.
685
+ #
686
+ # @option params [required, Types::PolicyGrantPrincipal] :principal
687
+ # The principal to whom the permissions are granted.
688
+ #
689
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
690
+ #
691
+ # @example Request syntax with placeholder values
692
+ #
693
+ # resp = client.add_policy_grant({
694
+ # client_token: "ClientToken",
695
+ # detail: { # required
696
+ # add_to_project_member_pool: {
697
+ # include_child_domain_units: false,
698
+ # },
699
+ # create_asset_type: {
700
+ # include_child_domain_units: false,
701
+ # },
702
+ # create_domain_unit: {
703
+ # include_child_domain_units: false,
704
+ # },
705
+ # create_environment: {
706
+ # },
707
+ # create_environment_profile: {
708
+ # domain_unit_id: "DomainUnitId",
709
+ # },
710
+ # create_form_type: {
711
+ # include_child_domain_units: false,
712
+ # },
713
+ # create_glossary: {
714
+ # include_child_domain_units: false,
715
+ # },
716
+ # create_project: {
717
+ # include_child_domain_units: false,
718
+ # },
719
+ # delegate_create_environment_profile: {
720
+ # },
721
+ # override_domain_unit_owners: {
722
+ # include_child_domain_units: false,
723
+ # },
724
+ # override_project_owners: {
725
+ # include_child_domain_units: false,
726
+ # },
727
+ # },
728
+ # domain_identifier: "DomainId", # required
729
+ # entity_identifier: "String", # required
730
+ # entity_type: "DOMAIN_UNIT", # required, accepts DOMAIN_UNIT, ENVIRONMENT_BLUEPRINT_CONFIGURATION, ENVIRONMENT_PROFILE
731
+ # policy_type: "CREATE_DOMAIN_UNIT", # required, accepts CREATE_DOMAIN_UNIT, OVERRIDE_DOMAIN_UNIT_OWNERS, ADD_TO_PROJECT_MEMBER_POOL, OVERRIDE_PROJECT_OWNERS, CREATE_GLOSSARY, CREATE_FORM_TYPE, CREATE_ASSET_TYPE, CREATE_PROJECT, CREATE_ENVIRONMENT_PROFILE, DELEGATE_CREATE_ENVIRONMENT_PROFILE, CREATE_ENVIRONMENT
732
+ # principal: { # required
733
+ # domain_unit: {
734
+ # domain_unit_designation: "OWNER", # required, accepts OWNER
735
+ # domain_unit_grant_filter: {
736
+ # all_domain_units_grant_filter: {
737
+ # },
738
+ # },
739
+ # domain_unit_identifier: "DomainUnitId",
740
+ # },
741
+ # group: {
742
+ # group_identifier: "GroupIdentifier",
743
+ # },
744
+ # project: {
745
+ # project_designation: "OWNER", # required, accepts OWNER, CONTRIBUTOR
746
+ # project_grant_filter: {
747
+ # domain_unit_filter: {
748
+ # domain_unit: "DomainUnitId", # required
749
+ # include_child_domain_units: false,
750
+ # },
751
+ # },
752
+ # project_identifier: "ProjectId",
753
+ # },
754
+ # user: {
755
+ # all_users_grant_filter: {
756
+ # },
757
+ # user_identifier: "UserIdentifier",
758
+ # },
759
+ # },
760
+ # })
761
+ #
762
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/AddPolicyGrant AWS API Documentation
763
+ #
764
+ # @overload add_policy_grant(params = {})
765
+ # @param [Hash] params ({})
766
+ def add_policy_grant(params = {}, options = {})
767
+ req = build_request(:add_policy_grant, params)
768
+ req.send_request(options)
769
+ end
770
+
584
771
  # Associates the environment role in Amazon DataZone.
585
772
  #
586
773
  # @option params [required, String] :domain_identifier
@@ -679,6 +866,11 @@ module Aws::DataZone
679
866
  # resp.status #=> String, one of "APPROVED", "REVOKED", "CANCELLED"
680
867
  # resp.subscribed_listing.description #=> String
681
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
682
874
  # resp.subscribed_listing.item.asset_listing.entity_id #=> String
683
875
  # resp.subscribed_listing.item.asset_listing.entity_revision #=> String
684
876
  # resp.subscribed_listing.item.asset_listing.entity_type #=> String
@@ -1696,6 +1888,7 @@ module Aws::DataZone
1696
1888
  # * {Types::CreateDomainOutput#kms_key_identifier #kms_key_identifier} => String
1697
1889
  # * {Types::CreateDomainOutput#name #name} => String
1698
1890
  # * {Types::CreateDomainOutput#portal_url #portal_url} => String
1891
+ # * {Types::CreateDomainOutput#root_domain_unit_id #root_domain_unit_id} => String
1699
1892
  # * {Types::CreateDomainOutput#single_sign_on #single_sign_on} => Types::SingleSignOn
1700
1893
  # * {Types::CreateDomainOutput#status #status} => String
1701
1894
  # * {Types::CreateDomainOutput#tags #tags} => Hash&lt;String,String&gt;
@@ -1726,6 +1919,7 @@ module Aws::DataZone
1726
1919
  # resp.kms_key_identifier #=> String
1727
1920
  # resp.name #=> String
1728
1921
  # resp.portal_url #=> String
1922
+ # resp.root_domain_unit_id #=> String
1729
1923
  # resp.single_sign_on.type #=> String, one of "IAM_IDC", "DISABLED"
1730
1924
  # resp.single_sign_on.user_assignment #=> String, one of "AUTOMATIC", "MANUAL"
1731
1925
  # resp.status #=> String, one of "CREATING", "AVAILABLE", "CREATION_FAILED", "DELETING", "DELETED", "DELETION_FAILED"
@@ -1741,6 +1935,73 @@ module Aws::DataZone
1741
1935
  req.send_request(options)
1742
1936
  end
1743
1937
 
1938
+ # Creates a domain unit in Amazon DataZone.
1939
+ #
1940
+ # @option params [String] :client_token
1941
+ # A unique, case-sensitive identifier that is provided to ensure the
1942
+ # idempotency of the request.
1943
+ #
1944
+ # **A suitable default value is auto-generated.** You should normally
1945
+ # not need to pass this option.**
1946
+ #
1947
+ # @option params [String] :description
1948
+ # The description of the domain unit.
1949
+ #
1950
+ # @option params [required, String] :domain_identifier
1951
+ # The ID of the domain where you want to crate a domain unit.
1952
+ #
1953
+ # @option params [required, String] :name
1954
+ # The name of the domain unit.
1955
+ #
1956
+ # @option params [required, String] :parent_domain_unit_identifier
1957
+ # The ID of the parent domain unit.
1958
+ #
1959
+ # @return [Types::CreateDomainUnitOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1960
+ #
1961
+ # * {Types::CreateDomainUnitOutput#ancestor_domain_unit_ids #ancestor_domain_unit_ids} => Array&lt;String&gt;
1962
+ # * {Types::CreateDomainUnitOutput#created_at #created_at} => Time
1963
+ # * {Types::CreateDomainUnitOutput#created_by #created_by} => String
1964
+ # * {Types::CreateDomainUnitOutput#description #description} => String
1965
+ # * {Types::CreateDomainUnitOutput#domain_id #domain_id} => String
1966
+ # * {Types::CreateDomainUnitOutput#id #id} => String
1967
+ # * {Types::CreateDomainUnitOutput#name #name} => String
1968
+ # * {Types::CreateDomainUnitOutput#owners #owners} => Array&lt;Types::DomainUnitOwnerProperties&gt;
1969
+ # * {Types::CreateDomainUnitOutput#parent_domain_unit_id #parent_domain_unit_id} => String
1970
+ #
1971
+ # @example Request syntax with placeholder values
1972
+ #
1973
+ # resp = client.create_domain_unit({
1974
+ # client_token: "ClientToken",
1975
+ # description: "DomainUnitDescription",
1976
+ # domain_identifier: "DomainId", # required
1977
+ # name: "DomainUnitName", # required
1978
+ # parent_domain_unit_identifier: "DomainUnitId", # required
1979
+ # })
1980
+ #
1981
+ # @example Response structure
1982
+ #
1983
+ # resp.ancestor_domain_unit_ids #=> Array
1984
+ # resp.ancestor_domain_unit_ids[0] #=> String
1985
+ # resp.created_at #=> Time
1986
+ # resp.created_by #=> String
1987
+ # resp.description #=> String
1988
+ # resp.domain_id #=> String
1989
+ # resp.id #=> String
1990
+ # resp.name #=> String
1991
+ # resp.owners #=> Array
1992
+ # resp.owners[0].group.group_id #=> String
1993
+ # resp.owners[0].user.user_id #=> String
1994
+ # resp.parent_domain_unit_id #=> String
1995
+ #
1996
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/CreateDomainUnit AWS API Documentation
1997
+ #
1998
+ # @overload create_domain_unit(params = {})
1999
+ # @param [Hash] params ({})
2000
+ def create_domain_unit(params = {}, options = {})
2001
+ req = build_request(:create_domain_unit, params)
2002
+ req.send_request(options)
2003
+ end
2004
+
1744
2005
  # Create an Amazon DataZone environment.
1745
2006
  #
1746
2007
  # @option params [String] :description
@@ -2353,6 +2614,11 @@ module Aws::DataZone
2353
2614
  # @option params [required, String] :domain_identifier
2354
2615
  # The ID of the Amazon DataZone domain in which this project is created.
2355
2616
  #
2617
+ # @option params [String] :domain_unit_id
2618
+ # The ID of the domain unit. This parameter is not required and if it is
2619
+ # not specified, then the project is created at the root domain unit
2620
+ # level.
2621
+ #
2356
2622
  # @option params [Array<String>] :glossary_terms
2357
2623
  # The glossary terms that can be used in this Amazon DataZone project.
2358
2624
  #
@@ -2365,6 +2631,7 @@ module Aws::DataZone
2365
2631
  # * {Types::CreateProjectOutput#created_by #created_by} => String
2366
2632
  # * {Types::CreateProjectOutput#description #description} => String
2367
2633
  # * {Types::CreateProjectOutput#domain_id #domain_id} => String
2634
+ # * {Types::CreateProjectOutput#domain_unit_id #domain_unit_id} => String
2368
2635
  # * {Types::CreateProjectOutput#failure_reasons #failure_reasons} => Array&lt;Types::ProjectDeletionError&gt;
2369
2636
  # * {Types::CreateProjectOutput#glossary_terms #glossary_terms} => Array&lt;String&gt;
2370
2637
  # * {Types::CreateProjectOutput#id #id} => String
@@ -2377,6 +2644,7 @@ module Aws::DataZone
2377
2644
  # resp = client.create_project({
2378
2645
  # description: "Description",
2379
2646
  # domain_identifier: "DomainId", # required
2647
+ # domain_unit_id: "DomainUnitId",
2380
2648
  # glossary_terms: ["GlossaryTermId"],
2381
2649
  # name: "ProjectName", # required
2382
2650
  # })
@@ -2387,6 +2655,7 @@ module Aws::DataZone
2387
2655
  # resp.created_by #=> String
2388
2656
  # resp.description #=> String
2389
2657
  # resp.domain_id #=> String
2658
+ # resp.domain_unit_id #=> String
2390
2659
  # resp.failure_reasons #=> Array
2391
2660
  # resp.failure_reasons[0].code #=> String
2392
2661
  # resp.failure_reasons[0].message #=> String
@@ -2510,6 +2779,11 @@ module Aws::DataZone
2510
2779
  # resp.assets #=> Array
2511
2780
  # resp.assets[0].asset_id #=> String
2512
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
2513
2787
  # resp.assets[0].failure_cause.message #=> String
2514
2788
  # resp.assets[0].failure_timestamp #=> Time
2515
2789
  # resp.assets[0].granted_timestamp #=> Time
@@ -2607,6 +2881,11 @@ module Aws::DataZone
2607
2881
  # resp.subscribed_listings #=> Array
2608
2882
  # resp.subscribed_listings[0].description #=> String
2609
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
2610
2889
  # resp.subscribed_listings[0].item.asset_listing.entity_id #=> String
2611
2890
  # resp.subscribed_listings[0].item.asset_listing.entity_revision #=> String
2612
2891
  # resp.subscribed_listings[0].item.asset_listing.entity_type #=> String
@@ -3081,6 +3360,32 @@ module Aws::DataZone
3081
3360
  req.send_request(options)
3082
3361
  end
3083
3362
 
3363
+ # Deletes a domain unit.
3364
+ #
3365
+ # @option params [required, String] :domain_identifier
3366
+ # The ID of the domain where you want to delete a domain unit.
3367
+ #
3368
+ # @option params [required, String] :identifier
3369
+ # The ID of the domain unit that you want to delete.
3370
+ #
3371
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3372
+ #
3373
+ # @example Request syntax with placeholder values
3374
+ #
3375
+ # resp = client.delete_domain_unit({
3376
+ # domain_identifier: "DomainId", # required
3377
+ # identifier: "DomainUnitId", # required
3378
+ # })
3379
+ #
3380
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/DeleteDomainUnit AWS API Documentation
3381
+ #
3382
+ # @overload delete_domain_unit(params = {})
3383
+ # @param [Hash] params ({})
3384
+ def delete_domain_unit(params = {}, options = {})
3385
+ req = build_request(:delete_domain_unit, params)
3386
+ req.send_request(options)
3387
+ end
3388
+
3084
3389
  # Deletes an environment in Amazon DataZone.
3085
3390
  #
3086
3391
  # @option params [required, String] :domain_identifier
@@ -3402,6 +3707,11 @@ module Aws::DataZone
3402
3707
  # resp.assets #=> Array
3403
3708
  # resp.assets[0].asset_id #=> String
3404
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
3405
3715
  # resp.assets[0].failure_cause.message #=> String
3406
3716
  # resp.assets[0].failure_timestamp #=> Time
3407
3717
  # resp.assets[0].granted_timestamp #=> Time
@@ -4055,6 +4365,7 @@ module Aws::DataZone
4055
4365
  # * {Types::GetDomainOutput#last_updated_at #last_updated_at} => Time
4056
4366
  # * {Types::GetDomainOutput#name #name} => String
4057
4367
  # * {Types::GetDomainOutput#portal_url #portal_url} => String
4368
+ # * {Types::GetDomainOutput#root_domain_unit_id #root_domain_unit_id} => String
4058
4369
  # * {Types::GetDomainOutput#single_sign_on #single_sign_on} => Types::SingleSignOn
4059
4370
  # * {Types::GetDomainOutput#status #status} => String
4060
4371
  # * {Types::GetDomainOutput#tags #tags} => Hash&lt;String,String&gt;
@@ -4076,6 +4387,7 @@ module Aws::DataZone
4076
4387
  # resp.last_updated_at #=> Time
4077
4388
  # resp.name #=> String
4078
4389
  # resp.portal_url #=> String
4390
+ # resp.root_domain_unit_id #=> String
4079
4391
  # resp.single_sign_on.type #=> String, one of "IAM_IDC", "DISABLED"
4080
4392
  # resp.single_sign_on.user_assignment #=> String, one of "AUTOMATIC", "MANUAL"
4081
4393
  # resp.status #=> String, one of "CREATING", "AVAILABLE", "CREATION_FAILED", "DELETING", "DELETED", "DELETION_FAILED"
@@ -4091,6 +4403,58 @@ module Aws::DataZone
4091
4403
  req.send_request(options)
4092
4404
  end
4093
4405
 
4406
+ # Gets the details of the specified domain unit.
4407
+ #
4408
+ # @option params [required, String] :domain_identifier
4409
+ # The ID of the domain where you want to get a domain unit.
4410
+ #
4411
+ # @option params [required, String] :identifier
4412
+ # The identifier of the domain unit that you want to get.
4413
+ #
4414
+ # @return [Types::GetDomainUnitOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4415
+ #
4416
+ # * {Types::GetDomainUnitOutput#created_at #created_at} => Time
4417
+ # * {Types::GetDomainUnitOutput#created_by #created_by} => String
4418
+ # * {Types::GetDomainUnitOutput#description #description} => String
4419
+ # * {Types::GetDomainUnitOutput#domain_id #domain_id} => String
4420
+ # * {Types::GetDomainUnitOutput#id #id} => String
4421
+ # * {Types::GetDomainUnitOutput#last_updated_at #last_updated_at} => Time
4422
+ # * {Types::GetDomainUnitOutput#last_updated_by #last_updated_by} => String
4423
+ # * {Types::GetDomainUnitOutput#name #name} => String
4424
+ # * {Types::GetDomainUnitOutput#owners #owners} => Array&lt;Types::DomainUnitOwnerProperties&gt;
4425
+ # * {Types::GetDomainUnitOutput#parent_domain_unit_id #parent_domain_unit_id} => String
4426
+ #
4427
+ # @example Request syntax with placeholder values
4428
+ #
4429
+ # resp = client.get_domain_unit({
4430
+ # domain_identifier: "DomainId", # required
4431
+ # identifier: "DomainUnitId", # required
4432
+ # })
4433
+ #
4434
+ # @example Response structure
4435
+ #
4436
+ # resp.created_at #=> Time
4437
+ # resp.created_by #=> String
4438
+ # resp.description #=> String
4439
+ # resp.domain_id #=> String
4440
+ # resp.id #=> String
4441
+ # resp.last_updated_at #=> Time
4442
+ # resp.last_updated_by #=> String
4443
+ # resp.name #=> String
4444
+ # resp.owners #=> Array
4445
+ # resp.owners[0].group.group_id #=> String
4446
+ # resp.owners[0].user.user_id #=> String
4447
+ # resp.parent_domain_unit_id #=> String
4448
+ #
4449
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/GetDomainUnit AWS API Documentation
4450
+ #
4451
+ # @overload get_domain_unit(params = {})
4452
+ # @param [Hash] params ({})
4453
+ def get_domain_unit(params = {}, options = {})
4454
+ req = build_request(:get_domain_unit, params)
4455
+ req.send_request(options)
4456
+ end
4457
+
4094
4458
  # Gets an Amazon DataZone environment.
4095
4459
  #
4096
4460
  # @option params [required, String] :domain_identifier
@@ -4914,6 +5278,7 @@ module Aws::DataZone
4914
5278
  # * {Types::GetProjectOutput#created_by #created_by} => String
4915
5279
  # * {Types::GetProjectOutput#description #description} => String
4916
5280
  # * {Types::GetProjectOutput#domain_id #domain_id} => String
5281
+ # * {Types::GetProjectOutput#domain_unit_id #domain_unit_id} => String
4917
5282
  # * {Types::GetProjectOutput#failure_reasons #failure_reasons} => Array&lt;Types::ProjectDeletionError&gt;
4918
5283
  # * {Types::GetProjectOutput#glossary_terms #glossary_terms} => Array&lt;String&gt;
4919
5284
  # * {Types::GetProjectOutput#id #id} => String
@@ -4934,6 +5299,7 @@ module Aws::DataZone
4934
5299
  # resp.created_by #=> String
4935
5300
  # resp.description #=> String
4936
5301
  # resp.domain_id #=> String
5302
+ # resp.domain_unit_id #=> String
4937
5303
  # resp.failure_reasons #=> Array
4938
5304
  # resp.failure_reasons[0].code #=> String
4939
5305
  # resp.failure_reasons[0].message #=> String
@@ -4992,6 +5358,11 @@ module Aws::DataZone
4992
5358
  # resp.status #=> String, one of "APPROVED", "REVOKED", "CANCELLED"
4993
5359
  # resp.subscribed_listing.description #=> String
4994
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
4995
5366
  # resp.subscribed_listing.item.asset_listing.entity_id #=> String
4996
5367
  # resp.subscribed_listing.item.asset_listing.entity_revision #=> String
4997
5368
  # resp.subscribed_listing.item.asset_listing.entity_type #=> String
@@ -5064,6 +5435,11 @@ module Aws::DataZone
5064
5435
  # resp.assets #=> Array
5065
5436
  # resp.assets[0].asset_id #=> String
5066
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
5067
5443
  # resp.assets[0].failure_cause.message #=> String
5068
5444
  # resp.assets[0].failure_timestamp #=> Time
5069
5445
  # resp.assets[0].granted_timestamp #=> Time
@@ -5135,6 +5511,11 @@ module Aws::DataZone
5135
5511
  # resp.subscribed_listings #=> Array
5136
5512
  # resp.subscribed_listings[0].description #=> String
5137
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
5138
5519
  # resp.subscribed_listings[0].item.asset_listing.entity_id #=> String
5139
5520
  # resp.subscribed_listings[0].item.asset_listing.entity_revision #=> String
5140
5521
  # resp.subscribed_listings[0].item.asset_listing.entity_type #=> String
@@ -5764,6 +6145,62 @@ module Aws::DataZone
5764
6145
  req.send_request(options)
5765
6146
  end
5766
6147
 
6148
+ # Lists child domain units for the specified parent domain unit.
6149
+ #
6150
+ # @option params [required, String] :domain_identifier
6151
+ # The ID of the domain in which you want to list domain units for a
6152
+ # parent domain unit.
6153
+ #
6154
+ # @option params [Integer] :max_results
6155
+ # The maximum number of domain units to return in a single call to
6156
+ # ListDomainUnitsForParent. When the number of domain units to be listed
6157
+ # is greater than the value of MaxResults, the response contains a
6158
+ # NextToken value that you can use in a subsequent call to
6159
+ # ListDomainUnitsForParent to list the next set of domain units.
6160
+ #
6161
+ # @option params [String] :next_token
6162
+ # When the number of domain units is greater than the default value for
6163
+ # the MaxResults parameter, or if you explicitly specify a value for
6164
+ # MaxResults that is less than the number of domain units, the response
6165
+ # includes a pagination token named NextToken. You can specify this
6166
+ # NextToken value in a subsequent call to ListDomainUnitsForParent to
6167
+ # list the next set of domain units.
6168
+ #
6169
+ # @option params [required, String] :parent_domain_unit_identifier
6170
+ # The ID of the parent domain unit.
6171
+ #
6172
+ # @return [Types::ListDomainUnitsForParentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6173
+ #
6174
+ # * {Types::ListDomainUnitsForParentOutput#items #items} => Array&lt;Types::DomainUnitSummary&gt;
6175
+ # * {Types::ListDomainUnitsForParentOutput#next_token #next_token} => String
6176
+ #
6177
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6178
+ #
6179
+ # @example Request syntax with placeholder values
6180
+ #
6181
+ # resp = client.list_domain_units_for_parent({
6182
+ # domain_identifier: "DomainId", # required
6183
+ # max_results: 1,
6184
+ # next_token: "PaginationToken",
6185
+ # parent_domain_unit_identifier: "DomainUnitId", # required
6186
+ # })
6187
+ #
6188
+ # @example Response structure
6189
+ #
6190
+ # resp.items #=> Array
6191
+ # resp.items[0].id #=> String
6192
+ # resp.items[0].name #=> String
6193
+ # resp.next_token #=> String
6194
+ #
6195
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/ListDomainUnitsForParent AWS API Documentation
6196
+ #
6197
+ # @overload list_domain_units_for_parent(params = {})
6198
+ # @param [Hash] params ({})
6199
+ def list_domain_units_for_parent(params = {}, options = {})
6200
+ req = build_request(:list_domain_units_for_parent, params)
6201
+ req.send_request(options)
6202
+ end
6203
+
5767
6204
  # Lists Amazon DataZone domains.
5768
6205
  #
5769
6206
  # @option params [Integer] :max_results
@@ -5822,6 +6259,65 @@ module Aws::DataZone
5822
6259
  req.send_request(options)
5823
6260
  end
5824
6261
 
6262
+ # Lists the entity (domain units) owners.
6263
+ #
6264
+ # @option params [required, String] :domain_identifier
6265
+ # The ID of the domain where you want to list entity owners.
6266
+ #
6267
+ # @option params [required, String] :entity_identifier
6268
+ # The ID of the entity that you want to list.
6269
+ #
6270
+ # @option params [required, String] :entity_type
6271
+ # The type of the entity that you want to list.
6272
+ #
6273
+ # @option params [Integer] :max_results
6274
+ # The maximum number of entities to return in a single call to
6275
+ # `ListEntityOwners`. When the number of entities to be listed is
6276
+ # greater than the value of `MaxResults`, the response contains a
6277
+ # `NextToken` value that you can use in a subsequent call to
6278
+ # `ListEntityOwners` to list the next set of entities.
6279
+ #
6280
+ # @option params [String] :next_token
6281
+ # When the number of entities is greater than the default value for the
6282
+ # `MaxResults` parameter, or if you explicitly specify a value for
6283
+ # `MaxResults` that is less than the number of entities, the response
6284
+ # includes a pagination token named `NextToken`. You can specify this
6285
+ # `NextToken` value in a subsequent call to `ListEntityOwners` to list
6286
+ # the next set of entities.
6287
+ #
6288
+ # @return [Types::ListEntityOwnersOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6289
+ #
6290
+ # * {Types::ListEntityOwnersOutput#next_token #next_token} => String
6291
+ # * {Types::ListEntityOwnersOutput#owners #owners} => Array&lt;Types::OwnerPropertiesOutput&gt;
6292
+ #
6293
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6294
+ #
6295
+ # @example Request syntax with placeholder values
6296
+ #
6297
+ # resp = client.list_entity_owners({
6298
+ # domain_identifier: "DomainId", # required
6299
+ # entity_identifier: "String", # required
6300
+ # entity_type: "DOMAIN_UNIT", # required, accepts DOMAIN_UNIT
6301
+ # max_results: 1,
6302
+ # next_token: "PaginationToken",
6303
+ # })
6304
+ #
6305
+ # @example Response structure
6306
+ #
6307
+ # resp.next_token #=> String
6308
+ # resp.owners #=> Array
6309
+ # resp.owners[0].group.group_id #=> String
6310
+ # resp.owners[0].user.user_id #=> String
6311
+ #
6312
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/ListEntityOwners AWS API Documentation
6313
+ #
6314
+ # @overload list_entity_owners(params = {})
6315
+ # @param [Hash] params ({})
6316
+ def list_entity_owners(params = {}, options = {})
6317
+ req = build_request(:list_entity_owners, params)
6318
+ req.send_request(options)
6319
+ end
6320
+
5825
6321
  # Lists existing environment actions.
5826
6322
  #
5827
6323
  # @option params [required, String] :domain_identifier
@@ -6434,6 +6930,86 @@ module Aws::DataZone
6434
6930
  req.send_request(options)
6435
6931
  end
6436
6932
 
6933
+ # Lists policy grants.
6934
+ #
6935
+ # @option params [required, String] :domain_identifier
6936
+ # The ID of the domain where you want to list policy grants.
6937
+ #
6938
+ # @option params [required, String] :entity_identifier
6939
+ # The ID of the entity for which you want to list policy grants.
6940
+ #
6941
+ # @option params [required, String] :entity_type
6942
+ # The type of entity for which you want to list policy grants.
6943
+ #
6944
+ # @option params [Integer] :max_results
6945
+ # The maximum number of grants to return in a single call to
6946
+ # `ListPolicyGrants`. When the number of grants to be listed is greater
6947
+ # than the value of `MaxResults`, the response contains a `NextToken`
6948
+ # value that you can use in a subsequent call to `ListPolicyGrants` to
6949
+ # list the next set of grants.
6950
+ #
6951
+ # @option params [String] :next_token
6952
+ # When the number of grants is greater than the default value for the
6953
+ # `MaxResults` parameter, or if you explicitly specify a value for
6954
+ # `MaxResults` that is less than the number of grants, the response
6955
+ # includes a pagination token named `NextToken`. You can specify this
6956
+ # `NextToken` value in a subsequent call to `ListPolicyGrants` to list
6957
+ # the next set of grants.
6958
+ #
6959
+ # @option params [required, String] :policy_type
6960
+ # The type of policy that you want to list.
6961
+ #
6962
+ # @return [Types::ListPolicyGrantsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6963
+ #
6964
+ # * {Types::ListPolicyGrantsOutput#grant_list #grant_list} => Array&lt;Types::PolicyGrantMember&gt;
6965
+ # * {Types::ListPolicyGrantsOutput#next_token #next_token} => String
6966
+ #
6967
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6968
+ #
6969
+ # @example Request syntax with placeholder values
6970
+ #
6971
+ # resp = client.list_policy_grants({
6972
+ # domain_identifier: "DomainId", # required
6973
+ # entity_identifier: "String", # required
6974
+ # entity_type: "DOMAIN_UNIT", # required, accepts DOMAIN_UNIT, ENVIRONMENT_BLUEPRINT_CONFIGURATION, ENVIRONMENT_PROFILE
6975
+ # max_results: 1,
6976
+ # next_token: "PaginationToken",
6977
+ # policy_type: "CREATE_DOMAIN_UNIT", # required, accepts CREATE_DOMAIN_UNIT, OVERRIDE_DOMAIN_UNIT_OWNERS, ADD_TO_PROJECT_MEMBER_POOL, OVERRIDE_PROJECT_OWNERS, CREATE_GLOSSARY, CREATE_FORM_TYPE, CREATE_ASSET_TYPE, CREATE_PROJECT, CREATE_ENVIRONMENT_PROFILE, DELEGATE_CREATE_ENVIRONMENT_PROFILE, CREATE_ENVIRONMENT
6978
+ # })
6979
+ #
6980
+ # @example Response structure
6981
+ #
6982
+ # resp.grant_list #=> Array
6983
+ # resp.grant_list[0].created_at #=> Time
6984
+ # resp.grant_list[0].created_by #=> String
6985
+ # resp.grant_list[0].detail.add_to_project_member_pool.include_child_domain_units #=> Boolean
6986
+ # resp.grant_list[0].detail.create_asset_type.include_child_domain_units #=> Boolean
6987
+ # resp.grant_list[0].detail.create_domain_unit.include_child_domain_units #=> Boolean
6988
+ # resp.grant_list[0].detail.create_environment_profile.domain_unit_id #=> String
6989
+ # resp.grant_list[0].detail.create_form_type.include_child_domain_units #=> Boolean
6990
+ # resp.grant_list[0].detail.create_glossary.include_child_domain_units #=> Boolean
6991
+ # resp.grant_list[0].detail.create_project.include_child_domain_units #=> Boolean
6992
+ # resp.grant_list[0].detail.override_domain_unit_owners.include_child_domain_units #=> Boolean
6993
+ # resp.grant_list[0].detail.override_project_owners.include_child_domain_units #=> Boolean
6994
+ # resp.grant_list[0].principal.domain_unit.domain_unit_designation #=> String, one of "OWNER"
6995
+ # resp.grant_list[0].principal.domain_unit.domain_unit_identifier #=> String
6996
+ # resp.grant_list[0].principal.group.group_identifier #=> String
6997
+ # resp.grant_list[0].principal.project.project_designation #=> String, one of "OWNER", "CONTRIBUTOR"
6998
+ # resp.grant_list[0].principal.project.project_grant_filter.domain_unit_filter.domain_unit #=> String
6999
+ # resp.grant_list[0].principal.project.project_grant_filter.domain_unit_filter.include_child_domain_units #=> Boolean
7000
+ # resp.grant_list[0].principal.project.project_identifier #=> String
7001
+ # resp.grant_list[0].principal.user.user_identifier #=> String
7002
+ # resp.next_token #=> String
7003
+ #
7004
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/ListPolicyGrants AWS API Documentation
7005
+ #
7006
+ # @overload list_policy_grants(params = {})
7007
+ # @param [Hash] params ({})
7008
+ def list_policy_grants(params = {}, options = {})
7009
+ req = build_request(:list_policy_grants, params)
7010
+ req.send_request(options)
7011
+ end
7012
+
6437
7013
  # Lists all members of the specified project.
6438
7014
  #
6439
7015
  # @option params [required, String] :domain_identifier
@@ -6553,6 +7129,7 @@ module Aws::DataZone
6553
7129
  # resp.items[0].created_by #=> String
6554
7130
  # resp.items[0].description #=> String
6555
7131
  # resp.items[0].domain_id #=> String
7132
+ # resp.items[0].domain_unit_id #=> String
6556
7133
  # resp.items[0].failure_reasons #=> Array
6557
7134
  # resp.items[0].failure_reasons[0].code #=> String
6558
7135
  # resp.items[0].failure_reasons[0].message #=> String
@@ -6640,6 +7217,11 @@ module Aws::DataZone
6640
7217
  # resp.items[0].assets #=> Array
6641
7218
  # resp.items[0].assets[0].asset_id #=> String
6642
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
6643
7225
  # resp.items[0].assets[0].failure_cause.message #=> String
6644
7226
  # resp.items[0].assets[0].failure_timestamp #=> Time
6645
7227
  # resp.items[0].assets[0].granted_timestamp #=> Time
@@ -6747,6 +7329,11 @@ module Aws::DataZone
6747
7329
  # resp.items[0].subscribed_listings #=> Array
6748
7330
  # resp.items[0].subscribed_listings[0].description #=> String
6749
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
6750
7337
  # resp.items[0].subscribed_listings[0].item.asset_listing.entity_id #=> String
6751
7338
  # resp.items[0].subscribed_listings[0].item.asset_listing.entity_revision #=> String
6752
7339
  # resp.items[0].subscribed_listings[0].item.asset_listing.entity_type #=> String
@@ -6952,6 +7539,11 @@ module Aws::DataZone
6952
7539
  # resp.items[0].status #=> String, one of "APPROVED", "REVOKED", "CANCELLED"
6953
7540
  # resp.items[0].subscribed_listing.description #=> String
6954
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
6955
7547
  # resp.items[0].subscribed_listing.item.asset_listing.entity_id #=> String
6956
7548
  # resp.items[0].subscribed_listing.item.asset_listing.entity_revision #=> String
6957
7549
  # resp.items[0].subscribed_listing.item.asset_listing.entity_type #=> String
@@ -7403,6 +7995,11 @@ module Aws::DataZone
7403
7995
  # resp.subscribed_listings #=> Array
7404
7996
  # resp.subscribed_listings[0].description #=> String
7405
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
7406
8003
  # resp.subscribed_listings[0].item.asset_listing.entity_id #=> String
7407
8004
  # resp.subscribed_listings[0].item.asset_listing.entity_revision #=> String
7408
8005
  # resp.subscribed_listings[0].item.asset_listing.entity_type #=> String
@@ -7440,6 +8037,128 @@ module Aws::DataZone
7440
8037
  req.send_request(options)
7441
8038
  end
7442
8039
 
8040
+ # Removes an owner from an entity.
8041
+ #
8042
+ # @option params [String] :client_token
8043
+ # A unique, case-sensitive identifier that is provided to ensure the
8044
+ # idempotency of the request.
8045
+ #
8046
+ # **A suitable default value is auto-generated.** You should normally
8047
+ # not need to pass this option.**
8048
+ #
8049
+ # @option params [required, String] :domain_identifier
8050
+ # The ID of the domain where you want to remove an owner from an entity.
8051
+ #
8052
+ # @option params [required, String] :entity_identifier
8053
+ # The ID of the entity from which you want to remove an owner.
8054
+ #
8055
+ # @option params [required, String] :entity_type
8056
+ # The type of the entity from which you want to remove an owner.
8057
+ #
8058
+ # @option params [required, Types::OwnerProperties] :owner
8059
+ # The owner that you want to remove from an entity.
8060
+ #
8061
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
8062
+ #
8063
+ # @example Request syntax with placeholder values
8064
+ #
8065
+ # resp = client.remove_entity_owner({
8066
+ # client_token: "ClientToken",
8067
+ # domain_identifier: "DomainId", # required
8068
+ # entity_identifier: "String", # required
8069
+ # entity_type: "DOMAIN_UNIT", # required, accepts DOMAIN_UNIT
8070
+ # owner: { # required
8071
+ # group: {
8072
+ # group_identifier: "GroupIdentifier", # required
8073
+ # },
8074
+ # user: {
8075
+ # user_identifier: "UserIdentifier", # required
8076
+ # },
8077
+ # },
8078
+ # })
8079
+ #
8080
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/RemoveEntityOwner AWS API Documentation
8081
+ #
8082
+ # @overload remove_entity_owner(params = {})
8083
+ # @param [Hash] params ({})
8084
+ def remove_entity_owner(params = {}, options = {})
8085
+ req = build_request(:remove_entity_owner, params)
8086
+ req.send_request(options)
8087
+ end
8088
+
8089
+ # Removes a policy grant.
8090
+ #
8091
+ # @option params [String] :client_token
8092
+ # A unique, case-sensitive identifier that is provided to ensure the
8093
+ # idempotency of the request.
8094
+ #
8095
+ # **A suitable default value is auto-generated.** You should normally
8096
+ # not need to pass this option.**
8097
+ #
8098
+ # @option params [required, String] :domain_identifier
8099
+ # The ID of the domain where you want to remove a policy grant.
8100
+ #
8101
+ # @option params [required, String] :entity_identifier
8102
+ # The ID of the entity from which you want to remove a policy grant.
8103
+ #
8104
+ # @option params [required, String] :entity_type
8105
+ # The type of the entity from which you want to remove a policy grant.
8106
+ #
8107
+ # @option params [required, String] :policy_type
8108
+ # The type of the policy that you want to remove.
8109
+ #
8110
+ # @option params [required, Types::PolicyGrantPrincipal] :principal
8111
+ # The principal from which you want to remove a policy grant.
8112
+ #
8113
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
8114
+ #
8115
+ # @example Request syntax with placeholder values
8116
+ #
8117
+ # resp = client.remove_policy_grant({
8118
+ # client_token: "ClientToken",
8119
+ # domain_identifier: "DomainId", # required
8120
+ # entity_identifier: "String", # required
8121
+ # entity_type: "DOMAIN_UNIT", # required, accepts DOMAIN_UNIT, ENVIRONMENT_BLUEPRINT_CONFIGURATION, ENVIRONMENT_PROFILE
8122
+ # policy_type: "CREATE_DOMAIN_UNIT", # required, accepts CREATE_DOMAIN_UNIT, OVERRIDE_DOMAIN_UNIT_OWNERS, ADD_TO_PROJECT_MEMBER_POOL, OVERRIDE_PROJECT_OWNERS, CREATE_GLOSSARY, CREATE_FORM_TYPE, CREATE_ASSET_TYPE, CREATE_PROJECT, CREATE_ENVIRONMENT_PROFILE, DELEGATE_CREATE_ENVIRONMENT_PROFILE, CREATE_ENVIRONMENT
8123
+ # principal: { # required
8124
+ # domain_unit: {
8125
+ # domain_unit_designation: "OWNER", # required, accepts OWNER
8126
+ # domain_unit_grant_filter: {
8127
+ # all_domain_units_grant_filter: {
8128
+ # },
8129
+ # },
8130
+ # domain_unit_identifier: "DomainUnitId",
8131
+ # },
8132
+ # group: {
8133
+ # group_identifier: "GroupIdentifier",
8134
+ # },
8135
+ # project: {
8136
+ # project_designation: "OWNER", # required, accepts OWNER, CONTRIBUTOR
8137
+ # project_grant_filter: {
8138
+ # domain_unit_filter: {
8139
+ # domain_unit: "DomainUnitId", # required
8140
+ # include_child_domain_units: false,
8141
+ # },
8142
+ # },
8143
+ # project_identifier: "ProjectId",
8144
+ # },
8145
+ # user: {
8146
+ # all_users_grant_filter: {
8147
+ # },
8148
+ # user_identifier: "UserIdentifier",
8149
+ # },
8150
+ # },
8151
+ # })
8152
+ #
8153
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/RemovePolicyGrant AWS API Documentation
8154
+ #
8155
+ # @overload remove_policy_grant(params = {})
8156
+ # @param [Hash] params ({})
8157
+ def remove_policy_grant(params = {}, options = {})
8158
+ req = build_request(:remove_policy_grant, params)
8159
+ req.send_request(options)
8160
+ end
8161
+
7443
8162
  # Revokes a specified subscription in Amazon DataZone.
7444
8163
  #
7445
8164
  # @option params [required, String] :domain_identifier
@@ -7485,6 +8204,11 @@ module Aws::DataZone
7485
8204
  # resp.status #=> String, one of "APPROVED", "REVOKED", "CANCELLED"
7486
8205
  # resp.subscribed_listing.description #=> String
7487
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
7488
8212
  # resp.subscribed_listing.item.asset_listing.entity_id #=> String
7489
8213
  # resp.subscribed_listing.item.asset_listing.entity_revision #=> String
7490
8214
  # resp.subscribed_listing.item.asset_listing.entity_type #=> String
@@ -8690,6 +9414,7 @@ module Aws::DataZone
8690
9414
  # * {Types::UpdateDomainOutput#id #id} => String
8691
9415
  # * {Types::UpdateDomainOutput#last_updated_at #last_updated_at} => Time
8692
9416
  # * {Types::UpdateDomainOutput#name #name} => String
9417
+ # * {Types::UpdateDomainOutput#root_domain_unit_id #root_domain_unit_id} => String
8693
9418
  # * {Types::UpdateDomainOutput#single_sign_on #single_sign_on} => Types::SingleSignOn
8694
9419
  #
8695
9420
  # @example Request syntax with placeholder values
@@ -8713,6 +9438,7 @@ module Aws::DataZone
8713
9438
  # resp.id #=> String
8714
9439
  # resp.last_updated_at #=> Time
8715
9440
  # resp.name #=> String
9441
+ # resp.root_domain_unit_id #=> String
8716
9442
  # resp.single_sign_on.type #=> String, one of "IAM_IDC", "DISABLED"
8717
9443
  # resp.single_sign_on.user_assignment #=> String, one of "AUTOMATIC", "MANUAL"
8718
9444
  #
@@ -8725,6 +9451,66 @@ module Aws::DataZone
8725
9451
  req.send_request(options)
8726
9452
  end
8727
9453
 
9454
+ # Updates the domain unit.
9455
+ #
9456
+ # @option params [String] :description
9457
+ # The description of the domain unit that you want to update.
9458
+ #
9459
+ # @option params [required, String] :domain_identifier
9460
+ # The ID of the domain where you want to update a domain unit.
9461
+ #
9462
+ # @option params [required, String] :identifier
9463
+ # The ID of the domain unit that you want to update.
9464
+ #
9465
+ # @option params [String] :name
9466
+ # The name of the domain unit that you want to update.
9467
+ #
9468
+ # @return [Types::UpdateDomainUnitOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9469
+ #
9470
+ # * {Types::UpdateDomainUnitOutput#created_at #created_at} => Time
9471
+ # * {Types::UpdateDomainUnitOutput#created_by #created_by} => String
9472
+ # * {Types::UpdateDomainUnitOutput#description #description} => String
9473
+ # * {Types::UpdateDomainUnitOutput#domain_id #domain_id} => String
9474
+ # * {Types::UpdateDomainUnitOutput#id #id} => String
9475
+ # * {Types::UpdateDomainUnitOutput#last_updated_at #last_updated_at} => Time
9476
+ # * {Types::UpdateDomainUnitOutput#last_updated_by #last_updated_by} => String
9477
+ # * {Types::UpdateDomainUnitOutput#name #name} => String
9478
+ # * {Types::UpdateDomainUnitOutput#owners #owners} => Array&lt;Types::DomainUnitOwnerProperties&gt;
9479
+ # * {Types::UpdateDomainUnitOutput#parent_domain_unit_id #parent_domain_unit_id} => String
9480
+ #
9481
+ # @example Request syntax with placeholder values
9482
+ #
9483
+ # resp = client.update_domain_unit({
9484
+ # description: "DomainUnitDescription",
9485
+ # domain_identifier: "DomainId", # required
9486
+ # identifier: "DomainUnitId", # required
9487
+ # name: "DomainUnitName",
9488
+ # })
9489
+ #
9490
+ # @example Response structure
9491
+ #
9492
+ # resp.created_at #=> Time
9493
+ # resp.created_by #=> String
9494
+ # resp.description #=> String
9495
+ # resp.domain_id #=> String
9496
+ # resp.id #=> String
9497
+ # resp.last_updated_at #=> Time
9498
+ # resp.last_updated_by #=> String
9499
+ # resp.name #=> String
9500
+ # resp.owners #=> Array
9501
+ # resp.owners[0].group.group_id #=> String
9502
+ # resp.owners[0].user.user_id #=> String
9503
+ # resp.parent_domain_unit_id #=> String
9504
+ #
9505
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/UpdateDomainUnit AWS API Documentation
9506
+ #
9507
+ # @overload update_domain_unit(params = {})
9508
+ # @param [Hash] params ({})
9509
+ def update_domain_unit(params = {}, options = {})
9510
+ req = build_request(:update_domain_unit, params)
9511
+ req.send_request(options)
9512
+ end
9513
+
8728
9514
  # Updates the specified environment in Amazon DataZone.
8729
9515
  #
8730
9516
  # @option params [String] :description
@@ -9182,8 +9968,7 @@ module Aws::DataZone
9182
9968
  # The description to be updated as part of the `UpdateProject` action.
9183
9969
  #
9184
9970
  # @option params [required, String] :domain_identifier
9185
- # The identifier of the Amazon DataZone domain in which a project is to
9186
- # be updated.
9971
+ # The ID of the Amazon DataZone domain where a project is being updated.
9187
9972
  #
9188
9973
  # @option params [Array<String>] :glossary_terms
9189
9974
  # The glossary terms to be updated as part of the `UpdateProject`
@@ -9201,6 +9986,7 @@ module Aws::DataZone
9201
9986
  # * {Types::UpdateProjectOutput#created_by #created_by} => String
9202
9987
  # * {Types::UpdateProjectOutput#description #description} => String
9203
9988
  # * {Types::UpdateProjectOutput#domain_id #domain_id} => String
9989
+ # * {Types::UpdateProjectOutput#domain_unit_id #domain_unit_id} => String
9204
9990
  # * {Types::UpdateProjectOutput#failure_reasons #failure_reasons} => Array&lt;Types::ProjectDeletionError&gt;
9205
9991
  # * {Types::UpdateProjectOutput#glossary_terms #glossary_terms} => Array&lt;String&gt;
9206
9992
  # * {Types::UpdateProjectOutput#id #id} => String
@@ -9224,6 +10010,7 @@ module Aws::DataZone
9224
10010
  # resp.created_by #=> String
9225
10011
  # resp.description #=> String
9226
10012
  # resp.domain_id #=> String
10013
+ # resp.domain_unit_id #=> String
9227
10014
  # resp.failure_reasons #=> Array
9228
10015
  # resp.failure_reasons[0].code #=> String
9229
10016
  # resp.failure_reasons[0].message #=> String
@@ -9302,6 +10089,11 @@ module Aws::DataZone
9302
10089
  # resp.assets #=> Array
9303
10090
  # resp.assets[0].asset_id #=> String
9304
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
9305
10097
  # resp.assets[0].failure_cause.message #=> String
9306
10098
  # resp.assets[0].failure_timestamp #=> Time
9307
10099
  # resp.assets[0].granted_timestamp #=> Time
@@ -9376,6 +10168,11 @@ module Aws::DataZone
9376
10168
  # resp.subscribed_listings #=> Array
9377
10169
  # resp.subscribed_listings[0].description #=> String
9378
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
9379
10176
  # resp.subscribed_listings[0].item.asset_listing.entity_id #=> String
9380
10177
  # resp.subscribed_listings[0].item.asset_listing.entity_revision #=> String
9381
10178
  # resp.subscribed_listings[0].item.asset_listing.entity_type #=> String
@@ -9576,14 +10373,19 @@ module Aws::DataZone
9576
10373
  # @api private
9577
10374
  def build_request(operation_name, params = {})
9578
10375
  handlers = @handlers.for(operation_name)
10376
+ tracer = config.telemetry_provider.tracer_provider.tracer(
10377
+ Aws::Telemetry.module_to_tracer_name('Aws::DataZone')
10378
+ )
9579
10379
  context = Seahorse::Client::RequestContext.new(
9580
10380
  operation_name: operation_name,
9581
10381
  operation: config.api.operation(operation_name),
9582
10382
  client: self,
9583
10383
  params: params,
9584
- config: config)
10384
+ config: config,
10385
+ tracer: tracer
10386
+ )
9585
10387
  context[:gem_name] = 'aws-sdk-datazone'
9586
- context[:gem_version] = '1.19.0'
10388
+ context[:gem_version] = '1.21.0'
9587
10389
  Seahorse::Client::Request.new(handlers, context)
9588
10390
  end
9589
10391