aws-sdk-datazone 1.45.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f380e40cd1744caeb6712b889885fb0a296e4668a6bf7eb69b3e024ea95d58e3
4
- data.tar.gz: 3931f27c5d06e611ac78e8ee589bf603cff6ea08adefbd1725cdfad286a8758f
3
+ metadata.gz: 7785fca777ed39a654accdc233eddf0092a323360d4a6acce3f51e1eb72bc2a3
4
+ data.tar.gz: ce7ec741ab7da7778e7a0943b94b257f59540101a2fb17a0ebbdc7f7d569f678
5
5
  SHA512:
6
- metadata.gz: 472f710ce38d691d3b0615ae83a3af3c683aa5986a6c957304ac9660f1aa24a59bae7a1a627f41ab15a864c1ce14d0a672ec1cf217f2bff10d5e0cafd114ba91
7
- data.tar.gz: 2784373d76cd22fbc990b22e1b0c18ab04fb21d147ee77af03be1cce0be08d6408467bb75931ce7e60f33447d7d4feb318f36fe90e209f44c0a38190077abcc3
6
+ metadata.gz: 2f548ebd8a2ee369e4950e97c3d175f5d37131e971bb55cfa368293bcd2f1a16a432da82d37b5880a56ae2fbef0da2716754b70b7fbba50e0ad70c316dacc1b8
7
+ data.tar.gz: b45b78946c42fc9e51e458fc1e205b68fabd63504288f18f1893db57ba80cd2429ed623b0c34bc72b5a8e84cf143ac2421f8d57b8af3f8fe91e431584607fdae
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.47.0 (2025-08-13)
5
+ ------------------
6
+
7
+ * Feature - Adds support for account pools and project profile account decoupling
8
+
9
+ 1.46.0 (2025-08-04)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.45.0 (2025-07-31)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.45.0
1
+ 1.47.0
@@ -95,8 +95,8 @@ module Aws::DataZone
95
95
  # class name or an instance of a plugin class.
96
96
  #
97
97
  # @option options [required, Aws::CredentialProvider] :credentials
98
- # Your AWS credentials used for authentication. This can be an instance of any one of the
99
- # following classes:
98
+ # Your AWS credentials used for authentication. This can be any class that includes and implements
99
+ # `Aws::CredentialProvider`, or instance of any one of the following classes:
100
100
  #
101
101
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
102
102
  # credentials.
@@ -124,8 +124,7 @@ module Aws::DataZone
124
124
  # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
125
125
  # from the Cognito Identity service.
126
126
  #
127
- # When `:credentials` are not configured directly, the following
128
- # locations will be searched for credentials:
127
+ # When `:credentials` are not configured directly, the following locations will be searched for credentials:
129
128
  #
130
129
  # * `Aws.config[:credentials]`
131
130
  #
@@ -139,12 +138,10 @@ module Aws::DataZone
139
138
  #
140
139
  # * `~/.aws/config`
141
140
  #
142
- # * EC2/ECS IMDS instance profile - When used by default, the timeouts
143
- # are very aggressive. Construct and pass an instance of
144
- # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
145
- # enable retries and extended timeouts. Instance profile credential
146
- # fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
147
- # to `true`.
141
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts are very aggressive.
142
+ # Construct and pass an instance of `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
143
+ # enable retries and extended timeouts. Instance profile credential fetching can be disabled by
144
+ # setting `ENV['AWS_EC2_METADATA_DISABLED']` to `true`.
148
145
  #
149
146
  # @option options [required, String] :region
150
147
  # The AWS region to connect to. The configured `:region` is
@@ -377,8 +374,8 @@ module Aws::DataZone
377
374
  # `Aws::Telemetry::OTelProvider` for telemetry provider.
378
375
  #
379
376
  # @option options [Aws::TokenProvider] :token_provider
