@aws-sdk/client-wellarchitected 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/WellArchitected.js +162 -169
- package/dist-es/WellArchitectedClient.js +22 -28
- package/dist-es/commands/AssociateLensesCommand.js +22 -29
- package/dist-es/commands/CreateLensShareCommand.js +21 -28
- package/dist-es/commands/CreateLensVersionCommand.js +21 -28
- package/dist-es/commands/CreateMilestoneCommand.js +21 -28
- package/dist-es/commands/CreateWorkloadCommand.js +21 -28
- package/dist-es/commands/CreateWorkloadShareCommand.js +21 -28
- package/dist-es/commands/DeleteLensCommand.js +22 -29
- package/dist-es/commands/DeleteLensShareCommand.js +22 -29
- package/dist-es/commands/DeleteWorkloadCommand.js +22 -29
- package/dist-es/commands/DeleteWorkloadShareCommand.js +22 -29
- package/dist-es/commands/DisassociateLensesCommand.js +22 -29
- package/dist-es/commands/ExportLensCommand.js +21 -28
- package/dist-es/commands/GetAnswerCommand.js +21 -28
- package/dist-es/commands/GetLensCommand.js +21 -28
- package/dist-es/commands/GetLensReviewCommand.js +21 -28
- package/dist-es/commands/GetLensReviewReportCommand.js +21 -28
- package/dist-es/commands/GetLensVersionDifferenceCommand.js +21 -28
- package/dist-es/commands/GetMilestoneCommand.js +21 -28
- package/dist-es/commands/GetWorkloadCommand.js +21 -28
- package/dist-es/commands/ImportLensCommand.js +21 -28
- package/dist-es/commands/ListAnswersCommand.js +21 -28
- package/dist-es/commands/ListLensReviewImprovementsCommand.js +21 -28
- package/dist-es/commands/ListLensReviewsCommand.js +21 -28
- package/dist-es/commands/ListLensSharesCommand.js +21 -28
- package/dist-es/commands/ListLensesCommand.js +21 -28
- package/dist-es/commands/ListMilestonesCommand.js +21 -28
- package/dist-es/commands/ListNotificationsCommand.js +21 -28
- package/dist-es/commands/ListShareInvitationsCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/ListWorkloadSharesCommand.js +21 -28
- package/dist-es/commands/ListWorkloadsCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateAnswerCommand.js +21 -28
- package/dist-es/commands/UpdateGlobalSettingsCommand.js +22 -29
- package/dist-es/commands/UpdateLensReviewCommand.js +21 -28
- package/dist-es/commands/UpdateShareInvitationCommand.js +21 -28
- package/dist-es/commands/UpdateWorkloadCommand.js +21 -28
- package/dist-es/commands/UpdateWorkloadShareCommand.js +21 -28
- package/dist-es/commands/UpgradeLensReviewCommand.js +22 -29
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/WellArchitectedServiceException.js +5 -10
- package/dist-es/models/models_0.js +405 -200
- package/dist-es/pagination/ListAnswersPaginator.js +25 -68
- package/dist-es/pagination/ListLensReviewImprovementsPaginator.js +25 -68
- package/dist-es/pagination/ListLensReviewsPaginator.js +25 -68
- package/dist-es/pagination/ListLensSharesPaginator.js +25 -68
- package/dist-es/pagination/ListLensesPaginator.js +25 -68
- package/dist-es/pagination/ListMilestonesPaginator.js +25 -68
- package/dist-es/pagination/ListNotificationsPaginator.js +25 -68
- package/dist-es/pagination/ListShareInvitationsPaginator.js +25 -68
- package/dist-es/pagination/ListWorkloadSharesPaginator.js +25 -68
- package/dist-es/pagination/ListWorkloadsPaginator.js +25 -68
- package/dist-es/protocols/Aws_restJson1.js +3150 -4391
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { AssociateLensesCommand, } from "./commands/AssociateLensesCommand";
|
|
3
2
|
import { CreateLensShareCommand, } from "./commands/CreateLensShareCommand";
|
|
4
3
|
import { CreateLensVersionCommand, } from "./commands/CreateLensVersionCommand";
|
|
@@ -40,571 +39,565 @@ import { UpdateWorkloadCommand, } from "./commands/UpdateWorkloadCommand";
|
|
|
40
39
|
import { UpdateWorkloadShareCommand, } from "./commands/UpdateWorkloadShareCommand";
|
|
41
40
|
import { UpgradeLensReviewCommand, } from "./commands/UpgradeLensReviewCommand";
|
|
42
41
|
import { WellArchitectedClient } from "./WellArchitectedClient";
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
47
|
-
}
|
|
48
|
-
WellArchitected.prototype.associateLenses = function (args, optionsOrCb, cb) {
|
|
49
|
-
var command = new AssociateLensesCommand(args);
|
|
42
|
+
export class WellArchitected extends WellArchitectedClient {
|
|
43
|
+
associateLenses(args, optionsOrCb, cb) {
|
|
44
|
+
const command = new AssociateLensesCommand(args);
|
|
50
45
|
if (typeof optionsOrCb === "function") {
|
|
51
46
|
this.send(command, optionsOrCb);
|
|
52
47
|
}
|
|
53
48
|
else if (typeof cb === "function") {
|
|
54
49
|
if (typeof optionsOrCb !== "object")
|
|
55
|
-
throw new Error(
|
|
50
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
56
51
|
this.send(command, optionsOrCb || {}, cb);
|
|
57
52
|
}
|
|
58
53
|
else {
|
|
59
54
|
return this.send(command, optionsOrCb);
|
|
60
55
|
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
|
|
56
|
+
}
|
|
57
|
+
createLensShare(args, optionsOrCb, cb) {
|
|
58
|
+
const command = new CreateLensShareCommand(args);
|
|
64
59
|
if (typeof optionsOrCb === "function") {
|
|
65
60
|
this.send(command, optionsOrCb);
|
|
66
61
|
}
|
|
67
62
|
else if (typeof cb === "function") {
|
|
68
63
|
if (typeof optionsOrCb !== "object")
|
|
69
|
-
throw new Error(
|
|
64
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
70
65
|
this.send(command, optionsOrCb || {}, cb);
|
|
71
66
|
}
|
|
72
67
|
else {
|
|
73
68
|
return this.send(command, optionsOrCb);
|
|
74
69
|
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
|
|
70
|
+
}
|
|
71
|
+
createLensVersion(args, optionsOrCb, cb) {
|
|
72
|
+
const command = new CreateLensVersionCommand(args);
|
|
78
73
|
if (typeof optionsOrCb === "function") {
|
|
79
74
|
this.send(command, optionsOrCb);
|
|
80
75
|
}
|
|
81
76
|
else if (typeof cb === "function") {
|
|
82
77
|
if (typeof optionsOrCb !== "object")
|
|
83
|
-
throw new Error(
|
|
78
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
84
79
|
this.send(command, optionsOrCb || {}, cb);
|
|
85
80
|
}
|
|
86
81
|
else {
|
|
87
82
|
return this.send(command, optionsOrCb);
|
|
88
83
|
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
|
|
84
|
+
}
|
|
85
|
+
createMilestone(args, optionsOrCb, cb) {
|
|
86
|
+
const command = new CreateMilestoneCommand(args);
|
|
92
87
|
if (typeof optionsOrCb === "function") {
|
|
93
88
|
this.send(command, optionsOrCb);
|
|
94
89
|
}
|
|
95
90
|
else if (typeof cb === "function") {
|
|
96
91
|
if (typeof optionsOrCb !== "object")
|
|
97
|
-
throw new Error(
|
|
92
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
98
93
|
this.send(command, optionsOrCb || {}, cb);
|
|
99
94
|
}
|
|
100
95
|
else {
|
|
101
96
|
return this.send(command, optionsOrCb);
|
|
102
97
|
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
|
|
98
|
+
}
|
|
99
|
+
createWorkload(args, optionsOrCb, cb) {
|
|
100
|
+
const command = new CreateWorkloadCommand(args);
|
|
106
101
|
if (typeof optionsOrCb === "function") {
|
|
107
102
|
this.send(command, optionsOrCb);
|
|
108
103
|
}
|
|
109
104
|
else if (typeof cb === "function") {
|
|
110
105
|
if (typeof optionsOrCb !== "object")
|
|
111
|
-
throw new Error(
|
|
106
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
112
107
|
this.send(command, optionsOrCb || {}, cb);
|
|
113
108
|
}
|
|
114
109
|
else {
|
|
115
110
|
return this.send(command, optionsOrCb);
|
|
116
111
|
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
|
|
112
|
+
}
|
|
113
|
+
createWorkloadShare(args, optionsOrCb, cb) {
|
|
114
|
+
const command = new CreateWorkloadShareCommand(args);
|
|
120
115
|
if (typeof optionsOrCb === "function") {
|
|
121
116
|
this.send(command, optionsOrCb);
|
|
122
117
|
}
|
|
123
118
|
else if (typeof cb === "function") {
|
|
124
119
|
if (typeof optionsOrCb !== "object")
|
|
125
|
-
throw new Error(
|
|
120
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
126
121
|
this.send(command, optionsOrCb || {}, cb);
|
|
127
122
|
}
|
|
128
123
|
else {
|
|
129
124
|
return this.send(command, optionsOrCb);
|
|
130
125
|
}
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
|
|
126
|
+
}
|
|
127
|
+
deleteLens(args, optionsOrCb, cb) {
|
|
128
|
+
const command = new DeleteLensCommand(args);
|
|
134
129
|
if (typeof optionsOrCb === "function") {
|
|
135
130
|
this.send(command, optionsOrCb);
|
|
136
131
|
}
|
|
137
132
|
else if (typeof cb === "function") {
|
|
138
133
|
if (typeof optionsOrCb !== "object")
|
|
139
|
-
throw new Error(
|
|
134
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
140
135
|
this.send(command, optionsOrCb || {}, cb);
|
|
141
136
|
}
|
|
142
137
|
else {
|
|
143
138
|
return this.send(command, optionsOrCb);
|
|
144
139
|
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
|
|
140
|
+
}
|
|
141
|
+
deleteLensShare(args, optionsOrCb, cb) {
|
|
142
|
+
const command = new DeleteLensShareCommand(args);
|
|
148
143
|
if (typeof optionsOrCb === "function") {
|
|
149
144
|
this.send(command, optionsOrCb);
|
|
150
145
|
}
|
|
151
146
|
else if (typeof cb === "function") {
|
|
152
147
|
if (typeof optionsOrCb !== "object")
|
|
153
|
-
throw new Error(
|
|
148
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
154
149
|
this.send(command, optionsOrCb || {}, cb);
|
|
155
150
|
}
|
|
156
151
|
else {
|
|
157
152
|
return this.send(command, optionsOrCb);
|
|
158
153
|
}
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
|
|
154
|
+
}
|
|
155
|
+
deleteWorkload(args, optionsOrCb, cb) {
|
|
156
|
+
const command = new DeleteWorkloadCommand(args);
|
|
162
157
|
if (typeof optionsOrCb === "function") {
|
|
163
158
|
this.send(command, optionsOrCb);
|
|
164
159
|
}
|
|
165
160
|
else if (typeof cb === "function") {
|
|
166
161
|
if (typeof optionsOrCb !== "object")
|
|
167
|
-
throw new Error(
|
|
162
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
168
163
|
this.send(command, optionsOrCb || {}, cb);
|
|
169
164
|
}
|
|
170
165
|
else {
|
|
171
166
|
return this.send(command, optionsOrCb);
|
|
172
167
|
}
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
|
|
168
|
+
}
|
|
169
|
+
deleteWorkloadShare(args, optionsOrCb, cb) {
|
|
170
|
+
const command = new DeleteWorkloadShareCommand(args);
|
|
176
171
|
if (typeof optionsOrCb === "function") {
|
|
177
172
|
this.send(command, optionsOrCb);
|
|
178
173
|
}
|
|
179
174
|
else if (typeof cb === "function") {
|
|
180
175
|
if (typeof optionsOrCb !== "object")
|
|
181
|
-
throw new Error(
|
|
176
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
182
177
|
this.send(command, optionsOrCb || {}, cb);
|
|
183
178
|
}
|
|
184
179
|
else {
|
|
185
180
|
return this.send(command, optionsOrCb);
|
|
186
181
|
}
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
|
|
182
|
+
}
|
|
183
|
+
disassociateLenses(args, optionsOrCb, cb) {
|
|
184
|
+
const command = new DisassociateLensesCommand(args);
|
|
190
185
|
if (typeof optionsOrCb === "function") {
|
|
191
186
|
this.send(command, optionsOrCb);
|
|
192
187
|
}
|
|
193
188
|
else if (typeof cb === "function") {
|
|
194
189
|
if (typeof optionsOrCb !== "object")
|
|
195
|
-
throw new Error(
|
|
190
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
196
191
|
this.send(command, optionsOrCb || {}, cb);
|
|
197
192
|
}
|
|
198
193
|
else {
|
|
199
194
|
return this.send(command, optionsOrCb);
|
|
200
195
|
}
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
|
|
196
|
+
}
|
|
197
|
+
exportLens(args, optionsOrCb, cb) {
|
|
198
|
+
const command = new ExportLensCommand(args);
|
|
204
199
|
if (typeof optionsOrCb === "function") {
|
|
205
200
|
this.send(command, optionsOrCb);
|
|
206
201
|
}
|
|
207
202
|
else if (typeof cb === "function") {
|
|
208
203
|
if (typeof optionsOrCb !== "object")
|
|
209
|
-
throw new Error(
|
|
204
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
210
205
|
this.send(command, optionsOrCb || {}, cb);
|
|
211
206
|
}
|
|
212
207
|
else {
|
|
213
208
|
return this.send(command, optionsOrCb);
|
|
214
209
|
}
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
|
|
210
|
+
}
|
|
211
|
+
getAnswer(args, optionsOrCb, cb) {
|
|
212
|
+
const command = new GetAnswerCommand(args);
|
|
218
213
|
if (typeof optionsOrCb === "function") {
|
|
219
214
|
this.send(command, optionsOrCb);
|
|
220
215
|
}
|
|
221
216
|
else if (typeof cb === "function") {
|
|
222
217
|
if (typeof optionsOrCb !== "object")
|
|
223
|
-
throw new Error(
|
|
218
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
224
219
|
this.send(command, optionsOrCb || {}, cb);
|
|
225
220
|
}
|
|
226
221
|
else {
|
|
227
222
|
return this.send(command, optionsOrCb);
|
|
228
223
|
}
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
|
|
224
|
+
}
|
|
225
|
+
getLens(args, optionsOrCb, cb) {
|
|
226
|
+
const command = new GetLensCommand(args);
|
|
232
227
|
if (typeof optionsOrCb === "function") {
|
|
233
228
|
this.send(command, optionsOrCb);
|
|
234
229
|
}
|
|
235
230
|
else if (typeof cb === "function") {
|
|
236
231
|
if (typeof optionsOrCb !== "object")
|
|
237
|
-
throw new Error(
|
|
232
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
238
233
|
this.send(command, optionsOrCb || {}, cb);
|
|
239
234
|
}
|
|
240
235
|
else {
|
|
241
236
|
return this.send(command, optionsOrCb);
|
|
242
237
|
}
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
|
|
238
|
+
}
|
|
239
|
+
getLensReview(args, optionsOrCb, cb) {
|
|
240
|
+
const command = new GetLensReviewCommand(args);
|
|
246
241
|
if (typeof optionsOrCb === "function") {
|
|
247
242
|
this.send(command, optionsOrCb);
|
|
248
243
|
}
|
|
249
244
|
else if (typeof cb === "function") {
|
|
250
245
|
if (typeof optionsOrCb !== "object")
|
|
251
|
-
throw new Error(
|
|
246
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
252
247
|
this.send(command, optionsOrCb || {}, cb);
|
|
253
248
|
}
|
|
254
249
|
else {
|
|
255
250
|
return this.send(command, optionsOrCb);
|
|
256
251
|
}
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
|
|
252
|
+
}
|
|
253
|
+
getLensReviewReport(args, optionsOrCb, cb) {
|
|
254
|
+
const command = new GetLensReviewReportCommand(args);
|
|
260
255
|
if (typeof optionsOrCb === "function") {
|
|
261
256
|
this.send(command, optionsOrCb);
|
|
262
257
|
}
|
|
263
258
|
else if (typeof cb === "function") {
|
|
264
259
|
if (typeof optionsOrCb !== "object")
|
|
265
|
-
throw new Error(
|
|
260
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
266
261
|
this.send(command, optionsOrCb || {}, cb);
|
|
267
262
|
}
|
|
268
263
|
else {
|
|
269
264
|
return this.send(command, optionsOrCb);
|
|
270
265
|
}
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
|
|
266
|
+
}
|
|
267
|
+
getLensVersionDifference(args, optionsOrCb, cb) {
|
|
268
|
+
const command = new GetLensVersionDifferenceCommand(args);
|
|
274
269
|
if (typeof optionsOrCb === "function") {
|
|
275
270
|
this.send(command, optionsOrCb);
|
|
276
271
|
}
|
|
277
272
|
else if (typeof cb === "function") {
|
|
278
273
|
if (typeof optionsOrCb !== "object")
|
|
279
|
-
throw new Error(
|
|
274
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
280
275
|
this.send(command, optionsOrCb || {}, cb);
|
|
281
276
|
}
|
|
282
277
|
else {
|
|
283
278
|
return this.send(command, optionsOrCb);
|
|
284
279
|
}
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
|
|
280
|
+
}
|
|
281
|
+
getMilestone(args, optionsOrCb, cb) {
|
|
282
|
+
const command = new GetMilestoneCommand(args);
|
|
288
283
|
if (typeof optionsOrCb === "function") {
|
|
289
284
|
this.send(command, optionsOrCb);
|
|
290
285
|
}
|
|
291
286
|
else if (typeof cb === "function") {
|
|
292
287
|
if (typeof optionsOrCb !== "object")
|
|
293
|
-
throw new Error(
|
|
288
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
294
289
|
this.send(command, optionsOrCb || {}, cb);
|
|
295
290
|
}
|
|
296
291
|
else {
|
|
297
292
|
return this.send(command, optionsOrCb);
|
|
298
293
|
}
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
|
|
294
|
+
}
|
|
295
|
+
getWorkload(args, optionsOrCb, cb) {
|
|
296
|
+
const command = new GetWorkloadCommand(args);
|
|
302
297
|
if (typeof optionsOrCb === "function") {
|
|
303
298
|
this.send(command, optionsOrCb);
|
|
304
299
|
}
|
|
305
300
|
else if (typeof cb === "function") {
|
|
306
301
|
if (typeof optionsOrCb !== "object")
|
|
307
|
-
throw new Error(
|
|
302
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
308
303
|
this.send(command, optionsOrCb || {}, cb);
|
|
309
304
|
}
|
|
310
305
|
else {
|
|
311
306
|
return this.send(command, optionsOrCb);
|
|
312
307
|
}
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
|
|
308
|
+
}
|
|
309
|
+
importLens(args, optionsOrCb, cb) {
|
|
310
|
+
const command = new ImportLensCommand(args);
|
|
316
311
|
if (typeof optionsOrCb === "function") {
|
|
317
312
|
this.send(command, optionsOrCb);
|
|
318
313
|
}
|
|
319
314
|
else if (typeof cb === "function") {
|
|
320
315
|
if (typeof optionsOrCb !== "object")
|
|
321
|
-
throw new Error(
|
|
316
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
322
317
|
this.send(command, optionsOrCb || {}, cb);
|
|
323
318
|
}
|
|
324
319
|
else {
|
|
325
320
|
return this.send(command, optionsOrCb);
|
|
326
321
|
}
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
|
|
322
|
+
}
|
|
323
|
+
listAnswers(args, optionsOrCb, cb) {
|
|
324
|
+
const command = new ListAnswersCommand(args);
|
|
330
325
|
if (typeof optionsOrCb === "function") {
|
|
331
326
|
this.send(command, optionsOrCb);
|
|
332
327
|
}
|
|
333
328
|
else if (typeof cb === "function") {
|
|
334
329
|
if (typeof optionsOrCb !== "object")
|
|
335
|
-
throw new Error(
|
|
330
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
336
331
|
this.send(command, optionsOrCb || {}, cb);
|
|
337
332
|
}
|
|
338
333
|
else {
|
|
339
334
|
return this.send(command, optionsOrCb);
|
|
340
335
|
}
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
|
|
336
|
+
}
|
|
337
|
+
listLenses(args, optionsOrCb, cb) {
|
|
338
|
+
const command = new ListLensesCommand(args);
|
|
344
339
|
if (typeof optionsOrCb === "function") {
|
|
345
340
|
this.send(command, optionsOrCb);
|
|
346
341
|
}
|
|
347
342
|
else if (typeof cb === "function") {
|
|
348
343
|
if (typeof optionsOrCb !== "object")
|
|
349
|
-
throw new Error(
|
|
344
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
350
345
|
this.send(command, optionsOrCb || {}, cb);
|
|
351
346
|
}
|
|
352
347
|
else {
|
|
353
348
|
return this.send(command, optionsOrCb);
|
|
354
349
|
}
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
|
|
350
|
+
}
|
|
351
|
+
listLensReviewImprovements(args, optionsOrCb, cb) {
|
|
352
|
+
const command = new ListLensReviewImprovementsCommand(args);
|
|
358
353
|
if (typeof optionsOrCb === "function") {
|
|
359
354
|
this.send(command, optionsOrCb);
|
|
360
355
|
}
|
|
361
356
|
else if (typeof cb === "function") {
|
|
362
357
|
if (typeof optionsOrCb !== "object")
|
|
363
|
-
throw new Error(
|
|
358
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
364
359
|
this.send(command, optionsOrCb || {}, cb);
|
|
365
360
|
}
|
|
366
361
|
else {
|
|
367
362
|
return this.send(command, optionsOrCb);
|
|
368
363
|
}
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
|
|
364
|
+
}
|
|
365
|
+
listLensReviews(args, optionsOrCb, cb) {
|
|
366
|
+
const command = new ListLensReviewsCommand(args);
|
|
372
367
|
if (typeof optionsOrCb === "function") {
|
|
373
368
|
this.send(command, optionsOrCb);
|
|
374
369
|
}
|
|
375
370
|
else if (typeof cb === "function") {
|
|
376
371
|
if (typeof optionsOrCb !== "object")
|
|
377
|
-
throw new Error(
|
|
372
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
378
373
|
this.send(command, optionsOrCb || {}, cb);
|
|
379
374
|
}
|
|
380
375
|
else {
|
|
381
376
|
return this.send(command, optionsOrCb);
|
|
382
377
|
}
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
|
|
378
|
+
}
|
|
379
|
+
listLensShares(args, optionsOrCb, cb) {
|
|
380
|
+
const command = new ListLensSharesCommand(args);
|
|
386
381
|
if (typeof optionsOrCb === "function") {
|
|
387
382
|
this.send(command, optionsOrCb);
|
|
388
383
|
}
|
|
389
384
|
else if (typeof cb === "function") {
|
|
390
385
|
if (typeof optionsOrCb !== "object")
|
|
391
|
-
throw new Error(
|
|
386
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
392
387
|
this.send(command, optionsOrCb || {}, cb);
|
|
393
388
|
}
|
|
394
389
|
else {
|
|
395
390
|
return this.send(command, optionsOrCb);
|
|
396
391
|
}
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
|
|
392
|
+
}
|
|
393
|
+
listMilestones(args, optionsOrCb, cb) {
|
|
394
|
+
const command = new ListMilestonesCommand(args);
|
|
400
395
|
if (typeof optionsOrCb === "function") {
|
|
401
396
|
this.send(command, optionsOrCb);
|
|
402
397
|
}
|
|
403
398
|
else if (typeof cb === "function") {
|
|
404
399
|
if (typeof optionsOrCb !== "object")
|
|
405
|
-
throw new Error(
|
|
400
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
406
401
|
this.send(command, optionsOrCb || {}, cb);
|
|
407
402
|
}
|
|
408
403
|
else {
|
|
409
404
|
return this.send(command, optionsOrCb);
|
|
410
405
|
}
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
|
|
406
|
+
}
|
|
407
|
+
listNotifications(args, optionsOrCb, cb) {
|
|
408
|
+
const command = new ListNotificationsCommand(args);
|
|
414
409
|
if (typeof optionsOrCb === "function") {
|
|
415
410
|
this.send(command, optionsOrCb);
|
|
416
411
|
}
|
|
417
412
|
else if (typeof cb === "function") {
|
|
418
413
|
if (typeof optionsOrCb !== "object")
|
|
419
|
-
throw new Error(
|
|
414
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
420
415
|
this.send(command, optionsOrCb || {}, cb);
|
|
421
416
|
}
|
|
422
417
|
else {
|
|
423
418
|
return this.send(command, optionsOrCb);
|
|
424
419
|
}
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
|
|
420
|
+
}
|
|
421
|
+
listShareInvitations(args, optionsOrCb, cb) {
|
|
422
|
+
const command = new ListShareInvitationsCommand(args);
|
|
428
423
|
if (typeof optionsOrCb === "function") {
|
|
429
424
|
this.send(command, optionsOrCb);
|
|
430
425
|
}
|
|
431
426
|
else if (typeof cb === "function") {
|
|
432
427
|
if (typeof optionsOrCb !== "object")
|
|
433
|
-
throw new Error(
|
|
428
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
434
429
|
this.send(command, optionsOrCb || {}, cb);
|
|
435
430
|
}
|
|
436
431
|
else {
|
|
437
432
|
return this.send(command, optionsOrCb);
|
|
438
433
|
}
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
|
|
434
|
+
}
|
|
435
|
+
listTagsForResource(args, optionsOrCb, cb) {
|
|
436
|
+
const command = new ListTagsForResourceCommand(args);
|
|
442
437
|
if (typeof optionsOrCb === "function") {
|
|
443
438
|
this.send(command, optionsOrCb);
|
|
444
439
|
}
|
|
445
440
|
else if (typeof cb === "function") {
|
|
446
441
|
if (typeof optionsOrCb !== "object")
|
|
447
|
-
throw new Error(
|
|
442
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
448
443
|
this.send(command, optionsOrCb || {}, cb);
|
|
449
444
|
}
|
|
450
445
|
else {
|
|
451
446
|
return this.send(command, optionsOrCb);
|
|
452
447
|
}
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
|
|
448
|
+
}
|
|
449
|
+
listWorkloads(args, optionsOrCb, cb) {
|
|
450
|
+
const command = new ListWorkloadsCommand(args);
|
|
456
451
|
if (typeof optionsOrCb === "function") {
|
|
457
452
|
this.send(command, optionsOrCb);
|
|
458
453
|
}
|
|
459
454
|
else if (typeof cb === "function") {
|
|
460
455
|
if (typeof optionsOrCb !== "object")
|
|
461
|
-
throw new Error(
|
|
456
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
462
457
|
this.send(command, optionsOrCb || {}, cb);
|
|
463
458
|
}
|
|
464
459
|
else {
|
|
465
460
|
return this.send(command, optionsOrCb);
|
|
466
461
|
}
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
|
|
462
|
+
}
|
|
463
|
+
listWorkloadShares(args, optionsOrCb, cb) {
|
|
464
|
+
const command = new ListWorkloadSharesCommand(args);
|
|
470
465
|
if (typeof optionsOrCb === "function") {
|
|
471
466
|
this.send(command, optionsOrCb);
|
|
472
467
|
}
|
|
473
468
|
else if (typeof cb === "function") {
|
|
474
469
|
if (typeof optionsOrCb !== "object")
|
|
475
|
-
throw new Error(
|
|
470
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
476
471
|
this.send(command, optionsOrCb || {}, cb);
|
|
477
472
|
}
|
|
478
473
|
else {
|
|
479
474
|
return this.send(command, optionsOrCb);
|
|
480
475
|
}
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
|
|
476
|
+
}
|
|
477
|
+
tagResource(args, optionsOrCb, cb) {
|
|
478
|
+
const command = new TagResourceCommand(args);
|
|
484
479
|
if (typeof optionsOrCb === "function") {
|
|
485
480
|
this.send(command, optionsOrCb);
|
|
486
481
|
}
|
|
487
482
|
else if (typeof cb === "function") {
|
|
488
483
|
if (typeof optionsOrCb !== "object")
|
|
489
|
-
throw new Error(
|
|
484
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
490
485
|
this.send(command, optionsOrCb || {}, cb);
|
|
491
486
|
}
|
|
492
487
|
else {
|
|
493
488
|
return this.send(command, optionsOrCb);
|
|
494
489
|
}
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
|
|
490
|
+
}
|
|
491
|
+
untagResource(args, optionsOrCb, cb) {
|
|
492
|
+
const command = new UntagResourceCommand(args);
|
|
498
493
|
if (typeof optionsOrCb === "function") {
|
|
499
494
|
this.send(command, optionsOrCb);
|
|
500
495
|
}
|
|
501
496
|
else if (typeof cb === "function") {
|
|
502
497
|
if (typeof optionsOrCb !== "object")
|
|
503
|
-
throw new Error(
|
|
498
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
504
499
|
this.send(command, optionsOrCb || {}, cb);
|
|
505
500
|
}
|
|
506
501
|
else {
|
|
507
502
|
return this.send(command, optionsOrCb);
|
|
508
503
|
}
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
|
|
504
|
+
}
|
|
505
|
+
updateAnswer(args, optionsOrCb, cb) {
|
|
506
|
+
const command = new UpdateAnswerCommand(args);
|
|
512
507
|
if (typeof optionsOrCb === "function") {
|
|
513
508
|
this.send(command, optionsOrCb);
|
|
514
509
|
}
|
|
515
510
|
else if (typeof cb === "function") {
|
|
516
511
|
if (typeof optionsOrCb !== "object")
|
|
517
|
-
throw new Error(
|
|
512
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
518
513
|
this.send(command, optionsOrCb || {}, cb);
|
|
519
514
|
}
|
|
520
515
|
else {
|
|
521
516
|
return this.send(command, optionsOrCb);
|
|
522
517
|
}
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
|
|
518
|
+
}
|
|
519
|
+
updateGlobalSettings(args, optionsOrCb, cb) {
|
|
520
|
+
const command = new UpdateGlobalSettingsCommand(args);
|
|
526
521
|
if (typeof optionsOrCb === "function") {
|
|
527
522
|
this.send(command, optionsOrCb);
|
|
528
523
|
}
|
|
529
524
|
else if (typeof cb === "function") {
|
|
530
525
|
if (typeof optionsOrCb !== "object")
|
|
531
|
-
throw new Error(
|
|
526
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
532
527
|
this.send(command, optionsOrCb || {}, cb);
|
|
533
528
|
}
|
|
534
529
|
else {
|
|
535
530
|
return this.send(command, optionsOrCb);
|
|
536
531
|
}
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
|
|
532
|
+
}
|
|
533
|
+
updateLensReview(args, optionsOrCb, cb) {
|
|
534
|
+
const command = new UpdateLensReviewCommand(args);
|
|
540
535
|
if (typeof optionsOrCb === "function") {
|
|
541
536
|
this.send(command, optionsOrCb);
|
|
542
537
|
}
|
|
543
538
|
else if (typeof cb === "function") {
|
|
544
539
|
if (typeof optionsOrCb !== "object")
|
|
545
|
-
throw new Error(
|
|
540
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
546
541
|
this.send(command, optionsOrCb || {}, cb);
|
|
547
542
|
}
|
|
548
543
|
else {
|
|
549
544
|
return this.send(command, optionsOrCb);
|
|
550
545
|
}
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
|
|
546
|
+
}
|
|
547
|
+
updateShareInvitation(args, optionsOrCb, cb) {
|
|
548
|
+
const command = new UpdateShareInvitationCommand(args);
|
|
554
549
|
if (typeof optionsOrCb === "function") {
|
|
555
550
|
this.send(command, optionsOrCb);
|
|
556
551
|
}
|
|
557
552
|
else if (typeof cb === "function") {
|
|
558
553
|
if (typeof optionsOrCb !== "object")
|
|
559
|
-
throw new Error(
|
|
554
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
560
555
|
this.send(command, optionsOrCb || {}, cb);
|
|
561
556
|
}
|
|
562
557
|
else {
|
|
563
558
|
return this.send(command, optionsOrCb);
|
|
564
559
|
}
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
|
|
560
|
+
}
|
|
561
|
+
updateWorkload(args, optionsOrCb, cb) {
|
|
562
|
+
const command = new UpdateWorkloadCommand(args);
|
|
568
563
|
if (typeof optionsOrCb === "function") {
|
|
569
564
|
this.send(command, optionsOrCb);
|
|
570
565
|
}
|
|
571
566
|
else if (typeof cb === "function") {
|
|
572
567
|
if (typeof optionsOrCb !== "object")
|
|
573
|
-
throw new Error(
|
|
568
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
574
569
|
this.send(command, optionsOrCb || {}, cb);
|
|
575
570
|
}
|
|
576
571
|
else {
|
|
577
572
|
return this.send(command, optionsOrCb);
|
|
578
573
|
}
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
|
|
574
|
+
}
|
|
575
|
+
updateWorkloadShare(args, optionsOrCb, cb) {
|
|
576
|
+
const command = new UpdateWorkloadShareCommand(args);
|
|
582
577
|
if (typeof optionsOrCb === "function") {
|
|
583
578
|
this.send(command, optionsOrCb);
|
|
584
579
|
}
|
|
585
580
|
else if (typeof cb === "function") {
|
|
586
581
|
if (typeof optionsOrCb !== "object")
|
|
587
|
-
throw new Error(
|
|
582
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
588
583
|
this.send(command, optionsOrCb || {}, cb);
|
|
589
584
|
}
|
|
590
585
|
else {
|
|
591
586
|
return this.send(command, optionsOrCb);
|
|
592
587
|
}
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
|
|
588
|
+
}
|
|
589
|
+
upgradeLensReview(args, optionsOrCb, cb) {
|
|
590
|
+
const command = new UpgradeLensReviewCommand(args);
|
|
596
591
|
if (typeof optionsOrCb === "function") {
|
|
597
592
|
this.send(command, optionsOrCb);
|
|
598
593
|
}
|
|
599
594
|
else if (typeof cb === "function") {
|
|
600
595
|
if (typeof optionsOrCb !== "object")
|
|
601
|
-
throw new Error(
|
|
596
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
602
597
|
this.send(command, optionsOrCb || {}, cb);
|
|
603
598
|
}
|
|
604
599
|
else {
|
|
605
600
|
return this.send(command, optionsOrCb);
|
|
606
601
|
}
|
|
607
|
-
}
|
|
608
|
-
|
|
609
|
-
}(WellArchitectedClient));
|
|
610
|
-
export { WellArchitected };
|
|
602
|
+
}
|
|
603
|
+
}
|