@aws-sdk/client-codedeploy 3.1045.0 → 3.1047.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/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +119 -121
- package/dist-cjs/models/CodeDeployServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +12 -14
- package/dist-cjs/runtimeConfig.js +18 -22
- package/dist-cjs/runtimeConfig.shared.js +9 -10
- package/dist-es/CodeDeploy.js +1 -1
- package/dist-es/CodeDeployClient.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/AddTagsToOnPremisesInstancesCommand.js +2 -2
- package/dist-es/commands/BatchGetApplicationRevisionsCommand.js +2 -2
- package/dist-es/commands/BatchGetApplicationsCommand.js +2 -2
- package/dist-es/commands/BatchGetDeploymentGroupsCommand.js +2 -2
- package/dist-es/commands/BatchGetDeploymentInstancesCommand.js +2 -2
- package/dist-es/commands/BatchGetDeploymentTargetsCommand.js +2 -2
- package/dist-es/commands/BatchGetDeploymentsCommand.js +2 -2
- package/dist-es/commands/BatchGetOnPremisesInstancesCommand.js +2 -2
- package/dist-es/commands/ContinueDeploymentCommand.js +2 -2
- package/dist-es/commands/CreateApplicationCommand.js +2 -2
- package/dist-es/commands/CreateDeploymentCommand.js +2 -2
- package/dist-es/commands/CreateDeploymentConfigCommand.js +2 -2
- package/dist-es/commands/CreateDeploymentGroupCommand.js +2 -2
- package/dist-es/commands/DeleteApplicationCommand.js +2 -2
- package/dist-es/commands/DeleteDeploymentConfigCommand.js +2 -2
- package/dist-es/commands/DeleteDeploymentGroupCommand.js +2 -2
- package/dist-es/commands/DeleteGitHubAccountTokenCommand.js +2 -2
- package/dist-es/commands/DeleteResourcesByExternalIdCommand.js +2 -2
- package/dist-es/commands/DeregisterOnPremisesInstanceCommand.js +2 -2
- package/dist-es/commands/GetApplicationCommand.js +2 -2
- package/dist-es/commands/GetApplicationRevisionCommand.js +2 -2
- package/dist-es/commands/GetDeploymentCommand.js +2 -2
- package/dist-es/commands/GetDeploymentConfigCommand.js +2 -2
- package/dist-es/commands/GetDeploymentGroupCommand.js +2 -2
- package/dist-es/commands/GetDeploymentInstanceCommand.js +2 -2
- package/dist-es/commands/GetDeploymentTargetCommand.js +2 -2
- package/dist-es/commands/GetOnPremisesInstanceCommand.js +2 -2
- package/dist-es/commands/ListApplicationRevisionsCommand.js +2 -2
- package/dist-es/commands/ListApplicationsCommand.js +2 -2
- package/dist-es/commands/ListDeploymentConfigsCommand.js +2 -2
- package/dist-es/commands/ListDeploymentGroupsCommand.js +2 -2
- package/dist-es/commands/ListDeploymentInstancesCommand.js +2 -2
- package/dist-es/commands/ListDeploymentTargetsCommand.js +2 -2
- package/dist-es/commands/ListDeploymentsCommand.js +2 -2
- package/dist-es/commands/ListGitHubAccountTokenNamesCommand.js +2 -2
- package/dist-es/commands/ListOnPremisesInstancesCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/PutLifecycleEventHookExecutionStatusCommand.js +2 -2
- package/dist-es/commands/RegisterApplicationRevisionCommand.js +2 -2
- package/dist-es/commands/RegisterOnPremisesInstanceCommand.js +2 -2
- package/dist-es/commands/RemoveTagsFromOnPremisesInstancesCommand.js +2 -2
- package/dist-es/commands/SkipWaitTimeForInstanceTerminationCommand.js +2 -2
- package/dist-es/commands/StopDeploymentCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateApplicationCommand.js +2 -2
- package/dist-es/commands/UpdateDeploymentGroupCommand.js +2 -2
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/CodeDeployServiceException.js +1 -1
- package/dist-es/runtimeConfig.browser.js +4 -6
- package/dist-es/runtimeConfig.js +4 -8
- package/dist-es/runtimeConfig.shared.js +3 -4
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-es/waiters/waitForDeploymentSuccessful.js +1 -1
- package/dist-types/CodeDeploy.d.ts +1 -1
- package/dist-types/CodeDeployClient.d.ts +5 -5
- package/dist-types/commands/AddTagsToOnPremisesInstancesCommand.d.ts +6 -4
- package/dist-types/commands/BatchGetApplicationRevisionsCommand.d.ts +6 -4
- package/dist-types/commands/BatchGetApplicationsCommand.d.ts +6 -4
- package/dist-types/commands/BatchGetDeploymentGroupsCommand.d.ts +6 -4
- package/dist-types/commands/BatchGetDeploymentInstancesCommand.d.ts +6 -4
- package/dist-types/commands/BatchGetDeploymentTargetsCommand.d.ts +6 -4
- package/dist-types/commands/BatchGetDeploymentsCommand.d.ts +6 -4
- package/dist-types/commands/BatchGetOnPremisesInstancesCommand.d.ts +6 -4
- package/dist-types/commands/ContinueDeploymentCommand.d.ts +6 -4
- package/dist-types/commands/CreateApplicationCommand.d.ts +6 -4
- package/dist-types/commands/CreateDeploymentCommand.d.ts +6 -4
- package/dist-types/commands/CreateDeploymentConfigCommand.d.ts +6 -4
- package/dist-types/commands/CreateDeploymentGroupCommand.d.ts +6 -4
- package/dist-types/commands/DeleteApplicationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteDeploymentConfigCommand.d.ts +6 -4
- package/dist-types/commands/DeleteDeploymentGroupCommand.d.ts +6 -4
- package/dist-types/commands/DeleteGitHubAccountTokenCommand.d.ts +6 -4
- package/dist-types/commands/DeleteResourcesByExternalIdCommand.d.ts +6 -4
- package/dist-types/commands/DeregisterOnPremisesInstanceCommand.d.ts +6 -4
- package/dist-types/commands/GetApplicationCommand.d.ts +6 -4
- package/dist-types/commands/GetApplicationRevisionCommand.d.ts +6 -4
- package/dist-types/commands/GetDeploymentCommand.d.ts +6 -4
- package/dist-types/commands/GetDeploymentConfigCommand.d.ts +6 -4
- package/dist-types/commands/GetDeploymentGroupCommand.d.ts +6 -4
- package/dist-types/commands/GetDeploymentInstanceCommand.d.ts +6 -4
- package/dist-types/commands/GetDeploymentTargetCommand.d.ts +6 -4
- package/dist-types/commands/GetOnPremisesInstanceCommand.d.ts +6 -4
- package/dist-types/commands/ListApplicationRevisionsCommand.d.ts +6 -4
- package/dist-types/commands/ListApplicationsCommand.d.ts +6 -4
- package/dist-types/commands/ListDeploymentConfigsCommand.d.ts +6 -4
- package/dist-types/commands/ListDeploymentGroupsCommand.d.ts +6 -4
- package/dist-types/commands/ListDeploymentInstancesCommand.d.ts +6 -4
- package/dist-types/commands/ListDeploymentTargetsCommand.d.ts +6 -4
- package/dist-types/commands/ListDeploymentsCommand.d.ts +6 -4
- package/dist-types/commands/ListGitHubAccountTokenNamesCommand.d.ts +6 -4
- package/dist-types/commands/ListOnPremisesInstancesCommand.d.ts +6 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +6 -4
- package/dist-types/commands/RegisterApplicationRevisionCommand.d.ts +6 -4
- package/dist-types/commands/RegisterOnPremisesInstanceCommand.d.ts +6 -4
- package/dist-types/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +6 -4
- package/dist-types/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +6 -4
- package/dist-types/commands/StopDeploymentCommand.d.ts +6 -4
- package/dist-types/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UpdateApplicationCommand.d.ts +6 -4
- package/dist-types/commands/UpdateDeploymentGroupCommand.d.ts +6 -4
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/CodeDeployServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/CodeDeploy.d.ts +1 -1
- package/dist-types/ts3.4/CodeDeployClient.d.ts +8 -14
- package/dist-types/ts3.4/commands/AddTagsToOnPremisesInstancesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetApplicationRevisionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetApplicationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetDeploymentGroupsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetDeploymentInstancesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetDeploymentTargetsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetDeploymentsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetOnPremisesInstancesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ContinueDeploymentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateDeploymentConfigCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateDeploymentGroupCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteDeploymentConfigCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteDeploymentGroupCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteGitHubAccountTokenCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteResourcesByExternalIdCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeregisterOnPremisesInstanceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetApplicationRevisionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetDeploymentConfigCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetDeploymentGroupCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetDeploymentInstanceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetDeploymentTargetCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetOnPremisesInstanceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListApplicationRevisionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListDeploymentConfigsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListDeploymentGroupsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListDeploymentInstancesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListDeploymentTargetsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListGitHubAccountTokenNamesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListOnPremisesInstancesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RegisterApplicationRevisionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RegisterOnPremisesInstanceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StopDeploymentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateDeploymentGroupCommand.d.ts +6 -4
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/CodeDeployServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/waiters/waitForDeploymentSuccessful.d.ts +1 -1
- package/dist-types/waiters/waitForDeploymentSuccessful.d.ts +1 -1
- package/package.json +13 -35
package/dist-cjs/index.js
CHANGED
|
@@ -4,19 +4,17 @@ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
|
4
4
|
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
5
|
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
|
-
var configResolver = require('@smithy/config-resolver');
|
|
8
7
|
var core = require('@smithy/core');
|
|
8
|
+
var client = require('@smithy/core/client');
|
|
9
|
+
var config = require('@smithy/core/config');
|
|
10
|
+
var endpoints = require('@smithy/core/endpoints');
|
|
11
|
+
var protocols = require('@smithy/core/protocols');
|
|
12
|
+
var retry = require('@smithy/core/retry');
|
|
9
13
|
var schema = require('@smithy/core/schema');
|
|
10
|
-
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
11
|
-
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
12
|
-
var middlewareRetry = require('@smithy/middleware-retry');
|
|
13
|
-
var smithyClient = require('@smithy/smithy-client');
|
|
14
14
|
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
15
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
16
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
17
|
-
var protocolHttp = require('@smithy/protocol-http');
|
|
18
17
|
var schemas_0 = require('./schemas/schemas_0');
|
|
19
|
-
var utilWaiter = require('@smithy/util-waiter');
|
|
20
18
|
var errors = require('./models/errors');
|
|
21
19
|
var CodeDeployServiceException = require('./models/CodeDeployServiceException');
|
|
22
20
|
|
|
@@ -74,12 +72,12 @@ const resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
74
72
|
};
|
|
75
73
|
|
|
76
74
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
77
|
-
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig),
|
|
75
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
78
76
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
79
|
-
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
|
77
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
80
78
|
};
|
|
81
79
|
|
|
82
|
-
class CodeDeployClient extends
|
|
80
|
+
class CodeDeployClient extends client.Client {
|
|
83
81
|
config;
|
|
84
82
|
constructor(...[configuration]) {
|
|
85
83
|
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
@@ -87,17 +85,17 @@ class CodeDeployClient extends smithyClient.Client {
|
|
|
87
85
|
this.initConfig = _config_0;
|
|
88
86
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
89
87
|
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
90
|
-
const _config_3 =
|
|
91
|
-
const _config_4 =
|
|
88
|
+
const _config_3 = retry.resolveRetryConfig(_config_2);
|
|
89
|
+
const _config_4 = config.resolveRegionConfig(_config_3);
|
|
92
90
|
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
93
|
-
const _config_6 =
|
|
91
|
+
const _config_6 = endpoints.resolveEndpointConfig(_config_5);
|
|
94
92
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
95
93
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
96
94
|
this.config = _config_8;
|
|
97
95
|
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
98
96
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
99
|
-
this.middlewareStack.use(
|
|
100
|
-
this.middlewareStack.use(
|
|
97
|
+
this.middlewareStack.use(retry.getRetryPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
|
|
101
99
|
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
102
100
|
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
103
101
|
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
@@ -114,11 +112,11 @@ class CodeDeployClient extends smithyClient.Client {
|
|
|
114
112
|
}
|
|
115
113
|
}
|
|
116
114
|
|
|
117
|
-
class AddTagsToOnPremisesInstancesCommand extends
|
|
115
|
+
class AddTagsToOnPremisesInstancesCommand extends client.Command
|
|
118
116
|
.classBuilder()
|
|
119
117
|
.ep(commonParams)
|
|
120
118
|
.m(function (Command, cs, config, o) {
|
|
121
|
-
return [
|
|
119
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
122
120
|
})
|
|
123
121
|
.s("CodeDeploy_20141006", "AddTagsToOnPremisesInstances", {})
|
|
124
122
|
.n("CodeDeployClient", "AddTagsToOnPremisesInstancesCommand")
|
|
@@ -126,11 +124,11 @@ class AddTagsToOnPremisesInstancesCommand extends smithyClient.Command
|
|
|
126
124
|
.build() {
|
|
127
125
|
}
|
|
128
126
|
|
|
129
|
-
class BatchGetApplicationRevisionsCommand extends
|
|
127
|
+
class BatchGetApplicationRevisionsCommand extends client.Command
|
|
130
128
|
.classBuilder()
|
|
131
129
|
.ep(commonParams)
|
|
132
130
|
.m(function (Command, cs, config, o) {
|
|
133
|
-
return [
|
|
131
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
134
132
|
})
|
|
135
133
|
.s("CodeDeploy_20141006", "BatchGetApplicationRevisions", {})
|
|
136
134
|
.n("CodeDeployClient", "BatchGetApplicationRevisionsCommand")
|
|
@@ -138,11 +136,11 @@ class BatchGetApplicationRevisionsCommand extends smithyClient.Command
|
|
|
138
136
|
.build() {
|
|
139
137
|
}
|
|
140
138
|
|
|
141
|
-
class BatchGetApplicationsCommand extends
|
|
139
|
+
class BatchGetApplicationsCommand extends client.Command
|
|
142
140
|
.classBuilder()
|
|
143
141
|
.ep(commonParams)
|
|
144
142
|
.m(function (Command, cs, config, o) {
|
|
145
|
-
return [
|
|
143
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
146
144
|
})
|
|
147
145
|
.s("CodeDeploy_20141006", "BatchGetApplications", {})
|
|
148
146
|
.n("CodeDeployClient", "BatchGetApplicationsCommand")
|
|
@@ -150,11 +148,11 @@ class BatchGetApplicationsCommand extends smithyClient.Command
|
|
|
150
148
|
.build() {
|
|
151
149
|
}
|
|
152
150
|
|
|
153
|
-
class BatchGetDeploymentGroupsCommand extends
|
|
151
|
+
class BatchGetDeploymentGroupsCommand extends client.Command
|
|
154
152
|
.classBuilder()
|
|
155
153
|
.ep(commonParams)
|
|
156
154
|
.m(function (Command, cs, config, o) {
|
|
157
|
-
return [
|
|
155
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
158
156
|
})
|
|
159
157
|
.s("CodeDeploy_20141006", "BatchGetDeploymentGroups", {})
|
|
160
158
|
.n("CodeDeployClient", "BatchGetDeploymentGroupsCommand")
|
|
@@ -162,11 +160,11 @@ class BatchGetDeploymentGroupsCommand extends smithyClient.Command
|
|
|
162
160
|
.build() {
|
|
163
161
|
}
|
|
164
162
|
|
|
165
|
-
class BatchGetDeploymentInstancesCommand extends
|
|
163
|
+
class BatchGetDeploymentInstancesCommand extends client.Command
|
|
166
164
|
.classBuilder()
|
|
167
165
|
.ep(commonParams)
|
|
168
166
|
.m(function (Command, cs, config, o) {
|
|
169
|
-
return [
|
|
167
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
170
168
|
})
|
|
171
169
|
.s("CodeDeploy_20141006", "BatchGetDeploymentInstances", {})
|
|
172
170
|
.n("CodeDeployClient", "BatchGetDeploymentInstancesCommand")
|
|
@@ -174,11 +172,11 @@ class BatchGetDeploymentInstancesCommand extends smithyClient.Command
|
|
|
174
172
|
.build() {
|
|
175
173
|
}
|
|
176
174
|
|
|
177
|
-
class BatchGetDeploymentsCommand extends
|
|
175
|
+
class BatchGetDeploymentsCommand extends client.Command
|
|
178
176
|
.classBuilder()
|
|
179
177
|
.ep(commonParams)
|
|
180
178
|
.m(function (Command, cs, config, o) {
|
|
181
|
-
return [
|
|
179
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
182
180
|
})
|
|
183
181
|
.s("CodeDeploy_20141006", "BatchGetDeployments", {})
|
|
184
182
|
.n("CodeDeployClient", "BatchGetDeploymentsCommand")
|
|
@@ -186,11 +184,11 @@ class BatchGetDeploymentsCommand extends smithyClient.Command
|
|
|
186
184
|
.build() {
|
|
187
185
|
}
|
|
188
186
|
|
|
189
|
-
class BatchGetDeploymentTargetsCommand extends
|
|
187
|
+
class BatchGetDeploymentTargetsCommand extends client.Command
|
|
190
188
|
.classBuilder()
|
|
191
189
|
.ep(commonParams)
|
|
192
190
|
.m(function (Command, cs, config, o) {
|
|
193
|
-
return [
|
|
191
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
194
192
|
})
|
|
195
193
|
.s("CodeDeploy_20141006", "BatchGetDeploymentTargets", {})
|
|
196
194
|
.n("CodeDeployClient", "BatchGetDeploymentTargetsCommand")
|
|
@@ -198,11 +196,11 @@ class BatchGetDeploymentTargetsCommand extends smithyClient.Command
|
|
|
198
196
|
.build() {
|
|
199
197
|
}
|
|
200
198
|
|
|
201
|
-
class BatchGetOnPremisesInstancesCommand extends
|
|
199
|
+
class BatchGetOnPremisesInstancesCommand extends client.Command
|
|
202
200
|
.classBuilder()
|
|
203
201
|
.ep(commonParams)
|
|
204
202
|
.m(function (Command, cs, config, o) {
|
|
205
|
-
return [
|
|
203
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
206
204
|
})
|
|
207
205
|
.s("CodeDeploy_20141006", "BatchGetOnPremisesInstances", {})
|
|
208
206
|
.n("CodeDeployClient", "BatchGetOnPremisesInstancesCommand")
|
|
@@ -210,11 +208,11 @@ class BatchGetOnPremisesInstancesCommand extends smithyClient.Command
|
|
|
210
208
|
.build() {
|
|
211
209
|
}
|
|
212
210
|
|
|
213
|
-
class ContinueDeploymentCommand extends
|
|
211
|
+
class ContinueDeploymentCommand extends client.Command
|
|
214
212
|
.classBuilder()
|
|
215
213
|
.ep(commonParams)
|
|
216
214
|
.m(function (Command, cs, config, o) {
|
|
217
|
-
return [
|
|
215
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
218
216
|
})
|
|
219
217
|
.s("CodeDeploy_20141006", "ContinueDeployment", {})
|
|
220
218
|
.n("CodeDeployClient", "ContinueDeploymentCommand")
|
|
@@ -222,11 +220,11 @@ class ContinueDeploymentCommand extends smithyClient.Command
|
|
|
222
220
|
.build() {
|
|
223
221
|
}
|
|
224
222
|
|
|
225
|
-
class CreateApplicationCommand extends
|
|
223
|
+
class CreateApplicationCommand extends client.Command
|
|
226
224
|
.classBuilder()
|
|
227
225
|
.ep(commonParams)
|
|
228
226
|
.m(function (Command, cs, config, o) {
|
|
229
|
-
return [
|
|
227
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
230
228
|
})
|
|
231
229
|
.s("CodeDeploy_20141006", "CreateApplication", {})
|
|
232
230
|
.n("CodeDeployClient", "CreateApplicationCommand")
|
|
@@ -234,11 +232,11 @@ class CreateApplicationCommand extends smithyClient.Command
|
|
|
234
232
|
.build() {
|
|
235
233
|
}
|
|
236
234
|
|
|
237
|
-
class CreateDeploymentCommand extends
|
|
235
|
+
class CreateDeploymentCommand extends client.Command
|
|
238
236
|
.classBuilder()
|
|
239
237
|
.ep(commonParams)
|
|
240
238
|
.m(function (Command, cs, config, o) {
|
|
241
|
-
return [
|
|
239
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
242
240
|
})
|
|
243
241
|
.s("CodeDeploy_20141006", "CreateDeployment", {})
|
|
244
242
|
.n("CodeDeployClient", "CreateDeploymentCommand")
|
|
@@ -246,11 +244,11 @@ class CreateDeploymentCommand extends smithyClient.Command
|
|
|
246
244
|
.build() {
|
|
247
245
|
}
|
|
248
246
|
|
|
249
|
-
class CreateDeploymentConfigCommand extends
|
|
247
|
+
class CreateDeploymentConfigCommand extends client.Command
|
|
250
248
|
.classBuilder()
|
|
251
249
|
.ep(commonParams)
|
|
252
250
|
.m(function (Command, cs, config, o) {
|
|
253
|
-
return [
|
|
251
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
254
252
|
})
|
|
255
253
|
.s("CodeDeploy_20141006", "CreateDeploymentConfig", {})
|
|
256
254
|
.n("CodeDeployClient", "CreateDeploymentConfigCommand")
|
|
@@ -258,11 +256,11 @@ class CreateDeploymentConfigCommand extends smithyClient.Command
|
|
|
258
256
|
.build() {
|
|
259
257
|
}
|
|
260
258
|
|
|
261
|
-
class CreateDeploymentGroupCommand extends
|
|
259
|
+
class CreateDeploymentGroupCommand extends client.Command
|
|
262
260
|
.classBuilder()
|
|
263
261
|
.ep(commonParams)
|
|
264
262
|
.m(function (Command, cs, config, o) {
|
|
265
|
-
return [
|
|
263
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
266
264
|
})
|
|
267
265
|
.s("CodeDeploy_20141006", "CreateDeploymentGroup", {})
|
|
268
266
|
.n("CodeDeployClient", "CreateDeploymentGroupCommand")
|
|
@@ -270,11 +268,11 @@ class CreateDeploymentGroupCommand extends smithyClient.Command
|
|
|
270
268
|
.build() {
|
|
271
269
|
}
|
|
272
270
|
|
|
273
|
-
class DeleteApplicationCommand extends
|
|
271
|
+
class DeleteApplicationCommand extends client.Command
|
|
274
272
|
.classBuilder()
|
|
275
273
|
.ep(commonParams)
|
|
276
274
|
.m(function (Command, cs, config, o) {
|
|
277
|
-
return [
|
|
275
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
278
276
|
})
|
|
279
277
|
.s("CodeDeploy_20141006", "DeleteApplication", {})
|
|
280
278
|
.n("CodeDeployClient", "DeleteApplicationCommand")
|
|
@@ -282,11 +280,11 @@ class DeleteApplicationCommand extends smithyClient.Command
|
|
|
282
280
|
.build() {
|
|
283
281
|
}
|
|
284
282
|
|
|
285
|
-
class DeleteDeploymentConfigCommand extends
|
|
283
|
+
class DeleteDeploymentConfigCommand extends client.Command
|
|
286
284
|
.classBuilder()
|
|
287
285
|
.ep(commonParams)
|
|
288
286
|
.m(function (Command, cs, config, o) {
|
|
289
|
-
return [
|
|
287
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
290
288
|
})
|
|
291
289
|
.s("CodeDeploy_20141006", "DeleteDeploymentConfig", {})
|
|
292
290
|
.n("CodeDeployClient", "DeleteDeploymentConfigCommand")
|
|
@@ -294,11 +292,11 @@ class DeleteDeploymentConfigCommand extends smithyClient.Command
|
|
|
294
292
|
.build() {
|
|
295
293
|
}
|
|
296
294
|
|
|
297
|
-
class DeleteDeploymentGroupCommand extends
|
|
295
|
+
class DeleteDeploymentGroupCommand extends client.Command
|
|
298
296
|
.classBuilder()
|
|
299
297
|
.ep(commonParams)
|
|
300
298
|
.m(function (Command, cs, config, o) {
|
|
301
|
-
return [
|
|
299
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
302
300
|
})
|
|
303
301
|
.s("CodeDeploy_20141006", "DeleteDeploymentGroup", {})
|
|
304
302
|
.n("CodeDeployClient", "DeleteDeploymentGroupCommand")
|
|
@@ -306,11 +304,11 @@ class DeleteDeploymentGroupCommand extends smithyClient.Command
|
|
|
306
304
|
.build() {
|
|
307
305
|
}
|
|
308
306
|
|
|
309
|
-
class DeleteGitHubAccountTokenCommand extends
|
|
307
|
+
class DeleteGitHubAccountTokenCommand extends client.Command
|
|
310
308
|
.classBuilder()
|
|
311
309
|
.ep(commonParams)
|
|
312
310
|
.m(function (Command, cs, config, o) {
|
|
313
|
-
return [
|
|
311
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
314
312
|
})
|
|
315
313
|
.s("CodeDeploy_20141006", "DeleteGitHubAccountToken", {})
|
|
316
314
|
.n("CodeDeployClient", "DeleteGitHubAccountTokenCommand")
|
|
@@ -318,11 +316,11 @@ class DeleteGitHubAccountTokenCommand extends smithyClient.Command
|
|
|
318
316
|
.build() {
|
|
319
317
|
}
|
|
320
318
|
|
|
321
|
-
class DeleteResourcesByExternalIdCommand extends
|
|
319
|
+
class DeleteResourcesByExternalIdCommand extends client.Command
|
|
322
320
|
.classBuilder()
|
|
323
321
|
.ep(commonParams)
|
|
324
322
|
.m(function (Command, cs, config, o) {
|
|
325
|
-
return [
|
|
323
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
326
324
|
})
|
|
327
325
|
.s("CodeDeploy_20141006", "DeleteResourcesByExternalId", {})
|
|
328
326
|
.n("CodeDeployClient", "DeleteResourcesByExternalIdCommand")
|
|
@@ -330,11 +328,11 @@ class DeleteResourcesByExternalIdCommand extends smithyClient.Command
|
|
|
330
328
|
.build() {
|
|
331
329
|
}
|
|
332
330
|
|
|
333
|
-
class DeregisterOnPremisesInstanceCommand extends
|
|
331
|
+
class DeregisterOnPremisesInstanceCommand extends client.Command
|
|
334
332
|
.classBuilder()
|
|
335
333
|
.ep(commonParams)
|
|
336
334
|
.m(function (Command, cs, config, o) {
|
|
337
|
-
return [
|
|
335
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
338
336
|
})
|
|
339
337
|
.s("CodeDeploy_20141006", "DeregisterOnPremisesInstance", {})
|
|
340
338
|
.n("CodeDeployClient", "DeregisterOnPremisesInstanceCommand")
|
|
@@ -342,11 +340,11 @@ class DeregisterOnPremisesInstanceCommand extends smithyClient.Command
|
|
|
342
340
|
.build() {
|
|
343
341
|
}
|
|
344
342
|
|
|
345
|
-
class GetApplicationCommand extends
|
|
343
|
+
class GetApplicationCommand extends client.Command
|
|
346
344
|
.classBuilder()
|
|
347
345
|
.ep(commonParams)
|
|
348
346
|
.m(function (Command, cs, config, o) {
|
|
349
|
-
return [
|
|
347
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
350
348
|
})
|
|
351
349
|
.s("CodeDeploy_20141006", "GetApplication", {})
|
|
352
350
|
.n("CodeDeployClient", "GetApplicationCommand")
|
|
@@ -354,11 +352,11 @@ class GetApplicationCommand extends smithyClient.Command
|
|
|
354
352
|
.build() {
|
|
355
353
|
}
|
|
356
354
|
|
|
357
|
-
class GetApplicationRevisionCommand extends
|
|
355
|
+
class GetApplicationRevisionCommand extends client.Command
|
|
358
356
|
.classBuilder()
|
|
359
357
|
.ep(commonParams)
|
|
360
358
|
.m(function (Command, cs, config, o) {
|
|
361
|
-
return [
|
|
359
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
362
360
|
})
|
|
363
361
|
.s("CodeDeploy_20141006", "GetApplicationRevision", {})
|
|
364
362
|
.n("CodeDeployClient", "GetApplicationRevisionCommand")
|
|
@@ -366,11 +364,11 @@ class GetApplicationRevisionCommand extends smithyClient.Command
|
|
|
366
364
|
.build() {
|
|
367
365
|
}
|
|
368
366
|
|
|
369
|
-
class GetDeploymentCommand extends
|
|
367
|
+
class GetDeploymentCommand extends client.Command
|
|
370
368
|
.classBuilder()
|
|
371
369
|
.ep(commonParams)
|
|
372
370
|
.m(function (Command, cs, config, o) {
|
|
373
|
-
return [
|
|
371
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
374
372
|
})
|
|
375
373
|
.s("CodeDeploy_20141006", "GetDeployment", {})
|
|
376
374
|
.n("CodeDeployClient", "GetDeploymentCommand")
|
|
@@ -378,11 +376,11 @@ class GetDeploymentCommand extends smithyClient.Command
|
|
|
378
376
|
.build() {
|
|
379
377
|
}
|
|
380
378
|
|
|
381
|
-
class GetDeploymentConfigCommand extends
|
|
379
|
+
class GetDeploymentConfigCommand extends client.Command
|
|
382
380
|
.classBuilder()
|
|
383
381
|
.ep(commonParams)
|
|
384
382
|
.m(function (Command, cs, config, o) {
|
|
385
|
-
return [
|
|
383
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
386
384
|
})
|
|
387
385
|
.s("CodeDeploy_20141006", "GetDeploymentConfig", {})
|
|
388
386
|
.n("CodeDeployClient", "GetDeploymentConfigCommand")
|
|
@@ -390,11 +388,11 @@ class GetDeploymentConfigCommand extends smithyClient.Command
|
|
|
390
388
|
.build() {
|
|
391
389
|
}
|
|
392
390
|
|
|
393
|
-
class GetDeploymentGroupCommand extends
|
|
391
|
+
class GetDeploymentGroupCommand extends client.Command
|
|
394
392
|
.classBuilder()
|
|
395
393
|
.ep(commonParams)
|
|
396
394
|
.m(function (Command, cs, config, o) {
|
|
397
|
-
return [
|
|
395
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
398
396
|
})
|
|
399
397
|
.s("CodeDeploy_20141006", "GetDeploymentGroup", {})
|
|
400
398
|
.n("CodeDeployClient", "GetDeploymentGroupCommand")
|
|
@@ -402,11 +400,11 @@ class GetDeploymentGroupCommand extends smithyClient.Command
|
|
|
402
400
|
.build() {
|
|
403
401
|
}
|
|
404
402
|
|
|
405
|
-
class GetDeploymentInstanceCommand extends
|
|
403
|
+
class GetDeploymentInstanceCommand extends client.Command
|
|
406
404
|
.classBuilder()
|
|
407
405
|
.ep(commonParams)
|
|
408
406
|
.m(function (Command, cs, config, o) {
|
|
409
|
-
return [
|
|
407
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
410
408
|
})
|
|
411
409
|
.s("CodeDeploy_20141006", "GetDeploymentInstance", {})
|
|
412
410
|
.n("CodeDeployClient", "GetDeploymentInstanceCommand")
|
|
@@ -414,11 +412,11 @@ class GetDeploymentInstanceCommand extends smithyClient.Command
|
|
|
414
412
|
.build() {
|
|
415
413
|
}
|
|
416
414
|
|
|
417
|
-
class GetDeploymentTargetCommand extends
|
|
415
|
+
class GetDeploymentTargetCommand extends client.Command
|
|
418
416
|
.classBuilder()
|
|
419
417
|
.ep(commonParams)
|
|
420
418
|
.m(function (Command, cs, config, o) {
|
|
421
|
-
return [
|
|
419
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
422
420
|
})
|
|
423
421
|
.s("CodeDeploy_20141006", "GetDeploymentTarget", {})
|
|
424
422
|
.n("CodeDeployClient", "GetDeploymentTargetCommand")
|
|
@@ -426,11 +424,11 @@ class GetDeploymentTargetCommand extends smithyClient.Command
|
|
|
426
424
|
.build() {
|
|
427
425
|
}
|
|
428
426
|
|
|
429
|
-
class GetOnPremisesInstanceCommand extends
|
|
427
|
+
class GetOnPremisesInstanceCommand extends client.Command
|
|
430
428
|
.classBuilder()
|
|
431
429
|
.ep(commonParams)
|
|
432
430
|
.m(function (Command, cs, config, o) {
|
|
433
|
-
return [
|
|
431
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
434
432
|
})
|
|
435
433
|
.s("CodeDeploy_20141006", "GetOnPremisesInstance", {})
|
|
436
434
|
.n("CodeDeployClient", "GetOnPremisesInstanceCommand")
|
|
@@ -438,11 +436,11 @@ class GetOnPremisesInstanceCommand extends smithyClient.Command
|
|
|
438
436
|
.build() {
|
|
439
437
|
}
|
|
440
438
|
|
|
441
|
-
class ListApplicationRevisionsCommand extends
|
|
439
|
+
class ListApplicationRevisionsCommand extends client.Command
|
|
442
440
|
.classBuilder()
|
|
443
441
|
.ep(commonParams)
|
|
444
442
|
.m(function (Command, cs, config, o) {
|
|
445
|
-
return [
|
|
443
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
446
444
|
})
|
|
447
445
|
.s("CodeDeploy_20141006", "ListApplicationRevisions", {})
|
|
448
446
|
.n("CodeDeployClient", "ListApplicationRevisionsCommand")
|
|
@@ -450,11 +448,11 @@ class ListApplicationRevisionsCommand extends smithyClient.Command
|
|
|
450
448
|
.build() {
|
|
451
449
|
}
|
|
452
450
|
|
|
453
|
-
class ListApplicationsCommand extends
|
|
451
|
+
class ListApplicationsCommand extends client.Command
|
|
454
452
|
.classBuilder()
|
|
455
453
|
.ep(commonParams)
|
|
456
454
|
.m(function (Command, cs, config, o) {
|
|
457
|
-
return [
|
|
455
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
458
456
|
})
|
|
459
457
|
.s("CodeDeploy_20141006", "ListApplications", {})
|
|
460
458
|
.n("CodeDeployClient", "ListApplicationsCommand")
|
|
@@ -462,11 +460,11 @@ class ListApplicationsCommand extends smithyClient.Command
|
|
|
462
460
|
.build() {
|
|
463
461
|
}
|
|
464
462
|
|
|
465
|
-
class ListDeploymentConfigsCommand extends
|
|
463
|
+
class ListDeploymentConfigsCommand extends client.Command
|
|
466
464
|
.classBuilder()
|
|
467
465
|
.ep(commonParams)
|
|
468
466
|
.m(function (Command, cs, config, o) {
|
|
469
|
-
return [
|
|
467
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
470
468
|
})
|
|
471
469
|
.s("CodeDeploy_20141006", "ListDeploymentConfigs", {})
|
|
472
470
|
.n("CodeDeployClient", "ListDeploymentConfigsCommand")
|
|
@@ -474,11 +472,11 @@ class ListDeploymentConfigsCommand extends smithyClient.Command
|
|
|
474
472
|
.build() {
|
|
475
473
|
}
|
|
476
474
|
|
|
477
|
-
class ListDeploymentGroupsCommand extends
|
|
475
|
+
class ListDeploymentGroupsCommand extends client.Command
|
|
478
476
|
.classBuilder()
|
|
479
477
|
.ep(commonParams)
|
|
480
478
|
.m(function (Command, cs, config, o) {
|
|
481
|
-
return [
|
|
479
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
482
480
|
})
|
|
483
481
|
.s("CodeDeploy_20141006", "ListDeploymentGroups", {})
|
|
484
482
|
.n("CodeDeployClient", "ListDeploymentGroupsCommand")
|
|
@@ -486,11 +484,11 @@ class ListDeploymentGroupsCommand extends smithyClient.Command
|
|
|
486
484
|
.build() {
|
|
487
485
|
}
|
|
488
486
|
|
|
489
|
-
class ListDeploymentInstancesCommand extends
|
|
487
|
+
class ListDeploymentInstancesCommand extends client.Command
|
|
490
488
|
.classBuilder()
|
|
491
489
|
.ep(commonParams)
|
|
492
490
|
.m(function (Command, cs, config, o) {
|
|
493
|
-
return [
|
|
491
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
494
492
|
})
|
|
495
493
|
.s("CodeDeploy_20141006", "ListDeploymentInstances", {})
|
|
496
494
|
.n("CodeDeployClient", "ListDeploymentInstancesCommand")
|
|
@@ -498,11 +496,11 @@ class ListDeploymentInstancesCommand extends smithyClient.Command
|
|
|
498
496
|
.build() {
|
|
499
497
|
}
|
|
500
498
|
|
|
501
|
-
class ListDeploymentsCommand extends
|
|
499
|
+
class ListDeploymentsCommand extends client.Command
|
|
502
500
|
.classBuilder()
|
|
503
501
|
.ep(commonParams)
|
|
504
502
|
.m(function (Command, cs, config, o) {
|
|
505
|
-
return [
|
|
503
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
506
504
|
})
|
|
507
505
|
.s("CodeDeploy_20141006", "ListDeployments", {})
|
|
508
506
|
.n("CodeDeployClient", "ListDeploymentsCommand")
|
|
@@ -510,11 +508,11 @@ class ListDeploymentsCommand extends smithyClient.Command
|
|
|
510
508
|
.build() {
|
|
511
509
|
}
|
|
512
510
|
|
|
513
|
-
class ListDeploymentTargetsCommand extends
|
|
511
|
+
class ListDeploymentTargetsCommand extends client.Command
|
|
514
512
|
.classBuilder()
|
|
515
513
|
.ep(commonParams)
|
|
516
514
|
.m(function (Command, cs, config, o) {
|
|
517
|
-
return [
|
|
515
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
518
516
|
})
|
|
519
517
|
.s("CodeDeploy_20141006", "ListDeploymentTargets", {})
|
|
520
518
|
.n("CodeDeployClient", "ListDeploymentTargetsCommand")
|
|
@@ -522,11 +520,11 @@ class ListDeploymentTargetsCommand extends smithyClient.Command
|
|
|
522
520
|
.build() {
|
|
523
521
|
}
|
|
524
522
|
|
|
525
|
-
class ListGitHubAccountTokenNamesCommand extends
|
|
523
|
+
class ListGitHubAccountTokenNamesCommand extends client.Command
|
|
526
524
|
.classBuilder()
|
|
527
525
|
.ep(commonParams)
|
|
528
526
|
.m(function (Command, cs, config, o) {
|
|
529
|
-
return [
|
|
527
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
530
528
|
})
|
|
531
529
|
.s("CodeDeploy_20141006", "ListGitHubAccountTokenNames", {})
|
|
532
530
|
.n("CodeDeployClient", "ListGitHubAccountTokenNamesCommand")
|
|
@@ -534,11 +532,11 @@ class ListGitHubAccountTokenNamesCommand extends smithyClient.Command
|
|
|
534
532
|
.build() {
|
|
535
533
|
}
|
|
536
534
|
|
|
537
|
-
class ListOnPremisesInstancesCommand extends
|
|
535
|
+
class ListOnPremisesInstancesCommand extends client.Command
|
|
538
536
|
.classBuilder()
|
|
539
537
|
.ep(commonParams)
|
|
540
538
|
.m(function (Command, cs, config, o) {
|
|
541
|
-
return [
|
|
539
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
542
540
|
})
|
|
543
541
|
.s("CodeDeploy_20141006", "ListOnPremisesInstances", {})
|
|
544
542
|
.n("CodeDeployClient", "ListOnPremisesInstancesCommand")
|
|
@@ -546,11 +544,11 @@ class ListOnPremisesInstancesCommand extends smithyClient.Command
|
|
|
546
544
|
.build() {
|
|
547
545
|
}
|
|
548
546
|
|
|
549
|
-
class ListTagsForResourceCommand extends
|
|
547
|
+
class ListTagsForResourceCommand extends client.Command
|
|
550
548
|
.classBuilder()
|
|
551
549
|
.ep(commonParams)
|
|
552
550
|
.m(function (Command, cs, config, o) {
|
|
553
|
-
return [
|
|
551
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
554
552
|
})
|
|
555
553
|
.s("CodeDeploy_20141006", "ListTagsForResource", {})
|
|
556
554
|
.n("CodeDeployClient", "ListTagsForResourceCommand")
|
|
@@ -558,11 +556,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
558
556
|
.build() {
|
|
559
557
|
}
|
|
560
558
|
|
|
561
|
-
class PutLifecycleEventHookExecutionStatusCommand extends
|
|
559
|
+
class PutLifecycleEventHookExecutionStatusCommand extends client.Command
|
|
562
560
|
.classBuilder()
|
|
563
561
|
.ep(commonParams)
|
|
564
562
|
.m(function (Command, cs, config, o) {
|
|
565
|
-
return [
|
|
563
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
566
564
|
})
|
|
567
565
|
.s("CodeDeploy_20141006", "PutLifecycleEventHookExecutionStatus", {})
|
|
568
566
|
.n("CodeDeployClient", "PutLifecycleEventHookExecutionStatusCommand")
|
|
@@ -570,11 +568,11 @@ class PutLifecycleEventHookExecutionStatusCommand extends smithyClient.Command
|
|
|
570
568
|
.build() {
|
|
571
569
|
}
|
|
572
570
|
|
|
573
|
-
class RegisterApplicationRevisionCommand extends
|
|
571
|
+
class RegisterApplicationRevisionCommand extends client.Command
|
|
574
572
|
.classBuilder()
|
|
575
573
|
.ep(commonParams)
|
|
576
574
|
.m(function (Command, cs, config, o) {
|
|
577
|
-
return [
|
|
575
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
578
576
|
})
|
|
579
577
|
.s("CodeDeploy_20141006", "RegisterApplicationRevision", {})
|
|
580
578
|
.n("CodeDeployClient", "RegisterApplicationRevisionCommand")
|
|
@@ -582,11 +580,11 @@ class RegisterApplicationRevisionCommand extends smithyClient.Command
|
|
|
582
580
|
.build() {
|
|
583
581
|
}
|
|
584
582
|
|
|
585
|
-
class RegisterOnPremisesInstanceCommand extends
|
|
583
|
+
class RegisterOnPremisesInstanceCommand extends client.Command
|
|
586
584
|
.classBuilder()
|
|
587
585
|
.ep(commonParams)
|
|
588
586
|
.m(function (Command, cs, config, o) {
|
|
589
|
-
return [
|
|
587
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
590
588
|
})
|
|
591
589
|
.s("CodeDeploy_20141006", "RegisterOnPremisesInstance", {})
|
|
592
590
|
.n("CodeDeployClient", "RegisterOnPremisesInstanceCommand")
|
|
@@ -594,11 +592,11 @@ class RegisterOnPremisesInstanceCommand extends smithyClient.Command
|
|
|
594
592
|
.build() {
|
|
595
593
|
}
|
|
596
594
|
|
|
597
|
-
class RemoveTagsFromOnPremisesInstancesCommand extends
|
|
595
|
+
class RemoveTagsFromOnPremisesInstancesCommand extends client.Command
|
|
598
596
|
.classBuilder()
|
|
599
597
|
.ep(commonParams)
|
|
600
598
|
.m(function (Command, cs, config, o) {
|
|
601
|
-
return [
|
|
599
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
602
600
|
})
|
|
603
601
|
.s("CodeDeploy_20141006", "RemoveTagsFromOnPremisesInstances", {})
|
|
604
602
|
.n("CodeDeployClient", "RemoveTagsFromOnPremisesInstancesCommand")
|
|
@@ -606,11 +604,11 @@ class RemoveTagsFromOnPremisesInstancesCommand extends smithyClient.Command
|
|
|
606
604
|
.build() {
|
|
607
605
|
}
|
|
608
606
|
|
|
609
|
-
class SkipWaitTimeForInstanceTerminationCommand extends
|
|
607
|
+
class SkipWaitTimeForInstanceTerminationCommand extends client.Command
|
|
610
608
|
.classBuilder()
|
|
611
609
|
.ep(commonParams)
|
|
612
610
|
.m(function (Command, cs, config, o) {
|
|
613
|
-
return [
|
|
611
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
614
612
|
})
|
|
615
613
|
.s("CodeDeploy_20141006", "SkipWaitTimeForInstanceTermination", {})
|
|
616
614
|
.n("CodeDeployClient", "SkipWaitTimeForInstanceTerminationCommand")
|
|
@@ -618,11 +616,11 @@ class SkipWaitTimeForInstanceTerminationCommand extends smithyClient.Command
|
|
|
618
616
|
.build() {
|
|
619
617
|
}
|
|
620
618
|
|
|
621
|
-
class StopDeploymentCommand extends
|
|
619
|
+
class StopDeploymentCommand extends client.Command
|
|
622
620
|
.classBuilder()
|
|
623
621
|
.ep(commonParams)
|
|
624
622
|
.m(function (Command, cs, config, o) {
|
|
625
|
-
return [
|
|
623
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
626
624
|
})
|
|
627
625
|
.s("CodeDeploy_20141006", "StopDeployment", {})
|
|
628
626
|
.n("CodeDeployClient", "StopDeploymentCommand")
|
|
@@ -630,11 +628,11 @@ class StopDeploymentCommand extends smithyClient.Command
|
|
|
630
628
|
.build() {
|
|
631
629
|
}
|
|
632
630
|
|
|
633
|
-
class TagResourceCommand extends
|
|
631
|
+
class TagResourceCommand extends client.Command
|
|
634
632
|
.classBuilder()
|
|
635
633
|
.ep(commonParams)
|
|
636
634
|
.m(function (Command, cs, config, o) {
|
|
637
|
-
return [
|
|
635
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
638
636
|
})
|
|
639
637
|
.s("CodeDeploy_20141006", "TagResource", {})
|
|
640
638
|
.n("CodeDeployClient", "TagResourceCommand")
|
|
@@ -642,11 +640,11 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
642
640
|
.build() {
|
|
643
641
|
}
|
|
644
642
|
|
|
645
|
-
class UntagResourceCommand extends
|
|
643
|
+
class UntagResourceCommand extends client.Command
|
|
646
644
|
.classBuilder()
|
|
647
645
|
.ep(commonParams)
|
|
648
646
|
.m(function (Command, cs, config, o) {
|
|
649
|
-
return [
|
|
647
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
650
648
|
})
|
|
651
649
|
.s("CodeDeploy_20141006", "UntagResource", {})
|
|
652
650
|
.n("CodeDeployClient", "UntagResourceCommand")
|
|
@@ -654,11 +652,11 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
654
652
|
.build() {
|
|
655
653
|
}
|
|
656
654
|
|
|
657
|
-
class UpdateApplicationCommand extends
|
|
655
|
+
class UpdateApplicationCommand extends client.Command
|
|
658
656
|
.classBuilder()
|
|
659
657
|
.ep(commonParams)
|
|
660
658
|
.m(function (Command, cs, config, o) {
|
|
661
|
-
return [
|
|
659
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
662
660
|
})
|
|
663
661
|
.s("CodeDeploy_20141006", "UpdateApplication", {})
|
|
664
662
|
.n("CodeDeployClient", "UpdateApplicationCommand")
|
|
@@ -666,11 +664,11 @@ class UpdateApplicationCommand extends smithyClient.Command
|
|
|
666
664
|
.build() {
|
|
667
665
|
}
|
|
668
666
|
|
|
669
|
-
class UpdateDeploymentGroupCommand extends
|
|
667
|
+
class UpdateDeploymentGroupCommand extends client.Command
|
|
670
668
|
.classBuilder()
|
|
671
669
|
.ep(commonParams)
|
|
672
670
|
.m(function (Command, cs, config, o) {
|
|
673
|
-
return [
|
|
671
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
674
672
|
})
|
|
675
673
|
.s("CodeDeploy_20141006", "UpdateDeploymentGroup", {})
|
|
676
674
|
.n("CodeDeployClient", "UpdateDeploymentGroupCommand")
|
|
@@ -690,17 +688,17 @@ const paginateListDeploymentInstances = core.createPaginator(CodeDeployClient, L
|
|
|
690
688
|
|
|
691
689
|
const paginateListDeployments = core.createPaginator(CodeDeployClient, ListDeploymentsCommand, "nextToken", "nextToken", "");
|
|
692
690
|
|
|
693
|
-
const checkState = async (client, input) => {
|
|
691
|
+
const checkState = async (client$1, input) => {
|
|
694
692
|
let reason;
|
|
695
693
|
try {
|
|
696
|
-
let result = await client.send(new GetDeploymentCommand(input));
|
|
694
|
+
let result = await client$1.send(new GetDeploymentCommand(input));
|
|
697
695
|
reason = result;
|
|
698
696
|
try {
|
|
699
697
|
const returnComparator = () => {
|
|
700
698
|
return result.deploymentInfo.status;
|
|
701
699
|
};
|
|
702
700
|
if (returnComparator() === "Succeeded") {
|
|
703
|
-
return { state:
|
|
701
|
+
return { state: client.WaiterState.SUCCESS, reason };
|
|
704
702
|
}
|
|
705
703
|
}
|
|
706
704
|
catch (e) { }
|
|
@@ -709,7 +707,7 @@ const checkState = async (client, input) => {
|
|
|
709
707
|
return result.deploymentInfo.status;
|
|
710
708
|
};
|
|
711
709
|
if (returnComparator() === "Failed") {
|
|
712
|
-
return { state:
|
|
710
|
+
return { state: client.WaiterState.FAILURE, reason };
|
|
713
711
|
}
|
|
714
712
|
}
|
|
715
713
|
catch (e) { }
|
|
@@ -718,7 +716,7 @@ const checkState = async (client, input) => {
|
|
|
718
716
|
return result.deploymentInfo.status;
|
|
719
717
|
};
|
|
720
718
|
if (returnComparator() === "Stopped") {
|
|
721
|
-
return { state:
|
|
719
|
+
return { state: client.WaiterState.FAILURE, reason };
|
|
722
720
|
}
|
|
723
721
|
}
|
|
724
722
|
catch (e) { }
|
|
@@ -726,16 +724,16 @@ const checkState = async (client, input) => {
|
|
|
726
724
|
catch (exception) {
|
|
727
725
|
reason = exception;
|
|
728
726
|
}
|
|
729
|
-
return { state:
|
|
727
|
+
return { state: client.WaiterState.RETRY, reason };
|
|
730
728
|
};
|
|
731
729
|
const waitForDeploymentSuccessful = async (params, input) => {
|
|
732
730
|
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
733
|
-
return
|
|
731
|
+
return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
734
732
|
};
|
|
735
733
|
const waitUntilDeploymentSuccessful = async (params, input) => {
|
|
736
734
|
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
737
|
-
const result = await
|
|
738
|
-
return
|
|
735
|
+
const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
736
|
+
return client.checkExceptions(result);
|
|
739
737
|
};
|
|
740
738
|
|
|
741
739
|
const commands = {
|
|
@@ -800,7 +798,7 @@ const waiters = {
|
|
|
800
798
|
};
|
|
801
799
|
class CodeDeploy extends CodeDeployClient {
|
|
802
800
|
}
|
|
803
|
-
|
|
801
|
+
client.createAggregatedClient(commands, CodeDeploy, { paginators, waiters });
|
|
804
802
|
|
|
805
803
|
const ComputePlatform = {
|
|
806
804
|
ECS: "ECS",
|
|
@@ -1024,8 +1022,8 @@ const StopStatus = {
|
|
|
1024
1022
|
SUCCEEDED: "Succeeded",
|
|
1025
1023
|
};
|
|
1026
1024
|
|
|
1027
|
-
exports.$Command =
|
|
1028
|
-
exports.__Client =
|
|
1025
|
+
exports.$Command = client.Command;
|
|
1026
|
+
exports.__Client = client.Client;
|
|
1029
1027
|
exports.CodeDeployServiceException = CodeDeployServiceException.CodeDeployServiceException;
|
|
1030
1028
|
exports.AddTagsToOnPremisesInstancesCommand = AddTagsToOnPremisesInstancesCommand;
|
|
1031
1029
|
exports.ApplicationRevisionSortBy = ApplicationRevisionSortBy;
|