380
- # Your Bearer token used for authentication. This can be an instance of any one of the
381
- # following classes:
377
+ # Your Bearer token used for authentication. This can be any class that includes and implements
378
+ # `Aws::TokenProvider`, or instance of any one of the following classes:
382
379
  #
383
380
  # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
384
381
  # tokens.
@@ -967,6 +964,91 @@ module Aws::DataZone
967
964
  req.send_request(options)
968
965
  end
969
966
 
967
+ # Creates an account pool.
968
+ #
969
+ # @option params [required, Types::AccountSource] :account_source
970
+ # The source of accounts for the account pool. In the current release,
971
+ # it's either a static list of accounts provided by the customer or a
972
+ # custom Amazon Web Services Lambda handler.
973
+ #
974
+ # @option params [String] :description
975
+ # The description of the account pool.
976
+ #
977
+ # @option params [required, String] :domain_identifier
978
+ # The ID of the domain where the account pool is created.
979
+ #
980
+ # @option params [required, String] :name
981
+ # The name of the account pool.
982
+ #
983
+ # @option params [required, String] :resolution_strategy
984
+ # The mechanism used to resolve the account selection from the account
985
+ # pool.
986
+ #
987
+ # @return [Types::CreateAccountPoolOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
988
+ #
989
+ # * {Types::CreateAccountPoolOutput#account_source #account_source} => Types::AccountSource
990
+ # * {Types::CreateAccountPoolOutput#created_at #created_at} => Time
991
+ # * {Types::CreateAccountPoolOutput#created_by #created_by} => String
992
+ # * {Types::CreateAccountPoolOutput#description #description} => String
993
+ # * {Types::CreateAccountPoolOutput#domain_id #domain_id} => String
994
+ # * {Types::CreateAccountPoolOutput#domain_unit_id #domain_unit_id} => String
995
+ # * {Types::CreateAccountPoolOutput#id #id} => String
996
+ # * {Types::CreateAccountPoolOutput#last_updated_at #last_updated_at} => Time
997
+ # * {Types::CreateAccountPoolOutput#name #name} => String
998
+ # * {Types::CreateAccountPoolOutput#resolution_strategy #resolution_strategy} => String
999
+ # * {Types::CreateAccountPoolOutput#updated_by #updated_by} => String
1000
+ #
1001
+ # @example Request syntax with placeholder values
1002
+ #
1003
+ # resp = client.create_account_pool({
1004
+ # account_source: { # required
1005
+ # accounts: [
1006
+ # {
1007
+ # aws_account_id: "AwsAccountId", # required
1008
+ # aws_account_name: "AwsAccountName",
1009
+ # supported_regions: ["AwsRegion"], # required
1010
+ # },
1011
+ # ],
1012
+ # custom_account_pool_handler: {
1013
+ # lambda_execution_role_arn: "LambdaExecutionRoleArn",
1014
+ # lambda_function_arn: "LambdaFunctionArn", # required
1015
+ # },
1016
+ # },
1017
+ # description: "Description",
1018
+ # domain_identifier: "DomainId", # required
1019
+ # name: "AccountPoolName", # required
1020
+ # resolution_strategy: "MANUAL", # required, accepts MANUAL
1021
+ # })
1022
+ #
1023
+ # @example Response structure
1024
+ #
1025
+ # resp.account_source.accounts #=> Array
1026
+ # resp.account_source.accounts[0].aws_account_id #=> String
1027
+ # resp.account_source.accounts[0].aws_account_name #=> String
1028
+ # resp.account_source.accounts[0].supported_regions #=> Array
1029
+ # resp.account_source.accounts[0].supported_regions[0] #=> String
1030
+ # resp.account_source.custom_account_pool_handler.lambda_execution_role_arn #=> String
1031
+ # resp.account_source.custom_account_pool_handler.lambda_function_arn #=> String
1032
+ # resp.created_at #=> Time
1033
+ # resp.created_by #=> String
1034
+ # resp.description #=> String
1035
+ # resp.domain_id #=> String
1036
+ # resp.domain_unit_id #=> String
1037
+ # resp.id #=> String
1038
+ # resp.last_updated_at #=> Time
1039
+ # resp.name #=> String
1040
+ # resp.resolution_strategy #=> String, one of "MANUAL"
1041
+ # resp.updated_by #=> String
1042
+ #
1043
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/CreateAccountPool AWS API Documentation
1044
+ #
1045
+ # @overload create_account_pool(params = {})
1046
+ # @param [Hash] params ({})
1047
+ def create_account_pool(params = {}, options = {})
1048
+ req = build_request(:create_account_pool, params)
1049
+ req.send_request(options)
1050
+ end
1051
+
970
1052
  # Creates an asset in Amazon DataZone catalog.
