aws-sdk-datazone 1.46.0 → 1.48.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-datazone/client.rb +431 -6
- data/lib/aws-sdk-datazone/client_api.rb +262 -2
- data/lib/aws-sdk-datazone/types.rb +618 -2
- data/lib/aws-sdk-datazone.rb +1 -1
- data/sig/client.rbs +154 -6
- data/sig/types.rbs +161 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 853f5bf31394901d8ccaa2aeb35447a35cc0652d3740c9f315006b5771b8f884
|
4
|
+
data.tar.gz: 19b9fabfddcd2f4001e4fe40fbfb25116064e94d769babccd0e6cdea7ba2580a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad449d371c95e57b68d773cd882c9cd02d34555f1e59e753753f189fae6233dfbfebaa4d9cb0d40567faf355c05d5f49fc10721fba1de1aede341381fe46135b
|
7
|
+
data.tar.gz: 615b24a37256506d2a439b243dfcbeb14ec025fe9add3aa542f1ebe0554600dee675ef4c6376d12abc9b4e3517abc006dcc914e5e429b50a333e469a16cd6bcc
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.48.0 (2025-08-20)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release supports policy grant identifier for cloud formation integration
|
8
|
+
|
9
|
+
1.47.0 (2025-08-13)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Adds support for account pools and project profile account decoupling
|
13
|
+
|
4
14
|
1.46.0 (2025-08-04)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.48.0
|
@@ -733,7 +733,9 @@ module Aws::DataZone
|
|
733
733
|
# @option params [required, Types::PolicyGrantPrincipal] :principal
|
734
734
|
# The principal to whom the permissions are granted.
|
735
735
|
#
|
736
|
-
# @return [
|
736
|
+
# @return [Types::AddPolicyGrantOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
737
|
+
#
|
738
|
+
# * {Types::AddPolicyGrantOutput#grant_id #grant_id} => String
|
737
739
|
#
|
738
740
|
# @example Request syntax with placeholder values
|
739
741
|
#
|
@@ -815,6 +817,10 @@ module Aws::DataZone
|
|
815
817
|
# },
|
816
818
|
# })
|
817
819
|
#
|
820
|
+
# @example Response structure
|
821
|
+
#
|
822
|
+
# resp.grant_id #=> String
|
823
|
+
#
|
818
824
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/AddPolicyGrant AWS API Documentation
|
819
825
|
#
|
820
826
|
# @overload add_policy_grant(params = {})
|
@@ -964,6 +970,91 @@ module Aws::DataZone
|
|
964
970
|
req.send_request(options)
|
965
971
|
end
|
966
972
|
|
973
|
+
# Creates an account pool.
|
974
|
+
#
|
975
|
+
# @option params [required, Types::AccountSource] :account_source
|
976
|
+
# The source of accounts for the account pool. In the current release,
|
977
|
+
# it's either a static list of accounts provided by the customer or a
|
978
|
+
# custom Amazon Web Services Lambda handler.
|
979
|
+
#
|
980
|
+
# @option params [String] :description
|
981
|
+
# The description of the account pool.
|
982
|
+
#
|
983
|
+
# @option params [required, String] :domain_identifier
|
984
|
+
# The ID of the domain where the account pool is created.
|
985
|
+
#
|
986
|
+
# @option params [required, String] :name
|
987
|
+
# The name of the account pool.
|
988
|
+
#
|
989
|
+
# @option params [required, String] :resolution_strategy
|
990
|
+
# The mechanism used to resolve the account selection from the account
|
991
|
+
# pool.
|
992
|
+
#
|
993
|
+
# @return [Types::CreateAccountPoolOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
994
|
+
#
|
995
|
+
# * {Types::CreateAccountPoolOutput#account_source #account_source} => Types::AccountSource
|
996
|
+
# * {Types::CreateAccountPoolOutput#created_at #created_at} => Time
|
997
|
+
# * {Types::CreateAccountPoolOutput#created_by #created_by} => String
|
998
|
+
# * {Types::CreateAccountPoolOutput#description #description} => String
|
999
|
+
# * {Types::CreateAccountPoolOutput#domain_id #domain_id} => String
|
1000
|
+
# * {Types::CreateAccountPoolOutput#domain_unit_id #domain_unit_id} => String
|
1001
|
+
# * {Types::CreateAccountPoolOutput#id #id} => String
|
1002
|
+
# * {Types::CreateAccountPoolOutput#last_updated_at #last_updated_at} => Time
|
1003
|
+
# * {Types::CreateAccountPoolOutput#name #name} => String
|
1004
|
+
# * {Types::CreateAccountPoolOutput#resolution_strategy #resolution_strategy} => String
|
1005
|
+
# * {Types::CreateAccountPoolOutput#updated_by #updated_by} => String
|
1006
|
+
#
|
1007
|
+
# @example Request syntax with placeholder values
|
1008
|
+
#
|
1009
|
+
# resp = client.create_account_pool({
|
1010
|
+
# account_source: { # required
|
1011
|
+
# accounts: [
|
1012
|
+
# {
|
1013
|
+
# aws_account_id: "AwsAccountId", # required
|
1014
|
+
# aws_account_name: "AwsAccountName",
|
1015
|
+
# supported_regions: ["AwsRegion"], # required
|
1016
|
+
# },
|
1017
|
+
# ],
|
1018
|
+
# custom_account_pool_handler: {
|
1019
|
+
# lambda_execution_role_arn: "LambdaExecutionRoleArn",
|
1020
|
+
# lambda_function_arn: "LambdaFunctionArn", # required
|
1021
|
+
# },
|
1022
|
+
# },
|
1023
|
+
# description: "Description",
|
1024
|
+
# domain_identifier: "DomainId", # required
|
1025
|
+
# name: "AccountPoolName", # required
|
1026
|
+
# resolution_strategy: "MANUAL", # required, accepts MANUAL
|
1027
|
+
# })
|
1028
|
+
#
|
1029
|
+
# @example Response structure
|
1030
|
+
#
|
1031
|
+
# resp.account_source.accounts #=> Array
|
1032
|
+
# resp.account_source.accounts[0].aws_account_id #=> String
|
1033
|
+
# resp.account_source.accounts[0].aws_account_name #=> String
|
1034
|
+
# resp.account_source.accounts[0].supported_regions #=> Array
|
1035
|
+
# resp.account_source.accounts[0].supported_regions[0] #=> String
|
1036
|
+
# resp.account_source.custom_account_pool_handler.lambda_execution_role_arn #=> String
|
1037
|
+
# resp.account_source.custom_account_pool_handler.lambda_function_arn #=> String
|
1038
|
+
# resp.created_at #=> Time
|
1039
|
+
# resp.created_by #=> String
|
1040
|
+
# resp.description #=> String
|
1041
|
+
# resp.domain_id #=> String
|
1042
|
+
# resp.domain_unit_id #=> String
|
1043
|
+
# resp.id #=> String
|
1044
|
+
# resp.last_updated_at #=> Time
|
1045
|
+
# resp.name #=> String
|
1046
|
+
# resp.resolution_strategy #=> String, one of "MANUAL"
|
1047
|
+
# resp.updated_by #=> String
|
1048
|
+
#
|
1049
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/CreateAccountPool AWS API Documentation
|
1050
|
+
#
|
1051
|
+
# @overload create_account_pool(params = {})
|
1052
|
+
# @param [Hash] params ({})
|
1053
|
+
def create_account_pool(params = {}, options = {})
|
1054
|
+
req = build_request(:create_account_pool, params)
|
1055
|
+
req.send_request(options)
|
1056
|
+
end
|
1057
|
+
|
967
1058
|
# Creates an asset in Amazon DataZone catalog.
|
968
1059
|
#
|
969
1060
|
# @option params [String] :client_token
|
@@ -3067,6 +3158,11 @@ module Aws::DataZone
|
|
3067
3158
|
# value: "String",
|
3068
3159
|
# },
|
3069
3160
|
# ],
|
3161
|
+
# environment_resolved_account: {
|
3162
|
+
# aws_account_id: "AwsAccountId", # required
|
3163
|
+
# region_name: "AwsRegion", # required
|
3164
|
+
# source_account_pool_id: "AccountPoolId",
|
3165
|
+
# },
|
3070
3166
|
# },
|
3071
3167
|
# ],
|
3072
3168
|
# })
|
@@ -3099,6 +3195,9 @@ module Aws::DataZone
|
|
3099
3195
|
# resp.user_parameters[0].environment_parameters #=> Array
|
3100
3196
|
# resp.user_parameters[0].environment_parameters[0].name #=> String
|
3101
3197
|
# resp.user_parameters[0].environment_parameters[0].value #=> String
|
3198
|
+
# resp.user_parameters[0].environment_resolved_account.aws_account_id #=> String
|
3199
|
+
# resp.user_parameters[0].environment_resolved_account.region_name #=> String
|
3200
|
+
# resp.user_parameters[0].environment_resolved_account.source_account_pool_id #=> String
|
3102
3201
|
#
|
3103
3202
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/CreateProject AWS API Documentation
|
3104
3203
|
#
|
@@ -3188,11 +3287,12 @@ module Aws::DataZone
|
|
3188
3287
|
# domain_unit_identifier: "DomainUnitId",
|
3189
3288
|
# environment_configurations: [
|
3190
3289
|
# {
|
3191
|
-
#
|
3290
|
+
# account_pools: ["AccountPoolId"],
|
3291
|
+
# aws_account: {
|
3192
3292
|
# aws_account_id: "AwsAccountId",
|
3193
3293
|
# aws_account_id_path: "ParameterStorePath",
|
3194
3294
|
# },
|
3195
|
-
# aws_region: {
|
3295
|
+
# aws_region: {
|
3196
3296
|
# region_name: "RegionName",
|
3197
3297
|
# region_name_path: "ParameterStorePath",
|
3198
3298
|
# },
|
@@ -3233,6 +3333,8 @@ module Aws::DataZone
|
|
3233
3333
|
# resp.domain_id #=> String
|
3234
3334
|
# resp.domain_unit_id #=> String
|
3235
3335
|
# resp.environment_configurations #=> Array
|
3336
|
+
# resp.environment_configurations[0].account_pools #=> Array
|
3337
|
+
# resp.environment_configurations[0].account_pools[0] #=> String
|
3236
3338
|
# resp.environment_configurations[0].aws_account.aws_account_id #=> String
|
3237
3339
|
# resp.environment_configurations[0].aws_account.aws_account_id_path #=> String
|
3238
3340
|
# resp.environment_configurations[0].aws_region.region_name #=> String
|
@@ -3778,6 +3880,32 @@ module Aws::DataZone
|
|
3778
3880
|
req.send_request(options)
|
3779
3881
|
end
|
3780
3882
|
|
3883
|
+
# Deletes an account pool.
|
3884
|
+
#
|
3885
|
+
# @option params [required, String] :domain_identifier
|
3886
|
+
# The ID of the domain where the account pool is deleted.
|
3887
|
+
#
|
3888
|
+
# @option params [required, String] :identifier
|
3889
|
+
# The ID of the account pool to be deleted.
|
3890
|
+
#
|
3891
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3892
|
+
#
|
3893
|
+
# @example Request syntax with placeholder values
|
3894
|
+
#
|
3895
|
+
# resp = client.delete_account_pool({
|
3896
|
+
# domain_identifier: "DomainId", # required
|
3897
|
+
# identifier: "AccountPoolId", # required
|
3898
|
+
# })
|
3899
|
+
#
|
3900
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/DeleteAccountPool AWS API Documentation
|
3901
|
+
#
|
3902
|
+
# @overload delete_account_pool(params = {})
|
3903
|
+
# @param [Hash] params ({})
|
3904
|
+
def delete_account_pool(params = {}, options = {})
|
3905
|
+
req = build_request(:delete_account_pool, params)
|
3906
|
+
req.send_request(options)
|
3907
|
+
end
|
3908
|
+
|
3781
3909
|
# Deletes an asset in Amazon DataZone.
|
3782
3910
|
#
|
3783
3911
|
# @option params [required, String] :domain_identifier
|
@@ -4666,6 +4794,65 @@ module Aws::DataZone
|
|
4666
4794
|
req.send_request(options)
|
4667
4795
|
end
|
4668
4796
|
|
4797
|
+
# Gets the details of the account pool.
|
4798
|
+
#
|
4799
|
+
# @option params [required, String] :domain_identifier
|
4800
|
+
# The ID of the domain in which the account pool lives whose details are
|
4801
|
+
# to be displayed.
|
4802
|
+
#
|
4803
|
+
# @option params [required, String] :identifier
|
4804
|
+
# The ID of the account pool whose details are to be displayed.
|
4805
|
+
#
|
4806
|
+
# @return [Types::GetAccountPoolOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4807
|
+
#
|
4808
|
+
# * {Types::GetAccountPoolOutput#account_source #account_source} => Types::AccountSource
|
4809
|
+
# * {Types::GetAccountPoolOutput#created_at #created_at} => Time
|
4810
|
+
# * {Types::GetAccountPoolOutput#created_by #created_by} => String
|
4811
|
+
# * {Types::GetAccountPoolOutput#description #description} => String
|
4812
|
+
# * {Types::GetAccountPoolOutput#domain_id #domain_id} => String
|
4813
|
+
# * {Types::GetAccountPoolOutput#domain_unit_id #domain_unit_id} => String
|
4814
|
+
# * {Types::GetAccountPoolOutput#id #id} => String
|
4815
|
+
# * {Types::GetAccountPoolOutput#last_updated_at #last_updated_at} => Time
|
4816
|
+
# * {Types::GetAccountPoolOutput#name #name} => String
|
4817
|
+
# * {Types::GetAccountPoolOutput#resolution_strategy #resolution_strategy} => String
|
4818
|
+
# * {Types::GetAccountPoolOutput#updated_by #updated_by} => String
|
4819
|
+
#
|
4820
|
+
# @example Request syntax with placeholder values
|
4821
|
+
#
|
4822
|
+
# resp = client.get_account_pool({
|
4823
|
+
# domain_identifier: "DomainId", # required
|
4824
|
+
# identifier: "AccountPoolId", # required
|
4825
|
+
# })
|
4826
|
+
#
|
4827
|
+
# @example Response structure
|
4828
|
+
#
|
4829
|
+
# resp.account_source.accounts #=> Array
|
4830
|
+
# resp.account_source.accounts[0].aws_account_id #=> String
|
4831
|
+
# resp.account_source.accounts[0].aws_account_name #=> String
|
4832
|
+
# resp.account_source.accounts[0].supported_regions #=> Array
|
4833
|
+
# resp.account_source.accounts[0].supported_regions[0] #=> String
|
4834
|
+
# resp.account_source.custom_account_pool_handler.lambda_execution_role_arn #=> String
|
4835
|
+
# resp.account_source.custom_account_pool_handler.lambda_function_arn #=> String
|
4836
|
+
# resp.created_at #=> Time
|
4837
|
+
# resp.created_by #=> String
|
4838
|
+
# resp.description #=> String
|
4839
|
+
# resp.domain_id #=> String
|
4840
|
+
# resp.domain_unit_id #=> String
|
4841
|
+
# resp.id #=> String
|
4842
|
+
# resp.last_updated_at #=> Time
|
4843
|
+
# resp.name #=> String
|
4844
|
+
# resp.resolution_strategy #=> String, one of "MANUAL"
|
4845
|
+
# resp.updated_by #=> String
|
4846
|
+
#
|
4847
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/GetAccountPool AWS API Documentation
|
4848
|
+
#
|
4849
|
+
# @overload get_account_pool(params = {})
|
4850
|
+
# @param [Hash] params ({})
|
4851
|
+
def get_account_pool(params = {}, options = {})
|
4852
|
+
req = build_request(:get_account_pool, params)
|
4853
|
+
req.send_request(options)
|
4854
|
+
end
|
4855
|
+
|
4669
4856
|
# Gets an Amazon DataZone asset.
|
4670
4857
|
#
|
4671
4858
|
# @option params [required, String] :domain_identifier
|
@@ -6405,6 +6592,9 @@ module Aws::DataZone
|
|
6405
6592
|
# resp.user_parameters[0].environment_parameters #=> Array
|
6406
6593
|
# resp.user_parameters[0].environment_parameters[0].name #=> String
|
6407
6594
|
# resp.user_parameters[0].environment_parameters[0].value #=> String
|
6595
|
+
# resp.user_parameters[0].environment_resolved_account.aws_account_id #=> String
|
6596
|
+
# resp.user_parameters[0].environment_resolved_account.region_name #=> String
|
6597
|
+
# resp.user_parameters[0].environment_resolved_account.source_account_pool_id #=> String
|
6408
6598
|
#
|
6409
6599
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/GetProject AWS API Documentation
|
6410
6600
|
#
|
@@ -6451,6 +6641,8 @@ module Aws::DataZone
|
|
6451
6641
|
# resp.domain_id #=> String
|
6452
6642
|
# resp.domain_unit_id #=> String
|
6453
6643
|
# resp.environment_configurations #=> Array
|
6644
|
+
# resp.environment_configurations[0].account_pools #=> Array
|
6645
|
+
# resp.environment_configurations[0].account_pools[0] #=> String
|
6454
6646
|
# resp.environment_configurations[0].aws_account.aws_account_id #=> String
|
6455
6647
|
# resp.environment_configurations[0].aws_account.aws_account_id_path #=> String
|
6456
6648
|
# resp.environment_configurations[0].aws_region.region_name #=> String
|
@@ -6981,6 +7173,133 @@ module Aws::DataZone
|
|
6981
7173
|
req.send_request(options)
|
6982
7174
|
end
|
6983
7175
|
|
7176
|
+
# Lists existing account pools.
|
7177
|
+
#
|
7178
|
+
# @option params [required, String] :domain_identifier
|
7179
|
+
# The ID of the domain where exsting account pools are to be listed.
|
7180
|
+
#
|
7181
|
+
# @option params [Integer] :max_results
|
7182
|
+
# The maximum number of account pools to return in a single call to
|
7183
|
+
# ListAccountPools. When the number of account pools to be listed is
|
7184
|
+
# greater than the value of MaxResults, the response contains a
|
7185
|
+
# NextToken value that you can use in a subsequent call to
|
7186
|
+
# ListAccountPools to list the next set of account pools.
|
7187
|
+
#
|
7188
|
+
# @option params [String] :name
|
7189
|
+
# The name of the account pool to be listed.
|
7190
|
+
#
|
7191
|
+
# @option params [String] :next_token
|
7192
|
+
# When the number of account pools is greater than the default value for
|
7193
|
+
# the MaxResults parameter, or if you explicitly specify a value for
|
7194
|
+
# MaxResults that is less than the number of account pools, the response
|
7195
|
+
# includes a pagination token named NextToken. You can specify this
|
7196
|
+
# NextToken value in a subsequent call to ListAccountPools to list the
|
7197
|
+
# next set of account pools.
|
7198
|
+
#
|
7199
|
+
# @option params [String] :sort_by
|
7200
|
+
# The sort by mechanism in which the existing account pools are to be
|
7201
|
+
# listed.
|
7202
|
+
#
|
7203
|
+
# @option params [String] :sort_order
|
7204
|
+
# The sort order in which the existing account pools are to be listed.
|
7205
|
+
#
|
7206
|
+
# @return [Types::ListAccountPoolsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7207
|
+
#
|
7208
|
+
# * {Types::ListAccountPoolsOutput#items #items} => Array<Types::AccountPoolSummary>
|
7209
|
+
# * {Types::ListAccountPoolsOutput#next_token #next_token} => String
|
7210
|
+
#
|
7211
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7212
|
+
#
|
7213
|
+
# @example Request syntax with placeholder values
|
7214
|
+
#
|
7215
|
+
# resp = client.list_account_pools({
|
7216
|
+
# domain_identifier: "DomainId", # required
|
7217
|
+
# max_results: 1,
|
7218
|
+
# name: "AccountPoolName",
|
7219
|
+
# next_token: "PaginationToken",
|
7220
|
+
# sort_by: "NAME", # accepts NAME
|
7221
|
+
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
7222
|
+
# })
|
7223
|
+
#
|
7224
|
+
# @example Response structure
|
7225
|
+
#
|
7226
|
+
# resp.items #=> Array
|
7227
|
+
# resp.items[0].created_by #=> String
|
7228
|
+
# resp.items[0].domain_id #=> String
|
7229
|
+
# resp.items[0].domain_unit_id #=> String
|
7230
|
+
# resp.items[0].id #=> String
|
7231
|
+
# resp.items[0].name #=> String
|
7232
|
+
# resp.items[0].resolution_strategy #=> String, one of "MANUAL"
|
7233
|
+
# resp.items[0].updated_by #=> String
|
7234
|
+
# resp.next_token #=> String
|
7235
|
+
#
|
7236
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/ListAccountPools AWS API Documentation
|
7237
|
+
#
|
7238
|
+
# @overload list_account_pools(params = {})
|
7239
|
+
# @param [Hash] params ({})
|
7240
|
+
def list_account_pools(params = {}, options = {})
|
7241
|
+
req = build_request(:list_account_pools, params)
|
7242
|
+
req.send_request(options)
|
7243
|
+
end
|
7244
|
+
|
7245
|
+
# Lists the accounts in the specified account pool.
|
7246
|
+
#
|
7247
|
+
# @option params [required, String] :domain_identifier
|
7248
|
+
# The ID of the domain in which the accounts in the specified account
|
7249
|
+
# pool are to be listed.
|
7250
|
+
#
|
7251
|
+
# @option params [required, String] :identifier
|
7252
|
+
# The ID of the account pool whose accounts are to be listed.
|
7253
|
+
#
|
7254
|
+
# @option params [Integer] :max_results
|
7255
|
+
# The maximum number of accounts to return in a single call to
|
7256
|
+
# ListAccountsInAccountPool. When the number of accounts to be listed is
|
7257
|
+
# greater than the value of MaxResults, the response contains a
|
7258
|
+
# NextToken value that you can use in a subsequent call to
|
7259
|
+
# ListAccountsInAccountPool to list the next set of accounts.
|
7260
|
+
#
|
7261
|
+
# @option params [String] :next_token
|
7262
|
+
# When the number of accounts is greater than the default value for the
|
7263
|
+
# MaxResults parameter, or if you explicitly specify a value for
|
7264
|
+
# MaxResults that is less than the number of accounts, the response
|
7265
|
+
# includes a pagination token named NextToken. You can specify this
|
7266
|
+
# NextToken value in a subsequent call to ListAccountsInAccountPool to
|
7267
|
+
# list the next set of accounts.
|
7268
|
+
#
|
7269
|
+
# @return [Types::ListAccountsInAccountPoolOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7270
|
+
#
|
7271
|
+
# * {Types::ListAccountsInAccountPoolOutput#items #items} => Array<Types::AccountInfo>
|
7272
|
+
# * {Types::ListAccountsInAccountPoolOutput#next_token #next_token} => String
|
7273
|
+
#
|
7274
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7275
|
+
#
|
7276
|
+
# @example Request syntax with placeholder values
|
7277
|
+
#
|
7278
|
+
# resp = client.list_accounts_in_account_pool({
|
7279
|
+
# domain_identifier: "DomainId", # required
|
7280
|
+
# identifier: "AccountPoolId", # required
|
7281
|
+
# max_results: 1,
|
7282
|
+
# next_token: "PaginationToken",
|
7283
|
+
# })
|
7284
|
+
#
|
7285
|
+
# @example Response structure
|
7286
|
+
#
|
7287
|
+
# resp.items #=> Array
|
7288
|
+
# resp.items[0].aws_account_id #=> String
|
7289
|
+
# resp.items[0].aws_account_name #=> String
|
7290
|
+
# resp.items[0].supported_regions #=> Array
|
7291
|
+
# resp.items[0].supported_regions[0] #=> String
|
7292
|
+
# resp.next_token #=> String
|
7293
|
+
#
|
7294
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/ListAccountsInAccountPool AWS API Documentation
|
7295
|
+
#
|
7296
|
+
# @overload list_accounts_in_account_pool(params = {})
|
7297
|
+
# @param [Hash] params ({})
|
7298
|
+
def list_accounts_in_account_pool(params = {}, options = {})
|
7299
|
+
req = build_request(:list_accounts_in_account_pool, params)
|
7300
|
+
req.send_request(options)
|
7301
|
+
end
|
7302
|
+
|
6984
7303
|
# Lists asset filters.
|
6985
7304
|
#
|
6986
7305
|
# @option params [required, String] :asset_identifier
|
@@ -8593,6 +8912,7 @@ module Aws::DataZone
|
|
8593
8912
|
# resp.grant_list[0].detail.override_domain_unit_owners.include_child_domain_units #=> Boolean
|
8594
8913
|
# resp.grant_list[0].detail.override_project_owners.include_child_domain_units #=> Boolean
|
8595
8914
|
# resp.grant_list[0].detail.use_asset_type.domain_unit_id #=> String
|
8915
|
+
# resp.grant_list[0].grant_id #=> String
|
8596
8916
|
# resp.grant_list[0].principal.domain_unit.domain_unit_designation #=> String, one of "OWNER"
|
8597
8917
|
# resp.grant_list[0].principal.domain_unit.domain_unit_identifier #=> String
|
8598
8918
|
# resp.grant_list[0].principal.group.group_identifier #=> String
|
@@ -9908,6 +10228,10 @@ module Aws::DataZone
|
|
9908
10228
|
# @option params [required, String] :entity_type
|
9909
10229
|
# The type of the entity from which you want to remove a policy grant.
|
9910
10230
|
#
|
10231
|
+
# @option params [String] :grant_identifier
|
10232
|
+
# The ID of the policy grant that is to be removed from a specified
|
10233
|
+
# entity.
|
10234
|
+
#
|
9911
10235
|
# @option params [required, String] :policy_type
|
9912
10236
|
# The type of the policy that you want to remove.
|
9913
10237
|
#
|
@@ -9923,6 +10247,7 @@ module Aws::DataZone
|
|
9923
10247
|
# domain_identifier: "DomainId", # required
|
9924
10248
|
# entity_identifier: "String", # required
|
9925
10249
|
# entity_type: "DOMAIN_UNIT", # required, accepts DOMAIN_UNIT, ENVIRONMENT_BLUEPRINT_CONFIGURATION, ENVIRONMENT_PROFILE, ASSET_TYPE
|
10250
|
+
# grant_identifier: "GrantIdentifier",
|
9926
10251
|
# policy_type: "CREATE_DOMAIN_UNIT", # required, accepts CREATE_DOMAIN_UNIT, OVERRIDE_DOMAIN_UNIT_OWNERS, ADD_TO_PROJECT_MEMBER_POOL, OVERRIDE_PROJECT_OWNERS, CREATE_GLOSSARY, CREATE_FORM_TYPE, CREATE_ASSET_TYPE, CREATE_PROJECT, CREATE_ENVIRONMENT_PROFILE, DELEGATE_CREATE_ENVIRONMENT_PROFILE, CREATE_ENVIRONMENT, CREATE_ENVIRONMENT_FROM_BLUEPRINT, CREATE_PROJECT_FROM_PROJECT_PROFILE, USE_ASSET_TYPE
|
9927
10252
|
# principal: { # required
|
9928
10253
|
# domain_unit: {
|
@@ -10870,6 +11195,95 @@ module Aws::DataZone
|
|
10870
11195
|
req.send_request(options)
|
10871
11196
|
end
|
10872
11197
|
|
11198
|
+
# Updates the account pool.
|
11199
|
+
#
|
11200
|
+
# @option params [Types::AccountSource] :account_source
|
11201
|
+
# The source of accounts for the account pool. In the current release,
|
11202
|
+
# it's either a static list of accounts provided by the customer or a
|
11203
|
+
# custom Amazon Web Services Lambda handler.
|
11204
|
+
#
|
11205
|
+
# @option params [String] :description
|
11206
|
+
# The description of the account pool that is to be udpated.
|
11207
|
+
#
|
11208
|
+
# @option params [required, String] :domain_identifier
|
11209
|
+
# The domain ID where the account pool that is to be updated lives.
|
11210
|
+
#
|
11211
|
+
# @option params [required, String] :identifier
|
11212
|
+
# The ID of the account pool that is to be updated.
|
11213
|
+
#
|
11214
|
+
# @option params [String] :name
|
11215
|
+
# The name of the account pool that is to be updated.
|
11216
|
+
#
|
11217
|
+
# @option params [String] :resolution_strategy
|
11218
|
+
# The mechanism used to resolve the account selection from the account
|
11219
|
+
# pool.
|
11220
|
+
#
|
11221
|
+
# @return [Types::UpdateAccountPoolOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
11222
|
+
#
|
11223
|
+
# * {Types::UpdateAccountPoolOutput#account_source #account_source} => Types::AccountSource
|
11224
|
+
# * {Types::UpdateAccountPoolOutput#created_at #created_at} => Time
|
11225
|
+
# * {Types::UpdateAccountPoolOutput#created_by #created_by} => String
|
11226
|
+
# * {Types::UpdateAccountPoolOutput#description #description} => String
|
11227
|
+
# * {Types::UpdateAccountPoolOutput#domain_id #domain_id} => String
|
11228
|
+
# * {Types::UpdateAccountPoolOutput#domain_unit_id #domain_unit_id} => String
|
11229
|
+
# * {Types::UpdateAccountPoolOutput#id #id} => String
|
11230
|
+
# * {Types::UpdateAccountPoolOutput#last_updated_at #last_updated_at} => Time
|
11231
|
+
# * {Types::UpdateAccountPoolOutput#name #name} => String
|
11232
|
+
# * {Types::UpdateAccountPoolOutput#resolution_strategy #resolution_strategy} => String
|
11233
|
+
# * {Types::UpdateAccountPoolOutput#updated_by #updated_by} => String
|
11234
|
+
#
|
11235
|
+
# @example Request syntax with placeholder values
|
11236
|
+
#
|
11237
|
+
# resp = client.update_account_pool({
|
11238
|
+
# account_source: {
|
11239
|
+
# accounts: [
|
11240
|
+
# {
|
11241
|
+
# aws_account_id: "AwsAccountId", # required
|
11242
|
+
# aws_account_name: "AwsAccountName",
|
11243
|
+
# supported_regions: ["AwsRegion"], # required
|
11244
|
+
# },
|
11245
|
+
# ],
|
11246
|
+
# custom_account_pool_handler: {
|
11247
|
+
# lambda_execution_role_arn: "LambdaExecutionRoleArn",
|
11248
|
+
# lambda_function_arn: "LambdaFunctionArn", # required
|
11249
|
+
# },
|
11250
|
+
# },
|
11251
|
+
# description: "Description",
|
11252
|
+
# domain_identifier: "DomainId", # required
|
11253
|
+
# identifier: "AccountPoolId", # required
|
11254
|
+
# name: "AccountPoolName",
|
11255
|
+
# resolution_strategy: "MANUAL", # accepts MANUAL
|
11256
|
+
# })
|
11257
|
+
#
|
11258
|
+
# @example Response structure
|
11259
|
+
#
|
11260
|
+
# resp.account_source.accounts #=> Array
|
11261
|
+
# resp.account_source.accounts[0].aws_account_id #=> String
|
11262
|
+
# resp.account_source.accounts[0].aws_account_name #=> String
|
11263
|
+
# resp.account_source.accounts[0].supported_regions #=> Array
|
11264
|
+
# resp.account_source.accounts[0].supported_regions[0] #=> String
|
11265
|
+
# resp.account_source.custom_account_pool_handler.lambda_execution_role_arn #=> String
|
11266
|
+
# resp.account_source.custom_account_pool_handler.lambda_function_arn #=> String
|
11267
|
+
# resp.created_at #=> Time
|
11268
|
+
# resp.created_by #=> String
|
11269
|
+
# resp.description #=> String
|
11270
|
+
# resp.domain_id #=> String
|
11271
|
+
# resp.domain_unit_id #=> String
|
11272
|
+
# resp.id #=> String
|
11273
|
+
# resp.last_updated_at #=> Time
|
11274
|
+
# resp.name #=> String
|
11275
|
+
# resp.resolution_strategy #=> String, one of "MANUAL"
|
11276
|
+
# resp.updated_by #=> String
|
11277
|
+
#
|
11278
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/UpdateAccountPool AWS API Documentation
|
11279
|
+
#
|
11280
|
+
# @overload update_account_pool(params = {})
|
11281
|
+
# @param [Hash] params ({})
|
11282
|
+
def update_account_pool(params = {}, options = {})
|
11283
|
+
req = build_request(:update_account_pool, params)
|
11284
|
+
req.send_request(options)
|
11285
|
+
end
|
11286
|
+
|
10873
11287
|
# Updates an asset filter.
|
10874
11288
|
#
|
10875
11289
|
# @option params [required, String] :asset_identifier
|
@@ -12166,6 +12580,11 @@ module Aws::DataZone
|
|
12166
12580
|
# value: "String",
|
12167
12581
|
# },
|
12168
12582
|
# ],
|
12583
|
+
# environment_resolved_account: {
|
12584
|
+
# aws_account_id: "AwsAccountId", # required
|
12585
|
+
# region_name: "AwsRegion", # required
|
12586
|
+
# source_account_pool_id: "AccountPoolId",
|
12587
|
+
# },
|
12169
12588
|
# },
|
12170
12589
|
# ],
|
12171
12590
|
# })
|
@@ -12198,6 +12617,9 @@ module Aws::DataZone
|
|
12198
12617
|
# resp.user_parameters[0].environment_parameters #=> Array
|
12199
12618
|
# resp.user_parameters[0].environment_parameters[0].name #=> String
|
12200
12619
|
# resp.user_parameters[0].environment_parameters[0].value #=> String
|
12620
|
+
# resp.user_parameters[0].environment_resolved_account.aws_account_id #=> String
|
12621
|
+
# resp.user_parameters[0].environment_resolved_account.region_name #=> String
|
12622
|
+
# resp.user_parameters[0].environment_resolved_account.source_account_pool_id #=> String
|
12201
12623
|
#
|
12202
12624
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/UpdateProject AWS API Documentation
|
12203
12625
|
#
|
@@ -12252,11 +12674,12 @@ module Aws::DataZone
|
|
12252
12674
|
# domain_unit_identifier: "DomainUnitId",
|
12253
12675
|
# environment_configurations: [
|
12254
12676
|
# {
|
12255
|
-
#
|
12677
|
+
# account_pools: ["AccountPoolId"],
|
12678
|
+
# aws_account: {
|
12256
12679
|
# aws_account_id: "AwsAccountId",
|
12257
12680
|
# aws_account_id_path: "ParameterStorePath",
|
12258
12681
|
# },
|
12259
|
-
# aws_region: {
|
12682
|
+
# aws_region: {
|
12260
12683
|
# region_name: "RegionName",
|
12261
12684
|
# region_name_path: "ParameterStorePath",
|
12262
12685
|
# },
|
@@ -12298,6 +12721,8 @@ module Aws::DataZone
|
|
12298
12721
|
# resp.domain_id #=> String
|
12299
12722
|
# resp.domain_unit_id #=> String
|
12300
12723
|
# resp.environment_configurations #=> Array
|
12724
|
+
# resp.environment_configurations[0].account_pools #=> Array
|
12725
|
+
# resp.environment_configurations[0].account_pools[0] #=> String
|
12301
12726
|
# resp.environment_configurations[0].aws_account.aws_account_id #=> String
|
12302
12727
|
# resp.environment_configurations[0].aws_account.aws_account_id_path #=> String
|
12303
12728
|
# resp.environment_configurations[0].aws_region.region_name #=> String
|
@@ -12806,7 +13231,7 @@ module Aws::DataZone
|
|
12806
13231
|
tracer: tracer
|
12807
13232
|
)
|
12808
13233
|
context[:gem_name] = 'aws-sdk-datazone'
|
12809
|
-
context[:gem_version] = '1.
|
13234
|
+
context[:gem_version] = '1.48.0'
|
12810
13235
|
Seahorse::Client::Request.new(handlers, context)
|
12811
13236
|
end
|
12812
13237
|
|