@aws-sdk/client-storage-gateway 3.186.0 → 3.190.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 +16 -0
- package/dist-es/StorageGateway.js +362 -369
- package/dist-es/StorageGatewayClient.js +22 -28
- package/dist-es/commands/ActivateGatewayCommand.js +21 -28
- package/dist-es/commands/AddCacheCommand.js +21 -28
- package/dist-es/commands/AddTagsToResourceCommand.js +21 -28
- package/dist-es/commands/AddUploadBufferCommand.js +21 -28
- package/dist-es/commands/AddWorkingStorageCommand.js +21 -28
- package/dist-es/commands/AssignTapePoolCommand.js +21 -28
- package/dist-es/commands/AssociateFileSystemCommand.js +21 -28
- package/dist-es/commands/AttachVolumeCommand.js +21 -28
- package/dist-es/commands/CancelArchivalCommand.js +21 -28
- package/dist-es/commands/CancelRetrievalCommand.js +21 -28
- package/dist-es/commands/CreateCachediSCSIVolumeCommand.js +21 -28
- package/dist-es/commands/CreateNFSFileShareCommand.js +21 -28
- package/dist-es/commands/CreateSMBFileShareCommand.js +21 -28
- package/dist-es/commands/CreateSnapshotCommand.js +21 -28
- package/dist-es/commands/CreateSnapshotFromVolumeRecoveryPointCommand.js +21 -28
- package/dist-es/commands/CreateStorediSCSIVolumeCommand.js +21 -28
- package/dist-es/commands/CreateTapePoolCommand.js +21 -28
- package/dist-es/commands/CreateTapeWithBarcodeCommand.js +21 -28
- package/dist-es/commands/CreateTapesCommand.js +21 -28
- package/dist-es/commands/DeleteAutomaticTapeCreationPolicyCommand.js +21 -28
- package/dist-es/commands/DeleteBandwidthRateLimitCommand.js +21 -28
- package/dist-es/commands/DeleteChapCredentialsCommand.js +21 -28
- package/dist-es/commands/DeleteFileShareCommand.js +21 -28
- package/dist-es/commands/DeleteGatewayCommand.js +21 -28
- package/dist-es/commands/DeleteSnapshotScheduleCommand.js +21 -28
- package/dist-es/commands/DeleteTapeArchiveCommand.js +21 -28
- package/dist-es/commands/DeleteTapeCommand.js +21 -28
- package/dist-es/commands/DeleteTapePoolCommand.js +21 -28
- package/dist-es/commands/DeleteVolumeCommand.js +21 -28
- package/dist-es/commands/DescribeAvailabilityMonitorTestCommand.js +21 -28
- package/dist-es/commands/DescribeBandwidthRateLimitCommand.js +21 -28
- package/dist-es/commands/DescribeBandwidthRateLimitScheduleCommand.js +21 -28
- package/dist-es/commands/DescribeCacheCommand.js +21 -28
- package/dist-es/commands/DescribeCachediSCSIVolumesCommand.js +21 -28
- package/dist-es/commands/DescribeChapCredentialsCommand.js +21 -28
- package/dist-es/commands/DescribeFileSystemAssociationsCommand.js +21 -28
- package/dist-es/commands/DescribeGatewayInformationCommand.js +21 -28
- package/dist-es/commands/DescribeMaintenanceStartTimeCommand.js +21 -28
- package/dist-es/commands/DescribeNFSFileSharesCommand.js +21 -28
- package/dist-es/commands/DescribeSMBFileSharesCommand.js +21 -28
- package/dist-es/commands/DescribeSMBSettingsCommand.js +21 -28
- package/dist-es/commands/DescribeSnapshotScheduleCommand.js +21 -28
- package/dist-es/commands/DescribeStorediSCSIVolumesCommand.js +21 -28
- package/dist-es/commands/DescribeTapeArchivesCommand.js +21 -28
- package/dist-es/commands/DescribeTapeRecoveryPointsCommand.js +21 -28
- package/dist-es/commands/DescribeTapesCommand.js +21 -28
- package/dist-es/commands/DescribeUploadBufferCommand.js +21 -28
- package/dist-es/commands/DescribeVTLDevicesCommand.js +21 -28
- package/dist-es/commands/DescribeWorkingStorageCommand.js +21 -28
- package/dist-es/commands/DetachVolumeCommand.js +21 -28
- package/dist-es/commands/DisableGatewayCommand.js +21 -28
- package/dist-es/commands/DisassociateFileSystemCommand.js +21 -28
- package/dist-es/commands/JoinDomainCommand.js +21 -28
- package/dist-es/commands/ListAutomaticTapeCreationPoliciesCommand.js +21 -28
- package/dist-es/commands/ListFileSharesCommand.js +21 -28
- package/dist-es/commands/ListFileSystemAssociationsCommand.js +21 -28
- package/dist-es/commands/ListGatewaysCommand.js +21 -28
- package/dist-es/commands/ListLocalDisksCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/ListTapePoolsCommand.js +21 -28
- package/dist-es/commands/ListTapesCommand.js +21 -28
- package/dist-es/commands/ListVolumeInitiatorsCommand.js +21 -28
- package/dist-es/commands/ListVolumeRecoveryPointsCommand.js +21 -28
- package/dist-es/commands/ListVolumesCommand.js +21 -28
- package/dist-es/commands/NotifyWhenUploadedCommand.js +21 -28
- package/dist-es/commands/RefreshCacheCommand.js +21 -28
- package/dist-es/commands/RemoveTagsFromResourceCommand.js +21 -28
- package/dist-es/commands/ResetCacheCommand.js +21 -28
- package/dist-es/commands/RetrieveTapeArchiveCommand.js +21 -28
- package/dist-es/commands/RetrieveTapeRecoveryPointCommand.js +21 -28
- package/dist-es/commands/SetLocalConsolePasswordCommand.js +21 -28
- package/dist-es/commands/SetSMBGuestPasswordCommand.js +21 -28
- package/dist-es/commands/ShutdownGatewayCommand.js +21 -28
- package/dist-es/commands/StartAvailabilityMonitorTestCommand.js +21 -28
- package/dist-es/commands/StartGatewayCommand.js +21 -28
- package/dist-es/commands/UpdateAutomaticTapeCreationPolicyCommand.js +21 -28
- package/dist-es/commands/UpdateBandwidthRateLimitCommand.js +21 -28
- package/dist-es/commands/UpdateBandwidthRateLimitScheduleCommand.js +21 -28
- package/dist-es/commands/UpdateChapCredentialsCommand.js +21 -28
- package/dist-es/commands/UpdateFileSystemAssociationCommand.js +21 -28
- package/dist-es/commands/UpdateGatewayInformationCommand.js +21 -28
- package/dist-es/commands/UpdateGatewaySoftwareNowCommand.js +21 -28
- package/dist-es/commands/UpdateMaintenanceStartTimeCommand.js +21 -28
- package/dist-es/commands/UpdateNFSFileShareCommand.js +21 -28
- package/dist-es/commands/UpdateSMBFileShareCommand.js +21 -28
- package/dist-es/commands/UpdateSMBFileShareVisibilityCommand.js +21 -28
- package/dist-es/commands/UpdateSMBLocalGroupsCommand.js +21 -28
- package/dist-es/commands/UpdateSMBSecurityStrategyCommand.js +21 -28
- package/dist-es/commands/UpdateSnapshotScheduleCommand.js +21 -28
- package/dist-es/commands/UpdateVTLDeviceTypeCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/StorageGatewayServiceException.js +5 -10
- package/dist-es/models/models_0.js +679 -248
- package/dist-es/pagination/DescribeTapeArchivesPaginator.js +25 -68
- package/dist-es/pagination/DescribeTapeRecoveryPointsPaginator.js +25 -68
- package/dist-es/pagination/DescribeTapesPaginator.js +25 -68
- package/dist-es/pagination/DescribeVTLDevicesPaginator.js +25 -68
- package/dist-es/pagination/ListFileSharesPaginator.js +25 -68
- package/dist-es/pagination/ListFileSystemAssociationsPaginator.js +25 -68
- package/dist-es/pagination/ListGatewaysPaginator.js +25 -68
- package/dist-es/pagination/ListTagsForResourcePaginator.js +25 -68
- package/dist-es/pagination/ListTapePoolsPaginator.js +25 -68
- package/dist-es/pagination/ListTapesPaginator.js +25 -68
- package/dist-es/pagination/ListVolumesPaginator.js +25 -68
- package/dist-es/protocols/Aws_json1_1.js +5115 -6606
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { ActivateGatewayCommand, } from "./commands/ActivateGatewayCommand";
|
|
3
2
|
import { AddCacheCommand } from "./commands/AddCacheCommand";
|
|
4
3
|
import { AddTagsToResourceCommand, } from "./commands/AddTagsToResourceCommand";
|
|
@@ -90,1271 +89,1265 @@ import { UpdateSMBSecurityStrategyCommand, } from "./commands/UpdateSMBSecurityS
|
|
|
90
89
|
import { UpdateSnapshotScheduleCommand, } from "./commands/UpdateSnapshotScheduleCommand";
|
|
91
90
|
import { UpdateVTLDeviceTypeCommand, } from "./commands/UpdateVTLDeviceTypeCommand";
|
|
92
91
|
import { StorageGatewayClient } from "./StorageGatewayClient";
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
97
|
-
}
|
|
98
|
-
StorageGateway.prototype.activateGateway = function (args, optionsOrCb, cb) {
|
|
99
|
-
var command = new ActivateGatewayCommand(args);
|
|
92
|
+
export class StorageGateway extends StorageGatewayClient {
|
|
93
|
+
activateGateway(args, optionsOrCb, cb) {
|
|
94
|
+
const command = new ActivateGatewayCommand(args);
|
|
100
95
|
if (typeof optionsOrCb === "function") {
|
|
101
96
|
this.send(command, optionsOrCb);
|
|
102
97
|
}
|
|
103
98
|
else if (typeof cb === "function") {
|
|
104
99
|
if (typeof optionsOrCb !== "object")
|
|
105
|
-
throw new Error(
|
|
100
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
106
101
|
this.send(command, optionsOrCb || {}, cb);
|
|
107
102
|
}
|
|
108
103
|
else {
|
|
109
104
|
return this.send(command, optionsOrCb);
|
|
110
105
|
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
|
|
106
|
+
}
|
|
107
|
+
addCache(args, optionsOrCb, cb) {
|
|
108
|
+
const command = new AddCacheCommand(args);
|
|
114
109
|
if (typeof optionsOrCb === "function") {
|
|
115
110
|
this.send(command, optionsOrCb);
|
|
116
111
|
}
|
|
117
112
|
else if (typeof cb === "function") {
|
|
118
113
|
if (typeof optionsOrCb !== "object")
|
|
119
|
-
throw new Error(
|
|
114
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
120
115
|
this.send(command, optionsOrCb || {}, cb);
|
|
121
116
|
}
|
|
122
117
|
else {
|
|
123
118
|
return this.send(command, optionsOrCb);
|
|
124
119
|
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
|
|
120
|
+
}
|
|
121
|
+
addTagsToResource(args, optionsOrCb, cb) {
|
|
122
|
+
const command = new AddTagsToResourceCommand(args);
|
|
128
123
|
if (typeof optionsOrCb === "function") {
|
|
129
124
|
this.send(command, optionsOrCb);
|
|
130
125
|
}
|
|
131
126
|
else if (typeof cb === "function") {
|
|
132
127
|
if (typeof optionsOrCb !== "object")
|
|
133
|
-
throw new Error(
|
|
128
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
134
129
|
this.send(command, optionsOrCb || {}, cb);
|
|
135
130
|
}
|
|
136
131
|
else {
|
|
137
132
|
return this.send(command, optionsOrCb);
|
|
138
133
|
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
|
|
134
|
+
}
|
|
135
|
+
addUploadBuffer(args, optionsOrCb, cb) {
|
|
136
|
+
const command = new AddUploadBufferCommand(args);
|
|
142
137
|
if (typeof optionsOrCb === "function") {
|
|
143
138
|
this.send(command, optionsOrCb);
|
|
144
139
|
}
|
|
145
140
|
else if (typeof cb === "function") {
|
|
146
141
|
if (typeof optionsOrCb !== "object")
|
|
147
|
-
throw new Error(
|
|
142
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
148
143
|
this.send(command, optionsOrCb || {}, cb);
|
|
149
144
|
}
|
|
150
145
|
else {
|
|
151
146
|
return this.send(command, optionsOrCb);
|
|
152
147
|
}
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
|
|
148
|
+
}
|
|
149
|
+
addWorkingStorage(args, optionsOrCb, cb) {
|
|
150
|
+
const command = new AddWorkingStorageCommand(args);
|
|
156
151
|
if (typeof optionsOrCb === "function") {
|
|
157
152
|
this.send(command, optionsOrCb);
|
|
158
153
|
}
|
|
159
154
|
else if (typeof cb === "function") {
|
|
160
155
|
if (typeof optionsOrCb !== "object")
|
|
161
|
-
throw new Error(
|
|
156
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
162
157
|
this.send(command, optionsOrCb || {}, cb);
|
|
163
158
|
}
|
|
164
159
|
else {
|
|
165
160
|
return this.send(command, optionsOrCb);
|
|
166
161
|
}
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
|
|
162
|
+
}
|
|
163
|
+
assignTapePool(args, optionsOrCb, cb) {
|
|
164
|
+
const command = new AssignTapePoolCommand(args);
|
|
170
165
|
if (typeof optionsOrCb === "function") {
|
|
171
166
|
this.send(command, optionsOrCb);
|
|
172
167
|
}
|
|
173
168
|
else if (typeof cb === "function") {
|
|
174
169
|
if (typeof optionsOrCb !== "object")
|
|
175
|
-
throw new Error(
|
|
170
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
176
171
|
this.send(command, optionsOrCb || {}, cb);
|
|
177
172
|
}
|
|
178
173
|
else {
|
|
179
174
|
return this.send(command, optionsOrCb);
|
|
180
175
|
}
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
|
|
176
|
+
}
|
|
177
|
+
associateFileSystem(args, optionsOrCb, cb) {
|
|
178
|
+
const command = new AssociateFileSystemCommand(args);
|
|
184
179
|
if (typeof optionsOrCb === "function") {
|
|
185
180
|
this.send(command, optionsOrCb);
|
|
186
181
|
}
|
|
187
182
|
else if (typeof cb === "function") {
|
|
188
183
|
if (typeof optionsOrCb !== "object")
|
|
189
|
-
throw new Error(
|
|
184
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
190
185
|
this.send(command, optionsOrCb || {}, cb);
|
|
191
186
|
}
|
|
192
187
|
else {
|
|
193
188
|
return this.send(command, optionsOrCb);
|
|
194
189
|
}
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
|
|
190
|
+
}
|
|
191
|
+
attachVolume(args, optionsOrCb, cb) {
|
|
192
|
+
const command = new AttachVolumeCommand(args);
|
|
198
193
|
if (typeof optionsOrCb === "function") {
|
|
199
194
|
this.send(command, optionsOrCb);
|
|
200
195
|
}
|
|
201
196
|
else if (typeof cb === "function") {
|
|
202
197
|
if (typeof optionsOrCb !== "object")
|
|
203
|
-
throw new Error(
|
|
198
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
204
199
|
this.send(command, optionsOrCb || {}, cb);
|
|
205
200
|
}
|
|
206
201
|
else {
|
|
207
202
|
return this.send(command, optionsOrCb);
|
|
208
203
|
}
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
|
|
204
|
+
}
|
|
205
|
+
cancelArchival(args, optionsOrCb, cb) {
|
|
206
|
+
const command = new CancelArchivalCommand(args);
|
|
212
207
|
if (typeof optionsOrCb === "function") {
|
|
213
208
|
this.send(command, optionsOrCb);
|
|
214
209
|
}
|
|
215
210
|
else if (typeof cb === "function") {
|
|
216
211
|
if (typeof optionsOrCb !== "object")
|
|
217
|
-
throw new Error(
|
|
212
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
218
213
|
this.send(command, optionsOrCb || {}, cb);
|
|
219
214
|
}
|
|
220
215
|
else {
|
|
221
216
|
return this.send(command, optionsOrCb);
|
|
222
217
|
}
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
|
|
218
|
+
}
|
|
219
|
+
cancelRetrieval(args, optionsOrCb, cb) {
|
|
220
|
+
const command = new CancelRetrievalCommand(args);
|
|
226
221
|
if (typeof optionsOrCb === "function") {
|
|
227
222
|
this.send(command, optionsOrCb);
|
|
228
223
|
}
|
|
229
224
|
else if (typeof cb === "function") {
|
|
230
225
|
if (typeof optionsOrCb !== "object")
|
|
231
|
-
throw new Error(
|
|
226
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
232
227
|
this.send(command, optionsOrCb || {}, cb);
|
|
233
228
|
}
|
|
234
229
|
else {
|
|
235
230
|
return this.send(command, optionsOrCb);
|
|
236
231
|
}
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
|
|
232
|
+
}
|
|
233
|
+
createCachediSCSIVolume(args, optionsOrCb, cb) {
|
|
234
|
+
const command = new CreateCachediSCSIVolumeCommand(args);
|
|
240
235
|
if (typeof optionsOrCb === "function") {
|
|
241
236
|
this.send(command, optionsOrCb);
|
|
242
237
|
}
|
|
243
238
|
else if (typeof cb === "function") {
|
|
244
239
|
if (typeof optionsOrCb !== "object")
|
|
245
|
-
throw new Error(
|
|
240
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
246
241
|
this.send(command, optionsOrCb || {}, cb);
|
|
247
242
|
}
|
|
248
243
|
else {
|
|
249
244
|
return this.send(command, optionsOrCb);
|
|
250
245
|
}
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
|
|
246
|
+
}
|
|
247
|
+
createNFSFileShare(args, optionsOrCb, cb) {
|
|
248
|
+
const command = new CreateNFSFileShareCommand(args);
|
|
254
249
|
if (typeof optionsOrCb === "function") {
|
|
255
250
|
this.send(command, optionsOrCb);
|
|
256
251
|
}
|
|
257
252
|
else if (typeof cb === "function") {
|
|
258
253
|
if (typeof optionsOrCb !== "object")
|
|
259
|
-
throw new Error(
|
|
254
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
260
255
|
this.send(command, optionsOrCb || {}, cb);
|
|
261
256
|
}
|
|
262
257
|
else {
|
|
263
258
|
return this.send(command, optionsOrCb);
|
|
264
259
|
}
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
|
|
260
|
+
}
|
|
261
|
+
createSMBFileShare(args, optionsOrCb, cb) {
|
|
262
|
+
const command = new CreateSMBFileShareCommand(args);
|
|
268
263
|
if (typeof optionsOrCb === "function") {
|
|
269
264
|
this.send(command, optionsOrCb);
|
|
270
265
|
}
|
|
271
266
|
else if (typeof cb === "function") {
|
|
272
267
|
if (typeof optionsOrCb !== "object")
|
|
273
|
-
throw new Error(
|
|
268
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
274
269
|
this.send(command, optionsOrCb || {}, cb);
|
|
275
270
|
}
|
|
276
271
|
else {
|
|
277
272
|
return this.send(command, optionsOrCb);
|
|
278
273
|
}
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
|
|
274
|
+
}
|
|
275
|
+
createSnapshot(args, optionsOrCb, cb) {
|
|
276
|
+
const command = new CreateSnapshotCommand(args);
|
|
282
277
|
if (typeof optionsOrCb === "function") {
|
|
283
278
|
this.send(command, optionsOrCb);
|
|
284
279
|
}
|
|
285
280
|
else if (typeof cb === "function") {
|
|
286
281
|
if (typeof optionsOrCb !== "object")
|
|
287
|
-
throw new Error(
|
|
282
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
288
283
|
this.send(command, optionsOrCb || {}, cb);
|
|
289
284
|
}
|
|
290
285
|
else {
|
|
291
286
|
return this.send(command, optionsOrCb);
|
|
292
287
|
}
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
|
|
288
|
+
}
|
|
289
|
+
createSnapshotFromVolumeRecoveryPoint(args, optionsOrCb, cb) {
|
|
290
|
+
const command = new CreateSnapshotFromVolumeRecoveryPointCommand(args);
|
|
296
291
|
if (typeof optionsOrCb === "function") {
|
|
297
292
|
this.send(command, optionsOrCb);
|
|
298
293
|
}
|
|
299
294
|
else if (typeof cb === "function") {
|
|
300
295
|
if (typeof optionsOrCb !== "object")
|
|
301
|
-
throw new Error(
|
|
296
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
302
297
|
this.send(command, optionsOrCb || {}, cb);
|
|
303
298
|
}
|
|
304
299
|
else {
|
|
305
300
|
return this.send(command, optionsOrCb);
|
|
306
301
|
}
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
|
|
302
|
+
}
|
|
303
|
+
createStorediSCSIVolume(args, optionsOrCb, cb) {
|
|
304
|
+
const command = new CreateStorediSCSIVolumeCommand(args);
|
|
310
305
|
if (typeof optionsOrCb === "function") {
|
|
311
306
|
this.send(command, optionsOrCb);
|
|
312
307
|
}
|
|
313
308
|
else if (typeof cb === "function") {
|
|
314
309
|
if (typeof optionsOrCb !== "object")
|
|
315
|
-
throw new Error(
|
|
310
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
316
311
|
this.send(command, optionsOrCb || {}, cb);
|
|
317
312
|
}
|
|
318
313
|
else {
|
|
319
314
|
return this.send(command, optionsOrCb);
|
|
320
315
|
}
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
|
|
316
|
+
}
|
|
317
|
+
createTapePool(args, optionsOrCb, cb) {
|
|
318
|
+
const command = new CreateTapePoolCommand(args);
|
|
324
319
|
if (typeof optionsOrCb === "function") {
|
|
325
320
|
this.send(command, optionsOrCb);
|
|
326
321
|
}
|
|
327
322
|
else if (typeof cb === "function") {
|
|
328
323
|
if (typeof optionsOrCb !== "object")
|
|
329
|
-
throw new Error(
|
|
324
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
330
325
|
this.send(command, optionsOrCb || {}, cb);
|
|
331
326
|
}
|
|
332
327
|
else {
|
|
333
328
|
return this.send(command, optionsOrCb);
|
|
334
329
|
}
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
|
|
330
|
+
}
|
|
331
|
+
createTapes(args, optionsOrCb, cb) {
|
|
332
|
+
const command = new CreateTapesCommand(args);
|
|
338
333
|
if (typeof optionsOrCb === "function") {
|
|
339
334
|
this.send(command, optionsOrCb);
|
|
340
335
|
}
|
|
341
336
|
else if (typeof cb === "function") {
|
|
342
337
|
if (typeof optionsOrCb !== "object")
|
|
343
|
-
throw new Error(
|
|
338
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
344
339
|
this.send(command, optionsOrCb || {}, cb);
|
|
345
340
|
}
|
|
346
341
|
else {
|
|
347
342
|
return this.send(command, optionsOrCb);
|
|
348
343
|
}
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
|
|
344
|
+
}
|
|
345
|
+
createTapeWithBarcode(args, optionsOrCb, cb) {
|
|
346
|
+
const command = new CreateTapeWithBarcodeCommand(args);
|
|
352
347
|
if (typeof optionsOrCb === "function") {
|
|
353
348
|
this.send(command, optionsOrCb);
|
|
354
349
|
}
|
|
355
350
|
else if (typeof cb === "function") {
|
|
356
351
|
if (typeof optionsOrCb !== "object")
|
|
357
|
-
throw new Error(
|
|
352
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
358
353
|
this.send(command, optionsOrCb || {}, cb);
|
|
359
354
|
}
|
|
360
355
|
else {
|
|
361
356
|
return this.send(command, optionsOrCb);
|
|
362
357
|
}
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
|
|
358
|
+
}
|
|
359
|
+
deleteAutomaticTapeCreationPolicy(args, optionsOrCb, cb) {
|
|
360
|
+
const command = new DeleteAutomaticTapeCreationPolicyCommand(args);
|
|
366
361
|
if (typeof optionsOrCb === "function") {
|
|
367
362
|
this.send(command, optionsOrCb);
|
|
368
363
|
}
|
|
369
364
|
else if (typeof cb === "function") {
|
|
370
365
|
if (typeof optionsOrCb !== "object")
|
|
371
|
-
throw new Error(
|
|
366
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
372
367
|
this.send(command, optionsOrCb || {}, cb);
|
|
373
368
|
}
|
|
374
369
|
else {
|
|
375
370
|
return this.send(command, optionsOrCb);
|
|
376
371
|
}
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
|
|
372
|
+
}
|
|
373
|
+
deleteBandwidthRateLimit(args, optionsOrCb, cb) {
|
|
374
|
+
const command = new DeleteBandwidthRateLimitCommand(args);
|
|
380
375
|
if (typeof optionsOrCb === "function") {
|
|
381
376
|
this.send(command, optionsOrCb);
|
|
382
377
|
}
|
|
383
378
|
else if (typeof cb === "function") {
|
|
384
379
|
if (typeof optionsOrCb !== "object")
|
|
385
|
-
throw new Error(
|
|
380
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
386
381
|
this.send(command, optionsOrCb || {}, cb);
|
|
387
382
|
}
|
|
388
383
|
else {
|
|
389
384
|
return this.send(command, optionsOrCb);
|
|
390
385
|
}
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
|
|
386
|
+
}
|
|
387
|
+
deleteChapCredentials(args, optionsOrCb, cb) {
|
|
388
|
+
const command = new DeleteChapCredentialsCommand(args);
|
|
394
389
|
if (typeof optionsOrCb === "function") {
|
|
395
390
|
this.send(command, optionsOrCb);
|
|
396
391
|
}
|
|
397
392
|
else if (typeof cb === "function") {
|
|
398
393
|
if (typeof optionsOrCb !== "object")
|
|
399
|
-
throw new Error(
|
|
394
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
400
395
|
this.send(command, optionsOrCb || {}, cb);
|
|
401
396
|
}
|
|
402
397
|
else {
|
|
403
398
|
return this.send(command, optionsOrCb);
|
|
404
399
|
}
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
|
|
400
|
+
}
|
|
401
|
+
deleteFileShare(args, optionsOrCb, cb) {
|
|
402
|
+
const command = new DeleteFileShareCommand(args);
|
|
408
403
|
if (typeof optionsOrCb === "function") {
|
|
409
404
|
this.send(command, optionsOrCb);
|
|
410
405
|
}
|
|
411
406
|
else if (typeof cb === "function") {
|
|
412
407
|
if (typeof optionsOrCb !== "object")
|
|
413
|
-
throw new Error(
|
|
408
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
414
409
|
this.send(command, optionsOrCb || {}, cb);
|
|
415
410
|
}
|
|
416
411
|
else {
|
|
417
412
|
return this.send(command, optionsOrCb);
|
|
418
413
|
}
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
|
|
414
|
+
}
|
|
415
|
+
deleteGateway(args, optionsOrCb, cb) {
|
|
416
|
+
const command = new DeleteGatewayCommand(args);
|
|
422
417
|
if (typeof optionsOrCb === "function") {
|
|
423
418
|
this.send(command, optionsOrCb);
|
|
424
419
|
}
|
|
425
420
|
else if (typeof cb === "function") {
|
|
426
421
|
if (typeof optionsOrCb !== "object")
|
|
427
|
-
throw new Error(
|
|
422
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
428
423
|
this.send(command, optionsOrCb || {}, cb);
|
|
429
424
|
}
|
|
430
425
|
else {
|
|
431
426
|
return this.send(command, optionsOrCb);
|
|
432
427
|
}
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
|
|
428
|
+
}
|
|
429
|
+
deleteSnapshotSchedule(args, optionsOrCb, cb) {
|
|
430
|
+
const command = new DeleteSnapshotScheduleCommand(args);
|
|
436
431
|
if (typeof optionsOrCb === "function") {
|
|
437
432
|
this.send(command, optionsOrCb);
|
|
438
433
|
}
|
|
439
434
|
else if (typeof cb === "function") {
|
|
440
435
|
if (typeof optionsOrCb !== "object")
|
|
441
|
-
throw new Error(
|
|
436
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
442
437
|
this.send(command, optionsOrCb || {}, cb);
|
|
443
438
|
}
|
|
444
439
|
else {
|
|
445
440
|
return this.send(command, optionsOrCb);
|
|
446
441
|
}
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
|
|
442
|
+
}
|
|
443
|
+
deleteTape(args, optionsOrCb, cb) {
|
|
444
|
+
const command = new DeleteTapeCommand(args);
|
|
450
445
|
if (typeof optionsOrCb === "function") {
|
|
451
446
|
this.send(command, optionsOrCb);
|
|
452
447
|
}
|
|
453
448
|
else if (typeof cb === "function") {
|
|
454
449
|
if (typeof optionsOrCb !== "object")
|
|
455
|
-
throw new Error(
|
|
450
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
456
451
|
this.send(command, optionsOrCb || {}, cb);
|
|
457
452
|
}
|
|
458
453
|
else {
|
|
459
454
|
return this.send(command, optionsOrCb);
|
|
460
455
|
}
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
|
|
456
|
+
}
|
|
457
|
+
deleteTapeArchive(args, optionsOrCb, cb) {
|
|
458
|
+
const command = new DeleteTapeArchiveCommand(args);
|
|
464
459
|
if (typeof optionsOrCb === "function") {
|
|
465
460
|
this.send(command, optionsOrCb);
|
|
466
461
|
}
|
|
467
462
|
else if (typeof cb === "function") {
|
|
468
463
|
if (typeof optionsOrCb !== "object")
|
|
469
|
-
throw new Error(
|
|
464
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
470
465
|
this.send(command, optionsOrCb || {}, cb);
|
|
471
466
|
}
|
|
472
467
|
else {
|
|
473
468
|
return this.send(command, optionsOrCb);
|
|
474
469
|
}
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
|
|
470
|
+
}
|
|
471
|
+
deleteTapePool(args, optionsOrCb, cb) {
|
|
472
|
+
const command = new DeleteTapePoolCommand(args);
|
|
478
473
|
if (typeof optionsOrCb === "function") {
|
|
479
474
|
this.send(command, optionsOrCb);
|
|
480
475
|
}
|
|
481
476
|
else if (typeof cb === "function") {
|
|
482
477
|
if (typeof optionsOrCb !== "object")
|
|
483
|
-
throw new Error(
|
|
478
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
484
479
|
this.send(command, optionsOrCb || {}, cb);
|
|
485
480
|
}
|
|
486
481
|
else {
|
|
487
482
|
return this.send(command, optionsOrCb);
|
|
488
483
|
}
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
|
|
484
|
+
}
|
|
485
|
+
deleteVolume(args, optionsOrCb, cb) {
|
|
486
|
+
const command = new DeleteVolumeCommand(args);
|
|
492
487
|
if (typeof optionsOrCb === "function") {
|
|
493
488
|
this.send(command, optionsOrCb);
|
|
494
489
|
}
|
|
495
490
|
else if (typeof cb === "function") {
|
|
496
491
|
if (typeof optionsOrCb !== "object")
|
|
497
|
-
throw new Error(
|
|
492
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
498
493
|
this.send(command, optionsOrCb || {}, cb);
|
|
499
494
|
}
|
|
500
495
|
else {
|
|
501
496
|
return this.send(command, optionsOrCb);
|
|
502
497
|
}
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
|
|
498
|
+
}
|
|
499
|
+
describeAvailabilityMonitorTest(args, optionsOrCb, cb) {
|
|
500
|
+
const command = new DescribeAvailabilityMonitorTestCommand(args);
|
|
506
501
|
if (typeof optionsOrCb === "function") {
|
|
507
502
|
this.send(command, optionsOrCb);
|
|
508
503
|
}
|
|
509
504
|
else if (typeof cb === "function") {
|
|
510
505
|
if (typeof optionsOrCb !== "object")
|
|
511
|
-
throw new Error(
|
|
506
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
512
507
|
this.send(command, optionsOrCb || {}, cb);
|
|
513
508
|
}
|
|
514
509
|
else {
|
|
515
510
|
return this.send(command, optionsOrCb);
|
|
516
511
|
}
|
|
517
|
-
}
|
|
518
|
-
|
|
519
|
-
|
|
512
|
+
}
|
|
513
|
+
describeBandwidthRateLimit(args, optionsOrCb, cb) {
|
|
514
|
+
const command = new DescribeBandwidthRateLimitCommand(args);
|
|
520
515
|
if (typeof optionsOrCb === "function") {
|
|
521
516
|
this.send(command, optionsOrCb);
|
|
522
517
|
}
|
|
523
518
|
else if (typeof cb === "function") {
|
|
524
519
|
if (typeof optionsOrCb !== "object")
|
|
525
|
-
throw new Error(
|
|
520
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
526
521
|
this.send(command, optionsOrCb || {}, cb);
|
|
527
522
|
}
|
|
528
523
|
else {
|
|
529
524
|
return this.send(command, optionsOrCb);
|
|
530
525
|
}
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
|
|
526
|
+
}
|
|
527
|
+
describeBandwidthRateLimitSchedule(args, optionsOrCb, cb) {
|
|
528
|
+
const command = new DescribeBandwidthRateLimitScheduleCommand(args);
|
|
534
529
|
if (typeof optionsOrCb === "function") {
|
|
535
530
|
this.send(command, optionsOrCb);
|
|
536
531
|
}
|
|
537
532
|
else if (typeof cb === "function") {
|
|
538
533
|
if (typeof optionsOrCb !== "object")
|
|
539
|
-
throw new Error(
|
|
534
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
540
535
|
this.send(command, optionsOrCb || {}, cb);
|
|
541
536
|
}
|
|
542
537
|
else {
|
|
543
538
|
return this.send(command, optionsOrCb);
|
|
544
539
|
}
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
|
|
540
|
+
}
|
|
541
|
+
describeCache(args, optionsOrCb, cb) {
|
|
542
|
+
const command = new DescribeCacheCommand(args);
|
|
548
543
|
if (typeof optionsOrCb === "function") {
|
|
549
544
|
this.send(command, optionsOrCb);
|
|
550
545
|
}
|
|
551
546
|
else if (typeof cb === "function") {
|
|
552
547
|
if (typeof optionsOrCb !== "object")
|
|
553
|
-
throw new Error(
|
|
548
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
554
549
|
this.send(command, optionsOrCb || {}, cb);
|
|
555
550
|
}
|
|
556
551
|
else {
|
|
557
552
|
return this.send(command, optionsOrCb);
|
|
558
553
|
}
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
|
|
554
|
+
}
|
|
555
|
+
describeCachediSCSIVolumes(args, optionsOrCb, cb) {
|
|
556
|
+
const command = new DescribeCachediSCSIVolumesCommand(args);
|
|
562
557
|
if (typeof optionsOrCb === "function") {
|
|
563
558
|
this.send(command, optionsOrCb);
|
|
564
559
|
}
|
|
565
560
|
else if (typeof cb === "function") {
|
|
566
561
|
if (typeof optionsOrCb !== "object")
|
|
567
|
-
throw new Error(
|
|
562
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
568
563
|
this.send(command, optionsOrCb || {}, cb);
|
|
569
564
|
}
|
|
570
565
|
else {
|
|
571
566
|
return this.send(command, optionsOrCb);
|
|
572
567
|
}
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
|
|
568
|
+
}
|
|
569
|
+
describeChapCredentials(args, optionsOrCb, cb) {
|
|
570
|
+
const command = new DescribeChapCredentialsCommand(args);
|
|
576
571
|
if (typeof optionsOrCb === "function") {
|
|
577
572
|
this.send(command, optionsOrCb);
|
|
578
573
|
}
|
|
579
574
|
else if (typeof cb === "function") {
|
|
580
575
|
if (typeof optionsOrCb !== "object")
|
|
581
|
-
throw new Error(
|
|
576
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
582
577
|
this.send(command, optionsOrCb || {}, cb);
|
|
583
578
|
}
|
|
584
579
|
else {
|
|
585
580
|
return this.send(command, optionsOrCb);
|
|
586
581
|
}
|
|
587
|
-
}
|
|
588
|
-
|
|
589
|
-
|
|
582
|
+
}
|
|
583
|
+
describeFileSystemAssociations(args, optionsOrCb, cb) {
|
|
584
|
+
const command = new DescribeFileSystemAssociationsCommand(args);
|
|
590
585
|
if (typeof optionsOrCb === "function") {
|
|
591
586
|
this.send(command, optionsOrCb);
|
|
592
587
|
}
|
|
593
588
|
else if (typeof cb === "function") {
|
|
594
589
|
if (typeof optionsOrCb !== "object")
|
|
595
|
-
throw new Error(
|
|
590
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
596
591
|
this.send(command, optionsOrCb || {}, cb);
|
|
597
592
|
}
|
|
598
593
|
else {
|
|
599
594
|
return this.send(command, optionsOrCb);
|
|
600
595
|
}
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
|
|
596
|
+
}
|
|
597
|
+
describeGatewayInformation(args, optionsOrCb, cb) {
|
|
598
|
+
const command = new DescribeGatewayInformationCommand(args);
|
|
604
599
|
if (typeof optionsOrCb === "function") {
|
|
605
600
|
this.send(command, optionsOrCb);
|
|
606
601
|
}
|
|
607
602
|
else if (typeof cb === "function") {
|
|
608
603
|
if (typeof optionsOrCb !== "object")
|
|
609
|
-
throw new Error(
|
|
604
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
610
605
|
this.send(command, optionsOrCb || {}, cb);
|
|
611
606
|
}
|
|
612
607
|
else {
|
|
613
608
|
return this.send(command, optionsOrCb);
|
|
614
609
|
}
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
|
|
610
|
+
}
|
|
611
|
+
describeMaintenanceStartTime(args, optionsOrCb, cb) {
|
|
612
|
+
const command = new DescribeMaintenanceStartTimeCommand(args);
|
|
618
613
|
if (typeof optionsOrCb === "function") {
|
|
619
614
|
this.send(command, optionsOrCb);
|
|
620
615
|
}
|
|
621
616
|
else if (typeof cb === "function") {
|
|
622
617
|
if (typeof optionsOrCb !== "object")
|
|
623
|
-
throw new Error(
|
|
618
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
624
619
|
this.send(command, optionsOrCb || {}, cb);
|
|
625
620
|
}
|
|
626
621
|
else {
|
|
627
622
|
return this.send(command, optionsOrCb);
|
|
628
623
|
}
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
|
|
624
|
+
}
|
|
625
|
+
describeNFSFileShares(args, optionsOrCb, cb) {
|
|
626
|
+
const command = new DescribeNFSFileSharesCommand(args);
|
|
632
627
|
if (typeof optionsOrCb === "function") {
|
|
633
628
|
this.send(command, optionsOrCb);
|
|
634
629
|
}
|
|
635
630
|
else if (typeof cb === "function") {
|
|
636
631
|
if (typeof optionsOrCb !== "object")
|
|
637
|
-
throw new Error(
|
|
632
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
638
633
|
this.send(command, optionsOrCb || {}, cb);
|
|
639
634
|
}
|
|
640
635
|
else {
|
|
641
636
|
return this.send(command, optionsOrCb);
|
|
642
637
|
}
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
|
|
638
|
+
}
|
|
639
|
+
describeSMBFileShares(args, optionsOrCb, cb) {
|
|
640
|
+
const command = new DescribeSMBFileSharesCommand(args);
|
|
646
641
|
if (typeof optionsOrCb === "function") {
|
|
647
642
|
this.send(command, optionsOrCb);
|
|
648
643
|
}
|
|
649
644
|
else if (typeof cb === "function") {
|
|
650
645
|
if (typeof optionsOrCb !== "object")
|
|
651
|
-
throw new Error(
|
|
646
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
652
647
|
this.send(command, optionsOrCb || {}, cb);
|
|
653
648
|
}
|
|
654
649
|
else {
|
|
655
650
|
return this.send(command, optionsOrCb);
|
|
656
651
|
}
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
|
|
652
|
+
}
|
|
653
|
+
describeSMBSettings(args, optionsOrCb, cb) {
|
|
654
|
+
const command = new DescribeSMBSettingsCommand(args);
|
|
660
655
|
if (typeof optionsOrCb === "function") {
|
|
661
656
|
this.send(command, optionsOrCb);
|
|
662
657
|
}
|
|
663
658
|
else if (typeof cb === "function") {
|
|
664
659
|
if (typeof optionsOrCb !== "object")
|
|
665
|
-
throw new Error(
|
|
660
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
666
661
|
this.send(command, optionsOrCb || {}, cb);
|
|
667
662
|
}
|
|
668
663
|
else {
|
|
669
664
|
return this.send(command, optionsOrCb);
|
|
670
665
|
}
|
|
671
|
-
}
|
|
672
|
-
|
|
673
|
-
|
|
666
|
+
}
|
|
667
|
+
describeSnapshotSchedule(args, optionsOrCb, cb) {
|
|
668
|
+
const command = new DescribeSnapshotScheduleCommand(args);
|
|
674
669
|
if (typeof optionsOrCb === "function") {
|
|
675
670
|
this.send(command, optionsOrCb);
|
|
676
671
|
}
|
|
677
672
|
else if (typeof cb === "function") {
|
|
678
673
|
if (typeof optionsOrCb !== "object")
|
|
679
|
-
throw new Error(
|
|
674
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
680
675
|
this.send(command, optionsOrCb || {}, cb);
|
|
681
676
|
}
|
|
682
677
|
else {
|
|
683
678
|
return this.send(command, optionsOrCb);
|
|
684
679
|
}
|
|
685
|
-
}
|
|
686
|
-
|
|
687
|
-
|
|
680
|
+
}
|
|
681
|
+
describeStorediSCSIVolumes(args, optionsOrCb, cb) {
|
|
682
|
+
const command = new DescribeStorediSCSIVolumesCommand(args);
|
|
688
683
|
if (typeof optionsOrCb === "function") {
|
|
689
684
|
this.send(command, optionsOrCb);
|
|
690
685
|
}
|
|
691
686
|
else if (typeof cb === "function") {
|
|
692
687
|
if (typeof optionsOrCb !== "object")
|
|
693
|
-
throw new Error(
|
|
688
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
694
689
|
this.send(command, optionsOrCb || {}, cb);
|
|
695
690
|
}
|
|
696
691
|
else {
|
|
697
692
|
return this.send(command, optionsOrCb);
|
|
698
693
|
}
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
|
|
694
|
+
}
|
|
695
|
+
describeTapeArchives(args, optionsOrCb, cb) {
|
|
696
|
+
const command = new DescribeTapeArchivesCommand(args);
|
|
702
697
|
if (typeof optionsOrCb === "function") {
|
|
703
698
|
this.send(command, optionsOrCb);
|
|
704
699
|
}
|
|
705
700
|
else if (typeof cb === "function") {
|
|
706
701
|
if (typeof optionsOrCb !== "object")
|
|
707
|
-
throw new Error(
|
|
702
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
708
703
|
this.send(command, optionsOrCb || {}, cb);
|
|
709
704
|
}
|
|
710
705
|
else {
|
|
711
706
|
return this.send(command, optionsOrCb);
|
|
712
707
|
}
|
|
713
|
-
}
|
|
714
|
-
|
|
715
|
-
|
|
708
|
+
}
|
|
709
|
+
describeTapeRecoveryPoints(args, optionsOrCb, cb) {
|
|
710
|
+
const command = new DescribeTapeRecoveryPointsCommand(args);
|
|
716
711
|
if (typeof optionsOrCb === "function") {
|
|
717
712
|
this.send(command, optionsOrCb);
|
|
718
713
|
}
|
|
719
714
|
else if (typeof cb === "function") {
|
|
720
715
|
if (typeof optionsOrCb !== "object")
|
|
721
|
-
throw new Error(
|
|
716
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
722
717
|
this.send(command, optionsOrCb || {}, cb);
|
|
723
718
|
}
|
|
724
719
|
else {
|
|
725
720
|
return this.send(command, optionsOrCb);
|
|
726
721
|
}
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
|
|
722
|
+
}
|
|
723
|
+
describeTapes(args, optionsOrCb, cb) {
|
|
724
|
+
const command = new DescribeTapesCommand(args);
|
|
730
725
|
if (typeof optionsOrCb === "function") {
|
|
731
726
|
this.send(command, optionsOrCb);
|
|
732
727
|
}
|
|
733
728
|
else if (typeof cb === "function") {
|
|
734
729
|
if (typeof optionsOrCb !== "object")
|
|
735
|
-
throw new Error(
|
|
730
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
736
731
|
this.send(command, optionsOrCb || {}, cb);
|
|
737
732
|
}
|
|
738
733
|
else {
|
|
739
734
|
return this.send(command, optionsOrCb);
|
|
740
735
|
}
|
|
741
|
-
}
|
|
742
|
-
|
|
743
|
-
|
|
736
|
+
}
|
|
737
|
+
describeUploadBuffer(args, optionsOrCb, cb) {
|
|
738
|
+
const command = new DescribeUploadBufferCommand(args);
|
|
744
739
|
if (typeof optionsOrCb === "function") {
|
|
745
740
|
this.send(command, optionsOrCb);
|
|
746
741
|
}
|
|
747
742
|
else if (typeof cb === "function") {
|
|
748
743
|
if (typeof optionsOrCb !== "object")
|
|
749
|
-
throw new Error(
|
|
744
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
750
745
|
this.send(command, optionsOrCb || {}, cb);
|
|
751
746
|
}
|
|
752
747
|
else {
|
|
753
748
|
return this.send(command, optionsOrCb);
|
|
754
749
|
}
|
|
755
|
-
}
|
|
756
|
-
|
|
757
|
-
|
|
750
|
+
}
|
|
751
|
+
describeVTLDevices(args, optionsOrCb, cb) {
|
|
752
|
+
const command = new DescribeVTLDevicesCommand(args);
|
|
758
753
|
if (typeof optionsOrCb === "function") {
|
|
759
754
|
this.send(command, optionsOrCb);
|
|
760
755
|
}
|
|
761
756
|
else if (typeof cb === "function") {
|
|
762
757
|
if (typeof optionsOrCb !== "object")
|
|
763
|
-
throw new Error(
|
|
758
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
764
759
|
this.send(command, optionsOrCb || {}, cb);
|
|
765
760
|
}
|
|
766
761
|
else {
|
|
767
762
|
return this.send(command, optionsOrCb);
|
|
768
763
|
}
|
|
769
|
-
}
|
|
770
|
-
|
|
771
|
-
|
|
764
|
+
}
|
|
765
|
+
describeWorkingStorage(args, optionsOrCb, cb) {
|
|
766
|
+
const command = new DescribeWorkingStorageCommand(args);
|
|
772
767
|
if (typeof optionsOrCb === "function") {
|
|
773
768
|
this.send(command, optionsOrCb);
|
|
774
769
|
}
|
|
775
770
|
else if (typeof cb === "function") {
|
|
776
771
|
if (typeof optionsOrCb !== "object")
|
|
777
|
-
throw new Error(
|
|
772
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
778
773
|
this.send(command, optionsOrCb || {}, cb);
|
|
779
774
|
}
|
|
780
775
|
else {
|
|
781
776
|
return this.send(command, optionsOrCb);
|
|
782
777
|
}
|
|
783
|
-
}
|
|
784
|
-
|
|
785
|
-
|
|
778
|
+
}
|
|
779
|
+
detachVolume(args, optionsOrCb, cb) {
|
|
780
|
+
const command = new DetachVolumeCommand(args);
|
|
786
781
|
if (typeof optionsOrCb === "function") {
|
|
787
782
|
this.send(command, optionsOrCb);
|
|
788
783
|
}
|
|
789
784
|
else if (typeof cb === "function") {
|
|
790
785
|
if (typeof optionsOrCb !== "object")
|
|
791
|
-
throw new Error(
|
|
786
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
792
787
|
this.send(command, optionsOrCb || {}, cb);
|
|
793
788
|
}
|
|
794
789
|
else {
|
|
795
790
|
return this.send(command, optionsOrCb);
|
|
796
791
|
}
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
|
|
792
|
+
}
|
|
793
|
+
disableGateway(args, optionsOrCb, cb) {
|
|
794
|
+
const command = new DisableGatewayCommand(args);
|
|
800
795
|
if (typeof optionsOrCb === "function") {
|
|
801
796
|
this.send(command, optionsOrCb);
|
|
802
797
|
}
|
|
803
798
|
else if (typeof cb === "function") {
|
|
804
799
|
if (typeof optionsOrCb !== "object")
|
|
805
|
-
throw new Error(
|
|
800
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
806
801
|
this.send(command, optionsOrCb || {}, cb);
|
|
807
802
|
}
|
|
808
803
|
else {
|
|
809
804
|
return this.send(command, optionsOrCb);
|
|
810
805
|
}
|
|
811
|
-
}
|
|
812
|
-
|
|
813
|
-
|
|
806
|
+
}
|
|
807
|
+
disassociateFileSystem(args, optionsOrCb, cb) {
|
|
808
|
+
const command = new DisassociateFileSystemCommand(args);
|
|
814
809
|
if (typeof optionsOrCb === "function") {
|
|
815
810
|
this.send(command, optionsOrCb);
|
|
816
811
|
}
|
|
817
812
|
else if (typeof cb === "function") {
|
|
818
813
|
if (typeof optionsOrCb !== "object")
|
|
819
|
-
throw new Error(
|
|
814
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
820
815
|
this.send(command, optionsOrCb || {}, cb);
|
|
821
816
|
}
|
|
822
817
|
else {
|
|
823
818
|
return this.send(command, optionsOrCb);
|
|
824
819
|
}
|
|
825
|
-
}
|
|
826
|
-
|
|
827
|
-
|
|
820
|
+
}
|
|
821
|
+
joinDomain(args, optionsOrCb, cb) {
|
|
822
|
+
const command = new JoinDomainCommand(args);
|
|
828
823
|
if (typeof optionsOrCb === "function") {
|
|
829
824
|
this.send(command, optionsOrCb);
|
|
830
825
|
}
|
|
831
826
|
else if (typeof cb === "function") {
|
|
832
827
|
if (typeof optionsOrCb !== "object")
|
|
833
|
-
throw new Error(
|
|
828
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
834
829
|
this.send(command, optionsOrCb || {}, cb);
|
|
835
830
|
}
|
|
836
831
|
else {
|
|
837
832
|
return this.send(command, optionsOrCb);
|
|
838
833
|
}
|
|
839
|
-
}
|
|
840
|
-
|
|
841
|
-
|
|
834
|
+
}
|
|
835
|
+
listAutomaticTapeCreationPolicies(args, optionsOrCb, cb) {
|
|
836
|
+
const command = new ListAutomaticTapeCreationPoliciesCommand(args);
|
|
842
837
|
if (typeof optionsOrCb === "function") {
|
|
843
838
|
this.send(command, optionsOrCb);
|
|
844
839
|
}
|
|
845
840
|
else if (typeof cb === "function") {
|
|
846
841
|
if (typeof optionsOrCb !== "object")
|
|
847
|
-
throw new Error(
|
|
842
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
848
843
|
this.send(command, optionsOrCb || {}, cb);
|
|
849
844
|
}
|
|
850
845
|
else {
|
|
851
846
|
return this.send(command, optionsOrCb);
|
|
852
847
|
}
|
|
853
|
-
}
|
|
854
|
-
|
|
855
|
-
|
|
848
|
+
}
|
|
849
|
+
listFileShares(args, optionsOrCb, cb) {
|
|
850
|
+
const command = new ListFileSharesCommand(args);
|
|
856
851
|
if (typeof optionsOrCb === "function") {
|
|
857
852
|
this.send(command, optionsOrCb);
|
|
858
853
|
}
|
|
859
854
|
else if (typeof cb === "function") {
|
|
860
855
|
if (typeof optionsOrCb !== "object")
|
|
861
|
-
throw new Error(
|
|
856
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
862
857
|
this.send(command, optionsOrCb || {}, cb);
|
|
863
858
|
}
|
|
864
859
|
else {
|
|
865
860
|
return this.send(command, optionsOrCb);
|
|
866
861
|
}
|
|
867
|
-
}
|
|
868
|
-
|
|
869
|
-
|
|
862
|
+
}
|
|
863
|
+
listFileSystemAssociations(args, optionsOrCb, cb) {
|
|
864
|
+
const command = new ListFileSystemAssociationsCommand(args);
|
|
870
865
|
if (typeof optionsOrCb === "function") {
|
|
871
866
|
this.send(command, optionsOrCb);
|
|
872
867
|
}
|
|
873
868
|
else if (typeof cb === "function") {
|
|
874
869
|
if (typeof optionsOrCb !== "object")
|
|
875
|
-
throw new Error(
|
|
870
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
876
871
|
this.send(command, optionsOrCb || {}, cb);
|
|
877
872
|
}
|
|
878
873
|
else {
|
|
879
874
|
return this.send(command, optionsOrCb);
|
|
880
875
|
}
|
|
881
|
-
}
|
|
882
|
-
|
|
883
|
-
|
|
876
|
+
}
|
|
877
|
+
listGateways(args, optionsOrCb, cb) {
|
|
878
|
+
const command = new ListGatewaysCommand(args);
|
|
884
879
|
if (typeof optionsOrCb === "function") {
|
|
885
880
|
this.send(command, optionsOrCb);
|
|
886
881
|
}
|
|
887
882
|
else if (typeof cb === "function") {
|
|
888
883
|
if (typeof optionsOrCb !== "object")
|
|
889
|
-
throw new Error(
|
|
884
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
890
885
|
this.send(command, optionsOrCb || {}, cb);
|
|
891
886
|
}
|
|
892
887
|
else {
|
|
893
888
|
return this.send(command, optionsOrCb);
|
|
894
889
|
}
|
|
895
|
-
}
|
|
896
|
-
|
|
897
|
-
|
|
890
|
+
}
|
|
891
|
+
listLocalDisks(args, optionsOrCb, cb) {
|
|
892
|
+
const command = new ListLocalDisksCommand(args);
|
|
898
893
|
if (typeof optionsOrCb === "function") {
|
|
899
894
|
this.send(command, optionsOrCb);
|
|
900
895
|
}
|
|
901
896
|
else if (typeof cb === "function") {
|
|
902
897
|
if (typeof optionsOrCb !== "object")
|
|
903
|
-
throw new Error(
|
|
898
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
904
899
|
this.send(command, optionsOrCb || {}, cb);
|
|
905
900
|
}
|
|
906
901
|
else {
|
|
907
902
|
return this.send(command, optionsOrCb);
|
|
908
903
|
}
|
|
909
|
-
}
|
|
910
|
-
|
|
911
|
-
|
|
904
|
+
}
|
|
905
|
+
listTagsForResource(args, optionsOrCb, cb) {
|
|
906
|
+
const command = new ListTagsForResourceCommand(args);
|
|
912
907
|
if (typeof optionsOrCb === "function") {
|
|
913
908
|
this.send(command, optionsOrCb);
|
|
914
909
|
}
|
|
915
910
|
else if (typeof cb === "function") {
|
|
916
911
|
if (typeof optionsOrCb !== "object")
|
|
917
|
-
throw new Error(
|
|
912
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
918
913
|
this.send(command, optionsOrCb || {}, cb);
|
|
919
914
|
}
|
|
920
915
|
else {
|
|
921
916
|
return this.send(command, optionsOrCb);
|
|
922
917
|
}
|
|
923
|
-
}
|
|
924
|
-
|
|
925
|
-
|
|
918
|
+
}
|
|
919
|
+
listTapePools(args, optionsOrCb, cb) {
|
|
920
|
+
const command = new ListTapePoolsCommand(args);
|
|
926
921
|
if (typeof optionsOrCb === "function") {
|
|
927
922
|
this.send(command, optionsOrCb);
|
|
928
923
|
}
|
|
929
924
|
else if (typeof cb === "function") {
|
|
930
925
|
if (typeof optionsOrCb !== "object")
|
|
931
|
-
throw new Error(
|
|
926
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
932
927
|
this.send(command, optionsOrCb || {}, cb);
|
|
933
928
|
}
|
|
934
929
|
else {
|
|
935
930
|
return this.send(command, optionsOrCb);
|
|
936
931
|
}
|
|
937
|
-
}
|
|
938
|
-
|
|
939
|
-
|
|
932
|
+
}
|
|
933
|
+
listTapes(args, optionsOrCb, cb) {
|
|
934
|
+
const command = new ListTapesCommand(args);
|
|
940
935
|
if (typeof optionsOrCb === "function") {
|
|
941
936
|
this.send(command, optionsOrCb);
|
|
942
937
|
}
|
|
943
938
|
else if (typeof cb === "function") {
|
|
944
939
|
if (typeof optionsOrCb !== "object")
|
|
945
|
-
throw new Error(
|
|
940
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
946
941
|
this.send(command, optionsOrCb || {}, cb);
|
|
947
942
|
}
|
|
948
943
|
else {
|
|
949
944
|
return this.send(command, optionsOrCb);
|
|
950
945
|
}
|
|
951
|
-
}
|
|
952
|
-
|
|
953
|
-
|
|
946
|
+
}
|
|
947
|
+
listVolumeInitiators(args, optionsOrCb, cb) {
|
|
948
|
+
const command = new ListVolumeInitiatorsCommand(args);
|
|
954
949
|
if (typeof optionsOrCb === "function") {
|
|
955
950
|
this.send(command, optionsOrCb);
|
|
956
951
|
}
|
|
957
952
|
else if (typeof cb === "function") {
|
|
958
953
|
if (typeof optionsOrCb !== "object")
|
|
959
|
-
throw new Error(
|
|
954
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
960
955
|
this.send(command, optionsOrCb || {}, cb);
|
|
961
956
|
}
|
|
962
957
|
else {
|
|
963
958
|
return this.send(command, optionsOrCb);
|
|
964
959
|
}
|
|
965
|
-
}
|
|
966
|
-
|
|
967
|
-
|
|
960
|
+
}
|
|
961
|
+
listVolumeRecoveryPoints(args, optionsOrCb, cb) {
|
|
962
|
+
const command = new ListVolumeRecoveryPointsCommand(args);
|
|
968
963
|
if (typeof optionsOrCb === "function") {
|
|
969
964
|
this.send(command, optionsOrCb);
|
|
970
965
|
}
|
|
971
966
|
else if (typeof cb === "function") {
|
|
972
967
|
if (typeof optionsOrCb !== "object")
|
|
973
|
-
throw new Error(
|
|
968
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
974
969
|
this.send(command, optionsOrCb || {}, cb);
|
|
975
970
|
}
|
|
976
971
|
else {
|
|
977
972
|
return this.send(command, optionsOrCb);
|
|
978
973
|
}
|
|
979
|
-
}
|
|
980
|
-
|
|
981
|
-
|
|
974
|
+
}
|
|
975
|
+
listVolumes(args, optionsOrCb, cb) {
|
|
976
|
+
const command = new ListVolumesCommand(args);
|
|
982
977
|
if (typeof optionsOrCb === "function") {
|
|
983
978
|
this.send(command, optionsOrCb);
|
|
984
979
|
}
|
|
985
980
|
else if (typeof cb === "function") {
|
|
986
981
|
if (typeof optionsOrCb !== "object")
|
|
987
|
-
throw new Error(
|
|
982
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
988
983
|
this.send(command, optionsOrCb || {}, cb);
|
|
989
984
|
}
|
|
990
985
|
else {
|
|
991
986
|
return this.send(command, optionsOrCb);
|
|
992
987
|
}
|
|
993
|
-
}
|
|
994
|
-
|
|
995
|
-
|
|
988
|
+
}
|
|
989
|
+
notifyWhenUploaded(args, optionsOrCb, cb) {
|
|
990
|
+
const command = new NotifyWhenUploadedCommand(args);
|
|
996
991
|
if (typeof optionsOrCb === "function") {
|
|
997
992
|
this.send(command, optionsOrCb);
|
|
998
993
|
}
|
|
999
994
|
else if (typeof cb === "function") {
|
|
1000
995
|
if (typeof optionsOrCb !== "object")
|
|
1001
|
-
throw new Error(
|
|
996
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1002
997
|
this.send(command, optionsOrCb || {}, cb);
|
|
1003
998
|
}
|
|
1004
999
|
else {
|
|
1005
1000
|
return this.send(command, optionsOrCb);
|
|
1006
1001
|
}
|
|
1007
|
-
}
|
|
1008
|
-
|
|
1009
|
-
|
|
1002
|
+
}
|
|
1003
|
+
refreshCache(args, optionsOrCb, cb) {
|
|
1004
|
+
const command = new RefreshCacheCommand(args);
|
|
1010
1005
|
if (typeof optionsOrCb === "function") {
|
|
1011
1006
|
this.send(command, optionsOrCb);
|
|
1012
1007
|
}
|
|
1013
1008
|
else if (typeof cb === "function") {
|
|
1014
1009
|
if (typeof optionsOrCb !== "object")
|
|
1015
|
-
throw new Error(
|
|
1010
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1016
1011
|
this.send(command, optionsOrCb || {}, cb);
|
|
1017
1012
|
}
|
|
1018
1013
|
else {
|
|
1019
1014
|
return this.send(command, optionsOrCb);
|
|
1020
1015
|
}
|
|
1021
|
-
}
|
|
1022
|
-
|
|
1023
|
-
|
|
1016
|
+
}
|
|
1017
|
+
removeTagsFromResource(args, optionsOrCb, cb) {
|
|
1018
|
+
const command = new RemoveTagsFromResourceCommand(args);
|
|
1024
1019
|
if (typeof optionsOrCb === "function") {
|
|
1025
1020
|
this.send(command, optionsOrCb);
|
|
1026
1021
|
}
|
|
1027
1022
|
else if (typeof cb === "function") {
|
|
1028
1023
|
if (typeof optionsOrCb !== "object")
|
|
1029
|
-
throw new Error(
|
|
1024
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1030
1025
|
this.send(command, optionsOrCb || {}, cb);
|
|
1031
1026
|
}
|
|
1032
1027
|
else {
|
|
1033
1028
|
return this.send(command, optionsOrCb);
|
|
1034
1029
|
}
|
|
1035
|
-
}
|
|
1036
|
-
|
|
1037
|
-
|
|
1030
|
+
}
|
|
1031
|
+
resetCache(args, optionsOrCb, cb) {
|
|
1032
|
+
const command = new ResetCacheCommand(args);
|
|
1038
1033
|
if (typeof optionsOrCb === "function") {
|
|
1039
1034
|
this.send(command, optionsOrCb);
|
|
1040
1035
|
}
|
|
1041
1036
|
else if (typeof cb === "function") {
|
|
1042
1037
|
if (typeof optionsOrCb !== "object")
|
|
1043
|
-
throw new Error(
|
|
1038
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1044
1039
|
this.send(command, optionsOrCb || {}, cb);
|
|
1045
1040
|
}
|
|
1046
1041
|
else {
|
|
1047
1042
|
return this.send(command, optionsOrCb);
|
|
1048
1043
|
}
|
|
1049
|
-
}
|
|
1050
|
-
|
|
1051
|
-
|
|
1044
|
+
}
|
|
1045
|
+
retrieveTapeArchive(args, optionsOrCb, cb) {
|
|
1046
|
+
const command = new RetrieveTapeArchiveCommand(args);
|
|
1052
1047
|
if (typeof optionsOrCb === "function") {
|
|
1053
1048
|
this.send(command, optionsOrCb);
|
|
1054
1049
|
}
|
|
1055
1050
|
else if (typeof cb === "function") {
|
|
1056
1051
|
if (typeof optionsOrCb !== "object")
|
|
1057
|
-
throw new Error(
|
|
1052
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1058
1053
|
this.send(command, optionsOrCb || {}, cb);
|
|
1059
1054
|
}
|
|
1060
1055
|
else {
|
|
1061
1056
|
return this.send(command, optionsOrCb);
|
|
1062
1057
|
}
|
|
1063
|
-
}
|
|
1064
|
-
|
|
1065
|
-
|
|
1058
|
+
}
|
|
1059
|
+
retrieveTapeRecoveryPoint(args, optionsOrCb, cb) {
|
|
1060
|
+
const command = new RetrieveTapeRecoveryPointCommand(args);
|
|
1066
1061
|
if (typeof optionsOrCb === "function") {
|
|
1067
1062
|
this.send(command, optionsOrCb);
|
|
1068
1063
|
}
|
|
1069
1064
|
else if (typeof cb === "function") {
|
|
1070
1065
|
if (typeof optionsOrCb !== "object")
|
|
1071
|
-
throw new Error(
|
|
1066
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1072
1067
|
this.send(command, optionsOrCb || {}, cb);
|
|
1073
1068
|
}
|
|
1074
1069
|
else {
|
|
1075
1070
|
return this.send(command, optionsOrCb);
|
|
1076
1071
|
}
|
|
1077
|
-
}
|
|
1078
|
-
|
|
1079
|
-
|
|
1072
|
+
}
|
|
1073
|
+
setLocalConsolePassword(args, optionsOrCb, cb) {
|
|
1074
|
+
const command = new SetLocalConsolePasswordCommand(args);
|
|
1080
1075
|
if (typeof optionsOrCb === "function") {
|
|
1081
1076
|
this.send(command, optionsOrCb);
|
|
1082
1077
|
}
|
|
1083
1078
|
else if (typeof cb === "function") {
|
|
1084
1079
|
if (typeof optionsOrCb !== "object")
|
|
1085
|
-
throw new Error(
|
|
1080
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1086
1081
|
this.send(command, optionsOrCb || {}, cb);
|
|
1087
1082
|
}
|
|
1088
1083
|
else {
|
|
1089
1084
|
return this.send(command, optionsOrCb);
|
|
1090
1085
|
}
|
|
1091
|
-
}
|
|
1092
|
-
|
|
1093
|
-
|
|
1086
|
+
}
|
|
1087
|
+
setSMBGuestPassword(args, optionsOrCb, cb) {
|
|
1088
|
+
const command = new SetSMBGuestPasswordCommand(args);
|
|
1094
1089
|
if (typeof optionsOrCb === "function") {
|
|
1095
1090
|
this.send(command, optionsOrCb);
|
|
1096
1091
|
}
|
|
1097
1092
|
else if (typeof cb === "function") {
|
|
1098
1093
|
if (typeof optionsOrCb !== "object")
|
|
1099
|
-
throw new Error(
|
|
1094
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1100
1095
|
this.send(command, optionsOrCb || {}, cb);
|
|
1101
1096
|
}
|
|
1102
1097
|
else {
|
|
1103
1098
|
return this.send(command, optionsOrCb);
|
|
1104
1099
|
}
|
|
1105
|
-
}
|
|
1106
|
-
|
|
1107
|
-
|
|
1100
|
+
}
|
|
1101
|
+
shutdownGateway(args, optionsOrCb, cb) {
|
|
1102
|
+
const command = new ShutdownGatewayCommand(args);
|
|
1108
1103
|
if (typeof optionsOrCb === "function") {
|
|
1109
1104
|
this.send(command, optionsOrCb);
|
|
1110
1105
|
}
|
|
1111
1106
|
else if (typeof cb === "function") {
|
|
1112
1107
|
if (typeof optionsOrCb !== "object")
|
|
1113
|
-
throw new Error(
|
|
1108
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1114
1109
|
this.send(command, optionsOrCb || {}, cb);
|
|
1115
1110
|
}
|
|
1116
1111
|
else {
|
|
1117
1112
|
return this.send(command, optionsOrCb);
|
|
1118
1113
|
}
|
|
1119
|
-
}
|
|
1120
|
-
|
|
1121
|
-
|
|
1114
|
+
}
|
|
1115
|
+
startAvailabilityMonitorTest(args, optionsOrCb, cb) {
|
|
1116
|
+
const command = new StartAvailabilityMonitorTestCommand(args);
|
|
1122
1117
|
if (typeof optionsOrCb === "function") {
|
|
1123
1118
|
this.send(command, optionsOrCb);
|
|
1124
1119
|
}
|
|
1125
1120
|
else if (typeof cb === "function") {
|
|
1126
1121
|
if (typeof optionsOrCb !== "object")
|
|
1127
|
-
throw new Error(
|
|
1122
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1128
1123
|
this.send(command, optionsOrCb || {}, cb);
|
|
1129
1124
|
}
|
|
1130
1125
|
else {
|
|
1131
1126
|
return this.send(command, optionsOrCb);
|
|
1132
1127
|
}
|
|
1133
|
-
}
|
|
1134
|
-
|
|
1135
|
-
|
|
1128
|
+
}
|
|
1129
|
+
startGateway(args, optionsOrCb, cb) {
|
|
1130
|
+
const command = new StartGatewayCommand(args);
|
|
1136
1131
|
if (typeof optionsOrCb === "function") {
|
|
1137
1132
|
this.send(command, optionsOrCb);
|
|
1138
1133
|
}
|
|
1139
1134
|
else if (typeof cb === "function") {
|
|
1140
1135
|
if (typeof optionsOrCb !== "object")
|
|
1141
|
-
throw new Error(
|
|
1136
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1142
1137
|
this.send(command, optionsOrCb || {}, cb);
|
|
1143
1138
|
}
|
|
1144
1139
|
else {
|
|
1145
1140
|
return this.send(command, optionsOrCb);
|
|
1146
1141
|
}
|
|
1147
|
-
}
|
|
1148
|
-
|
|
1149
|
-
|
|
1142
|
+
}
|
|
1143
|
+
updateAutomaticTapeCreationPolicy(args, optionsOrCb, cb) {
|
|
1144
|
+
const command = new UpdateAutomaticTapeCreationPolicyCommand(args);
|
|
1150
1145
|
if (typeof optionsOrCb === "function") {
|
|
1151
1146
|
this.send(command, optionsOrCb);
|
|
1152
1147
|
}
|
|
1153
1148
|
else if (typeof cb === "function") {
|
|
1154
1149
|
if (typeof optionsOrCb !== "object")
|
|
1155
|
-
throw new Error(
|
|
1150
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1156
1151
|
this.send(command, optionsOrCb || {}, cb);
|
|
1157
1152
|
}
|
|
1158
1153
|
else {
|
|
1159
1154
|
return this.send(command, optionsOrCb);
|
|
1160
1155
|
}
|
|
1161
|
-
}
|
|
1162
|
-
|
|
1163
|
-
|
|
1156
|
+
}
|
|
1157
|
+
updateBandwidthRateLimit(args, optionsOrCb, cb) {
|
|
1158
|
+
const command = new UpdateBandwidthRateLimitCommand(args);
|
|
1164
1159
|
if (typeof optionsOrCb === "function") {
|
|
1165
1160
|
this.send(command, optionsOrCb);
|
|
1166
1161
|
}
|
|
1167
1162
|
else if (typeof cb === "function") {
|
|
1168
1163
|
if (typeof optionsOrCb !== "object")
|
|
1169
|
-
throw new Error(
|
|
1164
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1170
1165
|
this.send(command, optionsOrCb || {}, cb);
|
|
1171
1166
|
}
|
|
1172
1167
|
else {
|
|
1173
1168
|
return this.send(command, optionsOrCb);
|
|
1174
1169
|
}
|
|
1175
|
-
}
|
|
1176
|
-
|
|
1177
|
-
|
|
1170
|
+
}
|
|
1171
|
+
updateBandwidthRateLimitSchedule(args, optionsOrCb, cb) {
|
|
1172
|
+
const command = new UpdateBandwidthRateLimitScheduleCommand(args);
|
|
1178
1173
|
if (typeof optionsOrCb === "function") {
|
|
1179
1174
|
this.send(command, optionsOrCb);
|
|
1180
1175
|
}
|
|
1181
1176
|
else if (typeof cb === "function") {
|
|
1182
1177
|
if (typeof optionsOrCb !== "object")
|
|
1183
|
-
throw new Error(
|
|
1178
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1184
1179
|
this.send(command, optionsOrCb || {}, cb);
|
|
1185
1180
|
}
|
|
1186
1181
|
else {
|
|
1187
1182
|
return this.send(command, optionsOrCb);
|
|
1188
1183
|
}
|
|
1189
|
-
}
|
|
1190
|
-
|
|
1191
|
-
|
|
1184
|
+
}
|
|
1185
|
+
updateChapCredentials(args, optionsOrCb, cb) {
|
|
1186
|
+
const command = new UpdateChapCredentialsCommand(args);
|
|
1192
1187
|
if (typeof optionsOrCb === "function") {
|
|
1193
1188
|
this.send(command, optionsOrCb);
|
|
1194
1189
|
}
|
|
1195
1190
|
else if (typeof cb === "function") {
|
|
1196
1191
|
if (typeof optionsOrCb !== "object")
|
|
1197
|
-
throw new Error(
|
|
1192
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1198
1193
|
this.send(command, optionsOrCb || {}, cb);
|
|
1199
1194
|
}
|
|
1200
1195
|
else {
|
|
1201
1196
|
return this.send(command, optionsOrCb);
|
|
1202
1197
|
}
|
|
1203
|
-
}
|
|
1204
|
-
|
|
1205
|
-
|
|
1198
|
+
}
|
|
1199
|
+
updateFileSystemAssociation(args, optionsOrCb, cb) {
|
|
1200
|
+
const command = new UpdateFileSystemAssociationCommand(args);
|
|
1206
1201
|
if (typeof optionsOrCb === "function") {
|
|
1207
1202
|
this.send(command, optionsOrCb);
|
|
1208
1203
|
}
|
|
1209
1204
|
else if (typeof cb === "function") {
|
|
1210
1205
|
if (typeof optionsOrCb !== "object")
|
|
1211
|
-
throw new Error(
|
|
1206
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1212
1207
|
this.send(command, optionsOrCb || {}, cb);
|
|
1213
1208
|
}
|
|
1214
1209
|
else {
|
|
1215
1210
|
return this.send(command, optionsOrCb);
|
|
1216
1211
|
}
|
|
1217
|
-
}
|
|
1218
|
-
|
|
1219
|
-
|
|
1212
|
+
}
|
|
1213
|
+
updateGatewayInformation(args, optionsOrCb, cb) {
|
|
1214
|
+
const command = new UpdateGatewayInformationCommand(args);
|
|
1220
1215
|
if (typeof optionsOrCb === "function") {
|
|
1221
1216
|
this.send(command, optionsOrCb);
|
|
1222
1217
|
}
|
|
1223
1218
|
else if (typeof cb === "function") {
|
|
1224
1219
|
if (typeof optionsOrCb !== "object")
|
|
1225
|
-
throw new Error(
|
|
1220
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1226
1221
|
this.send(command, optionsOrCb || {}, cb);
|
|
1227
1222
|
}
|
|
1228
1223
|
else {
|
|
1229
1224
|
return this.send(command, optionsOrCb);
|
|
1230
1225
|
}
|
|
1231
|
-
}
|
|
1232
|
-
|
|
1233
|
-
|
|
1226
|
+
}
|
|
1227
|
+
updateGatewaySoftwareNow(args, optionsOrCb, cb) {
|
|
1228
|
+
const command = new UpdateGatewaySoftwareNowCommand(args);
|
|
1234
1229
|
if (typeof optionsOrCb === "function") {
|
|
1235
1230
|
this.send(command, optionsOrCb);
|
|
1236
1231
|
}
|
|
1237
1232
|
else if (typeof cb === "function") {
|
|
1238
1233
|
if (typeof optionsOrCb !== "object")
|
|
1239
|
-
throw new Error(
|
|
1234
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1240
1235
|
this.send(command, optionsOrCb || {}, cb);
|
|
1241
1236
|
}
|
|
1242
1237
|
else {
|
|
1243
1238
|
return this.send(command, optionsOrCb);
|
|
1244
1239
|
}
|
|
1245
|
-
}
|
|
1246
|
-
|
|
1247
|
-
|
|
1240
|
+
}
|
|
1241
|
+
updateMaintenanceStartTime(args, optionsOrCb, cb) {
|
|
1242
|
+
const command = new UpdateMaintenanceStartTimeCommand(args);
|
|
1248
1243
|
if (typeof optionsOrCb === "function") {
|
|
1249
1244
|
this.send(command, optionsOrCb);
|
|
1250
1245
|
}
|
|
1251
1246
|
else if (typeof cb === "function") {
|
|
1252
1247
|
if (typeof optionsOrCb !== "object")
|
|
1253
|
-
throw new Error(
|
|
1248
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1254
1249
|
this.send(command, optionsOrCb || {}, cb);
|
|
1255
1250
|
}
|
|
1256
1251
|
else {
|
|
1257
1252
|
return this.send(command, optionsOrCb);
|
|
1258
1253
|
}
|
|
1259
|
-
}
|
|
1260
|
-
|
|
1261
|
-
|
|
1254
|
+
}
|
|
1255
|
+
updateNFSFileShare(args, optionsOrCb, cb) {
|
|
1256
|
+
const command = new UpdateNFSFileShareCommand(args);
|
|
1262
1257
|
if (typeof optionsOrCb === "function") {
|
|
1263
1258
|
this.send(command, optionsOrCb);
|
|
1264
1259
|
}
|
|
1265
1260
|
else if (typeof cb === "function") {
|
|
1266
1261
|
if (typeof optionsOrCb !== "object")
|
|
1267
|
-
throw new Error(
|
|
1262
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1268
1263
|
this.send(command, optionsOrCb || {}, cb);
|
|
1269
1264
|
}
|
|
1270
1265
|
else {
|
|
1271
1266
|
return this.send(command, optionsOrCb);
|
|
1272
1267
|
}
|
|
1273
|
-
}
|
|
1274
|
-
|
|
1275
|
-
|
|
1268
|
+
}
|
|
1269
|
+
updateSMBFileShare(args, optionsOrCb, cb) {
|
|
1270
|
+
const command = new UpdateSMBFileShareCommand(args);
|
|
1276
1271
|
if (typeof optionsOrCb === "function") {
|
|
1277
1272
|
this.send(command, optionsOrCb);
|
|
1278
1273
|
}
|
|
1279
1274
|
else if (typeof cb === "function") {
|
|
1280
1275
|
if (typeof optionsOrCb !== "object")
|
|
1281
|
-
throw new Error(
|
|
1276
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1282
1277
|
this.send(command, optionsOrCb || {}, cb);
|
|
1283
1278
|
}
|
|
1284
1279
|
else {
|
|
1285
1280
|
return this.send(command, optionsOrCb);
|
|
1286
1281
|
}
|
|
1287
|
-
}
|
|
1288
|
-
|
|
1289
|
-
|
|
1282
|
+
}
|
|
1283
|
+
updateSMBFileShareVisibility(args, optionsOrCb, cb) {
|
|
1284
|
+
const command = new UpdateSMBFileShareVisibilityCommand(args);
|
|
1290
1285
|
if (typeof optionsOrCb === "function") {
|
|
1291
1286
|
this.send(command, optionsOrCb);
|
|
1292
1287
|
}
|
|
1293
1288
|
else if (typeof cb === "function") {
|
|
1294
1289
|
if (typeof optionsOrCb !== "object")
|
|
1295
|
-
throw new Error(
|
|
1290
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1296
1291
|
this.send(command, optionsOrCb || {}, cb);
|
|
1297
1292
|
}
|
|
1298
1293
|
else {
|
|
1299
1294
|
return this.send(command, optionsOrCb);
|
|
1300
1295
|
}
|
|
1301
|
-
}
|
|
1302
|
-
|
|
1303
|
-
|
|
1296
|
+
}
|
|
1297
|
+
updateSMBLocalGroups(args, optionsOrCb, cb) {
|
|
1298
|
+
const command = new UpdateSMBLocalGroupsCommand(args);
|
|
1304
1299
|
if (typeof optionsOrCb === "function") {
|
|
1305
1300
|
this.send(command, optionsOrCb);
|
|
1306
1301
|
}
|
|
1307
1302
|
else if (typeof cb === "function") {
|
|
1308
1303
|
if (typeof optionsOrCb !== "object")
|
|
1309
|
-
throw new Error(
|
|
1304
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1310
1305
|
this.send(command, optionsOrCb || {}, cb);
|
|
1311
1306
|
}
|
|
1312
1307
|
else {
|
|
1313
1308
|
return this.send(command, optionsOrCb);
|
|
1314
1309
|
}
|
|
1315
|
-
}
|
|
1316
|
-
|
|
1317
|
-
|
|
1310
|
+
}
|
|
1311
|
+
updateSMBSecurityStrategy(args, optionsOrCb, cb) {
|
|
1312
|
+
const command = new UpdateSMBSecurityStrategyCommand(args);
|
|
1318
1313
|
if (typeof optionsOrCb === "function") {
|
|
1319
1314
|
this.send(command, optionsOrCb);
|
|
1320
1315
|
}
|
|
1321
1316
|
else if (typeof cb === "function") {
|
|
1322
1317
|
if (typeof optionsOrCb !== "object")
|
|
1323
|
-
throw new Error(
|
|
1318
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1324
1319
|
this.send(command, optionsOrCb || {}, cb);
|
|
1325
1320
|
}
|
|
1326
1321
|
else {
|
|
1327
1322
|
return this.send(command, optionsOrCb);
|
|
1328
1323
|
}
|
|
1329
|
-
}
|
|
1330
|
-
|
|
1331
|
-
|
|
1324
|
+
}
|
|
1325
|
+
updateSnapshotSchedule(args, optionsOrCb, cb) {
|
|
1326
|
+
const command = new UpdateSnapshotScheduleCommand(args);
|
|
1332
1327
|
if (typeof optionsOrCb === "function") {
|
|
1333
1328
|
this.send(command, optionsOrCb);
|
|
1334
1329
|
}
|
|
1335
1330
|
else if (typeof cb === "function") {
|
|
1336
1331
|
if (typeof optionsOrCb !== "object")
|
|
1337
|
-
throw new Error(
|
|
1332
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1338
1333
|
this.send(command, optionsOrCb || {}, cb);
|
|
1339
1334
|
}
|
|
1340
1335
|
else {
|
|
1341
1336
|
return this.send(command, optionsOrCb);
|
|
1342
1337
|
}
|
|
1343
|
-
}
|
|
1344
|
-
|
|
1345
|
-
|
|
1338
|
+
}
|
|
1339
|
+
updateVTLDeviceType(args, optionsOrCb, cb) {
|
|
1340
|
+
const command = new UpdateVTLDeviceTypeCommand(args);
|
|
1346
1341
|
if (typeof optionsOrCb === "function") {
|
|
1347
1342
|
this.send(command, optionsOrCb);
|
|
1348
1343
|
}
|
|
1349
1344
|
else if (typeof cb === "function") {
|
|
1350
1345
|
if (typeof optionsOrCb !== "object")
|
|
1351
|
-
throw new Error(
|
|
1346
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1352
1347
|
this.send(command, optionsOrCb || {}, cb);
|
|
1353
1348
|
}
|
|
1354
1349
|
else {
|
|
1355
1350
|
return this.send(command, optionsOrCb);
|
|
1356
1351
|
}
|
|
1357
|
-
}
|
|
1358
|
-
|
|
1359
|
-
}(StorageGatewayClient));
|
|
1360
|
-
export { StorageGateway };
|
|
1352
|
+
}
|
|
1353
|
+
}
|