971
1053
  #
972
1054
  # @option params [String] :client_token
@@ -3070,6 +3152,11 @@ module Aws::DataZone
3070
3152
  # value: "String",
3071
3153
  # },
3072
3154
  # ],
3155
+ # environment_resolved_account: {
3156
+ # aws_account_id: "AwsAccountId", # required
3157
+ # region_name: "AwsRegion", # required
3158
+ # source_account_pool_id: "AccountPoolId",
3159
+ # },
3073
3160
  # },
3074
3161
  # ],
3075
3162
  # })
@@ -3102,6 +3189,9 @@ module Aws::DataZone
3102
3189
  # resp.user_parameters[0].environment_parameters #=> Array
3103
3190
  # resp.user_parameters[0].environment_parameters[0].name #=> String
3104
3191
  # resp.user_parameters[0].environment_parameters[0].value #=> String
3192
+ # resp.user_parameters[0].environment_resolved_account.aws_account_id #=> String
3193
+ # resp.user_parameters[0].environment_resolved_account.region_name #=> String
3194
+ # resp.user_parameters[0].environment_resolved_account.source_account_pool_id #=> String
3105
3195
  #
3106
3196
  # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/CreateProject AWS API Documentation
3107
3197
  #
@@ -3191,11 +3281,12 @@ module Aws::DataZone
3191
3281
  # domain_unit_identifier: "DomainUnitId",
3192
3282
  # environment_configurations: [
3193
3283
  # {
3194
- # aws_account: { # required
3284
+ # account_pools: ["AccountPoolId"],
3285
+ # aws_account: {
3195
3286
  # aws_account_id: "AwsAccountId",
3196
3287
  # aws_account_id_path: "ParameterStorePath",
3197
3288
  # },
3198
- # aws_region: { # required
3289
+ # aws_region: {
3199
3290
  # region_name: "RegionName",
3200
3291
  # region_name_path: "ParameterStorePath",
3201
3292
  # },
@@ -3236,6 +3327,8 @@ module Aws::DataZone
3236
3327
  # resp.domain_id #=> String
3237
3328
  # resp.domain_unit_id #=> String
3238
3329
  # resp.environment_configurations #=> Array
3330
+ # resp.environment_configurations[0].account_pools #=> Array
3331
+ # resp.environment_configurations[0].account_pools[0] #=> String
3239
3332
  # resp.environment_configurations[0].aws_account.aws_account_id #=> String
3240
3333
  # resp.environment_configurations[0].aws_account.aws_account_id_path #=> String
3241
3334
  # resp.environment_configurations[0].aws_region.region_name #=> String
@@ -3781,6 +3874,32 @@ module Aws::DataZone
3781
3874
  req.send_request(options)
3782
3875
  end
3783
3876
 
