@aws-sdk/client-appconfig 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/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-cjs/protocols/Aws_restJson1.js +322 -635
- 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-es/protocols/Aws_restJson1.js +323 -636
- 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 +7 -6
|
@@ -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");
|