@aws-sdk/client-storage-gateway 3.28.0 → 3.32.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-storage-gateway",
3
3
  "description": "AWS SDK for JavaScript Storage Gateway Client for Node.js, Browser and React Native",
4
- "version": "3.28.0",
4
+ "version": "3.32.0",
5
5
  "scripts": {
6
6
  "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
7
7
  "build-documentation": "yarn remove-documentation && typedoc ./",
@@ -27,45 +27,45 @@
27
27
  "dependencies": {
28
28
  "@aws-crypto/sha256-browser": "^1.0.0",
29
29
  "@aws-crypto/sha256-js": "^1.0.0",
30
- "@aws-sdk/client-sts": "3.28.0",
31
- "@aws-sdk/config-resolver": "3.28.0",
32
- "@aws-sdk/credential-provider-node": "3.28.0",
33
- "@aws-sdk/fetch-http-handler": "3.25.0",
34
- "@aws-sdk/hash-node": "3.25.0",
35
- "@aws-sdk/invalid-dependency": "3.25.0",
36
- "@aws-sdk/middleware-content-length": "3.25.0",
37
- "@aws-sdk/middleware-host-header": "3.25.0",
38
- "@aws-sdk/middleware-logger": "3.25.0",
39
- "@aws-sdk/middleware-retry": "3.28.0",
40
- "@aws-sdk/middleware-serde": "3.25.0",
41
- "@aws-sdk/middleware-signing": "3.28.0",
42
- "@aws-sdk/middleware-stack": "3.25.0",
43
- "@aws-sdk/middleware-user-agent": "3.25.0",
44
- "@aws-sdk/node-config-provider": "3.28.0",
45
- "@aws-sdk/node-http-handler": "3.25.0",
46
- "@aws-sdk/protocol-http": "3.25.0",
47
- "@aws-sdk/smithy-client": "3.28.0",
48
- "@aws-sdk/types": "3.25.0",
49
- "@aws-sdk/url-parser": "3.25.0",
50
- "@aws-sdk/util-base64-browser": "3.23.0",
51
- "@aws-sdk/util-base64-node": "3.23.0",
52
- "@aws-sdk/util-body-length-browser": "3.23.0",
53
- "@aws-sdk/util-body-length-node": "3.23.0",
54
- "@aws-sdk/util-user-agent-browser": "3.25.0",
55
- "@aws-sdk/util-user-agent-node": "3.28.0",
56
- "@aws-sdk/util-utf8-browser": "3.23.0",
57
- "@aws-sdk/util-utf8-node": "3.23.0",
30
+ "@aws-sdk/client-sts": "3.32.0",
31
+ "@aws-sdk/config-resolver": "3.32.0",
32
+ "@aws-sdk/credential-provider-node": "3.32.0",
33
+ "@aws-sdk/fetch-http-handler": "3.32.0",
34
+ "@aws-sdk/hash-node": "3.32.0",
35
+ "@aws-sdk/invalid-dependency": "3.32.0",
36
+ "@aws-sdk/middleware-content-length": "3.32.0",
37
+ "@aws-sdk/middleware-host-header": "3.32.0",
38
+ "@aws-sdk/middleware-logger": "3.32.0",
39
+ "@aws-sdk/middleware-retry": "3.32.0",
40
+ "@aws-sdk/middleware-serde": "3.32.0",
41
+ "@aws-sdk/middleware-signing": "3.32.0",
42
+ "@aws-sdk/middleware-stack": "3.32.0",
43
+ "@aws-sdk/middleware-user-agent": "3.32.0",
44
+ "@aws-sdk/node-config-provider": "3.32.0",
45
+ "@aws-sdk/node-http-handler": "3.32.0",
46
+ "@aws-sdk/protocol-http": "3.32.0",
47
+ "@aws-sdk/smithy-client": "3.32.0",
48
+ "@aws-sdk/types": "3.32.0",
49
+ "@aws-sdk/url-parser": "3.32.0",
50
+ "@aws-sdk/util-base64-browser": "3.32.0",
51
+ "@aws-sdk/util-base64-node": "3.32.0",
52
+ "@aws-sdk/util-body-length-browser": "3.32.0",
53
+ "@aws-sdk/util-body-length-node": "3.32.0",
54
+ "@aws-sdk/util-user-agent-browser": "3.32.0",
55
+ "@aws-sdk/util-user-agent-node": "3.32.0",
56
+ "@aws-sdk/util-utf8-browser": "3.32.0",
57
+ "@aws-sdk/util-utf8-node": "3.32.0",
58
58
  "tslib": "^2.3.0"
59
59
  },
60
60
  "devDependencies": {
61
- "@aws-sdk/client-documentation-generator": "3.23.0",
61
+ "@aws-sdk/client-documentation-generator": "3.32.0",
62
62
  "@types/node": "^12.7.5",
63
63
  "downlevel-dts": "0.7.0",
64
64
  "jest": "^26.1.0",
65
65
  "rimraf": "^3.0.0",
66
66
  "ts-jest": "^26.4.1",
67
67
  "typedoc": "^0.19.2",
68
- "typescript": "~4.3.2"
68
+ "typescript": "~4.3.5"
69
69
  },
70
70
  "engines": {
71
71
  "node": ">=10.0.0"
@@ -453,9 +453,13 @@ import {
453
453
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
454
454
  import {
455
455
  expectBoolean as __expectBoolean,
456
- expectInt as __expectInt,
456
+ expectInt32 as __expectInt32,
457
+ expectLong as __expectLong,
458
+ expectNonNull as __expectNonNull,
459
+ expectNumber as __expectNumber,
457
460
  expectString as __expectString,
458
- limitedParseFloat as __limitedParseFloat,
461
+ limitedParseDouble as __limitedParseDouble,
462
+ parseEpochTimestamp as __parseEpochTimestamp,
459
463
  } from "@aws-sdk/smithy-client";
460
464
  import {
461
465
  Endpoint as __Endpoint,
@@ -8604,10 +8608,10 @@ const deserializeAws_json1_1AutomaticTapeCreationRule = (
8604
8608
  context: __SerdeContext
8605
8609
  ): AutomaticTapeCreationRule => {
8606
8610
  return {
8607
- MinimumNumTapes: __expectInt(output.MinimumNumTapes),
8611
+ MinimumNumTapes: __expectInt32(output.MinimumNumTapes),
8608
8612
  PoolId: __expectString(output.PoolId),
8609
8613
  TapeBarcodePrefix: __expectString(output.TapeBarcodePrefix),
8610
- TapeSizeInBytes: __expectInt(output.TapeSizeInBytes),
8614
+ TapeSizeInBytes: __expectLong(output.TapeSizeInBytes),
8611
8615
  Worm: __expectBoolean(output.Worm),
8612
8616
  } as any;
8613
8617
  };
@@ -8631,16 +8635,16 @@ const deserializeAws_json1_1BandwidthRateLimitInterval = (
8631
8635
  context: __SerdeContext
8632
8636
  ): BandwidthRateLimitInterval => {
8633
8637
  return {
8634
- AverageDownloadRateLimitInBitsPerSec: __expectInt(output.AverageDownloadRateLimitInBitsPerSec),
8635
- AverageUploadRateLimitInBitsPerSec: __expectInt(output.AverageUploadRateLimitInBitsPerSec),
8638
+ AverageDownloadRateLimitInBitsPerSec: __expectLong(output.AverageDownloadRateLimitInBitsPerSec),
8639
+ AverageUploadRateLimitInBitsPerSec: __expectLong(output.AverageUploadRateLimitInBitsPerSec),
8636
8640
  DaysOfWeek:
8637
8641
  output.DaysOfWeek !== undefined && output.DaysOfWeek !== null
8638
8642
  ? deserializeAws_json1_1DaysOfWeek(output.DaysOfWeek, context)
8639
8643
  : undefined,
8640
- EndHourOfDay: __expectInt(output.EndHourOfDay),
8641
- EndMinuteOfHour: __expectInt(output.EndMinuteOfHour),
8642
- StartHourOfDay: __expectInt(output.StartHourOfDay),
8643
- StartMinuteOfHour: __expectInt(output.StartMinuteOfHour),
8644
+ EndHourOfDay: __expectInt32(output.EndHourOfDay),
8645
+ EndMinuteOfHour: __expectInt32(output.EndMinuteOfHour),
8646
+ StartHourOfDay: __expectInt32(output.StartHourOfDay),
8647
+ StartMinuteOfHour: __expectInt32(output.StartMinuteOfHour),
8644
8648
  } as any;
8645
8649
  };
8646
8650
 
@@ -8660,7 +8664,7 @@ const deserializeAws_json1_1BandwidthRateLimitIntervals = (
8660
8664
 
8661
8665
  const deserializeAws_json1_1CacheAttributes = (output: any, context: __SerdeContext): CacheAttributes => {
8662
8666
  return {
8663
- CacheStaleTimeoutInSeconds: __expectInt(output.CacheStaleTimeoutInSeconds),
8667
+ CacheStaleTimeoutInSeconds: __expectInt32(output.CacheStaleTimeoutInSeconds),
8664
8668
  } as any;
8665
8669
  };
8666
8670
 
@@ -8668,7 +8672,7 @@ const deserializeAws_json1_1CachediSCSIVolume = (output: any, context: __SerdeCo
8668
8672
  return {
8669
8673
  CreatedDate:
8670
8674
  output.CreatedDate !== undefined && output.CreatedDate !== null
8671
- ? new Date(Math.round(output.CreatedDate * 1000))
8675
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedDate)))
8672
8676
  : undefined,
8673
8677
  KMSKey: __expectString(output.KMSKey),
8674
8678
  SourceSnapshotId: __expectString(output.SourceSnapshotId),
@@ -8676,11 +8680,11 @@ const deserializeAws_json1_1CachediSCSIVolume = (output: any, context: __SerdeCo
8676
8680
  VolumeARN: __expectString(output.VolumeARN),
8677
8681
  VolumeAttachmentStatus: __expectString(output.VolumeAttachmentStatus),
8678
8682
  VolumeId: __expectString(output.VolumeId),
8679
- VolumeProgress: __limitedParseFloat(output.VolumeProgress),
8680
- VolumeSizeInBytes: __expectInt(output.VolumeSizeInBytes),
8683
+ VolumeProgress: __limitedParseDouble(output.VolumeProgress),
8684
+ VolumeSizeInBytes: __expectLong(output.VolumeSizeInBytes),
8681
8685
  VolumeStatus: __expectString(output.VolumeStatus),
8682
8686
  VolumeType: __expectString(output.VolumeType),
8683
- VolumeUsedInBytes: __expectInt(output.VolumeUsedInBytes),
8687
+ VolumeUsedInBytes: __expectLong(output.VolumeUsedInBytes),
8684
8688
  VolumeiSCSIAttributes:
8685
8689
  output.VolumeiSCSIAttributes !== undefined && output.VolumeiSCSIAttributes !== null
8686
8690
  ? deserializeAws_json1_1VolumeiSCSIAttributes(output.VolumeiSCSIAttributes, context)
@@ -8784,7 +8788,7 @@ const deserializeAws_json1_1CreateStorediSCSIVolumeOutput = (
8784
8788
  return {
8785
8789
  TargetARN: __expectString(output.TargetARN),
8786
8790
  VolumeARN: __expectString(output.VolumeARN),
8787
- VolumeSizeInBytes: __expectInt(output.VolumeSizeInBytes),
8791
+ VolumeSizeInBytes: __expectLong(output.VolumeSizeInBytes),
8788
8792
  } as any;
8789
8793
  };
8790
8794
 
@@ -8819,7 +8823,7 @@ const deserializeAws_json1_1DaysOfWeek = (output: any, context: __SerdeContext):
8819
8823
  if (entry === null) {
8820
8824
  return null as any;
8821
8825
  }
8822
- return __expectInt(entry) as any;
8826
+ return __expectInt32(entry) as any;
8823
8827
  });
8824
8828
  };
8825
8829
 
@@ -8907,7 +8911,7 @@ const deserializeAws_json1_1DescribeAvailabilityMonitorTestOutput = (
8907
8911
  GatewayARN: __expectString(output.GatewayARN),
8908
8912
  StartTime:
8909
8913
  output.StartTime !== undefined && output.StartTime !== null
8910
- ? new Date(Math.round(output.StartTime * 1000))
8914
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
8911
8915
  : undefined,
8912
8916
  Status: __expectString(output.Status),
8913
8917
  } as any;
@@ -8918,8 +8922,8 @@ const deserializeAws_json1_1DescribeBandwidthRateLimitOutput = (
8918
8922
  context: __SerdeContext
8919
8923
  ): DescribeBandwidthRateLimitOutput => {
8920
8924
  return {
8921
- AverageDownloadRateLimitInBitsPerSec: __expectInt(output.AverageDownloadRateLimitInBitsPerSec),
8922
- AverageUploadRateLimitInBitsPerSec: __expectInt(output.AverageUploadRateLimitInBitsPerSec),
8925
+ AverageDownloadRateLimitInBitsPerSec: __expectLong(output.AverageDownloadRateLimitInBitsPerSec),
8926
+ AverageUploadRateLimitInBitsPerSec: __expectLong(output.AverageUploadRateLimitInBitsPerSec),
8923
8927
  GatewayARN: __expectString(output.GatewayARN),
8924
8928
  } as any;
8925
8929
  };
@@ -8951,11 +8955,11 @@ const deserializeAws_json1_1DescribeCachediSCSIVolumesOutput = (
8951
8955
 
8952
8956
  const deserializeAws_json1_1DescribeCacheOutput = (output: any, context: __SerdeContext): DescribeCacheOutput => {
8953
8957
  return {
8954
- CacheAllocatedInBytes: __expectInt(output.CacheAllocatedInBytes),
8955
- CacheDirtyPercentage: __limitedParseFloat(output.CacheDirtyPercentage),
8956
- CacheHitPercentage: __limitedParseFloat(output.CacheHitPercentage),
8957
- CacheMissPercentage: __limitedParseFloat(output.CacheMissPercentage),
8958
- CacheUsedPercentage: __limitedParseFloat(output.CacheUsedPercentage),
8958
+ CacheAllocatedInBytes: __expectLong(output.CacheAllocatedInBytes),
8959
+ CacheDirtyPercentage: __limitedParseDouble(output.CacheDirtyPercentage),
8960
+ CacheHitPercentage: __limitedParseDouble(output.CacheHitPercentage),
8961
+ CacheMissPercentage: __limitedParseDouble(output.CacheMissPercentage),
8962
+ CacheUsedPercentage: __limitedParseDouble(output.CacheUsedPercentage),
8959
8963
  DiskIds:
8960
8964
  output.DiskIds !== undefined && output.DiskIds !== null
8961
8965
  ? deserializeAws_json1_1DiskIds(output.DiskIds, context)
@@ -9028,11 +9032,11 @@ const deserializeAws_json1_1DescribeMaintenanceStartTimeOutput = (
9028
9032
  context: __SerdeContext
9029
9033
  ): DescribeMaintenanceStartTimeOutput => {
9030
9034
  return {
9031
- DayOfMonth: __expectInt(output.DayOfMonth),
9032
- DayOfWeek: __expectInt(output.DayOfWeek),
9035
+ DayOfMonth: __expectInt32(output.DayOfMonth),
9036
+ DayOfWeek: __expectInt32(output.DayOfWeek),
9033
9037
  GatewayARN: __expectString(output.GatewayARN),
9034
- HourOfDay: __expectInt(output.HourOfDay),
9035
- MinuteOfHour: __expectInt(output.MinuteOfHour),
9038
+ HourOfDay: __expectInt32(output.HourOfDay),
9039
+ MinuteOfHour: __expectInt32(output.MinuteOfHour),
9036
9040
  Timezone: __expectString(output.Timezone),
9037
9041
  } as any;
9038
9042
  };
@@ -9081,8 +9085,8 @@ const deserializeAws_json1_1DescribeSnapshotScheduleOutput = (
9081
9085
  ): DescribeSnapshotScheduleOutput => {
9082
9086
  return {
9083
9087
  Description: __expectString(output.Description),
9084
- RecurrenceInHours: __expectInt(output.RecurrenceInHours),
9085
- StartAt: __expectInt(output.StartAt),
9088
+ RecurrenceInHours: __expectInt32(output.RecurrenceInHours),
9089
+ StartAt: __expectInt32(output.StartAt),
9086
9090
  Tags:
9087
9091
  output.Tags !== undefined && output.Tags !== null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
9088
9092
  Timezone: __expectString(output.Timezone),
@@ -9149,8 +9153,8 @@ const deserializeAws_json1_1DescribeUploadBufferOutput = (
9149
9153
  ? deserializeAws_json1_1DiskIds(output.DiskIds, context)
9150
9154
  : undefined,
9151
9155
  GatewayARN: __expectString(output.GatewayARN),
9152
- UploadBufferAllocatedInBytes: __expectInt(output.UploadBufferAllocatedInBytes),
9153
- UploadBufferUsedInBytes: __expectInt(output.UploadBufferUsedInBytes),
9156
+ UploadBufferAllocatedInBytes: __expectLong(output.UploadBufferAllocatedInBytes),
9157
+ UploadBufferUsedInBytes: __expectLong(output.UploadBufferUsedInBytes),
9154
9158
  } as any;
9155
9159
  };
9156
9160
 
@@ -9178,8 +9182,8 @@ const deserializeAws_json1_1DescribeWorkingStorageOutput = (
9178
9182
  ? deserializeAws_json1_1DiskIds(output.DiskIds, context)
9179
9183
  : undefined,
9180
9184
  GatewayARN: __expectString(output.GatewayARN),
9181
- WorkingStorageAllocatedInBytes: __expectInt(output.WorkingStorageAllocatedInBytes),
9182
- WorkingStorageUsedInBytes: __expectInt(output.WorkingStorageUsedInBytes),
9185
+ WorkingStorageAllocatedInBytes: __expectLong(output.WorkingStorageAllocatedInBytes),
9186
+ WorkingStorageUsedInBytes: __expectLong(output.WorkingStorageUsedInBytes),
9183
9187
  } as any;
9184
9188
  };
9185
9189
 
@@ -9193,7 +9197,7 @@ const deserializeAws_json1_1DeviceiSCSIAttributes = (output: any, context: __Ser
9193
9197
  return {
9194
9198
  ChapEnabled: __expectBoolean(output.ChapEnabled),
9195
9199
  NetworkInterfaceId: __expectString(output.NetworkInterfaceId),
9196
- NetworkInterfacePort: __expectInt(output.NetworkInterfacePort),
9200
+ NetworkInterfacePort: __expectInt32(output.NetworkInterfacePort),
9197
9201
  TargetARN: __expectString(output.TargetARN),
9198
9202
  } as any;
9199
9203
  };
@@ -9224,7 +9228,7 @@ const deserializeAws_json1_1Disk = (output: any, context: __SerdeContext): Disk
9224
9228
  DiskId: __expectString(output.DiskId),
9225
9229
  DiskNode: __expectString(output.DiskNode),
9226
9230
  DiskPath: __expectString(output.DiskPath),
9227
- DiskSizeInBytes: __expectInt(output.DiskSizeInBytes),
9231
+ DiskSizeInBytes: __expectLong(output.DiskSizeInBytes),
9228
9232
  DiskStatus: __expectString(output.DiskStatus),
9229
9233
  } as any;
9230
9234
  };
@@ -9604,8 +9608,8 @@ const deserializeAws_json1_1NFSFileShareDefaults = (output: any, context: __Serd
9604
9608
  return {
9605
9609
  DirectoryMode: __expectString(output.DirectoryMode),
9606
9610
  FileMode: __expectString(output.FileMode),
9607
- GroupId: __expectInt(output.GroupId),
9608
- OwnerId: __expectInt(output.OwnerId),
9611
+ GroupId: __expectLong(output.GroupId),
9612
+ OwnerId: __expectLong(output.OwnerId),
9609
9613
  } as any;
9610
9614
  };
9611
9615
 
@@ -9673,7 +9677,7 @@ const deserializeAws_json1_1PoolInfo = (output: any, context: __SerdeContext): P
9673
9677
  PoolARN: __expectString(output.PoolARN),
9674
9678
  PoolName: __expectString(output.PoolName),
9675
9679
  PoolStatus: __expectString(output.PoolStatus),
9676
- RetentionLockTimeInDays: __expectInt(output.RetentionLockTimeInDays),
9680
+ RetentionLockTimeInDays: __expectInt32(output.RetentionLockTimeInDays),
9677
9681
  RetentionLockType: __expectString(output.RetentionLockType),
9678
9682
  StorageClass: __expectString(output.StorageClass),
9679
9683
  } as any;
@@ -9854,7 +9858,7 @@ const deserializeAws_json1_1StorediSCSIVolume = (output: any, context: __SerdeCo
9854
9858
  return {
9855
9859
  CreatedDate:
9856
9860
  output.CreatedDate !== undefined && output.CreatedDate !== null
9857
- ? new Date(Math.round(output.CreatedDate * 1000))
9861
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedDate)))
9858
9862
  : undefined,
9859
9863
  KMSKey: __expectString(output.KMSKey),
9860
9864
  PreservedExistingData: __expectBoolean(output.PreservedExistingData),
@@ -9864,11 +9868,11 @@ const deserializeAws_json1_1StorediSCSIVolume = (output: any, context: __SerdeCo
9864
9868
  VolumeAttachmentStatus: __expectString(output.VolumeAttachmentStatus),
9865
9869
  VolumeDiskId: __expectString(output.VolumeDiskId),
9866
9870
  VolumeId: __expectString(output.VolumeId),
9867
- VolumeProgress: __limitedParseFloat(output.VolumeProgress),
9868
- VolumeSizeInBytes: __expectInt(output.VolumeSizeInBytes),
9871
+ VolumeProgress: __limitedParseDouble(output.VolumeProgress),
9872
+ VolumeSizeInBytes: __expectLong(output.VolumeSizeInBytes),
9869
9873
  VolumeStatus: __expectString(output.VolumeStatus),
9870
9874
  VolumeType: __expectString(output.VolumeType),
9871
- VolumeUsedInBytes: __expectInt(output.VolumeUsedInBytes),
9875
+ VolumeUsedInBytes: __expectLong(output.VolumeUsedInBytes),
9872
9876
  VolumeiSCSIAttributes:
9873
9877
  output.VolumeiSCSIAttributes !== undefined && output.VolumeiSCSIAttributes !== null
9874
9878
  ? deserializeAws_json1_1VolumeiSCSIAttributes(output.VolumeiSCSIAttributes, context)
@@ -9924,23 +9928,23 @@ const deserializeAws_json1_1Tape = (output: any, context: __SerdeContext): Tape
9924
9928
  KMSKey: __expectString(output.KMSKey),
9925
9929
  PoolEntryDate:
9926
9930
  output.PoolEntryDate !== undefined && output.PoolEntryDate !== null
9927
- ? new Date(Math.round(output.PoolEntryDate * 1000))
9931
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.PoolEntryDate)))
9928
9932
  : undefined,
