@aws-sdk/client-storage-gateway 3.51.0 → 3.54.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 CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-storage-gateway
9
+
10
+
11
+
12
+
13
+
14
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
15
+
16
+
17
+ ### Features
18
+
19
+ * **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-storage-gateway
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-storage-gateway
package/dist-cjs/index.js CHANGED
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StorageGatewayServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./StorageGateway"), exports);
5
6
  tslib_1.__exportStar(require("./StorageGatewayClient"), exports);
6
7
  tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
8
9
  tslib_1.__exportStar(require("./pagination"), exports);
10
+ var StorageGatewayServiceException_1 = require("./models/StorageGatewayServiceException");
11
+ Object.defineProperty(exports, "StorageGatewayServiceException", { enumerable: true, get: function () { return StorageGatewayServiceException_1.StorageGatewayServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StorageGatewayServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class StorageGatewayServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, StorageGatewayServiceException.prototype);
9
+ }
10
+ }
11
+ exports.StorageGatewayServiceException = StorageGatewayServiceException;
@@ -1,11 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteAutomaticTapeCreationPolicyInput = exports.CreateTapeWithBarcodeOutput = exports.CreateTapeWithBarcodeInput = exports.CreateTapesOutput = exports.CreateTapesInput = exports.CreateTapePoolOutput = exports.CreateTapePoolInput = exports.CreateStorediSCSIVolumeOutput = exports.CreateStorediSCSIVolumeInput = exports.CreateSnapshotFromVolumeRecoveryPointOutput = exports.CreateSnapshotFromVolumeRecoveryPointInput = exports.CreateSnapshotOutput = exports.CreateSnapshotInput = exports.CreateSMBFileShareOutput = exports.CreateSMBFileShareInput = exports.CreateNFSFileShareOutput = exports.CreateNFSFileShareInput = exports.NFSFileShareDefaults = exports.CreateCachediSCSIVolumeOutput = exports.CreateCachediSCSIVolumeInput = exports.ChapInfo = exports.CancelRetrievalOutput = exports.CancelRetrievalInput = exports.CancelArchivalOutput = exports.CancelArchivalInput = exports.CachediSCSIVolume = exports.VolumeiSCSIAttributes = exports.BandwidthRateLimitInterval = exports.AutomaticTapeCreationPolicyInfo = exports.AutomaticTapeCreationRule = exports.AttachVolumeOutput = exports.AttachVolumeInput = exports.AssociateFileSystemOutput = exports.AssociateFileSystemInput = exports.EndpointNetworkConfiguration = exports.CacheAttributes = exports.AssignTapePoolOutput = exports.AssignTapePoolInput = exports.AddWorkingStorageOutput = exports.AddWorkingStorageInput = exports.AddUploadBufferOutput = exports.AddUploadBufferInput = exports.AddTagsToResourceOutput = exports.AddTagsToResourceInput = exports.AddCacheOutput = exports.AddCacheInput = exports.StorageGatewayError = exports.ActivateGatewayOutput = exports.ActivateGatewayInput = exports.Tag = void 0;
4
- exports.DescribeSMBSettingsOutput = exports.SMBLocalGroups = exports.DescribeSMBSettingsInput = exports.DescribeSMBFileSharesOutput = exports.SMBFileShareInfo = exports.DescribeSMBFileSharesInput = exports.DescribeNFSFileSharesOutput = exports.NFSFileShareInfo = exports.DescribeNFSFileSharesInput = exports.DescribeMaintenanceStartTimeOutput = exports.DescribeMaintenanceStartTimeInput = exports.DescribeGatewayInformationOutput = exports.NetworkInterface = exports.GatewayCapacity = exports.DescribeGatewayInformationInput = exports.DescribeFileSystemAssociationsOutput = exports.FileSystemAssociationInfo = exports.FileSystemAssociationStatusDetail = exports.DescribeFileSystemAssociationsInput = exports.DescribeChapCredentialsOutput = exports.DescribeChapCredentialsInput = exports.DescribeCachediSCSIVolumesOutput = exports.DescribeCachediSCSIVolumesInput = exports.DescribeCacheOutput = exports.DescribeCacheInput = exports.DescribeBandwidthRateLimitScheduleOutput = exports.DescribeBandwidthRateLimitScheduleInput = exports.DescribeBandwidthRateLimitOutput = exports.DescribeBandwidthRateLimitInput = exports.DescribeAvailabilityMonitorTestOutput = exports.DescribeAvailabilityMonitorTestInput = exports.DeleteVolumeOutput = exports.DeleteVolumeInput = exports.DeleteTapePoolOutput = exports.DeleteTapePoolInput = exports.DeleteTapeArchiveOutput = exports.DeleteTapeArchiveInput = exports.DeleteTapeOutput = exports.DeleteTapeInput = exports.DeleteSnapshotScheduleOutput = exports.DeleteSnapshotScheduleInput = exports.DeleteGatewayOutput = exports.DeleteGatewayInput = exports.DeleteFileShareOutput = exports.DeleteFileShareInput = exports.DeleteChapCredentialsOutput = exports.DeleteChapCredentialsInput = exports.DeleteBandwidthRateLimitOutput = exports.DeleteBandwidthRateLimitInput = exports.DeleteAutomaticTapeCreationPolicyOutput = void 0;
5
- exports.ListTapesInput = exports.ListTapePoolsOutput = exports.PoolInfo = exports.ListTapePoolsInput = exports.ListTagsForResourceOutput = exports.ListTagsForResourceInput = exports.ListLocalDisksOutput = exports.ListLocalDisksInput = exports.ListGatewaysOutput = exports.ListGatewaysInput = exports.ListFileSystemAssociationsOutput = exports.ListFileSystemAssociationsInput = exports.ListFileSharesOutput = exports.ListFileSharesInput = exports.ListAutomaticTapeCreationPoliciesOutput = exports.ListAutomaticTapeCreationPoliciesInput = exports.JoinDomainOutput = exports.JoinDomainInput = exports.GatewayInfo = exports.FileSystemAssociationSummary = exports.FileShareInfo = exports.Disk = exports.DisassociateFileSystemOutput = exports.DisassociateFileSystemInput = exports.DisableGatewayOutput = exports.DisableGatewayInput = exports.DetachVolumeOutput = exports.DetachVolumeInput = exports.DescribeWorkingStorageOutput = exports.DescribeWorkingStorageInput = exports.DescribeVTLDevicesOutput = exports.VTLDevice = exports.DeviceiSCSIAttributes = exports.DescribeVTLDevicesInput = exports.DescribeUploadBufferOutput = exports.DescribeUploadBufferInput = exports.DescribeTapesOutput = exports.Tape = exports.DescribeTapesInput = exports.DescribeTapeRecoveryPointsOutput = exports.TapeRecoveryPointInfo = exports.DescribeTapeRecoveryPointsInput = exports.DescribeTapeArchivesOutput = exports.TapeArchive = exports.DescribeTapeArchivesInput = exports.DescribeStorediSCSIVolumesOutput = exports.StorediSCSIVolume = exports.DescribeStorediSCSIVolumesInput = exports.DescribeSnapshotScheduleOutput = exports.DescribeSnapshotScheduleInput = void 0;
6
- exports.UpdateNFSFileShareOutput = exports.UpdateNFSFileShareInput = exports.UpdateMaintenanceStartTimeOutput = exports.UpdateMaintenanceStartTimeInput = exports.UpdateGatewaySoftwareNowOutput = exports.UpdateGatewaySoftwareNowInput = exports.UpdateGatewayInformationOutput = exports.UpdateGatewayInformationInput = exports.UpdateFileSystemAssociationOutput = exports.UpdateFileSystemAssociationInput = exports.UpdateChapCredentialsOutput = exports.UpdateChapCredentialsInput = exports.UpdateBandwidthRateLimitScheduleOutput = exports.UpdateBandwidthRateLimitScheduleInput = exports.UpdateBandwidthRateLimitOutput = exports.UpdateBandwidthRateLimitInput = exports.UpdateAutomaticTapeCreationPolicyOutput = exports.UpdateAutomaticTapeCreationPolicyInput = exports.StartGatewayOutput = exports.StartGatewayInput = exports.StartAvailabilityMonitorTestOutput = exports.StartAvailabilityMonitorTestInput = exports.ShutdownGatewayOutput = exports.ShutdownGatewayInput = exports.SetSMBGuestPasswordOutput = exports.SetSMBGuestPasswordInput = exports.SetLocalConsolePasswordOutput = exports.SetLocalConsolePasswordInput = exports.RetrieveTapeRecoveryPointOutput = exports.RetrieveTapeRecoveryPointInput = exports.RetrieveTapeArchiveOutput = exports.RetrieveTapeArchiveInput = exports.ResetCacheOutput = exports.ResetCacheInput = exports.RemoveTagsFromResourceOutput = exports.RemoveTagsFromResourceInput = exports.RefreshCacheOutput = exports.RefreshCacheInput = exports.NotifyWhenUploadedOutput = exports.NotifyWhenUploadedInput = exports.ListVolumesOutput = exports.VolumeInfo = exports.ListVolumesInput = exports.ListVolumeRecoveryPointsOutput = exports.VolumeRecoveryPointInfo = exports.ListVolumeRecoveryPointsInput = exports.ListVolumeInitiatorsOutput = exports.ListVolumeInitiatorsInput = exports.ListTapesOutput = exports.TapeInfo = void 0;
7
- exports.UpdateVTLDeviceTypeOutput = exports.UpdateVTLDeviceTypeInput = exports.UpdateSnapshotScheduleOutput = exports.UpdateSnapshotScheduleInput = exports.UpdateSMBSecurityStrategyOutput = exports.UpdateSMBSecurityStrategyInput = exports.UpdateSMBLocalGroupsOutput = exports.UpdateSMBLocalGroupsInput = exports.UpdateSMBFileShareVisibilityOutput = exports.UpdateSMBFileShareVisibilityInput = exports.UpdateSMBFileShareOutput = exports.UpdateSMBFileShareInput = void 0;
3
+ exports.CreateTapesOutput = exports.CreateTapesInput = exports.CreateTapePoolOutput = exports.CreateTapePoolInput = exports.CreateStorediSCSIVolumeOutput = exports.CreateStorediSCSIVolumeInput = exports.CreateSnapshotFromVolumeRecoveryPointOutput = exports.CreateSnapshotFromVolumeRecoveryPointInput = exports.ServiceUnavailableError = exports.CreateSnapshotOutput = exports.CreateSnapshotInput = exports.CreateSMBFileShareOutput = exports.CreateSMBFileShareInput = exports.CreateNFSFileShareOutput = exports.CreateNFSFileShareInput = exports.NFSFileShareDefaults = exports.CreateCachediSCSIVolumeOutput = exports.CreateCachediSCSIVolumeInput = exports.ChapInfo = exports.CancelRetrievalOutput = exports.CancelRetrievalInput = exports.CancelArchivalOutput = exports.CancelArchivalInput = exports.CachediSCSIVolume = exports.VolumeiSCSIAttributes = exports.BandwidthRateLimitInterval = exports.AutomaticTapeCreationPolicyInfo = exports.AutomaticTapeCreationRule = exports.AttachVolumeOutput = exports.AttachVolumeInput = exports.AssociateFileSystemOutput = exports.AssociateFileSystemInput = exports.EndpointNetworkConfiguration = exports.CacheAttributes = exports.AssignTapePoolOutput = exports.AssignTapePoolInput = exports.AddWorkingStorageOutput = exports.AddWorkingStorageInput = exports.AddUploadBufferOutput = exports.AddUploadBufferInput = exports.AddTagsToResourceOutput = exports.AddTagsToResourceInput = exports.AddCacheOutput = exports.AddCacheInput = exports.InvalidGatewayRequestException = exports.InternalServerError = exports.StorageGatewayError = exports.ActivateGatewayOutput = exports.ActivateGatewayInput = exports.Tag = void 0;
4
+ exports.DescribeSMBFileSharesOutput = exports.SMBFileShareInfo = exports.DescribeSMBFileSharesInput = exports.DescribeNFSFileSharesOutput = exports.NFSFileShareInfo = exports.DescribeNFSFileSharesInput = exports.DescribeMaintenanceStartTimeOutput = exports.DescribeMaintenanceStartTimeInput = exports.DescribeGatewayInformationOutput = exports.NetworkInterface = exports.GatewayCapacity = exports.DescribeGatewayInformationInput = exports.DescribeFileSystemAssociationsOutput = exports.FileSystemAssociationInfo = exports.FileSystemAssociationStatusDetail = exports.DescribeFileSystemAssociationsInput = exports.DescribeChapCredentialsOutput = exports.DescribeChapCredentialsInput = exports.DescribeCachediSCSIVolumesOutput = exports.DescribeCachediSCSIVolumesInput = exports.DescribeCacheOutput = exports.DescribeCacheInput = exports.DescribeBandwidthRateLimitScheduleOutput = exports.DescribeBandwidthRateLimitScheduleInput = exports.DescribeBandwidthRateLimitOutput = exports.DescribeBandwidthRateLimitInput = exports.DescribeAvailabilityMonitorTestOutput = exports.DescribeAvailabilityMonitorTestInput = exports.DeleteVolumeOutput = exports.DeleteVolumeInput = exports.DeleteTapePoolOutput = exports.DeleteTapePoolInput = exports.DeleteTapeArchiveOutput = exports.DeleteTapeArchiveInput = exports.DeleteTapeOutput = exports.DeleteTapeInput = exports.DeleteSnapshotScheduleOutput = exports.DeleteSnapshotScheduleInput = exports.DeleteGatewayOutput = exports.DeleteGatewayInput = exports.DeleteFileShareOutput = exports.DeleteFileShareInput = exports.DeleteChapCredentialsOutput = exports.DeleteChapCredentialsInput = exports.DeleteBandwidthRateLimitOutput = exports.DeleteBandwidthRateLimitInput = exports.DeleteAutomaticTapeCreationPolicyOutput = exports.DeleteAutomaticTapeCreationPolicyInput = exports.CreateTapeWithBarcodeOutput = exports.CreateTapeWithBarcodeInput = void 0;
5
+ exports.ListTapePoolsInput = exports.ListTagsForResourceOutput = exports.ListTagsForResourceInput = exports.ListLocalDisksOutput = exports.ListLocalDisksInput = exports.ListGatewaysOutput = exports.ListGatewaysInput = exports.ListFileSystemAssociationsOutput = exports.ListFileSystemAssociationsInput = exports.ListFileSharesOutput = exports.ListFileSharesInput = exports.ListAutomaticTapeCreationPoliciesOutput = exports.ListAutomaticTapeCreationPoliciesInput = exports.JoinDomainOutput = exports.JoinDomainInput = exports.GatewayInfo = exports.FileSystemAssociationSummary = exports.FileShareInfo = exports.Disk = exports.DisassociateFileSystemOutput = exports.DisassociateFileSystemInput = exports.DisableGatewayOutput = exports.DisableGatewayInput = exports.DetachVolumeOutput = exports.DetachVolumeInput = exports.DescribeWorkingStorageOutput = exports.DescribeWorkingStorageInput = exports.DescribeVTLDevicesOutput = exports.VTLDevice = exports.DeviceiSCSIAttributes = exports.DescribeVTLDevicesInput = exports.DescribeUploadBufferOutput = exports.DescribeUploadBufferInput = exports.DescribeTapesOutput = exports.Tape = exports.DescribeTapesInput = exports.DescribeTapeRecoveryPointsOutput = exports.TapeRecoveryPointInfo = exports.DescribeTapeRecoveryPointsInput = exports.DescribeTapeArchivesOutput = exports.TapeArchive = exports.DescribeTapeArchivesInput = exports.DescribeStorediSCSIVolumesOutput = exports.StorediSCSIVolume = exports.DescribeStorediSCSIVolumesInput = exports.DescribeSnapshotScheduleOutput = exports.DescribeSnapshotScheduleInput = exports.DescribeSMBSettingsOutput = exports.SMBLocalGroups = exports.DescribeSMBSettingsInput = void 0;
6
+ exports.UpdateMaintenanceStartTimeInput = exports.UpdateGatewaySoftwareNowOutput = exports.UpdateGatewaySoftwareNowInput = exports.UpdateGatewayInformationOutput = exports.UpdateGatewayInformationInput = exports.UpdateFileSystemAssociationOutput = exports.UpdateFileSystemAssociationInput = exports.UpdateChapCredentialsOutput = exports.UpdateChapCredentialsInput = exports.UpdateBandwidthRateLimitScheduleOutput = exports.UpdateBandwidthRateLimitScheduleInput = exports.UpdateBandwidthRateLimitOutput = exports.UpdateBandwidthRateLimitInput = exports.UpdateAutomaticTapeCreationPolicyOutput = exports.UpdateAutomaticTapeCreationPolicyInput = exports.StartGatewayOutput = exports.StartGatewayInput = exports.StartAvailabilityMonitorTestOutput = exports.StartAvailabilityMonitorTestInput = exports.ShutdownGatewayOutput = exports.ShutdownGatewayInput = exports.SetSMBGuestPasswordOutput = exports.SetSMBGuestPasswordInput = exports.SetLocalConsolePasswordOutput = exports.SetLocalConsolePasswordInput = exports.RetrieveTapeRecoveryPointOutput = exports.RetrieveTapeRecoveryPointInput = exports.RetrieveTapeArchiveOutput = exports.RetrieveTapeArchiveInput = exports.ResetCacheOutput = exports.ResetCacheInput = exports.RemoveTagsFromResourceOutput = exports.RemoveTagsFromResourceInput = exports.RefreshCacheOutput = exports.RefreshCacheInput = exports.NotifyWhenUploadedOutput = exports.NotifyWhenUploadedInput = exports.ListVolumesOutput = exports.VolumeInfo = exports.ListVolumesInput = exports.ListVolumeRecoveryPointsOutput = exports.VolumeRecoveryPointInfo = exports.ListVolumeRecoveryPointsInput = exports.ListVolumeInitiatorsOutput = exports.ListVolumeInitiatorsInput = exports.ListTapesOutput = exports.TapeInfo = exports.ListTapesInput = exports.ListTapePoolsOutput = exports.PoolInfo = void 0;
7
+ exports.UpdateVTLDeviceTypeOutput = exports.UpdateVTLDeviceTypeInput = exports.UpdateSnapshotScheduleOutput = exports.UpdateSnapshotScheduleInput = exports.UpdateSMBSecurityStrategyOutput = exports.UpdateSMBSecurityStrategyInput = exports.UpdateSMBLocalGroupsOutput = exports.UpdateSMBLocalGroupsInput = exports.UpdateSMBFileShareVisibilityOutput = exports.UpdateSMBFileShareVisibilityInput = exports.UpdateSMBFileShareOutput = exports.UpdateSMBFileShareInput = exports.UpdateNFSFileShareOutput = exports.UpdateNFSFileShareInput = exports.UpdateMaintenanceStartTimeOutput = void 0;
8
8
  const smithy_client_1 = require("@aws-sdk/smithy-client");
