@aws-sdk/client-appconfig 3.477.0 → 3.481.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/commands/CreateApplicationCommand.js +18 -41
- package/dist-cjs/commands/CreateConfigurationProfileCommand.js +18 -41
- package/dist-cjs/commands/CreateDeploymentStrategyCommand.js +18 -41
- package/dist-cjs/commands/CreateEnvironmentCommand.js +18 -41
- package/dist-cjs/commands/CreateExtensionAssociationCommand.js +18 -41
- package/dist-cjs/commands/CreateExtensionCommand.js +18 -41
- package/dist-cjs/commands/CreateHostedConfigurationVersionCommand.js +18 -41
- package/dist-cjs/commands/DeleteApplicationCommand.js +18 -41
- package/dist-cjs/commands/DeleteConfigurationProfileCommand.js +18 -41
- package/dist-cjs/commands/DeleteDeploymentStrategyCommand.js +18 -41
- package/dist-cjs/commands/DeleteEnvironmentCommand.js +18 -41
- package/dist-cjs/commands/DeleteExtensionAssociationCommand.js +18 -41
- package/dist-cjs/commands/DeleteExtensionCommand.js +18 -41
- package/dist-cjs/commands/DeleteHostedConfigurationVersionCommand.js +18 -41
- package/dist-cjs/commands/GetApplicationCommand.js +18 -41
- package/dist-cjs/commands/GetConfigurationCommand.js +18 -41
- package/dist-cjs/commands/GetConfigurationProfileCommand.js +18 -41
- package/dist-cjs/commands/GetDeploymentCommand.js +18 -41
- package/dist-cjs/commands/GetDeploymentStrategyCommand.js +18 -41
- package/dist-cjs/commands/GetEnvironmentCommand.js +18 -41
- package/dist-cjs/commands/GetExtensionAssociationCommand.js +18 -41
- package/dist-cjs/commands/GetExtensionCommand.js +18 -41
- package/dist-cjs/commands/GetHostedConfigurationVersionCommand.js +18 -41
- package/dist-cjs/commands/ListApplicationsCommand.js +18 -41
- package/dist-cjs/commands/ListConfigurationProfilesCommand.js +18 -41
- package/dist-cjs/commands/ListDeploymentStrategiesCommand.js +18 -41
- package/dist-cjs/commands/ListDeploymentsCommand.js +18 -41
- package/dist-cjs/commands/ListEnvironmentsCommand.js +18 -41
- package/dist-cjs/commands/ListExtensionAssociationsCommand.js +18 -41
- package/dist-cjs/commands/ListExtensionsCommand.js +18 -41
- package/dist-cjs/commands/ListHostedConfigurationVersionsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/StartDeploymentCommand.js +18 -41
- package/dist-cjs/commands/StopDeploymentCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateApplicationCommand.js +18 -41
- package/dist-cjs/commands/UpdateConfigurationProfileCommand.js +18 -41
- package/dist-cjs/commands/UpdateDeploymentStrategyCommand.js +18 -41
- package/dist-cjs/commands/UpdateEnvironmentCommand.js +18 -41
- package/dist-cjs/commands/UpdateExtensionAssociationCommand.js +18 -41
- package/dist-cjs/commands/UpdateExtensionCommand.js +18 -41
- package/dist-cjs/commands/ValidateConfigurationCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- 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/commands/CreateApplicationCommand.js +18 -41
- package/dist-es/commands/CreateConfigurationProfileCommand.js +18 -41
- package/dist-es/commands/CreateDeploymentStrategyCommand.js +18 -41
- package/dist-es/commands/CreateEnvironmentCommand.js +18 -41
- package/dist-es/commands/CreateExtensionAssociationCommand.js +18 -41
- package/dist-es/commands/CreateExtensionCommand.js +18 -41
- package/dist-es/commands/CreateHostedConfigurationVersionCommand.js +18 -41
- package/dist-es/commands/DeleteApplicationCommand.js +18 -41
- package/dist-es/commands/DeleteConfigurationProfileCommand.js +18 -41
- package/dist-es/commands/DeleteDeploymentStrategyCommand.js +18 -41
- package/dist-es/commands/DeleteEnvironmentCommand.js +18 -41
- package/dist-es/commands/DeleteExtensionAssociationCommand.js +18 -41
- package/dist-es/commands/DeleteExtensionCommand.js +18 -41
- package/dist-es/commands/DeleteHostedConfigurationVersionCommand.js +18 -41
- package/dist-es/commands/GetApplicationCommand.js +18 -41
- package/dist-es/commands/GetConfigurationCommand.js +18 -41
- package/dist-es/commands/GetConfigurationProfileCommand.js +18 -41
- package/dist-es/commands/GetDeploymentCommand.js +18 -41
- package/dist-es/commands/GetDeploymentStrategyCommand.js +18 -41
- package/dist-es/commands/GetEnvironmentCommand.js +18 -41
- package/dist-es/commands/GetExtensionAssociationCommand.js +18 -41
- package/dist-es/commands/GetExtensionCommand.js +18 -41
- package/dist-es/commands/GetHostedConfigurationVersionCommand.js +18 -41
- package/dist-es/commands/ListApplicationsCommand.js +18 -41
- package/dist-es/commands/ListConfigurationProfilesCommand.js +18 -41
- package/dist-es/commands/ListDeploymentStrategiesCommand.js +18 -41
- package/dist-es/commands/ListDeploymentsCommand.js +18 -41
- package/dist-es/commands/ListEnvironmentsCommand.js +18 -41
- package/dist-es/commands/ListExtensionAssociationsCommand.js +18 -41
- package/dist-es/commands/ListExtensionsCommand.js +18 -41
- package/dist-es/commands/ListHostedConfigurationVersionsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/StartDeploymentCommand.js +18 -41
- package/dist-es/commands/StopDeploymentCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateApplicationCommand.js +18 -41
- package/dist-es/commands/UpdateConfigurationProfileCommand.js +18 -41
- package/dist-es/commands/UpdateDeploymentStrategyCommand.js +18 -41
- package/dist-es/commands/UpdateEnvironmentCommand.js +18 -41
- package/dist-es/commands/UpdateExtensionAssociationCommand.js +18 -41
- package/dist-es/commands/UpdateExtensionCommand.js +18 -41
- package/dist-es/commands/ValidateConfigurationCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- 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/commands/CreateApplicationCommand.d.ts +6 -21
- package/dist-types/commands/CreateConfigurationProfileCommand.d.ts +6 -21
- package/dist-types/commands/CreateDeploymentStrategyCommand.d.ts +6 -21
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +6 -21
- package/dist-types/commands/CreateExtensionAssociationCommand.d.ts +6 -21
- package/dist-types/commands/CreateExtensionCommand.d.ts +6 -21
- package/dist-types/commands/CreateHostedConfigurationVersionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteApplicationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteConfigurationProfileCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDeploymentStrategyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteEnvironmentCommand.d.ts +6 -21
- package/dist-types/commands/DeleteExtensionAssociationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteExtensionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteHostedConfigurationVersionCommand.d.ts +6 -21
- package/dist-types/commands/GetApplicationCommand.d.ts +6 -21
- package/dist-types/commands/GetConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/GetConfigurationProfileCommand.d.ts +6 -21
- package/dist-types/commands/GetDeploymentCommand.d.ts +6 -21
- package/dist-types/commands/GetDeploymentStrategyCommand.d.ts +6 -21
- package/dist-types/commands/GetEnvironmentCommand.d.ts +6 -21
- package/dist-types/commands/GetExtensionAssociationCommand.d.ts +6 -21
- package/dist-types/commands/GetExtensionCommand.d.ts +6 -21
- package/dist-types/commands/GetHostedConfigurationVersionCommand.d.ts +6 -21
- package/dist-types/commands/ListApplicationsCommand.d.ts +6 -21
- package/dist-types/commands/ListConfigurationProfilesCommand.d.ts +6 -21
- package/dist-types/commands/ListDeploymentStrategiesCommand.d.ts +6 -21
- package/dist-types/commands/ListDeploymentsCommand.d.ts +6 -21
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +6 -21
- package/dist-types/commands/ListExtensionAssociationsCommand.d.ts +6 -21
- package/dist-types/commands/ListExtensionsCommand.d.ts +6 -21
- package/dist-types/commands/ListHostedConfigurationVersionsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/StartDeploymentCommand.d.ts +6 -21
- package/dist-types/commands/StopDeploymentCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateApplicationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateConfigurationProfileCommand.d.ts +6 -21
- package/dist-types/commands/UpdateDeploymentStrategyCommand.d.ts +6 -21
- package/dist-types/commands/UpdateEnvironmentCommand.d.ts +6 -21
- package/dist-types/commands/UpdateExtensionAssociationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateExtensionCommand.d.ts +6 -21
- package/dist-types/commands/ValidateConfigurationCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- 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/commands/CreateApplicationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateConfigurationProfileCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateDeploymentStrategyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateEnvironmentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateExtensionAssociationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateExtensionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateHostedConfigurationVersionCommand.d.ts +11 -21
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteConfigurationProfileCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteDeploymentStrategyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteExtensionAssociationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteExtensionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteHostedConfigurationVersionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetConfigurationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetConfigurationProfileCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetDeploymentStrategyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetExtensionAssociationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetExtensionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetHostedConfigurationVersionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListConfigurationProfilesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListDeploymentStrategiesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListExtensionAssociationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListExtensionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListHostedConfigurationVersionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartDeploymentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StopDeploymentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateConfigurationProfileCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateDeploymentStrategyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateEnvironmentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateExtensionAssociationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateExtensionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ValidateConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- 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 +11 -11
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class TagResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "AppConfigClient";
|
|
26
|
-
const commandName = "TagResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonAppConfig",
|
|
35
|
-
operation: "TagResource",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_TagResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_TagResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class TagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonAppConfig", "TagResource", {})
|
|
19
|
+
.n("AppConfigClient", "TagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_TagResourceCommand)
|
|
22
|
+
.de(de_TagResourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UntagResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "AppConfigClient";
|
|
26
|
-
const commandName = "UntagResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonAppConfig",
|
|
35
|
-
operation: "UntagResource",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UntagResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UntagResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UntagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonAppConfig", "UntagResource", {})
|
|
19
|
+
.n("AppConfigClient", "UntagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UntagResourceCommand)
|
|
22
|
+
.de(de_UntagResourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateApplicationCommand, se_UpdateApplicationCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateApplicationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "AppConfigClient";
|
|
26
|
-
const commandName = "UpdateApplicationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonAppConfig",
|
|
35
|
-
operation: "UpdateApplication",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateApplicationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateApplicationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateApplicationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonAppConfig", "UpdateApplication", {})
|
|
19
|
+
.n("AppConfigClient", "UpdateApplicationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateApplicationCommand)
|
|
22
|
+
.de(de_UpdateApplicationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { ConfigurationProfileFilterSensitiveLog, UpdateConfigurationProfileRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_UpdateConfigurationProfileCommand, se_UpdateConfigurationProfileCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class UpdateConfigurationProfileCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "AppConfigClient";
|
|
27
|
-
const commandName = "UpdateConfigurationProfileCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: UpdateConfigurationProfileRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: ConfigurationProfileFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AmazonAppConfig",
|
|
36
|
-
operation: "UpdateConfigurationProfile",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_UpdateConfigurationProfileCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_UpdateConfigurationProfileCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class UpdateConfigurationProfileCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AmazonAppConfig", "UpdateConfigurationProfile", {})
|
|
20
|
+
.n("AppConfigClient", "UpdateConfigurationProfileCommand")
|
|
21
|
+
.f(UpdateConfigurationProfileRequestFilterSensitiveLog, ConfigurationProfileFilterSensitiveLog)
|
|
22
|
+
.ser(se_UpdateConfigurationProfileCommand)
|
|
23
|
+
.de(de_UpdateConfigurationProfileCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateDeploymentStrategyCommand, se_UpdateDeploymentStrategyCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateDeploymentStrategyCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "AppConfigClient";
|
|
26
|
-
const commandName = "UpdateDeploymentStrategyCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonAppConfig",
|
|
35
|
-
operation: "UpdateDeploymentStrategy",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateDeploymentStrategyCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateDeploymentStrategyCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateDeploymentStrategyCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonAppConfig", "UpdateDeploymentStrategy", {})
|
|
19
|
+
.n("AppConfigClient", "UpdateDeploymentStrategyCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateDeploymentStrategyCommand)
|
|
22
|
+
.de(de_UpdateDeploymentStrategyCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateEnvironmentCommand, se_UpdateEnvironmentCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateEnvironmentCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "AppConfigClient";
|
|
26
|
-
const commandName = "UpdateEnvironmentCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonAppConfig",
|
|
35
|
-
operation: "UpdateEnvironment",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateEnvironmentCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateEnvironmentCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateEnvironmentCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonAppConfig", "UpdateEnvironment", {})
|
|
19
|
+
.n("AppConfigClient", "UpdateEnvironmentCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateEnvironmentCommand)
|
|
22
|
+
.de(de_UpdateEnvironmentCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateExtensionAssociationCommand, se_UpdateExtensionAssociationCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateExtensionAssociationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "AppConfigClient";
|
|
26
|
-
const commandName = "UpdateExtensionAssociationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonAppConfig",
|
|
35
|
-
operation: "UpdateExtensionAssociation",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateExtensionAssociationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateExtensionAssociationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateExtensionAssociationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonAppConfig", "UpdateExtensionAssociation", {})
|
|
19
|
+
.n("AppConfigClient", "UpdateExtensionAssociationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateExtensionAssociationCommand)
|
|
22
|
+
.de(de_UpdateExtensionAssociationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateExtensionCommand, se_UpdateExtensionCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateExtensionCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "AppConfigClient";
|
|
26
|
-
const commandName = "UpdateExtensionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonAppConfig",
|
|
35
|
-
operation: "UpdateExtension",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateExtensionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateExtensionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateExtensionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonAppConfig", "UpdateExtension", {})
|
|
19
|
+
.n("AppConfigClient", "UpdateExtensionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateExtensionCommand)
|
|
22
|
+
.de(de_UpdateExtensionCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ValidateConfigurationCommand, se_ValidateConfigurationCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ValidateConfigurationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "AppConfigClient";
|
|
26
|
-
const commandName = "ValidateConfigurationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonAppConfig",
|
|
35
|
-
operation: "ValidateConfiguration",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ValidateConfigurationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ValidateConfigurationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ValidateConfigurationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonAppConfig", "ValidateConfiguration", {})
|
|
19
|
+
.n("AppConfigClient", "ValidateConfigurationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ValidateConfigurationCommand)
|
|
22
|
+
.de(de_ValidateConfigurationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "appconfig",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -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");
|