9929
9933
  PoolId: __expectString(output.PoolId),
9930
- Progress: __limitedParseFloat(output.Progress),
9934
+ Progress: __limitedParseDouble(output.Progress),
9931
9935
  RetentionStartDate:
9932
9936
  output.RetentionStartDate !== undefined && output.RetentionStartDate !== null
9933
- ? new Date(Math.round(output.RetentionStartDate * 1000))
9937
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.RetentionStartDate)))
9934
9938
  : undefined,
9935
9939
  TapeARN: __expectString(output.TapeARN),
9936
9940
  TapeBarcode: __expectString(output.TapeBarcode),
9937
9941
  TapeCreatedDate:
9938
9942
  output.TapeCreatedDate !== undefined && output.TapeCreatedDate !== null
9939
- ? new Date(Math.round(output.TapeCreatedDate * 1000))
9943
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.TapeCreatedDate)))
9940
9944
  : undefined,
9941
- TapeSizeInBytes: __expectInt(output.TapeSizeInBytes),
9945
+ TapeSizeInBytes: __expectLong(output.TapeSizeInBytes),
9942
9946
  TapeStatus: __expectString(output.TapeStatus),
9943
- TapeUsedInBytes: __expectInt(output.TapeUsedInBytes),
9947
+ TapeUsedInBytes: __expectLong(output.TapeUsedInBytes),
9944
9948
  VTLDevice: __expectString(output.VTLDevice),