3877
+ # Deletes an account pool.
3878
+ #
3879
+ # @option params [required, String] :domain_identifier
3880
+ # The ID of the domain where the account pool is deleted.
3881
+ #
3882
+ # @option params [required, String] :identifier
3883
+ # The ID of the account pool to be deleted.
3884
+ #
3885
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3886
+ #
3887
+ # @example Request syntax with placeholder values
3888
+ #
3889
+ # resp = client.delete_account_pool({
3890
+ # domain_identifier: "DomainId", # required
3891
+ # identifier: "AccountPoolId", # required
3892
+ # })
3893
+ #
3894
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/DeleteAccountPool AWS API Documentation
3895
+ #
3896
+ # @overload delete_account_pool(params = {})
3897
+ # @param [Hash] params ({})
3898
+ def delete_account_pool(params = {}, options = {})
3899
+ req = build_request(:delete_account_pool, params)
3900
+ req.send_request(options)
3901
+ end
3902
+
3784
3903
  # Deletes an asset in Amazon DataZone.
3785
3904
  #
3786
3905
  # @option params [required, String] :domain_identifier
@@ -4669,6 +4788,65 @@ module Aws::DataZone
4669
4788
  req.send_request(options)
4670
4789
  end
4671
4790
 
4791
+ # Gets the details of the account pool.
4792
+ #
4793
+ # @option params [required, String] :domain_identifier
4794
+ # The ID of the domain in which the account pool lives whose details are
4795
+ # to be displayed.
4796
+ #
4797
+ # @option params [required, String] :identifier
4798
+ # The ID of the account pool whose details are to be displayed.
4799
+ #
4800
+ # @return [Types::GetAccountPoolOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4801
+ #
4802
+ # * {Types::GetAccountPoolOutput#account_source #account_source} => Types::AccountSource
4803
+ # * {Types::GetAccountPoolOutput#created_at #created_at} => Time
4804
+ # * {Types::GetAccountPoolOutput#created_by #created_by} => String
4805
+ # * {Types::GetAccountPoolOutput#description #description} => String
4806
+ # * {Types::GetAccountPoolOutput#domain_id #domain_id} => String
4807
+ # * {Types::GetAccountPoolOutput#domain_unit_id #domain_unit_id} => String
4808
+ # * {Types::GetAccountPoolOutput#id #id} => String
4809
+ # * {Types::GetAccountPoolOutput#last_updated_at #last_updated_at} => Time
4810
+ # * {Types::GetAccountPoolOutput#name #name} => String
4811
+ # * {Types::GetAccountPoolOutput#resolution_strategy #resolution_strategy} => String
4812
+ # * {Types::GetAccountPoolOutput#updated_by #updated_by} => String
4813
+ #
4814
+ # @example Request syntax with placeholder values
4815
+ #
4816
+ # resp = client.get_account_pool({
4817
+ # domain_identifier: "DomainId", # required
4818
+ # identifier: "AccountPoolId", # required
4819
+ # })
4820
+ #
4821
+ # @example Response structure
4822
+ #
4823
+ # resp.account_source.accounts #=> Array
4824
+ # resp.account_source.accounts[0].aws_account_id #=> String
4825
+ # resp.account_source.accounts[0].aws_account_name #=> String
4826
+ # resp.account_source.accounts[0].supported_regions #=> Array
4827
+ # resp.account_source.accounts[0].supported_regions[0] #=> String
4828
+ # resp.account_source.custom_account_pool_handler.lambda_execution_role_arn #=> String
4829
+ # resp.account_source.custom_account_pool_handler.lambda_function_arn #=> String
4830
+ # resp.created_at #=> Time
4831
+ # resp.created_by #=> String
4832
+ # resp.description #=> String
4833
+ # resp.domain_id #=> String
4834
+ # resp.domain_unit_id #=> String
4835
+ # resp.id #=> String
4836
+ # resp.last_updated_at #=> Time
4837
+ # resp.name #=> String
4838
+ # resp.resolution_strategy #=> String, one of "MANUAL"
4839
+ # resp.updated_by #=> String
4840
+ #
4841
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/GetAccountPool AWS API Documentation
4842
+ #
4843
+ # @overload get_account_pool(params = {})
4844
+ # @param [Hash] params ({})
4845
+ def get_account_pool(params = {}, options = {})
4846
+ req = build_request(:get_account_pool, params)
4847
+ req.send_request(options)
4848
+ end
4849
+
4672
4850
  # Gets an Amazon DataZone asset.
