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