9945
9949
  Worm: __expectBoolean(output.Worm),
9946
9950
  } as any;
@@ -9950,28 +9954,28 @@ const deserializeAws_json1_1TapeArchive = (output: any, context: __SerdeContext)
9950
9954
  return {
9951
9955
  CompletionTime:
9952
9956
  output.CompletionTime !== undefined && output.CompletionTime !== null
9953
- ? new Date(Math.round(output.CompletionTime * 1000))
9957
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletionTime)))
9954
9958
  : undefined,
9955
9959
  KMSKey: __expectString(output.KMSKey),
9956
9960
  PoolEntryDate:
9957
9961
  output.PoolEntryDate !== undefined && output.PoolEntryDate !== null
9958
- ? new Date(Math.round(output.PoolEntryDate * 1000))
9962
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.PoolEntryDate)))
9959
9963
  : undefined,
9960
9964
  PoolId: __expectString(output.PoolId),
9961
9965
  RetentionStartDate:
9962
9966
  output.RetentionStartDate !== undefined && output.RetentionStartDate !== null
9963
- ? new Date(Math.round(output.RetentionStartDate * 1000))
9967
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.RetentionStartDate)))
9964
9968
  : undefined,
9965
9969
  RetrievedTo: __expectString(output.RetrievedTo),
