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