@aws-sdk/client-ssm 3.315.0 → 3.319.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/dist-cjs/SSM.js +142 -1932
- package/dist-cjs/protocols/Aws_json1_1.js +5 -5
- package/dist-es/SSM.js +142 -1932
- package/dist-es/protocols/Aws_json1_1.js +5 -5
- package/dist-types/SSM.d.ts +181 -956
- package/dist-types/ts3.4/SSM.d.ts +2 -1
- package/package.json +8 -8
package/dist-es/SSM.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
1
2
|
import { AddTagsToResourceCommand, } from "./commands/AddTagsToResourceCommand";
|
|
2
3
|
import { AssociateOpsItemRelatedItemCommand, } from "./commands/AssociateOpsItemRelatedItemCommand";
|
|
3
4
|
import { CancelCommandCommand, } from "./commands/CancelCommandCommand";
|
|
@@ -137,1937 +138,146 @@ import { UpdatePatchBaselineCommand, } from "./commands/UpdatePatchBaselineComma
|
|
|
137
138
|
import { UpdateResourceDataSyncCommand, } from "./commands/UpdateResourceDataSyncCommand";
|
|
138
139
|
import { UpdateServiceSettingCommand, } from "./commands/UpdateServiceSettingCommand";
|
|
139
140
|
import { SSMClient } from "./SSMClient";
|
|
141
|
+
const commands = {
|
|
142
|
+
AddTagsToResourceCommand,
|
|
143
|
+
AssociateOpsItemRelatedItemCommand,
|
|
144
|
+
CancelCommandCommand,
|
|
145
|
+
CancelMaintenanceWindowExecutionCommand,
|
|
146
|
+
CreateActivationCommand,
|
|
147
|
+
CreateAssociationCommand,
|
|
148
|
+
CreateAssociationBatchCommand,
|
|
149
|
+
CreateDocumentCommand,
|
|
150
|
+
CreateMaintenanceWindowCommand,
|
|
151
|
+
CreateOpsItemCommand,
|
|
152
|
+
CreateOpsMetadataCommand,
|
|
153
|
+
CreatePatchBaselineCommand,
|
|
154
|
+
CreateResourceDataSyncCommand,
|
|
155
|
+
DeleteActivationCommand,
|
|
156
|
+
DeleteAssociationCommand,
|
|
157
|
+
DeleteDocumentCommand,
|
|
158
|
+
DeleteInventoryCommand,
|
|
159
|
+
DeleteMaintenanceWindowCommand,
|
|
160
|
+
DeleteOpsMetadataCommand,
|
|
161
|
+
DeleteParameterCommand,
|
|
162
|
+
DeleteParametersCommand,
|
|
163
|
+
DeletePatchBaselineCommand,
|
|
164
|
+
DeleteResourceDataSyncCommand,
|
|
165
|
+
DeleteResourcePolicyCommand,
|
|
166
|
+
DeregisterManagedInstanceCommand,
|
|
167
|
+
DeregisterPatchBaselineForPatchGroupCommand,
|
|
168
|
+
DeregisterTargetFromMaintenanceWindowCommand,
|
|
169
|
+
DeregisterTaskFromMaintenanceWindowCommand,
|
|
170
|
+
DescribeActivationsCommand,
|
|
171
|
+
DescribeAssociationCommand,
|
|
172
|
+
DescribeAssociationExecutionsCommand,
|
|
173
|
+
DescribeAssociationExecutionTargetsCommand,
|
|
174
|
+
DescribeAutomationExecutionsCommand,
|
|
175
|
+
DescribeAutomationStepExecutionsCommand,
|
|
176
|
+
DescribeAvailablePatchesCommand,
|
|
177
|
+
DescribeDocumentCommand,
|
|
178
|
+
DescribeDocumentPermissionCommand,
|
|
179
|
+
DescribeEffectiveInstanceAssociationsCommand,
|
|
180
|
+
DescribeEffectivePatchesForPatchBaselineCommand,
|
|
181
|
+
DescribeInstanceAssociationsStatusCommand,
|
|
182
|
+
DescribeInstanceInformationCommand,
|
|
183
|
+
DescribeInstancePatchesCommand,
|
|
184
|
+
DescribeInstancePatchStatesCommand,
|
|
185
|
+
DescribeInstancePatchStatesForPatchGroupCommand,
|
|
186
|
+
DescribeInventoryDeletionsCommand,
|
|
187
|
+
DescribeMaintenanceWindowExecutionsCommand,
|
|
188
|
+
DescribeMaintenanceWindowExecutionTaskInvocationsCommand,
|
|
189
|
+
DescribeMaintenanceWindowExecutionTasksCommand,
|
|
190
|
+
DescribeMaintenanceWindowsCommand,
|
|
191
|
+
DescribeMaintenanceWindowScheduleCommand,
|
|
192
|
+
DescribeMaintenanceWindowsForTargetCommand,
|
|
193
|
+
DescribeMaintenanceWindowTargetsCommand,
|
|
194
|
+
DescribeMaintenanceWindowTasksCommand,
|
|
195
|
+
DescribeOpsItemsCommand,
|
|
196
|
+
DescribeParametersCommand,
|
|
197
|
+
DescribePatchBaselinesCommand,
|
|
198
|
+
DescribePatchGroupsCommand,
|
|
199
|
+
DescribePatchGroupStateCommand,
|
|
200
|
+
DescribePatchPropertiesCommand,
|
|
201
|
+
DescribeSessionsCommand,
|
|
202
|
+
DisassociateOpsItemRelatedItemCommand,
|
|
203
|
+
GetAutomationExecutionCommand,
|
|
204
|
+
GetCalendarStateCommand,
|
|
205
|
+
GetCommandInvocationCommand,
|
|
206
|
+
GetConnectionStatusCommand,
|
|
207
|
+
GetDefaultPatchBaselineCommand,
|
|
208
|
+
GetDeployablePatchSnapshotForInstanceCommand,
|
|
209
|
+
GetDocumentCommand,
|
|
210
|
+
GetInventoryCommand,
|
|
211
|
+
GetInventorySchemaCommand,
|
|
212
|
+
GetMaintenanceWindowCommand,
|
|
213
|
+
GetMaintenanceWindowExecutionCommand,
|
|
214
|
+
GetMaintenanceWindowExecutionTaskCommand,
|
|
215
|
+
GetMaintenanceWindowExecutionTaskInvocationCommand,
|
|
216
|
+
GetMaintenanceWindowTaskCommand,
|
|
217
|
+
GetOpsItemCommand,
|
|
218
|
+
GetOpsMetadataCommand,
|
|
219
|
+
GetOpsSummaryCommand,
|
|
220
|
+
GetParameterCommand,
|
|
221
|
+
GetParameterHistoryCommand,
|
|
222
|
+
GetParametersCommand,
|
|
223
|
+
GetParametersByPathCommand,
|
|
224
|
+
GetPatchBaselineCommand,
|
|
225
|
+
GetPatchBaselineForPatchGroupCommand,
|
|
226
|
+
GetResourcePoliciesCommand,
|
|
227
|
+
GetServiceSettingCommand,
|
|
228
|
+
LabelParameterVersionCommand,
|
|
229
|
+
ListAssociationsCommand,
|
|
230
|
+
ListAssociationVersionsCommand,
|
|
231
|
+
ListCommandInvocationsCommand,
|
|
232
|
+
ListCommandsCommand,
|
|
233
|
+
ListComplianceItemsCommand,
|
|
234
|
+
ListComplianceSummariesCommand,
|
|
235
|
+
ListDocumentMetadataHistoryCommand,
|
|
236
|
+
ListDocumentsCommand,
|
|
237
|
+
ListDocumentVersionsCommand,
|
|
238
|
+
ListInventoryEntriesCommand,
|
|
239
|
+
ListOpsItemEventsCommand,
|
|
240
|
+
ListOpsItemRelatedItemsCommand,
|
|
241
|
+
ListOpsMetadataCommand,
|
|
242
|
+
ListResourceComplianceSummariesCommand,
|
|
243
|
+
ListResourceDataSyncCommand,
|
|
244
|
+
ListTagsForResourceCommand,
|
|
245
|
+
ModifyDocumentPermissionCommand,
|
|
246
|
+
PutComplianceItemsCommand,
|
|
247
|
+
PutInventoryCommand,
|
|
248
|
+
PutParameterCommand,
|
|
249
|
+
PutResourcePolicyCommand,
|
|
250
|
+
RegisterDefaultPatchBaselineCommand,
|
|
251
|
+
RegisterPatchBaselineForPatchGroupCommand,
|
|
252
|
+
RegisterTargetWithMaintenanceWindowCommand,
|
|
253
|
+
RegisterTaskWithMaintenanceWindowCommand,
|
|
254
|
+
RemoveTagsFromResourceCommand,
|
|
255
|
+
ResetServiceSettingCommand,
|
|
256
|
+
ResumeSessionCommand,
|
|
257
|
+
SendAutomationSignalCommand,
|
|
258
|
+
SendCommandCommand,
|
|
259
|
+
StartAssociationsOnceCommand,
|
|
260
|
+
StartAutomationExecutionCommand,
|
|
261
|
+
StartChangeRequestExecutionCommand,
|
|
262
|
+
StartSessionCommand,
|
|
263
|
+
StopAutomationExecutionCommand,
|
|
264
|
+
TerminateSessionCommand,
|
|
265
|
+
UnlabelParameterVersionCommand,
|
|
266
|
+
UpdateAssociationCommand,
|
|
267
|
+
UpdateAssociationStatusCommand,
|
|
268
|
+
UpdateDocumentCommand,
|
|
269
|
+
UpdateDocumentDefaultVersionCommand,
|
|
270
|
+
UpdateDocumentMetadataCommand,
|
|
271
|
+
UpdateMaintenanceWindowCommand,
|
|
272
|
+
UpdateMaintenanceWindowTargetCommand,
|
|
273
|
+
UpdateMaintenanceWindowTaskCommand,
|
|
274
|
+
UpdateManagedInstanceRoleCommand,
|
|
275
|
+
UpdateOpsItemCommand,
|
|
276
|
+
UpdateOpsMetadataCommand,
|
|
277
|
+
UpdatePatchBaselineCommand,
|
|
278
|
+
UpdateResourceDataSyncCommand,
|
|
279
|
+
UpdateServiceSettingCommand,
|
|
280
|
+
};
|
|
140
281
|
export class SSM extends SSMClient {
|
|
141
|
-
addTagsToResource(args, optionsOrCb, cb) {
|
|
142
|
-
const command = new AddTagsToResourceCommand(args);
|
|
143
|
-
if (typeof optionsOrCb === "function") {
|
|
144
|
-
this.send(command, optionsOrCb);
|
|
145
|
-
}
|
|
146
|
-
else if (typeof cb === "function") {
|
|
147
|
-
if (typeof optionsOrCb !== "object")
|
|
148
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
149
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
150
|
-
}
|
|
151
|
-
else {
|
|
152
|
-
return this.send(command, optionsOrCb);
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
associateOpsItemRelatedItem(args, optionsOrCb, cb) {
|
|
156
|
-
const command = new AssociateOpsItemRelatedItemCommand(args);
|
|
157
|
-
if (typeof optionsOrCb === "function") {
|
|
158
|
-
this.send(command, optionsOrCb);
|
|
159
|
-
}
|
|
160
|
-
else if (typeof cb === "function") {
|
|
161
|
-
if (typeof optionsOrCb !== "object")
|
|
162
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
163
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
164
|
-
}
|
|
165
|
-
else {
|
|
166
|
-
return this.send(command, optionsOrCb);
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
cancelCommand(args, optionsOrCb, cb) {
|
|
170
|
-
const command = new CancelCommandCommand(args);
|
|
171
|
-
if (typeof optionsOrCb === "function") {
|
|
172
|
-
this.send(command, optionsOrCb);
|
|
173
|
-
}
|
|
174
|
-
else if (typeof cb === "function") {
|
|
175
|
-
if (typeof optionsOrCb !== "object")
|
|
176
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
177
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
178
|
-
}
|
|
179
|
-
else {
|
|
180
|
-
return this.send(command, optionsOrCb);
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
cancelMaintenanceWindowExecution(args, optionsOrCb, cb) {
|
|
184
|
-
const command = new CancelMaintenanceWindowExecutionCommand(args);
|
|
185
|
-
if (typeof optionsOrCb === "function") {
|
|
186
|
-
this.send(command, optionsOrCb);
|
|
187
|
-
}
|
|
188
|
-
else if (typeof cb === "function") {
|
|
189
|
-
if (typeof optionsOrCb !== "object")
|
|
190
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
191
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
192
|
-
}
|
|
193
|
-
else {
|
|
194
|
-
return this.send(command, optionsOrCb);
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
createActivation(args, optionsOrCb, cb) {
|
|
198
|
-
const command = new CreateActivationCommand(args);
|
|
199
|
-
if (typeof optionsOrCb === "function") {
|
|
200
|
-
this.send(command, optionsOrCb);
|
|
201
|
-
}
|
|
202
|
-
else if (typeof cb === "function") {
|
|
203
|
-
if (typeof optionsOrCb !== "object")
|
|
204
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
205
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
206
|
-
}
|
|
207
|
-
else {
|
|
208
|
-
return this.send(command, optionsOrCb);
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
createAssociation(args, optionsOrCb, cb) {
|
|
212
|
-
const command = new CreateAssociationCommand(args);
|
|
213
|
-
if (typeof optionsOrCb === "function") {
|
|
214
|
-
this.send(command, optionsOrCb);
|
|
215
|
-
}
|
|
216
|
-
else if (typeof cb === "function") {
|
|
217
|
-
if (typeof optionsOrCb !== "object")
|
|
218
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
219
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
220
|
-
}
|
|
221
|
-
else {
|
|
222
|
-
return this.send(command, optionsOrCb);
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
createAssociationBatch(args, optionsOrCb, cb) {
|
|
226
|
-
const command = new CreateAssociationBatchCommand(args);
|
|
227
|
-
if (typeof optionsOrCb === "function") {
|
|
228
|
-
this.send(command, optionsOrCb);
|
|
229
|
-
}
|
|
230
|
-
else if (typeof cb === "function") {
|
|
231
|
-
if (typeof optionsOrCb !== "object")
|
|
232
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
233
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
234
|
-
}
|
|
235
|
-
else {
|
|
236
|
-
return this.send(command, optionsOrCb);
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
createDocument(args, optionsOrCb, cb) {
|
|
240
|
-
const command = new CreateDocumentCommand(args);
|
|
241
|
-
if (typeof optionsOrCb === "function") {
|
|
242
|
-
this.send(command, optionsOrCb);
|
|
243
|
-
}
|
|
244
|
-
else if (typeof cb === "function") {
|
|
245
|
-
if (typeof optionsOrCb !== "object")
|
|
246
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
247
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
248
|
-
}
|
|
249
|
-
else {
|
|
250
|
-
return this.send(command, optionsOrCb);
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
createMaintenanceWindow(args, optionsOrCb, cb) {
|
|
254
|
-
const command = new CreateMaintenanceWindowCommand(args);
|
|
255
|
-
if (typeof optionsOrCb === "function") {
|
|
256
|
-
this.send(command, optionsOrCb);
|
|
257
|
-
}
|
|
258
|
-
else if (typeof cb === "function") {
|
|
259
|
-
if (typeof optionsOrCb !== "object")
|
|
260
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
261
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
262
|
-
}
|
|
263
|
-
else {
|
|
264
|
-
return this.send(command, optionsOrCb);
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
createOpsItem(args, optionsOrCb, cb) {
|
|
268
|
-
const command = new CreateOpsItemCommand(args);
|
|
269
|
-
if (typeof optionsOrCb === "function") {
|
|
270
|
-
this.send(command, optionsOrCb);
|
|
271
|
-
}
|
|
272
|
-
else if (typeof cb === "function") {
|
|
273
|
-
if (typeof optionsOrCb !== "object")
|
|
274
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
275
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
276
|
-
}
|
|
277
|
-
else {
|
|
278
|
-
return this.send(command, optionsOrCb);
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
createOpsMetadata(args, optionsOrCb, cb) {
|
|
282
|
-
const command = new CreateOpsMetadataCommand(args);
|
|
283
|
-
if (typeof optionsOrCb === "function") {
|
|
284
|
-
this.send(command, optionsOrCb);
|
|
285
|
-
}
|
|
286
|
-
else if (typeof cb === "function") {
|
|
287
|
-
if (typeof optionsOrCb !== "object")
|
|
288
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
289
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
290
|
-
}
|
|
291
|
-
else {
|
|
292
|
-
return this.send(command, optionsOrCb);
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
createPatchBaseline(args, optionsOrCb, cb) {
|
|
296
|
-
const command = new CreatePatchBaselineCommand(args);
|
|
297
|
-
if (typeof optionsOrCb === "function") {
|
|
298
|
-
this.send(command, optionsOrCb);
|
|
299
|
-
}
|
|
300
|
-
else if (typeof cb === "function") {
|
|
301
|
-
if (typeof optionsOrCb !== "object")
|
|
302
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
303
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
304
|
-
}
|
|
305
|
-
else {
|
|
306
|
-
return this.send(command, optionsOrCb);
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
createResourceDataSync(args, optionsOrCb, cb) {
|
|
310
|
-
const command = new CreateResourceDataSyncCommand(args);
|
|
311
|
-
if (typeof optionsOrCb === "function") {
|
|
312
|
-
this.send(command, optionsOrCb);
|
|
313
|
-
}
|
|
314
|
-
else if (typeof cb === "function") {
|
|
315
|
-
if (typeof optionsOrCb !== "object")
|
|
316
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
317
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
318
|
-
}
|
|
319
|
-
else {
|
|
320
|
-
return this.send(command, optionsOrCb);
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
deleteActivation(args, optionsOrCb, cb) {
|
|
324
|
-
const command = new DeleteActivationCommand(args);
|
|
325
|
-
if (typeof optionsOrCb === "function") {
|
|
326
|
-
this.send(command, optionsOrCb);
|
|
327
|
-
}
|
|
328
|
-
else if (typeof cb === "function") {
|
|
329
|
-
if (typeof optionsOrCb !== "object")
|
|
330
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
331
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
332
|
-
}
|
|
333
|
-
else {
|
|
334
|
-
return this.send(command, optionsOrCb);
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
deleteAssociation(args, optionsOrCb, cb) {
|
|
338
|
-
const command = new DeleteAssociationCommand(args);
|
|
339
|
-
if (typeof optionsOrCb === "function") {
|
|
340
|
-
this.send(command, optionsOrCb);
|
|
341
|
-
}
|
|
342
|
-
else if (typeof cb === "function") {
|
|
343
|
-
if (typeof optionsOrCb !== "object")
|
|
344
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
345
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
346
|
-
}
|
|
347
|
-
else {
|
|
348
|
-
return this.send(command, optionsOrCb);
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
deleteDocument(args, optionsOrCb, cb) {
|
|
352
|
-
const command = new DeleteDocumentCommand(args);
|
|
353
|
-
if (typeof optionsOrCb === "function") {
|
|
354
|
-
this.send(command, optionsOrCb);
|
|
355
|
-
}
|
|
356
|
-
else if (typeof cb === "function") {
|
|
357
|
-
if (typeof optionsOrCb !== "object")
|
|
358
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
359
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
360
|
-
}
|
|
361
|
-
else {
|
|
362
|
-
return this.send(command, optionsOrCb);
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
deleteInventory(args, optionsOrCb, cb) {
|
|
366
|
-
const command = new DeleteInventoryCommand(args);
|
|
367
|
-
if (typeof optionsOrCb === "function") {
|
|
368
|
-
this.send(command, optionsOrCb);
|
|
369
|
-
}
|
|
370
|
-
else if (typeof cb === "function") {
|
|
371
|
-
if (typeof optionsOrCb !== "object")
|
|
372
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
373
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
374
|
-
}
|
|
375
|
-
else {
|
|
376
|
-
return this.send(command, optionsOrCb);
|
|
377
|
-
}
|
|
378
|
-
}
|
|
379
|
-
deleteMaintenanceWindow(args, optionsOrCb, cb) {
|
|
380
|
-
const command = new DeleteMaintenanceWindowCommand(args);
|
|
381
|
-
if (typeof optionsOrCb === "function") {
|
|
382
|
-
this.send(command, optionsOrCb);
|
|
383
|
-
}
|
|
384
|
-
else if (typeof cb === "function") {
|
|
385
|
-
if (typeof optionsOrCb !== "object")
|
|
386
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
387
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
388
|
-
}
|
|
389
|
-
else {
|
|
390
|
-
return this.send(command, optionsOrCb);
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
deleteOpsMetadata(args, optionsOrCb, cb) {
|
|
394
|
-
const command = new DeleteOpsMetadataCommand(args);
|
|
395
|
-
if (typeof optionsOrCb === "function") {
|
|
396
|
-
this.send(command, optionsOrCb);
|
|
397
|
-
}
|
|
398
|
-
else if (typeof cb === "function") {
|
|
399
|
-
if (typeof optionsOrCb !== "object")
|
|
400
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
401
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
402
|
-
}
|
|
403
|
-
else {
|
|
404
|
-
return this.send(command, optionsOrCb);
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
deleteParameter(args, optionsOrCb, cb) {
|
|
408
|
-
const command = new DeleteParameterCommand(args);
|
|
409
|
-
if (typeof optionsOrCb === "function") {
|
|
410
|
-
this.send(command, optionsOrCb);
|
|
411
|
-
}
|
|
412
|
-
else if (typeof cb === "function") {
|
|
413
|
-
if (typeof optionsOrCb !== "object")
|
|
414
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
415
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
416
|
-
}
|
|
417
|
-
else {
|
|
418
|
-
return this.send(command, optionsOrCb);
|
|
419
|
-
}
|
|
420
|
-
}
|
|
421
|
-
deleteParameters(args, optionsOrCb, cb) {
|
|
422
|
-
const command = new DeleteParametersCommand(args);
|
|
423
|
-
if (typeof optionsOrCb === "function") {
|
|
424
|
-
this.send(command, optionsOrCb);
|
|
425
|
-
}
|
|
426
|
-
else if (typeof cb === "function") {
|
|
427
|
-
if (typeof optionsOrCb !== "object")
|
|
428
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
429
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
430
|
-
}
|
|
431
|
-
else {
|
|
432
|
-
return this.send(command, optionsOrCb);
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
deletePatchBaseline(args, optionsOrCb, cb) {
|
|
436
|
-
const command = new DeletePatchBaselineCommand(args);
|
|
437
|
-
if (typeof optionsOrCb === "function") {
|
|
438
|
-
this.send(command, optionsOrCb);
|
|
439
|
-
}
|
|
440
|
-
else if (typeof cb === "function") {
|
|
441
|
-
if (typeof optionsOrCb !== "object")
|
|
442
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
443
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
444
|
-
}
|
|
445
|
-
else {
|
|
446
|
-
return this.send(command, optionsOrCb);
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
deleteResourceDataSync(args, optionsOrCb, cb) {
|
|
450
|
-
const command = new DeleteResourceDataSyncCommand(args);
|
|
451
|
-
if (typeof optionsOrCb === "function") {
|
|
452
|
-
this.send(command, optionsOrCb);
|
|
453
|
-
}
|
|
454
|
-
else if (typeof cb === "function") {
|
|
455
|
-
if (typeof optionsOrCb !== "object")
|
|
456
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
457
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
458
|
-
}
|
|
459
|
-
else {
|
|
460
|
-
return this.send(command, optionsOrCb);
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
deleteResourcePolicy(args, optionsOrCb, cb) {
|
|
464
|
-
const command = new DeleteResourcePolicyCommand(args);
|
|
465
|
-
if (typeof optionsOrCb === "function") {
|
|
466
|
-
this.send(command, optionsOrCb);
|
|
467
|
-
}
|
|
468
|
-
else if (typeof cb === "function") {
|
|
469
|
-
if (typeof optionsOrCb !== "object")
|
|
470
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
471
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
472
|
-
}
|
|
473
|
-
else {
|
|
474
|
-
return this.send(command, optionsOrCb);
|
|
475
|
-
}
|
|
476
|
-
}
|
|
477
|
-
deregisterManagedInstance(args, optionsOrCb, cb) {
|
|
478
|
-
const command = new DeregisterManagedInstanceCommand(args);
|
|
479
|
-
if (typeof optionsOrCb === "function") {
|
|
480
|
-
this.send(command, optionsOrCb);
|
|
481
|
-
}
|
|
482
|
-
else if (typeof cb === "function") {
|
|
483
|
-
if (typeof optionsOrCb !== "object")
|
|
484
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
485
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
486
|
-
}
|
|
487
|
-
else {
|
|
488
|
-
return this.send(command, optionsOrCb);
|
|
489
|
-
}
|
|
490
|
-
}
|
|
491
|
-
deregisterPatchBaselineForPatchGroup(args, optionsOrCb, cb) {
|
|
492
|
-
const command = new DeregisterPatchBaselineForPatchGroupCommand(args);
|
|
493
|
-
if (typeof optionsOrCb === "function") {
|
|
494
|
-
this.send(command, optionsOrCb);
|
|
495
|
-
}
|
|
496
|
-
else if (typeof cb === "function") {
|
|
497
|
-
if (typeof optionsOrCb !== "object")
|
|
498
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
499
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
500
|
-
}
|
|
501
|
-
else {
|
|
502
|
-
return this.send(command, optionsOrCb);
|
|
503
|
-
}
|
|
504
|
-
}
|
|
505
|
-
deregisterTargetFromMaintenanceWindow(args, optionsOrCb, cb) {
|
|
506
|
-
const command = new DeregisterTargetFromMaintenanceWindowCommand(args);
|
|
507
|
-
if (typeof optionsOrCb === "function") {
|
|
508
|
-
this.send(command, optionsOrCb);
|
|
509
|
-
}
|
|
510
|
-
else if (typeof cb === "function") {
|
|
511
|
-
if (typeof optionsOrCb !== "object")
|
|
512
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
513
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
514
|
-
}
|
|
515
|
-
else {
|
|
516
|
-
return this.send(command, optionsOrCb);
|
|
517
|
-
}
|
|
518
|
-
}
|
|
519
|
-
deregisterTaskFromMaintenanceWindow(args, optionsOrCb, cb) {
|
|
520
|
-
const command = new DeregisterTaskFromMaintenanceWindowCommand(args);
|
|
521
|
-
if (typeof optionsOrCb === "function") {
|
|
522
|
-
this.send(command, optionsOrCb);
|
|
523
|
-
}
|
|
524
|
-
else if (typeof cb === "function") {
|
|
525
|
-
if (typeof optionsOrCb !== "object")
|
|
526
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
527
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
528
|
-
}
|
|
529
|
-
else {
|
|
530
|
-
return this.send(command, optionsOrCb);
|
|
531
|
-
}
|
|
532
|
-
}
|
|
533
|
-
describeActivations(args, optionsOrCb, cb) {
|
|
534
|
-
const command = new DescribeActivationsCommand(args);
|
|
535
|
-
if (typeof optionsOrCb === "function") {
|
|
536
|
-
this.send(command, optionsOrCb);
|
|
537
|
-
}
|
|
538
|
-
else if (typeof cb === "function") {
|
|
539
|
-
if (typeof optionsOrCb !== "object")
|
|
540
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
541
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
542
|
-
}
|
|
543
|
-
else {
|
|
544
|
-
return this.send(command, optionsOrCb);
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
describeAssociation(args, optionsOrCb, cb) {
|
|
548
|
-
const command = new DescribeAssociationCommand(args);
|
|
549
|
-
if (typeof optionsOrCb === "function") {
|
|
550
|
-
this.send(command, optionsOrCb);
|
|
551
|
-
}
|
|
552
|
-
else if (typeof cb === "function") {
|
|
553
|
-
if (typeof optionsOrCb !== "object")
|
|
554
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
555
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
556
|
-
}
|
|
557
|
-
else {
|
|
558
|
-
return this.send(command, optionsOrCb);
|
|
559
|
-
}
|
|
560
|
-
}
|
|
561
|
-
describeAssociationExecutions(args, optionsOrCb, cb) {
|
|
562
|
-
const command = new DescribeAssociationExecutionsCommand(args);
|
|
563
|
-
if (typeof optionsOrCb === "function") {
|
|
564
|
-
this.send(command, optionsOrCb);
|
|
565
|
-
}
|
|
566
|
-
else if (typeof cb === "function") {
|
|
567
|
-
if (typeof optionsOrCb !== "object")
|
|
568
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
569
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
570
|
-
}
|
|
571
|
-
else {
|
|
572
|
-
return this.send(command, optionsOrCb);
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
|
-
describeAssociationExecutionTargets(args, optionsOrCb, cb) {
|
|
576
|
-
const command = new DescribeAssociationExecutionTargetsCommand(args);
|
|
577
|
-
if (typeof optionsOrCb === "function") {
|
|
578
|
-
this.send(command, optionsOrCb);
|
|
579
|
-
}
|
|
580
|
-
else if (typeof cb === "function") {
|
|
581
|
-
if (typeof optionsOrCb !== "object")
|
|
582
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
583
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
584
|
-
}
|
|
585
|
-
else {
|
|
586
|
-
return this.send(command, optionsOrCb);
|
|
587
|
-
}
|
|
588
|
-
}
|
|
589
|
-
describeAutomationExecutions(args, optionsOrCb, cb) {
|
|
590
|
-
const command = new DescribeAutomationExecutionsCommand(args);
|
|
591
|
-
if (typeof optionsOrCb === "function") {
|
|
592
|
-
this.send(command, optionsOrCb);
|
|
593
|
-
}
|
|
594
|
-
else if (typeof cb === "function") {
|
|
595
|
-
if (typeof optionsOrCb !== "object")
|
|
596
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
597
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
598
|
-
}
|
|
599
|
-
else {
|
|
600
|
-
return this.send(command, optionsOrCb);
|
|
601
|
-
}
|
|
602
|
-
}
|
|
603
|
-
describeAutomationStepExecutions(args, optionsOrCb, cb) {
|
|
604
|
-
const command = new DescribeAutomationStepExecutionsCommand(args);
|
|
605
|
-
if (typeof optionsOrCb === "function") {
|
|
606
|
-
this.send(command, optionsOrCb);
|
|
607
|
-
}
|
|
608
|
-
else if (typeof cb === "function") {
|
|
609
|
-
if (typeof optionsOrCb !== "object")
|
|
610
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
611
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
612
|
-
}
|
|
613
|
-
else {
|
|
614
|
-
return this.send(command, optionsOrCb);
|
|
615
|
-
}
|
|
616
|
-
}
|
|
617
|
-
describeAvailablePatches(args, optionsOrCb, cb) {
|
|
618
|
-
const command = new DescribeAvailablePatchesCommand(args);
|
|
619
|
-
if (typeof optionsOrCb === "function") {
|
|
620
|
-
this.send(command, optionsOrCb);
|
|
621
|
-
}
|
|
622
|
-
else if (typeof cb === "function") {
|
|
623
|
-
if (typeof optionsOrCb !== "object")
|
|
624
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
625
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
626
|
-
}
|
|
627
|
-
else {
|
|
628
|
-
return this.send(command, optionsOrCb);
|
|
629
|
-
}
|
|
630
|
-
}
|
|
631
|
-
describeDocument(args, optionsOrCb, cb) {
|
|
632
|
-
const command = new DescribeDocumentCommand(args);
|
|
633
|
-
if (typeof optionsOrCb === "function") {
|
|
634
|
-
this.send(command, optionsOrCb);
|
|
635
|
-
}
|
|
636
|
-
else if (typeof cb === "function") {
|
|
637
|
-
if (typeof optionsOrCb !== "object")
|
|
638
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
639
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
640
|
-
}
|
|
641
|
-
else {
|
|
642
|
-
return this.send(command, optionsOrCb);
|
|
643
|
-
}
|
|
644
|
-
}
|
|
645
|
-
describeDocumentPermission(args, optionsOrCb, cb) {
|
|
646
|
-
const command = new DescribeDocumentPermissionCommand(args);
|
|
647
|
-
if (typeof optionsOrCb === "function") {
|
|
648
|
-
this.send(command, optionsOrCb);
|
|
649
|
-
}
|
|
650
|
-
else if (typeof cb === "function") {
|
|
651
|
-
if (typeof optionsOrCb !== "object")
|
|
652
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
653
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
654
|
-
}
|
|
655
|
-
else {
|
|
656
|
-
return this.send(command, optionsOrCb);
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
describeEffectiveInstanceAssociations(args, optionsOrCb, cb) {
|
|
660
|
-
const command = new DescribeEffectiveInstanceAssociationsCommand(args);
|
|
661
|
-
if (typeof optionsOrCb === "function") {
|
|
662
|
-
this.send(command, optionsOrCb);
|
|
663
|
-
}
|
|
664
|
-
else if (typeof cb === "function") {
|
|
665
|
-
if (typeof optionsOrCb !== "object")
|
|
666
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
667
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
668
|
-
}
|
|
669
|
-
else {
|
|
670
|
-
return this.send(command, optionsOrCb);
|
|
671
|
-
}
|
|
672
|
-
}
|
|
673
|
-
describeEffectivePatchesForPatchBaseline(args, optionsOrCb, cb) {
|
|
674
|
-
const command = new DescribeEffectivePatchesForPatchBaselineCommand(args);
|
|
675
|
-
if (typeof optionsOrCb === "function") {
|
|
676
|
-
this.send(command, optionsOrCb);
|
|
677
|
-
}
|
|
678
|
-
else if (typeof cb === "function") {
|
|
679
|
-
if (typeof optionsOrCb !== "object")
|
|
680
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
681
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
682
|
-
}
|
|
683
|
-
else {
|
|
684
|
-
return this.send(command, optionsOrCb);
|
|
685
|
-
}
|
|
686
|
-
}
|
|
687
|
-
describeInstanceAssociationsStatus(args, optionsOrCb, cb) {
|
|
688
|
-
const command = new DescribeInstanceAssociationsStatusCommand(args);
|
|
689
|
-
if (typeof optionsOrCb === "function") {
|
|
690
|
-
this.send(command, optionsOrCb);
|
|
691
|
-
}
|
|
692
|
-
else if (typeof cb === "function") {
|
|
693
|
-
if (typeof optionsOrCb !== "object")
|
|
694
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
695
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
696
|
-
}
|
|
697
|
-
else {
|
|
698
|
-
return this.send(command, optionsOrCb);
|
|
699
|
-
}
|
|
700
|
-
}
|
|
701
|
-
describeInstanceInformation(args, optionsOrCb, cb) {
|
|
702
|
-
const command = new DescribeInstanceInformationCommand(args);
|
|
703
|
-
if (typeof optionsOrCb === "function") {
|
|
704
|
-
this.send(command, optionsOrCb);
|
|
705
|
-
}
|
|
706
|
-
else if (typeof cb === "function") {
|
|
707
|
-
if (typeof optionsOrCb !== "object")
|
|
708
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
709
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
710
|
-
}
|
|
711
|
-
else {
|
|
712
|
-
return this.send(command, optionsOrCb);
|
|
713
|
-
}
|
|
714
|
-
}
|
|
715
|
-
describeInstancePatches(args, optionsOrCb, cb) {
|
|
716
|
-
const command = new DescribeInstancePatchesCommand(args);
|
|
717
|
-
if (typeof optionsOrCb === "function") {
|
|
718
|
-
this.send(command, optionsOrCb);
|
|
719
|
-
}
|
|
720
|
-
else if (typeof cb === "function") {
|
|
721
|
-
if (typeof optionsOrCb !== "object")
|
|
722
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
723
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
724
|
-
}
|
|
725
|
-
else {
|
|
726
|
-
return this.send(command, optionsOrCb);
|
|
727
|
-
}
|
|
728
|
-
}
|
|
729
|
-
describeInstancePatchStates(args, optionsOrCb, cb) {
|
|
730
|
-
const command = new DescribeInstancePatchStatesCommand(args);
|
|
731
|
-
if (typeof optionsOrCb === "function") {
|
|
732
|
-
this.send(command, optionsOrCb);
|
|
733
|
-
}
|
|
734
|
-
else if (typeof cb === "function") {
|
|
735
|
-
if (typeof optionsOrCb !== "object")
|
|
736
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
737
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
738
|
-
}
|
|
739
|
-
else {
|
|
740
|
-
return this.send(command, optionsOrCb);
|
|
741
|
-
}
|
|
742
|
-
}
|
|
743
|
-
describeInstancePatchStatesForPatchGroup(args, optionsOrCb, cb) {
|
|
744
|
-
const command = new DescribeInstancePatchStatesForPatchGroupCommand(args);
|
|
745
|
-
if (typeof optionsOrCb === "function") {
|
|
746
|
-
this.send(command, optionsOrCb);
|
|
747
|
-
}
|
|
748
|
-
else if (typeof cb === "function") {
|
|
749
|
-
if (typeof optionsOrCb !== "object")
|
|
750
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
751
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
752
|
-
}
|
|
753
|
-
else {
|
|
754
|
-
return this.send(command, optionsOrCb);
|
|
755
|
-
}
|
|
756
|
-
}
|
|
757
|
-
describeInventoryDeletions(args, optionsOrCb, cb) {
|
|
758
|
-
const command = new DescribeInventoryDeletionsCommand(args);
|
|
759
|
-
if (typeof optionsOrCb === "function") {
|
|
760
|
-
this.send(command, optionsOrCb);
|
|
761
|
-
}
|
|
762
|
-
else if (typeof cb === "function") {
|
|
763
|
-
if (typeof optionsOrCb !== "object")
|
|
764
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
765
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
766
|
-
}
|
|
767
|
-
else {
|
|
768
|
-
return this.send(command, optionsOrCb);
|
|
769
|
-
}
|
|
770
|
-
}
|
|
771
|
-
describeMaintenanceWindowExecutions(args, optionsOrCb, cb) {
|
|
772
|
-
const command = new DescribeMaintenanceWindowExecutionsCommand(args);
|
|
773
|
-
if (typeof optionsOrCb === "function") {
|
|
774
|
-
this.send(command, optionsOrCb);
|
|
775
|
-
}
|
|
776
|
-
else if (typeof cb === "function") {
|
|
777
|
-
if (typeof optionsOrCb !== "object")
|
|
778
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
779
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
780
|
-
}
|
|
781
|
-
else {
|
|
782
|
-
return this.send(command, optionsOrCb);
|
|
783
|
-
}
|
|
784
|
-
}
|
|
785
|
-
describeMaintenanceWindowExecutionTaskInvocations(args, optionsOrCb, cb) {
|
|
786
|
-
const command = new DescribeMaintenanceWindowExecutionTaskInvocationsCommand(args);
|
|
787
|
-
if (typeof optionsOrCb === "function") {
|
|
788
|
-
this.send(command, optionsOrCb);
|
|
789
|
-
}
|
|
790
|
-
else if (typeof cb === "function") {
|
|
791
|
-
if (typeof optionsOrCb !== "object")
|
|
792
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
793
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
794
|
-
}
|
|
795
|
-
else {
|
|
796
|
-
return this.send(command, optionsOrCb);
|
|
797
|
-
}
|
|
798
|
-
}
|
|
799
|
-
describeMaintenanceWindowExecutionTasks(args, optionsOrCb, cb) {
|
|
800
|
-
const command = new DescribeMaintenanceWindowExecutionTasksCommand(args);
|
|
801
|
-
if (typeof optionsOrCb === "function") {
|
|
802
|
-
this.send(command, optionsOrCb);
|
|
803
|
-
}
|
|
804
|
-
else if (typeof cb === "function") {
|
|
805
|
-
if (typeof optionsOrCb !== "object")
|
|
806
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
807
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
808
|
-
}
|
|
809
|
-
else {
|
|
810
|
-
return this.send(command, optionsOrCb);
|
|
811
|
-
}
|
|
812
|
-
}
|
|
813
|
-
describeMaintenanceWindows(args, optionsOrCb, cb) {
|
|
814
|
-
const command = new DescribeMaintenanceWindowsCommand(args);
|
|
815
|
-
if (typeof optionsOrCb === "function") {
|
|
816
|
-
this.send(command, optionsOrCb);
|
|
817
|
-
}
|
|
818
|
-
else if (typeof cb === "function") {
|
|
819
|
-
if (typeof optionsOrCb !== "object")
|
|
820
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
821
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
822
|
-
}
|
|
823
|
-
else {
|
|
824
|
-
return this.send(command, optionsOrCb);
|
|
825
|
-
}
|
|
826
|
-
}
|
|
827
|
-
describeMaintenanceWindowSchedule(args, optionsOrCb, cb) {
|
|
828
|
-
const command = new DescribeMaintenanceWindowScheduleCommand(args);
|
|
829
|
-
if (typeof optionsOrCb === "function") {
|
|
830
|
-
this.send(command, optionsOrCb);
|
|
831
|
-
}
|
|
832
|
-
else if (typeof cb === "function") {
|
|
833
|
-
if (typeof optionsOrCb !== "object")
|
|
834
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
835
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
836
|
-
}
|
|
837
|
-
else {
|
|
838
|
-
return this.send(command, optionsOrCb);
|
|
839
|
-
}
|
|
840
|
-
}
|
|
841
|
-
describeMaintenanceWindowsForTarget(args, optionsOrCb, cb) {
|
|
842
|
-
const command = new DescribeMaintenanceWindowsForTargetCommand(args);
|
|
843
|
-
if (typeof optionsOrCb === "function") {
|
|
844
|
-
this.send(command, optionsOrCb);
|
|
845
|
-
}
|
|
846
|
-
else if (typeof cb === "function") {
|
|
847
|
-
if (typeof optionsOrCb !== "object")
|
|
848
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
849
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
850
|
-
}
|
|
851
|
-
else {
|
|
852
|
-
return this.send(command, optionsOrCb);
|
|
853
|
-
}
|
|
854
|
-
}
|
|
855
|
-
describeMaintenanceWindowTargets(args, optionsOrCb, cb) {
|
|
856
|
-
const command = new DescribeMaintenanceWindowTargetsCommand(args);
|
|
857
|
-
if (typeof optionsOrCb === "function") {
|
|
858
|
-
this.send(command, optionsOrCb);
|
|
859
|
-
}
|
|
860
|
-
else if (typeof cb === "function") {
|
|
861
|
-
if (typeof optionsOrCb !== "object")
|
|
862
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
863
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
864
|
-
}
|
|
865
|
-
else {
|
|
866
|
-
return this.send(command, optionsOrCb);
|
|
867
|
-
}
|
|
868
|
-
}
|
|
869
|
-
describeMaintenanceWindowTasks(args, optionsOrCb, cb) {
|
|
870
|
-
const command = new DescribeMaintenanceWindowTasksCommand(args);
|
|
871
|
-
if (typeof optionsOrCb === "function") {
|
|
872
|
-
this.send(command, optionsOrCb);
|
|
873
|
-
}
|
|
874
|
-
else if (typeof cb === "function") {
|
|
875
|
-
if (typeof optionsOrCb !== "object")
|
|
876
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
877
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
878
|
-
}
|
|
879
|
-
else {
|
|
880
|
-
return this.send(command, optionsOrCb);
|
|
881
|
-
}
|
|
882
|
-
}
|
|
883
|
-
describeOpsItems(args, optionsOrCb, cb) {
|
|
884
|
-
const command = new DescribeOpsItemsCommand(args);
|
|
885
|
-
if (typeof optionsOrCb === "function") {
|
|
886
|
-
this.send(command, optionsOrCb);
|
|
887
|
-
}
|
|
888
|
-
else if (typeof cb === "function") {
|
|
889
|
-
if (typeof optionsOrCb !== "object")
|
|
890
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
891
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
892
|
-
}
|
|
893
|
-
else {
|
|
894
|
-
return this.send(command, optionsOrCb);
|
|
895
|
-
}
|
|
896
|
-
}
|
|
897
|
-
describeParameters(args, optionsOrCb, cb) {
|
|
898
|
-
const command = new DescribeParametersCommand(args);
|
|
899
|
-
if (typeof optionsOrCb === "function") {
|
|
900
|
-
this.send(command, optionsOrCb);
|
|
901
|
-
}
|
|
902
|
-
else if (typeof cb === "function") {
|
|
903
|
-
if (typeof optionsOrCb !== "object")
|
|
904
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
905
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
906
|
-
}
|
|
907
|
-
else {
|
|
908
|
-
return this.send(command, optionsOrCb);
|
|
909
|
-
}
|
|
910
|
-
}
|
|
911
|
-
describePatchBaselines(args, optionsOrCb, cb) {
|
|
912
|
-
const command = new DescribePatchBaselinesCommand(args);
|
|
913
|
-
if (typeof optionsOrCb === "function") {
|
|
914
|
-
this.send(command, optionsOrCb);
|
|
915
|
-
}
|
|
916
|
-
else if (typeof cb === "function") {
|
|
917
|
-
if (typeof optionsOrCb !== "object")
|
|
918
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
919
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
920
|
-
}
|
|
921
|
-
else {
|
|
922
|
-
return this.send(command, optionsOrCb);
|
|
923
|
-
}
|
|
924
|
-
}
|
|
925
|
-
describePatchGroups(args, optionsOrCb, cb) {
|
|
926
|
-
const command = new DescribePatchGroupsCommand(args);
|
|
927
|
-
if (typeof optionsOrCb === "function") {
|
|
928
|
-
this.send(command, optionsOrCb);
|
|
929
|
-
}
|
|
930
|
-
else if (typeof cb === "function") {
|
|
931
|
-
if (typeof optionsOrCb !== "object")
|
|
932
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
933
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
934
|
-
}
|
|
935
|
-
else {
|
|
936
|
-
return this.send(command, optionsOrCb);
|
|
937
|
-
}
|
|
938
|
-
}
|
|
939
|
-
describePatchGroupState(args, optionsOrCb, cb) {
|
|
940
|
-
const command = new DescribePatchGroupStateCommand(args);
|
|
941
|
-
if (typeof optionsOrCb === "function") {
|
|
942
|
-
this.send(command, optionsOrCb);
|
|
943
|
-
}
|
|
944
|
-
else if (typeof cb === "function") {
|
|
945
|
-
if (typeof optionsOrCb !== "object")
|
|
946
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
947
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
948
|
-
}
|
|
949
|
-
else {
|
|
950
|
-
return this.send(command, optionsOrCb);
|
|
951
|
-
}
|
|
952
|
-
}
|
|
953
|
-
describePatchProperties(args, optionsOrCb, cb) {
|
|
954
|
-
const command = new DescribePatchPropertiesCommand(args);
|
|
955
|
-
if (typeof optionsOrCb === "function") {
|
|
956
|
-
this.send(command, optionsOrCb);
|
|
957
|
-
}
|
|
958
|
-
else if (typeof cb === "function") {
|
|
959
|
-
if (typeof optionsOrCb !== "object")
|
|
960
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
961
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
962
|
-
}
|
|
963
|
-
else {
|
|
964
|
-
return this.send(command, optionsOrCb);
|
|
965
|
-
}
|
|
966
|
-
}
|
|
967
|
-
describeSessions(args, optionsOrCb, cb) {
|
|
968
|
-
const command = new DescribeSessionsCommand(args);
|
|
969
|
-
if (typeof optionsOrCb === "function") {
|
|
970
|
-
this.send(command, optionsOrCb);
|
|
971
|
-
}
|
|
972
|
-
else if (typeof cb === "function") {
|
|
973
|
-
if (typeof optionsOrCb !== "object")
|
|
974
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
975
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
976
|
-
}
|
|
977
|
-
else {
|
|
978
|
-
return this.send(command, optionsOrCb);
|
|
979
|
-
}
|
|
980
|
-
}
|
|
981
|
-
disassociateOpsItemRelatedItem(args, optionsOrCb, cb) {
|
|
982
|
-
const command = new DisassociateOpsItemRelatedItemCommand(args);
|
|
983
|
-
if (typeof optionsOrCb === "function") {
|
|
984
|
-
this.send(command, optionsOrCb);
|
|
985
|
-
}
|
|
986
|
-
else if (typeof cb === "function") {
|
|
987
|
-
if (typeof optionsOrCb !== "object")
|
|
988
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
989
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
990
|
-
}
|
|
991
|
-
else {
|
|
992
|
-
return this.send(command, optionsOrCb);
|
|
993
|
-
}
|
|
994
|
-
}
|
|
995
|
-
getAutomationExecution(args, optionsOrCb, cb) {
|
|
996
|
-
const command = new GetAutomationExecutionCommand(args);
|
|
997
|
-
if (typeof optionsOrCb === "function") {
|
|
998
|
-
this.send(command, optionsOrCb);
|
|
999
|
-
}
|
|
1000
|
-
else if (typeof cb === "function") {
|
|
1001
|
-
if (typeof optionsOrCb !== "object")
|
|
1002
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1003
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1004
|
-
}
|
|
1005
|
-
else {
|
|
1006
|
-
return this.send(command, optionsOrCb);
|
|
1007
|
-
}
|
|
1008
|
-
}
|
|
1009
|
-
getCalendarState(args, optionsOrCb, cb) {
|
|
1010
|
-
const command = new GetCalendarStateCommand(args);
|
|
1011
|
-
if (typeof optionsOrCb === "function") {
|
|
1012
|
-
this.send(command, optionsOrCb);
|
|
1013
|
-
}
|
|
1014
|
-
else if (typeof cb === "function") {
|
|
1015
|
-
if (typeof optionsOrCb !== "object")
|
|
1016
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1017
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1018
|
-
}
|
|
1019
|
-
else {
|
|
1020
|
-
return this.send(command, optionsOrCb);
|
|
1021
|
-
}
|
|
1022
|
-
}
|
|
1023
|
-
getCommandInvocation(args, optionsOrCb, cb) {
|
|
1024
|
-
const command = new GetCommandInvocationCommand(args);
|
|
1025
|
-
if (typeof optionsOrCb === "function") {
|
|
1026
|
-
this.send(command, optionsOrCb);
|
|
1027
|
-
}
|
|
1028
|
-
else if (typeof cb === "function") {
|
|
1029
|
-
if (typeof optionsOrCb !== "object")
|
|
1030
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1031
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1032
|
-
}
|
|
1033
|
-
else {
|
|
1034
|
-
return this.send(command, optionsOrCb);
|
|
1035
|
-
}
|
|
1036
|
-
}
|
|
1037
|
-
getConnectionStatus(args, optionsOrCb, cb) {
|
|
1038
|
-
const command = new GetConnectionStatusCommand(args);
|
|
1039
|
-
if (typeof optionsOrCb === "function") {
|
|
1040
|
-
this.send(command, optionsOrCb);
|
|
1041
|
-
}
|
|
1042
|
-
else if (typeof cb === "function") {
|
|
1043
|
-
if (typeof optionsOrCb !== "object")
|
|
1044
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1045
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1046
|
-
}
|
|
1047
|
-
else {
|
|
1048
|
-
return this.send(command, optionsOrCb);
|
|
1049
|
-
}
|
|
1050
|
-
}
|
|
1051
|
-
getDefaultPatchBaseline(args, optionsOrCb, cb) {
|
|
1052
|
-
const command = new GetDefaultPatchBaselineCommand(args);
|
|
1053
|
-
if (typeof optionsOrCb === "function") {
|
|
1054
|
-
this.send(command, optionsOrCb);
|
|
1055
|
-
}
|
|
1056
|
-
else if (typeof cb === "function") {
|
|
1057
|
-
if (typeof optionsOrCb !== "object")
|
|
1058
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1059
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1060
|
-
}
|
|
1061
|
-
else {
|
|
1062
|
-
return this.send(command, optionsOrCb);
|
|
1063
|
-
}
|
|
1064
|
-
}
|
|
1065
|
-
getDeployablePatchSnapshotForInstance(args, optionsOrCb, cb) {
|
|
1066
|
-
const command = new GetDeployablePatchSnapshotForInstanceCommand(args);
|
|
1067
|
-
if (typeof optionsOrCb === "function") {
|
|
1068
|
-
this.send(command, optionsOrCb);
|
|
1069
|
-
}
|
|
1070
|
-
else if (typeof cb === "function") {
|
|
1071
|
-
if (typeof optionsOrCb !== "object")
|
|
1072
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1073
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1074
|
-
}
|
|
1075
|
-
else {
|
|
1076
|
-
return this.send(command, optionsOrCb);
|
|
1077
|
-
}
|
|
1078
|
-
}
|
|
1079
|
-
getDocument(args, optionsOrCb, cb) {
|
|
1080
|
-
const command = new GetDocumentCommand(args);
|
|
1081
|
-
if (typeof optionsOrCb === "function") {
|
|
1082
|
-
this.send(command, optionsOrCb);
|
|
1083
|
-
}
|
|
1084
|
-
else if (typeof cb === "function") {
|
|
1085
|
-
if (typeof optionsOrCb !== "object")
|
|
1086
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1087
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1088
|
-
}
|
|
1089
|
-
else {
|
|
1090
|
-
return this.send(command, optionsOrCb);
|
|
1091
|
-
}
|
|
1092
|
-
}
|
|
1093
|
-
getInventory(args, optionsOrCb, cb) {
|
|
1094
|
-
const command = new GetInventoryCommand(args);
|
|
1095
|
-
if (typeof optionsOrCb === "function") {
|
|
1096
|
-
this.send(command, optionsOrCb);
|
|
1097
|
-
}
|
|
1098
|
-
else if (typeof cb === "function") {
|
|
1099
|
-
if (typeof optionsOrCb !== "object")
|
|
1100
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1101
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1102
|
-
}
|
|
1103
|
-
else {
|
|
1104
|
-
return this.send(command, optionsOrCb);
|
|
1105
|
-
}
|
|
1106
|
-
}
|
|
1107
|
-
getInventorySchema(args, optionsOrCb, cb) {
|
|
1108
|
-
const command = new GetInventorySchemaCommand(args);
|
|
1109
|
-
if (typeof optionsOrCb === "function") {
|
|
1110
|
-
this.send(command, optionsOrCb);
|
|
1111
|
-
}
|
|
1112
|
-
else if (typeof cb === "function") {
|
|
1113
|
-
if (typeof optionsOrCb !== "object")
|
|
1114
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1115
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1116
|
-
}
|
|
1117
|
-
else {
|
|
1118
|
-
return this.send(command, optionsOrCb);
|
|
1119
|
-
}
|
|
1120
|
-
}
|
|
1121
|
-
getMaintenanceWindow(args, optionsOrCb, cb) {
|
|
1122
|
-
const command = new GetMaintenanceWindowCommand(args);
|
|
1123
|
-
if (typeof optionsOrCb === "function") {
|
|
1124
|
-
this.send(command, optionsOrCb);
|
|
1125
|
-
}
|
|
1126
|
-
else if (typeof cb === "function") {
|
|
1127
|
-
if (typeof optionsOrCb !== "object")
|
|
1128
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1129
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1130
|
-
}
|
|
1131
|
-
else {
|
|
1132
|
-
return this.send(command, optionsOrCb);
|
|
1133
|
-
}
|
|
1134
|
-
}
|
|
1135
|
-
getMaintenanceWindowExecution(args, optionsOrCb, cb) {
|
|
1136
|
-
const command = new GetMaintenanceWindowExecutionCommand(args);
|
|
1137
|
-
if (typeof optionsOrCb === "function") {
|
|
1138
|
-
this.send(command, optionsOrCb);
|
|
1139
|
-
}
|
|
1140
|
-
else if (typeof cb === "function") {
|
|
1141
|
-
if (typeof optionsOrCb !== "object")
|
|
1142
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1143
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1144
|
-
}
|
|
1145
|
-
else {
|
|
1146
|
-
return this.send(command, optionsOrCb);
|
|
1147
|
-
}
|
|
1148
|
-
}
|
|
1149
|
-
getMaintenanceWindowExecutionTask(args, optionsOrCb, cb) {
|
|
1150
|
-
const command = new GetMaintenanceWindowExecutionTaskCommand(args);
|
|
1151
|
-
if (typeof optionsOrCb === "function") {
|
|
1152
|
-
this.send(command, optionsOrCb);
|
|
1153
|
-
}
|
|
1154
|
-
else if (typeof cb === "function") {
|
|
1155
|
-
if (typeof optionsOrCb !== "object")
|
|
1156
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1157
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1158
|
-
}
|
|
1159
|
-
else {
|
|
1160
|
-
return this.send(command, optionsOrCb);
|
|
1161
|
-
}
|
|
1162
|
-
}
|
|
1163
|
-
getMaintenanceWindowExecutionTaskInvocation(args, optionsOrCb, cb) {
|
|
1164
|
-
const command = new GetMaintenanceWindowExecutionTaskInvocationCommand(args);
|
|
1165
|
-
if (typeof optionsOrCb === "function") {
|
|
1166
|
-
this.send(command, optionsOrCb);
|
|
1167
|
-
}
|
|
1168
|
-
else if (typeof cb === "function") {
|
|
1169
|
-
if (typeof optionsOrCb !== "object")
|
|
1170
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1171
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1172
|
-
}
|
|
1173
|
-
else {
|
|
1174
|
-
return this.send(command, optionsOrCb);
|
|
1175
|
-
}
|
|
1176
|
-
}
|
|
1177
|
-
getMaintenanceWindowTask(args, optionsOrCb, cb) {
|
|
1178
|
-
const command = new GetMaintenanceWindowTaskCommand(args);
|
|
1179
|
-
if (typeof optionsOrCb === "function") {
|
|
1180
|
-
this.send(command, optionsOrCb);
|
|
1181
|
-
}
|
|
1182
|
-
else if (typeof cb === "function") {
|
|
1183
|
-
if (typeof optionsOrCb !== "object")
|
|
1184
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1185
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1186
|
-
}
|
|
1187
|
-
else {
|
|
1188
|
-
return this.send(command, optionsOrCb);
|
|
1189
|
-
}
|
|
1190
|
-
}
|
|
1191
|
-
getOpsItem(args, optionsOrCb, cb) {
|
|
1192
|
-
const command = new GetOpsItemCommand(args);
|
|
1193
|
-
if (typeof optionsOrCb === "function") {
|
|
1194
|
-
this.send(command, optionsOrCb);
|
|
1195
|
-
}
|
|
1196
|
-
else if (typeof cb === "function") {
|
|
1197
|
-
if (typeof optionsOrCb !== "object")
|
|
1198
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1199
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1200
|
-
}
|
|
1201
|
-
else {
|
|
1202
|
-
return this.send(command, optionsOrCb);
|
|
1203
|
-
}
|
|
1204
|
-
}
|
|
1205
|
-
getOpsMetadata(args, optionsOrCb, cb) {
|
|
1206
|
-
const command = new GetOpsMetadataCommand(args);
|
|
1207
|
-
if (typeof optionsOrCb === "function") {
|
|
1208
|
-
this.send(command, optionsOrCb);
|
|
1209
|
-
}
|
|
1210
|
-
else if (typeof cb === "function") {
|
|
1211
|
-
if (typeof optionsOrCb !== "object")
|
|
1212
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1213
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1214
|
-
}
|
|
1215
|
-
else {
|
|
1216
|
-
return this.send(command, optionsOrCb);
|
|
1217
|
-
}
|
|
1218
|
-
}
|
|
1219
|
-
getOpsSummary(args, optionsOrCb, cb) {
|
|
1220
|
-
const command = new GetOpsSummaryCommand(args);
|
|
1221
|
-
if (typeof optionsOrCb === "function") {
|
|
1222
|
-
this.send(command, optionsOrCb);
|
|
1223
|
-
}
|
|
1224
|
-
else if (typeof cb === "function") {
|
|
1225
|
-
if (typeof optionsOrCb !== "object")
|
|
1226
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1227
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1228
|
-
}
|
|
1229
|
-
else {
|
|
1230
|
-
return this.send(command, optionsOrCb);
|
|
1231
|
-
}
|
|
1232
|
-
}
|
|
1233
|
-
getParameter(args, optionsOrCb, cb) {
|
|
1234
|
-
const command = new GetParameterCommand(args);
|
|
1235
|
-
if (typeof optionsOrCb === "function") {
|
|
1236
|
-
this.send(command, optionsOrCb);
|
|
1237
|
-
}
|
|
1238
|
-
else if (typeof cb === "function") {
|
|
1239
|
-
if (typeof optionsOrCb !== "object")
|
|
1240
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1241
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1242
|
-
}
|
|
1243
|
-
else {
|
|
1244
|
-
return this.send(command, optionsOrCb);
|
|
1245
|
-
}
|
|
1246
|
-
}
|
|
1247
|
-
getParameterHistory(args, optionsOrCb, cb) {
|
|
1248
|
-
const command = new GetParameterHistoryCommand(args);
|
|
1249
|
-
if (typeof optionsOrCb === "function") {
|
|
1250
|
-
this.send(command, optionsOrCb);
|
|
1251
|
-
}
|
|
1252
|
-
else if (typeof cb === "function") {
|
|
1253
|
-
if (typeof optionsOrCb !== "object")
|
|
1254
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1255
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1256
|
-
}
|
|
1257
|
-
else {
|
|
1258
|
-
return this.send(command, optionsOrCb);
|
|
1259
|
-
}
|
|
1260
|
-
}
|
|
1261
|
-
getParameters(args, optionsOrCb, cb) {
|
|
1262
|
-
const command = new GetParametersCommand(args);
|
|
1263
|
-
if (typeof optionsOrCb === "function") {
|
|
1264
|
-
this.send(command, optionsOrCb);
|
|
1265
|
-
}
|
|
1266
|
-
else if (typeof cb === "function") {
|
|
1267
|
-
if (typeof optionsOrCb !== "object")
|
|
1268
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1269
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1270
|
-
}
|
|
1271
|
-
else {
|
|
1272
|
-
return this.send(command, optionsOrCb);
|
|
1273
|
-
}
|
|
1274
|
-
}
|
|
1275
|
-
getParametersByPath(args, optionsOrCb, cb) {
|
|
1276
|
-
const command = new GetParametersByPathCommand(args);
|
|
1277
|
-
if (typeof optionsOrCb === "function") {
|
|
1278
|
-
this.send(command, optionsOrCb);
|
|
1279
|
-
}
|
|
1280
|
-
else if (typeof cb === "function") {
|
|
1281
|
-
if (typeof optionsOrCb !== "object")
|
|
1282
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1283
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1284
|
-
}
|
|
1285
|
-
else {
|
|
1286
|
-
return this.send(command, optionsOrCb);
|
|
1287
|
-
}
|
|
1288
|
-
}
|
|
1289
|
-
getPatchBaseline(args, optionsOrCb, cb) {
|
|
1290
|
-
const command = new GetPatchBaselineCommand(args);
|
|
1291
|
-
if (typeof optionsOrCb === "function") {
|
|
1292
|
-
this.send(command, optionsOrCb);
|
|
1293
|
-
}
|
|
1294
|
-
else if (typeof cb === "function") {
|
|
1295
|
-
if (typeof optionsOrCb !== "object")
|
|
1296
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1297
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1298
|
-
}
|
|
1299
|
-
else {
|
|
1300
|
-
return this.send(command, optionsOrCb);
|
|
1301
|
-
}
|
|
1302
|
-
}
|
|
1303
|
-
getPatchBaselineForPatchGroup(args, optionsOrCb, cb) {
|
|
1304
|
-
const command = new GetPatchBaselineForPatchGroupCommand(args);
|
|
1305
|
-
if (typeof optionsOrCb === "function") {
|
|
1306
|
-
this.send(command, optionsOrCb);
|
|
1307
|
-
}
|
|
1308
|
-
else if (typeof cb === "function") {
|
|
1309
|
-
if (typeof optionsOrCb !== "object")
|
|
1310
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1311
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1312
|
-
}
|
|
1313
|
-
else {
|
|
1314
|
-
return this.send(command, optionsOrCb);
|
|
1315
|
-
}
|
|
1316
|
-
}
|
|
1317
|
-
getResourcePolicies(args, optionsOrCb, cb) {
|
|
1318
|
-
const command = new GetResourcePoliciesCommand(args);
|
|
1319
|
-
if (typeof optionsOrCb === "function") {
|
|
1320
|
-
this.send(command, optionsOrCb);
|
|
1321
|
-
}
|
|
1322
|
-
else if (typeof cb === "function") {
|
|
1323
|
-
if (typeof optionsOrCb !== "object")
|
|
1324
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1325
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1326
|
-
}
|
|
1327
|
-
else {
|
|
1328
|
-
return this.send(command, optionsOrCb);
|
|
1329
|
-
}
|
|
1330
|
-
}
|
|
1331
|
-
getServiceSetting(args, optionsOrCb, cb) {
|
|
1332
|
-
const command = new GetServiceSettingCommand(args);
|
|
1333
|
-
if (typeof optionsOrCb === "function") {
|
|
1334
|
-
this.send(command, optionsOrCb);
|
|
1335
|
-
}
|
|
1336
|
-
else if (typeof cb === "function") {
|
|
1337
|
-
if (typeof optionsOrCb !== "object")
|
|
1338
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1339
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1340
|
-
}
|
|
1341
|
-
else {
|
|
1342
|
-
return this.send(command, optionsOrCb);
|
|
1343
|
-
}
|
|
1344
|
-
}
|
|
1345
|
-
labelParameterVersion(args, optionsOrCb, cb) {
|
|
1346
|
-
const command = new LabelParameterVersionCommand(args);
|
|
1347
|
-
if (typeof optionsOrCb === "function") {
|
|
1348
|
-
this.send(command, optionsOrCb);
|
|
1349
|
-
}
|
|
1350
|
-
else if (typeof cb === "function") {
|
|
1351
|
-
if (typeof optionsOrCb !== "object")
|
|
1352
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1353
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1354
|
-
}
|
|
1355
|
-
else {
|
|
1356
|
-
return this.send(command, optionsOrCb);
|
|
1357
|
-
}
|
|
1358
|
-
}
|
|
1359
|
-
listAssociations(args, optionsOrCb, cb) {
|
|
1360
|
-
const command = new ListAssociationsCommand(args);
|
|
1361
|
-
if (typeof optionsOrCb === "function") {
|
|
1362
|
-
this.send(command, optionsOrCb);
|
|
1363
|
-
}
|
|
1364
|
-
else if (typeof cb === "function") {
|
|
1365
|
-
if (typeof optionsOrCb !== "object")
|
|
1366
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1367
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1368
|
-
}
|
|
1369
|
-
else {
|
|
1370
|
-
return this.send(command, optionsOrCb);
|
|
1371
|
-
}
|
|
1372
|
-
}
|
|
1373
|
-
listAssociationVersions(args, optionsOrCb, cb) {
|
|
1374
|
-
const command = new ListAssociationVersionsCommand(args);
|
|
1375
|
-
if (typeof optionsOrCb === "function") {
|
|
1376
|
-
this.send(command, optionsOrCb);
|
|
1377
|
-
}
|
|
1378
|
-
else if (typeof cb === "function") {
|
|
1379
|
-
if (typeof optionsOrCb !== "object")
|
|
1380
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1381
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1382
|
-
}
|
|
1383
|
-
else {
|
|
1384
|
-
return this.send(command, optionsOrCb);
|
|
1385
|
-
}
|
|
1386
|
-
}
|
|
1387
|
-
listCommandInvocations(args, optionsOrCb, cb) {
|
|
1388
|
-
const command = new ListCommandInvocationsCommand(args);
|
|
1389
|
-
if (typeof optionsOrCb === "function") {
|
|
1390
|
-
this.send(command, optionsOrCb);
|
|
1391
|
-
}
|
|
1392
|
-
else if (typeof cb === "function") {
|
|
1393
|
-
if (typeof optionsOrCb !== "object")
|
|
1394
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1395
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1396
|
-
}
|
|
1397
|
-
else {
|
|
1398
|
-
return this.send(command, optionsOrCb);
|
|
1399
|
-
}
|
|
1400
|
-
}
|
|
1401
|
-
listCommands(args, optionsOrCb, cb) {
|
|
1402
|
-
const command = new ListCommandsCommand(args);
|
|
1403
|
-
if (typeof optionsOrCb === "function") {
|
|
1404
|
-
this.send(command, optionsOrCb);
|
|
1405
|
-
}
|
|
1406
|
-
else if (typeof cb === "function") {
|
|
1407
|
-
if (typeof optionsOrCb !== "object")
|
|
1408
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1409
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1410
|
-
}
|
|
1411
|
-
else {
|
|
1412
|
-
return this.send(command, optionsOrCb);
|
|
1413
|
-
}
|
|
1414
|
-
}
|
|
1415
|
-
listComplianceItems(args, optionsOrCb, cb) {
|
|
1416
|
-
const command = new ListComplianceItemsCommand(args);
|
|
1417
|
-
if (typeof optionsOrCb === "function") {
|
|
1418
|
-
this.send(command, optionsOrCb);
|
|
1419
|
-
}
|
|
1420
|
-
else if (typeof cb === "function") {
|
|
1421
|
-
if (typeof optionsOrCb !== "object")
|
|
1422
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1423
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1424
|
-
}
|
|
1425
|
-
else {
|
|
1426
|
-
return this.send(command, optionsOrCb);
|
|
1427
|
-
}
|
|
1428
|
-
}
|
|
1429
|
-
listComplianceSummaries(args, optionsOrCb, cb) {
|
|
1430
|
-
const command = new ListComplianceSummariesCommand(args);
|
|
1431
|
-
if (typeof optionsOrCb === "function") {
|
|
1432
|
-
this.send(command, optionsOrCb);
|
|
1433
|
-
}
|
|
1434
|
-
else if (typeof cb === "function") {
|
|
1435
|
-
if (typeof optionsOrCb !== "object")
|
|
1436
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1437
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1438
|
-
}
|
|
1439
|
-
else {
|
|
1440
|
-
return this.send(command, optionsOrCb);
|
|
1441
|
-
}
|
|
1442
|
-
}
|
|
1443
|
-
listDocumentMetadataHistory(args, optionsOrCb, cb) {
|
|
1444
|
-
const command = new ListDocumentMetadataHistoryCommand(args);
|
|
1445
|
-
if (typeof optionsOrCb === "function") {
|
|
1446
|
-
this.send(command, optionsOrCb);
|
|
1447
|
-
}
|
|
1448
|
-
else if (typeof cb === "function") {
|
|
1449
|
-
if (typeof optionsOrCb !== "object")
|
|
1450
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1451
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1452
|
-
}
|
|
1453
|
-
else {
|
|
1454
|
-
return this.send(command, optionsOrCb);
|
|
1455
|
-
}
|
|
1456
|
-
}
|
|
1457
|
-
listDocuments(args, optionsOrCb, cb) {
|
|
1458
|
-
const command = new ListDocumentsCommand(args);
|
|
1459
|
-
if (typeof optionsOrCb === "function") {
|
|
1460
|
-
this.send(command, optionsOrCb);
|
|
1461
|
-
}
|
|
1462
|
-
else if (typeof cb === "function") {
|
|
1463
|
-
if (typeof optionsOrCb !== "object")
|
|
1464
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1465
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1466
|
-
}
|
|
1467
|
-
else {
|
|
1468
|
-
return this.send(command, optionsOrCb);
|
|
1469
|
-
}
|
|
1470
|
-
}
|
|
1471
|
-
listDocumentVersions(args, optionsOrCb, cb) {
|
|
1472
|
-
const command = new ListDocumentVersionsCommand(args);
|
|
1473
|
-
if (typeof optionsOrCb === "function") {
|
|
1474
|
-
this.send(command, optionsOrCb);
|
|
1475
|
-
}
|
|
1476
|
-
else if (typeof cb === "function") {
|
|
1477
|
-
if (typeof optionsOrCb !== "object")
|
|
1478
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1479
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1480
|
-
}
|
|
1481
|
-
else {
|
|
1482
|
-
return this.send(command, optionsOrCb);
|
|
1483
|
-
}
|
|
1484
|
-
}
|
|
1485
|
-
listInventoryEntries(args, optionsOrCb, cb) {
|
|
1486
|
-
const command = new ListInventoryEntriesCommand(args);
|
|
1487
|
-
if (typeof optionsOrCb === "function") {
|
|
1488
|
-
this.send(command, optionsOrCb);
|
|
1489
|
-
}
|
|
1490
|
-
else if (typeof cb === "function") {
|
|
1491
|
-
if (typeof optionsOrCb !== "object")
|
|
1492
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1493
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1494
|
-
}
|
|
1495
|
-
else {
|
|
1496
|
-
return this.send(command, optionsOrCb);
|
|
1497
|
-
}
|
|
1498
|
-
}
|
|
1499
|
-
listOpsItemEvents(args, optionsOrCb, cb) {
|
|
1500
|
-
const command = new ListOpsItemEventsCommand(args);
|
|
1501
|
-
if (typeof optionsOrCb === "function") {
|
|
1502
|
-
this.send(command, optionsOrCb);
|
|
1503
|
-
}
|
|
1504
|
-
else if (typeof cb === "function") {
|
|
1505
|
-
if (typeof optionsOrCb !== "object")
|
|
1506
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1507
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1508
|
-
}
|
|
1509
|
-
else {
|
|
1510
|
-
return this.send(command, optionsOrCb);
|
|
1511
|
-
}
|
|
1512
|
-
}
|
|
1513
|
-
listOpsItemRelatedItems(args, optionsOrCb, cb) {
|
|
1514
|
-
const command = new ListOpsItemRelatedItemsCommand(args);
|
|
1515
|
-
if (typeof optionsOrCb === "function") {
|
|
1516
|
-
this.send(command, optionsOrCb);
|
|
1517
|
-
}
|
|
1518
|
-
else if (typeof cb === "function") {
|
|
1519
|
-
if (typeof optionsOrCb !== "object")
|
|
1520
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1521
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1522
|
-
}
|
|
1523
|
-
else {
|
|
1524
|
-
return this.send(command, optionsOrCb);
|
|
1525
|
-
}
|
|
1526
|
-
}
|
|
1527
|
-
listOpsMetadata(args, optionsOrCb, cb) {
|
|
1528
|
-
const command = new ListOpsMetadataCommand(args);
|
|
1529
|
-
if (typeof optionsOrCb === "function") {
|
|
1530
|
-
this.send(command, optionsOrCb);
|
|
1531
|
-
}
|
|
1532
|
-
else if (typeof cb === "function") {
|
|
1533
|
-
if (typeof optionsOrCb !== "object")
|
|
1534
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1535
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1536
|
-
}
|
|
1537
|
-
else {
|
|
1538
|
-
return this.send(command, optionsOrCb);
|
|
1539
|
-
}
|
|
1540
|
-
}
|
|
1541
|
-
listResourceComplianceSummaries(args, optionsOrCb, cb) {
|
|
1542
|
-
const command = new ListResourceComplianceSummariesCommand(args);
|
|
1543
|
-
if (typeof optionsOrCb === "function") {
|
|
1544
|
-
this.send(command, optionsOrCb);
|
|
1545
|
-
}
|
|
1546
|
-
else if (typeof cb === "function") {
|
|
1547
|
-
if (typeof optionsOrCb !== "object")
|
|
1548
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1549
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1550
|
-
}
|
|
1551
|
-
else {
|
|
1552
|
-
return this.send(command, optionsOrCb);
|
|
1553
|
-
}
|
|
1554
|
-
}
|
|
1555
|
-
listResourceDataSync(args, optionsOrCb, cb) {
|
|
1556
|
-
const command = new ListResourceDataSyncCommand(args);
|
|
1557
|
-
if (typeof optionsOrCb === "function") {
|
|
1558
|
-
this.send(command, optionsOrCb);
|
|
1559
|
-
}
|
|
1560
|
-
else if (typeof cb === "function") {
|
|
1561
|
-
if (typeof optionsOrCb !== "object")
|
|
1562
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1563
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1564
|
-
}
|
|
1565
|
-
else {
|
|
1566
|
-
return this.send(command, optionsOrCb);
|
|
1567
|
-
}
|
|
1568
|
-
}
|
|
1569
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
1570
|
-
const command = new ListTagsForResourceCommand(args);
|
|
1571
|
-
if (typeof optionsOrCb === "function") {
|
|
1572
|
-
this.send(command, optionsOrCb);
|
|
1573
|
-
}
|
|
1574
|
-
else if (typeof cb === "function") {
|
|
1575
|
-
if (typeof optionsOrCb !== "object")
|
|
1576
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1577
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1578
|
-
}
|
|
1579
|
-
else {
|
|
1580
|
-
return this.send(command, optionsOrCb);
|
|
1581
|
-
}
|
|
1582
|
-
}
|
|
1583
|
-
modifyDocumentPermission(args, optionsOrCb, cb) {
|
|
1584
|
-
const command = new ModifyDocumentPermissionCommand(args);
|
|
1585
|
-
if (typeof optionsOrCb === "function") {
|
|
1586
|
-
this.send(command, optionsOrCb);
|
|
1587
|
-
}
|
|
1588
|
-
else if (typeof cb === "function") {
|
|
1589
|
-
if (typeof optionsOrCb !== "object")
|
|
1590
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1591
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1592
|
-
}
|
|
1593
|
-
else {
|
|
1594
|
-
return this.send(command, optionsOrCb);
|
|
1595
|
-
}
|
|
1596
|
-
}
|
|
1597
|
-
putComplianceItems(args, optionsOrCb, cb) {
|
|
1598
|
-
const command = new PutComplianceItemsCommand(args);
|
|
1599
|
-
if (typeof optionsOrCb === "function") {
|
|
1600
|
-
this.send(command, optionsOrCb);
|
|
1601
|
-
}
|
|
1602
|
-
else if (typeof cb === "function") {
|
|
1603
|
-
if (typeof optionsOrCb !== "object")
|
|
1604
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1605
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1606
|
-
}
|
|
1607
|
-
else {
|
|
1608
|
-
return this.send(command, optionsOrCb);
|
|
1609
|
-
}
|
|
1610
|
-
}
|
|
1611
|
-
putInventory(args, optionsOrCb, cb) {
|
|
1612
|
-
const command = new PutInventoryCommand(args);
|
|
1613
|
-
if (typeof optionsOrCb === "function") {
|
|
1614
|
-
this.send(command, optionsOrCb);
|
|
1615
|
-
}
|
|
1616
|
-
else if (typeof cb === "function") {
|
|
1617
|
-
if (typeof optionsOrCb !== "object")
|
|
1618
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1619
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1620
|
-
}
|
|
1621
|
-
else {
|
|
1622
|
-
return this.send(command, optionsOrCb);
|
|
1623
|
-
}
|
|
1624
|
-
}
|
|
1625
|
-
putParameter(args, optionsOrCb, cb) {
|
|
1626
|
-
const command = new PutParameterCommand(args);
|
|
1627
|
-
if (typeof optionsOrCb === "function") {
|
|
1628
|
-
this.send(command, optionsOrCb);
|
|
1629
|
-
}
|
|
1630
|
-
else if (typeof cb === "function") {
|
|
1631
|
-
if (typeof optionsOrCb !== "object")
|
|
1632
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1633
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1634
|
-
}
|
|
1635
|
-
else {
|
|
1636
|
-
return this.send(command, optionsOrCb);
|
|
1637
|
-
}
|
|
1638
|
-
}
|
|
1639
|
-
putResourcePolicy(args, optionsOrCb, cb) {
|
|
1640
|
-
const command = new PutResourcePolicyCommand(args);
|
|
1641
|
-
if (typeof optionsOrCb === "function") {
|
|
1642
|
-
this.send(command, optionsOrCb);
|
|
1643
|
-
}
|
|
1644
|
-
else if (typeof cb === "function") {
|
|
1645
|
-
if (typeof optionsOrCb !== "object")
|
|
1646
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1647
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1648
|
-
}
|
|
1649
|
-
else {
|
|
1650
|
-
return this.send(command, optionsOrCb);
|
|
1651
|
-
}
|
|
1652
|
-
}
|
|
1653
|
-
registerDefaultPatchBaseline(args, optionsOrCb, cb) {
|
|
1654
|
-
const command = new RegisterDefaultPatchBaselineCommand(args);
|
|
1655
|
-
if (typeof optionsOrCb === "function") {
|
|
1656
|
-
this.send(command, optionsOrCb);
|
|
1657
|
-
}
|
|
1658
|
-
else if (typeof cb === "function") {
|
|
1659
|
-
if (typeof optionsOrCb !== "object")
|
|
1660
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1661
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1662
|
-
}
|
|
1663
|
-
else {
|
|
1664
|
-
return this.send(command, optionsOrCb);
|
|
1665
|
-
}
|
|
1666
|
-
}
|
|
1667
|
-
registerPatchBaselineForPatchGroup(args, optionsOrCb, cb) {
|
|
1668
|
-
const command = new RegisterPatchBaselineForPatchGroupCommand(args);
|
|
1669
|
-
if (typeof optionsOrCb === "function") {
|
|
1670
|
-
this.send(command, optionsOrCb);
|
|
1671
|
-
}
|
|
1672
|
-
else if (typeof cb === "function") {
|
|
1673
|
-
if (typeof optionsOrCb !== "object")
|
|
1674
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1675
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1676
|
-
}
|
|
1677
|
-
else {
|
|
1678
|
-
return this.send(command, optionsOrCb);
|
|
1679
|
-
}
|
|
1680
|
-
}
|
|
1681
|
-
registerTargetWithMaintenanceWindow(args, optionsOrCb, cb) {
|
|
1682
|
-
const command = new RegisterTargetWithMaintenanceWindowCommand(args);
|
|
1683
|
-
if (typeof optionsOrCb === "function") {
|
|
1684
|
-
this.send(command, optionsOrCb);
|
|
1685
|
-
}
|
|
1686
|
-
else if (typeof cb === "function") {
|
|
1687
|
-
if (typeof optionsOrCb !== "object")
|
|
1688
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1689
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1690
|
-
}
|
|
1691
|
-
else {
|
|
1692
|
-
return this.send(command, optionsOrCb);
|
|
1693
|
-
}
|
|
1694
|
-
}
|
|
1695
|
-
registerTaskWithMaintenanceWindow(args, optionsOrCb, cb) {
|
|
1696
|
-
const command = new RegisterTaskWithMaintenanceWindowCommand(args);
|
|
1697
|
-
if (typeof optionsOrCb === "function") {
|
|
1698
|
-
this.send(command, optionsOrCb);
|
|
1699
|
-
}
|
|
1700
|
-
else if (typeof cb === "function") {
|
|
1701
|
-
if (typeof optionsOrCb !== "object")
|
|
1702
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1703
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1704
|
-
}
|
|
1705
|
-
else {
|
|
1706
|
-
return this.send(command, optionsOrCb);
|
|
1707
|
-
}
|
|
1708
|
-
}
|
|
1709
|
-
removeTagsFromResource(args, optionsOrCb, cb) {
|
|
1710
|
-
const command = new RemoveTagsFromResourceCommand(args);
|
|
1711
|
-
if (typeof optionsOrCb === "function") {
|
|
1712
|
-
this.send(command, optionsOrCb);
|
|
1713
|
-
}
|
|
1714
|
-
else if (typeof cb === "function") {
|
|
1715
|
-
if (typeof optionsOrCb !== "object")
|
|
1716
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1717
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1718
|
-
}
|
|
1719
|
-
else {
|
|
1720
|
-
return this.send(command, optionsOrCb);
|
|
1721
|
-
}
|
|
1722
|
-
}
|
|
1723
|
-
resetServiceSetting(args, optionsOrCb, cb) {
|
|
1724
|
-
const command = new ResetServiceSettingCommand(args);
|
|
1725
|
-
if (typeof optionsOrCb === "function") {
|
|
1726
|
-
this.send(command, optionsOrCb);
|
|
1727
|
-
}
|
|
1728
|
-
else if (typeof cb === "function") {
|
|
1729
|
-
if (typeof optionsOrCb !== "object")
|
|
1730
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1731
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1732
|
-
}
|
|
1733
|
-
else {
|
|
1734
|
-
return this.send(command, optionsOrCb);
|
|
1735
|
-
}
|
|
1736
|
-
}
|
|
1737
|
-
resumeSession(args, optionsOrCb, cb) {
|
|
1738
|
-
const command = new ResumeSessionCommand(args);
|
|
1739
|
-
if (typeof optionsOrCb === "function") {
|
|
1740
|
-
this.send(command, optionsOrCb);
|
|
1741
|
-
}
|
|
1742
|
-
else if (typeof cb === "function") {
|
|
1743
|
-
if (typeof optionsOrCb !== "object")
|
|
1744
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1745
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1746
|
-
}
|
|
1747
|
-
else {
|
|
1748
|
-
return this.send(command, optionsOrCb);
|
|
1749
|
-
}
|
|
1750
|
-
}
|
|
1751
|
-
sendAutomationSignal(args, optionsOrCb, cb) {
|
|
1752
|
-
const command = new SendAutomationSignalCommand(args);
|
|
1753
|
-
if (typeof optionsOrCb === "function") {
|
|
1754
|
-
this.send(command, optionsOrCb);
|
|
1755
|
-
}
|
|
1756
|
-
else if (typeof cb === "function") {
|
|
1757
|
-
if (typeof optionsOrCb !== "object")
|
|
1758
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1759
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1760
|
-
}
|
|
1761
|
-
else {
|
|
1762
|
-
return this.send(command, optionsOrCb);
|
|
1763
|
-
}
|
|
1764
|
-
}
|
|
1765
|
-
sendCommand(args, optionsOrCb, cb) {
|
|
1766
|
-
const command = new SendCommandCommand(args);
|
|
1767
|
-
if (typeof optionsOrCb === "function") {
|
|
1768
|
-
this.send(command, optionsOrCb);
|
|
1769
|
-
}
|
|
1770
|
-
else if (typeof cb === "function") {
|
|
1771
|
-
if (typeof optionsOrCb !== "object")
|
|
1772
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1773
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1774
|
-
}
|
|
1775
|
-
else {
|
|
1776
|
-
return this.send(command, optionsOrCb);
|
|
1777
|
-
}
|
|
1778
|
-
}
|
|
1779
|
-
startAssociationsOnce(args, optionsOrCb, cb) {
|
|
1780
|
-
const command = new StartAssociationsOnceCommand(args);
|
|
1781
|
-
if (typeof optionsOrCb === "function") {
|
|
1782
|
-
this.send(command, optionsOrCb);
|
|
1783
|
-
}
|
|
1784
|
-
else if (typeof cb === "function") {
|
|
1785
|
-
if (typeof optionsOrCb !== "object")
|
|
1786
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1787
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1788
|
-
}
|
|
1789
|
-
else {
|
|
1790
|
-
return this.send(command, optionsOrCb);
|
|
1791
|
-
}
|
|
1792
|
-
}
|
|
1793
|
-
startAutomationExecution(args, optionsOrCb, cb) {
|
|
1794
|
-
const command = new StartAutomationExecutionCommand(args);
|
|
1795
|
-
if (typeof optionsOrCb === "function") {
|
|
1796
|
-
this.send(command, optionsOrCb);
|
|
1797
|
-
}
|
|
1798
|
-
else if (typeof cb === "function") {
|
|
1799
|
-
if (typeof optionsOrCb !== "object")
|
|
1800
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1801
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1802
|
-
}
|
|
1803
|
-
else {
|
|
1804
|
-
return this.send(command, optionsOrCb);
|
|
1805
|
-
}
|
|
1806
|
-
}
|
|
1807
|
-
startChangeRequestExecution(args, optionsOrCb, cb) {
|
|
1808
|
-
const command = new StartChangeRequestExecutionCommand(args);
|
|
1809
|
-
if (typeof optionsOrCb === "function") {
|
|
1810
|
-
this.send(command, optionsOrCb);
|
|
1811
|
-
}
|
|
1812
|
-
else if (typeof cb === "function") {
|
|
1813
|
-
if (typeof optionsOrCb !== "object")
|
|
1814
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1815
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1816
|
-
}
|
|
1817
|
-
else {
|
|
1818
|
-
return this.send(command, optionsOrCb);
|
|
1819
|
-
}
|
|
1820
|
-
}
|
|
1821
|
-
startSession(args, optionsOrCb, cb) {
|
|
1822
|
-
const command = new StartSessionCommand(args);
|
|
1823
|
-
if (typeof optionsOrCb === "function") {
|
|
1824
|
-
this.send(command, optionsOrCb);
|
|
1825
|
-
}
|
|
1826
|
-
else if (typeof cb === "function") {
|
|
1827
|
-
if (typeof optionsOrCb !== "object")
|
|
1828
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1829
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1830
|
-
}
|
|
1831
|
-
else {
|
|
1832
|
-
return this.send(command, optionsOrCb);
|
|
1833
|
-
}
|
|
1834
|
-
}
|
|
1835
|
-
stopAutomationExecution(args, optionsOrCb, cb) {
|
|
1836
|
-
const command = new StopAutomationExecutionCommand(args);
|
|
1837
|
-
if (typeof optionsOrCb === "function") {
|
|
1838
|
-
this.send(command, optionsOrCb);
|
|
1839
|
-
}
|
|
1840
|
-
else if (typeof cb === "function") {
|
|
1841
|
-
if (typeof optionsOrCb !== "object")
|
|
1842
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1843
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1844
|
-
}
|
|
1845
|
-
else {
|
|
1846
|
-
return this.send(command, optionsOrCb);
|
|
1847
|
-
}
|
|
1848
|
-
}
|
|
1849
|
-
terminateSession(args, optionsOrCb, cb) {
|
|
1850
|
-
const command = new TerminateSessionCommand(args);
|
|
1851
|
-
if (typeof optionsOrCb === "function") {
|
|
1852
|
-
this.send(command, optionsOrCb);
|
|
1853
|
-
}
|
|
1854
|
-
else if (typeof cb === "function") {
|
|
1855
|
-
if (typeof optionsOrCb !== "object")
|
|
1856
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1857
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1858
|
-
}
|
|
1859
|
-
else {
|
|
1860
|
-
return this.send(command, optionsOrCb);
|
|
1861
|
-
}
|
|
1862
|
-
}
|
|
1863
|
-
unlabelParameterVersion(args, optionsOrCb, cb) {
|
|
1864
|
-
const command = new UnlabelParameterVersionCommand(args);
|
|
1865
|
-
if (typeof optionsOrCb === "function") {
|
|
1866
|
-
this.send(command, optionsOrCb);
|
|
1867
|
-
}
|
|
1868
|
-
else if (typeof cb === "function") {
|
|
1869
|
-
if (typeof optionsOrCb !== "object")
|
|
1870
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1871
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1872
|
-
}
|
|
1873
|
-
else {
|
|
1874
|
-
return this.send(command, optionsOrCb);
|
|
1875
|
-
}
|
|
1876
|
-
}
|
|
1877
|
-
updateAssociation(args, optionsOrCb, cb) {
|
|
1878
|
-
const command = new UpdateAssociationCommand(args);
|
|
1879
|
-
if (typeof optionsOrCb === "function") {
|
|
1880
|
-
this.send(command, optionsOrCb);
|
|
1881
|
-
}
|
|
1882
|
-
else if (typeof cb === "function") {
|
|
1883
|
-
if (typeof optionsOrCb !== "object")
|
|
1884
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1885
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1886
|
-
}
|
|
1887
|
-
else {
|
|
1888
|
-
return this.send(command, optionsOrCb);
|
|
1889
|
-
}
|
|
1890
|
-
}
|
|
1891
|
-
updateAssociationStatus(args, optionsOrCb, cb) {
|
|
1892
|
-
const command = new UpdateAssociationStatusCommand(args);
|
|
1893
|
-
if (typeof optionsOrCb === "function") {
|
|
1894
|
-
this.send(command, optionsOrCb);
|
|
1895
|
-
}
|
|
1896
|
-
else if (typeof cb === "function") {
|
|
1897
|
-
if (typeof optionsOrCb !== "object")
|
|
1898
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1899
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1900
|
-
}
|
|
1901
|
-
else {
|
|
1902
|
-
return this.send(command, optionsOrCb);
|
|
1903
|
-
}
|
|
1904
|
-
}
|
|
1905
|
-
updateDocument(args, optionsOrCb, cb) {
|
|
1906
|
-
const command = new UpdateDocumentCommand(args);
|
|
1907
|
-
if (typeof optionsOrCb === "function") {
|
|
1908
|
-
this.send(command, optionsOrCb);
|
|
1909
|
-
}
|
|
1910
|
-
else if (typeof cb === "function") {
|
|
1911
|
-
if (typeof optionsOrCb !== "object")
|
|
1912
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1913
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1914
|
-
}
|
|
1915
|
-
else {
|
|
1916
|
-
return this.send(command, optionsOrCb);
|
|
1917
|
-
}
|
|
1918
|
-
}
|
|
1919
|
-
updateDocumentDefaultVersion(args, optionsOrCb, cb) {
|
|
1920
|
-
const command = new UpdateDocumentDefaultVersionCommand(args);
|
|
1921
|
-
if (typeof optionsOrCb === "function") {
|
|
1922
|
-
this.send(command, optionsOrCb);
|
|
1923
|
-
}
|
|
1924
|
-
else if (typeof cb === "function") {
|
|
1925
|
-
if (typeof optionsOrCb !== "object")
|
|
1926
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1927
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1928
|
-
}
|
|
1929
|
-
else {
|
|
1930
|
-
return this.send(command, optionsOrCb);
|
|
1931
|
-
}
|
|
1932
|
-
}
|
|
1933
|
-
updateDocumentMetadata(args, optionsOrCb, cb) {
|
|
1934
|
-
const command = new UpdateDocumentMetadataCommand(args);
|
|
1935
|
-
if (typeof optionsOrCb === "function") {
|
|
1936
|
-
this.send(command, optionsOrCb);
|
|
1937
|
-
}
|
|
1938
|
-
else if (typeof cb === "function") {
|
|
1939
|
-
if (typeof optionsOrCb !== "object")
|
|
1940
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1941
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1942
|
-
}
|
|
1943
|
-
else {
|
|
1944
|
-
return this.send(command, optionsOrCb);
|
|
1945
|
-
}
|
|
1946
|
-
}
|
|
1947
|
-
updateMaintenanceWindow(args, optionsOrCb, cb) {
|
|
1948
|
-
const command = new UpdateMaintenanceWindowCommand(args);
|
|
1949
|
-
if (typeof optionsOrCb === "function") {
|
|
1950
|
-
this.send(command, optionsOrCb);
|
|
1951
|
-
}
|
|
1952
|
-
else if (typeof cb === "function") {
|
|
1953
|
-
if (typeof optionsOrCb !== "object")
|
|
1954
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1955
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1956
|
-
}
|
|
1957
|
-
else {
|
|
1958
|
-
return this.send(command, optionsOrCb);
|
|
1959
|
-
}
|
|
1960
|
-
}
|
|
1961
|
-
updateMaintenanceWindowTarget(args, optionsOrCb, cb) {
|
|
1962
|
-
const command = new UpdateMaintenanceWindowTargetCommand(args);
|
|
1963
|
-
if (typeof optionsOrCb === "function") {
|
|
1964
|
-
this.send(command, optionsOrCb);
|
|
1965
|
-
}
|
|
1966
|
-
else if (typeof cb === "function") {
|
|
1967
|
-
if (typeof optionsOrCb !== "object")
|
|
1968
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1969
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1970
|
-
}
|
|
1971
|
-
else {
|
|
1972
|
-
return this.send(command, optionsOrCb);
|
|
1973
|
-
}
|
|
1974
|
-
}
|
|
1975
|
-
updateMaintenanceWindowTask(args, optionsOrCb, cb) {
|
|
1976
|
-
const command = new UpdateMaintenanceWindowTaskCommand(args);
|
|
1977
|
-
if (typeof optionsOrCb === "function") {
|
|
1978
|
-
this.send(command, optionsOrCb);
|
|
1979
|
-
}
|
|
1980
|
-
else if (typeof cb === "function") {
|
|
1981
|
-
if (typeof optionsOrCb !== "object")
|
|
1982
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1983
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1984
|
-
}
|
|
1985
|
-
else {
|
|
1986
|
-
return this.send(command, optionsOrCb);
|
|
1987
|
-
}
|
|
1988
|
-
}
|
|
1989
|
-
updateManagedInstanceRole(args, optionsOrCb, cb) {
|
|
1990
|
-
const command = new UpdateManagedInstanceRoleCommand(args);
|
|
1991
|
-
if (typeof optionsOrCb === "function") {
|
|
1992
|
-
this.send(command, optionsOrCb);
|
|
1993
|
-
}
|
|
1994
|
-
else if (typeof cb === "function") {
|
|
1995
|
-
if (typeof optionsOrCb !== "object")
|
|
1996
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1997
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1998
|
-
}
|
|
1999
|
-
else {
|
|
2000
|
-
return this.send(command, optionsOrCb);
|
|
2001
|
-
}
|
|
2002
|
-
}
|
|
2003
|
-
updateOpsItem(args, optionsOrCb, cb) {
|
|
2004
|
-
const command = new UpdateOpsItemCommand(args);
|
|
2005
|
-
if (typeof optionsOrCb === "function") {
|
|
2006
|
-
this.send(command, optionsOrCb);
|
|
2007
|
-
}
|
|
2008
|
-
else if (typeof cb === "function") {
|
|
2009
|
-
if (typeof optionsOrCb !== "object")
|
|
2010
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2011
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2012
|
-
}
|
|
2013
|
-
else {
|
|
2014
|
-
return this.send(command, optionsOrCb);
|
|
2015
|
-
}
|
|
2016
|
-
}
|
|
2017
|
-
updateOpsMetadata(args, optionsOrCb, cb) {
|
|
2018
|
-
const command = new UpdateOpsMetadataCommand(args);
|
|
2019
|
-
if (typeof optionsOrCb === "function") {
|
|
2020
|
-
this.send(command, optionsOrCb);
|
|
2021
|
-
}
|
|
2022
|
-
else if (typeof cb === "function") {
|
|
2023
|
-
if (typeof optionsOrCb !== "object")
|
|
2024
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2025
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2026
|
-
}
|
|
2027
|
-
else {
|
|
2028
|
-
return this.send(command, optionsOrCb);
|
|
2029
|
-
}
|
|
2030
|
-
}
|
|
2031
|
-
updatePatchBaseline(args, optionsOrCb, cb) {
|
|
2032
|
-
const command = new UpdatePatchBaselineCommand(args);
|
|
2033
|
-
if (typeof optionsOrCb === "function") {
|
|
2034
|
-
this.send(command, optionsOrCb);
|
|
2035
|
-
}
|
|
2036
|
-
else if (typeof cb === "function") {
|
|
2037
|
-
if (typeof optionsOrCb !== "object")
|
|
2038
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2039
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2040
|
-
}
|
|
2041
|
-
else {
|
|
2042
|
-
return this.send(command, optionsOrCb);
|
|
2043
|
-
}
|
|
2044
|
-
}
|
|
2045
|
-
updateResourceDataSync(args, optionsOrCb, cb) {
|
|
2046
|
-
const command = new UpdateResourceDataSyncCommand(args);
|
|
2047
|
-
if (typeof optionsOrCb === "function") {
|
|
2048
|
-
this.send(command, optionsOrCb);
|
|
2049
|
-
}
|
|
2050
|
-
else if (typeof cb === "function") {
|
|
2051
|
-
if (typeof optionsOrCb !== "object")
|
|
2052
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2053
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2054
|
-
}
|
|
2055
|
-
else {
|
|
2056
|
-
return this.send(command, optionsOrCb);
|
|
2057
|
-
}
|
|
2058
|
-
}
|
|
2059
|
-
updateServiceSetting(args, optionsOrCb, cb) {
|
|
2060
|
-
const command = new UpdateServiceSettingCommand(args);
|
|
2061
|
-
if (typeof optionsOrCb === "function") {
|
|
2062
|
-
this.send(command, optionsOrCb);
|
|
2063
|
-
}
|
|
2064
|
-
else if (typeof cb === "function") {
|
|
2065
|
-
if (typeof optionsOrCb !== "object")
|
|
2066
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2067
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2068
|
-
}
|
|
2069
|
-
else {
|
|
2070
|
-
return this.send(command, optionsOrCb);
|
|
2071
|
-
}
|
|
2072
|
-
}
|
|
2073
282
|
}
|
|
283
|
+
createAggregatedClient(commands, SSM);
|