9966
9970
  TapeARN: __expectString(output.TapeARN),
9967
9971
  TapeBarcode: __expectString(output.TapeBarcode),
9968
9972
  TapeCreatedDate:
9969
9973
  output.TapeCreatedDate !== undefined && output.TapeCreatedDate !== null
9970
- ? new Date(Math.round(output.TapeCreatedDate * 1000))
9974
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.TapeCreatedDate)))
9971
9975
  : undefined,
9972
- TapeSizeInBytes: __expectInt(output.TapeSizeInBytes),
9976
+ TapeSizeInBytes: __expectLong(output.TapeSizeInBytes),
9973
9977
  TapeStatus: __expectString(output.TapeStatus),
9974
- TapeUsedInBytes: __expectInt(output.TapeUsedInBytes),
9978
+ TapeUsedInBytes: __expectLong(output.TapeUsedInBytes),
9975
9979
  Worm: __expectBoolean(output.Worm),
9976
9980
  } as any;
9977
9981
  };
@@ -10003,16 +10007,16 @@ const deserializeAws_json1_1TapeInfo = (output: any, context: __SerdeContext): T
10003
10007
  GatewayARN: __expectString(output.GatewayARN),
10004
10008
  PoolEntryDate:
10005
10009
  output.PoolEntryDate !== undefined && output.PoolEntryDate !== null
