aws-sdk-datazone 1.19.0 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-datazone/customizations'
52
52
  # @!group service
53
53
  module Aws::DataZone
54
54
 
55
- GEM_VERSION = '1.19.0'
55
+ GEM_VERSION = '1.20.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -122,6 +122,100 @@ module Aws
122
122
  ) -> _AcceptSubscriptionRequestResponseSuccess
123
123
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AcceptSubscriptionRequestResponseSuccess
124
124
 
125
+ interface _AddEntityOwnerResponseSuccess
126
+ include ::Seahorse::Client::_ResponseSuccess[Types::AddEntityOwnerOutput]
127
+ end
128
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#add_entity_owner-instance_method
129
+ def add_entity_owner: (
130
+ ?client_token: ::String,
131
+ domain_identifier: ::String,
132
+ entity_identifier: ::String,
133
+ entity_type: ("DOMAIN_UNIT"),
134
+ owner: {
135
+ group: {
136
+ group_identifier: ::String
137
+ }?,
138
+ user: {
139
+ user_identifier: ::String
140
+ }?
141
+ }
142
+ ) -> _AddEntityOwnerResponseSuccess
143
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddEntityOwnerResponseSuccess
144
+
145
+ interface _AddPolicyGrantResponseSuccess
146
+ include ::Seahorse::Client::_ResponseSuccess[Types::AddPolicyGrantOutput]
147
+ end
148
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#add_policy_grant-instance_method
149
+ def add_policy_grant: (
150
+ ?client_token: ::String,
151
+ detail: {
152
+ add_to_project_member_pool: {
153
+ include_child_domain_units: bool?
154
+ }?,
155
+ create_asset_type: {
156
+ include_child_domain_units: bool?
157
+ }?,
158
+ create_domain_unit: {
159
+ include_child_domain_units: bool?
160
+ }?,
161
+ create_environment: {
162
+ }?,
163
+ create_environment_profile: {
164
+ domain_unit_id: ::String?
165
+ }?,
166
+ create_form_type: {
167
+ include_child_domain_units: bool?
168
+ }?,
169
+ create_glossary: {
170
+ include_child_domain_units: bool?
171
+ }?,
172
+ create_project: {
173
+ include_child_domain_units: bool?
174
+ }?,
175
+ delegate_create_environment_profile: {
176
+ }?,
177
+ override_domain_unit_owners: {
178
+ include_child_domain_units: bool?
179
+ }?,
180
+ override_project_owners: {
181
+ include_child_domain_units: bool?
182
+ }?
183
+ },
184
+ domain_identifier: ::String,
185
+ entity_identifier: ::String,
186
+ entity_type: ("DOMAIN_UNIT" | "ENVIRONMENT_BLUEPRINT_CONFIGURATION" | "ENVIRONMENT_PROFILE"),
187
+ policy_type: ("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"),
188
+ principal: {
189
+ domain_unit: {
190
+ domain_unit_designation: ("OWNER"),
191
+ domain_unit_grant_filter: {
192
+ all_domain_units_grant_filter: {
193
+ }?
194
+ }?,
195
+ domain_unit_identifier: ::String?
196
+ }?,
197
+ group: {
198
+ group_identifier: ::String?
199
+ }?,
200
+ project: {
201
+ project_designation: ("OWNER" | "CONTRIBUTOR"),
202
+ project_grant_filter: {
203
+ domain_unit_filter: {
204
+ domain_unit: ::String,
205
+ include_child_domain_units: bool?
206
+ }?
207
+ }?,
208
+ project_identifier: ::String?
209
+ }?,
210
+ user: {
211
+ all_users_grant_filter: {
212
+ }?,
213
+ user_identifier: ::String?
214
+ }?
215
+ }
216
+ ) -> _AddPolicyGrantResponseSuccess
217
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddPolicyGrantResponseSuccess
218
+
125
219
  interface _AssociateEnvironmentRoleResponseSuccess
126
220
  include ::Seahorse::Client::_ResponseSuccess[Types::AssociateEnvironmentRoleOutput]
127
221
  end
@@ -570,6 +664,7 @@ module Aws
570
664
  def kms_key_identifier: () -> ::String
571
665
  def name: () -> ::String
572
666
  def portal_url: () -> ::String
667
+ def root_domain_unit_id: () -> ::String
573
668
  def single_sign_on: () -> Types::SingleSignOn
574
669
  def status: () -> ("CREATING" | "AVAILABLE" | "CREATION_FAILED" | "DELETING" | "DELETED" | "DELETION_FAILED")
575
670
  def tags: () -> ::Hash[::String, ::String]