4673
4851
  #
4674
4852
  # @option params [required, String] :domain_identifier
@@ -6408,6 +6586,9 @@ module Aws::DataZone
6408
6586
  # resp.user_parameters[0].environment_parameters #=> Array
6409
6587
  # resp.user_parameters[0].environment_parameters[0].name #=> String
6410
6588
  # resp.user_parameters[0].environment_parameters[0].value #=> String
6589
+ # resp.user_parameters[0].environment_resolved_account.aws_account_id #=> String
6590
+ # resp.user_parameters[0].environment_resolved_account.region_name #=> String
6591
+ # resp.user_parameters[0].environment_resolved_account.source_account_pool_id #=> String
6411
6592
  #
6412
6593
  # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/GetProject AWS API Documentation
6413
6594
  #
@@ -6454,6 +6635,8 @@ module Aws::DataZone
6454
6635
  # resp.domain_id #=> String
6455
6636
  # resp.domain_unit_id #=> String
6456
6637
  # resp.environment_configurations #=> Array
6638
+ # resp.environment_configurations[0].account_pools #=> Array
6639
+ # resp.environment_configurations[0].account_pools[0] #=> String
6457
6640
  # resp.environment_configurations[0].aws_account.aws_account_id #=> String
6458
6641
  # resp.environment_configurations[0].aws_account.aws_account_id_path #=> String
6459
6642
  # resp.environment_configurations[0].aws_region.region_name #=> String
@@ -6984,6 +7167,133 @@ module Aws::DataZone
6984
7167
  req.send_request(options)
6985
7168
  end
6986
7169
 