10006
- ? new Date(Math.round(output.PoolEntryDate * 1000))
10010
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.PoolEntryDate)))
10007
10011
  : undefined,
10008
10012
  PoolId: __expectString(output.PoolId),
10009
10013
  RetentionStartDate:
10010
10014
  output.RetentionStartDate !== undefined && output.RetentionStartDate !== null
10011
- ? new Date(Math.round(output.RetentionStartDate * 1000))
10015
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.RetentionStartDate)))
10012
10016
  : undefined,
10013
10017
  TapeARN: __expectString(output.TapeARN),
10014
10018
  TapeBarcode: __expectString(output.TapeBarcode),
10015
- TapeSizeInBytes: __expectInt(output.TapeSizeInBytes),
10019
+ TapeSizeInBytes: __expectLong(output.TapeSizeInBytes),
10016
10020
  TapeStatus: __expectString(output.TapeStatus),
10017
10021
  } as any;
10018
10022
  };
@@ -10033,9 +10037,9 @@ const deserializeAws_json1_1TapeRecoveryPointInfo = (output: any, context: __Ser
10033
10037
  TapeARN: __expectString(output.TapeARN),
10034
10038
  TapeRecoveryPointTime:
10035
10039
  output.TapeRecoveryPointTime !== undefined && output.TapeRecoveryPointTime !== null
10036
- ? new Date(Math.round(output.TapeRecoveryPointTime * 1000))
10040
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.TapeRecoveryPointTime)))
10037
10041
  : undefined,
