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