@@ -589,6 +684,28 @@ module Aws
589
684
  ) -> _CreateDomainResponseSuccess
590
685
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDomainResponseSuccess
591
686
 
687
+ interface _CreateDomainUnitResponseSuccess
688
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateDomainUnitOutput]
689
+ def ancestor_domain_unit_ids: () -> ::Array[::String]
690
+ def created_at: () -> ::Time
691
+ def created_by: () -> ::String
692
+ def description: () -> ::String
693
+ def domain_id: () -> ::String
694
+ def id: () -> ::String
695
+ def name: () -> ::String
696
+ def owners: () -> ::Array[Types::DomainUnitOwnerProperties]
697
+ def parent_domain_unit_id: () -> ::String
698
+ end
699
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#create_domain_unit-instance_method
700
+ def create_domain_unit: (
701
+ ?client_token: ::String,
702
+ ?description: ::String,
703
+ domain_identifier: ::String,
704
+ name: ::String,
705
+ parent_domain_unit_identifier: ::String
706
+ ) -> _CreateDomainUnitResponseSuccess
707
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDomainUnitResponseSuccess
708
+
592
709
  interface _CreateEnvironmentResponseSuccess
593
710
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateEnvironmentOutput]
594
711
  def aws_account_id: () -> ::String
@@ -797,6 +914,7 @@ module Aws
797
914
  def created_by: () -> ::String
798
915
  def description: () -> ::String
799
916
  def domain_id: () -> ::String
917
+ def domain_unit_id: () -> ::String
800
918
  def failure_reasons: () -> ::Array[Types::ProjectDeletionError]
801
919
  def glossary_terms: () -> ::Array[::String]
802
920
  def id: () -> ::String
@@ -808,6 +926,7 @@ module Aws
808
926
  def create_project: (
809
927
  ?description: ::String,
810
928
  domain_identifier: ::String,
929
+ ?domain_unit_id: ::String,
811
930
  ?glossary_terms: Array[::String],
812
931
  name: ::String
813
932
  ) -> _CreateProjectResponseSuccess
@@ -1036,6 +1155,16 @@ module Aws
1036
1155
  ) -> _DeleteDomainResponseSuccess
1037
1156
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDomainResponseSuccess
1038
1157
 
1158
+ interface _DeleteDomainUnitResponseSuccess
1159
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDomainUnitOutput]
1160
+ end
1161
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#delete_domain_unit-instance_method
1162
+ def delete_domain_unit: (
1163
+ domain_identifier: ::String,
1164
+ identifier: ::String
1165
+ ) -> _DeleteDomainUnitResponseSuccess
1166
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDomainUnitResponseSuccess
1167
+
1039
1168
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#delete_environment-instance_method
1040
1169
  def delete_environment: (
1041
1170
  domain_identifier: ::String,
@@ -1358,6 +1487,7 @@ module Aws
1358
1487
  def last_updated_at: () -> ::Time
1359
1488
  def name: () -> ::String
1360
1489
  def portal_url: () -> ::String
1490
+ def root_domain_unit_id: () -> ::String
1361
1491
  def single_sign_on: () -> Types::SingleSignOn
1362
1492
  def status: () -> ("CREATING" | "AVAILABLE" | "CREATION_FAILED" | "DELETING" | "DELETED" | "DELETION_FAILED")
1363
1493
  def tags: () -> ::Hash[::String, ::String]
@@ -1368,6 +1498,26 @@ module Aws
1368
1498
  ) -> _GetDomainResponseSuccess
1369
1499
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDomainResponseSuccess
1370
1500
 
1501
+ interface _GetDomainUnitResponseSuccess
1502
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDomainUnitOutput]
1503
+ def created_at: () -> ::Time
1504
+ def created_by: () -> ::String
1505
+ def description: () -> ::String
1506
+ def domain_id: () -> ::String
1507
+ def id: () -> ::String
1508
+ def last_updated_at: () -> ::Time
1509
+ def last_updated_by: () -> ::String
1510
+ def name: () -> ::String
1511
+ def owners: () -> ::Array[Types::DomainUnitOwnerProperties]
1512
+ def parent_domain_unit_id: () -> ::String
1513
+ end
1514
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#get_domain_unit-instance_method
1515
+ def get_domain_unit: (
1516
+ domain_identifier: ::String,
1517
+ identifier: ::String
1518
+ ) -> _GetDomainUnitResponseSuccess
1519
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDomainUnitResponseSuccess
1520
+
1371
1521
  interface _GetEnvironmentResponseSuccess
1372
1522
  include ::Seahorse::Client::_ResponseSuccess[Types::GetEnvironmentOutput]
1373
1523
  def aws_account_id: () -> ::String
