@aws-sdk/client-iam 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/pagination/GetAccountAuthorizationDetailsPaginator.js +1 -8
- package/dist-cjs/pagination/GetGroupPaginator.js +1 -8
- package/dist-cjs/pagination/ListAccessKeysPaginator.js +1 -8
- package/dist-cjs/pagination/ListAccountAliasesPaginator.js +1 -8
- package/dist-cjs/pagination/ListAttachedGroupPoliciesPaginator.js +1 -8
- package/dist-cjs/pagination/ListAttachedRolePoliciesPaginator.js +1 -8
- package/dist-cjs/pagination/ListAttachedUserPoliciesPaginator.js +1 -8
- package/dist-cjs/pagination/ListEntitiesForPolicyPaginator.js +1 -8
- package/dist-cjs/pagination/ListGroupPoliciesPaginator.js +1 -8
- package/dist-cjs/pagination/ListGroupsForUserPaginator.js +1 -8
- package/dist-cjs/pagination/ListGroupsPaginator.js +1 -8
- package/dist-cjs/pagination/ListInstanceProfilesForRolePaginator.js +1 -8
- package/dist-cjs/pagination/ListInstanceProfilesPaginator.js +1 -8
- package/dist-cjs/pagination/ListMFADevicesPaginator.js +1 -8
- package/dist-cjs/pagination/ListPoliciesPaginator.js +1 -8
- package/dist-cjs/pagination/ListPolicyVersionsPaginator.js +1 -8
- package/dist-cjs/pagination/ListRolePoliciesPaginator.js +1 -8
- package/dist-cjs/pagination/ListRolesPaginator.js +1 -8
- package/dist-cjs/pagination/ListSSHPublicKeysPaginator.js +1 -8
- package/dist-cjs/pagination/ListServerCertificatesPaginator.js +1 -8
- package/dist-cjs/pagination/ListSigningCertificatesPaginator.js +1 -8
- package/dist-cjs/pagination/ListUserPoliciesPaginator.js +1 -8
- package/dist-cjs/pagination/ListUserTagsPaginator.js +1 -8
- package/dist-cjs/pagination/ListUsersPaginator.js +1 -8
- package/dist-cjs/pagination/ListVirtualMFADevicesPaginator.js +1 -8
- package/dist-cjs/pagination/SimulateCustomPolicyPaginator.js +1 -8
- package/dist-cjs/pagination/SimulatePrincipalPolicyPaginator.js +1 -8
- package/dist-es/pagination/GetAccountAuthorizationDetailsPaginator.js +1 -8
- package/dist-es/pagination/GetGroupPaginator.js +1 -8
- package/dist-es/pagination/ListAccessKeysPaginator.js +1 -8
- package/dist-es/pagination/ListAccountAliasesPaginator.js +1 -8
- package/dist-es/pagination/ListAttachedGroupPoliciesPaginator.js +1 -8
- package/dist-es/pagination/ListAttachedRolePoliciesPaginator.js +1 -8
- package/dist-es/pagination/ListAttachedUserPoliciesPaginator.js +1 -8
- package/dist-es/pagination/ListEntitiesForPolicyPaginator.js +1 -8
- package/dist-es/pagination/ListGroupPoliciesPaginator.js +1 -8
- package/dist-es/pagination/ListGroupsForUserPaginator.js +1 -8
- package/dist-es/pagination/ListGroupsPaginator.js +1 -8
- package/dist-es/pagination/ListInstanceProfilesForRolePaginator.js +1 -8
- package/dist-es/pagination/ListInstanceProfilesPaginator.js +1 -8
- package/dist-es/pagination/ListMFADevicesPaginator.js +1 -8
- package/dist-es/pagination/ListPoliciesPaginator.js +1 -8
- package/dist-es/pagination/ListPolicyVersionsPaginator.js +1 -8
- package/dist-es/pagination/ListRolePoliciesPaginator.js +1 -8
- package/dist-es/pagination/ListRolesPaginator.js +1 -8
- package/dist-es/pagination/ListSSHPublicKeysPaginator.js +1 -8
- package/dist-es/pagination/ListServerCertificatesPaginator.js +1 -8
- package/dist-es/pagination/ListSigningCertificatesPaginator.js +1 -8
- package/dist-es/pagination/ListUserPoliciesPaginator.js +1 -8
- package/dist-es/pagination/ListUserTagsPaginator.js +1 -8
- package/dist-es/pagination/ListUsersPaginator.js +1 -8
- package/dist-es/pagination/ListVirtualMFADevicesPaginator.js +1 -8
- package/dist-es/pagination/SimulateCustomPolicyPaginator.js +1 -8
- package/dist-es/pagination/SimulatePrincipalPolicyPaginator.js +1 -8
- package/dist-types/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/package.json +9 -9
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListUsers = void 0;
|
|
4
4
|
const ListUsersCommand_1 = require("../commands/ListUsersCommand");
|
|
5
|
-
const IAM_1 = require("../IAM");
|
|
6
5
|
const IAMClient_1 = require("../IAMClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListUsersCommand_1.ListUsersCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listUsers(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListUsers(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListUsers(config, input, ...additionalArguments) {
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.Marker = token;
|
|
19
15
|
input["MaxItems"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof IAMClient_1.IAMClient) {
|
|
16
|
+
if (config.client instanceof IAMClient_1.IAMClient) {
|
|
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.paginateListVirtualMFADevices = void 0;
|
|
4
4
|
const ListVirtualMFADevicesCommand_1 = require("../commands/ListVirtualMFADevicesCommand");
|
|
5
|
-
const IAM_1 = require("../IAM");
|
|
6
5
|
const IAMClient_1 = require("../IAMClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListVirtualMFADevicesCommand_1.ListVirtualMFADevicesCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listVirtualMFADevices(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListVirtualMFADevices(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListVirtualMFADevices(config, input, ...additionalArgume
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.Marker = token;
|
|
19
15
|
input["MaxItems"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof IAMClient_1.IAMClient) {
|
|
16
|
+
if (config.client instanceof IAMClient_1.IAMClient) {
|
|
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.paginateSimulateCustomPolicy = void 0;
|
|
4
4
|
const SimulateCustomPolicyCommand_1 = require("../commands/SimulateCustomPolicyCommand");
|
|
5
|
-
const IAM_1 = require("../IAM");
|
|
6
5
|
const IAMClient_1 = require("../IAMClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new SimulateCustomPolicyCommand_1.SimulateCustomPolicyCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.simulateCustomPolicy(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateSimulateCustomPolicy(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateSimulateCustomPolicy(config, input, ...additionalArgumen
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.Marker = token;
|
|
19
15
|
input["MaxItems"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof IAMClient_1.IAMClient) {
|
|
16
|
+
if (config.client instanceof IAMClient_1.IAMClient) {
|
|
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.paginateSimulatePrincipalPolicy = void 0;
|
|
4
4
|
const SimulatePrincipalPolicyCommand_1 = require("../commands/SimulatePrincipalPolicyCommand");
|
|
5
|
-
const IAM_1 = require("../IAM");
|
|
6
5
|
const IAMClient_1 = require("../IAMClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new SimulatePrincipalPolicyCommand_1.SimulatePrincipalPolicyCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.simulatePrincipalPolicy(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateSimulatePrincipalPolicy(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateSimulatePrincipalPolicy(config, input, ...additionalArgu
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.Marker = token;
|
|
19
15
|
input["MaxItems"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof IAMClient_1.IAMClient) {
|
|
16
|
+
if (config.client instanceof IAMClient_1.IAMClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { GetAccountAuthorizationDetailsCommand, } from "../commands/GetAccountAuthorizationDetailsCommand";
|
|
2
|
-
import { IAM } from "../IAM";
|
|
3
2
|
import { IAMClient } from "../IAMClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new GetAccountAuthorizationDetailsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.getAccountAuthorizationDetails(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateGetAccountAuthorizationDetails(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateGetAccountAuthorizationDetails(config, input, ...
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxItems"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof IAMClient) {
|
|
13
|
+
if (config.client instanceof IAMClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { GetGroupCommand } from "../commands/GetGroupCommand";
|
|
2
|
-
import { IAM } from "../IAM";
|
|
3
2
|
import { IAMClient } from "../IAMClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new GetGroupCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.getGroup(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateGetGroup(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateGetGroup(config, input, ...additionalArguments) {
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxItems"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof IAMClient) {
|
|
13
|
+
if (config.client instanceof IAMClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListAccessKeysCommand, } from "../commands/ListAccessKeysCommand";
|
|
2
|
-
import { IAM } from "../IAM";
|
|
3
2
|
import { IAMClient } from "../IAMClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListAccessKeysCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAccessKeys(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAccessKeys(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAccessKeys(config, input, ...additionalArgume
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxItems"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof IAMClient) {
|
|
13
|
+
if (config.client instanceof IAMClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListAccountAliasesCommand, } from "../commands/ListAccountAliasesCommand";
|
|
2
|
-
import { IAM } from "../IAM";
|
|
3
2
|
import { IAMClient } from "../IAMClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListAccountAliasesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAccountAliases(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAccountAliases(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAccountAliases(config, input, ...additionalAr
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxItems"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof IAMClient) {
|
|
13
|
+
if (config.client instanceof IAMClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListAttachedGroupPoliciesCommand, } from "../commands/ListAttachedGroupPoliciesCommand";
|
|
2
|
-
import { IAM } from "../IAM";
|
|
3
2
|
import { IAMClient } from "../IAMClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListAttachedGroupPoliciesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAttachedGroupPolicies(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAttachedGroupPolicies(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAttachedGroupPolicies(config, input, ...addit
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxItems"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof IAMClient) {
|
|
13
|
+
if (config.client instanceof IAMClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListAttachedRolePoliciesCommand, } from "../commands/ListAttachedRolePoliciesCommand";
|
|
2
|
-
import { IAM } from "../IAM";
|
|
3
2
|
import { IAMClient } from "../IAMClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListAttachedRolePoliciesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAttachedRolePolicies(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAttachedRolePolicies(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAttachedRolePolicies(config, input, ...additi
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxItems"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof IAMClient) {
|
|
13
|
+
if (config.client instanceof IAMClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListAttachedUserPoliciesCommand, } from "../commands/ListAttachedUserPoliciesCommand";
|
|
2
|
-
import { IAM } from "../IAM";
|
|
3
2
|
import { IAMClient } from "../IAMClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListAttachedUserPoliciesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAttachedUserPolicies(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAttachedUserPolicies(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAttachedUserPolicies(config, input, ...additi
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxItems"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof IAMClient) {
|
|
13
|
+
if (config.client instanceof IAMClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListEntitiesForPolicyCommand, } from "../commands/ListEntitiesForPolicyCommand";
|
|
2
|
-
import { IAM } from "../IAM";
|
|
3
2
|
import { IAMClient } from "../IAMClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListEntitiesForPolicyCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listEntitiesForPolicy(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListEntitiesForPolicy(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListEntitiesForPolicy(config, input, ...additiona
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxItems"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof IAMClient) {
|
|
13
|
+
if (config.client instanceof IAMClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListGroupPoliciesCommand, } from "../commands/ListGroupPoliciesCommand";
|
|
2
|
-
import { IAM } from "../IAM";
|
|
3
2
|
import { IAMClient } from "../IAMClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListGroupPoliciesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listGroupPolicies(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListGroupPolicies(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListGroupPolicies(config, input, ...additionalArg
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxItems"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof IAMClient) {
|
|
13
|
+
if (config.client instanceof IAMClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListGroupsForUserCommand, } from "../commands/ListGroupsForUserCommand";
|
|
2
|
-
import { IAM } from "../IAM";
|
|
3
2
|
import { IAMClient } from "../IAMClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListGroupsForUserCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listGroupsForUser(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListGroupsForUser(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListGroupsForUser(config, input, ...additionalArg
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxItems"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof IAMClient) {
|
|
13
|
+
if (config.client instanceof IAMClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListGroupsCommand } from "../commands/ListGroupsCommand";
|
|
2
|
-
import { IAM } from "../IAM";
|
|
3
2
|
import { IAMClient } from "../IAMClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListGroupsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listGroups(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListGroups(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListGroups(config, input, ...additionalArguments)
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxItems"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof IAMClient) {
|
|
13
|
+
if (config.client instanceof IAMClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListInstanceProfilesForRoleCommand, } from "../commands/ListInstanceProfilesForRoleCommand";
|
|
2
|
-
import { IAM } from "../IAM";
|
|
3
2
|
import { IAMClient } from "../IAMClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListInstanceProfilesForRoleCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listInstanceProfilesForRole(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListInstanceProfilesForRole(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListInstanceProfilesForRole(config, input, ...add
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxItems"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof IAMClient) {
|
|
13
|
+
if (config.client instanceof IAMClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListInstanceProfilesCommand, } from "../commands/ListInstanceProfilesCommand";
|
|
2
|
-
import { IAM } from "../IAM";
|
|
3
2
|
import { IAMClient } from "../IAMClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListInstanceProfilesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listInstanceProfiles(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListInstanceProfiles(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListInstanceProfiles(config, input, ...additional
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxItems"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof IAMClient) {
|
|
13
|
+
if (config.client instanceof IAMClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListMFADevicesCommand, } from "../commands/ListMFADevicesCommand";
|
|
2
|
-
import { IAM } from "../IAM";
|
|
3
2
|
import { IAMClient } from "../IAMClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListMFADevicesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listMFADevices(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListMFADevices(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListMFADevices(config, input, ...additionalArgume
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxItems"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof IAMClient) {
|
|
13
|
+
if (config.client instanceof IAMClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListPoliciesCommand, } from "../commands/ListPoliciesCommand";
|
|
2
|
-
import { IAM } from "../IAM";
|
|
3
2
|
import { IAMClient } from "../IAMClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListPoliciesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listPolicies(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListPolicies(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListPolicies(config, input, ...additionalArgument
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxItems"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof IAMClient) {
|
|
13
|
+
if (config.client instanceof IAMClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListPolicyVersionsCommand, } from "../commands/ListPolicyVersionsCommand";
|
|
2
|
-
import { IAM } from "../IAM";
|
|
3
2
|
import { IAMClient } from "../IAMClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListPolicyVersionsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listPolicyVersions(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListPolicyVersions(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListPolicyVersions(config, input, ...additionalAr
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxItems"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof IAMClient) {
|
|
13
|
+
if (config.client instanceof IAMClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListRolePoliciesCommand, } from "../commands/ListRolePoliciesCommand";
|
|
2
|
-
import { IAM } from "../IAM";
|
|
3
2
|
import { IAMClient } from "../IAMClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListRolePoliciesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listRolePolicies(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListRolePolicies(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListRolePolicies(config, input, ...additionalArgu
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxItems"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof IAMClient) {
|
|
13
|
+
if (config.client instanceof IAMClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListRolesCommand } from "../commands/ListRolesCommand";
|
|
2
|
-
import { IAM } from "../IAM";
|
|
3
2
|
import { IAMClient } from "../IAMClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListRolesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listRoles(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListRoles(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListRoles(config, input, ...additionalArguments)
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxItems"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof IAMClient) {
|
|
13
|
+
if (config.client instanceof IAMClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListSSHPublicKeysCommand, } from "../commands/ListSSHPublicKeysCommand";
|
|
2
|
-
import { IAM } from "../IAM";
|
|
3
2
|
import { IAMClient } from "../IAMClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListSSHPublicKeysCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listSSHPublicKeys(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListSSHPublicKeys(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListSSHPublicKeys(config, input, ...additionalArg
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxItems"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof IAMClient) {
|
|
13
|
+
if (config.client instanceof IAMClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListServerCertificatesCommand, } from "../commands/ListServerCertificatesCommand";
|
|
2
|
-
import { IAM } from "../IAM";
|
|
3
2
|
import { IAMClient } from "../IAMClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListServerCertificatesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listServerCertificates(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListServerCertificates(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListServerCertificates(config, input, ...addition
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxItems"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof IAMClient) {
|
|
13
|
+
if (config.client instanceof IAMClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListSigningCertificatesCommand, } from "../commands/ListSigningCertificatesCommand";
|
|
2
|
-
import { IAM } from "../IAM";
|
|
3
2
|
import { IAMClient } from "../IAMClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListSigningCertificatesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listSigningCertificates(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListSigningCertificates(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListSigningCertificates(config, input, ...additio
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxItems"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof IAMClient) {
|
|
13
|
+
if (config.client instanceof IAMClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|