7170
+ # Lists existing account pools.
7171
+ #
7172
+ # @option params [required, String] :domain_identifier
7173
+ # The ID of the domain where exsting account pools are to be listed.
7174
+ #
7175
+ # @option params [Integer] :max_results
7176
+ # The maximum number of account pools to return in a single call to
7177
+ # ListAccountPools. When the number of account pools to be listed is
7178
+ # greater than the value of MaxResults, the response contains a
7179
+ # NextToken value that you can use in a subsequent call to
7180
+ # ListAccountPools to list the next set of account pools.
7181
+ #
7182
+ # @option params [String] :name
7183
+ # The name of the account pool to be listed.
7184
+ #
7185
+ # @option params [String] :next_token
7186
+ # When the number of account pools is greater than the default value for
7187
+ # the MaxResults parameter, or if you explicitly specify a value for
7188
+ # MaxResults that is less than the number of account pools, the response
7189
+ # includes a pagination token named NextToken. You can specify this
7190
+ # NextToken value in a subsequent call to ListAccountPools to list the
7191
+ # next set of account pools.
7192
+ #
7193
+ # @option params [String] :sort_by
7194
+ # The sort by mechanism in which the existing account pools are to be
7195
+ # listed.
7196
+ #
7197
+ # @option params [String] :sort_order
7198
+ # The sort order in which the existing account pools are to be listed.
7199
+ #
7200
+ # @return [Types::ListAccountPoolsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7201
+ #
7202
+ # * {Types::ListAccountPoolsOutput#items #items} => Array<Types::AccountPoolSummary>
7203
+ # * {Types::ListAccountPoolsOutput#next_token #next_token} => String
7204
+ #
7205
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7206
+ #
7207
+ # @example Request syntax with placeholder values
7208
+ #
7209
+ # resp = client.list_account_pools({
7210
+ # domain_identifier: "DomainId", # required
7211
+ # max_results: 1,
7212
+ # name: "AccountPoolName",
7213
+ # next_token: "PaginationToken",
7214
+ # sort_by: "NAME", # accepts NAME
7215
+ # sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
7216
+ # })
7217
+ #
7218
+ # @example Response structure
7219
+ #
7220
+ # resp.items #=> Array
7221
+ # resp.items[0].created_by #=> String
7222
+ # resp.items[0].domain_id #=> String
7223
+ # resp.items[0].domain_unit_id #=> String
7224
+ # resp.items[0].id #=> String
7225
+ # resp.items[0].name #=> String
7226
+ # resp.items[0].resolution_strategy #=> String, one of "MANUAL"
7227
+ # resp.items[0].updated_by #=> String
7228
+ # resp.next_token #=> String
7229
+ #
7230
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/ListAccountPools AWS API Documentation
7231
+ #
7232
+ # @overload list_account_pools(params = {})
7233
+ # @param [Hash] params ({})
7234
+ def list_account_pools(params = {}, options = {})
7235
+ req = build_request(:list_account_pools, params)
7236
+ req.send_request(options)
7237
+ end
7238
+
7239
+ # Lists the accounts in the specified account pool.
7240
+ #
7241
+ # @option params [required, String] :domain_identifier
7242
+ # The ID of the domain in which the accounts in the specified account
7243
+ # pool are to be listed.
7244
+ #
7245
+ # @option params [required, String] :identifier
7246
+ # The ID of the account pool whose accounts are to be listed.
7247
+ #
7248
+ # @option params [Integer] :max_results
7249
+ # The maximum number of accounts to return in a single call to
7250
+ # ListAccountsInAccountPool. When the number of accounts to be listed is
7251
+ # greater than the value of MaxResults, the response contains a
7252
+ # NextToken value that you can use in a subsequent call to
7253
+ # ListAccountsInAccountPool to list the next set of accounts.
7254
+ #
7255
+ # @option params [String] :next_token
7256
+ # When the number of accounts is greater than the default value for the
7257
+ # MaxResults parameter, or if you explicitly specify a value for
7258
+ # MaxResults that is less than the number of accounts, the response
7259
+ # includes a pagination token named NextToken. You can specify this
7260
+ # NextToken value in a subsequent call to ListAccountsInAccountPool to
7261
+ # list the next set of accounts.
7262
+ #
7263
+ # @return [Types::ListAccountsInAccountPoolOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7264
+ #
7265
+ # * {Types::ListAccountsInAccountPoolOutput#items #items} => Array<Types::AccountInfo>
7266
+ # * {Types::ListAccountsInAccountPoolOutput#next_token #next_token} => String
7267
+ #
7268
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7269
+ #
7270
+ # @example Request syntax with placeholder values
7271
+ #
7272
+ # resp = client.list_accounts_in_account_pool({
7273
+ # domain_identifier: "DomainId", # required
7274
+ # identifier: "AccountPoolId", # required
7275
+ # max_results: 1,
7276
+ # next_token: "PaginationToken",
7277
+ # })
7278
+ #
7279
+ # @example Response structure
7280
+ #
7281
+ # resp.items #=> Array
7282
+ # resp.items[0].aws_account_id #=> String
7283
+ # resp.items[0].aws_account_name #=> String
7284
+ # resp.items[0].supported_regions #=> Array
7285
+ # resp.items[0].supported_regions[0] #=> String
7286
+ # resp.next_token #=> String
7287
+ #
7288
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/ListAccountsInAccountPool AWS API Documentation
7289
+ #
7290
+ # @overload list_accounts_in_account_pool(params = {})
7291
+ # @param [Hash] params ({})
7292
+ def list_accounts_in_account_pool(params = {}, options = {})
7293
+ req = build_request(:list_accounts_in_account_pool, params)
7294
+ req.send_request(options)
7295
+ end
7296
+
6987
7297
  # Lists asset filters.
6988
7298
  #
6989
7299
  # @option params [required, String] :asset_identifier
