aws-sdk-datazone 1.46.0 → 1.47.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.
data/sig/client.rbs CHANGED
@@ -280,6 +280,42 @@ module Aws
280
280
  ) -> _CancelSubscriptionResponseSuccess
281
281
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelSubscriptionResponseSuccess
282
282
 
283
+ interface _CreateAccountPoolResponseSuccess
284
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAccountPoolOutput]
285
+ def account_source: () -> Types::AccountSource
286
+ def created_at: () -> ::Time
287
+ def created_by: () -> ::String
288
+ def description: () -> ::String
289
+ def domain_id: () -> ::String
290
+ def domain_unit_id: () -> ::String
291
+ def id: () -> ::String
292
+ def last_updated_at: () -> ::Time
293
+ def name: () -> ::String
294
+ def resolution_strategy: () -> ("MANUAL")
295
+ def updated_by: () -> ::String
296
+ end
297
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#create_account_pool-instance_method
298
+ def create_account_pool: (
299
+ account_source: {
300
+ accounts: Array[
301
+ {
302
+ aws_account_id: ::String,
303
+ aws_account_name: ::String?,
304
+ supported_regions: Array[::String]
305
+ },
306
+ ]?,
307
+ custom_account_pool_handler: {
308
+ lambda_execution_role_arn: ::String?,
309
+ lambda_function_arn: ::String
310
+ }?
311
+ },
312
+ ?description: ::String,
313
+ domain_identifier: ::String,
314
+ name: ::String,
315
+ resolution_strategy: ("MANUAL")
316
+ ) -> _CreateAccountPoolResponseSuccess
317
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAccountPoolResponseSuccess
318
+
283
319
  interface _CreateAssetResponseSuccess
284
320
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateAssetOutput]
285
321
  def created_at: () -> ::Time
@@ -1114,7 +1150,12 @@ module Aws
1114
1150
  name: ::String?,
1115
1151
  value: ::String?
1116
1152
  },
1117
- ]?
1153
+ ]?,
1154
+ environment_resolved_account: {
1155
+ aws_account_id: ::String,
1156
+ region_name: ::String,
1157
+ source_account_pool_id: ::String?
1158
+ }?
1118
1159
  },
1119
1160
  ]
1120
1161
  ) -> _CreateProjectResponseSuccess
@@ -1155,14 +1196,15 @@ module Aws
1155
1196
  ?domain_unit_identifier: ::String,
1156
1197
  ?environment_configurations: Array[
1157
1198
  {
1199
+ account_pools: Array[::String]?,
1158
1200
  aws_account: {
1159
1201
  aws_account_id: ::String?,
1160
1202
  aws_account_id_path: ::String?
1161
- },
1203
+ }?,
1162
1204
  aws_region: {
1163
1205
  region_name: ::String?,
1164
1206
  region_name_path: ::String?
1165
- },
1207
+ }?,
1166
1208
  configuration_parameters: {
1167
1209
  parameter_overrides: Array[
1168
1210
  {
@@ -1379,6 +1421,16 @@ module Aws
1379
1421
  ) -> _CreateUserProfileResponseSuccess
1380
1422
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateUserProfileResponseSuccess
1381
1423
 
1424
+ interface _DeleteAccountPoolResponseSuccess
1425
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAccountPoolOutput]
1426
+ end
1427
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#delete_account_pool-instance_method
1428
+ def delete_account_pool: (
1429
+ domain_identifier: ::String,
1430
+ identifier: ::String
1431
+ ) -> _DeleteAccountPoolResponseSuccess
1432
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAccountPoolResponseSuccess
1433
+
1382
1434
  interface _DeleteAssetResponseSuccess
1383
1435
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAssetOutput]
1384
1436
  end
@@ -1661,6 +1713,27 @@ module Aws
1661
1713
  ) -> _DisassociateEnvironmentRoleResponseSuccess
1662
1714
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateEnvironmentRoleResponseSuccess
1663
1715
 
