@aws-sdk/client-appconfig 3.312.0 → 3.316.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/AppConfig.js +47 -602
- package/dist-cjs/protocols/Aws_restJson1.js +537 -1274
- package/dist-es/AppConfig.js +47 -602
- package/dist-es/protocols/Aws_restJson1.js +474 -1211
- package/dist-types/AppConfig.d.ts +95 -262
- package/dist-types/ts3.4/AppConfig.d.ts +2 -1
- package/package.json +6 -6
package/dist-cjs/AppConfig.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AppConfig = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const AppConfigClient_1 = require("./AppConfigClient");
|
|
5
6
|
const CreateApplicationCommand_1 = require("./commands/CreateApplicationCommand");
|
|
6
7
|
const CreateConfigurationProfileCommand_1 = require("./commands/CreateConfigurationProfileCommand");
|
|
@@ -45,608 +46,52 @@ const UpdateEnvironmentCommand_1 = require("./commands/UpdateEnvironmentCommand"
|
|
|
45
46
|
const UpdateExtensionAssociationCommand_1 = require("./commands/UpdateExtensionAssociationCommand");
|
|
46
47
|
const UpdateExtensionCommand_1 = require("./commands/UpdateExtensionCommand");
|
|
47
48
|
const ValidateConfigurationCommand_1 = require("./commands/ValidateConfigurationCommand");
|
|
49
|
+
const commands = {
|
|
50
|
+
CreateApplicationCommand: CreateApplicationCommand_1.CreateApplicationCommand,
|
|
51
|
+
CreateConfigurationProfileCommand: CreateConfigurationProfileCommand_1.CreateConfigurationProfileCommand,
|
|
52
|
+
CreateDeploymentStrategyCommand: CreateDeploymentStrategyCommand_1.CreateDeploymentStrategyCommand,
|
|
53
|
+
CreateEnvironmentCommand: CreateEnvironmentCommand_1.CreateEnvironmentCommand,
|
|
54
|
+
CreateExtensionCommand: CreateExtensionCommand_1.CreateExtensionCommand,
|
|
55
|
+
CreateExtensionAssociationCommand: CreateExtensionAssociationCommand_1.CreateExtensionAssociationCommand,
|
|
56
|
+
CreateHostedConfigurationVersionCommand: CreateHostedConfigurationVersionCommand_1.CreateHostedConfigurationVersionCommand,
|
|
57
|
+
DeleteApplicationCommand: DeleteApplicationCommand_1.DeleteApplicationCommand,
|
|
58
|
+
DeleteConfigurationProfileCommand: DeleteConfigurationProfileCommand_1.DeleteConfigurationProfileCommand,
|
|
59
|
+
DeleteDeploymentStrategyCommand: DeleteDeploymentStrategyCommand_1.DeleteDeploymentStrategyCommand,
|
|
60
|
+
DeleteEnvironmentCommand: DeleteEnvironmentCommand_1.DeleteEnvironmentCommand,
|
|
61
|
+
DeleteExtensionCommand: DeleteExtensionCommand_1.DeleteExtensionCommand,
|
|
62
|
+
DeleteExtensionAssociationCommand: DeleteExtensionAssociationCommand_1.DeleteExtensionAssociationCommand,
|
|
63
|
+
DeleteHostedConfigurationVersionCommand: DeleteHostedConfigurationVersionCommand_1.DeleteHostedConfigurationVersionCommand,
|
|
64
|
+
GetApplicationCommand: GetApplicationCommand_1.GetApplicationCommand,
|
|
65
|
+
GetConfigurationCommand: GetConfigurationCommand_1.GetConfigurationCommand,
|
|
66
|
+
GetConfigurationProfileCommand: GetConfigurationProfileCommand_1.GetConfigurationProfileCommand,
|
|
67
|
+
GetDeploymentCommand: GetDeploymentCommand_1.GetDeploymentCommand,
|
|
68
|
+
GetDeploymentStrategyCommand: GetDeploymentStrategyCommand_1.GetDeploymentStrategyCommand,
|
|
69
|
+
GetEnvironmentCommand: GetEnvironmentCommand_1.GetEnvironmentCommand,
|
|
70
|
+
GetExtensionCommand: GetExtensionCommand_1.GetExtensionCommand,
|
|
71
|
+
GetExtensionAssociationCommand: GetExtensionAssociationCommand_1.GetExtensionAssociationCommand,
|
|
72
|
+
GetHostedConfigurationVersionCommand: GetHostedConfigurationVersionCommand_1.GetHostedConfigurationVersionCommand,
|
|
73
|
+
ListApplicationsCommand: ListApplicationsCommand_1.ListApplicationsCommand,
|
|
74
|
+
ListConfigurationProfilesCommand: ListConfigurationProfilesCommand_1.ListConfigurationProfilesCommand,
|
|
75
|
+
ListDeploymentsCommand: ListDeploymentsCommand_1.ListDeploymentsCommand,
|
|
76
|
+
ListDeploymentStrategiesCommand: ListDeploymentStrategiesCommand_1.ListDeploymentStrategiesCommand,
|
|
77
|
+
ListEnvironmentsCommand: ListEnvironmentsCommand_1.ListEnvironmentsCommand,
|
|
78
|
+
ListExtensionAssociationsCommand: ListExtensionAssociationsCommand_1.ListExtensionAssociationsCommand,
|
|
79
|
+
ListExtensionsCommand: ListExtensionsCommand_1.ListExtensionsCommand,
|
|
80
|
+
ListHostedConfigurationVersionsCommand: ListHostedConfigurationVersionsCommand_1.ListHostedConfigurationVersionsCommand,
|
|
81
|
+
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
82
|
+
StartDeploymentCommand: StartDeploymentCommand_1.StartDeploymentCommand,
|
|
83
|
+
StopDeploymentCommand: StopDeploymentCommand_1.StopDeploymentCommand,
|
|
84
|
+
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
85
|
+
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
86
|
+
UpdateApplicationCommand: UpdateApplicationCommand_1.UpdateApplicationCommand,
|
|
87
|
+
UpdateConfigurationProfileCommand: UpdateConfigurationProfileCommand_1.UpdateConfigurationProfileCommand,
|
|
88
|
+
UpdateDeploymentStrategyCommand: UpdateDeploymentStrategyCommand_1.UpdateDeploymentStrategyCommand,
|
|
89
|
+
UpdateEnvironmentCommand: UpdateEnvironmentCommand_1.UpdateEnvironmentCommand,
|
|
90
|
+
UpdateExtensionCommand: UpdateExtensionCommand_1.UpdateExtensionCommand,
|
|
91
|
+
UpdateExtensionAssociationCommand: UpdateExtensionAssociationCommand_1.UpdateExtensionAssociationCommand,
|
|
92
|
+
ValidateConfigurationCommand: ValidateConfigurationCommand_1.ValidateConfigurationCommand,
|
|
93
|
+
};
|
|
48
94
|
class AppConfig extends AppConfigClient_1.AppConfigClient {
|
|
49
|
-
createApplication(args, optionsOrCb, cb) {
|
|
50
|
-
const command = new CreateApplicationCommand_1.CreateApplicationCommand(args);
|
|
51
|
-
if (typeof optionsOrCb === "function") {
|
|
52
|
-
this.send(command, optionsOrCb);
|
|
53
|
-
}
|
|
54
|
-
else if (typeof cb === "function") {
|
|
55
|
-
if (typeof optionsOrCb !== "object")
|
|
56
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
57
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
58
|
-
}
|
|
59
|
-
else {
|
|
60
|
-
return this.send(command, optionsOrCb);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
createConfigurationProfile(args, optionsOrCb, cb) {
|
|
64
|
-
const command = new CreateConfigurationProfileCommand_1.CreateConfigurationProfileCommand(args);
|
|
65
|
-
if (typeof optionsOrCb === "function") {
|
|
66
|
-
this.send(command, optionsOrCb);
|
|
67
|
-
}
|
|
68
|
-
else if (typeof cb === "function") {
|
|
69
|
-
if (typeof optionsOrCb !== "object")
|
|
70
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
71
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
72
|
-
}
|
|
73
|
-
else {
|
|
74
|
-
return this.send(command, optionsOrCb);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
createDeploymentStrategy(args, optionsOrCb, cb) {
|
|
78
|
-
const command = new CreateDeploymentStrategyCommand_1.CreateDeploymentStrategyCommand(args);
|
|
79
|
-
if (typeof optionsOrCb === "function") {
|
|
80
|
-
this.send(command, optionsOrCb);
|
|
81
|
-
}
|
|
82
|
-
else if (typeof cb === "function") {
|
|
83
|
-
if (typeof optionsOrCb !== "object")
|
|
84
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
85
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
86
|
-
}
|
|
87
|
-
else {
|
|
88
|
-
return this.send(command, optionsOrCb);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
createEnvironment(args, optionsOrCb, cb) {
|
|
92
|
-
const command = new CreateEnvironmentCommand_1.CreateEnvironmentCommand(args);
|
|
93
|
-
if (typeof optionsOrCb === "function") {
|
|
94
|
-
this.send(command, optionsOrCb);
|
|
95
|
-
}
|
|
96
|
-
else if (typeof cb === "function") {
|
|
97
|
-
if (typeof optionsOrCb !== "object")
|
|
98
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
99
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
100
|
-
}
|
|
101
|
-
else {
|
|
102
|
-
return this.send(command, optionsOrCb);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
createExtension(args, optionsOrCb, cb) {
|
|
106
|
-
const command = new CreateExtensionCommand_1.CreateExtensionCommand(args);
|
|
107
|
-
if (typeof optionsOrCb === "function") {
|
|
108
|
-
this.send(command, optionsOrCb);
|
|
109
|
-
}
|
|
110
|
-
else if (typeof cb === "function") {
|
|
111
|
-
if (typeof optionsOrCb !== "object")
|
|
112
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
113
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
114
|
-
}
|
|
115
|
-
else {
|
|
116
|
-
return this.send(command, optionsOrCb);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
createExtensionAssociation(args, optionsOrCb, cb) {
|
|
120
|
-
const command = new CreateExtensionAssociationCommand_1.CreateExtensionAssociationCommand(args);
|
|
121
|
-
if (typeof optionsOrCb === "function") {
|
|
122
|
-
this.send(command, optionsOrCb);
|
|
123
|
-
}
|
|
124
|
-
else if (typeof cb === "function") {
|
|
125
|
-
if (typeof optionsOrCb !== "object")
|
|
126
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
127
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
128
|
-
}
|
|
129
|
-
else {
|
|
130
|
-
return this.send(command, optionsOrCb);
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
createHostedConfigurationVersion(args, optionsOrCb, cb) {
|
|
134
|
-
const command = new CreateHostedConfigurationVersionCommand_1.CreateHostedConfigurationVersionCommand(args);
|
|
135
|
-
if (typeof optionsOrCb === "function") {
|
|
136
|
-
this.send(command, optionsOrCb);
|
|
137
|
-
}
|
|
138
|
-
else if (typeof cb === "function") {
|
|
139
|
-
if (typeof optionsOrCb !== "object")
|
|
140
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
141
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
142
|
-
}
|
|
143
|
-
else {
|
|
144
|
-
return this.send(command, optionsOrCb);
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
deleteApplication(args, optionsOrCb, cb) {
|
|
148
|
-
const command = new DeleteApplicationCommand_1.DeleteApplicationCommand(args);
|
|
149
|
-
if (typeof optionsOrCb === "function") {
|
|
150
|
-
this.send(command, optionsOrCb);
|
|
151
|
-
}
|
|
152
|
-
else if (typeof cb === "function") {
|
|
153
|
-
if (typeof optionsOrCb !== "object")
|
|
154
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
155
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
156
|
-
}
|
|
157
|
-
else {
|
|
158
|
-
return this.send(command, optionsOrCb);
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
deleteConfigurationProfile(args, optionsOrCb, cb) {
|
|
162
|
-
const command = new DeleteConfigurationProfileCommand_1.DeleteConfigurationProfileCommand(args);
|
|
163
|
-
if (typeof optionsOrCb === "function") {
|
|
164
|
-
this.send(command, optionsOrCb);
|
|
165
|
-
}
|
|
166
|
-
else if (typeof cb === "function") {
|
|
167
|
-
if (typeof optionsOrCb !== "object")
|
|
168
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
169
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
170
|
-
}
|
|
171
|
-
else {
|
|
172
|
-
return this.send(command, optionsOrCb);
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
deleteDeploymentStrategy(args, optionsOrCb, cb) {
|
|
176
|
-
const command = new DeleteDeploymentStrategyCommand_1.DeleteDeploymentStrategyCommand(args);
|
|
177
|
-
if (typeof optionsOrCb === "function") {
|
|
178
|
-
this.send(command, optionsOrCb);
|
|
179
|
-
}
|
|
180
|
-
else if (typeof cb === "function") {
|
|
181
|
-
if (typeof optionsOrCb !== "object")
|
|
182
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
183
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
184
|
-
}
|
|
185
|
-
else {
|
|
186
|
-
return this.send(command, optionsOrCb);
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
deleteEnvironment(args, optionsOrCb, cb) {
|
|
190
|
-
const command = new DeleteEnvironmentCommand_1.DeleteEnvironmentCommand(args);
|
|
191
|
-
if (typeof optionsOrCb === "function") {
|
|
192
|
-
this.send(command, optionsOrCb);
|
|
193
|
-
}
|
|
194
|
-
else if (typeof cb === "function") {
|
|
195
|
-
if (typeof optionsOrCb !== "object")
|
|
196
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
197
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
198
|
-
}
|
|
199
|
-
else {
|
|
200
|
-
return this.send(command, optionsOrCb);
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
deleteExtension(args, optionsOrCb, cb) {
|
|
204
|
-
const command = new DeleteExtensionCommand_1.DeleteExtensionCommand(args);
|
|
205
|
-
if (typeof optionsOrCb === "function") {
|
|
206
|
-
this.send(command, optionsOrCb);
|
|
207
|
-
}
|
|
208
|
-
else if (typeof cb === "function") {
|
|
209
|
-
if (typeof optionsOrCb !== "object")
|
|
210
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
211
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
212
|
-
}
|
|
213
|
-
else {
|
|
214
|
-
return this.send(command, optionsOrCb);
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
deleteExtensionAssociation(args, optionsOrCb, cb) {
|
|
218
|
-
const command = new DeleteExtensionAssociationCommand_1.DeleteExtensionAssociationCommand(args);
|
|
219
|
-
if (typeof optionsOrCb === "function") {
|
|
220
|
-
this.send(command, optionsOrCb);
|
|
221
|
-
}
|
|
222
|
-
else if (typeof cb === "function") {
|
|
223
|
-
if (typeof optionsOrCb !== "object")
|
|
224
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
225
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
226
|
-
}
|
|
227
|
-
else {
|
|
228
|
-
return this.send(command, optionsOrCb);
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
deleteHostedConfigurationVersion(args, optionsOrCb, cb) {
|
|
232
|
-
const command = new DeleteHostedConfigurationVersionCommand_1.DeleteHostedConfigurationVersionCommand(args);
|
|
233
|
-
if (typeof optionsOrCb === "function") {
|
|
234
|
-
this.send(command, optionsOrCb);
|
|
235
|
-
}
|
|
236
|
-
else if (typeof cb === "function") {
|
|
237
|
-
if (typeof optionsOrCb !== "object")
|
|
238
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
239
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
240
|
-
}
|
|
241
|
-
else {
|
|
242
|
-
return this.send(command, optionsOrCb);
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
getApplication(args, optionsOrCb, cb) {
|
|
246
|
-
const command = new GetApplicationCommand_1.GetApplicationCommand(args);
|
|
247
|
-
if (typeof optionsOrCb === "function") {
|
|
248
|
-
this.send(command, optionsOrCb);
|
|
249
|
-
}
|
|
250
|
-
else if (typeof cb === "function") {
|
|
251
|
-
if (typeof optionsOrCb !== "object")
|
|
252
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
253
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
254
|
-
}
|
|
255
|
-
else {
|
|
256
|
-
return this.send(command, optionsOrCb);
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
getConfiguration(args, optionsOrCb, cb) {
|
|
260
|
-
const command = new GetConfigurationCommand_1.GetConfigurationCommand(args);
|
|
261
|
-
if (typeof optionsOrCb === "function") {
|
|
262
|
-
this.send(command, optionsOrCb);
|
|
263
|
-
}
|
|
264
|
-
else if (typeof cb === "function") {
|
|
265
|
-
if (typeof optionsOrCb !== "object")
|
|
266
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
267
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
268
|
-
}
|
|
269
|
-
else {
|
|
270
|
-
return this.send(command, optionsOrCb);
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
getConfigurationProfile(args, optionsOrCb, cb) {
|
|
274
|
-
const command = new GetConfigurationProfileCommand_1.GetConfigurationProfileCommand(args);
|
|
275
|
-
if (typeof optionsOrCb === "function") {
|
|
276
|
-
this.send(command, optionsOrCb);
|
|
277
|
-
}
|
|
278
|
-
else if (typeof cb === "function") {
|
|
279
|
-
if (typeof optionsOrCb !== "object")
|
|
280
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
281
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
282
|
-
}
|
|
283
|
-
else {
|
|
284
|
-
return this.send(command, optionsOrCb);
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
getDeployment(args, optionsOrCb, cb) {
|
|
288
|
-
const command = new GetDeploymentCommand_1.GetDeploymentCommand(args);
|
|
289
|
-
if (typeof optionsOrCb === "function") {
|
|
290
|
-
this.send(command, optionsOrCb);
|
|
291
|
-
}
|
|
292
|
-
else if (typeof cb === "function") {
|
|
293
|
-
if (typeof optionsOrCb !== "object")
|
|
294
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
295
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
296
|
-
}
|
|
297
|
-
else {
|
|
298
|
-
return this.send(command, optionsOrCb);
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
getDeploymentStrategy(args, optionsOrCb, cb) {
|
|
302
|
-
const command = new GetDeploymentStrategyCommand_1.GetDeploymentStrategyCommand(args);
|
|
303
|
-
if (typeof optionsOrCb === "function") {
|
|
304
|
-
this.send(command, optionsOrCb);
|
|
305
|
-
}
|
|
306
|
-
else if (typeof cb === "function") {
|
|
307
|
-
if (typeof optionsOrCb !== "object")
|
|
308
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
309
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
310
|
-
}
|
|
311
|
-
else {
|
|
312
|
-
return this.send(command, optionsOrCb);
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
getEnvironment(args, optionsOrCb, cb) {
|
|
316
|
-
const command = new GetEnvironmentCommand_1.GetEnvironmentCommand(args);
|
|
317
|
-
if (typeof optionsOrCb === "function") {
|
|
318
|
-
this.send(command, optionsOrCb);
|
|
319
|
-
}
|
|
320
|
-
else if (typeof cb === "function") {
|
|
321
|
-
if (typeof optionsOrCb !== "object")
|
|
322
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
323
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
324
|
-
}
|
|
325
|
-
else {
|
|
326
|
-
return this.send(command, optionsOrCb);
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
getExtension(args, optionsOrCb, cb) {
|
|
330
|
-
const command = new GetExtensionCommand_1.GetExtensionCommand(args);
|
|
331
|
-
if (typeof optionsOrCb === "function") {
|
|
332
|
-
this.send(command, optionsOrCb);
|
|
333
|
-
}
|
|
334
|
-
else if (typeof cb === "function") {
|
|
335
|
-
if (typeof optionsOrCb !== "object")
|
|
336
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
337
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
338
|
-
}
|
|
339
|
-
else {
|
|
340
|
-
return this.send(command, optionsOrCb);
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
getExtensionAssociation(args, optionsOrCb, cb) {
|
|
344
|
-
const command = new GetExtensionAssociationCommand_1.GetExtensionAssociationCommand(args);
|
|
345
|
-
if (typeof optionsOrCb === "function") {
|
|
346
|
-
this.send(command, optionsOrCb);
|
|
347
|
-
}
|
|
348
|
-
else if (typeof cb === "function") {
|
|
349
|
-
if (typeof optionsOrCb !== "object")
|
|
350
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
351
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
352
|
-
}
|
|
353
|
-
else {
|
|
354
|
-
return this.send(command, optionsOrCb);
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
getHostedConfigurationVersion(args, optionsOrCb, cb) {
|
|
358
|
-
const command = new GetHostedConfigurationVersionCommand_1.GetHostedConfigurationVersionCommand(args);
|
|
359
|
-
if (typeof optionsOrCb === "function") {
|
|
360
|
-
this.send(command, optionsOrCb);
|
|
361
|
-
}
|
|
362
|
-
else if (typeof cb === "function") {
|
|
363
|
-
if (typeof optionsOrCb !== "object")
|
|
364
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
365
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
366
|
-
}
|
|
367
|
-
else {
|
|
368
|
-
return this.send(command, optionsOrCb);
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
listApplications(args, optionsOrCb, cb) {
|
|
372
|
-
const command = new ListApplicationsCommand_1.ListApplicationsCommand(args);
|
|
373
|
-
if (typeof optionsOrCb === "function") {
|
|
374
|
-
this.send(command, optionsOrCb);
|
|
375
|
-
}
|
|
376
|
-
else if (typeof cb === "function") {
|
|
377
|
-
if (typeof optionsOrCb !== "object")
|
|
378
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
379
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
380
|
-
}
|
|
381
|
-
else {
|
|
382
|
-
return this.send(command, optionsOrCb);
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
listConfigurationProfiles(args, optionsOrCb, cb) {
|
|
386
|
-
const command = new ListConfigurationProfilesCommand_1.ListConfigurationProfilesCommand(args);
|
|
387
|
-
if (typeof optionsOrCb === "function") {
|
|
388
|
-
this.send(command, optionsOrCb);
|
|
389
|
-
}
|
|
390
|
-
else if (typeof cb === "function") {
|
|
391
|
-
if (typeof optionsOrCb !== "object")
|
|
392
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
393
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
394
|
-
}
|
|
395
|
-
else {
|
|
396
|
-
return this.send(command, optionsOrCb);
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
listDeployments(args, optionsOrCb, cb) {
|
|
400
|
-
const command = new ListDeploymentsCommand_1.ListDeploymentsCommand(args);
|
|
401
|
-
if (typeof optionsOrCb === "function") {
|
|
402
|
-
this.send(command, optionsOrCb);
|
|
403
|
-
}
|
|
404
|
-
else if (typeof cb === "function") {
|
|
405
|
-
if (typeof optionsOrCb !== "object")
|
|
406
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
407
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
408
|
-
}
|
|
409
|
-
else {
|
|
410
|
-
return this.send(command, optionsOrCb);
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
listDeploymentStrategies(args, optionsOrCb, cb) {
|
|
414
|
-
const command = new ListDeploymentStrategiesCommand_1.ListDeploymentStrategiesCommand(args);
|
|
415
|
-
if (typeof optionsOrCb === "function") {
|
|
416
|
-
this.send(command, optionsOrCb);
|
|
417
|
-
}
|
|
418
|
-
else if (typeof cb === "function") {
|
|
419
|
-
if (typeof optionsOrCb !== "object")
|
|
420
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
421
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
422
|
-
}
|
|
423
|
-
else {
|
|
424
|
-
return this.send(command, optionsOrCb);
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
listEnvironments(args, optionsOrCb, cb) {
|
|
428
|
-
const command = new ListEnvironmentsCommand_1.ListEnvironmentsCommand(args);
|
|
429
|
-
if (typeof optionsOrCb === "function") {
|
|
430
|
-
this.send(command, optionsOrCb);
|
|
431
|
-
}
|
|
432
|
-
else if (typeof cb === "function") {
|
|
433
|
-
if (typeof optionsOrCb !== "object")
|
|
434
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
435
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
436
|
-
}
|
|
437
|
-
else {
|
|
438
|
-
return this.send(command, optionsOrCb);
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
|
-
listExtensionAssociations(args, optionsOrCb, cb) {
|
|
442
|
-
const command = new ListExtensionAssociationsCommand_1.ListExtensionAssociationsCommand(args);
|
|
443
|
-
if (typeof optionsOrCb === "function") {
|
|
444
|
-
this.send(command, optionsOrCb);
|
|
445
|
-
}
|
|
446
|
-
else if (typeof cb === "function") {
|
|
447
|
-
if (typeof optionsOrCb !== "object")
|
|
448
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
449
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
450
|
-
}
|
|
451
|
-
else {
|
|
452
|
-
return this.send(command, optionsOrCb);
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
listExtensions(args, optionsOrCb, cb) {
|
|
456
|
-
const command = new ListExtensionsCommand_1.ListExtensionsCommand(args);
|
|
457
|
-
if (typeof optionsOrCb === "function") {
|
|
458
|
-
this.send(command, optionsOrCb);
|
|
459
|
-
}
|
|
460
|
-
else if (typeof cb === "function") {
|
|
461
|
-
if (typeof optionsOrCb !== "object")
|
|
462
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
463
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
464
|
-
}
|
|
465
|
-
else {
|
|
466
|
-
return this.send(command, optionsOrCb);
|
|
467
|
-
}
|
|
468
|
-
}
|
|
469
|
-
listHostedConfigurationVersions(args, optionsOrCb, cb) {
|
|
470
|
-
const command = new ListHostedConfigurationVersionsCommand_1.ListHostedConfigurationVersionsCommand(args);
|
|
471
|
-
if (typeof optionsOrCb === "function") {
|
|
472
|
-
this.send(command, optionsOrCb);
|
|
473
|
-
}
|
|
474
|
-
else if (typeof cb === "function") {
|
|
475
|
-
if (typeof optionsOrCb !== "object")
|
|
476
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
477
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
478
|
-
}
|
|
479
|
-
else {
|
|
480
|
-
return this.send(command, optionsOrCb);
|
|
481
|
-
}
|
|
482
|
-
}
|
|
483
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
484
|
-
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
485
|
-
if (typeof optionsOrCb === "function") {
|
|
486
|
-
this.send(command, optionsOrCb);
|
|
487
|
-
}
|
|
488
|
-
else if (typeof cb === "function") {
|
|
489
|
-
if (typeof optionsOrCb !== "object")
|
|
490
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
491
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
492
|
-
}
|
|
493
|
-
else {
|
|
494
|
-
return this.send(command, optionsOrCb);
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
startDeployment(args, optionsOrCb, cb) {
|
|
498
|
-
const command = new StartDeploymentCommand_1.StartDeploymentCommand(args);
|
|
499
|
-
if (typeof optionsOrCb === "function") {
|
|
500
|
-
this.send(command, optionsOrCb);
|
|
501
|
-
}
|
|
502
|
-
else if (typeof cb === "function") {
|
|
503
|
-
if (typeof optionsOrCb !== "object")
|
|
504
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
505
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
506
|
-
}
|
|
507
|
-
else {
|
|
508
|
-
return this.send(command, optionsOrCb);
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
|
-
stopDeployment(args, optionsOrCb, cb) {
|
|
512
|
-
const command = new StopDeploymentCommand_1.StopDeploymentCommand(args);
|
|
513
|
-
if (typeof optionsOrCb === "function") {
|
|
514
|
-
this.send(command, optionsOrCb);
|
|
515
|
-
}
|
|
516
|
-
else if (typeof cb === "function") {
|
|
517
|
-
if (typeof optionsOrCb !== "object")
|
|
518
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
519
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
520
|
-
}
|
|
521
|
-
else {
|
|
522
|
-
return this.send(command, optionsOrCb);
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
tagResource(args, optionsOrCb, cb) {
|
|
526
|
-
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
527
|
-
if (typeof optionsOrCb === "function") {
|
|
528
|
-
this.send(command, optionsOrCb);
|
|
529
|
-
}
|
|
530
|
-
else if (typeof cb === "function") {
|
|
531
|
-
if (typeof optionsOrCb !== "object")
|
|
532
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
533
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
534
|
-
}
|
|
535
|
-
else {
|
|
536
|
-
return this.send(command, optionsOrCb);
|
|
537
|
-
}
|
|
538
|
-
}
|
|
539
|
-
untagResource(args, optionsOrCb, cb) {
|
|
540
|
-
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
541
|
-
if (typeof optionsOrCb === "function") {
|
|
542
|
-
this.send(command, optionsOrCb);
|
|
543
|
-
}
|
|
544
|
-
else if (typeof cb === "function") {
|
|
545
|
-
if (typeof optionsOrCb !== "object")
|
|
546
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
547
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
548
|
-
}
|
|
549
|
-
else {
|
|
550
|
-
return this.send(command, optionsOrCb);
|
|
551
|
-
}
|
|
552
|
-
}
|
|
553
|
-
updateApplication(args, optionsOrCb, cb) {
|
|
554
|
-
const command = new UpdateApplicationCommand_1.UpdateApplicationCommand(args);
|
|
555
|
-
if (typeof optionsOrCb === "function") {
|
|
556
|
-
this.send(command, optionsOrCb);
|
|
557
|
-
}
|
|
558
|
-
else if (typeof cb === "function") {
|
|
559
|
-
if (typeof optionsOrCb !== "object")
|
|
560
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
561
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
562
|
-
}
|
|
563
|
-
else {
|
|
564
|
-
return this.send(command, optionsOrCb);
|
|
565
|
-
}
|
|
566
|
-
}
|
|
567
|
-
updateConfigurationProfile(args, optionsOrCb, cb) {
|
|
568
|
-
const command = new UpdateConfigurationProfileCommand_1.UpdateConfigurationProfileCommand(args);
|
|
569
|
-
if (typeof optionsOrCb === "function") {
|
|
570
|
-
this.send(command, optionsOrCb);
|
|
571
|
-
}
|
|
572
|
-
else if (typeof cb === "function") {
|
|
573
|
-
if (typeof optionsOrCb !== "object")
|
|
574
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
575
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
576
|
-
}
|
|
577
|
-
else {
|
|
578
|
-
return this.send(command, optionsOrCb);
|
|
579
|
-
}
|
|
580
|
-
}
|
|
581
|
-
updateDeploymentStrategy(args, optionsOrCb, cb) {
|
|
582
|
-
const command = new UpdateDeploymentStrategyCommand_1.UpdateDeploymentStrategyCommand(args);
|
|
583
|
-
if (typeof optionsOrCb === "function") {
|
|
584
|
-
this.send(command, optionsOrCb);
|
|
585
|
-
}
|
|
586
|
-
else if (typeof cb === "function") {
|
|
587
|
-
if (typeof optionsOrCb !== "object")
|
|
588
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
589
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
590
|
-
}
|
|
591
|
-
else {
|
|
592
|
-
return this.send(command, optionsOrCb);
|
|
593
|
-
}
|
|
594
|
-
}
|
|
595
|
-
updateEnvironment(args, optionsOrCb, cb) {
|
|
596
|
-
const command = new UpdateEnvironmentCommand_1.UpdateEnvironmentCommand(args);
|
|
597
|
-
if (typeof optionsOrCb === "function") {
|
|
598
|
-
this.send(command, optionsOrCb);
|
|
599
|
-
}
|
|
600
|
-
else if (typeof cb === "function") {
|
|
601
|
-
if (typeof optionsOrCb !== "object")
|
|
602
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
603
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
604
|
-
}
|
|
605
|
-
else {
|
|
606
|
-
return this.send(command, optionsOrCb);
|
|
607
|
-
}
|
|
608
|
-
}
|
|
609
|
-
updateExtension(args, optionsOrCb, cb) {
|
|
610
|
-
const command = new UpdateExtensionCommand_1.UpdateExtensionCommand(args);
|
|
611
|
-
if (typeof optionsOrCb === "function") {
|
|
612
|
-
this.send(command, optionsOrCb);
|
|
613
|
-
}
|
|
614
|
-
else if (typeof cb === "function") {
|
|
615
|
-
if (typeof optionsOrCb !== "object")
|
|
616
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
617
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
618
|
-
}
|
|
619
|
-
else {
|
|
620
|
-
return this.send(command, optionsOrCb);
|
|
621
|
-
}
|
|
622
|
-
}
|
|
623
|
-
updateExtensionAssociation(args, optionsOrCb, cb) {
|
|
624
|
-
const command = new UpdateExtensionAssociationCommand_1.UpdateExtensionAssociationCommand(args);
|
|
625
|
-
if (typeof optionsOrCb === "function") {
|
|
626
|
-
this.send(command, optionsOrCb);
|
|
627
|
-
}
|
|
628
|
-
else if (typeof cb === "function") {
|
|
629
|
-
if (typeof optionsOrCb !== "object")
|
|
630
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
631
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
632
|
-
}
|
|
633
|
-
else {
|
|
634
|
-
return this.send(command, optionsOrCb);
|
|
635
|
-
}
|
|
636
|
-
}
|
|
637
|
-
validateConfiguration(args, optionsOrCb, cb) {
|
|
638
|
-
const command = new ValidateConfigurationCommand_1.ValidateConfigurationCommand(args);
|
|
639
|
-
if (typeof optionsOrCb === "function") {
|
|
640
|
-
this.send(command, optionsOrCb);
|
|
641
|
-
}
|
|
642
|
-
else if (typeof cb === "function") {
|
|
643
|
-
if (typeof optionsOrCb !== "object")
|
|
644
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
645
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
646
|
-
}
|
|
647
|
-
else {
|
|
648
|
-
return this.send(command, optionsOrCb);
|
|
649
|
-
}
|
|
650
|
-
}
|
|
651
95
|
}
|
|
652
96
|
exports.AppConfig = AppConfig;
|
|
97
|
+
(0, smithy_client_1.createAggregatedClient)(commands, AppConfig);
|