9
+ const StorageGatewayServiceException_1 = require("./StorageGatewayServiceException");
9
10
  var Tag;
10
11
  (function (Tag) {
11
12
  Tag.filterSensitiveLog = (obj) => ({
@@ -30,6 +31,34 @@ var StorageGatewayError;
30
31
  ...obj,
31
32
  });
32
33
  })(StorageGatewayError = exports.StorageGatewayError || (exports.StorageGatewayError = {}));
34
+ class InternalServerError extends StorageGatewayServiceException_1.StorageGatewayServiceException {
35
+ constructor(opts) {
36
+ super({
37
+ name: "InternalServerError",
38
+ $fault: "server",
39
+ ...opts,
40
+ });
41
+ this.name = "InternalServerError";
42
+ this.$fault = "server";
43
+ Object.setPrototypeOf(this, InternalServerError.prototype);
44
+ this.error = opts.error;
45
+ }
46
+ }
47
+ exports.InternalServerError = InternalServerError;
48
+ class InvalidGatewayRequestException extends StorageGatewayServiceException_1.StorageGatewayServiceException {
49
+ constructor(opts) {
50
+ super({
51
+ name: "InvalidGatewayRequestException",
52
+ $fault: "client",
53
+ ...opts,
54
+ });
55
+ this.name = "InvalidGatewayRequestException";
56
+ this.$fault = "client";
57
+ Object.setPrototypeOf(this, InvalidGatewayRequestException.prototype);
58
+ this.error = opts.error;
59
+ }
60
+ }
61
+ exports.InvalidGatewayRequestException = InvalidGatewayRequestException;
33
62
  var AddCacheInput;
34
63
  (function (AddCacheInput) {
35
64
  AddCacheInput.filterSensitiveLog = (obj) => ({
@@ -243,6 +272,20 @@ var CreateSnapshotOutput;
243
272
  ...obj,
244
273
  });
245
274
  })(CreateSnapshotOutput = exports.CreateSnapshotOutput || (exports.CreateSnapshotOutput = {}));
275
+ class ServiceUnavailableError extends StorageGatewayServiceException_1.StorageGatewayServiceException {
276
+ constructor(opts) {
277
+ super({
278
+ name: "ServiceUnavailableError",
279
+ $fault: "server",
280
+ ...opts,
281
+ });
282
+ this.name = "ServiceUnavailableError";
283
+ this.$fault = "server";
284
+ Object.setPrototypeOf(this, ServiceUnavailableError.prototype);
285
+ this.error = opts.error;
286
+ }
287
+ }
288
+ exports.ServiceUnavailableError = ServiceUnavailableError;
246
289
  var CreateSnapshotFromVolumeRecoveryPointInput;
247
290
  (function (CreateSnapshotFromVolumeRecoveryPointInput) {
248
291
  CreateSnapshotFromVolumeRecoveryPointInput.filterSensitiveLog = (obj) => ({