@@ -1653,6 +1803,7 @@ module Aws
1653
1803
  def created_by: () -> ::String
1654
1804
  def description: () -> ::String
1655
1805
  def domain_id: () -> ::String
1806
+ def domain_unit_id: () -> ::String
1656
1807
  def failure_reasons: () -> ::Array[Types::ProjectDeletionError]
1657
1808
  def glossary_terms: () -> ::Array[::String]
1658
1809
  def id: () -> ::String
@@ -1882,6 +2033,20 @@ module Aws
1882
2033
  ) -> _ListDataSourcesResponseSuccess
1883
2034
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDataSourcesResponseSuccess
1884
2035
 
2036
+ interface _ListDomainUnitsForParentResponseSuccess
2037
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDomainUnitsForParentOutput]
2038
+ def items: () -> ::Array[Types::DomainUnitSummary]
2039
+ def next_token: () -> ::String
2040
+ end
2041
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#list_domain_units_for_parent-instance_method
2042
+ def list_domain_units_for_parent: (
2043
+ domain_identifier: ::String,
2044
+ ?max_results: ::Integer,
2045
+ ?next_token: ::String,
2046
+ parent_domain_unit_identifier: ::String
2047
+ ) -> _ListDomainUnitsForParentResponseSuccess
2048
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDomainUnitsForParentResponseSuccess
2049
+
1885
2050
  interface _ListDomainsResponseSuccess
1886
2051
  include ::Seahorse::Client::_ResponseSuccess[Types::ListDomainsOutput]
1887
2052
  def items: () -> ::Array[Types::DomainSummary]
@@ -1895,6 +2060,21 @@ module Aws
1895
2060
  ) -> _ListDomainsResponseSuccess
1896
2061
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDomainsResponseSuccess
1897
2062
 
2063
+ interface _ListEntityOwnersResponseSuccess
2064
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListEntityOwnersOutput]
2065
+ def next_token: () -> ::String
2066
+ def owners: () -> ::Array[Types::OwnerPropertiesOutput]
2067
+ end
2068
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#list_entity_owners-instance_method
2069
+ def list_entity_owners: (
2070
+ domain_identifier: ::String,
2071
+ entity_identifier: ::String,
2072
+ entity_type: ("DOMAIN_UNIT"),
2073
+ ?max_results: ::Integer,
2074
+ ?next_token: ::String
2075
+ ) -> _ListEntityOwnersResponseSuccess
2076
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEntityOwnersResponseSuccess
2077
+
1898
2078
  interface _ListEnvironmentActionsResponseSuccess
1899
2079
  include ::Seahorse::Client::_ResponseSuccess[Types::ListEnvironmentActionsOutput]
1900
2080
  def items: () -> ::Array[Types::EnvironmentActionSummary]
@@ -2027,6 +2207,22 @@ module Aws
2027
2207
  ) -> _ListNotificationsResponseSuccess
2028
2208
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListNotificationsResponseSuccess
2029
2209
 
2210
+ interface _ListPolicyGrantsResponseSuccess
2211
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPolicyGrantsOutput]
2212
+ def grant_list: () -> ::Array[Types::PolicyGrantMember]
2213
+ def next_token: () -> ::String
2214
+ end
2215
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#list_policy_grants-instance_method
2216
+ def list_policy_grants: (
2217
+ domain_identifier: ::String,
2218
+ entity_identifier: ::String,
2219
+ entity_type: ("DOMAIN_UNIT" | "ENVIRONMENT_BLUEPRINT_CONFIGURATION" | "ENVIRONMENT_PROFILE"),
2220
+ ?max_results: ::Integer,
2221
+ ?next_token: ::String,
2222
+ policy_type: ("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")
2223
+ ) -> _ListPolicyGrantsResponseSuccess
2224
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPolicyGrantsResponseSuccess
2225
+
2030
2226
  interface _ListProjectMembershipsResponseSuccess
2031
2227
  include ::Seahorse::Client::_ResponseSuccess[Types::ListProjectMembershipsOutput]
2032
2228
  def members: () -> ::Array[Types::ProjectMember]
@@ -2277,6 +2473,67 @@ module Aws
2277
2473
  ) -> _RejectSubscriptionRequestResponseSuccess
2278
2474
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RejectSubscriptionRequestResponseSuccess
2279
2475
 