10038
- TapeSizeInBytes: __expectInt(output.TapeSizeInBytes),
10042
+ TapeSizeInBytes: __expectLong(output.TapeSizeInBytes),
10039
10043
  TapeStatus: __expectString(output.TapeStatus),
10040
10044
  } as any;
10041
10045
  };
@@ -10211,7 +10215,7 @@ const deserializeAws_json1_1VolumeInfo = (output: any, context: __SerdeContext):
10211
10215
  VolumeARN: __expectString(output.VolumeARN),
10212
10216
  VolumeAttachmentStatus: __expectString(output.VolumeAttachmentStatus),
10213
10217
  VolumeId: __expectString(output.VolumeId),
10214
- VolumeSizeInBytes: __expectInt(output.VolumeSizeInBytes),
10218
+ VolumeSizeInBytes: __expectLong(output.VolumeSizeInBytes),
10215
10219
  VolumeType: __expectString(output.VolumeType),
10216
10220
  } as any;
10217
10221
  };
@@ -10230,9 +10234,9 @@ const deserializeAws_json1_1VolumeInfos = (output: any, context: __SerdeContext)
10230
10234
  const deserializeAws_json1_1VolumeiSCSIAttributes = (output: any, context: __SerdeContext): VolumeiSCSIAttributes => {
10231
10235
  return {
10232
10236
  ChapEnabled: __expectBoolean(output.ChapEnabled),
10233
- LunNumber: __expectInt(output.LunNumber),
10237
+ LunNumber: __expectInt32(output.LunNumber),
10234
10238
  NetworkInterfaceId: __expectString(output.NetworkInterfaceId),
10235
- NetworkInterfacePort: __expectInt(output.NetworkInterfacePort),
10239
+ NetworkInterfacePort: __expectInt32(output.NetworkInterfacePort),
10236
10240
  TargetARN: __expectString(output.TargetARN),
10237
10241
  } as any;
10238
10242
  };
@@ -10244,8 +10248,8 @@ const deserializeAws_json1_1VolumeRecoveryPointInfo = (
10244
10248
  return {
10245
10249
  VolumeARN: __expectString(output.VolumeARN),
10246
10250
  VolumeRecoveryPointTime: __expectString(output.VolumeRecoveryPointTime),
10247
- VolumeSizeInBytes: __expectInt(output.VolumeSizeInBytes),
10248
- VolumeUsageInBytes: __expectInt(output.VolumeUsageInBytes),
10251
+ VolumeSizeInBytes: __expectLong(output.VolumeSizeInBytes),
10252
+ VolumeUsageInBytes: __expectLong(output.VolumeUsageInBytes),
10249
10253
  } as any;
10250
10254
  };
10251
10255