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