2476
+ interface _RemoveEntityOwnerResponseSuccess
2477
+ include ::Seahorse::Client::_ResponseSuccess[Types::RemoveEntityOwnerOutput]
2478
+ end
2479
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#remove_entity_owner-instance_method
2480
+ def remove_entity_owner: (
2481
+ ?client_token: ::String,
2482
+ domain_identifier: ::String,
2483
+ entity_identifier: ::String,
2484
+ entity_type: ("DOMAIN_UNIT"),
2485
+ owner: {
2486
+ group: {
2487
+ group_identifier: ::String
2488
+ }?,
2489
+ user: {
2490
+ user_identifier: ::String
2491
+ }?
2492
+ }
2493
+ ) -> _RemoveEntityOwnerResponseSuccess
2494
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RemoveEntityOwnerResponseSuccess
2495
+
2496
+ interface _RemovePolicyGrantResponseSuccess
2497
+ include ::Seahorse::Client::_ResponseSuccess[Types::RemovePolicyGrantOutput]
2498
+ end
2499
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#remove_policy_grant-instance_method
2500
+ def remove_policy_grant: (
2501
+ ?client_token: ::String,
2502
+ domain_identifier: ::String,
2503
+ entity_identifier: ::String,
2504
+ entity_type: ("DOMAIN_UNIT" | "ENVIRONMENT_BLUEPRINT_CONFIGURATION" | "ENVIRONMENT_PROFILE"),
2505
+ policy_type: ("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"),
2506
+ principal: {
2507
+ domain_unit: {
2508
+ domain_unit_designation: ("OWNER"),
2509
+ domain_unit_grant_filter: {
2510
+ all_domain_units_grant_filter: {
2511
+ }?
2512
+ }?,
2513
+ domain_unit_identifier: ::String?
2514
+ }?,
2515
+ group: {
2516
+ group_identifier: ::String?
2517
+ }?,
2518
+ project: {
2519
+ project_designation: ("OWNER" | "CONTRIBUTOR"),
2520
+ project_grant_filter: {
2521
+ domain_unit_filter: {
2522
+ domain_unit: ::String,
2523
+ include_child_domain_units: bool?
2524
+ }?
2525
+ }?,
2526
+ project_identifier: ::String?
2527
+ }?,
2528
+ user: {
2529
+ all_users_grant_filter: {
2530
+ }?,
2531
+ user_identifier: ::String?
2532
+ }?
2533
+ }
2534
+ ) -> _RemovePolicyGrantResponseSuccess
2535
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RemovePolicyGrantResponseSuccess
2536
+
2280
2537
  interface _RevokeSubscriptionResponseSuccess
2281
2538
  include ::Seahorse::Client::_ResponseSuccess[Types::RevokeSubscriptionOutput]
2282
2539
  def created_at: () -> ::Time
@@ -2702,6 +2959,7 @@ module Aws
2702
2959
  def id: () -> ::String
2703
2960
  def last_updated_at: () -> ::Time
2704
2961
  def name: () -> ::String
2962
+ def root_domain_unit_id: () -> ::String
2705
2963
  def single_sign_on: () -> Types::SingleSignOn
2706
2964
  end
2707
2965
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#update_domain-instance_method
@@ -2718,6 +2976,28 @@ module Aws
2718
2976
  ) -> _UpdateDomainResponseSuccess
2719
2977
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDomainResponseSuccess
2720
2978
 
2979
+ interface _UpdateDomainUnitResponseSuccess
2980
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDomainUnitOutput]
2981
+ def created_at: () -> ::Time
2982
+ def created_by: () -> ::String
2983
+ def description: () -> ::String
2984
+ def domain_id: () -> ::String
2985
+ def id: () -> ::String
2986
+ def last_updated_at: () -> ::Time
2987
+ def last_updated_by: () -> ::String
2988
+ def name: () -> ::String
2989
+ def owners: () -> ::Array[Types::DomainUnitOwnerProperties]
2990
+ def parent_domain_unit_id: () -> ::String
2991
+ end
2992
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#update_domain_unit-instance_method
2993
+ def update_domain_unit: (
2994
+ ?description: ::String,
2995
+ domain_identifier: ::String,
2996
+ identifier: ::String,
2997
+ ?name: ::String
2998
+ ) -> _UpdateDomainUnitResponseSuccess
2999
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDomainUnitResponseSuccess
3000
+
2721
3001
  interface _UpdateEnvironmentResponseSuccess
2722
3002
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateEnvironmentOutput]
2723
3003
  def aws_account_id: () -> ::String
@@ -2876,6 +3156,7 @@ module Aws
2876
3156
  def created_by: () -> ::String
2877
3157
  def description: () -> ::String
2878
3158
  def domain_id: () -> ::String
3159
+ def domain_unit_id: () -> ::String
2879
3160
  def failure_reasons: () -> ::Array[Types::ProjectDeletionError]
2880
3161
  def glossary_terms: () -> ::Array[::String]
2881
3162
  def id: () -> ::String