@aws-sdk/client-workspaces-web 3.44.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/CHANGELOG.md +11 -0
- package/LICENSE +201 -0
- package/README.md +208 -0
- package/dist-cjs/WorkSpacesWeb.js +667 -0
- package/dist-cjs/WorkSpacesWebClient.js +35 -0
- package/dist-cjs/commands/AssociateBrowserSettingsCommand.js +36 -0
- package/dist-cjs/commands/AssociateNetworkSettingsCommand.js +36 -0
- package/dist-cjs/commands/AssociateTrustStoreCommand.js +36 -0
- package/dist-cjs/commands/AssociateUserSettingsCommand.js +36 -0
- package/dist-cjs/commands/CreateBrowserSettingsCommand.js +36 -0
- package/dist-cjs/commands/CreateIdentityProviderCommand.js +36 -0
- package/dist-cjs/commands/CreateNetworkSettingsCommand.js +36 -0
- package/dist-cjs/commands/CreatePortalCommand.js +36 -0
- package/dist-cjs/commands/CreateTrustStoreCommand.js +36 -0
- package/dist-cjs/commands/CreateUserSettingsCommand.js +36 -0
- package/dist-cjs/commands/DeleteBrowserSettingsCommand.js +36 -0
- package/dist-cjs/commands/DeleteIdentityProviderCommand.js +36 -0
- package/dist-cjs/commands/DeleteNetworkSettingsCommand.js +36 -0
- package/dist-cjs/commands/DeletePortalCommand.js +36 -0
- package/dist-cjs/commands/DeleteTrustStoreCommand.js +36 -0
- package/dist-cjs/commands/DeleteUserSettingsCommand.js +36 -0
- package/dist-cjs/commands/DisassociateBrowserSettingsCommand.js +36 -0
- package/dist-cjs/commands/DisassociateNetworkSettingsCommand.js +36 -0
- package/dist-cjs/commands/DisassociateTrustStoreCommand.js +36 -0
- package/dist-cjs/commands/DisassociateUserSettingsCommand.js +36 -0
- package/dist-cjs/commands/GetBrowserSettingsCommand.js +36 -0
- package/dist-cjs/commands/GetIdentityProviderCommand.js +36 -0
- package/dist-cjs/commands/GetNetworkSettingsCommand.js +36 -0
- package/dist-cjs/commands/GetPortalCommand.js +36 -0
- package/dist-cjs/commands/GetPortalServiceProviderMetadataCommand.js +36 -0
- package/dist-cjs/commands/GetTrustStoreCertificateCommand.js +36 -0
- package/dist-cjs/commands/GetTrustStoreCommand.js +36 -0
- package/dist-cjs/commands/GetUserSettingsCommand.js +36 -0
- package/dist-cjs/commands/ListBrowserSettingsCommand.js +36 -0
- package/dist-cjs/commands/ListIdentityProvidersCommand.js +36 -0
- package/dist-cjs/commands/ListNetworkSettingsCommand.js +36 -0
- package/dist-cjs/commands/ListPortalsCommand.js +36 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
- package/dist-cjs/commands/ListTrustStoreCertificatesCommand.js +36 -0
- package/dist-cjs/commands/ListTrustStoresCommand.js +36 -0
- package/dist-cjs/commands/ListUserSettingsCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +36 -0
- package/dist-cjs/commands/UpdateBrowserSettingsCommand.js +36 -0
- package/dist-cjs/commands/UpdateIdentityProviderCommand.js +36 -0
- package/dist-cjs/commands/UpdateNetworkSettingsCommand.js +36 -0
- package/dist-cjs/commands/UpdatePortalCommand.js +36 -0
- package/dist-cjs/commands/UpdateTrustStoreCommand.js +36 -0
- package/dist-cjs/commands/UpdateUserSettingsCommand.js +36 -0
- package/dist-cjs/commands/index.js +47 -0
- package/dist-cjs/endpoints.js +130 -0
- package/dist-cjs/index.js +8 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +712 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListBrowserSettingsPaginator.js +35 -0
- package/dist-cjs/pagination/ListIdentityProvidersPaginator.js +35 -0
- package/dist-cjs/pagination/ListNetworkSettingsPaginator.js +35 -0
- package/dist-cjs/pagination/ListPortalsPaginator.js +35 -0
- package/dist-cjs/pagination/ListTrustStoreCertificatesPaginator.js +35 -0
- package/dist-cjs/pagination/ListTrustStoresPaginator.js +35 -0
- package/dist-cjs/pagination/ListUserSettingsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +11 -0
- package/dist-cjs/protocols/Aws_restJson1.js +5533 -0
- package/dist-cjs/runtimeConfig.browser.js +40 -0
- package/dist-cjs/runtimeConfig.js +44 -0
- package/dist-cjs/runtimeConfig.native.js +16 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/WorkSpacesWeb.js +670 -0
- package/dist-es/WorkSpacesWebClient.js +37 -0
- package/dist-es/commands/AssociateBrowserSettingsCommand.js +39 -0
- package/dist-es/commands/AssociateNetworkSettingsCommand.js +39 -0
- package/dist-es/commands/AssociateTrustStoreCommand.js +39 -0
- package/dist-es/commands/AssociateUserSettingsCommand.js +39 -0
- package/dist-es/commands/CreateBrowserSettingsCommand.js +39 -0
- package/dist-es/commands/CreateIdentityProviderCommand.js +39 -0
- package/dist-es/commands/CreateNetworkSettingsCommand.js +39 -0
- package/dist-es/commands/CreatePortalCommand.js +39 -0
- package/dist-es/commands/CreateTrustStoreCommand.js +39 -0
- package/dist-es/commands/CreateUserSettingsCommand.js +39 -0
- package/dist-es/commands/DeleteBrowserSettingsCommand.js +39 -0
- package/dist-es/commands/DeleteIdentityProviderCommand.js +39 -0
- package/dist-es/commands/DeleteNetworkSettingsCommand.js +39 -0
- package/dist-es/commands/DeletePortalCommand.js +39 -0
- package/dist-es/commands/DeleteTrustStoreCommand.js +39 -0
- package/dist-es/commands/DeleteUserSettingsCommand.js +39 -0
- package/dist-es/commands/DisassociateBrowserSettingsCommand.js +39 -0
- package/dist-es/commands/DisassociateNetworkSettingsCommand.js +39 -0
- package/dist-es/commands/DisassociateTrustStoreCommand.js +39 -0
- package/dist-es/commands/DisassociateUserSettingsCommand.js +39 -0
- package/dist-es/commands/GetBrowserSettingsCommand.js +39 -0
- package/dist-es/commands/GetIdentityProviderCommand.js +39 -0
- package/dist-es/commands/GetNetworkSettingsCommand.js +39 -0
- package/dist-es/commands/GetPortalCommand.js +39 -0
- package/dist-es/commands/GetPortalServiceProviderMetadataCommand.js +39 -0
- package/dist-es/commands/GetTrustStoreCertificateCommand.js +39 -0
- package/dist-es/commands/GetTrustStoreCommand.js +39 -0
- package/dist-es/commands/GetUserSettingsCommand.js +39 -0
- package/dist-es/commands/ListBrowserSettingsCommand.js +39 -0
- package/dist-es/commands/ListIdentityProvidersCommand.js +39 -0
- package/dist-es/commands/ListNetworkSettingsCommand.js +39 -0
- package/dist-es/commands/ListPortalsCommand.js +39 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
- package/dist-es/commands/ListTrustStoreCertificatesCommand.js +39 -0
- package/dist-es/commands/ListTrustStoresCommand.js +39 -0
- package/dist-es/commands/ListUserSettingsCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +39 -0
- package/dist-es/commands/UpdateBrowserSettingsCommand.js +39 -0
- package/dist-es/commands/UpdateIdentityProviderCommand.js +39 -0
- package/dist-es/commands/UpdateNetworkSettingsCommand.js +39 -0
- package/dist-es/commands/UpdatePortalCommand.js +39 -0
- package/dist-es/commands/UpdateTrustStoreCommand.js +39 -0
- package/dist-es/commands/UpdateUserSettingsCommand.js +39 -0
- package/dist-es/commands/index.js +44 -0
- package/dist-es/endpoints.js +126 -0
- package/dist-es/index.js +5 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +484 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListBrowserSettingsPaginator.js +74 -0
- package/dist-es/pagination/ListIdentityProvidersPaginator.js +74 -0
- package/dist-es/pagination/ListNetworkSettingsPaginator.js +74 -0
- package/dist-es/pagination/ListPortalsPaginator.js +74 -0
- package/dist-es/pagination/ListTrustStoreCertificatesPaginator.js +74 -0
- package/dist-es/pagination/ListTrustStoresPaginator.js +74 -0
- package/dist-es/pagination/ListUserSettingsPaginator.js +74 -0
- package/dist-es/pagination/index.js +8 -0
- package/dist-es/protocols/Aws_restJson1.js +6269 -0
- package/dist-es/runtimeConfig.browser.js +17 -0
- package/dist-es/runtimeConfig.js +21 -0
- package/dist-es/runtimeConfig.native.js +8 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-types/WorkSpacesWeb.d.ts +330 -0
- package/dist-types/WorkSpacesWebClient.d.ts +189 -0
- package/dist-types/commands/AssociateBrowserSettingsCommand.d.ts +35 -0
- package/dist-types/commands/AssociateNetworkSettingsCommand.d.ts +35 -0
- package/dist-types/commands/AssociateTrustStoreCommand.d.ts +35 -0
- package/dist-types/commands/AssociateUserSettingsCommand.d.ts +35 -0
- package/dist-types/commands/CreateBrowserSettingsCommand.d.ts +37 -0
- package/dist-types/commands/CreateIdentityProviderCommand.d.ts +35 -0
- package/dist-types/commands/CreateNetworkSettingsCommand.d.ts +37 -0
- package/dist-types/commands/CreatePortalCommand.d.ts +35 -0
- package/dist-types/commands/CreateTrustStoreCommand.d.ts +39 -0
- package/dist-types/commands/CreateUserSettingsCommand.d.ts +37 -0
- package/dist-types/commands/DeleteBrowserSettingsCommand.d.ts +35 -0
- package/dist-types/commands/DeleteIdentityProviderCommand.d.ts +35 -0
- package/dist-types/commands/DeleteNetworkSettingsCommand.d.ts +35 -0
- package/dist-types/commands/DeletePortalCommand.d.ts +35 -0
- package/dist-types/commands/DeleteTrustStoreCommand.d.ts +35 -0
- package/dist-types/commands/DeleteUserSettingsCommand.d.ts +35 -0
- package/dist-types/commands/DisassociateBrowserSettingsCommand.d.ts +35 -0
- package/dist-types/commands/DisassociateNetworkSettingsCommand.d.ts +35 -0
- package/dist-types/commands/DisassociateTrustStoreCommand.d.ts +35 -0
- package/dist-types/commands/DisassociateUserSettingsCommand.d.ts +35 -0
- package/dist-types/commands/GetBrowserSettingsCommand.d.ts +35 -0
- package/dist-types/commands/GetIdentityProviderCommand.d.ts +35 -0
- package/dist-types/commands/GetNetworkSettingsCommand.d.ts +35 -0
- package/dist-types/commands/GetPortalCommand.d.ts +35 -0
- package/dist-types/commands/GetPortalServiceProviderMetadataCommand.d.ts +35 -0
- package/dist-types/commands/GetTrustStoreCertificateCommand.d.ts +35 -0
- package/dist-types/commands/GetTrustStoreCommand.d.ts +35 -0
- package/dist-types/commands/GetUserSettingsCommand.d.ts +35 -0
- package/dist-types/commands/ListBrowserSettingsCommand.d.ts +35 -0
- package/dist-types/commands/ListIdentityProvidersCommand.d.ts +35 -0
- package/dist-types/commands/ListNetworkSettingsCommand.d.ts +35 -0
- package/dist-types/commands/ListPortalsCommand.d.ts +35 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
- package/dist-types/commands/ListTrustStoreCertificatesCommand.d.ts +35 -0
- package/dist-types/commands/ListTrustStoresCommand.d.ts +35 -0
- package/dist-types/commands/ListUserSettingsCommand.d.ts +35 -0
- package/dist-types/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UpdateBrowserSettingsCommand.d.ts +35 -0
- package/dist-types/commands/UpdateIdentityProviderCommand.d.ts +35 -0
- package/dist-types/commands/UpdateNetworkSettingsCommand.d.ts +35 -0
- package/dist-types/commands/UpdatePortalCommand.d.ts +35 -0
- package/dist-types/commands/UpdateTrustStoreCommand.d.ts +35 -0
- package/dist-types/commands/UpdateUserSettingsCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +44 -0
- package/dist-types/endpoints.d.ts +2 -0
- package/dist-types/index.d.ts +5 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2382 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListBrowserSettingsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListIdentityProvidersPaginator.d.ts +4 -0
- package/dist-types/pagination/ListNetworkSettingsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListPortalsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListTrustStoreCertificatesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListTrustStoresPaginator.d.ts +4 -0
- package/dist-types/pagination/ListUserSettingsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +8 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +134 -0
- package/dist-types/runtimeConfig.browser.d.ts +39 -0
- package/dist-types/runtimeConfig.d.ts +39 -0
- package/dist-types/runtimeConfig.native.d.ts +38 -0
- package/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/dist-types/ts3.4/WorkSpacesWeb.d.ts +225 -0
- package/dist-types/ts3.4/WorkSpacesWebClient.d.ts +115 -0
- package/dist-types/ts3.4/commands/AssociateBrowserSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AssociateNetworkSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AssociateTrustStoreCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AssociateUserSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateBrowserSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateIdentityProviderCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateNetworkSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreatePortalCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateTrustStoreCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateUserSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBrowserSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteIdentityProviderCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteNetworkSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeletePortalCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteTrustStoreCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteUserSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateBrowserSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateNetworkSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateTrustStoreCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateUserSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBrowserSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetIdentityProviderCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetNetworkSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetPortalCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetPortalServiceProviderMetadataCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetTrustStoreCertificateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetTrustStoreCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetUserSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListBrowserSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListIdentityProvidersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListNetworkSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPortalsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTrustStoreCertificatesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTrustStoresCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListUserSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateBrowserSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateIdentityProviderCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateNetworkSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdatePortalCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateTrustStoreCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateUserSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +44 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +5 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1238 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListBrowserSettingsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListIdentityProvidersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListNetworkSettingsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListPortalsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListTrustStoreCertificatesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListTrustStoresPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListUserSettingsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +134 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +36 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +96 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListBrowserSettings = void 0;
|
|
4
|
+
const ListBrowserSettingsCommand_1 = require("../commands/ListBrowserSettingsCommand");
|
|
5
|
+
const WorkSpacesWeb_1 = require("../WorkSpacesWeb");
|
|
6
|
+
const WorkSpacesWebClient_1 = require("../WorkSpacesWebClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListBrowserSettingsCommand_1.ListBrowserSettingsCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listBrowserSettings(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListBrowserSettings(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.nextToken = token;
|
|
19
|
+
input["maxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof WorkSpacesWeb_1.WorkSpacesWeb) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof WorkSpacesWebClient_1.WorkSpacesWebClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected WorkSpacesWeb | WorkSpacesWebClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
token = page.nextToken;
|
|
31
|
+
hasNext = !!token;
|
|
32
|
+
}
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
exports.paginateListBrowserSettings = paginateListBrowserSettings;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListIdentityProviders = void 0;
|
|
4
|
+
const ListIdentityProvidersCommand_1 = require("../commands/ListIdentityProvidersCommand");
|
|
5
|
+
const WorkSpacesWeb_1 = require("../WorkSpacesWeb");
|
|
6
|
+
const WorkSpacesWebClient_1 = require("../WorkSpacesWebClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListIdentityProvidersCommand_1.ListIdentityProvidersCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listIdentityProviders(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListIdentityProviders(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.nextToken = token;
|
|
19
|
+
input["maxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof WorkSpacesWeb_1.WorkSpacesWeb) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof WorkSpacesWebClient_1.WorkSpacesWebClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected WorkSpacesWeb | WorkSpacesWebClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
token = page.nextToken;
|
|
31
|
+
hasNext = !!token;
|
|
32
|
+
}
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
exports.paginateListIdentityProviders = paginateListIdentityProviders;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListNetworkSettings = void 0;
|
|
4
|
+
const ListNetworkSettingsCommand_1 = require("../commands/ListNetworkSettingsCommand");
|
|
5
|
+
const WorkSpacesWeb_1 = require("../WorkSpacesWeb");
|
|
6
|
+
const WorkSpacesWebClient_1 = require("../WorkSpacesWebClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListNetworkSettingsCommand_1.ListNetworkSettingsCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listNetworkSettings(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListNetworkSettings(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.nextToken = token;
|
|
19
|
+
input["maxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof WorkSpacesWeb_1.WorkSpacesWeb) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof WorkSpacesWebClient_1.WorkSpacesWebClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected WorkSpacesWeb | WorkSpacesWebClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
token = page.nextToken;
|
|
31
|
+
hasNext = !!token;
|
|
32
|
+
}
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
exports.paginateListNetworkSettings = paginateListNetworkSettings;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListPortals = void 0;
|
|
4
|
+
const ListPortalsCommand_1 = require("../commands/ListPortalsCommand");
|
|
5
|
+
const WorkSpacesWeb_1 = require("../WorkSpacesWeb");
|
|
6
|
+
const WorkSpacesWebClient_1 = require("../WorkSpacesWebClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListPortalsCommand_1.ListPortalsCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listPortals(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListPortals(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.nextToken = token;
|
|
19
|
+
input["maxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof WorkSpacesWeb_1.WorkSpacesWeb) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof WorkSpacesWebClient_1.WorkSpacesWebClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected WorkSpacesWeb | WorkSpacesWebClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
token = page.nextToken;
|
|
31
|
+
hasNext = !!token;
|
|
32
|
+
}
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
exports.paginateListPortals = paginateListPortals;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListTrustStoreCertificates = void 0;
|
|
4
|
+
const ListTrustStoreCertificatesCommand_1 = require("../commands/ListTrustStoreCertificatesCommand");
|
|
5
|
+
const WorkSpacesWeb_1 = require("../WorkSpacesWeb");
|
|
6
|
+
const WorkSpacesWebClient_1 = require("../WorkSpacesWebClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListTrustStoreCertificatesCommand_1.ListTrustStoreCertificatesCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listTrustStoreCertificates(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListTrustStoreCertificates(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.nextToken = token;
|
|
19
|
+
input["maxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof WorkSpacesWeb_1.WorkSpacesWeb) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof WorkSpacesWebClient_1.WorkSpacesWebClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected WorkSpacesWeb | WorkSpacesWebClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
token = page.nextToken;
|
|
31
|
+
hasNext = !!token;
|
|
32
|
+
}
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
exports.paginateListTrustStoreCertificates = paginateListTrustStoreCertificates;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListTrustStores = void 0;
|
|
4
|
+
const ListTrustStoresCommand_1 = require("../commands/ListTrustStoresCommand");
|
|
5
|
+
const WorkSpacesWeb_1 = require("../WorkSpacesWeb");
|
|
6
|
+
const WorkSpacesWebClient_1 = require("../WorkSpacesWebClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListTrustStoresCommand_1.ListTrustStoresCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listTrustStores(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListTrustStores(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.nextToken = token;
|
|
19
|
+
input["maxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof WorkSpacesWeb_1.WorkSpacesWeb) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof WorkSpacesWebClient_1.WorkSpacesWebClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected WorkSpacesWeb | WorkSpacesWebClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
token = page.nextToken;
|
|
31
|
+
hasNext = !!token;
|
|
32
|
+
}
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
exports.paginateListTrustStores = paginateListTrustStores;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListUserSettings = void 0;
|
|
4
|
+
const ListUserSettingsCommand_1 = require("../commands/ListUserSettingsCommand");
|
|
5
|
+
const WorkSpacesWeb_1 = require("../WorkSpacesWeb");
|
|
6
|
+
const WorkSpacesWebClient_1 = require("../WorkSpacesWebClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListUserSettingsCommand_1.ListUserSettingsCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listUserSettings(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListUserSettings(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.nextToken = token;
|
|
19
|
+
input["maxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof WorkSpacesWeb_1.WorkSpacesWeb) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof WorkSpacesWebClient_1.WorkSpacesWebClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected WorkSpacesWeb | WorkSpacesWebClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
token = page.nextToken;
|
|
31
|
+
hasNext = !!token;
|
|
32
|
+
}
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
exports.paginateListUserSettings = paginateListUserSettings;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ListBrowserSettingsPaginator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ListIdentityProvidersPaginator"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ListNetworkSettingsPaginator"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./ListPortalsPaginator"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./ListTrustStoreCertificatesPaginator"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./ListTrustStoresPaginator"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./ListUserSettingsPaginator"), exports);
|