@@ -10873,6 +11183,95 @@ module Aws::DataZone
10873
11183
  req.send_request(options)
10874
11184
  end
10875
11185
 
11186
+ # Updates the account pool.
11187
+ #
11188
+ # @option params [Types::AccountSource] :account_source
11189
+ # The source of accounts for the account pool. In the current release,
11190
+ # it's either a static list of accounts provided by the customer or a
11191
+ # custom Amazon Web Services Lambda handler.
11192
+ #
11193
+ # @option params [String] :description
11194
+ # The description of the account pool that is to be udpated.
11195
+ #
11196
+ # @option params [required, String] :domain_identifier
11197
+ # The domain ID where the account pool that is to be updated lives.
11198
+ #
11199
+ # @option params [required, String] :identifier
11200
+ # The ID of the account pool that is to be updated.
11201
+ #
11202
+ # @option params [String] :name
11203
+ # The name of the account pool that is to be updated.
11204
+ #
11205
+ # @option params [String] :resolution_strategy
11206
+ # The mechanism used to resolve the account selection from the account
11207
+ # pool.
11208
+ #
11209
+ # @return [Types::UpdateAccountPoolOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
11210
+ #
11211
+ # * {Types::UpdateAccountPoolOutput#account_source #account_source} => Types::AccountSource
11212
+ # * {Types::UpdateAccountPoolOutput#created_at #created_at} => Time
11213
+ # * {Types::UpdateAccountPoolOutput#created_by #created_by} => String
11214
+ # * {Types::UpdateAccountPoolOutput#description #description} => String
11215
+ # * {Types::UpdateAccountPoolOutput#domain_id #domain_id} => String
11216
+ # * {Types::UpdateAccountPoolOutput#domain_unit_id #domain_unit_id} => String
11217
+ # * {Types::UpdateAccountPoolOutput#id #id} => String
11218
+ # * {Types::UpdateAccountPoolOutput#last_updated_at #last_updated_at} => Time
11219
+ # * {Types::UpdateAccountPoolOutput#name #name} => String
11220
+ # * {Types::UpdateAccountPoolOutput#resolution_strategy #resolution_strategy} => String
11221
+ # * {Types::UpdateAccountPoolOutput#updated_by #updated_by} => String
11222
+ #
11223
+ # @example Request syntax with placeholder values
11224
+ #
11225
+ # resp = client.update_account_pool({
11226
+ # account_source: {
11227
+ # accounts: [
11228
+ # {
11229
+ # aws_account_id: "AwsAccountId", # required
11230
+ # aws_account_name: "AwsAccountName",
11231
+ # supported_regions: ["AwsRegion"], # required
11232
+ # },
11233
+ # ],
11234
+ # custom_account_pool_handler: {
11235
+ # lambda_execution_role_arn: "LambdaExecutionRoleArn",
11236
+ # lambda_function_arn: "LambdaFunctionArn", # required
11237
+ # },
11238
+ # },
11239
+ # description: "Description",
11240
+ # domain_identifier: "DomainId", # required
11241
+ # identifier: "AccountPoolId", # required
11242
+ # name: "AccountPoolName",
11243
+ # resolution_strategy: "MANUAL", # accepts MANUAL
11244
+ # })
11245
+ #
11246
+ # @example Response structure
11247
+ #
11248
+ # resp.account_source.accounts #=> Array
11249
+ # resp.account_source.accounts[0].aws_account_id #=> String
11250
+ # resp.account_source.accounts[0].aws_account_name #=> String
11251
+ # resp.account_source.accounts[0].supported_regions #=> Array
11252
+ # resp.account_source.accounts[0].supported_regions[0] #=> String
11253
+ # resp.account_source.custom_account_pool_handler.lambda_execution_role_arn #=> String
11254
+ # resp.account_source.custom_account_pool_handler.lambda_function_arn #=> String
11255
+ # resp.created_at #=> Time
11256
+ # resp.created_by #=> String
11257
+ # resp.description #=> String
11258
+ # resp.domain_id #=> String
11259
+ # resp.domain_unit_id #=> String
11260
+ # resp.id #=> String
11261
+ # resp.last_updated_at #=> Time
11262
+ # resp.name #=> String
11263
+ # resp.resolution_strategy #=> String, one of "MANUAL"
11264
+ # resp.updated_by #=> String
11265
+ #
11266
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/UpdateAccountPool AWS API Documentation
11267
+ #
11268
+ # @overload update_account_pool(params = {})
11269
+ # @param [Hash] params ({})
11270
+ def update_account_pool(params = {}, options = {})
11271
+ req = build_request(:update_account_pool, params)
11272
+ req.send_request(options)
11273
+ end
11274
+
10876
11275
  # Updates an asset filter.
