@aws-sdk/client-proton 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/Proton.js +302 -309
- package/dist-es/ProtonClient.js +22 -28
- package/dist-es/commands/AcceptEnvironmentAccountConnectionCommand.js +21 -28
- package/dist-es/commands/CancelComponentDeploymentCommand.js +21 -28
- package/dist-es/commands/CancelEnvironmentDeploymentCommand.js +21 -28
- package/dist-es/commands/CancelServiceInstanceDeploymentCommand.js +21 -28
- package/dist-es/commands/CancelServicePipelineDeploymentCommand.js +21 -28
- package/dist-es/commands/CreateComponentCommand.js +21 -28
- package/dist-es/commands/CreateEnvironmentAccountConnectionCommand.js +21 -28
- package/dist-es/commands/CreateEnvironmentCommand.js +21 -28
- package/dist-es/commands/CreateEnvironmentTemplateCommand.js +21 -28
- package/dist-es/commands/CreateEnvironmentTemplateVersionCommand.js +21 -28
- package/dist-es/commands/CreateRepositoryCommand.js +21 -28
- package/dist-es/commands/CreateServiceCommand.js +21 -28
- package/dist-es/commands/CreateServiceTemplateCommand.js +21 -28
- package/dist-es/commands/CreateServiceTemplateVersionCommand.js +21 -28
- package/dist-es/commands/CreateTemplateSyncConfigCommand.js +21 -28
- package/dist-es/commands/DeleteComponentCommand.js +21 -28
- package/dist-es/commands/DeleteEnvironmentAccountConnectionCommand.js +21 -28
- package/dist-es/commands/DeleteEnvironmentCommand.js +21 -28
- package/dist-es/commands/DeleteEnvironmentTemplateCommand.js +21 -28
- package/dist-es/commands/DeleteEnvironmentTemplateVersionCommand.js +21 -28
- package/dist-es/commands/DeleteRepositoryCommand.js +21 -28
- package/dist-es/commands/DeleteServiceCommand.js +21 -28
- package/dist-es/commands/DeleteServiceTemplateCommand.js +21 -28
- package/dist-es/commands/DeleteServiceTemplateVersionCommand.js +21 -28
- package/dist-es/commands/DeleteTemplateSyncConfigCommand.js +21 -28
- package/dist-es/commands/GetAccountSettingsCommand.js +21 -28
- package/dist-es/commands/GetComponentCommand.js +21 -28
- package/dist-es/commands/GetEnvironmentAccountConnectionCommand.js +21 -28
- package/dist-es/commands/GetEnvironmentCommand.js +21 -28
- package/dist-es/commands/GetEnvironmentTemplateCommand.js +21 -28
- package/dist-es/commands/GetEnvironmentTemplateVersionCommand.js +21 -28
- package/dist-es/commands/GetRepositoryCommand.js +21 -28
- package/dist-es/commands/GetRepositorySyncStatusCommand.js +21 -28
- package/dist-es/commands/GetServiceCommand.js +21 -28
- package/dist-es/commands/GetServiceInstanceCommand.js +21 -28
- package/dist-es/commands/GetServiceTemplateCommand.js +21 -28
- package/dist-es/commands/GetServiceTemplateVersionCommand.js +21 -28
- package/dist-es/commands/GetTemplateSyncConfigCommand.js +21 -28
- package/dist-es/commands/GetTemplateSyncStatusCommand.js +21 -28
- package/dist-es/commands/ListComponentOutputsCommand.js +21 -28
- package/dist-es/commands/ListComponentProvisionedResourcesCommand.js +21 -28
- package/dist-es/commands/ListComponentsCommand.js +21 -28
- package/dist-es/commands/ListEnvironmentAccountConnectionsCommand.js +21 -28
- package/dist-es/commands/ListEnvironmentOutputsCommand.js +21 -28
- package/dist-es/commands/ListEnvironmentProvisionedResourcesCommand.js +21 -28
- package/dist-es/commands/ListEnvironmentTemplateVersionsCommand.js +21 -28
- package/dist-es/commands/ListEnvironmentTemplatesCommand.js +21 -28
- package/dist-es/commands/ListEnvironmentsCommand.js +21 -28
- package/dist-es/commands/ListRepositoriesCommand.js +21 -28
- package/dist-es/commands/ListRepositorySyncDefinitionsCommand.js +21 -28
- package/dist-es/commands/ListServiceInstanceOutputsCommand.js +21 -28
- package/dist-es/commands/ListServiceInstanceProvisionedResourcesCommand.js +21 -28
- package/dist-es/commands/ListServiceInstancesCommand.js +21 -28
- package/dist-es/commands/ListServicePipelineOutputsCommand.js +21 -28
- package/dist-es/commands/ListServicePipelineProvisionedResourcesCommand.js +21 -28
- package/dist-es/commands/ListServiceTemplateVersionsCommand.js +21 -28
- package/dist-es/commands/ListServiceTemplatesCommand.js +21 -28
- package/dist-es/commands/ListServicesCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/NotifyResourceDeploymentStatusChangeCommand.js +21 -28
- package/dist-es/commands/RejectEnvironmentAccountConnectionCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateAccountSettingsCommand.js +21 -28
- package/dist-es/commands/UpdateComponentCommand.js +21 -28
- package/dist-es/commands/UpdateEnvironmentAccountConnectionCommand.js +21 -28
- package/dist-es/commands/UpdateEnvironmentCommand.js +21 -28
- package/dist-es/commands/UpdateEnvironmentTemplateCommand.js +21 -28
- package/dist-es/commands/UpdateEnvironmentTemplateVersionCommand.js +21 -28
- package/dist-es/commands/UpdateServiceCommand.js +21 -28
- package/dist-es/commands/UpdateServiceInstanceCommand.js +21 -28
- package/dist-es/commands/UpdateServicePipelineCommand.js +21 -28
- package/dist-es/commands/UpdateServiceTemplateCommand.js +21 -28
- package/dist-es/commands/UpdateServiceTemplateVersionCommand.js +21 -28
- package/dist-es/commands/UpdateTemplateSyncConfigCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/ProtonServiceException.js +5 -10
- package/dist-es/models/models_0.js +794 -302
- package/dist-es/pagination/ListComponentOutputsPaginator.js +24 -67
- package/dist-es/pagination/ListComponentProvisionedResourcesPaginator.js +24 -67
- package/dist-es/pagination/ListComponentsPaginator.js +25 -68
- package/dist-es/pagination/ListEnvironmentAccountConnectionsPaginator.js +25 -68
- package/dist-es/pagination/ListEnvironmentOutputsPaginator.js +24 -67
- package/dist-es/pagination/ListEnvironmentProvisionedResourcesPaginator.js +24 -67
- package/dist-es/pagination/ListEnvironmentTemplateVersionsPaginator.js +25 -68
- package/dist-es/pagination/ListEnvironmentTemplatesPaginator.js +25 -68
- package/dist-es/pagination/ListEnvironmentsPaginator.js +25 -68
- package/dist-es/pagination/ListRepositoriesPaginator.js +25 -68
- package/dist-es/pagination/ListRepositorySyncDefinitionsPaginator.js +24 -67
- package/dist-es/pagination/ListServiceInstanceOutputsPaginator.js +24 -67
- package/dist-es/pagination/ListServiceInstanceProvisionedResourcesPaginator.js +24 -67
- package/dist-es/pagination/ListServiceInstancesPaginator.js +25 -68
- package/dist-es/pagination/ListServicePipelineOutputsPaginator.js +24 -67
- package/dist-es/pagination/ListServicePipelineProvisionedResourcesPaginator.js +24 -67
- package/dist-es/pagination/ListServiceTemplateVersionsPaginator.js +25 -68
- package/dist-es/pagination/ListServiceTemplatesPaginator.js +25 -68
- package/dist-es/pagination/ListServicesPaginator.js +25 -68
- package/dist-es/pagination/ListTagsForResourcePaginator.js +25 -68
- package/dist-es/protocols/Aws_json1_0.js +5018 -6546
- 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/dist-es/waiters/waitForComponentDeleted.js +30 -50
- package/dist-es/waiters/waitForComponentDeployed.js +36 -56
- package/dist-es/waiters/waitForEnvironmentDeployed.js +36 -56
- package/dist-es/waiters/waitForEnvironmentTemplateVersionRegistered.js +45 -65
- package/dist-es/waiters/waitForServiceCreated.js +54 -74
- package/dist-es/waiters/waitForServiceDeleted.js +30 -50
- package/dist-es/waiters/waitForServiceInstanceDeployed.js +36 -56
- package/dist-es/waiters/waitForServicePipelineDeployed.js +36 -56
- package/dist-es/waiters/waitForServiceTemplateVersionRegistered.js +45 -65
- package/dist-es/waiters/waitForServiceUpdated.js +63 -83
- package/package.json +34 -34
package/dist-es/Proton.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { AcceptEnvironmentAccountConnectionCommand, } from "./commands/AcceptEnvironmentAccountConnectionCommand";
|
|
3
2
|
import { CancelComponentDeploymentCommand, } from "./commands/CancelComponentDeploymentCommand";
|
|
4
3
|
import { CancelEnvironmentDeploymentCommand, } from "./commands/CancelEnvironmentDeploymentCommand";
|
|
@@ -75,1061 +74,1055 @@ import { UpdateServiceTemplateCommand, } from "./commands/UpdateServiceTemplateC
|
|
|
75
74
|
import { UpdateServiceTemplateVersionCommand, } from "./commands/UpdateServiceTemplateVersionCommand";
|
|
76
75
|
import { UpdateTemplateSyncConfigCommand, } from "./commands/UpdateTemplateSyncConfigCommand";
|
|
77
76
|
import { ProtonClient } from "./ProtonClient";
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
82
|
-
}
|
|
83
|
-
Proton.prototype.acceptEnvironmentAccountConnection = function (args, optionsOrCb, cb) {
|
|
84
|
-
var command = new AcceptEnvironmentAccountConnectionCommand(args);
|
|
77
|
+
export class Proton extends ProtonClient {
|
|
78
|
+
acceptEnvironmentAccountConnection(args, optionsOrCb, cb) {
|
|
79
|
+
const command = new AcceptEnvironmentAccountConnectionCommand(args);
|
|
85
80
|
if (typeof optionsOrCb === "function") {
|
|
86
81
|
this.send(command, optionsOrCb);
|
|
87
82
|
}
|
|
88
83
|
else if (typeof cb === "function") {
|
|
89
84
|
if (typeof optionsOrCb !== "object")
|
|
90
|
-
throw new Error(
|
|
85
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
91
86
|
this.send(command, optionsOrCb || {}, cb);
|
|
92
87
|
}
|
|
93
88
|
else {
|
|
94
89
|
return this.send(command, optionsOrCb);
|
|
95
90
|
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
|
|
91
|
+
}
|
|
92
|
+
cancelComponentDeployment(args, optionsOrCb, cb) {
|
|
93
|
+
const command = new CancelComponentDeploymentCommand(args);
|
|
99
94
|
if (typeof optionsOrCb === "function") {
|
|
100
95
|
this.send(command, optionsOrCb);
|
|
101
96
|
}
|
|
102
97
|
else if (typeof cb === "function") {
|
|
103
98
|
if (typeof optionsOrCb !== "object")
|
|
104
|
-
throw new Error(
|
|
99
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
105
100
|
this.send(command, optionsOrCb || {}, cb);
|
|
106
101
|
}
|
|
107
102
|
else {
|
|
108
103
|
return this.send(command, optionsOrCb);
|
|
109
104
|
}
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
|
|
105
|
+
}
|
|
106
|
+
cancelEnvironmentDeployment(args, optionsOrCb, cb) {
|
|
107
|
+
const command = new CancelEnvironmentDeploymentCommand(args);
|
|
113
108
|
if (typeof optionsOrCb === "function") {
|
|
114
109
|
this.send(command, optionsOrCb);
|
|
115
110
|
}
|
|
116
111
|
else if (typeof cb === "function") {
|
|
117
112
|
if (typeof optionsOrCb !== "object")
|
|
118
|
-
throw new Error(
|
|
113
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
119
114
|
this.send(command, optionsOrCb || {}, cb);
|
|
120
115
|
}
|
|
121
116
|
else {
|
|
122
117
|
return this.send(command, optionsOrCb);
|
|
123
118
|
}
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
|
|
119
|
+
}
|
|
120
|
+
cancelServiceInstanceDeployment(args, optionsOrCb, cb) {
|
|
121
|
+
const command = new CancelServiceInstanceDeploymentCommand(args);
|
|
127
122
|
if (typeof optionsOrCb === "function") {
|
|
128
123
|
this.send(command, optionsOrCb);
|
|
129
124
|
}
|
|
130
125
|
else if (typeof cb === "function") {
|
|
131
126
|
if (typeof optionsOrCb !== "object")
|
|
132
|
-
throw new Error(
|
|
127
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
133
128
|
this.send(command, optionsOrCb || {}, cb);
|
|
134
129
|
}
|
|
135
130
|
else {
|
|
136
131
|
return this.send(command, optionsOrCb);
|
|
137
132
|
}
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
|
|
133
|
+
}
|
|
134
|
+
cancelServicePipelineDeployment(args, optionsOrCb, cb) {
|
|
135
|
+
const command = new CancelServicePipelineDeploymentCommand(args);
|
|
141
136
|
if (typeof optionsOrCb === "function") {
|
|
142
137
|
this.send(command, optionsOrCb);
|
|
143
138
|
}
|
|
144
139
|
else if (typeof cb === "function") {
|
|
145
140
|
if (typeof optionsOrCb !== "object")
|
|
146
|
-
throw new Error(
|
|
141
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
147
142
|
this.send(command, optionsOrCb || {}, cb);
|
|
148
143
|
}
|
|
149
144
|
else {
|
|
150
145
|
return this.send(command, optionsOrCb);
|
|
151
146
|
}
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
|
|
147
|
+
}
|
|
148
|
+
createComponent(args, optionsOrCb, cb) {
|
|
149
|
+
const command = new CreateComponentCommand(args);
|
|
155
150
|
if (typeof optionsOrCb === "function") {
|
|
156
151
|
this.send(command, optionsOrCb);
|
|
157
152
|
}
|
|
158
153
|
else if (typeof cb === "function") {
|
|
159
154
|
if (typeof optionsOrCb !== "object")
|
|
160
|
-
throw new Error(
|
|
155
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
161
156
|
this.send(command, optionsOrCb || {}, cb);
|
|
162
157
|
}
|
|
163
158
|
else {
|
|
164
159
|
return this.send(command, optionsOrCb);
|
|
165
160
|
}
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
|
|
161
|
+
}
|
|
162
|
+
createEnvironment(args, optionsOrCb, cb) {
|
|
163
|
+
const command = new CreateEnvironmentCommand(args);
|
|
169
164
|
if (typeof optionsOrCb === "function") {
|
|
170
165
|
this.send(command, optionsOrCb);
|
|
171
166
|
}
|
|
172
167
|
else if (typeof cb === "function") {
|
|
173
168
|
if (typeof optionsOrCb !== "object")
|
|
174
|
-
throw new Error(
|
|
169
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
175
170
|
this.send(command, optionsOrCb || {}, cb);
|
|
176
171
|
}
|
|
177
172
|
else {
|
|
178
173
|
return this.send(command, optionsOrCb);
|
|
179
174
|
}
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
|
|
175
|
+
}
|
|
176
|
+
createEnvironmentAccountConnection(args, optionsOrCb, cb) {
|
|
177
|
+
const command = new CreateEnvironmentAccountConnectionCommand(args);
|
|
183
178
|
if (typeof optionsOrCb === "function") {
|
|
184
179
|
this.send(command, optionsOrCb);
|
|
185
180
|
}
|
|
186
181
|
else if (typeof cb === "function") {
|
|
187
182
|
if (typeof optionsOrCb !== "object")
|
|
188
|
-
throw new Error(
|
|
183
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
189
184
|
this.send(command, optionsOrCb || {}, cb);
|
|
190
185
|
}
|
|
191
186
|
else {
|
|
192
187
|
return this.send(command, optionsOrCb);
|
|
193
188
|
}
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
|
|
189
|
+
}
|
|
190
|
+
createEnvironmentTemplate(args, optionsOrCb, cb) {
|
|
191
|
+
const command = new CreateEnvironmentTemplateCommand(args);
|
|
197
192
|
if (typeof optionsOrCb === "function") {
|
|
198
193
|
this.send(command, optionsOrCb);
|
|
199
194
|
}
|
|
200
195
|
else if (typeof cb === "function") {
|
|
201
196
|
if (typeof optionsOrCb !== "object")
|
|
202
|
-
throw new Error(
|
|
197
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
203
198
|
this.send(command, optionsOrCb || {}, cb);
|
|
204
199
|
}
|
|
205
200
|
else {
|
|
206
201
|
return this.send(command, optionsOrCb);
|
|
207
202
|
}
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
|
|
203
|
+
}
|
|
204
|
+
createEnvironmentTemplateVersion(args, optionsOrCb, cb) {
|
|
205
|
+
const command = new CreateEnvironmentTemplateVersionCommand(args);
|
|
211
206
|
if (typeof optionsOrCb === "function") {
|
|
212
207
|
this.send(command, optionsOrCb);
|
|
213
208
|
}
|
|
214
209
|
else if (typeof cb === "function") {
|
|
215
210
|
if (typeof optionsOrCb !== "object")
|
|
216
|
-
throw new Error(
|
|
211
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
217
212
|
this.send(command, optionsOrCb || {}, cb);
|
|
218
213
|
}
|
|
219
214
|
else {
|
|
220
215
|
return this.send(command, optionsOrCb);
|
|
221
216
|
}
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
|
|
217
|
+
}
|
|
218
|
+
createRepository(args, optionsOrCb, cb) {
|
|
219
|
+
const command = new CreateRepositoryCommand(args);
|
|
225
220
|
if (typeof optionsOrCb === "function") {
|
|
226
221
|
this.send(command, optionsOrCb);
|
|
227
222
|
}
|
|
228
223
|
else if (typeof cb === "function") {
|
|
229
224
|
if (typeof optionsOrCb !== "object")
|
|
230
|
-
throw new Error(
|
|
225
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
231
226
|
this.send(command, optionsOrCb || {}, cb);
|
|
232
227
|
}
|
|
233
228
|
else {
|
|
234
229
|
return this.send(command, optionsOrCb);
|
|
235
230
|
}
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
|
|
231
|
+
}
|
|
232
|
+
createService(args, optionsOrCb, cb) {
|
|
233
|
+
const command = new CreateServiceCommand(args);
|
|
239
234
|
if (typeof optionsOrCb === "function") {
|
|
240
235
|
this.send(command, optionsOrCb);
|
|
241
236
|
}
|
|
242
237
|
else if (typeof cb === "function") {
|
|
243
238
|
if (typeof optionsOrCb !== "object")
|
|
244
|
-
throw new Error(
|
|
239
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
245
240
|
this.send(command, optionsOrCb || {}, cb);
|
|
246
241
|
}
|
|
247
242
|
else {
|
|
248
243
|
return this.send(command, optionsOrCb);
|
|
249
244
|
}
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
|
|
245
|
+
}
|
|
246
|
+
createServiceTemplate(args, optionsOrCb, cb) {
|
|
247
|
+
const command = new CreateServiceTemplateCommand(args);
|
|
253
248
|
if (typeof optionsOrCb === "function") {
|
|
254
249
|
this.send(command, optionsOrCb);
|
|
255
250
|
}
|
|
256
251
|
else if (typeof cb === "function") {
|
|
257
252
|
if (typeof optionsOrCb !== "object")
|
|
258
|
-
throw new Error(
|
|
253
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
259
254
|
this.send(command, optionsOrCb || {}, cb);
|
|
260
255
|
}
|
|
261
256
|
else {
|
|
262
257
|
return this.send(command, optionsOrCb);
|
|
263
258
|
}
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
|
|
259
|
+
}
|
|
260
|
+
createServiceTemplateVersion(args, optionsOrCb, cb) {
|
|
261
|
+
const command = new CreateServiceTemplateVersionCommand(args);
|
|
267
262
|
if (typeof optionsOrCb === "function") {
|
|
268
263
|
this.send(command, optionsOrCb);
|
|
269
264
|
}
|
|
270
265
|
else if (typeof cb === "function") {
|
|
271
266
|
if (typeof optionsOrCb !== "object")
|
|
272
|
-
throw new Error(
|
|
267
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
273
268
|
this.send(command, optionsOrCb || {}, cb);
|
|
274
269
|
}
|
|
275
270
|
else {
|
|
276
271
|
return this.send(command, optionsOrCb);
|
|
277
272
|
}
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
|
|
273
|
+
}
|
|
274
|
+
createTemplateSyncConfig(args, optionsOrCb, cb) {
|
|
275
|
+
const command = new CreateTemplateSyncConfigCommand(args);
|
|
281
276
|
if (typeof optionsOrCb === "function") {
|
|
282
277
|
this.send(command, optionsOrCb);
|
|
283
278
|
}
|
|
284
279
|
else if (typeof cb === "function") {
|
|
285
280
|
if (typeof optionsOrCb !== "object")
|
|
286
|
-
throw new Error(
|
|
281
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
287
282
|
this.send(command, optionsOrCb || {}, cb);
|
|
288
283
|
}
|
|
289
284
|
else {
|
|
290
285
|
return this.send(command, optionsOrCb);
|
|
291
286
|
}
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
|
|
287
|
+
}
|
|
288
|
+
deleteComponent(args, optionsOrCb, cb) {
|
|
289
|
+
const command = new DeleteComponentCommand(args);
|
|
295
290
|
if (typeof optionsOrCb === "function") {
|
|
296
291
|
this.send(command, optionsOrCb);
|
|
297
292
|
}
|
|
298
293
|
else if (typeof cb === "function") {
|
|
299
294
|
if (typeof optionsOrCb !== "object")
|
|
300
|
-
throw new Error(
|
|
295
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
301
296
|
this.send(command, optionsOrCb || {}, cb);
|
|
302
297
|
}
|
|
303
298
|
else {
|
|
304
299
|
return this.send(command, optionsOrCb);
|
|
305
300
|
}
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
|
|
301
|
+
}
|
|
302
|
+
deleteEnvironment(args, optionsOrCb, cb) {
|
|
303
|
+
const command = new DeleteEnvironmentCommand(args);
|
|
309
304
|
if (typeof optionsOrCb === "function") {
|
|
310
305
|
this.send(command, optionsOrCb);
|
|
311
306
|
}
|
|
312
307
|
else if (typeof cb === "function") {
|
|
313
308
|
if (typeof optionsOrCb !== "object")
|
|
314
|
-
throw new Error(
|
|
309
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
315
310
|
this.send(command, optionsOrCb || {}, cb);
|
|
316
311
|
}
|
|
317
312
|
else {
|
|
318
313
|
return this.send(command, optionsOrCb);
|
|
319
314
|
}
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
|
|
315
|
+
}
|
|
316
|
+
deleteEnvironmentAccountConnection(args, optionsOrCb, cb) {
|
|
317
|
+
const command = new DeleteEnvironmentAccountConnectionCommand(args);
|
|
323
318
|
if (typeof optionsOrCb === "function") {
|
|
324
319
|
this.send(command, optionsOrCb);
|
|
325
320
|
}
|
|
326
321
|
else if (typeof cb === "function") {
|
|
327
322
|
if (typeof optionsOrCb !== "object")
|
|
328
|
-
throw new Error(
|
|
323
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
329
324
|
this.send(command, optionsOrCb || {}, cb);
|
|
330
325
|
}
|
|
331
326
|
else {
|
|
332
327
|
return this.send(command, optionsOrCb);
|
|
333
328
|
}
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
|
|
329
|
+
}
|
|
330
|
+
deleteEnvironmentTemplate(args, optionsOrCb, cb) {
|
|
331
|
+
const command = new DeleteEnvironmentTemplateCommand(args);
|
|
337
332
|
if (typeof optionsOrCb === "function") {
|
|
338
333
|
this.send(command, optionsOrCb);
|
|
339
334
|
}
|
|
340
335
|
else if (typeof cb === "function") {
|
|
341
336
|
if (typeof optionsOrCb !== "object")
|
|
342
|
-
throw new Error(
|
|
337
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
343
338
|
this.send(command, optionsOrCb || {}, cb);
|
|
344
339
|
}
|
|
345
340
|
else {
|
|
346
341
|
return this.send(command, optionsOrCb);
|
|
347
342
|
}
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
|
|
343
|
+
}
|
|
344
|
+
deleteEnvironmentTemplateVersion(args, optionsOrCb, cb) {
|
|
345
|
+
const command = new DeleteEnvironmentTemplateVersionCommand(args);
|
|
351
346
|
if (typeof optionsOrCb === "function") {
|
|
352
347
|
this.send(command, optionsOrCb);
|
|
353
348
|
}
|
|
354
349
|
else if (typeof cb === "function") {
|
|
355
350
|
if (typeof optionsOrCb !== "object")
|
|
356
|
-
throw new Error(
|
|
351
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
357
352
|
this.send(command, optionsOrCb || {}, cb);
|
|
358
353
|
}
|
|
359
354
|
else {
|
|
360
355
|
return this.send(command, optionsOrCb);
|
|
361
356
|
}
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
|
|
357
|
+
}
|
|
358
|
+
deleteRepository(args, optionsOrCb, cb) {
|
|
359
|
+
const command = new DeleteRepositoryCommand(args);
|
|
365
360
|
if (typeof optionsOrCb === "function") {
|
|
366
361
|
this.send(command, optionsOrCb);
|
|
367
362
|
}
|
|
368
363
|
else if (typeof cb === "function") {
|
|
369
364
|
if (typeof optionsOrCb !== "object")
|
|
370
|
-
throw new Error(
|
|
365
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
371
366
|
this.send(command, optionsOrCb || {}, cb);
|
|
372
367
|
}
|
|
373
368
|
else {
|
|
374
369
|
return this.send(command, optionsOrCb);
|
|
375
370
|
}
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
|
|
371
|
+
}
|
|
372
|
+
deleteService(args, optionsOrCb, cb) {
|
|
373
|
+
const command = new DeleteServiceCommand(args);
|
|
379
374
|
if (typeof optionsOrCb === "function") {
|
|
380
375
|
this.send(command, optionsOrCb);
|
|
381
376
|
}
|
|
382
377
|
else if (typeof cb === "function") {
|
|
383
378
|
if (typeof optionsOrCb !== "object")
|
|
384
|
-
throw new Error(
|
|
379
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
385
380
|
this.send(command, optionsOrCb || {}, cb);
|
|
386
381
|
}
|
|
387
382
|
else {
|
|
388
383
|
return this.send(command, optionsOrCb);
|
|
389
384
|
}
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
|
|
385
|
+
}
|
|
386
|
+
deleteServiceTemplate(args, optionsOrCb, cb) {
|
|
387
|
+
const command = new DeleteServiceTemplateCommand(args);
|
|
393
388
|
if (typeof optionsOrCb === "function") {
|
|
394
389
|
this.send(command, optionsOrCb);
|
|
395
390
|
}
|
|
396
391
|
else if (typeof cb === "function") {
|
|
397
392
|
if (typeof optionsOrCb !== "object")
|
|
398
|
-
throw new Error(
|
|
393
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
399
394
|
this.send(command, optionsOrCb || {}, cb);
|
|
400
395
|
}
|
|
401
396
|
else {
|
|
402
397
|
return this.send(command, optionsOrCb);
|
|
403
398
|
}
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
|
|
399
|
+
}
|
|
400
|
+
deleteServiceTemplateVersion(args, optionsOrCb, cb) {
|
|
401
|
+
const command = new DeleteServiceTemplateVersionCommand(args);
|
|
407
402
|
if (typeof optionsOrCb === "function") {
|
|
408
403
|
this.send(command, optionsOrCb);
|
|
409
404
|
}
|
|
410
405
|
else if (typeof cb === "function") {
|
|
411
406
|
if (typeof optionsOrCb !== "object")
|
|
412
|
-
throw new Error(
|
|
407
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
413
408
|
this.send(command, optionsOrCb || {}, cb);
|
|
414
409
|
}
|
|
415
410
|
else {
|
|
416
411
|
return this.send(command, optionsOrCb);
|
|
417
412
|
}
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
|
|
413
|
+
}
|
|
414
|
+
deleteTemplateSyncConfig(args, optionsOrCb, cb) {
|
|
415
|
+
const command = new DeleteTemplateSyncConfigCommand(args);
|
|
421
416
|
if (typeof optionsOrCb === "function") {
|
|
422
417
|
this.send(command, optionsOrCb);
|
|
423
418
|
}
|
|
424
419
|
else if (typeof cb === "function") {
|
|
425
420
|
if (typeof optionsOrCb !== "object")
|
|
426
|
-
throw new Error(
|
|
421
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
427
422
|
this.send(command, optionsOrCb || {}, cb);
|
|
428
423
|
}
|
|
429
424
|
else {
|
|
430
425
|
return this.send(command, optionsOrCb);
|
|
431
426
|
}
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
|
|
427
|
+
}
|
|
428
|
+
getAccountSettings(args, optionsOrCb, cb) {
|
|
429
|
+
const command = new GetAccountSettingsCommand(args);
|
|
435
430
|
if (typeof optionsOrCb === "function") {
|
|
436
431
|
this.send(command, optionsOrCb);
|
|
437
432
|
}
|
|
438
433
|
else if (typeof cb === "function") {
|
|
439
434
|
if (typeof optionsOrCb !== "object")
|
|
440
|
-
throw new Error(
|
|
435
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
441
436
|
this.send(command, optionsOrCb || {}, cb);
|
|
442
437
|
}
|
|
443
438
|
else {
|
|
444
439
|
return this.send(command, optionsOrCb);
|
|
445
440
|
}
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
|
|
441
|
+
}
|
|
442
|
+
getComponent(args, optionsOrCb, cb) {
|
|
443
|
+
const command = new GetComponentCommand(args);
|
|
449
444
|
if (typeof optionsOrCb === "function") {
|
|
450
445
|
this.send(command, optionsOrCb);
|
|
451
446
|
}
|
|
452
447
|
else if (typeof cb === "function") {
|
|
453
448
|
if (typeof optionsOrCb !== "object")
|
|
454
|
-
throw new Error(
|
|
449
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
455
450
|
this.send(command, optionsOrCb || {}, cb);
|
|
456
451
|
}
|
|
457
452
|
else {
|
|
458
453
|
return this.send(command, optionsOrCb);
|
|
459
454
|
}
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
|
|
455
|
+
}
|
|
456
|
+
getEnvironment(args, optionsOrCb, cb) {
|
|
457
|
+
const command = new GetEnvironmentCommand(args);
|
|
463
458
|
if (typeof optionsOrCb === "function") {
|
|
464
459
|
this.send(command, optionsOrCb);
|
|
465
460
|
}
|
|
466
461
|
else if (typeof cb === "function") {
|
|
467
462
|
if (typeof optionsOrCb !== "object")
|
|
468
|
-
throw new Error(
|
|
463
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
469
464
|
this.send(command, optionsOrCb || {}, cb);
|
|
470
465
|
}
|
|
471
466
|
else {
|
|
472
467
|
return this.send(command, optionsOrCb);
|
|
473
468
|
}
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
|
|
469
|
+
}
|
|
470
|
+
getEnvironmentAccountConnection(args, optionsOrCb, cb) {
|
|
471
|
+
const command = new GetEnvironmentAccountConnectionCommand(args);
|
|
477
472
|
if (typeof optionsOrCb === "function") {
|
|
478
473
|
this.send(command, optionsOrCb);
|
|
479
474
|
}
|
|
480
475
|
else if (typeof cb === "function") {
|
|
481
476
|
if (typeof optionsOrCb !== "object")
|
|
482
|
-
throw new Error(
|
|
477
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
483
478
|
this.send(command, optionsOrCb || {}, cb);
|
|
484
479
|
}
|
|
485
480
|
else {
|
|
486
481
|
return this.send(command, optionsOrCb);
|
|
487
482
|
}
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
|
|
483
|
+
}
|
|
484
|
+
getEnvironmentTemplate(args, optionsOrCb, cb) {
|
|
485
|
+
const command = new GetEnvironmentTemplateCommand(args);
|
|
491
486
|
if (typeof optionsOrCb === "function") {
|
|
492
487
|
this.send(command, optionsOrCb);
|
|
493
488
|
}
|
|
494
489
|
else if (typeof cb === "function") {
|
|
495
490
|
if (typeof optionsOrCb !== "object")
|
|
496
|
-
throw new Error(
|
|
491
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
497
492
|
this.send(command, optionsOrCb || {}, cb);
|
|
498
493
|
}
|
|
499
494
|
else {
|
|
500
495
|
return this.send(command, optionsOrCb);
|
|
501
496
|
}
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
|
|
497
|
+
}
|
|
498
|
+
getEnvironmentTemplateVersion(args, optionsOrCb, cb) {
|
|
499
|
+
const command = new GetEnvironmentTemplateVersionCommand(args);
|
|
505
500
|
if (typeof optionsOrCb === "function") {
|
|
506
501
|
this.send(command, optionsOrCb);
|
|
507
502
|
}
|
|
508
503
|
else if (typeof cb === "function") {
|
|
509
504
|
if (typeof optionsOrCb !== "object")
|
|
510
|
-
throw new Error(
|
|
505
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
511
506
|
this.send(command, optionsOrCb || {}, cb);
|
|
512
507
|
}
|
|
513
508
|
else {
|
|
514
509
|
return this.send(command, optionsOrCb);
|
|
515
510
|
}
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
|
|
511
|
+
}
|
|
512
|
+
getRepository(args, optionsOrCb, cb) {
|
|
513
|
+
const command = new GetRepositoryCommand(args);
|
|
519
514
|
if (typeof optionsOrCb === "function") {
|
|
520
515
|
this.send(command, optionsOrCb);
|
|
521
516
|
}
|
|
522
517
|
else if (typeof cb === "function") {
|
|
523
518
|
if (typeof optionsOrCb !== "object")
|
|
524
|
-
throw new Error(
|
|
519
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
525
520
|
this.send(command, optionsOrCb || {}, cb);
|
|
526
521
|
}
|
|
527
522
|
else {
|
|
528
523
|
return this.send(command, optionsOrCb);
|
|
529
524
|
}
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
|
|
525
|
+
}
|
|
526
|
+
getRepositorySyncStatus(args, optionsOrCb, cb) {
|
|
527
|
+
const command = new GetRepositorySyncStatusCommand(args);
|
|
533
528
|
if (typeof optionsOrCb === "function") {
|
|
534
529
|
this.send(command, optionsOrCb);
|
|
535
530
|
}
|
|
536
531
|
else if (typeof cb === "function") {
|
|
537
532
|
if (typeof optionsOrCb !== "object")
|
|
538
|
-
throw new Error(
|
|
533
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
539
534
|
this.send(command, optionsOrCb || {}, cb);
|
|
540
535
|
}
|
|
541
536
|
else {
|
|
542
537
|
return this.send(command, optionsOrCb);
|
|
543
538
|
}
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
|
|
539
|
+
}
|
|
540
|
+
getService(args, optionsOrCb, cb) {
|
|
541
|
+
const command = new GetServiceCommand(args);
|
|
547
542
|
if (typeof optionsOrCb === "function") {
|
|
548
543
|
this.send(command, optionsOrCb);
|
|
549
544
|
}
|
|
550
545
|
else if (typeof cb === "function") {
|
|
551
546
|
if (typeof optionsOrCb !== "object")
|
|
552
|
-
throw new Error(
|
|
547
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
553
548
|
this.send(command, optionsOrCb || {}, cb);
|
|
554
549
|
}
|
|
555
550
|
else {
|
|
556
551
|
return this.send(command, optionsOrCb);
|
|
557
552
|
}
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
|
|
553
|
+
}
|
|
554
|
+
getServiceInstance(args, optionsOrCb, cb) {
|
|
555
|
+
const command = new GetServiceInstanceCommand(args);
|
|
561
556
|
if (typeof optionsOrCb === "function") {
|
|
562
557
|
this.send(command, optionsOrCb);
|
|
563
558
|
}
|
|
564
559
|
else if (typeof cb === "function") {
|
|
565
560
|
if (typeof optionsOrCb !== "object")
|
|
566
|
-
throw new Error(
|
|
561
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
567
562
|
this.send(command, optionsOrCb || {}, cb);
|
|
568
563
|
}
|
|
569
564
|
else {
|
|
570
565
|
return this.send(command, optionsOrCb);
|
|
571
566
|
}
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
|
|
567
|
+
}
|
|
568
|
+
getServiceTemplate(args, optionsOrCb, cb) {
|
|
569
|
+
const command = new GetServiceTemplateCommand(args);
|
|
575
570
|
if (typeof optionsOrCb === "function") {
|
|
576
571
|
this.send(command, optionsOrCb);
|
|
577
572
|
}
|
|
578
573
|
else if (typeof cb === "function") {
|
|
579
574
|
if (typeof optionsOrCb !== "object")
|
|
580
|
-
throw new Error(
|
|
575
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
581
576
|
this.send(command, optionsOrCb || {}, cb);
|
|
582
577
|
}
|
|
583
578
|
else {
|
|
584
579
|
return this.send(command, optionsOrCb);
|
|
585
580
|
}
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
|
|
581
|
+
}
|
|
582
|
+
getServiceTemplateVersion(args, optionsOrCb, cb) {
|
|
583
|
+
const command = new GetServiceTemplateVersionCommand(args);
|
|
589
584
|
if (typeof optionsOrCb === "function") {
|
|
590
585
|
this.send(command, optionsOrCb);
|
|
591
586
|
}
|
|
592
587
|
else if (typeof cb === "function") {
|
|
593
588
|
if (typeof optionsOrCb !== "object")
|
|
594
|
-
throw new Error(
|
|
589
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
595
590
|
this.send(command, optionsOrCb || {}, cb);
|
|
596
591
|
}
|
|
597
592
|
else {
|
|
598
593
|
return this.send(command, optionsOrCb);
|
|
599
594
|
}
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
|
|
595
|
+
}
|
|
596
|
+
getTemplateSyncConfig(args, optionsOrCb, cb) {
|
|
597
|
+
const command = new GetTemplateSyncConfigCommand(args);
|
|
603
598
|
if (typeof optionsOrCb === "function") {
|
|
604
599
|
this.send(command, optionsOrCb);
|
|
605
600
|
}
|
|
606
601
|
else if (typeof cb === "function") {
|
|
607
602
|
if (typeof optionsOrCb !== "object")
|
|
608
|
-
throw new Error(
|
|
603
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
609
604
|
this.send(command, optionsOrCb || {}, cb);
|
|
610
605
|
}
|
|
611
606
|
else {
|
|
612
607
|
return this.send(command, optionsOrCb);
|
|
613
608
|
}
|
|
614
|
-
}
|
|
615
|
-
|
|
616
|
-
|
|
609
|
+
}
|
|
610
|
+
getTemplateSyncStatus(args, optionsOrCb, cb) {
|
|
611
|
+
const command = new GetTemplateSyncStatusCommand(args);
|
|
617
612
|
if (typeof optionsOrCb === "function") {
|
|
618
613
|
this.send(command, optionsOrCb);
|
|
619
614
|
}
|
|
620
615
|
else if (typeof cb === "function") {
|
|
621
616
|
if (typeof optionsOrCb !== "object")
|
|
622
|
-
throw new Error(
|
|
617
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
623
618
|
this.send(command, optionsOrCb || {}, cb);
|
|
624
619
|
}
|
|
625
620
|
else {
|
|
626
621
|
return this.send(command, optionsOrCb);
|
|
627
622
|
}
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
|
|
623
|
+
}
|
|
624
|
+
listComponentOutputs(args, optionsOrCb, cb) {
|
|
625
|
+
const command = new ListComponentOutputsCommand(args);
|
|
631
626
|
if (typeof optionsOrCb === "function") {
|
|
632
627
|
this.send(command, optionsOrCb);
|
|
633
628
|
}
|
|
634
629
|
else if (typeof cb === "function") {
|
|
635
630
|
if (typeof optionsOrCb !== "object")
|
|
636
|
-
throw new Error(
|
|
631
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
637
632
|
this.send(command, optionsOrCb || {}, cb);
|
|
638
633
|
}
|
|
639
634
|
else {
|
|
640
635
|
return this.send(command, optionsOrCb);
|
|
641
636
|
}
|
|
642
|
-
}
|
|
643
|
-
|
|
644
|
-
|
|
637
|
+
}
|
|
638
|
+
listComponentProvisionedResources(args, optionsOrCb, cb) {
|
|
639
|
+
const command = new ListComponentProvisionedResourcesCommand(args);
|
|
645
640
|
if (typeof optionsOrCb === "function") {
|
|
646
641
|
this.send(command, optionsOrCb);
|
|
647
642
|
}
|
|
648
643
|
else if (typeof cb === "function") {
|
|
649
644
|
if (typeof optionsOrCb !== "object")
|
|
650
|
-
throw new Error(
|
|
645
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
651
646
|
this.send(command, optionsOrCb || {}, cb);
|
|
652
647
|
}
|
|
653
648
|
else {
|
|
654
649
|
return this.send(command, optionsOrCb);
|
|
655
650
|
}
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
|
|
651
|
+
}
|
|
652
|
+
listComponents(args, optionsOrCb, cb) {
|
|
653
|
+
const command = new ListComponentsCommand(args);
|
|
659
654
|
if (typeof optionsOrCb === "function") {
|
|
660
655
|
this.send(command, optionsOrCb);
|
|
661
656
|
}
|
|
662
657
|
else if (typeof cb === "function") {
|
|
663
658
|
if (typeof optionsOrCb !== "object")
|
|
664
|
-
throw new Error(
|
|
659
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
665
660
|
this.send(command, optionsOrCb || {}, cb);
|
|
666
661
|
}
|
|
667
662
|
else {
|
|
668
663
|
return this.send(command, optionsOrCb);
|
|
669
664
|
}
|
|
670
|
-
}
|
|
671
|
-
|
|
672
|
-
|
|
665
|
+
}
|
|
666
|
+
listEnvironmentAccountConnections(args, optionsOrCb, cb) {
|
|
667
|
+
const command = new ListEnvironmentAccountConnectionsCommand(args);
|
|
673
668
|
if (typeof optionsOrCb === "function") {
|
|
674
669
|
this.send(command, optionsOrCb);
|
|
675
670
|
}
|
|
676
671
|
else if (typeof cb === "function") {
|
|
677
672
|
if (typeof optionsOrCb !== "object")
|
|
678
|
-
throw new Error(
|
|
673
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
679
674
|
this.send(command, optionsOrCb || {}, cb);
|
|
680
675
|
}
|
|
681
676
|
else {
|
|
682
677
|
return this.send(command, optionsOrCb);
|
|
683
678
|
}
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
|
|
679
|
+
}
|
|
680
|
+
listEnvironmentOutputs(args, optionsOrCb, cb) {
|
|
681
|
+
const command = new ListEnvironmentOutputsCommand(args);
|
|
687
682
|
if (typeof optionsOrCb === "function") {
|
|
688
683
|
this.send(command, optionsOrCb);
|
|
689
684
|
}
|
|
690
685
|
else if (typeof cb === "function") {
|
|
691
686
|
if (typeof optionsOrCb !== "object")
|
|
692
|
-
throw new Error(
|
|
687
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
693
688
|
this.send(command, optionsOrCb || {}, cb);
|
|
694
689
|
}
|
|
695
690
|
else {
|
|
696
691
|
return this.send(command, optionsOrCb);
|
|
697
692
|
}
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
|
|
693
|
+
}
|
|
694
|
+
listEnvironmentProvisionedResources(args, optionsOrCb, cb) {
|
|
695
|
+
const command = new ListEnvironmentProvisionedResourcesCommand(args);
|
|
701
696
|
if (typeof optionsOrCb === "function") {
|
|
702
697
|
this.send(command, optionsOrCb);
|
|
703
698
|
}
|
|
704
699
|
else if (typeof cb === "function") {
|
|
705
700
|
if (typeof optionsOrCb !== "object")
|
|
706
|
-
throw new Error(
|
|
701
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
707
702
|
this.send(command, optionsOrCb || {}, cb);
|
|
708
703
|
}
|
|
709
704
|
else {
|
|
710
705
|
return this.send(command, optionsOrCb);
|
|
711
706
|
}
|
|
712
|
-
}
|
|
713
|
-
|
|
714
|
-
|
|
707
|
+
}
|
|
708
|
+
listEnvironments(args, optionsOrCb, cb) {
|
|
709
|
+
const command = new ListEnvironmentsCommand(args);
|
|
715
710
|
if (typeof optionsOrCb === "function") {
|
|
716
711
|
this.send(command, optionsOrCb);
|
|
717
712
|
}
|
|
718
713
|
else if (typeof cb === "function") {
|
|
719
714
|
if (typeof optionsOrCb !== "object")
|
|
720
|
-
throw new Error(
|
|
715
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
721
716
|
this.send(command, optionsOrCb || {}, cb);
|
|
722
717
|
}
|
|
723
718
|
else {
|
|
724
719
|
return this.send(command, optionsOrCb);
|
|
725
720
|
}
|
|
726
|
-
}
|
|
727
|
-
|
|
728
|
-
|
|
721
|
+
}
|
|
722
|
+
listEnvironmentTemplates(args, optionsOrCb, cb) {
|
|
723
|
+
const command = new ListEnvironmentTemplatesCommand(args);
|
|
729
724
|
if (typeof optionsOrCb === "function") {
|
|
730
725
|
this.send(command, optionsOrCb);
|
|
731
726
|
}
|
|
732
727
|
else if (typeof cb === "function") {
|
|
733
728
|
if (typeof optionsOrCb !== "object")
|
|
734
|
-
throw new Error(
|
|
729
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
735
730
|
this.send(command, optionsOrCb || {}, cb);
|
|
736
731
|
}
|
|
737
732
|
else {
|
|
738
733
|
return this.send(command, optionsOrCb);
|
|
739
734
|
}
|
|
740
|
-
}
|
|
741
|
-
|
|
742
|
-
|
|
735
|
+
}
|
|
736
|
+
listEnvironmentTemplateVersions(args, optionsOrCb, cb) {
|
|
737
|
+
const command = new ListEnvironmentTemplateVersionsCommand(args);
|
|
743
738
|
if (typeof optionsOrCb === "function") {
|
|
744
739
|
this.send(command, optionsOrCb);
|
|
745
740
|
}
|
|
746
741
|
else if (typeof cb === "function") {
|
|
747
742
|
if (typeof optionsOrCb !== "object")
|
|
748
|
-
throw new Error(
|
|
743
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
749
744
|
this.send(command, optionsOrCb || {}, cb);
|
|
750
745
|
}
|
|
751
746
|
else {
|
|
752
747
|
return this.send(command, optionsOrCb);
|
|
753
748
|
}
|
|
754
|
-
}
|
|
755
|
-
|
|
756
|
-
|
|
749
|
+
}
|
|
750
|
+
listRepositories(args, optionsOrCb, cb) {
|
|
751
|
+
const command = new ListRepositoriesCommand(args);
|
|
757
752
|
if (typeof optionsOrCb === "function") {
|
|
758
753
|
this.send(command, optionsOrCb);
|
|
759
754
|
}
|
|
760
755
|
else if (typeof cb === "function") {
|
|
761
756
|
if (typeof optionsOrCb !== "object")
|
|
762
|
-
throw new Error(
|
|
757
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
763
758
|
this.send(command, optionsOrCb || {}, cb);
|
|
764
759
|
}
|
|
765
760
|
else {
|
|
766
761
|
return this.send(command, optionsOrCb);
|
|
767
762
|
}
|
|
768
|
-
}
|
|
769
|
-
|
|
770
|
-
|
|
763
|
+
}
|
|
764
|
+
listRepositorySyncDefinitions(args, optionsOrCb, cb) {
|
|
765
|
+
const command = new ListRepositorySyncDefinitionsCommand(args);
|
|
771
766
|
if (typeof optionsOrCb === "function") {
|
|
772
767
|
this.send(command, optionsOrCb);
|
|
773
768
|
}
|
|
774
769
|
else if (typeof cb === "function") {
|
|
775
770
|
if (typeof optionsOrCb !== "object")
|
|
776
|
-
throw new Error(
|
|
771
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
777
772
|
this.send(command, optionsOrCb || {}, cb);
|
|
778
773
|
}
|
|
779
774
|
else {
|
|
780
775
|
return this.send(command, optionsOrCb);
|
|
781
776
|
}
|
|
782
|
-
}
|
|
783
|
-
|
|
784
|
-
|
|
777
|
+
}
|
|
778
|
+
listServiceInstanceOutputs(args, optionsOrCb, cb) {
|
|
779
|
+
const command = new ListServiceInstanceOutputsCommand(args);
|
|
785
780
|
if (typeof optionsOrCb === "function") {
|
|
786
781
|
this.send(command, optionsOrCb);
|
|
787
782
|
}
|
|
788
783
|
else if (typeof cb === "function") {
|
|
789
784
|
if (typeof optionsOrCb !== "object")
|
|
790
|
-
throw new Error(
|
|
785
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
791
786
|
this.send(command, optionsOrCb || {}, cb);
|
|
792
787
|
}
|
|
793
788
|
else {
|
|
794
789
|
return this.send(command, optionsOrCb);
|
|
795
790
|
}
|
|
796
|
-
}
|
|
797
|
-
|
|
798
|
-
|
|
791
|
+
}
|
|
792
|
+
listServiceInstanceProvisionedResources(args, optionsOrCb, cb) {
|
|
793
|
+
const command = new ListServiceInstanceProvisionedResourcesCommand(args);
|
|
799
794
|
if (typeof optionsOrCb === "function") {
|
|
800
795
|
this.send(command, optionsOrCb);
|
|
801
796
|
}
|
|
802
797
|
else if (typeof cb === "function") {
|
|
803
798
|
if (typeof optionsOrCb !== "object")
|
|
804
|
-
throw new Error(
|
|
799
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
805
800
|
this.send(command, optionsOrCb || {}, cb);
|
|
806
801
|
}
|
|
807
802
|
else {
|
|
808
803
|
return this.send(command, optionsOrCb);
|
|
809
804
|
}
|
|
810
|
-
}
|
|
811
|
-
|
|
812
|
-
|
|
805
|
+
}
|
|
806
|
+
listServiceInstances(args, optionsOrCb, cb) {
|
|
807
|
+
const command = new ListServiceInstancesCommand(args);
|
|
813
808
|
if (typeof optionsOrCb === "function") {
|
|
814
809
|
this.send(command, optionsOrCb);
|
|
815
810
|
}
|
|
816
811
|
else if (typeof cb === "function") {
|
|
817
812
|
if (typeof optionsOrCb !== "object")
|
|
818
|
-
throw new Error(
|
|
813
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
819
814
|
this.send(command, optionsOrCb || {}, cb);
|
|
820
815
|
}
|
|
821
816
|
else {
|
|
822
817
|
return this.send(command, optionsOrCb);
|
|
823
818
|
}
|
|
824
|
-
}
|
|
825
|
-
|
|
826
|
-
|
|
819
|
+
}
|
|
820
|
+
listServicePipelineOutputs(args, optionsOrCb, cb) {
|
|
821
|
+
const command = new ListServicePipelineOutputsCommand(args);
|
|
827
822
|
if (typeof optionsOrCb === "function") {
|
|
828
823
|
this.send(command, optionsOrCb);
|
|
829
824
|
}
|
|
830
825
|
else if (typeof cb === "function") {
|
|
831
826
|
if (typeof optionsOrCb !== "object")
|
|
832
|
-
throw new Error(
|
|
827
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
833
828
|
this.send(command, optionsOrCb || {}, cb);
|
|
834
829
|
}
|
|
835
830
|
else {
|
|
836
831
|
return this.send(command, optionsOrCb);
|
|
837
832
|
}
|
|
838
|
-
}
|
|
839
|
-
|
|
840
|
-
|
|
833
|
+
}
|
|
834
|
+
listServicePipelineProvisionedResources(args, optionsOrCb, cb) {
|
|
835
|
+
const command = new ListServicePipelineProvisionedResourcesCommand(args);
|
|
841
836
|
if (typeof optionsOrCb === "function") {
|
|
842
837
|
this.send(command, optionsOrCb);
|
|
843
838
|
}
|
|
844
839
|
else if (typeof cb === "function") {
|
|
845
840
|
if (typeof optionsOrCb !== "object")
|
|
846
|
-
throw new Error(
|
|
841
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
847
842
|
this.send(command, optionsOrCb || {}, cb);
|
|
848
843
|
}
|
|
849
844
|
else {
|
|
850
845
|
return this.send(command, optionsOrCb);
|
|
851
846
|
}
|
|
852
|
-
}
|
|
853
|
-
|
|
854
|
-
|
|
847
|
+
}
|
|
848
|
+
listServices(args, optionsOrCb, cb) {
|
|
849
|
+
const command = new ListServicesCommand(args);
|
|
855
850
|
if (typeof optionsOrCb === "function") {
|
|
856
851
|
this.send(command, optionsOrCb);
|
|
857
852
|
}
|
|
858
853
|
else if (typeof cb === "function") {
|
|
859
854
|
if (typeof optionsOrCb !== "object")
|
|
860
|
-
throw new Error(
|
|
855
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
861
856
|
this.send(command, optionsOrCb || {}, cb);
|
|
862
857
|
}
|
|
863
858
|
else {
|
|
864
859
|
return this.send(command, optionsOrCb);
|
|
865
860
|
}
|
|
866
|
-
}
|
|
867
|
-
|
|
868
|
-
|
|
861
|
+
}
|
|
862
|
+
listServiceTemplates(args, optionsOrCb, cb) {
|
|
863
|
+
const command = new ListServiceTemplatesCommand(args);
|
|
869
864
|
if (typeof optionsOrCb === "function") {
|
|
870
865
|
this.send(command, optionsOrCb);
|
|
871
866
|
}
|
|
872
867
|
else if (typeof cb === "function") {
|
|
873
868
|
if (typeof optionsOrCb !== "object")
|
|
874
|
-
throw new Error(
|
|
869
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
875
870
|
this.send(command, optionsOrCb || {}, cb);
|
|
876
871
|
}
|
|
877
872
|
else {
|
|
878
873
|
return this.send(command, optionsOrCb);
|
|
879
874
|
}
|
|
880
|
-
}
|
|
881
|
-
|
|
882
|
-
|
|
875
|
+
}
|
|
876
|
+
listServiceTemplateVersions(args, optionsOrCb, cb) {
|
|
877
|
+
const command = new ListServiceTemplateVersionsCommand(args);
|
|
883
878
|
if (typeof optionsOrCb === "function") {
|
|
884
879
|
this.send(command, optionsOrCb);
|
|
885
880
|
}
|
|
886
881
|
else if (typeof cb === "function") {
|
|
887
882
|
if (typeof optionsOrCb !== "object")
|
|
888
|
-
throw new Error(
|
|
883
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
889
884
|
this.send(command, optionsOrCb || {}, cb);
|
|
890
885
|
}
|
|
891
886
|
else {
|
|
892
887
|
return this.send(command, optionsOrCb);
|
|
893
888
|
}
|
|
894
|
-
}
|
|
895
|
-
|
|
896
|
-
|
|
889
|
+
}
|
|
890
|
+
listTagsForResource(args, optionsOrCb, cb) {
|
|
891
|
+
const command = new ListTagsForResourceCommand(args);
|
|
897
892
|
if (typeof optionsOrCb === "function") {
|
|
898
893
|
this.send(command, optionsOrCb);
|
|
899
894
|
}
|
|
900
895
|
else if (typeof cb === "function") {
|
|
901
896
|
if (typeof optionsOrCb !== "object")
|
|
902
|
-
throw new Error(
|
|
897
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
903
898
|
this.send(command, optionsOrCb || {}, cb);
|
|
904
899
|
}
|
|
905
900
|
else {
|
|
906
901
|
return this.send(command, optionsOrCb);
|
|
907
902
|
}
|
|
908
|
-
}
|
|
909
|
-
|
|
910
|
-
|
|
903
|
+
}
|
|
904
|
+
notifyResourceDeploymentStatusChange(args, optionsOrCb, cb) {
|
|
905
|
+
const command = new NotifyResourceDeploymentStatusChangeCommand(args);
|
|
911
906
|
if (typeof optionsOrCb === "function") {
|
|
912
907
|
this.send(command, optionsOrCb);
|
|
913
908
|
}
|
|
914
909
|
else if (typeof cb === "function") {
|
|
915
910
|
if (typeof optionsOrCb !== "object")
|
|
916
|
-
throw new Error(
|
|
911
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
917
912
|
this.send(command, optionsOrCb || {}, cb);
|
|
918
913
|
}
|
|
919
914
|
else {
|
|
920
915
|
return this.send(command, optionsOrCb);
|
|
921
916
|
}
|
|
922
|
-
}
|
|
923
|
-
|
|
924
|
-
|
|
917
|
+
}
|
|
918
|
+
rejectEnvironmentAccountConnection(args, optionsOrCb, cb) {
|
|
919
|
+
const command = new RejectEnvironmentAccountConnectionCommand(args);
|
|
925
920
|
if (typeof optionsOrCb === "function") {
|
|
926
921
|
this.send(command, optionsOrCb);
|
|
927
922
|
}
|
|
928
923
|
else if (typeof cb === "function") {
|
|
929
924
|
if (typeof optionsOrCb !== "object")
|
|
930
|
-
throw new Error(
|
|
925
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
931
926
|
this.send(command, optionsOrCb || {}, cb);
|
|
932
927
|
}
|
|
933
928
|
else {
|
|
934
929
|
return this.send(command, optionsOrCb);
|
|
935
930
|
}
|
|
936
|
-
}
|
|
937
|
-
|
|
938
|
-
|
|
931
|
+
}
|
|
932
|
+
tagResource(args, optionsOrCb, cb) {
|
|
933
|
+
const command = new TagResourceCommand(args);
|
|
939
934
|
if (typeof optionsOrCb === "function") {
|
|
940
935
|
this.send(command, optionsOrCb);
|
|
941
936
|
}
|
|
942
937
|
else if (typeof cb === "function") {
|
|
943
938
|
if (typeof optionsOrCb !== "object")
|
|
944
|
-
throw new Error(
|
|
939
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
945
940
|
this.send(command, optionsOrCb || {}, cb);
|
|
946
941
|
}
|
|
947
942
|
else {
|
|
948
943
|
return this.send(command, optionsOrCb);
|
|
949
944
|
}
|
|
950
|
-
}
|
|
951
|
-
|
|
952
|
-
|
|
945
|
+
}
|
|
946
|
+
untagResource(args, optionsOrCb, cb) {
|
|
947
|
+
const command = new UntagResourceCommand(args);
|
|
953
948
|
if (typeof optionsOrCb === "function") {
|
|
954
949
|
this.send(command, optionsOrCb);
|
|
955
950
|
}
|
|
956
951
|
else if (typeof cb === "function") {
|
|
957
952
|
if (typeof optionsOrCb !== "object")
|
|
958
|
-
throw new Error(
|
|
953
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
959
954
|
this.send(command, optionsOrCb || {}, cb);
|
|
960
955
|
}
|
|
961
956
|
else {
|
|
962
957
|
return this.send(command, optionsOrCb);
|
|
963
958
|
}
|
|
964
|
-
}
|
|
965
|
-
|
|
966
|
-
|
|
959
|
+
}
|
|
960
|
+
updateAccountSettings(args, optionsOrCb, cb) {
|
|
961
|
+
const command = new UpdateAccountSettingsCommand(args);
|
|
967
962
|
if (typeof optionsOrCb === "function") {
|
|
968
963
|
this.send(command, optionsOrCb);
|
|
969
964
|
}
|
|
970
965
|
else if (typeof cb === "function") {
|
|
971
966
|
if (typeof optionsOrCb !== "object")
|
|
972
|
-
throw new Error(
|
|
967
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
973
968
|
this.send(command, optionsOrCb || {}, cb);
|
|
974
969
|
}
|
|
975
970
|
else {
|
|
976
971
|
return this.send(command, optionsOrCb);
|
|
977
972
|
}
|
|
978
|
-
}
|
|
979
|
-
|
|
980
|
-
|
|
973
|
+
}
|
|
974
|
+
updateComponent(args, optionsOrCb, cb) {
|
|
975
|
+
const command = new UpdateComponentCommand(args);
|
|
981
976
|
if (typeof optionsOrCb === "function") {
|
|
982
977
|
this.send(command, optionsOrCb);
|
|
983
978
|
}
|
|
984
979
|
else if (typeof cb === "function") {
|
|
985
980
|
if (typeof optionsOrCb !== "object")
|
|
986
|
-
throw new Error(
|
|
981
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
987
982
|
this.send(command, optionsOrCb || {}, cb);
|
|
988
983
|
}
|
|
989
984
|
else {
|
|
990
985
|
return this.send(command, optionsOrCb);
|
|
991
986
|
}
|
|
992
|
-
}
|
|
993
|
-
|
|
994
|
-
|
|
987
|
+
}
|
|
988
|
+
updateEnvironment(args, optionsOrCb, cb) {
|
|
989
|
+
const command = new UpdateEnvironmentCommand(args);
|
|
995
990
|
if (typeof optionsOrCb === "function") {
|
|
996
991
|
this.send(command, optionsOrCb);
|
|
997
992
|
}
|
|
998
993
|
else if (typeof cb === "function") {
|
|
999
994
|
if (typeof optionsOrCb !== "object")
|
|
1000
|
-
throw new Error(
|
|
995
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1001
996
|
this.send(command, optionsOrCb || {}, cb);
|
|
1002
997
|
}
|
|
1003
998
|
else {
|
|
1004
999
|
return this.send(command, optionsOrCb);
|
|
1005
1000
|
}
|
|
1006
|
-
}
|
|
1007
|
-
|
|
1008
|
-
|
|
1001
|
+
}
|
|
1002
|
+
updateEnvironmentAccountConnection(args, optionsOrCb, cb) {
|
|
1003
|
+
const command = new UpdateEnvironmentAccountConnectionCommand(args);
|
|
1009
1004
|
if (typeof optionsOrCb === "function") {
|
|
1010
1005
|
this.send(command, optionsOrCb);
|
|
1011
1006
|
}
|
|
1012
1007
|
else if (typeof cb === "function") {
|
|
1013
1008
|
if (typeof optionsOrCb !== "object")
|
|
1014
|
-
throw new Error(
|
|
1009
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1015
1010
|
this.send(command, optionsOrCb || {}, cb);
|
|
1016
1011
|
}
|
|
1017
1012
|
else {
|
|
1018
1013
|
return this.send(command, optionsOrCb);
|
|
1019
1014
|
}
|
|
1020
|
-
}
|
|
1021
|
-
|
|
1022
|
-
|
|
1015
|
+
}
|
|
1016
|
+
updateEnvironmentTemplate(args, optionsOrCb, cb) {
|
|
1017
|
+
const command = new UpdateEnvironmentTemplateCommand(args);
|
|
1023
1018
|
if (typeof optionsOrCb === "function") {
|
|
1024
1019
|
this.send(command, optionsOrCb);
|
|
1025
1020
|
}
|
|
1026
1021
|
else if (typeof cb === "function") {
|
|
1027
1022
|
if (typeof optionsOrCb !== "object")
|
|
1028
|
-
throw new Error(
|
|
1023
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1029
1024
|
this.send(command, optionsOrCb || {}, cb);
|
|
1030
1025
|
}
|
|
1031
1026
|
else {
|
|
1032
1027
|
return this.send(command, optionsOrCb);
|
|
1033
1028
|
}
|
|
1034
|
-
}
|
|
1035
|
-
|
|
1036
|
-
|
|
1029
|
+
}
|
|
1030
|
+
updateEnvironmentTemplateVersion(args, optionsOrCb, cb) {
|
|
1031
|
+
const command = new UpdateEnvironmentTemplateVersionCommand(args);
|
|
1037
1032
|
if (typeof optionsOrCb === "function") {
|
|
1038
1033
|
this.send(command, optionsOrCb);
|
|
1039
1034
|
}
|
|
1040
1035
|
else if (typeof cb === "function") {
|
|
1041
1036
|
if (typeof optionsOrCb !== "object")
|
|
1042
|
-
throw new Error(
|
|
1037
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1043
1038
|
this.send(command, optionsOrCb || {}, cb);
|
|
1044
1039
|
}
|
|
1045
1040
|
else {
|
|
1046
1041
|
return this.send(command, optionsOrCb);
|
|
1047
1042
|
}
|
|
1048
|
-
}
|
|
1049
|
-
|
|
1050
|
-
|
|
1043
|
+
}
|
|
1044
|
+
updateService(args, optionsOrCb, cb) {
|
|
1045
|
+
const command = new UpdateServiceCommand(args);
|
|
1051
1046
|
if (typeof optionsOrCb === "function") {
|
|
1052
1047
|
this.send(command, optionsOrCb);
|
|
1053
1048
|
}
|
|
1054
1049
|
else if (typeof cb === "function") {
|
|
1055
1050
|
if (typeof optionsOrCb !== "object")
|
|
1056
|
-
throw new Error(
|
|
1051
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1057
1052
|
this.send(command, optionsOrCb || {}, cb);
|
|
1058
1053
|
}
|
|
1059
1054
|
else {
|
|
1060
1055
|
return this.send(command, optionsOrCb);
|
|
1061
1056
|
}
|
|
1062
|
-
}
|
|
1063
|
-
|
|
1064
|
-
|
|
1057
|
+
}
|
|
1058
|
+
updateServiceInstance(args, optionsOrCb, cb) {
|
|
1059
|
+
const command = new UpdateServiceInstanceCommand(args);
|
|
1065
1060
|
if (typeof optionsOrCb === "function") {
|
|
1066
1061
|
this.send(command, optionsOrCb);
|
|
1067
1062
|
}
|
|
1068
1063
|
else if (typeof cb === "function") {
|
|
1069
1064
|
if (typeof optionsOrCb !== "object")
|
|
1070
|
-
throw new Error(
|
|
1065
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1071
1066
|
this.send(command, optionsOrCb || {}, cb);
|
|
1072
1067
|
}
|
|
1073
1068
|
else {
|
|
1074
1069
|
return this.send(command, optionsOrCb);
|
|
1075
1070
|
}
|
|
1076
|
-
}
|
|
1077
|
-
|
|
1078
|
-
|
|
1071
|
+
}
|
|
1072
|
+
updateServicePipeline(args, optionsOrCb, cb) {
|
|
1073
|
+
const command = new UpdateServicePipelineCommand(args);
|
|
1079
1074
|
if (typeof optionsOrCb === "function") {
|
|
1080
1075
|
this.send(command, optionsOrCb);
|
|
1081
1076
|
}
|
|
1082
1077
|
else if (typeof cb === "function") {
|
|
1083
1078
|
if (typeof optionsOrCb !== "object")
|
|
1084
|
-
throw new Error(
|
|
1079
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1085
1080
|
this.send(command, optionsOrCb || {}, cb);
|
|
1086
1081
|
}
|
|
1087
1082
|
else {
|
|
1088
1083
|
return this.send(command, optionsOrCb);
|
|
1089
1084
|
}
|
|
1090
|
-
}
|
|
1091
|
-
|
|
1092
|
-
|
|
1085
|
+
}
|
|
1086
|
+
updateServiceTemplate(args, optionsOrCb, cb) {
|
|
1087
|
+
const command = new UpdateServiceTemplateCommand(args);
|
|
1093
1088
|
if (typeof optionsOrCb === "function") {
|
|
1094
1089
|
this.send(command, optionsOrCb);
|
|
1095
1090
|
}
|
|
1096
1091
|
else if (typeof cb === "function") {
|
|
1097
1092
|
if (typeof optionsOrCb !== "object")
|
|
1098
|
-
throw new Error(
|
|
1093
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1099
1094
|
this.send(command, optionsOrCb || {}, cb);
|
|
1100
1095
|
}
|
|
1101
1096
|
else {
|
|
1102
1097
|
return this.send(command, optionsOrCb);
|
|
1103
1098
|
}
|
|
1104
|
-
}
|
|
1105
|
-
|
|
1106
|
-
|
|
1099
|
+
}
|
|
1100
|
+
updateServiceTemplateVersion(args, optionsOrCb, cb) {
|
|
1101
|
+
const command = new UpdateServiceTemplateVersionCommand(args);
|
|
1107
1102
|
if (typeof optionsOrCb === "function") {
|
|
1108
1103
|
this.send(command, optionsOrCb);
|
|
1109
1104
|
}
|
|
1110
1105
|
else if (typeof cb === "function") {
|
|
1111
1106
|
if (typeof optionsOrCb !== "object")
|
|
1112
|
-
throw new Error(
|
|
1107
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1113
1108
|
this.send(command, optionsOrCb || {}, cb);
|
|
1114
1109
|
}
|
|
1115
1110
|
else {
|
|
1116
1111
|
return this.send(command, optionsOrCb);
|
|
1117
1112
|
}
|
|
1118
|
-
}
|
|
1119
|
-
|
|
1120
|
-
|
|
1113
|
+
}
|
|
1114
|
+
updateTemplateSyncConfig(args, optionsOrCb, cb) {
|
|
1115
|
+
const command = new UpdateTemplateSyncConfigCommand(args);
|
|
1121
1116
|
if (typeof optionsOrCb === "function") {
|
|
1122
1117
|
this.send(command, optionsOrCb);
|
|
1123
1118
|
}
|
|
1124
1119
|
else if (typeof cb === "function") {
|
|
1125
1120
|
if (typeof optionsOrCb !== "object")
|
|
1126
|
-
throw new Error(
|
|
1121
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1127
1122
|
this.send(command, optionsOrCb || {}, cb);
|
|
1128
1123
|
}
|
|
1129
1124
|
else {
|
|
1130
1125
|
return this.send(command, optionsOrCb);
|
|
1131
1126
|
}
|
|
1132
|
-
}
|
|
1133
|
-
|
|
1134
|
-
}(ProtonClient));
|
|
1135
|
-
export { Proton };
|
|
1127
|
+
}
|
|
1128
|
+
}
|