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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-datazone/client.rb +418 -5
- data/lib/aws-sdk-datazone/client_api.rb +256 -2
- data/lib/aws-sdk-datazone/types.rb +598 -1
- data/lib/aws-sdk-datazone.rb +1 -1
- data/sig/client.rbs +152 -6
- data/sig/types.rbs +156 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7785fca777ed39a654accdc233eddf0092a323360d4a6acce3f51e1eb72bc2a3
|
4
|
+
data.tar.gz: ce7ec741ab7da7778e7a0943b94b257f59540101a2fb17a0ebbdc7f7d569f678
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f548ebd8a2ee369e4950e97c3d175f5d37131e971bb55cfa368293bcd2f1a16a432da82d37b5880a56ae2fbef0da2716754b70b7fbba50e0ad70c316dacc1b8
|
7
|
+
data.tar.gz: b45b78946c42fc9e51e458fc1e205b68fabd63504288f18f1893db57ba80cd2429ed623b0c34bc72b5a8e84cf143ac2421f8d57b8af3f8fe91e431584607fdae
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.47.0
|
@@ -964,6 +964,91 @@ module Aws::DataZone
|
|
964
964
|
req.send_request(options)
|
965
965
|
end
|
966
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
|
+
|
967
1052
|
# Creates an asset in Amazon DataZone catalog.
|
968
1053
|
#
|
969
1054
|
# @option params [String] :client_token
|
@@ -3067,6 +3152,11 @@ module Aws::DataZone
|
|
3067
3152
|
# value: "String",
|
3068
3153
|
# },
|
3069
3154
|
# ],
|
3155
|
+
# environment_resolved_account: {
|
3156
|
+
# aws_account_id: "AwsAccountId", # required
|
3157
|
+
# region_name: "AwsRegion", # required
|
3158
|
+
# source_account_pool_id: "AccountPoolId",
|
3159
|
+
# },
|
3070
3160
|
# },
|
3071
3161
|
# ],
|
3072
3162
|
# })
|
@@ -3099,6 +3189,9 @@ module Aws::DataZone
|
|
3099
3189
|
# resp.user_parameters[0].environment_parameters #=> Array
|
3100
3190
|
# resp.user_parameters[0].environment_parameters[0].name #=> String
|
3101
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
|
3102
3195
|
#
|
3103
3196
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/CreateProject AWS API Documentation
|
3104
3197
|
#
|
@@ -3188,11 +3281,12 @@ module Aws::DataZone
|
|
3188
3281
|
# domain_unit_identifier: "DomainUnitId",
|
3189
3282
|
# environment_configurations: [
|
3190
3283
|
# {
|
3191
|
-
#
|
3284
|
+
# account_pools: ["AccountPoolId"],
|
3285
|
+
# aws_account: {
|
3192
3286
|
# aws_account_id: "AwsAccountId",
|
3193
3287
|
# aws_account_id_path: "ParameterStorePath",
|
3194
3288
|
# },
|
3195
|
-
# aws_region: {
|
3289
|
+
# aws_region: {
|
3196
3290
|
# region_name: "RegionName",
|
3197
3291
|
# region_name_path: "ParameterStorePath",
|
3198
3292
|
# },
|
@@ -3233,6 +3327,8 @@ module Aws::DataZone
|
|
3233
3327
|
# resp.domain_id #=> String
|
3234
3328
|
# resp.domain_unit_id #=> String
|
3235
3329
|
# resp.environment_configurations #=> Array
|
3330
|
+
# resp.environment_configurations[0].account_pools #=> Array
|
3331
|
+
# resp.environment_configurations[0].account_pools[0] #=> String
|
3236
3332
|
# resp.environment_configurations[0].aws_account.aws_account_id #=> String
|
3237
3333
|
# resp.environment_configurations[0].aws_account.aws_account_id_path #=> String
|
3238
3334
|
# resp.environment_configurations[0].aws_region.region_name #=> String
|
@@ -3778,6 +3874,32 @@ module Aws::DataZone
|
|
3778
3874
|
req.send_request(options)
|
3779
3875
|
end
|
3780
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
|
+
|
3781
3903
|
# Deletes an asset in Amazon DataZone.
|
3782
3904
|
#
|
3783
3905
|
# @option params [required, String] :domain_identifier
|
@@ -4666,6 +4788,65 @@ module Aws::DataZone
|
|
4666
4788
|
req.send_request(options)
|
4667
4789
|
end
|
4668
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
|
+
|
4669
4850
|
# Gets an Amazon DataZone asset.
|
4670
4851
|
#
|
4671
4852
|
# @option params [required, String] :domain_identifier
|
@@ -6405,6 +6586,9 @@ module Aws::DataZone
|
|
6405
6586
|
# resp.user_parameters[0].environment_parameters #=> Array
|
6406
6587
|
# resp.user_parameters[0].environment_parameters[0].name #=> String
|
6407
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
|
6408
6592
|
#
|
6409
6593
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/GetProject AWS API Documentation
|
6410
6594
|
#
|
@@ -6451,6 +6635,8 @@ module Aws::DataZone
|
|
6451
6635
|
# resp.domain_id #=> String
|
6452
6636
|
# resp.domain_unit_id #=> String
|
6453
6637
|
# resp.environment_configurations #=> Array
|
6638
|
+
# resp.environment_configurations[0].account_pools #=> Array
|
6639
|
+
# resp.environment_configurations[0].account_pools[0] #=> String
|
6454
6640
|
# resp.environment_configurations[0].aws_account.aws_account_id #=> String
|
6455
6641
|
# resp.environment_configurations[0].aws_account.aws_account_id_path #=> String
|
6456
6642
|
# resp.environment_configurations[0].aws_region.region_name #=> String
|
@@ -6981,6 +7167,133 @@ module Aws::DataZone
|
|
6981
7167
|
req.send_request(options)
|
6982
7168
|
end
|
6983
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
|
+
|
6984
7297
|
# Lists asset filters.
|
6985
7298
|
#
|
6986
7299
|
# @option params [required, String] :asset_identifier
|
@@ -10870,6 +11183,95 @@ module Aws::DataZone
|
|
10870
11183
|
req.send_request(options)
|
10871
11184
|
end
|
10872
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
|
+
|
10873
11275
|
# Updates an asset filter.
|
10874
11276
|
#
|
10875
11277
|
# @option params [required, String] :asset_identifier
|
@@ -12166,6 +12568,11 @@ module Aws::DataZone
|
|
12166
12568
|
# value: "String",
|
12167
12569
|
# },
|
12168
12570
|
# ],
|
12571
|
+
# environment_resolved_account: {
|
12572
|
+
# aws_account_id: "AwsAccountId", # required
|
12573
|
+
# region_name: "AwsRegion", # required
|
12574
|
+
# source_account_pool_id: "AccountPoolId",
|
12575
|
+
# },
|
12169
12576
|
# },
|
12170
12577
|
# ],
|
12171
12578
|
# })
|
@@ -12198,6 +12605,9 @@ module Aws::DataZone
|
|
12198
12605
|
# resp.user_parameters[0].environment_parameters #=> Array
|
12199
12606
|
# resp.user_parameters[0].environment_parameters[0].name #=> String
|
12200
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
|
12201
12611
|
#
|
12202
12612
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/UpdateProject AWS API Documentation
|
12203
12613
|
#
|
@@ -12252,11 +12662,12 @@ module Aws::DataZone
|
|
12252
12662
|
# domain_unit_identifier: "DomainUnitId",
|
12253
12663
|
# environment_configurations: [
|
12254
12664
|
# {
|
12255
|
-
#
|
12665
|
+
# account_pools: ["AccountPoolId"],
|
12666
|
+
# aws_account: {
|
12256
12667
|
# aws_account_id: "AwsAccountId",
|
12257
12668
|
# aws_account_id_path: "ParameterStorePath",
|
12258
12669
|
# },
|
12259
|
-
# aws_region: {
|
12670
|
+
# aws_region: {
|
12260
12671
|
# region_name: "RegionName",
|
12261
12672
|
# region_name_path: "ParameterStorePath",
|
12262
12673
|
# },
|
@@ -12298,6 +12709,8 @@ module Aws::DataZone
|
|
12298
12709
|
# resp.domain_id #=> String
|
12299
12710
|
# resp.domain_unit_id #=> String
|
12300
12711
|
# resp.environment_configurations #=> Array
|
12712
|
+
# resp.environment_configurations[0].account_pools #=> Array
|
12713
|
+
# resp.environment_configurations[0].account_pools[0] #=> String
|
12301
12714
|
# resp.environment_configurations[0].aws_account.aws_account_id #=> String
|
12302
12715
|
# resp.environment_configurations[0].aws_account.aws_account_id_path #=> String
|
12303
12716
|
# resp.environment_configurations[0].aws_region.region_name #=> String
|
@@ -12806,7 +13219,7 @@ module Aws::DataZone
|
|
12806
13219
|
tracer: tracer
|
12807
13220
|
)
|
12808
13221
|
context[:gem_name] = 'aws-sdk-datazone'
|
12809
|
-
context[:gem_version] = '1.
|
13222
|
+
context[:gem_version] = '1.47.0'
|
12810
13223
|
Seahorse::Client::Request.new(handlers, context)
|
12811
13224
|
end
|
12812
13225
|
|