@aws-sdk/client-appconfig 3.477.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/ListApplicationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListConfigurationProfilesPaginator.js +2 -24
- package/dist-cjs/pagination/ListDeploymentStrategiesPaginator.js +2 -24
- package/dist-cjs/pagination/ListDeploymentsPaginator.js +2 -24
- package/dist-cjs/pagination/ListEnvironmentsPaginator.js +2 -24
- package/dist-cjs/pagination/ListExtensionAssociationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListExtensionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListHostedConfigurationVersionsPaginator.js +2 -24
- package/dist-es/pagination/ListApplicationsPaginator.js +2 -23
- package/dist-es/pagination/ListConfigurationProfilesPaginator.js +2 -23
- package/dist-es/pagination/ListDeploymentStrategiesPaginator.js +2 -23
- package/dist-es/pagination/ListDeploymentsPaginator.js +2 -23
- package/dist-es/pagination/ListEnvironmentsPaginator.js +2 -23
- package/dist-es/pagination/ListExtensionAssociationsPaginator.js +2 -23
- package/dist-es/pagination/ListExtensionsPaginator.js +2 -23
- package/dist-es/pagination/ListHostedConfigurationVersionsPaginator.js +2 -23
- package/dist-types/pagination/ListApplicationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListConfigurationProfilesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDeploymentStrategiesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDeploymentsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEnvironmentsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListExtensionAssociationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListExtensionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListHostedConfigurationVersionsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListConfigurationProfilesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDeploymentStrategiesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDeploymentsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEnvironmentsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListExtensionAssociationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListExtensionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListHostedConfigurationVersionsPaginator.d.ts +3 -3
- package/package.json +5 -5
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListApplications = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AppConfigClient_1 = require("../AppConfigClient");
|
|
5
6
|
const ListApplicationsCommand_1 = require("../commands/ListApplicationsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListApplicationsCommand_1.ListApplicationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListApplications(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 AppConfigClient_1.AppConfigClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AppConfig | AppConfigClient");
|
|
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.paginateListApplications = paginateListApplications;
|
|
7
|
+
exports.paginateListApplications = (0, core_1.createPaginator)(AppConfigClient_1.AppConfigClient, ListApplicationsCommand_1.ListApplicationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListConfigurationProfiles = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AppConfigClient_1 = require("../AppConfigClient");
|
|
5
6
|
const ListConfigurationProfilesCommand_1 = require("../commands/ListConfigurationProfilesCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListConfigurationProfilesCommand_1.ListConfigurationProfilesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListConfigurationProfiles(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 AppConfigClient_1.AppConfigClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AppConfig | AppConfigClient");
|
|
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.paginateListConfigurationProfiles = paginateListConfigurationProfiles;
|
|
7
|
+
exports.paginateListConfigurationProfiles = (0, core_1.createPaginator)(AppConfigClient_1.AppConfigClient, ListConfigurationProfilesCommand_1.ListConfigurationProfilesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDeploymentStrategies = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AppConfigClient_1 = require("../AppConfigClient");
|
|
5
6
|
const ListDeploymentStrategiesCommand_1 = require("../commands/ListDeploymentStrategiesCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListDeploymentStrategiesCommand_1.ListDeploymentStrategiesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListDeploymentStrategies(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 AppConfigClient_1.AppConfigClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AppConfig | AppConfigClient");
|
|
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.paginateListDeploymentStrategies = paginateListDeploymentStrategies;
|
|
7
|
+
exports.paginateListDeploymentStrategies = (0, core_1.createPaginator)(AppConfigClient_1.AppConfigClient, ListDeploymentStrategiesCommand_1.ListDeploymentStrategiesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDeployments = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AppConfigClient_1 = require("../AppConfigClient");
|
|
5
6
|
const ListDeploymentsCommand_1 = require("../commands/ListDeploymentsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListDeploymentsCommand_1.ListDeploymentsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListDeployments(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 AppConfigClient_1.AppConfigClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AppConfig | AppConfigClient");
|
|
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.paginateListDeployments = paginateListDeployments;
|
|
7
|
+
exports.paginateListDeployments = (0, core_1.createPaginator)(AppConfigClient_1.AppConfigClient, ListDeploymentsCommand_1.ListDeploymentsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListEnvironments = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AppConfigClient_1 = require("../AppConfigClient");
|
|
5
6
|
const ListEnvironmentsCommand_1 = require("../commands/ListEnvironmentsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListEnvironmentsCommand_1.ListEnvironmentsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListEnvironments(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 AppConfigClient_1.AppConfigClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AppConfig | AppConfigClient");
|
|
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.paginateListEnvironments = paginateListEnvironments;
|
|
7
|
+
exports.paginateListEnvironments = (0, core_1.createPaginator)(AppConfigClient_1.AppConfigClient, ListEnvironmentsCommand_1.ListEnvironmentsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListExtensionAssociations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AppConfigClient_1 = require("../AppConfigClient");
|
|
5
6
|
const ListExtensionAssociationsCommand_1 = require("../commands/ListExtensionAssociationsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListExtensionAssociationsCommand_1.ListExtensionAssociationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListExtensionAssociations(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 AppConfigClient_1.AppConfigClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AppConfig | AppConfigClient");
|
|
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.paginateListExtensionAssociations = paginateListExtensionAssociations;
|
|
7
|
+
exports.paginateListExtensionAssociations = (0, core_1.createPaginator)(AppConfigClient_1.AppConfigClient, ListExtensionAssociationsCommand_1.ListExtensionAssociationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListExtensions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AppConfigClient_1 = require("../AppConfigClient");
|
|
5
6
|
const ListExtensionsCommand_1 = require("../commands/ListExtensionsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListExtensionsCommand_1.ListExtensionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListExtensions(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 AppConfigClient_1.AppConfigClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AppConfig | AppConfigClient");
|
|
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.paginateListExtensions = paginateListExtensions;
|
|
7
|
+
exports.paginateListExtensions = (0, core_1.createPaginator)(AppConfigClient_1.AppConfigClient, ListExtensionsCommand_1.ListExtensionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListHostedConfigurationVersions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AppConfigClient_1 = require("../AppConfigClient");
|
|
5
6
|
const ListHostedConfigurationVersionsCommand_1 = require("../commands/ListHostedConfigurationVersionsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListHostedConfigurationVersionsCommand_1.ListHostedConfigurationVersionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListHostedConfigurationVersions(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 AppConfigClient_1.AppConfigClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AppConfig | AppConfigClient");
|
|
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.paginateListHostedConfigurationVersions = paginateListHostedConfigurationVersions;
|
|
7
|
+
exports.paginateListHostedConfigurationVersions = (0, core_1.createPaginator)(AppConfigClient_1.AppConfigClient, ListHostedConfigurationVersionsCommand_1.ListHostedConfigurationVersionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { AppConfigClient } from "../AppConfigClient";
|
|
2
3
|
import { ListApplicationsCommand, } from "../commands/ListApplicationsCommand";
|
|
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 AppConfigClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected AppConfig | AppConfigClient");
|
|
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(AppConfigClient, ListApplicationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { AppConfigClient } from "../AppConfigClient";
|
|
2
3
|
import { ListConfigurationProfilesCommand, } from "../commands/ListConfigurationProfilesCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListConfigurationProfilesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListConfigurationProfiles(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 AppConfigClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected AppConfig | AppConfigClient");
|
|
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 paginateListConfigurationProfiles = createPaginator(AppConfigClient, ListConfigurationProfilesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { AppConfigClient } from "../AppConfigClient";
|
|
2
3
|
import { ListDeploymentStrategiesCommand, } from "../commands/ListDeploymentStrategiesCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListDeploymentStrategiesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListDeploymentStrategies(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 AppConfigClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected AppConfig | AppConfigClient");
|
|
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 paginateListDeploymentStrategies = createPaginator(AppConfigClient, ListDeploymentStrategiesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { AppConfigClient } from "../AppConfigClient";
|
|
2
3
|
import { ListDeploymentsCommand, } from "../commands/ListDeploymentsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListDeploymentsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListDeployments(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 AppConfigClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected AppConfig | AppConfigClient");
|
|
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 paginateListDeployments = createPaginator(AppConfigClient, ListDeploymentsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { AppConfigClient } from "../AppConfigClient";
|
|
2
3
|
import { ListEnvironmentsCommand, } from "../commands/ListEnvironmentsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListEnvironmentsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListEnvironments(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 AppConfigClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected AppConfig | AppConfigClient");
|
|
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 paginateListEnvironments = createPaginator(AppConfigClient, ListEnvironmentsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { AppConfigClient } from "../AppConfigClient";
|
|
2
3
|
import { ListExtensionAssociationsCommand, } from "../commands/ListExtensionAssociationsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListExtensionAssociationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListExtensionAssociations(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 AppConfigClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected AppConfig | AppConfigClient");
|
|
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 paginateListExtensionAssociations = createPaginator(AppConfigClient, ListExtensionAssociationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { AppConfigClient } from "../AppConfigClient";
|
|
2
3
|
import { ListExtensionsCommand, } from "../commands/ListExtensionsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListExtensionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListExtensions(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 AppConfigClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected AppConfig | AppConfigClient");
|
|
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 paginateListExtensions = createPaginator(AppConfigClient, ListExtensionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { AppConfigClient } from "../AppConfigClient";
|
|
2
3
|
import { ListHostedConfigurationVersionsCommand, } from "../commands/ListHostedConfigurationVersionsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListHostedConfigurationVersionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListHostedConfigurationVersions(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 AppConfigClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected AppConfig | AppConfigClient");
|
|
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 paginateListHostedConfigurationVersions = createPaginator(AppConfigClient, ListHostedConfigurationVersionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -4,4 +4,4 @@ import { AppConfigPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListApplications: (config: AppConfigPaginationConfiguration, input: ListApplicationsCommandInput, ...rest: any[]) => Paginator<ListApplicationsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AppConfigPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListConfigurationProfiles: (config: AppConfigPaginationConfiguration, input: ListConfigurationProfilesCommandInput, ...rest: any[]) => Paginator<ListConfigurationProfilesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AppConfigPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListDeploymentStrategies: (config: AppConfigPaginationConfiguration, input: ListDeploymentStrategiesCommandInput, ...rest: any[]) => Paginator<ListDeploymentStrategiesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AppConfigPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListDeployments: (config: AppConfigPaginationConfiguration, input: ListDeploymentsCommandInput, ...rest: any[]) => Paginator<ListDeploymentsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AppConfigPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListEnvironments: (config: AppConfigPaginationConfiguration, input: ListEnvironmentsCommandInput, ...rest: any[]) => Paginator<ListEnvironmentsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AppConfigPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListExtensionAssociations: (config: AppConfigPaginationConfiguration, input: ListExtensionAssociationsCommandInput, ...rest: any[]) => Paginator<ListExtensionAssociationsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AppConfigPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListExtensions: (config: AppConfigPaginationConfiguration, input: ListExtensionsCommandInput, ...rest: any[]) => Paginator<ListExtensionsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AppConfigPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListHostedConfigurationVersions: (config: AppConfigPaginationConfiguration, input: ListHostedConfigurationVersionsCommandInput, ...rest: any[]) => Paginator<ListHostedConfigurationVersionsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListApplicationsCommandOutput,
|
|
5
5
|
} from "../commands/ListApplicationsCommand";
|
|
6
6
|
import { AppConfigPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListApplications: (
|
|
8
8
|
config: AppConfigPaginationConfiguration,
|
|
9
9
|
input: ListApplicationsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListApplicationsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListConfigurationProfilesCommandOutput,
|
|
5
5
|
} from "../commands/ListConfigurationProfilesCommand";
|
|
6
6
|
import { AppConfigPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListConfigurationProfiles: (
|
|
8
8
|
config: AppConfigPaginationConfiguration,
|
|
9
9
|
input: ListConfigurationProfilesCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListConfigurationProfilesCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListDeploymentStrategiesCommandOutput,
|
|
5
5
|
} from "../commands/ListDeploymentStrategiesCommand";
|
|
6
6
|
import { AppConfigPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListDeploymentStrategies: (
|
|
8
8
|
config: AppConfigPaginationConfiguration,
|
|
9
9
|
input: ListDeploymentStrategiesCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListDeploymentStrategiesCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListDeploymentsCommandOutput,
|
|
5
5
|
} from "../commands/ListDeploymentsCommand";
|
|
6
6
|
import { AppConfigPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListDeployments: (
|
|
8
8
|
config: AppConfigPaginationConfiguration,
|
|
9
9
|
input: ListDeploymentsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListDeploymentsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListEnvironmentsCommandOutput,
|
|
5
5
|
} from "../commands/ListEnvironmentsCommand";
|
|
6
6
|
import { AppConfigPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListEnvironments: (
|
|
8
8
|
config: AppConfigPaginationConfiguration,
|
|
9
9
|
input: ListEnvironmentsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListEnvironmentsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListExtensionAssociationsCommandOutput,
|
|
5
5
|
} from "../commands/ListExtensionAssociationsCommand";
|
|
6
6
|
import { AppConfigPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListExtensionAssociations: (
|
|
8
8
|
config: AppConfigPaginationConfiguration,
|
|
9
9
|
input: ListExtensionAssociationsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListExtensionAssociationsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListExtensionsCommandOutput,
|
|
5
5
|
} from "../commands/ListExtensionsCommand";
|
|
6
6
|
import { AppConfigPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListExtensions: (
|
|
8
8
|
config: AppConfigPaginationConfiguration,
|
|
9
9
|
input: ListExtensionsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListExtensionsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListHostedConfigurationVersionsCommandOutput,
|
|
5
5
|
} from "../commands/ListHostedConfigurationVersionsCommand";
|
|
6
6
|
import { AppConfigPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListHostedConfigurationVersions: (
|
|
8
8
|
config: AppConfigPaginationConfiguration,
|
|
9
9
|
input: ListHostedConfigurationVersionsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListHostedConfigurationVersionsCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-appconfig",
|
|
3
3
|
"description": "AWS SDK for JavaScript Appconfig Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.478.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.478.0",
|
|
24
24
|
"@aws-sdk/core": "3.477.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.478.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.468.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.468.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.468.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.468.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.478.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.470.0",
|
|
32
32
|
"@aws-sdk/types": "3.468.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.478.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.468.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.470.0",
|
|
36
36
|
"@smithy/config-resolver": "^2.0.21",
|