@aws-sdk/client-sso-admin 3.476.0 → 3.478.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/ListAccountAssignmentCreationStatusPaginator.js +2 -24
- package/dist-cjs/pagination/ListAccountAssignmentDeletionStatusPaginator.js +2 -24
- package/dist-cjs/pagination/ListAccountAssignmentsForPrincipalPaginator.js +2 -24
- package/dist-cjs/pagination/ListAccountAssignmentsPaginator.js +2 -24
- package/dist-cjs/pagination/ListAccountsForProvisionedPermissionSetPaginator.js +2 -24
- package/dist-cjs/pagination/ListApplicationAccessScopesPaginator.js +2 -24
- package/dist-cjs/pagination/ListApplicationAssignmentsForPrincipalPaginator.js +2 -24
- package/dist-cjs/pagination/ListApplicationAssignmentsPaginator.js +2 -24
- package/dist-cjs/pagination/ListApplicationAuthenticationMethodsPaginator.js +2 -23
- package/dist-cjs/pagination/ListApplicationGrantsPaginator.js +2 -23
- package/dist-cjs/pagination/ListApplicationProvidersPaginator.js +2 -24
- package/dist-cjs/pagination/ListApplicationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListCustomerManagedPolicyReferencesInPermissionSetPaginator.js +2 -24
- package/dist-cjs/pagination/ListInstancesPaginator.js +2 -24
- package/dist-cjs/pagination/ListManagedPoliciesInPermissionSetPaginator.js +2 -24
- package/dist-cjs/pagination/ListPermissionSetProvisioningStatusPaginator.js +2 -24
- package/dist-cjs/pagination/ListPermissionSetsPaginator.js +2 -24
- package/dist-cjs/pagination/ListPermissionSetsProvisionedToAccountPaginator.js +2 -24
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +2 -23
- package/dist-cjs/pagination/ListTrustedTokenIssuersPaginator.js +2 -24
- package/dist-es/pagination/ListAccountAssignmentCreationStatusPaginator.js +2 -23
- package/dist-es/pagination/ListAccountAssignmentDeletionStatusPaginator.js +2 -23
- package/dist-es/pagination/ListAccountAssignmentsForPrincipalPaginator.js +2 -23
- package/dist-es/pagination/ListAccountAssignmentsPaginator.js +2 -23
- package/dist-es/pagination/ListAccountsForProvisionedPermissionSetPaginator.js +2 -23
- package/dist-es/pagination/ListApplicationAccessScopesPaginator.js +2 -23
- package/dist-es/pagination/ListApplicationAssignmentsForPrincipalPaginator.js +2 -23
- package/dist-es/pagination/ListApplicationAssignmentsPaginator.js +2 -23
- package/dist-es/pagination/ListApplicationAuthenticationMethodsPaginator.js +2 -22
- package/dist-es/pagination/ListApplicationGrantsPaginator.js +2 -22
- package/dist-es/pagination/ListApplicationProvidersPaginator.js +2 -23
- package/dist-es/pagination/ListApplicationsPaginator.js +2 -23
- package/dist-es/pagination/ListCustomerManagedPolicyReferencesInPermissionSetPaginator.js +2 -23
- package/dist-es/pagination/ListInstancesPaginator.js +2 -23
- package/dist-es/pagination/ListManagedPoliciesInPermissionSetPaginator.js +2 -23
- package/dist-es/pagination/ListPermissionSetProvisioningStatusPaginator.js +2 -23
- package/dist-es/pagination/ListPermissionSetsPaginator.js +2 -23
- package/dist-es/pagination/ListPermissionSetsProvisionedToAccountPaginator.js +2 -23
- package/dist-es/pagination/ListTagsForResourcePaginator.js +2 -22
- package/dist-es/pagination/ListTrustedTokenIssuersPaginator.js +2 -23
- package/dist-types/pagination/ListAccountAssignmentCreationStatusPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAccountAssignmentDeletionStatusPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAccountAssignmentsForPrincipalPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAccountAssignmentsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAccountsForProvisionedPermissionSetPaginator.d.ts +1 -1
- package/dist-types/pagination/ListApplicationAccessScopesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListApplicationAssignmentsForPrincipalPaginator.d.ts +1 -1
- package/dist-types/pagination/ListApplicationAssignmentsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListApplicationAuthenticationMethodsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListApplicationGrantsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListApplicationProvidersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListApplicationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCustomerManagedPolicyReferencesInPermissionSetPaginator.d.ts +1 -1
- package/dist-types/pagination/ListInstancesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListManagedPoliciesInPermissionSetPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPermissionSetProvisioningStatusPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPermissionSetsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPermissionSetsProvisionedToAccountPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +1 -1
- package/dist-types/pagination/ListTrustedTokenIssuersPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListAccountAssignmentCreationStatusPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAccountAssignmentDeletionStatusPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAccountAssignmentsForPrincipalPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAccountAssignmentsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAccountsForProvisionedPermissionSetPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListApplicationAccessScopesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListApplicationAssignmentsForPrincipalPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListApplicationAssignmentsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListApplicationAuthenticationMethodsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListApplicationGrantsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListApplicationProvidersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListCustomerManagedPolicyReferencesInPermissionSetPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListInstancesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListManagedPoliciesInPermissionSetPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPermissionSetProvisioningStatusPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPermissionSetsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPermissionSetsProvisionedToAccountPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTrustedTokenIssuersPaginator.d.ts +3 -3
- package/package.json +7 -6
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTrustedTokenIssuers = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListTrustedTokenIssuersCommand_1 = require("../commands/ListTrustedTokenIssuersCommand");
|
|
5
6
|
const SSOAdminClient_1 = require("../SSOAdminClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListTrustedTokenIssuersCommand_1.ListTrustedTokenIssuersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListTrustedTokenIssuers(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SSOAdminClient_1.SSOAdminClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SSOAdmin | SSOAdminClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListTrustedTokenIssuers = paginateListTrustedTokenIssuers;
|
|
7
|
+
exports.paginateListTrustedTokenIssuers = (0, core_1.createPaginator)(SSOAdminClient_1.SSOAdminClient, ListTrustedTokenIssuersCommand_1.ListTrustedTokenIssuersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListAccountAssignmentCreationStatusCommand, } from "../commands/ListAccountAssignmentCreationStatusCommand";
|
|
2
3
|
import { SSOAdminClient } from "../SSOAdminClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAccountAssignmentCreationStatusCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAccountAssignmentCreationStatus(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SSOAdminClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SSOAdmin | SSOAdminClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListAccountAssignmentCreationStatus = createPaginator(SSOAdminClient, ListAccountAssignmentCreationStatusCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListAccountAssignmentDeletionStatusCommand, } from "../commands/ListAccountAssignmentDeletionStatusCommand";
|
|
2
3
|
import { SSOAdminClient } from "../SSOAdminClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAccountAssignmentDeletionStatusCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAccountAssignmentDeletionStatus(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SSOAdminClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SSOAdmin | SSOAdminClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListAccountAssignmentDeletionStatus = createPaginator(SSOAdminClient, ListAccountAssignmentDeletionStatusCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListAccountAssignmentsForPrincipalCommand, } from "../commands/ListAccountAssignmentsForPrincipalCommand";
|
|
2
3
|
import { SSOAdminClient } from "../SSOAdminClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAccountAssignmentsForPrincipalCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAccountAssignmentsForPrincipal(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SSOAdminClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SSOAdmin | SSOAdminClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListAccountAssignmentsForPrincipal = createPaginator(SSOAdminClient, ListAccountAssignmentsForPrincipalCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListAccountAssignmentsCommand, } from "../commands/ListAccountAssignmentsCommand";
|
|
2
3
|
import { SSOAdminClient } from "../SSOAdminClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAccountAssignmentsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAccountAssignments(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SSOAdminClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SSOAdmin | SSOAdminClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListAccountAssignments = createPaginator(SSOAdminClient, ListAccountAssignmentsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListAccountsForProvisionedPermissionSetCommand, } from "../commands/ListAccountsForProvisionedPermissionSetCommand";
|
|
2
3
|
import { SSOAdminClient } from "../SSOAdminClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAccountsForProvisionedPermissionSetCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAccountsForProvisionedPermissionSet(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SSOAdminClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SSOAdmin | SSOAdminClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListAccountsForProvisionedPermissionSet = createPaginator(SSOAdminClient, ListAccountsForProvisionedPermissionSetCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListApplicationAccessScopesCommand, } from "../commands/ListApplicationAccessScopesCommand";
|
|
2
3
|
import { SSOAdminClient } from "../SSOAdminClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListApplicationAccessScopesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListApplicationAccessScopes(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SSOAdminClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SSOAdmin | SSOAdminClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListApplicationAccessScopes = createPaginator(SSOAdminClient, ListApplicationAccessScopesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListApplicationAssignmentsForPrincipalCommand, } from "../commands/ListApplicationAssignmentsForPrincipalCommand";
|
|
2
3
|
import { SSOAdminClient } from "../SSOAdminClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListApplicationAssignmentsForPrincipalCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListApplicationAssignmentsForPrincipal(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SSOAdminClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SSOAdmin | SSOAdminClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListApplicationAssignmentsForPrincipal = createPaginator(SSOAdminClient, ListApplicationAssignmentsForPrincipalCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListApplicationAssignmentsCommand, } from "../commands/ListApplicationAssignmentsCommand";
|
|
2
3
|
import { SSOAdminClient } from "../SSOAdminClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListApplicationAssignmentsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListApplicationAssignments(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SSOAdminClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SSOAdmin | SSOAdminClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListApplicationAssignments = createPaginator(SSOAdminClient, ListApplicationAssignmentsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListApplicationAuthenticationMethodsCommand, } from "../commands/ListApplicationAuthenticationMethodsCommand";
|
|
2
3
|
import { SSOAdminClient } from "../SSOAdminClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListApplicationAuthenticationMethodsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListApplicationAuthenticationMethods(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
if (config.client instanceof SSOAdminClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected SSOAdmin | SSOAdminClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.NextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateListApplicationAuthenticationMethods = createPaginator(SSOAdminClient, ListApplicationAuthenticationMethodsCommand, "NextToken", "NextToken", "");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListApplicationGrantsCommand, } from "../commands/ListApplicationGrantsCommand";
|
|
2
3
|
import { SSOAdminClient } from "../SSOAdminClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListApplicationGrantsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListApplicationGrants(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
if (config.client instanceof SSOAdminClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected SSOAdmin | SSOAdminClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.NextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateListApplicationGrants = createPaginator(SSOAdminClient, ListApplicationGrantsCommand, "NextToken", "NextToken", "");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListApplicationProvidersCommand, } from "../commands/ListApplicationProvidersCommand";
|
|
2
3
|
import { SSOAdminClient } from "../SSOAdminClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListApplicationProvidersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListApplicationProviders(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SSOAdminClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SSOAdmin | SSOAdminClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListApplicationProviders = createPaginator(SSOAdminClient, ListApplicationProvidersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListApplicationsCommand, } from "../commands/ListApplicationsCommand";
|
|
2
3
|
import { SSOAdminClient } from "../SSOAdminClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListApplicationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListApplications(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SSOAdminClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SSOAdmin | SSOAdminClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListApplications = createPaginator(SSOAdminClient, ListApplicationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListCustomerManagedPolicyReferencesInPermissionSetCommand, } from "../commands/ListCustomerManagedPolicyReferencesInPermissionSetCommand";
|
|
2
3
|
import { SSOAdminClient } from "../SSOAdminClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListCustomerManagedPolicyReferencesInPermissionSetCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListCustomerManagedPolicyReferencesInPermissionSet(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SSOAdminClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SSOAdmin | SSOAdminClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListCustomerManagedPolicyReferencesInPermissionSet = createPaginator(SSOAdminClient, ListCustomerManagedPolicyReferencesInPermissionSetCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListInstancesCommand, } from "../commands/ListInstancesCommand";
|
|
2
3
|
import { SSOAdminClient } from "../SSOAdminClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListInstancesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListInstances(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SSOAdminClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SSOAdmin | SSOAdminClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListInstances = createPaginator(SSOAdminClient, ListInstancesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListManagedPoliciesInPermissionSetCommand, } from "../commands/ListManagedPoliciesInPermissionSetCommand";
|
|
2
3
|
import { SSOAdminClient } from "../SSOAdminClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListManagedPoliciesInPermissionSetCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListManagedPoliciesInPermissionSet(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SSOAdminClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SSOAdmin | SSOAdminClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListManagedPoliciesInPermissionSet = createPaginator(SSOAdminClient, ListManagedPoliciesInPermissionSetCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListPermissionSetProvisioningStatusCommand, } from "../commands/ListPermissionSetProvisioningStatusCommand";
|
|
2
3
|
import { SSOAdminClient } from "../SSOAdminClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPermissionSetProvisioningStatusCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPermissionSetProvisioningStatus(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SSOAdminClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SSOAdmin | SSOAdminClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListPermissionSetProvisioningStatus = createPaginator(SSOAdminClient, ListPermissionSetProvisioningStatusCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListPermissionSetsCommand, } from "../commands/ListPermissionSetsCommand";
|
|
2
3
|
import { SSOAdminClient } from "../SSOAdminClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPermissionSetsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPermissionSets(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SSOAdminClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SSOAdmin | SSOAdminClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListPermissionSets = createPaginator(SSOAdminClient, ListPermissionSetsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListPermissionSetsProvisionedToAccountCommand, } from "../commands/ListPermissionSetsProvisionedToAccountCommand";
|
|
2
3
|
import { SSOAdminClient } from "../SSOAdminClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPermissionSetsProvisionedToAccountCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPermissionSetsProvisionedToAccount(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SSOAdminClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SSOAdmin | SSOAdminClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListPermissionSetsProvisionedToAccount = createPaginator(SSOAdminClient, ListPermissionSetsProvisionedToAccountCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListTagsForResourceCommand, } from "../commands/ListTagsForResourceCommand";
|
|
2
3
|
import { SSOAdminClient } from "../SSOAdminClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListTagsForResourceCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListTagsForResource(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
if (config.client instanceof SSOAdminClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected SSOAdmin | SSOAdminClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.NextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateListTagsForResource = createPaginator(SSOAdminClient, ListTagsForResourceCommand, "NextToken", "NextToken", "");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListTrustedTokenIssuersCommand, } from "../commands/ListTrustedTokenIssuersCommand";
|
|
2
3
|
import { SSOAdminClient } from "../SSOAdminClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListTrustedTokenIssuersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListTrustedTokenIssuers(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SSOAdminClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SSOAdmin | SSOAdminClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListTrustedTokenIssuers = createPaginator(SSOAdminClient, ListTrustedTokenIssuersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -4,4 +4,4 @@ import { SSOAdminPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAccountAssignmentCreationStatus: (config: SSOAdminPaginationConfiguration, input: ListAccountAssignmentCreationStatusCommandInput, ...rest: any[]) => Paginator<ListAccountAssignmentCreationStatusCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { SSOAdminPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAccountAssignmentDeletionStatus: (config: SSOAdminPaginationConfiguration, input: ListAccountAssignmentDeletionStatusCommandInput, ...rest: any[]) => Paginator<ListAccountAssignmentDeletionStatusCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { SSOAdminPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAccountAssignmentsForPrincipal: (config: SSOAdminPaginationConfiguration, input: ListAccountAssignmentsForPrincipalCommandInput, ...rest: any[]) => Paginator<ListAccountAssignmentsForPrincipalCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { SSOAdminPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAccountAssignments: (config: SSOAdminPaginationConfiguration, input: ListAccountAssignmentsCommandInput, ...rest: any[]) => Paginator<ListAccountAssignmentsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { SSOAdminPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAccountsForProvisionedPermissionSet: (config: SSOAdminPaginationConfiguration, input: ListAccountsForProvisionedPermissionSetCommandInput, ...rest: any[]) => Paginator<ListAccountsForProvisionedPermissionSetCommandOutput>;
|