10877
11276
  #
10878
11277
  # @option params [required, String] :asset_identifier
@@ -12169,6 +12568,11 @@ module Aws::DataZone
12169
12568
  # value: "String",
12170
12569
  # },
12171
12570
  # ],
12571
+ # environment_resolved_account: {
12572
+ # aws_account_id: "AwsAccountId", # required
12573
+ # region_name: "AwsRegion", # required
12574
+ # source_account_pool_id: "AccountPoolId",
12575
+ # },
12172
12576
  # },
12173
12577
  # ],
12174
12578
  # })
@@ -12201,6 +12605,9 @@ module Aws::DataZone
12201
12605
  # resp.user_parameters[0].environment_parameters #=> Array
12202
12606
  # resp.user_parameters[0].environment_parameters[0].name #=> String
12203
12607
  # resp.user_parameters[0].environment_parameters[0].value #=> String
12608
+ # resp.user_parameters[0].environment_resolved_account.aws_account_id #=> String
12609
+ # resp.user_parameters[0].environment_resolved_account.region_name #=> String
12610
+ # resp.user_parameters[0].environment_resolved_account.source_account_pool_id #=> String
12204
12611
  #
12205
12612
  # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/UpdateProject AWS API Documentation
12206
12613
  #
@@ -12255,11 +12662,12 @@ module Aws::DataZone
12255
12662
  # domain_unit_identifier: "DomainUnitId",
12256
12663
  # environment_configurations: [
12257
12664
  # {
12258
- # aws_account: { # required
12665
+ # account_pools: ["AccountPoolId"],
12666
+ # aws_account: {
12259
12667
  # aws_account_id: "AwsAccountId",
12260
12668
  # aws_account_id_path: "ParameterStorePath",
12261
12669
  # },
12262
- # aws_region: { # required
12670
+ # aws_region: {
12263
12671
  # region_name: "RegionName",
12264
12672
  # region_name_path: "ParameterStorePath",
12265
12673
  # },
@@ -12301,6 +12709,8 @@ module Aws::DataZone
12301
12709
  # resp.domain_id #=> String
12302
12710
  # resp.domain_unit_id #=> String
12303
12711
  # resp.environment_configurations #=> Array
12712
+ # resp.environment_configurations[0].account_pools #=> Array
12713
+ # resp.environment_configurations[0].account_pools[0] #=> String
12304
12714
  # resp.environment_configurations[0].aws_account.aws_account_id #=> String
12305
12715
  # resp.environment_configurations[0].aws_account.aws_account_id_path #=> String
12306
12716
  # resp.environment_configurations[0].aws_region.region_name #=> String
@@ -12809,7 +13219,7 @@ module Aws::DataZone
12809
13219
  tracer: tracer
12810
13220
  )
12811
13221
  context[:gem_name] = 'aws-sdk-datazone'
12812
- context[:gem_version] = '1.45.0'
13222
+ context[:gem_version] = '1.47.0'
12813
13223
  Seahorse::Client::Request.new(handlers, context)
12814
13224
  end
12815
13225