1716
+ interface _GetAccountPoolResponseSuccess
1717
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAccountPoolOutput]
1718
+ def account_source: () -> Types::AccountSource
1719
+ def created_at: () -> ::Time
1720
+ def created_by: () -> ::String
1721
+ def description: () -> ::String
1722
+ def domain_id: () -> ::String
1723
+ def domain_unit_id: () -> ::String
1724
+ def id: () -> ::String
1725
+ def last_updated_at: () -> ::Time
1726
+ def name: () -> ::String
1727
+ def resolution_strategy: () -> ("MANUAL")
1728
+ def updated_by: () -> ::String
1729
+ end
1730
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#get_account_pool-instance_method
1731
+ def get_account_pool: (
1732
+ domain_identifier: ::String,
1733
+ identifier: ::String
1734
+ ) -> _GetAccountPoolResponseSuccess
1735
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAccountPoolResponseSuccess
1736
+
1664
1737
  interface _GetAssetResponseSuccess
1665
1738
  include ::Seahorse::Client::_ResponseSuccess[Types::GetAssetOutput]
1666
1739
  def created_at: () -> ::Time
@@ -2398,6 +2471,36 @@ module Aws
2398
2471
  ) -> _GetUserProfileResponseSuccess
2399
2472
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetUserProfileResponseSuccess
2400
2473
 
2474
+ interface _ListAccountPoolsResponseSuccess
2475
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAccountPoolsOutput]
2476
+ def items: () -> ::Array[Types::AccountPoolSummary]
2477
+ def next_token: () -> ::String
2478
+ end
2479
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#list_account_pools-instance_method
2480
+ def list_account_pools: (
2481
+ domain_identifier: ::String,
2482
+ ?max_results: ::Integer,
2483
+ ?name: ::String,
2484
+ ?next_token: ::String,
2485
+ ?sort_by: ("NAME"),
2486
+ ?sort_order: ("ASCENDING" | "DESCENDING")
2487
+ ) -> _ListAccountPoolsResponseSuccess
2488
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAccountPoolsResponseSuccess
2489
+
2490
+ interface _ListAccountsInAccountPoolResponseSuccess
2491
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAccountsInAccountPoolOutput]
2492
+ def items: () -> ::Array[Types::AccountInfo]
2493
+ def next_token: () -> ::String
2494
+ end
2495
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#list_accounts_in_account_pool-instance_method
2496
+ def list_accounts_in_account_pool: (
2497
+ domain_identifier: ::String,
2498
+ identifier: ::String,
2499
+ ?max_results: ::Integer,
2500
+ ?next_token: ::String
2501
+ ) -> _ListAccountsInAccountPoolResponseSuccess
2502
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAccountsInAccountPoolResponseSuccess
2503
+
2401
2504
  interface _ListAssetFiltersResponseSuccess
2402
2505
  include ::Seahorse::Client::_ResponseSuccess[Types::ListAssetFiltersOutput]
2403
2506
  def items: () -> ::Array[Types::AssetFilterSummary]
@@ -3327,6 +3430,43 @@ module Aws
3327
3430
  ) -> _UntagResourceResponseSuccess
3328
3431
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
3329
3432
 
3433
+ interface _UpdateAccountPoolResponseSuccess
3434
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAccountPoolOutput]
3435
+ def account_source: () -> Types::AccountSource
3436
+ def created_at: () -> ::Time
3437
+ def created_by: () -> ::String
3438
+ def description: () -> ::String
3439
+ def domain_id: () -> ::String
3440
+ def domain_unit_id: () -> ::String
3441
+ def id: () -> ::String
3442
+ def last_updated_at: () -> ::Time
3443
+ def name: () -> ::String
3444
+ def resolution_strategy: () -> ("MANUAL")
3445
+ def updated_by: () -> ::String
3446
+ end
3447
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#update_account_pool-instance_method
3448
+ def update_account_pool: (
3449
+ ?account_source: {
3450
+ accounts: Array[
3451
+ {
3452
+ aws_account_id: ::String,
3453
+ aws_account_name: ::String?,
3454
+ supported_regions: Array[::String]
3455
+ },
3456
+ ]?,
3457
+ custom_account_pool_handler: {
3458
+ lambda_execution_role_arn: ::String?,
3459
+ lambda_function_arn: ::String
3460
+ }?
3461
+ },
3462
+ ?description: ::String,
3463
+ domain_identifier: ::String,
3464
+ identifier: ::String,
3465
+ ?name: ::String,
3466
+ ?resolution_strategy: ("MANUAL")
3467
+ ) -> _UpdateAccountPoolResponseSuccess
3468
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAccountPoolResponseSuccess
3469
+
3330
3470
  interface _UpdateAssetFilterResponseSuccess
