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