@aws-sdk/client-organizations 3.282.0 → 3.287.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.
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-cjs/pagination/ListAWSServiceAccessForOrganizationPaginator.js +1 -8
- package/dist-cjs/pagination/ListAccountsForParentPaginator.js +1 -8
- package/dist-cjs/pagination/ListAccountsPaginator.js +1 -8
- package/dist-cjs/pagination/ListChildrenPaginator.js +1 -8
- package/dist-cjs/pagination/ListCreateAccountStatusPaginator.js +1 -8
- package/dist-cjs/pagination/ListDelegatedAdministratorsPaginator.js +1 -8
- package/dist-cjs/pagination/ListDelegatedServicesForAccountPaginator.js +1 -8
- package/dist-cjs/pagination/ListHandshakesForAccountPaginator.js +1 -8
- package/dist-cjs/pagination/ListHandshakesForOrganizationPaginator.js +1 -8
- package/dist-cjs/pagination/ListOrganizationalUnitsForParentPaginator.js +1 -8
- package/dist-cjs/pagination/ListParentsPaginator.js +1 -8
- package/dist-cjs/pagination/ListPoliciesForTargetPaginator.js +1 -8
- package/dist-cjs/pagination/ListPoliciesPaginator.js +1 -8
- package/dist-cjs/pagination/ListRootsPaginator.js +1 -8
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +1 -8
- package/dist-cjs/pagination/ListTargetsForPolicyPaginator.js +1 -8
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/ListAWSServiceAccessForOrganizationPaginator.js +1 -8
- package/dist-es/pagination/ListAccountsForParentPaginator.js +1 -8
- package/dist-es/pagination/ListAccountsPaginator.js +1 -8
- package/dist-es/pagination/ListChildrenPaginator.js +1 -8
- package/dist-es/pagination/ListCreateAccountStatusPaginator.js +1 -8
- package/dist-es/pagination/ListDelegatedAdministratorsPaginator.js +1 -8
- package/dist-es/pagination/ListDelegatedServicesForAccountPaginator.js +1 -8
- package/dist-es/pagination/ListHandshakesForAccountPaginator.js +1 -8
- package/dist-es/pagination/ListHandshakesForOrganizationPaginator.js +1 -8
- package/dist-es/pagination/ListOrganizationalUnitsForParentPaginator.js +1 -8
- package/dist-es/pagination/ListParentsPaginator.js +1 -8
- package/dist-es/pagination/ListPoliciesForTargetPaginator.js +1 -8
- package/dist-es/pagination/ListPoliciesPaginator.js +1 -8
- package/dist-es/pagination/ListRootsPaginator.js +1 -8
- package/dist-es/pagination/ListTagsForResourcePaginator.js +1 -8
- package/dist-es/pagination/ListTargetsForPolicyPaginator.js +1 -8
- package/dist-types/Organizations.d.ts +281 -278
- package/dist-types/OrganizationsClient.d.ts +27 -27
- package/dist-types/commands/AcceptHandshakeCommand.d.ts +7 -7
- package/dist-types/commands/AttachPolicyCommand.d.ts +2 -2
- package/dist-types/commands/CancelHandshakeCommand.d.ts +2 -2
- package/dist-types/commands/CloseAccountCommand.d.ts +26 -22
- package/dist-types/commands/CreateAccountCommand.d.ts +20 -20
- package/dist-types/commands/CreateGovCloudAccountCommand.d.ts +33 -35
- package/dist-types/commands/CreateOrganizationCommand.d.ts +2 -2
- package/dist-types/commands/CreateOrganizationalUnitCommand.d.ts +3 -3
- package/dist-types/commands/CreatePolicyCommand.d.ts +3 -3
- package/dist-types/commands/DeclineHandshakeCommand.d.ts +2 -2
- package/dist-types/commands/DeleteOrganizationalUnitCommand.d.ts +1 -1
- package/dist-types/commands/DeletePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterDelegatedAdministratorCommand.d.ts +4 -4
- package/dist-types/commands/DescribeAccountCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCreateAccountStatusCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEffectivePolicyCommand.d.ts +3 -3
- package/dist-types/commands/DescribeHandshakeCommand.d.ts +2 -2
- package/dist-types/commands/DescribeOrganizationCommand.d.ts +3 -3
- package/dist-types/commands/DescribeOrganizationalUnitCommand.d.ts +1 -1
- package/dist-types/commands/DescribePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +2 -1
- package/dist-types/commands/DetachPolicyCommand.d.ts +4 -4
- package/dist-types/commands/DisableAWSServiceAccessCommand.d.ts +11 -11
- package/dist-types/commands/DisablePolicyTypeCommand.d.ts +3 -3
- package/dist-types/commands/EnableAWSServiceAccessCommand.d.ts +4 -4
- package/dist-types/commands/EnableAllFeaturesCommand.d.ts +6 -6
- package/dist-types/commands/EnablePolicyTypeCommand.d.ts +3 -3
- package/dist-types/commands/InviteAccountToOrganizationCommand.d.ts +8 -8
- package/dist-types/commands/LeaveOrganizationCommand.d.ts +23 -23
- package/dist-types/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +2 -2
- package/dist-types/commands/ListAccountsCommand.d.ts +2 -2
- package/dist-types/commands/ListAccountsForParentCommand.d.ts +2 -2
- package/dist-types/commands/ListChildrenCommand.d.ts +2 -2
- package/dist-types/commands/ListCreateAccountStatusCommand.d.ts +2 -2
- package/dist-types/commands/ListDelegatedAdministratorsCommand.d.ts +1 -1
- package/dist-types/commands/ListDelegatedServicesForAccountCommand.d.ts +1 -1
- package/dist-types/commands/ListHandshakesForAccountCommand.d.ts +3 -3
- package/dist-types/commands/ListHandshakesForOrganizationCommand.d.ts +3 -3
- package/dist-types/commands/ListOrganizationalUnitsForParentCommand.d.ts +2 -2
- package/dist-types/commands/ListParentsCommand.d.ts +4 -4
- package/dist-types/commands/ListPoliciesCommand.d.ts +2 -2
- package/dist-types/commands/ListPoliciesForTargetCommand.d.ts +2 -2
- package/dist-types/commands/ListRootsCommand.d.ts +4 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +7 -7
- package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +2 -2
- package/dist-types/commands/MoveAccountCommand.d.ts +1 -1
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/RegisterDelegatedAdministratorCommand.d.ts +2 -2
- package/dist-types/commands/RemoveAccountFromOrganizationCommand.d.ts +10 -10
- package/dist-types/commands/TagResourceCommand.d.ts +7 -7
- package/dist-types/commands/UntagResourceCommand.d.ts +7 -7
- package/dist-types/commands/UpdateOrganizationalUnitCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePolicyCommand.d.ts +1 -1
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +311 -304
- package/dist-types/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/package.json +9 -9
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const E = "required", F = "type", G = "rules", H = "conditions", I = "fn", J = "argv", K = "ref", L = "url", M = "properties", N = "headers", O = "authSchemes", P = "name", Q = "signingName", R = "signingRegion";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = { [E]: false, [F]: "String" }, h = { [E]: true, "default": false, [F]: "Boolean" }, i = { [K]: "Endpoint" }, j = {}, k = { [K]: "Region" }, l = { [I]: "getAttr", [J]: [{ [K]: e }, "name"] }, m = { [H]: [{ [I]: "booleanEquals", [J]: [{ [K]: "UseFIPS" }, true] }, { [I]: "booleanEquals", [J]: [{ [K]: "UseDualStack" }, true] }], [F]: b, [G]: [{ [H]: [{ [I]: "booleanEquals", [J]: [true, { [I]: "getAttr", [J]: [{ [K]: e }, "supportsFIPS"] }] }, { [I]: "booleanEquals", [J]: [true, { [I]: "getAttr", [J]: [{ [K]: e }, "supportsDualStack"] }] }], [F]: b, [G]: [{ [d]: { [L]: "https://organizations-fips.{Region}.api.aws", [M]: {}, [N]: {} }, [F]: d }] }, { [c]: "FIPS and DualStack are enabled, but this partition does not support one or both", [F]: c }] }, n = { [c]: "FIPS and DualStack are enabled, but this partition does not support one or both", [F]: c }, o = { [L]: "https://organizations-fips.us-east-1.amazonaws.com", [M]: { [O]: [{ [P]: "sigv4", [Q]: "organizations", [R]: "us-east-1" }] }, [N]: {} }, p = { [c]: "FIPS is enabled but this partition does not support FIPS", [F]: c }, q = { [H]: [{ [I]: "booleanEquals", [J]: [{ [K]: "UseDualStack" }, true] }], [F]: b, [G]: [{ [H]: [{ [I]: "booleanEquals", [J]: [true, { [I]: "getAttr", [J]: [{ [K]: e }, "supportsDualStack"] }] }], [F]: b, [G]: [{ [d]: { [L]: "https://organizations.{Region}.api.aws", [M]: {}, [N]: {} }, [F]: d }] }, { [c]: "DualStack is enabled but this partition does not support DualStack", [F]: c }] }, r = { [c]: "DualStack is enabled but this partition does not support DualStack", [F]: c }, s = { [L]: "https://organizations.us-east-1.amazonaws.com", [M]: { [O]: [{ [P]: "sigv4", [Q]: "organizations", [R]: "us-east-1" }] }, [N]: {} }, t = { [L]: "https://organizations.cn-northwest-1.amazonaws.com.cn", [M]: { [O]: [{ [P]: "sigv4", [Q]: "organizations", [R]: "cn-northwest-1" }] }, [N]: {} }, u = { [d]: { [L]: "https://organizations.us-gov-west-1.amazonaws.com", [M]: { [O]: [{ [P]: "sigv4", [Q]: "organizations", [R]: "us-gov-west-1" }] }, [N]: {} }, [F]: d }, v = { [H]: [{ [I]: f, [J]: [k, "aws-us-gov-global"] }], [d]: { [L]: "https://organizations.us-gov-west-1.amazonaws.com", [M]: { [O]: [{ [P]: "sigv4", [Q]: "organizations", [R]: "us-gov-west-1" }] }, [N]: {} }, [F]: d }, w = [{ [I]: "booleanEquals", [J]: [{ [K]: "UseFIPS" }, true] }], x = [{ [I]: "booleanEquals", [J]: [{ [K]: "UseDualStack" }, true] }], y = [k], z = [{ [I]: "booleanEquals", [J]: [{ [K]: "UseFIPS" }, true] }, { [I]: "booleanEquals", [J]: [{ [K]: "UseDualStack" }, true] }], A = [{ [I]: "booleanEquals", [J]: [true, { [I]: "getAttr", [J]: [{ [K]: e }, "supportsFIPS"] }] }, { [I]: "booleanEquals", [J]: [true, { [I]: "getAttr", [J]: [{ [K]: e }, "supportsDualStack"] }] }], B = [{ [I]: "booleanEquals", [J]: [true, { [I]: "getAttr", [J]: [{ [K]: e }, "supportsFIPS"] }] }], C = [{ [I]: "booleanEquals", [J]: [true, { [I]: "getAttr", [J]: [{ [K]: e }, "supportsDualStack"] }] }], D = [{ [I]: f, [J]: [k, "aws-global"] }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, [G]: [{ [H]: [{ [I]: a, [J]: [i] }], [F]: b, [G]: [{ [H]: w, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [F]: c }, { [F]: b, [G]: [{ [H]: x, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [F]: c }, { endpoint: { [L]: i, [M]: j, [N]: j }, [F]: d }] }] }, { [F]: b, [G]: [{ [H]: [{ [I]: a, [J]: y }], [F]: b, [G]: [{ [H]: [{ [I]: "aws.partition", [J]: y, assign: e }], [F]: b, [G]: [{ [H]: [{ [I]: f, [J]: [l, "aws"] }], [F]: b, [G]: [m, { [H]: w, [F]: b, [G]: [{ [H]: B, [F]: b, [G]: [{ endpoint: o, [F]: d }] }, p] }, q, { endpoint: s, [F]: d }] }, { [H]: [{ [I]: f, [J]: [l, "aws-cn"] }], [F]: b, [G]: [{ [H]: z, [F]: b, [G]: [{ [H]: A, [F]: b, [G]: [{ endpoint: { [L]: "https://organizations-fips.{Region}.api.amazonwebservices.com.cn", [M]: j, [N]: j }, [F]: d }] }, n] }, { [H]: w, [F]: b, [G]: [{ [H]: B, [F]: b, [G]: [{ endpoint: { [L]: "https://organizations-fips.{Region}.amazonaws.com.cn", [M]: j, [N]: j }, [F]: d }] }, p] }, { [H]: x, [F]: b, [G]: [{ [H]: C, [F]: b, [G]: [{ endpoint: { [L]: "https://organizations.{Region}.api.amazonwebservices.com.cn", [M]: j, [N]: j }, [F]: d }] }, r] }, { endpoint: t, [F]: d }] }, { [H]: [{ [I]: f, [J]: [l, "aws-us-gov"] }], [F]: b, [G]: [m, { [H]: w, [F]: b, [G]: [{ [H]: B, [F]: b, [G]: [u] }, p] }, q, u] }, { [H]: z, [F]: b, [G]: [{ [H]: A, [F]: b, [G]: [{ [F]: b, [G]: [{ endpoint: { [L]: "https://organizations-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [M]: j, [N]: j }, [F]: d }] }] }, n] }, { [H]: w, [F]: b, [G]: [{ [H]: B, [F]: b, [G]: [{ [F]: b, [G]: [{ [H]: D, endpoint: o, [F]: d }, v, { endpoint: { [L]: "https://organizations-fips.{Region}.{PartitionResult#dnsSuffix}", [M]: j, [N]: j }, [F]: d }] }] }, p] }, { [H]: x, [F]: b, [G]: [{ [H]: C, [F]: b, [G]: [{ [F]: b, [G]: [{ endpoint: { [L]: "https://organizations.{Region}.{PartitionResult#dualStackDnsSuffix}", [M]: j, [N]: j }, [F]: d }] }] }, r] }, { [F]: b, [G]: [{ [H]: D, endpoint: s, [F]: d }, { [H]: [{ [I]: f, [J]: [k, "aws-cn-global"] }], endpoint: t, [F]: d }, v, { endpoint: { [L]: "https://organizations.{Region}.{PartitionResult#dnsSuffix}", [M]: j, [N]: j }, [F]: d }] }] }] }, { error: "Invalid Configuration: Missing Region", [F]: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -345,6 +345,7 @@ var ConstraintViolationExceptionReason;
|
|
|
345
345
|
ConstraintViolationExceptionReason["ACCOUNT_CANNOT_LEAVE_ORGANIZATION"] = "ACCOUNT_CANNOT_LEAVE_ORGANIZATION";
|
|
346
346
|
ConstraintViolationExceptionReason["ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA"] = "ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA";
|
|
347
347
|
ConstraintViolationExceptionReason["ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION"] = "ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION";
|
|
348
|
+
ConstraintViolationExceptionReason["ACCOUNT_CREATION_NOT_COMPLETE"] = "ACCOUNT_CREATION_NOT_COMPLETE";
|
|
348
349
|
ConstraintViolationExceptionReason["ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED"] = "ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED";
|
|
349
350
|
ConstraintViolationExceptionReason["ACCOUNT_NUMBER_LIMIT_EXCEEDED"] = "ACCOUNT_NUMBER_LIMIT_EXCEEDED";
|
|
350
351
|
ConstraintViolationExceptionReason["CANNOT_CLOSE_MANAGEMENT_ACCOUNT"] = "CANNOT_CLOSE_MANAGEMENT_ACCOUNT";
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAWSServiceAccessForOrganization = void 0;
|
|
4
4
|
const ListAWSServiceAccessForOrganizationCommand_1 = require("../commands/ListAWSServiceAccessForOrganizationCommand");
|
|
5
|
-
const Organizations_1 = require("../Organizations");
|
|
6
5
|
const OrganizationsClient_1 = require("../OrganizationsClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListAWSServiceAccessForOrganizationCommand_1.ListAWSServiceAccessForOrganizationCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listAWSServiceAccessForOrganization(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListAWSServiceAccessForOrganization(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListAWSServiceAccessForOrganization(config, input, ...ad
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof OrganizationsClient_1.OrganizationsClient) {
|
|
16
|
+
if (config.client instanceof OrganizationsClient_1.OrganizationsClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAccountsForParent = void 0;
|
|
4
4
|
const ListAccountsForParentCommand_1 = require("../commands/ListAccountsForParentCommand");
|
|
5
|
-
const Organizations_1 = require("../Organizations");
|
|
6
5
|
const OrganizationsClient_1 = require("../OrganizationsClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListAccountsForParentCommand_1.ListAccountsForParentCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listAccountsForParent(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListAccountsForParent(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListAccountsForParent(config, input, ...additionalArgume
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof OrganizationsClient_1.OrganizationsClient) {
|
|
16
|
+
if (config.client instanceof OrganizationsClient_1.OrganizationsClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAccounts = void 0;
|
|
4
4
|
const ListAccountsCommand_1 = require("../commands/ListAccountsCommand");
|
|
5
|
-
const Organizations_1 = require("../Organizations");
|
|
6
5
|
const OrganizationsClient_1 = require("../OrganizationsClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListAccountsCommand_1.ListAccountsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listAccounts(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListAccounts(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListAccounts(config, input, ...additionalArguments) {
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof OrganizationsClient_1.OrganizationsClient) {
|
|
16
|
+
if (config.client instanceof OrganizationsClient_1.OrganizationsClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListChildren = void 0;
|
|
4
4
|
const ListChildrenCommand_1 = require("../commands/ListChildrenCommand");
|
|
5
|
-
const Organizations_1 = require("../Organizations");
|
|
6
5
|
const OrganizationsClient_1 = require("../OrganizationsClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListChildrenCommand_1.ListChildrenCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listChildren(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListChildren(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListChildren(config, input, ...additionalArguments) {
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof OrganizationsClient_1.OrganizationsClient) {
|
|
16
|
+
if (config.client instanceof OrganizationsClient_1.OrganizationsClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListCreateAccountStatus = void 0;
|
|
4
4
|
const ListCreateAccountStatusCommand_1 = require("../commands/ListCreateAccountStatusCommand");
|
|
5
|
-
const Organizations_1 = require("../Organizations");
|
|
6
5
|
const OrganizationsClient_1 = require("../OrganizationsClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListCreateAccountStatusCommand_1.ListCreateAccountStatusCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listCreateAccountStatus(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListCreateAccountStatus(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListCreateAccountStatus(config, input, ...additionalArgu
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof OrganizationsClient_1.OrganizationsClient) {
|
|
16
|
+
if (config.client instanceof OrganizationsClient_1.OrganizationsClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDelegatedAdministrators = void 0;
|
|
4
4
|
const ListDelegatedAdministratorsCommand_1 = require("../commands/ListDelegatedAdministratorsCommand");
|
|
5
|
-
const Organizations_1 = require("../Organizations");
|
|
6
5
|
const OrganizationsClient_1 = require("../OrganizationsClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListDelegatedAdministratorsCommand_1.ListDelegatedAdministratorsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listDelegatedAdministrators(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListDelegatedAdministrators(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListDelegatedAdministrators(config, input, ...additional
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof OrganizationsClient_1.OrganizationsClient) {
|
|
16
|
+
if (config.client instanceof OrganizationsClient_1.OrganizationsClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDelegatedServicesForAccount = void 0;
|
|
4
4
|
const ListDelegatedServicesForAccountCommand_1 = require("../commands/ListDelegatedServicesForAccountCommand");
|
|
5
|
-
const Organizations_1 = require("../Organizations");
|
|
6
5
|
const OrganizationsClient_1 = require("../OrganizationsClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListDelegatedServicesForAccountCommand_1.ListDelegatedServicesForAccountCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listDelegatedServicesForAccount(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListDelegatedServicesForAccount(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListDelegatedServicesForAccount(config, input, ...additi
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof OrganizationsClient_1.OrganizationsClient) {
|
|
16
|
+
if (config.client instanceof OrganizationsClient_1.OrganizationsClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListHandshakesForAccount = void 0;
|
|
4
4
|
const ListHandshakesForAccountCommand_1 = require("../commands/ListHandshakesForAccountCommand");
|
|
5
|
-
const Organizations_1 = require("../Organizations");
|
|
6
5
|
const OrganizationsClient_1 = require("../OrganizationsClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListHandshakesForAccountCommand_1.ListHandshakesForAccountCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listHandshakesForAccount(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListHandshakesForAccount(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListHandshakesForAccount(config, input, ...additionalArg
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof OrganizationsClient_1.OrganizationsClient) {
|
|
16
|
+
if (config.client instanceof OrganizationsClient_1.OrganizationsClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListHandshakesForOrganization = void 0;
|
|
4
4
|
const ListHandshakesForOrganizationCommand_1 = require("../commands/ListHandshakesForOrganizationCommand");
|
|
5
|
-
const Organizations_1 = require("../Organizations");
|
|
6
5
|
const OrganizationsClient_1 = require("../OrganizationsClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListHandshakesForOrganizationCommand_1.ListHandshakesForOrganizationCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listHandshakesForOrganization(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListHandshakesForOrganization(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListHandshakesForOrganization(config, input, ...addition
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof OrganizationsClient_1.OrganizationsClient) {
|
|
16
|
+
if (config.client instanceof OrganizationsClient_1.OrganizationsClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListOrganizationalUnitsForParent = void 0;
|
|
4
4
|
const ListOrganizationalUnitsForParentCommand_1 = require("../commands/ListOrganizationalUnitsForParentCommand");
|
|
5
|
-
const Organizations_1 = require("../Organizations");
|
|
6
5
|
const OrganizationsClient_1 = require("../OrganizationsClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListOrganizationalUnitsForParentCommand_1.ListOrganizationalUnitsForParentCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listOrganizationalUnitsForParent(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListOrganizationalUnitsForParent(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListOrganizationalUnitsForParent(config, input, ...addit
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof OrganizationsClient_1.OrganizationsClient) {
|
|
16
|
+
if (config.client instanceof OrganizationsClient_1.OrganizationsClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListParents = void 0;
|
|
4
4
|
const ListParentsCommand_1 = require("../commands/ListParentsCommand");
|
|
5
|
-
const Organizations_1 = require("../Organizations");
|
|
6
5
|
const OrganizationsClient_1 = require("../OrganizationsClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListParentsCommand_1.ListParentsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listParents(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListParents(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListParents(config, input, ...additionalArguments) {
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof OrganizationsClient_1.OrganizationsClient) {
|
|
16
|
+
if (config.client instanceof OrganizationsClient_1.OrganizationsClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListPoliciesForTarget = void 0;
|
|
4
4
|
const ListPoliciesForTargetCommand_1 = require("../commands/ListPoliciesForTargetCommand");
|
|
5
|
-
const Organizations_1 = require("../Organizations");
|
|
6
5
|
const OrganizationsClient_1 = require("../OrganizationsClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListPoliciesForTargetCommand_1.ListPoliciesForTargetCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listPoliciesForTarget(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListPoliciesForTarget(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListPoliciesForTarget(config, input, ...additionalArgume
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof OrganizationsClient_1.OrganizationsClient) {
|
|
16
|
+
if (config.client instanceof OrganizationsClient_1.OrganizationsClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListPolicies = void 0;
|
|
4
4
|
const ListPoliciesCommand_1 = require("../commands/ListPoliciesCommand");
|
|
5
|
-
const Organizations_1 = require("../Organizations");
|
|
6
5
|
const OrganizationsClient_1 = require("../OrganizationsClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListPoliciesCommand_1.ListPoliciesCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listPolicies(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListPolicies(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListPolicies(config, input, ...additionalArguments) {
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof OrganizationsClient_1.OrganizationsClient) {
|
|
16
|
+
if (config.client instanceof OrganizationsClient_1.OrganizationsClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListRoots = void 0;
|
|
4
4
|
const ListRootsCommand_1 = require("../commands/ListRootsCommand");
|
|
5
|
-
const Organizations_1 = require("../Organizations");
|
|
6
5
|
const OrganizationsClient_1 = require("../OrganizationsClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListRootsCommand_1.ListRootsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listRoots(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListRoots(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListRoots(config, input, ...additionalArguments) {
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof OrganizationsClient_1.OrganizationsClient) {
|
|
16
|
+
if (config.client instanceof OrganizationsClient_1.OrganizationsClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,24 +2,17 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTagsForResource = void 0;
|
|
4
4
|
const ListTagsForResourceCommand_1 = require("../commands/ListTagsForResourceCommand");
|
|
5
|
-
const Organizations_1 = require("../Organizations");
|
|
6
5
|
const OrganizationsClient_1 = require("../OrganizationsClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListTagsForResourceCommand_1.ListTagsForResourceCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listTagsForResource(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListTagsForResource(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
16
12
|
let page;
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
|
-
if (config.client instanceof
|
|
20
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
21
|
-
}
|
|
22
|
-
else if (config.client instanceof OrganizationsClient_1.OrganizationsClient) {
|
|
15
|
+
if (config.client instanceof OrganizationsClient_1.OrganizationsClient) {
|
|
23
16
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
24
17
|
}
|
|
25
18
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTargetsForPolicy = void 0;
|
|
4
4
|
const ListTargetsForPolicyCommand_1 = require("../commands/ListTargetsForPolicyCommand");
|
|
5
|
-
const Organizations_1 = require("../Organizations");
|
|
6
5
|
const OrganizationsClient_1 = require("../OrganizationsClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListTargetsForPolicyCommand_1.ListTargetsForPolicyCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listTargetsForPolicy(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListTargetsForPolicy(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListTargetsForPolicy(config, input, ...additionalArgumen
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof OrganizationsClient_1.OrganizationsClient) {
|
|
16
|
+
if (config.client instanceof OrganizationsClient_1.OrganizationsClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const E = "required", F = "type", G = "rules", H = "conditions", I = "fn", J = "argv", K = "ref", L = "url", M = "properties", N = "headers", O = "authSchemes", P = "name", Q = "signingName", R = "signingRegion";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = { [E]: false, [F]: "String" }, h = { [E]: true, "default": false, [F]: "Boolean" }, i = { [K]: "Endpoint" }, j = {}, k = { [K]: "Region" }, l = { [I]: "getAttr", [J]: [{ [K]: e }, "name"] }, m = { [H]: [{ [I]: "booleanEquals", [J]: [{ [K]: "UseFIPS" }, true] }, { [I]: "booleanEquals", [J]: [{ [K]: "UseDualStack" }, true] }], [F]: b, [G]: [{ [H]: [{ [I]: "booleanEquals", [J]: [true, { [I]: "getAttr", [J]: [{ [K]: e }, "supportsFIPS"] }] }, { [I]: "booleanEquals", [J]: [true, { [I]: "getAttr", [J]: [{ [K]: e }, "supportsDualStack"] }] }], [F]: b, [G]: [{ [d]: { [L]: "https://organizations-fips.{Region}.api.aws", [M]: {}, [N]: {} }, [F]: d }] }, { [c]: "FIPS and DualStack are enabled, but this partition does not support one or both", [F]: c }] }, n = { [c]: "FIPS and DualStack are enabled, but this partition does not support one or both", [F]: c }, o = { [L]: "https://organizations-fips.us-east-1.amazonaws.com", [M]: { [O]: [{ [P]: "sigv4", [Q]: "organizations", [R]: "us-east-1" }] }, [N]: {} }, p = { [c]: "FIPS is enabled but this partition does not support FIPS", [F]: c }, q = { [H]: [{ [I]: "booleanEquals", [J]: [{ [K]: "UseDualStack" }, true] }], [F]: b, [G]: [{ [H]: [{ [I]: "booleanEquals", [J]: [true, { [I]: "getAttr", [J]: [{ [K]: e }, "supportsDualStack"] }] }], [F]: b, [G]: [{ [d]: { [L]: "https://organizations.{Region}.api.aws", [M]: {}, [N]: {} }, [F]: d }] }, { [c]: "DualStack is enabled but this partition does not support DualStack", [F]: c }] }, r = { [c]: "DualStack is enabled but this partition does not support DualStack", [F]: c }, s = { [L]: "https://organizations.us-east-1.amazonaws.com", [M]: { [O]: [{ [P]: "sigv4", [Q]: "organizations", [R]: "us-east-1" }] }, [N]: {} }, t = { [L]: "https://organizations.cn-northwest-1.amazonaws.com.cn", [M]: { [O]: [{ [P]: "sigv4", [Q]: "organizations", [R]: "cn-northwest-1" }] }, [N]: {} }, u = { [d]: { [L]: "https://organizations.us-gov-west-1.amazonaws.com", [M]: { [O]: [{ [P]: "sigv4", [Q]: "organizations", [R]: "us-gov-west-1" }] }, [N]: {} }, [F]: d }, v = { [H]: [{ [I]: f, [J]: [k, "aws-us-gov-global"] }], [d]: { [L]: "https://organizations.us-gov-west-1.amazonaws.com", [M]: { [O]: [{ [P]: "sigv4", [Q]: "organizations", [R]: "us-gov-west-1" }] }, [N]: {} }, [F]: d }, w = [{ [I]: "booleanEquals", [J]: [{ [K]: "UseFIPS" }, true] }], x = [{ [I]: "booleanEquals", [J]: [{ [K]: "UseDualStack" }, true] }], y = [k], z = [{ [I]: "booleanEquals", [J]: [{ [K]: "UseFIPS" }, true] }, { [I]: "booleanEquals", [J]: [{ [K]: "UseDualStack" }, true] }], A = [{ [I]: "booleanEquals", [J]: [true, { [I]: "getAttr", [J]: [{ [K]: e }, "supportsFIPS"] }] }, { [I]: "booleanEquals", [J]: [true, { [I]: "getAttr", [J]: [{ [K]: e }, "supportsDualStack"] }] }], B = [{ [I]: "booleanEquals", [J]: [true, { [I]: "getAttr", [J]: [{ [K]: e }, "supportsFIPS"] }] }], C = [{ [I]: "booleanEquals", [J]: [true, { [I]: "getAttr", [J]: [{ [K]: e }, "supportsDualStack"] }] }], D = [{ [I]: f, [J]: [k, "aws-global"] }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, [G]: [{ [H]: [{ [I]: a, [J]: [i] }], [F]: b, [G]: [{ [H]: w, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [F]: c }, { [F]: b, [G]: [{ [H]: x, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [F]: c }, { endpoint: { [L]: i, [M]: j, [N]: j }, [F]: d }] }] }, { [F]: b, [G]: [{ [H]: [{ [I]: a, [J]: y }], [F]: b, [G]: [{ [H]: [{ [I]: "aws.partition", [J]: y, assign: e }], [F]: b, [G]: [{ [H]: [{ [I]: f, [J]: [l, "aws"] }], [F]: b, [G]: [m, { [H]: w, [F]: b, [G]: [{ [H]: B, [F]: b, [G]: [{ endpoint: o, [F]: d }] }, p] }, q, { endpoint: s, [F]: d }] }, { [H]: [{ [I]: f, [J]: [l, "aws-cn"] }], [F]: b, [G]: [{ [H]: z, [F]: b, [G]: [{ [H]: A, [F]: b, [G]: [{ endpoint: { [L]: "https://organizations-fips.{Region}.api.amazonwebservices.com.cn", [M]: j, [N]: j }, [F]: d }] }, n] }, { [H]: w, [F]: b, [G]: [{ [H]: B, [F]: b, [G]: [{ endpoint: { [L]: "https://organizations-fips.{Region}.amazonaws.com.cn", [M]: j, [N]: j }, [F]: d }] }, p] }, { [H]: x, [F]: b, [G]: [{ [H]: C, [F]: b, [G]: [{ endpoint: { [L]: "https://organizations.{Region}.api.amazonwebservices.com.cn", [M]: j, [N]: j }, [F]: d }] }, r] }, { endpoint: t, [F]: d }] }, { [H]: [{ [I]: f, [J]: [l, "aws-us-gov"] }], [F]: b, [G]: [m, { [H]: w, [F]: b, [G]: [{ [H]: B, [F]: b, [G]: [u] }, p] }, q, u] }, { [H]: z, [F]: b, [G]: [{ [H]: A, [F]: b, [G]: [{ [F]: b, [G]: [{ endpoint: { [L]: "https://organizations-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [M]: j, [N]: j }, [F]: d }] }] }, n] }, { [H]: w, [F]: b, [G]: [{ [H]: B, [F]: b, [G]: [{ [F]: b, [G]: [{ [H]: D, endpoint: o, [F]: d }, v, { endpoint: { [L]: "https://organizations-fips.{Region}.{PartitionResult#dnsSuffix}", [M]: j, [N]: j }, [F]: d }] }] }, p] }, { [H]: x, [F]: b, [G]: [{ [H]: C, [F]: b, [G]: [{ [F]: b, [G]: [{ endpoint: { [L]: "https://organizations.{Region}.{PartitionResult#dualStackDnsSuffix}", [M]: j, [N]: j }, [F]: d }] }] }, r] }, { [F]: b, [G]: [{ [H]: D, endpoint: s, [F]: d }, { [H]: [{ [I]: f, [J]: [k, "aws-cn-global"] }], endpoint: t, [F]: d }, v, { endpoint: { [L]: "https://organizations.{Region}.{PartitionResult#dnsSuffix}", [M]: j, [N]: j }, [F]: d }] }] }] }, { error: "Invalid Configuration: Missing Region", [F]: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -322,6 +322,7 @@ export var ConstraintViolationExceptionReason;
|
|
|
322
322
|
ConstraintViolationExceptionReason["ACCOUNT_CANNOT_LEAVE_ORGANIZATION"] = "ACCOUNT_CANNOT_LEAVE_ORGANIZATION";
|
|
323
323
|
ConstraintViolationExceptionReason["ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA"] = "ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA";
|
|
324
324
|
ConstraintViolationExceptionReason["ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION"] = "ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION";
|
|
325
|
+
ConstraintViolationExceptionReason["ACCOUNT_CREATION_NOT_COMPLETE"] = "ACCOUNT_CREATION_NOT_COMPLETE";
|
|
325
326
|
ConstraintViolationExceptionReason["ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED"] = "ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED";
|
|
326
327
|
ConstraintViolationExceptionReason["ACCOUNT_NUMBER_LIMIT_EXCEEDED"] = "ACCOUNT_NUMBER_LIMIT_EXCEEDED";
|
|
327
328
|
ConstraintViolationExceptionReason["CANNOT_CLOSE_MANAGEMENT_ACCOUNT"] = "CANNOT_CLOSE_MANAGEMENT_ACCOUNT";
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListAWSServiceAccessForOrganizationCommand, } from "../commands/ListAWSServiceAccessForOrganizationCommand";
|
|
2
|
-
import { Organizations } from "../Organizations";
|
|
3
2
|
import { OrganizationsClient } from "../OrganizationsClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListAWSServiceAccessForOrganizationCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAWSServiceAccessForOrganization(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAWSServiceAccessForOrganization(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAWSServiceAccessForOrganization(config, input
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof OrganizationsClient) {
|
|
13
|
+
if (config.client instanceof OrganizationsClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|