3331
3471
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAssetFilterOutput]
3332
3472
  def asset_id: () -> ::String
@@ -3852,7 +3992,12 @@ module Aws
3852
3992
  name: ::String?,
3853
3993
  value: ::String?
3854
3994
  },
3855
- ]?
3995
+ ]?,
3996
+ environment_resolved_account: {
3997
+ aws_account_id: ::String,
3998
+ region_name: ::String,
3999
+ source_account_pool_id: ::String?
4000
+ }?
3856
4001
  },
3857
4002
  ]
3858
4003
  ) -> _UpdateProjectResponseSuccess
@@ -3878,14 +4023,15 @@ module Aws
3878
4023
  ?domain_unit_identifier: ::String,
3879
4024
  ?environment_configurations: Array[
3880
4025
  {
4026
+ account_pools: Array[::String]?,
3881
4027
  aws_account: {
3882
4028
  aws_account_id: ::String?,
3883
4029
  aws_account_id_path: ::String?
3884
- },
4030
+ }?,
3885
4031
  aws_region: {
3886
4032
  region_name: ::String?,
3887
4033
  region_name_path: ::String?
3888
- },
4034
+ }?,
3889
4035
  configuration_parameters: {
3890
4036
  parameter_overrides: Array[
3891
4037
  {
data/sig/types.rbs CHANGED
@@ -75,6 +75,38 @@ module Aws::DataZone
75
75
  SENSITIVE: []
76
76
  end
77
77
 
78
+ class AccountInfo
79
+ attr_accessor aws_account_id: ::String
80
+ attr_accessor aws_account_name: ::String
81
+ attr_accessor supported_regions: ::Array[::String]
82
+ SENSITIVE: [:aws_account_name]
83
+ end
84
+
85
+ class AccountPoolSummary
86
+ attr_accessor created_by: ::String
87
+ attr_accessor domain_id: ::String
88
+ attr_accessor domain_unit_id: ::String
89
+ attr_accessor id: ::String
90
+ attr_accessor name: ::String
91
+ attr_accessor resolution_strategy: ("MANUAL")
92
+ attr_accessor updated_by: ::String
93
+ SENSITIVE: [:name]
94
+ end
95
+
96
+ class AccountSource
97
+ attr_accessor accounts: ::Array[Types::AccountInfo]
98
+ attr_accessor custom_account_pool_handler: Types::CustomAccountPoolHandler
99
+ attr_accessor unknown: untyped
100
+ SENSITIVE: []
101
+
102
+ class Accounts < AccountSource
103
+ end
104
+ class CustomAccountPoolHandler < AccountSource
105
+ end
106
+ class Unknown < AccountSource
107
+ end
108
+ end
109
+
78
110
  class ActionParameters
79
111
  attr_accessor aws_console_link: Types::AwsConsoleLinkParameters
80
112
  attr_accessor unknown: untyped
@@ -552,6 +584,30 @@ module Aws::DataZone
552
584
  SENSITIVE: []
553
585
  end
554
586
 
587
+ class CreateAccountPoolInput
588
+ attr_accessor account_source: Types::AccountSource
589
+ attr_accessor description: ::String
590
+ attr_accessor domain_identifier: ::String
591
+ attr_accessor name: ::String
592
+ attr_accessor resolution_strategy: ("MANUAL")
593
+ SENSITIVE: [:description, :name]
594
+ end
595
+
596
+ class CreateAccountPoolOutput
597
+ attr_accessor account_source: Types::AccountSource
598
+ attr_accessor created_at: ::Time
599
+ attr_accessor created_by: ::String
600
+ attr_accessor description: ::String
601
+ attr_accessor domain_id: ::String
602
+ attr_accessor domain_unit_id: ::String
603
+ attr_accessor id: ::String
604
+ attr_accessor last_updated_at: ::Time
605
+ attr_accessor name: ::String
606
+ attr_accessor resolution_strategy: ("MANUAL")
607
+ attr_accessor updated_by: ::String
608
+ SENSITIVE: [:description, :name]
609
+ end
610
+
555
611
  class CreateAssetFilterInput
556
612
  attr_accessor asset_identifier: ::String
557
613
  attr_accessor client_token: ::String
@@ -1272,6 +1328,12 @@ module Aws::DataZone
1272
1328
  SENSITIVE: []
1273
1329
  end
1274
1330
 
1331
+ class CustomAccountPoolHandler
1332
+ attr_accessor lambda_execution_role_arn: ::String
1333
+ attr_accessor lambda_function_arn: ::String
1334
+ SENSITIVE: []
1335
+ end
1336
+
1275
1337
  class CustomParameter
1276
1338
  attr_accessor default_value: ::String
1277
1339
  attr_accessor description: ::String
@@ -1449,6 +1511,15 @@ module Aws::DataZone
1449
1511
  SENSITIVE: [:description, :name, :schedule]
1450
1512
  end
1451
1513
 
1514
+ class DeleteAccountPoolInput
1515
+ attr_accessor domain_identifier: ::String
1516
+ attr_accessor identifier: ::String
1517
+ SENSITIVE: []
1518
+ end
1519
+
1520
+ class DeleteAccountPoolOutput < Aws::EmptyStructure
1521
+ end
1522
+
1452
1523
  class DeleteAssetFilterInput
1453
1524
  attr_accessor asset_identifier: ::String
1454
1525
  attr_accessor domain_identifier: ::String
@@ -1839,6 +1910,7 @@ module Aws::DataZone
1839
1910
  end
1840
1911
 
1841
1912
  class EnvironmentConfiguration
1913
+ attr_accessor account_pools: ::Array[::String]
1842
1914
  attr_accessor aws_account: Types::AwsAccount
1843
1915
  attr_accessor aws_region: Types::Region
1844
1916
  attr_accessor configuration_parameters: Types::EnvironmentConfigurationParametersDetails
@@ -1869,6 +1941,7 @@ module Aws::DataZone
1869
1941
  attr_accessor environment_configuration_name: ::String
1870
1942
  attr_accessor environment_id: ::String
1871
1943
  attr_accessor environment_parameters: ::Array[Types::EnvironmentParameter]
1944
+ attr_accessor environment_resolved_account: Types::EnvironmentResolvedAccount
1872
1945
  SENSITIVE: [:environment_configuration_name]
1873
1946
  end
1874
1947
 
@@ -1905,6 +1978,13 @@ module Aws::DataZone
1905
1978
  SENSITIVE: [:description, :name]
1906
1979
  end
1907
1980
 
1981
+ class EnvironmentResolvedAccount
1982
+ attr_accessor aws_account_id: ::String
1983
+ attr_accessor region_name: ::String
1984
+ attr_accessor source_account_pool_id: ::String
1985
+ SENSITIVE: []
1986
+ end
1987
+
1908
1988
  class EnvironmentSummary
1909
1989
  attr_accessor aws_account_id: ::String
1910
1990
  attr_accessor aws_account_region: ::String
@@ -2020,6 +2100,27 @@ module Aws::DataZone
2020
2100
  SENSITIVE: [:description, :model, :name]
2021
2101
  end
2022
2102
 
2103
+ class GetAccountPoolInput
2104
+ attr_accessor domain_identifier: ::String
2105
+ attr_accessor identifier: ::String
2106
+ SENSITIVE: []
2107
+ end
2108
+
2109
+ class GetAccountPoolOutput
2110
+ attr_accessor account_source: Types::AccountSource
2111
+ attr_accessor created_at: ::Time
2112
+ attr_accessor created_by: ::String
2113
+ attr_accessor description: ::String
2114
+ attr_accessor domain_id: ::String
2115
+ attr_accessor domain_unit_id: ::String
2116
+ attr_accessor id: ::String
2117
+ attr_accessor last_updated_at: ::Time
2118
+ attr_accessor name: ::String
2119
+ attr_accessor resolution_strategy: ("MANUAL")
2120
+ attr_accessor updated_by: ::String
2121
+ SENSITIVE: [:description, :name]
2122
+ end
2123
+
2023
2124
  class GetAssetFilterInput
2024
2125
  attr_accessor asset_identifier: ::String
2025
2126
  attr_accessor domain_identifier: ::String
@@ -3137,6 +3238,36 @@ module Aws::DataZone
3137
3238
  SENSITIVE: []
3138
3239
  end
3139
3240
 
3241
+ class ListAccountPoolsInput
3242
+ attr_accessor domain_identifier: ::String
3243
+ attr_accessor max_results: ::Integer
3244
+ attr_accessor name: ::String
3245
+ attr_accessor next_token: ::String
3246
+ attr_accessor sort_by: ("NAME")
3247
+ attr_accessor sort_order: ("ASCENDING" | "DESCENDING")
3248
+ SENSITIVE: [:name]
3249
+ end
3250
+
3251
+ class ListAccountPoolsOutput
3252
+ attr_accessor items: ::Array[Types::AccountPoolSummary]
3253
+ attr_accessor next_token: ::String
3254
+ SENSITIVE: []
3255
+ end
3256
+
3257
+ class ListAccountsInAccountPoolInput
3258
+ attr_accessor domain_identifier: ::String
3259
+ attr_accessor identifier: ::String
3260
+ attr_accessor max_results: ::Integer
3261
+ attr_accessor next_token: ::String
3262
+ SENSITIVE: []
3263
+ end
3264
+
3265
+ class ListAccountsInAccountPoolOutput
3266
+ attr_accessor items: ::Array[Types::AccountInfo]
3267
+ attr_accessor next_token: ::String
3268
+ SENSITIVE: []
3269
+ end
3270
+
3140
3271
  class ListAssetFiltersInput
3141
3272
  attr_accessor asset_identifier: ::String
3142
3273
  attr_accessor domain_identifier: ::String
@@ -5124,6 +5255,31 @@ module Aws::DataZone
5124
5255
  class UntagResourceResponse < Aws::EmptyStructure
5125
5256
  end
5126
5257
 
5258
+ class UpdateAccountPoolInput
5259
+ attr_accessor account_source: Types::AccountSource
5260
+ attr_accessor description: ::String
5261
+ attr_accessor domain_identifier: ::String
5262
+ attr_accessor identifier: ::String
5263
+ attr_accessor name: ::String
5264
+ attr_accessor resolution_strategy: ("MANUAL")
5265
+ SENSITIVE: [:description, :name]
5266
+ end
5267
+
5268
+ class UpdateAccountPoolOutput
5269
+ attr_accessor account_source: Types::AccountSource
5270
+ attr_accessor created_at: ::Time
5271
+ attr_accessor created_by: ::String
5272
+ attr_accessor description: ::String
5273
+ attr_accessor domain_id: ::String
5274
+ attr_accessor domain_unit_id: ::String
5275
+ attr_accessor id: ::String
5276
+ attr_accessor last_updated_at: ::Time
5277
+ attr_accessor name: ::String
5278
+ attr_accessor resolution_strategy: ("MANUAL")
5279
+ attr_accessor updated_by: ::String
5280
+ SENSITIVE: [:description, :name]
5281
+ end
5282
+
5127
5283
  class UpdateAssetFilterInput
5128
5284
  attr_accessor asset_identifier: ::String
5129
5285
  attr_accessor configuration: Types::AssetFilterConfiguration
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-datazone
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.46.0
4
+ version: 1.47.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services