@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
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateApplicationCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "AppConfigClient";
|
|
29
|
-
const commandName = "UpdateApplicationCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonAppConfig",
|
|
38
|
-
operation: "UpdateApplication",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateApplicationCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateApplicationCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateApplicationCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonAppConfig", "UpdateApplication", {})
|
|
22
|
+
.n("AppConfigClient", "UpdateApplicationCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateApplicationCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateApplicationCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateApplicationCommand = UpdateApplicationCommand;
|
|
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
-
class UpdateConfigurationProfileCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "AppConfigClient";
|
|
30
|
-
const commandName = "UpdateConfigurationProfileCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: models_0_1.UpdateConfigurationProfileRequestFilterSensitiveLog,
|
|
36
|
-
outputFilterSensitiveLog: models_0_1.ConfigurationProfileFilterSensitiveLog,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "AmazonAppConfig",
|
|
39
|
-
operation: "UpdateConfigurationProfile",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_restJson1_1.se_UpdateConfigurationProfileCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_restJson1_1.de_UpdateConfigurationProfileCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class UpdateConfigurationProfileCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("AmazonAppConfig", "UpdateConfigurationProfile", {})
|
|
23
|
+
.n("AppConfigClient", "UpdateConfigurationProfileCommand")
|
|
24
|
+
.f(models_0_1.UpdateConfigurationProfileRequestFilterSensitiveLog, models_0_1.ConfigurationProfileFilterSensitiveLog)
|
|
25
|
+
.ser(Aws_restJson1_1.se_UpdateConfigurationProfileCommand)
|
|
26
|
+
.de(Aws_restJson1_1.de_UpdateConfigurationProfileCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.UpdateConfigurationProfileCommand = UpdateConfigurationProfileCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateDeploymentStrategyCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "AppConfigClient";
|
|
29
|
-
const commandName = "UpdateDeploymentStrategyCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonAppConfig",
|
|
38
|
-
operation: "UpdateDeploymentStrategy",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateDeploymentStrategyCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateDeploymentStrategyCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateDeploymentStrategyCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonAppConfig", "UpdateDeploymentStrategy", {})
|
|
22
|
+
.n("AppConfigClient", "UpdateDeploymentStrategyCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateDeploymentStrategyCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateDeploymentStrategyCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateDeploymentStrategyCommand = UpdateDeploymentStrategyCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateEnvironmentCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "AppConfigClient";
|
|
29
|
-
const commandName = "UpdateEnvironmentCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonAppConfig",
|
|
38
|
-
operation: "UpdateEnvironment",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateEnvironmentCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateEnvironmentCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateEnvironmentCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonAppConfig", "UpdateEnvironment", {})
|
|
22
|
+
.n("AppConfigClient", "UpdateEnvironmentCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateEnvironmentCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateEnvironmentCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateEnvironmentCommand = UpdateEnvironmentCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateExtensionAssociationCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "AppConfigClient";
|
|
29
|
-
const commandName = "UpdateExtensionAssociationCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonAppConfig",
|
|
38
|
-
operation: "UpdateExtensionAssociation",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateExtensionAssociationCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateExtensionAssociationCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateExtensionAssociationCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonAppConfig", "UpdateExtensionAssociation", {})
|
|
22
|
+
.n("AppConfigClient", "UpdateExtensionAssociationCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateExtensionAssociationCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateExtensionAssociationCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateExtensionAssociationCommand = UpdateExtensionAssociationCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateExtensionCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "AppConfigClient";
|
|
29
|
-
const commandName = "UpdateExtensionCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonAppConfig",
|
|
38
|
-
operation: "UpdateExtension",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateExtensionCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateExtensionCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateExtensionCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonAppConfig", "UpdateExtension", {})
|
|
22
|
+
.n("AppConfigClient", "UpdateExtensionCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateExtensionCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateExtensionCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateExtensionCommand = UpdateExtensionCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class ValidateConfigurationCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "AppConfigClient";
|
|
29
|
-
const commandName = "ValidateConfigurationCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonAppConfig",
|
|
38
|
-
operation: "ValidateConfiguration",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_ValidateConfigurationCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_ValidateConfigurationCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class ValidateConfigurationCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonAppConfig", "ValidateConfiguration", {})
|
|
22
|
+
.n("AppConfigClient", "ValidateConfigurationCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_ValidateConfigurationCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_ValidateConfigurationCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.ValidateConfigurationCommand = ValidateConfigurationCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -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");
|