@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/CHANGELOG.md +32 -0
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_json1_1.js +64 -64
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/protocols/Aws_json1_1.js +65 -65
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/package.json +31 -31
- package/protocols/Aws_json1_1.ts +70 -66
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,38 @@
|
|
|
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.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-storage-gateway
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.31.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.30.0...v3.31.0) (2021-09-11)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-storage-gateway
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.30.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.29.0...v3.30.0) (2021-09-07)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-storage-gateway
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [3.29.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.28.0...v3.29.0) (2021-09-02)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @aws-sdk/client-storage-gateway
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
6
38
|
# [3.28.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.27.0...v3.28.0) (2021-08-27)
|
|
7
39
|
|
|
8
40
|
|
package/dist/cjs/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.
|
|
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.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
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.
|
|
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.
|
|
68
|
+
"typescript": "~4.3.5"
|
|
69
69
|
},
|
|
70
70
|
"engines": {
|
|
71
71
|
"node": ">=10.0.0"
|
|
@@ -6924,10 +6924,10 @@ const deserializeAws_json1_1AutomaticTapeCreationPolicyInfos = (output, context)
|
|
|
6924
6924
|
};
|
|
6925
6925
|
const deserializeAws_json1_1AutomaticTapeCreationRule = (output, context) => {
|
|
6926
6926
|
return {
|
|
6927
|
-
MinimumNumTapes: smithy_client_1.
|
|
6927
|
+
MinimumNumTapes: smithy_client_1.expectInt32(output.MinimumNumTapes),
|
|
6928
6928
|
PoolId: smithy_client_1.expectString(output.PoolId),
|
|
6929
6929
|
TapeBarcodePrefix: smithy_client_1.expectString(output.TapeBarcodePrefix),
|
|
6930
|
-
TapeSizeInBytes: smithy_client_1.
|
|
6930
|
+
TapeSizeInBytes: smithy_client_1.expectLong(output.TapeSizeInBytes),
|
|
6931
6931
|
Worm: smithy_client_1.expectBoolean(output.Worm),
|
|
6932
6932
|
};
|
|
6933
6933
|
};
|
|
@@ -6943,15 +6943,15 @@ const deserializeAws_json1_1AutomaticTapeCreationRules = (output, context) => {
|
|
|
6943
6943
|
};
|
|
6944
6944
|
const deserializeAws_json1_1BandwidthRateLimitInterval = (output, context) => {
|
|
6945
6945
|
return {
|
|
6946
|
-
AverageDownloadRateLimitInBitsPerSec: smithy_client_1.
|
|
6947
|
-
AverageUploadRateLimitInBitsPerSec: smithy_client_1.
|
|
6946
|
+
AverageDownloadRateLimitInBitsPerSec: smithy_client_1.expectLong(output.AverageDownloadRateLimitInBitsPerSec),
|
|
6947
|
+
AverageUploadRateLimitInBitsPerSec: smithy_client_1.expectLong(output.AverageUploadRateLimitInBitsPerSec),
|
|
6948
6948
|
DaysOfWeek: output.DaysOfWeek !== undefined && output.DaysOfWeek !== null
|
|
6949
6949
|
? deserializeAws_json1_1DaysOfWeek(output.DaysOfWeek, context)
|
|
6950
6950
|
: undefined,
|
|
6951
|
-
EndHourOfDay: smithy_client_1.
|
|
6952
|
-
EndMinuteOfHour: smithy_client_1.
|
|
6953
|
-
StartHourOfDay: smithy_client_1.
|
|
6954
|
-
StartMinuteOfHour: smithy_client_1.
|
|
6951
|
+
EndHourOfDay: smithy_client_1.expectInt32(output.EndHourOfDay),
|
|
6952
|
+
EndMinuteOfHour: smithy_client_1.expectInt32(output.EndMinuteOfHour),
|
|
6953
|
+
StartHourOfDay: smithy_client_1.expectInt32(output.StartHourOfDay),
|
|
6954
|
+
StartMinuteOfHour: smithy_client_1.expectInt32(output.StartMinuteOfHour),
|
|
6955
6955
|
};
|
|
6956
6956
|
};
|
|
6957
6957
|
const deserializeAws_json1_1BandwidthRateLimitIntervals = (output, context) => {
|
|
@@ -6966,13 +6966,13 @@ const deserializeAws_json1_1BandwidthRateLimitIntervals = (output, context) => {
|
|
|
6966
6966
|
};
|
|
6967
6967
|
const deserializeAws_json1_1CacheAttributes = (output, context) => {
|
|
6968
6968
|
return {
|
|
6969
|
-
CacheStaleTimeoutInSeconds: smithy_client_1.
|
|
6969
|
+
CacheStaleTimeoutInSeconds: smithy_client_1.expectInt32(output.CacheStaleTimeoutInSeconds),
|
|
6970
6970
|
};
|
|
6971
6971
|
};
|
|
6972
6972
|
const deserializeAws_json1_1CachediSCSIVolume = (output, context) => {
|
|
6973
6973
|
return {
|
|
6974
6974
|
CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
|
|
6975
|
-
?
|
|
6975
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedDate)))
|
|
6976
6976
|
: undefined,
|
|
6977
6977
|
KMSKey: smithy_client_1.expectString(output.KMSKey),
|
|
6978
6978
|
SourceSnapshotId: smithy_client_1.expectString(output.SourceSnapshotId),
|
|
@@ -6980,11 +6980,11 @@ const deserializeAws_json1_1CachediSCSIVolume = (output, context) => {
|
|
|
6980
6980
|
VolumeARN: smithy_client_1.expectString(output.VolumeARN),
|
|
6981
6981
|
VolumeAttachmentStatus: smithy_client_1.expectString(output.VolumeAttachmentStatus),
|
|
6982
6982
|
VolumeId: smithy_client_1.expectString(output.VolumeId),
|
|
6983
|
-
VolumeProgress: smithy_client_1.
|
|
6984
|
-
VolumeSizeInBytes: smithy_client_1.
|
|
6983
|
+
VolumeProgress: smithy_client_1.limitedParseDouble(output.VolumeProgress),
|
|
6984
|
+
VolumeSizeInBytes: smithy_client_1.expectLong(output.VolumeSizeInBytes),
|
|
6985
6985
|
VolumeStatus: smithy_client_1.expectString(output.VolumeStatus),
|
|
6986
6986
|
VolumeType: smithy_client_1.expectString(output.VolumeType),
|
|
6987
|
-
VolumeUsedInBytes: smithy_client_1.
|
|
6987
|
+
VolumeUsedInBytes: smithy_client_1.expectLong(output.VolumeUsedInBytes),
|
|
6988
6988
|
VolumeiSCSIAttributes: output.VolumeiSCSIAttributes !== undefined && output.VolumeiSCSIAttributes !== null
|
|
6989
6989
|
? deserializeAws_json1_1VolumeiSCSIAttributes(output.VolumeiSCSIAttributes, context)
|
|
6990
6990
|
: undefined,
|
|
@@ -7061,7 +7061,7 @@ const deserializeAws_json1_1CreateStorediSCSIVolumeOutput = (output, context) =>
|
|
|
7061
7061
|
return {
|
|
7062
7062
|
TargetARN: smithy_client_1.expectString(output.TargetARN),
|
|
7063
7063
|
VolumeARN: smithy_client_1.expectString(output.VolumeARN),
|
|
7064
|
-
VolumeSizeInBytes: smithy_client_1.
|
|
7064
|
+
VolumeSizeInBytes: smithy_client_1.expectLong(output.VolumeSizeInBytes),
|
|
7065
7065
|
};
|
|
7066
7066
|
};
|
|
7067
7067
|
const deserializeAws_json1_1CreateTapePoolOutput = (output, context) => {
|
|
@@ -7088,7 +7088,7 @@ const deserializeAws_json1_1DaysOfWeek = (output, context) => {
|
|
|
7088
7088
|
if (entry === null) {
|
|
7089
7089
|
return null;
|
|
7090
7090
|
}
|
|
7091
|
-
return smithy_client_1.
|
|
7091
|
+
return smithy_client_1.expectInt32(entry);
|
|
7092
7092
|
});
|
|
7093
7093
|
};
|
|
7094
7094
|
const deserializeAws_json1_1DeleteAutomaticTapeCreationPolicyOutput = (output, context) => {
|
|
@@ -7146,15 +7146,15 @@ const deserializeAws_json1_1DescribeAvailabilityMonitorTestOutput = (output, con
|
|
|
7146
7146
|
return {
|
|
7147
7147
|
GatewayARN: smithy_client_1.expectString(output.GatewayARN),
|
|
7148
7148
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
7149
|
-
?
|
|
7149
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
|
|
7150
7150
|
: undefined,
|
|
7151
7151
|
Status: smithy_client_1.expectString(output.Status),
|
|
7152
7152
|
};
|
|
7153
7153
|
};
|
|
7154
7154
|
const deserializeAws_json1_1DescribeBandwidthRateLimitOutput = (output, context) => {
|
|
7155
7155
|
return {
|
|
7156
|
-
AverageDownloadRateLimitInBitsPerSec: smithy_client_1.
|
|
7157
|
-
AverageUploadRateLimitInBitsPerSec: smithy_client_1.
|
|
7156
|
+
AverageDownloadRateLimitInBitsPerSec: smithy_client_1.expectLong(output.AverageDownloadRateLimitInBitsPerSec),
|
|
7157
|
+
AverageUploadRateLimitInBitsPerSec: smithy_client_1.expectLong(output.AverageUploadRateLimitInBitsPerSec),
|
|
7158
7158
|
GatewayARN: smithy_client_1.expectString(output.GatewayARN),
|
|
7159
7159
|
};
|
|
7160
7160
|
};
|
|
@@ -7175,11 +7175,11 @@ const deserializeAws_json1_1DescribeCachediSCSIVolumesOutput = (output, context)
|
|
|
7175
7175
|
};
|
|
7176
7176
|
const deserializeAws_json1_1DescribeCacheOutput = (output, context) => {
|
|
7177
7177
|
return {
|
|
7178
|
-
CacheAllocatedInBytes: smithy_client_1.
|
|
7179
|
-
CacheDirtyPercentage: smithy_client_1.
|
|
7180
|
-
CacheHitPercentage: smithy_client_1.
|
|
7181
|
-
CacheMissPercentage: smithy_client_1.
|
|
7182
|
-
CacheUsedPercentage: smithy_client_1.
|
|
7178
|
+
CacheAllocatedInBytes: smithy_client_1.expectLong(output.CacheAllocatedInBytes),
|
|
7179
|
+
CacheDirtyPercentage: smithy_client_1.limitedParseDouble(output.CacheDirtyPercentage),
|
|
7180
|
+
CacheHitPercentage: smithy_client_1.limitedParseDouble(output.CacheHitPercentage),
|
|
7181
|
+
CacheMissPercentage: smithy_client_1.limitedParseDouble(output.CacheMissPercentage),
|
|
7182
|
+
CacheUsedPercentage: smithy_client_1.limitedParseDouble(output.CacheUsedPercentage),
|
|
7183
7183
|
DiskIds: output.DiskIds !== undefined && output.DiskIds !== null
|
|
7184
7184
|
? deserializeAws_json1_1DiskIds(output.DiskIds, context)
|
|
7185
7185
|
: undefined,
|
|
@@ -7230,11 +7230,11 @@ const deserializeAws_json1_1DescribeGatewayInformationOutput = (output, context)
|
|
|
7230
7230
|
};
|
|
7231
7231
|
const deserializeAws_json1_1DescribeMaintenanceStartTimeOutput = (output, context) => {
|
|
7232
7232
|
return {
|
|
7233
|
-
DayOfMonth: smithy_client_1.
|
|
7234
|
-
DayOfWeek: smithy_client_1.
|
|
7233
|
+
DayOfMonth: smithy_client_1.expectInt32(output.DayOfMonth),
|
|
7234
|
+
DayOfWeek: smithy_client_1.expectInt32(output.DayOfWeek),
|
|
7235
7235
|
GatewayARN: smithy_client_1.expectString(output.GatewayARN),
|
|
7236
|
-
HourOfDay: smithy_client_1.
|
|
7237
|
-
MinuteOfHour: smithy_client_1.
|
|
7236
|
+
HourOfDay: smithy_client_1.expectInt32(output.HourOfDay),
|
|
7237
|
+
MinuteOfHour: smithy_client_1.expectInt32(output.MinuteOfHour),
|
|
7238
7238
|
Timezone: smithy_client_1.expectString(output.Timezone),
|
|
7239
7239
|
};
|
|
7240
7240
|
};
|
|
@@ -7265,8 +7265,8 @@ const deserializeAws_json1_1DescribeSMBSettingsOutput = (output, context) => {
|
|
|
7265
7265
|
const deserializeAws_json1_1DescribeSnapshotScheduleOutput = (output, context) => {
|
|
7266
7266
|
return {
|
|
7267
7267
|
Description: smithy_client_1.expectString(output.Description),
|
|
7268
|
-
RecurrenceInHours: smithy_client_1.
|
|
7269
|
-
StartAt: smithy_client_1.
|
|
7268
|
+
RecurrenceInHours: smithy_client_1.expectInt32(output.RecurrenceInHours),
|
|
7269
|
+
StartAt: smithy_client_1.expectInt32(output.StartAt),
|
|
7270
7270
|
Tags: output.Tags !== undefined && output.Tags !== null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
7271
7271
|
Timezone: smithy_client_1.expectString(output.Timezone),
|
|
7272
7272
|
VolumeARN: smithy_client_1.expectString(output.VolumeARN),
|
|
@@ -7310,8 +7310,8 @@ const deserializeAws_json1_1DescribeUploadBufferOutput = (output, context) => {
|
|
|
7310
7310
|
? deserializeAws_json1_1DiskIds(output.DiskIds, context)
|
|
7311
7311
|
: undefined,
|
|
7312
7312
|
GatewayARN: smithy_client_1.expectString(output.GatewayARN),
|
|
7313
|
-
UploadBufferAllocatedInBytes: smithy_client_1.
|
|
7314
|
-
UploadBufferUsedInBytes: smithy_client_1.
|
|
7313
|
+
UploadBufferAllocatedInBytes: smithy_client_1.expectLong(output.UploadBufferAllocatedInBytes),
|
|
7314
|
+
UploadBufferUsedInBytes: smithy_client_1.expectLong(output.UploadBufferUsedInBytes),
|
|
7315
7315
|
};
|
|
7316
7316
|
};
|
|
7317
7317
|
const deserializeAws_json1_1DescribeVTLDevicesOutput = (output, context) => {
|
|
@@ -7329,8 +7329,8 @@ const deserializeAws_json1_1DescribeWorkingStorageOutput = (output, context) =>
|
|
|
7329
7329
|
? deserializeAws_json1_1DiskIds(output.DiskIds, context)
|
|
7330
7330
|
: undefined,
|
|
7331
7331
|
GatewayARN: smithy_client_1.expectString(output.GatewayARN),
|
|
7332
|
-
WorkingStorageAllocatedInBytes: smithy_client_1.
|
|
7333
|
-
WorkingStorageUsedInBytes: smithy_client_1.
|
|
7332
|
+
WorkingStorageAllocatedInBytes: smithy_client_1.expectLong(output.WorkingStorageAllocatedInBytes),
|
|
7333
|
+
WorkingStorageUsedInBytes: smithy_client_1.expectLong(output.WorkingStorageUsedInBytes),
|
|
7334
7334
|
};
|
|
7335
7335
|
};
|
|
7336
7336
|
const deserializeAws_json1_1DetachVolumeOutput = (output, context) => {
|
|
@@ -7342,7 +7342,7 @@ const deserializeAws_json1_1DeviceiSCSIAttributes = (output, context) => {
|
|
|
7342
7342
|
return {
|
|
7343
7343
|
ChapEnabled: smithy_client_1.expectBoolean(output.ChapEnabled),
|
|
7344
7344
|
NetworkInterfaceId: smithy_client_1.expectString(output.NetworkInterfaceId),
|
|
7345
|
-
NetworkInterfacePort: smithy_client_1.
|
|
7345
|
+
NetworkInterfacePort: smithy_client_1.expectInt32(output.NetworkInterfacePort),
|
|
7346
7346
|
TargetARN: smithy_client_1.expectString(output.TargetARN),
|
|
7347
7347
|
};
|
|
7348
7348
|
};
|
|
@@ -7366,7 +7366,7 @@ const deserializeAws_json1_1Disk = (output, context) => {
|
|
|
7366
7366
|
DiskId: smithy_client_1.expectString(output.DiskId),
|
|
7367
7367
|
DiskNode: smithy_client_1.expectString(output.DiskNode),
|
|
7368
7368
|
DiskPath: smithy_client_1.expectString(output.DiskPath),
|
|
7369
|
-
DiskSizeInBytes: smithy_client_1.
|
|
7369
|
+
DiskSizeInBytes: smithy_client_1.expectLong(output.DiskSizeInBytes),
|
|
7370
7370
|
DiskStatus: smithy_client_1.expectString(output.DiskStatus),
|
|
7371
7371
|
};
|
|
7372
7372
|
};
|
|
@@ -7663,8 +7663,8 @@ const deserializeAws_json1_1NFSFileShareDefaults = (output, context) => {
|
|
|
7663
7663
|
return {
|
|
7664
7664
|
DirectoryMode: smithy_client_1.expectString(output.DirectoryMode),
|
|
7665
7665
|
FileMode: smithy_client_1.expectString(output.FileMode),
|
|
7666
|
-
GroupId: smithy_client_1.
|
|
7667
|
-
OwnerId: smithy_client_1.
|
|
7666
|
+
GroupId: smithy_client_1.expectLong(output.GroupId),
|
|
7667
|
+
OwnerId: smithy_client_1.expectLong(output.OwnerId),
|
|
7668
7668
|
};
|
|
7669
7669
|
};
|
|
7670
7670
|
const deserializeAws_json1_1NFSFileShareInfo = (output, context) => {
|
|
@@ -7721,7 +7721,7 @@ const deserializeAws_json1_1PoolInfo = (output, context) => {
|
|
|
7721
7721
|
PoolARN: smithy_client_1.expectString(output.PoolARN),
|
|
7722
7722
|
PoolName: smithy_client_1.expectString(output.PoolName),
|
|
7723
7723
|
PoolStatus: smithy_client_1.expectString(output.PoolStatus),
|
|
7724
|
-
RetentionLockTimeInDays: smithy_client_1.
|
|
7724
|
+
RetentionLockTimeInDays: smithy_client_1.expectInt32(output.RetentionLockTimeInDays),
|
|
7725
7725
|
RetentionLockType: smithy_client_1.expectString(output.RetentionLockType),
|
|
7726
7726
|
StorageClass: smithy_client_1.expectString(output.StorageClass),
|
|
7727
7727
|
};
|
|
@@ -7857,7 +7857,7 @@ const deserializeAws_json1_1StorageGatewayError = (output, context) => {
|
|
|
7857
7857
|
const deserializeAws_json1_1StorediSCSIVolume = (output, context) => {
|
|
7858
7858
|
return {
|
|
7859
7859
|
CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
|
|
7860
|
-
?
|
|
7860
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedDate)))
|
|
7861
7861
|
: undefined,
|
|
7862
7862
|
KMSKey: smithy_client_1.expectString(output.KMSKey),
|
|
7863
7863
|
PreservedExistingData: smithy_client_1.expectBoolean(output.PreservedExistingData),
|
|
@@ -7867,11 +7867,11 @@ const deserializeAws_json1_1StorediSCSIVolume = (output, context) => {
|
|
|
7867
7867
|
VolumeAttachmentStatus: smithy_client_1.expectString(output.VolumeAttachmentStatus),
|
|
7868
7868
|
VolumeDiskId: smithy_client_1.expectString(output.VolumeDiskId),
|
|
7869
7869
|
VolumeId: smithy_client_1.expectString(output.VolumeId),
|
|
7870
|
-
VolumeProgress: smithy_client_1.
|
|
7871
|
-
VolumeSizeInBytes: smithy_client_1.
|
|
7870
|
+
VolumeProgress: smithy_client_1.limitedParseDouble(output.VolumeProgress),
|
|
7871
|
+
VolumeSizeInBytes: smithy_client_1.expectLong(output.VolumeSizeInBytes),
|
|
7872
7872
|
VolumeStatus: smithy_client_1.expectString(output.VolumeStatus),
|
|
7873
7873
|
VolumeType: smithy_client_1.expectString(output.VolumeType),
|
|
7874
|
-
VolumeUsedInBytes: smithy_client_1.
|
|
7874
|
+
VolumeUsedInBytes: smithy_client_1.expectLong(output.VolumeUsedInBytes),
|
|
7875
7875
|
VolumeiSCSIAttributes: output.VolumeiSCSIAttributes !== undefined && output.VolumeiSCSIAttributes !== null
|
|
7876
7876
|
? deserializeAws_json1_1VolumeiSCSIAttributes(output.VolumeiSCSIAttributes, context)
|
|
7877
7877
|
: undefined,
|
|
@@ -7917,21 +7917,21 @@ const deserializeAws_json1_1Tape = (output, context) => {
|
|
|
7917
7917
|
return {
|
|
7918
7918
|
KMSKey: smithy_client_1.expectString(output.KMSKey),
|
|
7919
7919
|
PoolEntryDate: output.PoolEntryDate !== undefined && output.PoolEntryDate !== null
|
|
7920
|
-
?
|
|
7920
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.PoolEntryDate)))
|
|
7921
7921
|
: undefined,
|
|
7922
7922
|
PoolId: smithy_client_1.expectString(output.PoolId),
|
|
7923
|
-
Progress: smithy_client_1.
|
|
7923
|
+
Progress: smithy_client_1.limitedParseDouble(output.Progress),
|
|
7924
7924
|
RetentionStartDate: output.RetentionStartDate !== undefined && output.RetentionStartDate !== null
|
|
7925
|
-
?
|
|
7925
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.RetentionStartDate)))
|
|
7926
7926
|
: undefined,
|
|
7927
7927
|
TapeARN: smithy_client_1.expectString(output.TapeARN),
|
|
7928
7928
|
TapeBarcode: smithy_client_1.expectString(output.TapeBarcode),
|
|
7929
7929
|
TapeCreatedDate: output.TapeCreatedDate !== undefined && output.TapeCreatedDate !== null
|
|
7930
|
-
?
|
|
7930
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.TapeCreatedDate)))
|
|
7931
7931
|
: undefined,
|
|
7932
|
-
TapeSizeInBytes: smithy_client_1.
|
|
7932
|
+
TapeSizeInBytes: smithy_client_1.expectLong(output.TapeSizeInBytes),
|
|
7933
7933
|
TapeStatus: smithy_client_1.expectString(output.TapeStatus),
|
|
7934
|
-
TapeUsedInBytes: smithy_client_1.
|
|
7934
|
+
TapeUsedInBytes: smithy_client_1.expectLong(output.TapeUsedInBytes),
|
|
7935
7935
|
VTLDevice: smithy_client_1.expectString(output.VTLDevice),
|
|
7936
7936
|
Worm: smithy_client_1.expectBoolean(output.Worm),
|
|
7937
7937
|
};
|
|
@@ -7939,25 +7939,25 @@ const deserializeAws_json1_1Tape = (output, context) => {
|
|
|
7939
7939
|
const deserializeAws_json1_1TapeArchive = (output, context) => {
|
|
7940
7940
|
return {
|
|
7941
7941
|
CompletionTime: output.CompletionTime !== undefined && output.CompletionTime !== null
|
|
7942
|
-
?
|
|
7942
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CompletionTime)))
|
|
7943
7943
|
: undefined,
|
|
7944
7944
|
KMSKey: smithy_client_1.expectString(output.KMSKey),
|
|
7945
7945
|
PoolEntryDate: output.PoolEntryDate !== undefined && output.PoolEntryDate !== null
|
|
7946
|
-
?
|
|
7946
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.PoolEntryDate)))
|
|
7947
7947
|
: undefined,
|
|
7948
7948
|
PoolId: smithy_client_1.expectString(output.PoolId),
|
|
7949
7949
|
RetentionStartDate: output.RetentionStartDate !== undefined && output.RetentionStartDate !== null
|
|
7950
|
-
?
|
|
7950
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.RetentionStartDate)))
|
|
7951
7951
|
: undefined,
|
|
7952
7952
|
RetrievedTo: smithy_client_1.expectString(output.RetrievedTo),
|
|
7953
7953
|
TapeARN: smithy_client_1.expectString(output.TapeARN),
|
|
7954
7954
|
TapeBarcode: smithy_client_1.expectString(output.TapeBarcode),
|
|
7955
7955
|
TapeCreatedDate: output.TapeCreatedDate !== undefined && output.TapeCreatedDate !== null
|
|
7956
|
-
?
|
|
7956
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.TapeCreatedDate)))
|
|
7957
7957
|
: undefined,
|
|
7958
|
-
TapeSizeInBytes: smithy_client_1.
|
|
7958
|
+
TapeSizeInBytes: smithy_client_1.expectLong(output.TapeSizeInBytes),
|
|
7959
7959
|
TapeStatus: smithy_client_1.expectString(output.TapeStatus),
|
|
7960
|
-
TapeUsedInBytes: smithy_client_1.
|
|
7960
|
+
TapeUsedInBytes: smithy_client_1.expectLong(output.TapeUsedInBytes),
|
|
7961
7961
|
Worm: smithy_client_1.expectBoolean(output.Worm),
|
|
7962
7962
|
};
|
|
7963
7963
|
};
|
|
@@ -7985,15 +7985,15 @@ const deserializeAws_json1_1TapeInfo = (output, context) => {
|
|
|
7985
7985
|
return {
|
|
7986
7986
|
GatewayARN: smithy_client_1.expectString(output.GatewayARN),
|
|
7987
7987
|
PoolEntryDate: output.PoolEntryDate !== undefined && output.PoolEntryDate !== null
|
|
7988
|
-
?
|
|
7988
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.PoolEntryDate)))
|
|
7989
7989
|
: undefined,
|
|
7990
7990
|
PoolId: smithy_client_1.expectString(output.PoolId),
|
|
7991
7991
|
RetentionStartDate: output.RetentionStartDate !== undefined && output.RetentionStartDate !== null
|
|
7992
|
-
?
|
|
7992
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.RetentionStartDate)))
|
|
7993
7993
|
: undefined,
|
|
7994
7994
|
TapeARN: smithy_client_1.expectString(output.TapeARN),
|
|
7995
7995
|
TapeBarcode: smithy_client_1.expectString(output.TapeBarcode),
|
|
7996
|
-
TapeSizeInBytes: smithy_client_1.
|
|
7996
|
+
TapeSizeInBytes: smithy_client_1.expectLong(output.TapeSizeInBytes),
|
|
7997
7997
|
TapeStatus: smithy_client_1.expectString(output.TapeStatus),
|
|
7998
7998
|
};
|
|
7999
7999
|
};
|
|
@@ -8011,9 +8011,9 @@ const deserializeAws_json1_1TapeRecoveryPointInfo = (output, context) => {
|
|
|
8011
8011
|
return {
|
|
8012
8012
|
TapeARN: smithy_client_1.expectString(output.TapeARN),
|
|
8013
8013
|
TapeRecoveryPointTime: output.TapeRecoveryPointTime !== undefined && output.TapeRecoveryPointTime !== null
|
|
8014
|
-
?
|
|
8014
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.TapeRecoveryPointTime)))
|
|
8015
8015
|
: undefined,
|
|
8016
|
-
TapeSizeInBytes: smithy_client_1.
|
|
8016
|
+
TapeSizeInBytes: smithy_client_1.expectLong(output.TapeSizeInBytes),
|
|
8017
8017
|
TapeStatus: smithy_client_1.expectString(output.TapeStatus),
|
|
8018
8018
|
};
|
|
8019
8019
|
};
|
|
@@ -8126,7 +8126,7 @@ const deserializeAws_json1_1VolumeInfo = (output, context) => {
|
|
|
8126
8126
|
VolumeARN: smithy_client_1.expectString(output.VolumeARN),
|
|
8127
8127
|
VolumeAttachmentStatus: smithy_client_1.expectString(output.VolumeAttachmentStatus),
|
|
8128
8128
|
VolumeId: smithy_client_1.expectString(output.VolumeId),
|
|
8129
|
-
VolumeSizeInBytes: smithy_client_1.
|
|
8129
|
+
VolumeSizeInBytes: smithy_client_1.expectLong(output.VolumeSizeInBytes),
|
|
8130
8130
|
VolumeType: smithy_client_1.expectString(output.VolumeType),
|
|
8131
8131
|
};
|
|
8132
8132
|
};
|
|
@@ -8143,9 +8143,9 @@ const deserializeAws_json1_1VolumeInfos = (output, context) => {
|
|
|
8143
8143
|
const deserializeAws_json1_1VolumeiSCSIAttributes = (output, context) => {
|
|
8144
8144
|
return {
|
|
8145
8145
|
ChapEnabled: smithy_client_1.expectBoolean(output.ChapEnabled),
|
|
8146
|
-
LunNumber: smithy_client_1.
|
|
8146
|
+
LunNumber: smithy_client_1.expectInt32(output.LunNumber),
|
|
8147
8147
|
NetworkInterfaceId: smithy_client_1.expectString(output.NetworkInterfaceId),
|
|
8148
|
-
NetworkInterfacePort: smithy_client_1.
|
|
8148
|
+
NetworkInterfacePort: smithy_client_1.expectInt32(output.NetworkInterfacePort),
|
|
8149
8149
|
TargetARN: smithy_client_1.expectString(output.TargetARN),
|
|
8150
8150
|
};
|
|
8151
8151
|
};
|
|
@@ -8153,8 +8153,8 @@ const deserializeAws_json1_1VolumeRecoveryPointInfo = (output, context) => {
|
|
|
8153
8153
|
return {
|
|
8154
8154
|
VolumeARN: smithy_client_1.expectString(output.VolumeARN),
|
|
8155
8155
|
VolumeRecoveryPointTime: smithy_client_1.expectString(output.VolumeRecoveryPointTime),
|
|
8156
|
-
VolumeSizeInBytes: smithy_client_1.
|
|
8157
|
-
VolumeUsageInBytes: smithy_client_1.
|
|
8156
|
+
VolumeSizeInBytes: smithy_client_1.expectLong(output.VolumeSizeInBytes),
|
|
8157
|
+
VolumeUsageInBytes: smithy_client_1.expectLong(output.VolumeUsageInBytes),
|
|
8158
8158
|
};
|
|
8159
8159
|
};
|
|
8160
8160
|
const deserializeAws_json1_1VolumeRecoveryPointInfos = (output, context) => {
|