@aws-sdk/client-fsx 3.41.0 → 3.45.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 +38 -0
- package/dist-cjs/FSx.js +150 -0
- package/dist-cjs/commands/CreateDataRepositoryAssociationCommand.js +36 -0
- package/dist-cjs/commands/CreateSnapshotCommand.js +36 -0
- package/dist-cjs/commands/DeleteDataRepositoryAssociationCommand.js +36 -0
- package/dist-cjs/commands/DeleteSnapshotCommand.js +36 -0
- package/dist-cjs/commands/DescribeDataRepositoryAssociationsCommand.js +36 -0
- package/dist-cjs/commands/DescribeSnapshotsCommand.js +36 -0
- package/dist-cjs/commands/ReleaseFileSystemNfsV3LocksCommand.js +36 -0
- package/dist-cjs/commands/RestoreVolumeFromSnapshotCommand.js +36 -0
- package/dist-cjs/commands/UpdateDataRepositoryAssociationCommand.js +36 -0
- package/dist-cjs/commands/UpdateSnapshotCommand.js +36 -0
- package/dist-cjs/commands/index.js +10 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +386 -44
- package/dist-cjs/pagination/DescribeDataRepositoryAssociationsPaginator.js +35 -0
- package/dist-cjs/pagination/DescribeSnapshotsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_json1_1.js +1745 -131
- package/dist-es/FSx.js +150 -0
- package/dist-es/commands/CreateDataRepositoryAssociationCommand.js +39 -0
- package/dist-es/commands/CreateSnapshotCommand.js +39 -0
- package/dist-es/commands/DeleteDataRepositoryAssociationCommand.js +39 -0
- package/dist-es/commands/DeleteSnapshotCommand.js +39 -0
- package/dist-es/commands/DescribeDataRepositoryAssociationsCommand.js +39 -0
- package/dist-es/commands/DescribeSnapshotsCommand.js +39 -0
- package/dist-es/commands/ReleaseFileSystemNfsV3LocksCommand.js +39 -0
- package/dist-es/commands/RestoreVolumeFromSnapshotCommand.js +39 -0
- package/dist-es/commands/UpdateDataRepositoryAssociationCommand.js +39 -0
- package/dist-es/commands/UpdateSnapshotCommand.js +39 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +277 -28
- package/dist-es/pagination/DescribeDataRepositoryAssociationsPaginator.js +74 -0
- package/dist-es/pagination/DescribeSnapshotsPaginator.js +74 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_1.js +1653 -74
- package/dist-types/FSx.d.ts +406 -146
- package/dist-types/FSxClient.d.ts +12 -2
- package/dist-types/commands/CopyBackupCommand.d.ts +12 -12
- package/dist-types/commands/CreateBackupCommand.d.ts +27 -25
- package/dist-types/commands/CreateDataRepositoryAssociationCommand.d.ts +45 -0
- package/dist-types/commands/CreateDataRepositoryTaskCommand.d.ts +6 -5
- package/dist-types/commands/CreateFileSystemCommand.d.ts +36 -16
- package/dist-types/commands/CreateFileSystemFromBackupCommand.d.ts +14 -14
- package/dist-types/commands/CreateSnapshotCommand.d.ts +62 -0
- package/dist-types/commands/CreateVolumeCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBackupCommand.d.ts +4 -3
- package/dist-types/commands/DeleteDataRepositoryAssociationCommand.d.ts +41 -0
- package/dist-types/commands/DeleteFileSystemCommand.d.ts +14 -15
- package/dist-types/commands/DeleteSnapshotCommand.d.ts +39 -0
- package/dist-types/commands/DeleteVolumeCommand.d.ts +2 -4
- package/dist-types/commands/DescribeBackupsCommand.d.ts +17 -18
- package/dist-types/commands/DescribeDataRepositoryAssociationsCommand.d.ts +53 -0
- package/dist-types/commands/DescribeFileSystemsCommand.d.ts +9 -9
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +61 -0
- package/dist-types/commands/DescribeVolumesCommand.d.ts +2 -1
- package/dist-types/commands/ReleaseFileSystemNfsV3LocksCommand.d.ts +36 -0
- package/dist-types/commands/RestoreVolumeFromSnapshotCommand.d.ts +36 -0
- package/dist-types/commands/UpdateDataRepositoryAssociationCommand.d.ts +37 -0
- package/dist-types/commands/UpdateFileSystemCommand.d.ts +95 -22
- package/dist-types/commands/UpdateSnapshotCommand.d.ts +35 -0
- package/dist-types/commands/UpdateVolumeCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +2705 -649
- package/dist-types/pagination/DescribeDataRepositoryAssociationsPaginator.d.ts +4 -0
- package/dist-types/pagination/DescribeSnapshotsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +30 -0
- package/dist-types/ts3.4/FSx.d.ts +50 -0
- package/dist-types/ts3.4/FSxClient.d.ts +12 -2
- package/dist-types/ts3.4/commands/CreateDataRepositoryAssociationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteDataRepositoryAssociationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeDataRepositoryAssociationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ReleaseFileSystemNfsV3LocksCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RestoreVolumeFromSnapshotCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateDataRepositoryAssociationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateSnapshotCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +790 -81
- package/dist-types/ts3.4/pagination/DescribeDataRepositoryAssociationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeSnapshotsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +30 -0
- package/package.json +5 -5
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.deserializeAws_json1_1UpdateVolumeCommand = exports.deserializeAws_json1_1UpdateStorageVirtualMachineCommand = exports.deserializeAws_json1_1UpdateFileSystemCommand = exports.deserializeAws_json1_1UntagResourceCommand = void 0;
|
|
3
|
+
exports.deserializeAws_json1_1DeleteBackupCommand = exports.deserializeAws_json1_1CreateVolumeFromBackupCommand = exports.deserializeAws_json1_1CreateVolumeCommand = exports.deserializeAws_json1_1CreateStorageVirtualMachineCommand = exports.deserializeAws_json1_1CreateSnapshotCommand = exports.deserializeAws_json1_1CreateFileSystemFromBackupCommand = exports.deserializeAws_json1_1CreateFileSystemCommand = exports.deserializeAws_json1_1CreateDataRepositoryTaskCommand = exports.deserializeAws_json1_1CreateDataRepositoryAssociationCommand = exports.deserializeAws_json1_1CreateBackupCommand = exports.deserializeAws_json1_1CopyBackupCommand = exports.deserializeAws_json1_1CancelDataRepositoryTaskCommand = exports.deserializeAws_json1_1AssociateFileSystemAliasesCommand = exports.serializeAws_json1_1UpdateVolumeCommand = exports.serializeAws_json1_1UpdateStorageVirtualMachineCommand = exports.serializeAws_json1_1UpdateSnapshotCommand = exports.serializeAws_json1_1UpdateFileSystemCommand = exports.serializeAws_json1_1UpdateDataRepositoryAssociationCommand = exports.serializeAws_json1_1UntagResourceCommand = exports.serializeAws_json1_1TagResourceCommand = exports.serializeAws_json1_1RestoreVolumeFromSnapshotCommand = exports.serializeAws_json1_1ReleaseFileSystemNfsV3LocksCommand = exports.serializeAws_json1_1ListTagsForResourceCommand = exports.serializeAws_json1_1DisassociateFileSystemAliasesCommand = exports.serializeAws_json1_1DescribeVolumesCommand = exports.serializeAws_json1_1DescribeStorageVirtualMachinesCommand = exports.serializeAws_json1_1DescribeSnapshotsCommand = exports.serializeAws_json1_1DescribeFileSystemsCommand = exports.serializeAws_json1_1DescribeFileSystemAliasesCommand = exports.serializeAws_json1_1DescribeDataRepositoryTasksCommand = exports.serializeAws_json1_1DescribeDataRepositoryAssociationsCommand = exports.serializeAws_json1_1DescribeBackupsCommand = exports.serializeAws_json1_1DeleteVolumeCommand = exports.serializeAws_json1_1DeleteStorageVirtualMachineCommand = exports.serializeAws_json1_1DeleteSnapshotCommand = exports.serializeAws_json1_1DeleteFileSystemCommand = exports.serializeAws_json1_1DeleteDataRepositoryAssociationCommand = exports.serializeAws_json1_1DeleteBackupCommand = exports.serializeAws_json1_1CreateVolumeFromBackupCommand = exports.serializeAws_json1_1CreateVolumeCommand = exports.serializeAws_json1_1CreateStorageVirtualMachineCommand = exports.serializeAws_json1_1CreateSnapshotCommand = exports.serializeAws_json1_1CreateFileSystemFromBackupCommand = exports.serializeAws_json1_1CreateFileSystemCommand = exports.serializeAws_json1_1CreateDataRepositoryTaskCommand = exports.serializeAws_json1_1CreateDataRepositoryAssociationCommand = exports.serializeAws_json1_1CreateBackupCommand = exports.serializeAws_json1_1CopyBackupCommand = exports.serializeAws_json1_1CancelDataRepositoryTaskCommand = exports.serializeAws_json1_1AssociateFileSystemAliasesCommand = void 0;
|
|
4
|
+
exports.deserializeAws_json1_1UpdateVolumeCommand = exports.deserializeAws_json1_1UpdateStorageVirtualMachineCommand = exports.deserializeAws_json1_1UpdateSnapshotCommand = exports.deserializeAws_json1_1UpdateFileSystemCommand = exports.deserializeAws_json1_1UpdateDataRepositoryAssociationCommand = exports.deserializeAws_json1_1UntagResourceCommand = exports.deserializeAws_json1_1TagResourceCommand = exports.deserializeAws_json1_1RestoreVolumeFromSnapshotCommand = exports.deserializeAws_json1_1ReleaseFileSystemNfsV3LocksCommand = exports.deserializeAws_json1_1ListTagsForResourceCommand = exports.deserializeAws_json1_1DisassociateFileSystemAliasesCommand = exports.deserializeAws_json1_1DescribeVolumesCommand = exports.deserializeAws_json1_1DescribeStorageVirtualMachinesCommand = exports.deserializeAws_json1_1DescribeSnapshotsCommand = exports.deserializeAws_json1_1DescribeFileSystemsCommand = exports.deserializeAws_json1_1DescribeFileSystemAliasesCommand = exports.deserializeAws_json1_1DescribeDataRepositoryTasksCommand = exports.deserializeAws_json1_1DescribeDataRepositoryAssociationsCommand = exports.deserializeAws_json1_1DescribeBackupsCommand = exports.deserializeAws_json1_1DeleteVolumeCommand = exports.deserializeAws_json1_1DeleteStorageVirtualMachineCommand = exports.deserializeAws_json1_1DeleteSnapshotCommand = exports.deserializeAws_json1_1DeleteFileSystemCommand = exports.deserializeAws_json1_1DeleteDataRepositoryAssociationCommand = void 0;
|
|
5
5
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const uuid_1 = require("uuid");
|
|
@@ -45,6 +45,16 @@ const serializeAws_json1_1CreateBackupCommand = async (input, context) => {
|
|
|
45
45
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
46
46
|
};
|
|
47
47
|
exports.serializeAws_json1_1CreateBackupCommand = serializeAws_json1_1CreateBackupCommand;
|
|
48
|
+
const serializeAws_json1_1CreateDataRepositoryAssociationCommand = async (input, context) => {
|
|
49
|
+
const headers = {
|
|
50
|
+
"content-type": "application/x-amz-json-1.1",
|
|
51
|
+
"x-amz-target": "AWSSimbaAPIService_v20180301.CreateDataRepositoryAssociation",
|
|
52
|
+
};
|
|
53
|
+
let body;
|
|
54
|
+
body = JSON.stringify(serializeAws_json1_1CreateDataRepositoryAssociationRequest(input, context));
|
|
55
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
56
|
+
};
|
|
57
|
+
exports.serializeAws_json1_1CreateDataRepositoryAssociationCommand = serializeAws_json1_1CreateDataRepositoryAssociationCommand;
|
|
48
58
|
const serializeAws_json1_1CreateDataRepositoryTaskCommand = async (input, context) => {
|
|
49
59
|
const headers = {
|
|
50
60
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -75,6 +85,16 @@ const serializeAws_json1_1CreateFileSystemFromBackupCommand = async (input, cont
|
|
|
75
85
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
76
86
|
};
|
|
77
87
|
exports.serializeAws_json1_1CreateFileSystemFromBackupCommand = serializeAws_json1_1CreateFileSystemFromBackupCommand;
|
|
88
|
+
const serializeAws_json1_1CreateSnapshotCommand = async (input, context) => {
|
|
89
|
+
const headers = {
|
|
90
|
+
"content-type": "application/x-amz-json-1.1",
|
|
91
|
+
"x-amz-target": "AWSSimbaAPIService_v20180301.CreateSnapshot",
|
|
92
|
+
};
|
|
93
|
+
let body;
|
|
94
|
+
body = JSON.stringify(serializeAws_json1_1CreateSnapshotRequest(input, context));
|
|
95
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
96
|
+
};
|
|
97
|
+
exports.serializeAws_json1_1CreateSnapshotCommand = serializeAws_json1_1CreateSnapshotCommand;
|
|
78
98
|
const serializeAws_json1_1CreateStorageVirtualMachineCommand = async (input, context) => {
|
|
79
99
|
const headers = {
|
|
80
100
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -115,6 +135,16 @@ const serializeAws_json1_1DeleteBackupCommand = async (input, context) => {
|
|
|
115
135
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
116
136
|
};
|
|
117
137
|
exports.serializeAws_json1_1DeleteBackupCommand = serializeAws_json1_1DeleteBackupCommand;
|
|
138
|
+
const serializeAws_json1_1DeleteDataRepositoryAssociationCommand = async (input, context) => {
|
|
139
|
+
const headers = {
|
|
140
|
+
"content-type": "application/x-amz-json-1.1",
|
|
141
|
+
"x-amz-target": "AWSSimbaAPIService_v20180301.DeleteDataRepositoryAssociation",
|
|
142
|
+
};
|
|
143
|
+
let body;
|
|
144
|
+
body = JSON.stringify(serializeAws_json1_1DeleteDataRepositoryAssociationRequest(input, context));
|
|
145
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
146
|
+
};
|
|
147
|
+
exports.serializeAws_json1_1DeleteDataRepositoryAssociationCommand = serializeAws_json1_1DeleteDataRepositoryAssociationCommand;
|
|
118
148
|
const serializeAws_json1_1DeleteFileSystemCommand = async (input, context) => {
|
|
119
149
|
const headers = {
|
|
120
150
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -125,6 +155,16 @@ const serializeAws_json1_1DeleteFileSystemCommand = async (input, context) => {
|
|
|
125
155
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
126
156
|
};
|
|
127
157
|
exports.serializeAws_json1_1DeleteFileSystemCommand = serializeAws_json1_1DeleteFileSystemCommand;
|
|
158
|
+
const serializeAws_json1_1DeleteSnapshotCommand = async (input, context) => {
|
|
159
|
+
const headers = {
|
|
160
|
+
"content-type": "application/x-amz-json-1.1",
|
|
161
|
+
"x-amz-target": "AWSSimbaAPIService_v20180301.DeleteSnapshot",
|
|
162
|
+
};
|
|
163
|
+
let body;
|
|
164
|
+
body = JSON.stringify(serializeAws_json1_1DeleteSnapshotRequest(input, context));
|
|
165
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
166
|
+
};
|
|
167
|
+
exports.serializeAws_json1_1DeleteSnapshotCommand = serializeAws_json1_1DeleteSnapshotCommand;
|
|
128
168
|
const serializeAws_json1_1DeleteStorageVirtualMachineCommand = async (input, context) => {
|
|
129
169
|
const headers = {
|
|
130
170
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -155,6 +195,16 @@ const serializeAws_json1_1DescribeBackupsCommand = async (input, context) => {
|
|
|
155
195
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
156
196
|
};
|
|
157
197
|
exports.serializeAws_json1_1DescribeBackupsCommand = serializeAws_json1_1DescribeBackupsCommand;
|
|
198
|
+
const serializeAws_json1_1DescribeDataRepositoryAssociationsCommand = async (input, context) => {
|
|
199
|
+
const headers = {
|
|
200
|
+
"content-type": "application/x-amz-json-1.1",
|
|
201
|
+
"x-amz-target": "AWSSimbaAPIService_v20180301.DescribeDataRepositoryAssociations",
|
|
202
|
+
};
|
|
203
|
+
let body;
|
|
204
|
+
body = JSON.stringify(serializeAws_json1_1DescribeDataRepositoryAssociationsRequest(input, context));
|
|
205
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
206
|
+
};
|
|
207
|
+
exports.serializeAws_json1_1DescribeDataRepositoryAssociationsCommand = serializeAws_json1_1DescribeDataRepositoryAssociationsCommand;
|
|
158
208
|
const serializeAws_json1_1DescribeDataRepositoryTasksCommand = async (input, context) => {
|
|
159
209
|
const headers = {
|
|
160
210
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -185,6 +235,16 @@ const serializeAws_json1_1DescribeFileSystemsCommand = async (input, context) =>
|
|
|
185
235
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
186
236
|
};
|
|
187
237
|
exports.serializeAws_json1_1DescribeFileSystemsCommand = serializeAws_json1_1DescribeFileSystemsCommand;
|
|
238
|
+
const serializeAws_json1_1DescribeSnapshotsCommand = async (input, context) => {
|
|
239
|
+
const headers = {
|
|
240
|
+
"content-type": "application/x-amz-json-1.1",
|
|
241
|
+
"x-amz-target": "AWSSimbaAPIService_v20180301.DescribeSnapshots",
|
|
242
|
+
};
|
|
243
|
+
let body;
|
|
244
|
+
body = JSON.stringify(serializeAws_json1_1DescribeSnapshotsRequest(input, context));
|
|
245
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
246
|
+
};
|
|
247
|
+
exports.serializeAws_json1_1DescribeSnapshotsCommand = serializeAws_json1_1DescribeSnapshotsCommand;
|
|
188
248
|
const serializeAws_json1_1DescribeStorageVirtualMachinesCommand = async (input, context) => {
|
|
189
249
|
const headers = {
|
|
190
250
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -225,6 +285,26 @@ const serializeAws_json1_1ListTagsForResourceCommand = async (input, context) =>
|
|
|
225
285
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
226
286
|
};
|
|
227
287
|
exports.serializeAws_json1_1ListTagsForResourceCommand = serializeAws_json1_1ListTagsForResourceCommand;
|
|
288
|
+
const serializeAws_json1_1ReleaseFileSystemNfsV3LocksCommand = async (input, context) => {
|
|
289
|
+
const headers = {
|
|
290
|
+
"content-type": "application/x-amz-json-1.1",
|
|
291
|
+
"x-amz-target": "AWSSimbaAPIService_v20180301.ReleaseFileSystemNfsV3Locks",
|
|
292
|
+
};
|
|
293
|
+
let body;
|
|
294
|
+
body = JSON.stringify(serializeAws_json1_1ReleaseFileSystemNfsV3LocksRequest(input, context));
|
|
295
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
296
|
+
};
|
|
297
|
+
exports.serializeAws_json1_1ReleaseFileSystemNfsV3LocksCommand = serializeAws_json1_1ReleaseFileSystemNfsV3LocksCommand;
|
|
298
|
+
const serializeAws_json1_1RestoreVolumeFromSnapshotCommand = async (input, context) => {
|
|
299
|
+
const headers = {
|
|
300
|
+
"content-type": "application/x-amz-json-1.1",
|
|
301
|
+
"x-amz-target": "AWSSimbaAPIService_v20180301.RestoreVolumeFromSnapshot",
|
|
302
|
+
};
|
|
303
|
+
let body;
|
|
304
|
+
body = JSON.stringify(serializeAws_json1_1RestoreVolumeFromSnapshotRequest(input, context));
|
|
305
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
306
|
+
};
|
|
307
|
+
exports.serializeAws_json1_1RestoreVolumeFromSnapshotCommand = serializeAws_json1_1RestoreVolumeFromSnapshotCommand;
|
|
228
308
|
const serializeAws_json1_1TagResourceCommand = async (input, context) => {
|
|
229
309
|
const headers = {
|
|
230
310
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -245,6 +325,16 @@ const serializeAws_json1_1UntagResourceCommand = async (input, context) => {
|
|
|
245
325
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
246
326
|
};
|
|
247
327
|
exports.serializeAws_json1_1UntagResourceCommand = serializeAws_json1_1UntagResourceCommand;
|
|
328
|
+
const serializeAws_json1_1UpdateDataRepositoryAssociationCommand = async (input, context) => {
|
|
329
|
+
const headers = {
|
|
330
|
+
"content-type": "application/x-amz-json-1.1",
|
|
331
|
+
"x-amz-target": "AWSSimbaAPIService_v20180301.UpdateDataRepositoryAssociation",
|
|
332
|
+
};
|
|
333
|
+
let body;
|
|
334
|
+
body = JSON.stringify(serializeAws_json1_1UpdateDataRepositoryAssociationRequest(input, context));
|
|
335
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
336
|
+
};
|
|
337
|
+
exports.serializeAws_json1_1UpdateDataRepositoryAssociationCommand = serializeAws_json1_1UpdateDataRepositoryAssociationCommand;
|
|
248
338
|
const serializeAws_json1_1UpdateFileSystemCommand = async (input, context) => {
|
|
249
339
|
const headers = {
|
|
250
340
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -255,6 +345,16 @@ const serializeAws_json1_1UpdateFileSystemCommand = async (input, context) => {
|
|
|
255
345
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
256
346
|
};
|
|
257
347
|
exports.serializeAws_json1_1UpdateFileSystemCommand = serializeAws_json1_1UpdateFileSystemCommand;
|
|
348
|
+
const serializeAws_json1_1UpdateSnapshotCommand = async (input, context) => {
|
|
349
|
+
const headers = {
|
|
350
|
+
"content-type": "application/x-amz-json-1.1",
|
|
351
|
+
"x-amz-target": "AWSSimbaAPIService_v20180301.UpdateSnapshot",
|
|
352
|
+
};
|
|
353
|
+
let body;
|
|
354
|
+
body = JSON.stringify(serializeAws_json1_1UpdateSnapshotRequest(input, context));
|
|
355
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
356
|
+
};
|
|
357
|
+
exports.serializeAws_json1_1UpdateSnapshotCommand = serializeAws_json1_1UpdateSnapshotCommand;
|
|
258
358
|
const serializeAws_json1_1UpdateStorageVirtualMachineCommand = async (input, context) => {
|
|
259
359
|
const headers = {
|
|
260
360
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -647,6 +747,93 @@ const deserializeAws_json1_1CreateBackupCommandError = async (output, context) =
|
|
|
647
747
|
delete response.Message;
|
|
648
748
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
649
749
|
};
|
|
750
|
+
const deserializeAws_json1_1CreateDataRepositoryAssociationCommand = async (output, context) => {
|
|
751
|
+
if (output.statusCode >= 300) {
|
|
752
|
+
return deserializeAws_json1_1CreateDataRepositoryAssociationCommandError(output, context);
|
|
753
|
+
}
|
|
754
|
+
const data = await parseBody(output.body, context);
|
|
755
|
+
let contents = {};
|
|
756
|
+
contents = deserializeAws_json1_1CreateDataRepositoryAssociationResponse(data, context);
|
|
757
|
+
const response = {
|
|
758
|
+
$metadata: deserializeMetadata(output),
|
|
759
|
+
...contents,
|
|
760
|
+
};
|
|
761
|
+
return Promise.resolve(response);
|
|
762
|
+
};
|
|
763
|
+
exports.deserializeAws_json1_1CreateDataRepositoryAssociationCommand = deserializeAws_json1_1CreateDataRepositoryAssociationCommand;
|
|
764
|
+
const deserializeAws_json1_1CreateDataRepositoryAssociationCommandError = async (output, context) => {
|
|
765
|
+
const parsedOutput = {
|
|
766
|
+
...output,
|
|
767
|
+
body: await parseBody(output.body, context),
|
|
768
|
+
};
|
|
769
|
+
let response;
|
|
770
|
+
let errorCode = "UnknownError";
|
|
771
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
772
|
+
switch (errorCode) {
|
|
773
|
+
case "BadRequest":
|
|
774
|
+
case "com.amazonaws.fsx#BadRequest":
|
|
775
|
+
response = {
|
|
776
|
+
...(await deserializeAws_json1_1BadRequestResponse(parsedOutput, context)),
|
|
777
|
+
name: errorCode,
|
|
778
|
+
$metadata: deserializeMetadata(output),
|
|
779
|
+
};
|
|
780
|
+
break;
|
|
781
|
+
case "FileSystemNotFound":
|
|
782
|
+
case "com.amazonaws.fsx#FileSystemNotFound":
|
|
783
|
+
response = {
|
|
784
|
+
...(await deserializeAws_json1_1FileSystemNotFoundResponse(parsedOutput, context)),
|
|
785
|
+
name: errorCode,
|
|
786
|
+
$metadata: deserializeMetadata(output),
|
|
787
|
+
};
|
|
788
|
+
break;
|
|
789
|
+
case "IncompatibleParameterError":
|
|
790
|
+
case "com.amazonaws.fsx#IncompatibleParameterError":
|
|
791
|
+
response = {
|
|
792
|
+
...(await deserializeAws_json1_1IncompatibleParameterErrorResponse(parsedOutput, context)),
|
|
793
|
+
name: errorCode,
|
|
794
|
+
$metadata: deserializeMetadata(output),
|
|
795
|
+
};
|
|
796
|
+
break;
|
|
797
|
+
case "InternalServerError":
|
|
798
|
+
case "com.amazonaws.fsx#InternalServerError":
|
|
799
|
+
response = {
|
|
800
|
+
...(await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context)),
|
|
801
|
+
name: errorCode,
|
|
802
|
+
$metadata: deserializeMetadata(output),
|
|
803
|
+
};
|
|
804
|
+
break;
|
|
805
|
+
case "ServiceLimitExceeded":
|
|
806
|
+
case "com.amazonaws.fsx#ServiceLimitExceeded":
|
|
807
|
+
response = {
|
|
808
|
+
...(await deserializeAws_json1_1ServiceLimitExceededResponse(parsedOutput, context)),
|
|
809
|
+
name: errorCode,
|
|
810
|
+
$metadata: deserializeMetadata(output),
|
|
811
|
+
};
|
|
812
|
+
break;
|
|
813
|
+
case "UnsupportedOperation":
|
|
814
|
+
case "com.amazonaws.fsx#UnsupportedOperation":
|
|
815
|
+
response = {
|
|
816
|
+
...(await deserializeAws_json1_1UnsupportedOperationResponse(parsedOutput, context)),
|
|
817
|
+
name: errorCode,
|
|
818
|
+
$metadata: deserializeMetadata(output),
|
|
819
|
+
};
|
|
820
|
+
break;
|
|
821
|
+
default:
|
|
822
|
+
const parsedBody = parsedOutput.body;
|
|
823
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
824
|
+
response = {
|
|
825
|
+
...parsedBody,
|
|
826
|
+
name: `${errorCode}`,
|
|
827
|
+
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
828
|
+
$fault: "client",
|
|
829
|
+
$metadata: deserializeMetadata(output),
|
|
830
|
+
};
|
|
831
|
+
}
|
|
832
|
+
const message = response.message || response.Message || errorCode;
|
|
833
|
+
response.message = message;
|
|
834
|
+
delete response.Message;
|
|
835
|
+
return Promise.reject(Object.assign(new Error(message), response));
|
|
836
|
+
};
|
|
650
837
|
const deserializeAws_json1_1CreateDataRepositoryTaskCommand = async (output, context) => {
|
|
651
838
|
if (output.statusCode >= 300) {
|
|
652
839
|
return deserializeAws_json1_1CreateDataRepositoryTaskCommandError(output, context);
|
|
@@ -972,6 +1159,77 @@ const deserializeAws_json1_1CreateFileSystemFromBackupCommandError = async (outp
|
|
|
972
1159
|
delete response.Message;
|
|
973
1160
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
974
1161
|
};
|
|
1162
|
+
const deserializeAws_json1_1CreateSnapshotCommand = async (output, context) => {
|
|
1163
|
+
if (output.statusCode >= 300) {
|
|
1164
|
+
return deserializeAws_json1_1CreateSnapshotCommandError(output, context);
|
|
1165
|
+
}
|
|
1166
|
+
const data = await parseBody(output.body, context);
|
|
1167
|
+
let contents = {};
|
|
1168
|
+
contents = deserializeAws_json1_1CreateSnapshotResponse(data, context);
|
|
1169
|
+
const response = {
|
|
1170
|
+
$metadata: deserializeMetadata(output),
|
|
1171
|
+
...contents,
|
|
1172
|
+
};
|
|
1173
|
+
return Promise.resolve(response);
|
|
1174
|
+
};
|
|
1175
|
+
exports.deserializeAws_json1_1CreateSnapshotCommand = deserializeAws_json1_1CreateSnapshotCommand;
|
|
1176
|
+
const deserializeAws_json1_1CreateSnapshotCommandError = async (output, context) => {
|
|
1177
|
+
const parsedOutput = {
|
|
1178
|
+
...output,
|
|
1179
|
+
body: await parseBody(output.body, context),
|
|
1180
|
+
};
|
|
1181
|
+
let response;
|
|
1182
|
+
let errorCode = "UnknownError";
|
|
1183
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1184
|
+
switch (errorCode) {
|
|
1185
|
+
case "BadRequest":
|
|
1186
|
+
case "com.amazonaws.fsx#BadRequest":
|
|
1187
|
+
response = {
|
|
1188
|
+
...(await deserializeAws_json1_1BadRequestResponse(parsedOutput, context)),
|
|
1189
|
+
name: errorCode,
|
|
1190
|
+
$metadata: deserializeMetadata(output),
|
|
1191
|
+
};
|
|
1192
|
+
break;
|
|
1193
|
+
case "InternalServerError":
|
|
1194
|
+
case "com.amazonaws.fsx#InternalServerError":
|
|
1195
|
+
response = {
|
|
1196
|
+
...(await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context)),
|
|
1197
|
+
name: errorCode,
|
|
1198
|
+
$metadata: deserializeMetadata(output),
|
|
1199
|
+
};
|
|
1200
|
+
break;
|
|
1201
|
+
case "ServiceLimitExceeded":
|
|
1202
|
+
case "com.amazonaws.fsx#ServiceLimitExceeded":
|
|
1203
|
+
response = {
|
|
1204
|
+
...(await deserializeAws_json1_1ServiceLimitExceededResponse(parsedOutput, context)),
|
|
1205
|
+
name: errorCode,
|
|
1206
|
+
$metadata: deserializeMetadata(output),
|
|
1207
|
+
};
|
|
1208
|
+
break;
|
|
1209
|
+
case "VolumeNotFound":
|
|
1210
|
+
case "com.amazonaws.fsx#VolumeNotFound":
|
|
1211
|
+
response = {
|
|
1212
|
+
...(await deserializeAws_json1_1VolumeNotFoundResponse(parsedOutput, context)),
|
|
1213
|
+
name: errorCode,
|
|
1214
|
+
$metadata: deserializeMetadata(output),
|
|
1215
|
+
};
|
|
1216
|
+
break;
|
|
1217
|
+
default:
|
|
1218
|
+
const parsedBody = parsedOutput.body;
|
|
1219
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
1220
|
+
response = {
|
|
1221
|
+
...parsedBody,
|
|
1222
|
+
name: `${errorCode}`,
|
|
1223
|
+
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
1224
|
+
$fault: "client",
|
|
1225
|
+
$metadata: deserializeMetadata(output),
|
|
1226
|
+
};
|
|
1227
|
+
}
|
|
1228
|
+
const message = response.message || response.Message || errorCode;
|
|
1229
|
+
response.message = message;
|
|
1230
|
+
delete response.Message;
|
|
1231
|
+
return Promise.reject(Object.assign(new Error(message), response));
|
|
1232
|
+
};
|
|
975
1233
|
const deserializeAws_json1_1CreateStorageVirtualMachineCommand = async (output, context) => {
|
|
976
1234
|
if (output.statusCode >= 300) {
|
|
977
1235
|
return deserializeAws_json1_1CreateStorageVirtualMachineCommandError(output, context);
|
|
@@ -1368,21 +1626,21 @@ const deserializeAws_json1_1DeleteBackupCommandError = async (output, context) =
|
|
|
1368
1626
|
delete response.Message;
|
|
1369
1627
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
1370
1628
|
};
|
|
1371
|
-
const
|
|
1629
|
+
const deserializeAws_json1_1DeleteDataRepositoryAssociationCommand = async (output, context) => {
|
|
1372
1630
|
if (output.statusCode >= 300) {
|
|
1373
|
-
return
|
|
1631
|
+
return deserializeAws_json1_1DeleteDataRepositoryAssociationCommandError(output, context);
|
|
1374
1632
|
}
|
|
1375
1633
|
const data = await parseBody(output.body, context);
|
|
1376
1634
|
let contents = {};
|
|
1377
|
-
contents =
|
|
1635
|
+
contents = deserializeAws_json1_1DeleteDataRepositoryAssociationResponse(data, context);
|
|
1378
1636
|
const response = {
|
|
1379
1637
|
$metadata: deserializeMetadata(output),
|
|
1380
1638
|
...contents,
|
|
1381
1639
|
};
|
|
1382
1640
|
return Promise.resolve(response);
|
|
1383
1641
|
};
|
|
1384
|
-
exports.
|
|
1385
|
-
const
|
|
1642
|
+
exports.deserializeAws_json1_1DeleteDataRepositoryAssociationCommand = deserializeAws_json1_1DeleteDataRepositoryAssociationCommand;
|
|
1643
|
+
const deserializeAws_json1_1DeleteDataRepositoryAssociationCommandError = async (output, context) => {
|
|
1386
1644
|
const parsedOutput = {
|
|
1387
1645
|
...output,
|
|
1388
1646
|
body: await parseBody(output.body, context),
|
|
@@ -1399,10 +1657,10 @@ const deserializeAws_json1_1DeleteFileSystemCommandError = async (output, contex
|
|
|
1399
1657
|
$metadata: deserializeMetadata(output),
|
|
1400
1658
|
};
|
|
1401
1659
|
break;
|
|
1402
|
-
case "
|
|
1403
|
-
case "com.amazonaws.fsx#
|
|
1660
|
+
case "DataRepositoryAssociationNotFound":
|
|
1661
|
+
case "com.amazonaws.fsx#DataRepositoryAssociationNotFound":
|
|
1404
1662
|
response = {
|
|
1405
|
-
...(await
|
|
1663
|
+
...(await deserializeAws_json1_1DataRepositoryAssociationNotFoundResponse(parsedOutput, context)),
|
|
1406
1664
|
name: errorCode,
|
|
1407
1665
|
$metadata: deserializeMetadata(output),
|
|
1408
1666
|
};
|
|
@@ -1447,21 +1705,21 @@ const deserializeAws_json1_1DeleteFileSystemCommandError = async (output, contex
|
|
|
1447
1705
|
delete response.Message;
|
|
1448
1706
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
1449
1707
|
};
|
|
1450
|
-
const
|
|
1708
|
+
const deserializeAws_json1_1DeleteFileSystemCommand = async (output, context) => {
|
|
1451
1709
|
if (output.statusCode >= 300) {
|
|
1452
|
-
return
|
|
1710
|
+
return deserializeAws_json1_1DeleteFileSystemCommandError(output, context);
|
|
1453
1711
|
}
|
|
1454
1712
|
const data = await parseBody(output.body, context);
|
|
1455
1713
|
let contents = {};
|
|
1456
|
-
contents =
|
|
1714
|
+
contents = deserializeAws_json1_1DeleteFileSystemResponse(data, context);
|
|
1457
1715
|
const response = {
|
|
1458
1716
|
$metadata: deserializeMetadata(output),
|
|
1459
1717
|
...contents,
|
|
1460
1718
|
};
|
|
1461
1719
|
return Promise.resolve(response);
|
|
1462
1720
|
};
|
|
1463
|
-
exports.
|
|
1464
|
-
const
|
|
1721
|
+
exports.deserializeAws_json1_1DeleteFileSystemCommand = deserializeAws_json1_1DeleteFileSystemCommand;
|
|
1722
|
+
const deserializeAws_json1_1DeleteFileSystemCommandError = async (output, context) => {
|
|
1465
1723
|
const parsedOutput = {
|
|
1466
1724
|
...output,
|
|
1467
1725
|
body: await parseBody(output.body, context),
|
|
@@ -1478,6 +1736,14 @@ const deserializeAws_json1_1DeleteStorageVirtualMachineCommandError = async (out
|
|
|
1478
1736
|
$metadata: deserializeMetadata(output),
|
|
1479
1737
|
};
|
|
1480
1738
|
break;
|
|
1739
|
+
case "FileSystemNotFound":
|
|
1740
|
+
case "com.amazonaws.fsx#FileSystemNotFound":
|
|
1741
|
+
response = {
|
|
1742
|
+
...(await deserializeAws_json1_1FileSystemNotFoundResponse(parsedOutput, context)),
|
|
1743
|
+
name: errorCode,
|
|
1744
|
+
$metadata: deserializeMetadata(output),
|
|
1745
|
+
};
|
|
1746
|
+
break;
|
|
1481
1747
|
case "IncompatibleParameterError":
|
|
1482
1748
|
case "com.amazonaws.fsx#IncompatibleParameterError":
|
|
1483
1749
|
response = {
|
|
@@ -1494,10 +1760,10 @@ const deserializeAws_json1_1DeleteStorageVirtualMachineCommandError = async (out
|
|
|
1494
1760
|
$metadata: deserializeMetadata(output),
|
|
1495
1761
|
};
|
|
1496
1762
|
break;
|
|
1497
|
-
case "
|
|
1498
|
-
case "com.amazonaws.fsx#
|
|
1763
|
+
case "ServiceLimitExceeded":
|
|
1764
|
+
case "com.amazonaws.fsx#ServiceLimitExceeded":
|
|
1499
1765
|
response = {
|
|
1500
|
-
...(await
|
|
1766
|
+
...(await deserializeAws_json1_1ServiceLimitExceededResponse(parsedOutput, context)),
|
|
1501
1767
|
name: errorCode,
|
|
1502
1768
|
$metadata: deserializeMetadata(output),
|
|
1503
1769
|
};
|
|
@@ -1518,21 +1784,21 @@ const deserializeAws_json1_1DeleteStorageVirtualMachineCommandError = async (out
|
|
|
1518
1784
|
delete response.Message;
|
|
1519
1785
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
1520
1786
|
};
|
|
1521
|
-
const
|
|
1787
|
+
const deserializeAws_json1_1DeleteSnapshotCommand = async (output, context) => {
|
|
1522
1788
|
if (output.statusCode >= 300) {
|
|
1523
|
-
return
|
|
1789
|
+
return deserializeAws_json1_1DeleteSnapshotCommandError(output, context);
|
|
1524
1790
|
}
|
|
1525
1791
|
const data = await parseBody(output.body, context);
|
|
1526
1792
|
let contents = {};
|
|
1527
|
-
contents =
|
|
1793
|
+
contents = deserializeAws_json1_1DeleteSnapshotResponse(data, context);
|
|
1528
1794
|
const response = {
|
|
1529
1795
|
$metadata: deserializeMetadata(output),
|
|
1530
1796
|
...contents,
|
|
1531
1797
|
};
|
|
1532
1798
|
return Promise.resolve(response);
|
|
1533
1799
|
};
|
|
1534
|
-
exports.
|
|
1535
|
-
const
|
|
1800
|
+
exports.deserializeAws_json1_1DeleteSnapshotCommand = deserializeAws_json1_1DeleteSnapshotCommand;
|
|
1801
|
+
const deserializeAws_json1_1DeleteSnapshotCommandError = async (output, context) => {
|
|
1536
1802
|
const parsedOutput = {
|
|
1537
1803
|
...output,
|
|
1538
1804
|
body: await parseBody(output.body, context),
|
|
@@ -1549,14 +1815,6 @@ const deserializeAws_json1_1DeleteVolumeCommandError = async (output, context) =
|
|
|
1549
1815
|
$metadata: deserializeMetadata(output),
|
|
1550
1816
|
};
|
|
1551
1817
|
break;
|
|
1552
|
-
case "IncompatibleParameterError":
|
|
1553
|
-
case "com.amazonaws.fsx#IncompatibleParameterError":
|
|
1554
|
-
response = {
|
|
1555
|
-
...(await deserializeAws_json1_1IncompatibleParameterErrorResponse(parsedOutput, context)),
|
|
1556
|
-
name: errorCode,
|
|
1557
|
-
$metadata: deserializeMetadata(output),
|
|
1558
|
-
};
|
|
1559
|
-
break;
|
|
1560
1818
|
case "InternalServerError":
|
|
1561
1819
|
case "com.amazonaws.fsx#InternalServerError":
|
|
1562
1820
|
response = {
|
|
@@ -1565,10 +1823,152 @@ const deserializeAws_json1_1DeleteVolumeCommandError = async (output, context) =
|
|
|
1565
1823
|
$metadata: deserializeMetadata(output),
|
|
1566
1824
|
};
|
|
1567
1825
|
break;
|
|
1568
|
-
case "
|
|
1569
|
-
case "com.amazonaws.fsx#
|
|
1826
|
+
case "SnapshotNotFound":
|
|
1827
|
+
case "com.amazonaws.fsx#SnapshotNotFound":
|
|
1570
1828
|
response = {
|
|
1571
|
-
...(await
|
|
1829
|
+
...(await deserializeAws_json1_1SnapshotNotFoundResponse(parsedOutput, context)),
|
|
1830
|
+
name: errorCode,
|
|
1831
|
+
$metadata: deserializeMetadata(output),
|
|
1832
|
+
};
|
|
1833
|
+
break;
|
|
1834
|
+
default:
|
|
1835
|
+
const parsedBody = parsedOutput.body;
|
|
1836
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
1837
|
+
response = {
|
|
1838
|
+
...parsedBody,
|
|
1839
|
+
name: `${errorCode}`,
|
|
1840
|
+
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
1841
|
+
$fault: "client",
|
|
1842
|
+
$metadata: deserializeMetadata(output),
|
|
1843
|
+
};
|
|
1844
|
+
}
|
|
1845
|
+
const message = response.message || response.Message || errorCode;
|
|
1846
|
+
response.message = message;
|
|
1847
|
+
delete response.Message;
|
|
1848
|
+
return Promise.reject(Object.assign(new Error(message), response));
|
|
1849
|
+
};
|
|
1850
|
+
const deserializeAws_json1_1DeleteStorageVirtualMachineCommand = async (output, context) => {
|
|
1851
|
+
if (output.statusCode >= 300) {
|
|
1852
|
+
return deserializeAws_json1_1DeleteStorageVirtualMachineCommandError(output, context);
|
|
1853
|
+
}
|
|
1854
|
+
const data = await parseBody(output.body, context);
|
|
1855
|
+
let contents = {};
|
|
1856
|
+
contents = deserializeAws_json1_1DeleteStorageVirtualMachineResponse(data, context);
|
|
1857
|
+
const response = {
|
|
1858
|
+
$metadata: deserializeMetadata(output),
|
|
1859
|
+
...contents,
|
|
1860
|
+
};
|
|
1861
|
+
return Promise.resolve(response);
|
|
1862
|
+
};
|
|
1863
|
+
exports.deserializeAws_json1_1DeleteStorageVirtualMachineCommand = deserializeAws_json1_1DeleteStorageVirtualMachineCommand;
|
|
1864
|
+
const deserializeAws_json1_1DeleteStorageVirtualMachineCommandError = async (output, context) => {
|
|
1865
|
+
const parsedOutput = {
|
|
1866
|
+
...output,
|
|
1867
|
+
body: await parseBody(output.body, context),
|
|
1868
|
+
};
|
|
1869
|
+
let response;
|
|
1870
|
+
let errorCode = "UnknownError";
|
|
1871
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1872
|
+
switch (errorCode) {
|
|
1873
|
+
case "BadRequest":
|
|
1874
|
+
case "com.amazonaws.fsx#BadRequest":
|
|
1875
|
+
response = {
|
|
1876
|
+
...(await deserializeAws_json1_1BadRequestResponse(parsedOutput, context)),
|
|
1877
|
+
name: errorCode,
|
|
1878
|
+
$metadata: deserializeMetadata(output),
|
|
1879
|
+
};
|
|
1880
|
+
break;
|
|
1881
|
+
case "IncompatibleParameterError":
|
|
1882
|
+
case "com.amazonaws.fsx#IncompatibleParameterError":
|
|
1883
|
+
response = {
|
|
1884
|
+
...(await deserializeAws_json1_1IncompatibleParameterErrorResponse(parsedOutput, context)),
|
|
1885
|
+
name: errorCode,
|
|
1886
|
+
$metadata: deserializeMetadata(output),
|
|
1887
|
+
};
|
|
1888
|
+
break;
|
|
1889
|
+
case "InternalServerError":
|
|
1890
|
+
case "com.amazonaws.fsx#InternalServerError":
|
|
1891
|
+
response = {
|
|
1892
|
+
...(await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context)),
|
|
1893
|
+
name: errorCode,
|
|
1894
|
+
$metadata: deserializeMetadata(output),
|
|
1895
|
+
};
|
|
1896
|
+
break;
|
|
1897
|
+
case "StorageVirtualMachineNotFound":
|
|
1898
|
+
case "com.amazonaws.fsx#StorageVirtualMachineNotFound":
|
|
1899
|
+
response = {
|
|
1900
|
+
...(await deserializeAws_json1_1StorageVirtualMachineNotFoundResponse(parsedOutput, context)),
|
|
1901
|
+
name: errorCode,
|
|
1902
|
+
$metadata: deserializeMetadata(output),
|
|
1903
|
+
};
|
|
1904
|
+
break;
|
|
1905
|
+
default:
|
|
1906
|
+
const parsedBody = parsedOutput.body;
|
|
1907
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
1908
|
+
response = {
|
|
1909
|
+
...parsedBody,
|
|
1910
|
+
name: `${errorCode}`,
|
|
1911
|
+
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
1912
|
+
$fault: "client",
|
|
1913
|
+
$metadata: deserializeMetadata(output),
|
|
1914
|
+
};
|
|
1915
|
+
}
|
|
1916
|
+
const message = response.message || response.Message || errorCode;
|
|
1917
|
+
response.message = message;
|
|
1918
|
+
delete response.Message;
|
|
1919
|
+
return Promise.reject(Object.assign(new Error(message), response));
|
|
1920
|
+
};
|
|
1921
|
+
const deserializeAws_json1_1DeleteVolumeCommand = async (output, context) => {
|
|
1922
|
+
if (output.statusCode >= 300) {
|
|
1923
|
+
return deserializeAws_json1_1DeleteVolumeCommandError(output, context);
|
|
1924
|
+
}
|
|
1925
|
+
const data = await parseBody(output.body, context);
|
|
1926
|
+
let contents = {};
|
|
1927
|
+
contents = deserializeAws_json1_1DeleteVolumeResponse(data, context);
|
|
1928
|
+
const response = {
|
|
1929
|
+
$metadata: deserializeMetadata(output),
|
|
1930
|
+
...contents,
|
|
1931
|
+
};
|
|
1932
|
+
return Promise.resolve(response);
|
|
1933
|
+
};
|
|
1934
|
+
exports.deserializeAws_json1_1DeleteVolumeCommand = deserializeAws_json1_1DeleteVolumeCommand;
|
|
1935
|
+
const deserializeAws_json1_1DeleteVolumeCommandError = async (output, context) => {
|
|
1936
|
+
const parsedOutput = {
|
|
1937
|
+
...output,
|
|
1938
|
+
body: await parseBody(output.body, context),
|
|
1939
|
+
};
|
|
1940
|
+
let response;
|
|
1941
|
+
let errorCode = "UnknownError";
|
|
1942
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1943
|
+
switch (errorCode) {
|
|
1944
|
+
case "BadRequest":
|
|
1945
|
+
case "com.amazonaws.fsx#BadRequest":
|
|
1946
|
+
response = {
|
|
1947
|
+
...(await deserializeAws_json1_1BadRequestResponse(parsedOutput, context)),
|
|
1948
|
+
name: errorCode,
|
|
1949
|
+
$metadata: deserializeMetadata(output),
|
|
1950
|
+
};
|
|
1951
|
+
break;
|
|
1952
|
+
case "IncompatibleParameterError":
|
|
1953
|
+
case "com.amazonaws.fsx#IncompatibleParameterError":
|
|
1954
|
+
response = {
|
|
1955
|
+
...(await deserializeAws_json1_1IncompatibleParameterErrorResponse(parsedOutput, context)),
|
|
1956
|
+
name: errorCode,
|
|
1957
|
+
$metadata: deserializeMetadata(output),
|
|
1958
|
+
};
|
|
1959
|
+
break;
|
|
1960
|
+
case "InternalServerError":
|
|
1961
|
+
case "com.amazonaws.fsx#InternalServerError":
|
|
1962
|
+
response = {
|
|
1963
|
+
...(await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context)),
|
|
1964
|
+
name: errorCode,
|
|
1965
|
+
$metadata: deserializeMetadata(output),
|
|
1966
|
+
};
|
|
1967
|
+
break;
|
|
1968
|
+
case "VolumeNotFound":
|
|
1969
|
+
case "com.amazonaws.fsx#VolumeNotFound":
|
|
1970
|
+
response = {
|
|
1971
|
+
...(await deserializeAws_json1_1VolumeNotFoundResponse(parsedOutput, context)),
|
|
1572
1972
|
name: errorCode,
|
|
1573
1973
|
$metadata: deserializeMetadata(output),
|
|
1574
1974
|
};
|
|
@@ -1631,7 +2031,346 @@ const deserializeAws_json1_1DescribeBackupsCommandError = async (output, context
|
|
|
1631
2031
|
case "FileSystemNotFound":
|
|
1632
2032
|
case "com.amazonaws.fsx#FileSystemNotFound":
|
|
1633
2033
|
response = {
|
|
1634
|
-
...(await deserializeAws_json1_1FileSystemNotFoundResponse(parsedOutput, context)),
|
|
2034
|
+
...(await deserializeAws_json1_1FileSystemNotFoundResponse(parsedOutput, context)),
|
|
2035
|
+
name: errorCode,
|
|
2036
|
+
$metadata: deserializeMetadata(output),
|
|
2037
|
+
};
|
|
2038
|
+
break;
|
|
2039
|
+
case "InternalServerError":
|
|
2040
|
+
case "com.amazonaws.fsx#InternalServerError":
|
|
2041
|
+
response = {
|
|
2042
|
+
...(await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context)),
|
|
2043
|
+
name: errorCode,
|
|
2044
|
+
$metadata: deserializeMetadata(output),
|
|
2045
|
+
};
|
|
2046
|
+
break;
|
|
2047
|
+
case "VolumeNotFound":
|
|
2048
|
+
case "com.amazonaws.fsx#VolumeNotFound":
|
|
2049
|
+
response = {
|
|
2050
|
+
...(await deserializeAws_json1_1VolumeNotFoundResponse(parsedOutput, context)),
|
|
2051
|
+
name: errorCode,
|
|
2052
|
+
$metadata: deserializeMetadata(output),
|
|
2053
|
+
};
|
|
2054
|
+
break;
|
|
2055
|
+
default:
|
|
2056
|
+
const parsedBody = parsedOutput.body;
|
|
2057
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
2058
|
+
response = {
|
|
2059
|
+
...parsedBody,
|
|
2060
|
+
name: `${errorCode}`,
|
|
2061
|
+
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
2062
|
+
$fault: "client",
|
|
2063
|
+
$metadata: deserializeMetadata(output),
|
|
2064
|
+
};
|
|
2065
|
+
}
|
|
2066
|
+
const message = response.message || response.Message || errorCode;
|
|
2067
|
+
response.message = message;
|
|
2068
|
+
delete response.Message;
|
|
2069
|
+
return Promise.reject(Object.assign(new Error(message), response));
|
|
2070
|
+
};
|
|
2071
|
+
const deserializeAws_json1_1DescribeDataRepositoryAssociationsCommand = async (output, context) => {
|
|
2072
|
+
if (output.statusCode >= 300) {
|
|
2073
|
+
return deserializeAws_json1_1DescribeDataRepositoryAssociationsCommandError(output, context);
|
|
2074
|
+
}
|
|
2075
|
+
const data = await parseBody(output.body, context);
|
|
2076
|
+
let contents = {};
|
|
2077
|
+
contents = deserializeAws_json1_1DescribeDataRepositoryAssociationsResponse(data, context);
|
|
2078
|
+
const response = {
|
|
2079
|
+
$metadata: deserializeMetadata(output),
|
|
2080
|
+
...contents,
|
|
2081
|
+
};
|
|
2082
|
+
return Promise.resolve(response);
|
|
2083
|
+
};
|
|
2084
|
+
exports.deserializeAws_json1_1DescribeDataRepositoryAssociationsCommand = deserializeAws_json1_1DescribeDataRepositoryAssociationsCommand;
|
|
2085
|
+
const deserializeAws_json1_1DescribeDataRepositoryAssociationsCommandError = async (output, context) => {
|
|
2086
|
+
const parsedOutput = {
|
|
2087
|
+
...output,
|
|
2088
|
+
body: await parseBody(output.body, context),
|
|
2089
|
+
};
|
|
2090
|
+
let response;
|
|
2091
|
+
let errorCode = "UnknownError";
|
|
2092
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2093
|
+
switch (errorCode) {
|
|
2094
|
+
case "BadRequest":
|
|
2095
|
+
case "com.amazonaws.fsx#BadRequest":
|
|
2096
|
+
response = {
|
|
2097
|
+
...(await deserializeAws_json1_1BadRequestResponse(parsedOutput, context)),
|
|
2098
|
+
name: errorCode,
|
|
2099
|
+
$metadata: deserializeMetadata(output),
|
|
2100
|
+
};
|
|
2101
|
+
break;
|
|
2102
|
+
case "DataRepositoryAssociationNotFound":
|
|
2103
|
+
case "com.amazonaws.fsx#DataRepositoryAssociationNotFound":
|
|
2104
|
+
response = {
|
|
2105
|
+
...(await deserializeAws_json1_1DataRepositoryAssociationNotFoundResponse(parsedOutput, context)),
|
|
2106
|
+
name: errorCode,
|
|
2107
|
+
$metadata: deserializeMetadata(output),
|
|
2108
|
+
};
|
|
2109
|
+
break;
|
|
2110
|
+
case "FileSystemNotFound":
|
|
2111
|
+
case "com.amazonaws.fsx#FileSystemNotFound":
|
|
2112
|
+
response = {
|
|
2113
|
+
...(await deserializeAws_json1_1FileSystemNotFoundResponse(parsedOutput, context)),
|
|
2114
|
+
name: errorCode,
|
|
2115
|
+
$metadata: deserializeMetadata(output),
|
|
2116
|
+
};
|
|
2117
|
+
break;
|
|
2118
|
+
case "InternalServerError":
|
|
2119
|
+
case "com.amazonaws.fsx#InternalServerError":
|
|
2120
|
+
response = {
|
|
2121
|
+
...(await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context)),
|
|
2122
|
+
name: errorCode,
|
|
2123
|
+
$metadata: deserializeMetadata(output),
|
|
2124
|
+
};
|
|
2125
|
+
break;
|
|
2126
|
+
case "InvalidDataRepositoryType":
|
|
2127
|
+
case "com.amazonaws.fsx#InvalidDataRepositoryType":
|
|
2128
|
+
response = {
|
|
2129
|
+
...(await deserializeAws_json1_1InvalidDataRepositoryTypeResponse(parsedOutput, context)),
|
|
2130
|
+
name: errorCode,
|
|
2131
|
+
$metadata: deserializeMetadata(output),
|
|
2132
|
+
};
|
|
2133
|
+
break;
|
|
2134
|
+
default:
|
|
2135
|
+
const parsedBody = parsedOutput.body;
|
|
2136
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
2137
|
+
response = {
|
|
2138
|
+
...parsedBody,
|
|
2139
|
+
name: `${errorCode}`,
|
|
2140
|
+
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
2141
|
+
$fault: "client",
|
|
2142
|
+
$metadata: deserializeMetadata(output),
|
|
2143
|
+
};
|
|
2144
|
+
}
|
|
2145
|
+
const message = response.message || response.Message || errorCode;
|
|
2146
|
+
response.message = message;
|
|
2147
|
+
delete response.Message;
|
|
2148
|
+
return Promise.reject(Object.assign(new Error(message), response));
|
|
2149
|
+
};
|
|
2150
|
+
const deserializeAws_json1_1DescribeDataRepositoryTasksCommand = async (output, context) => {
|
|
2151
|
+
if (output.statusCode >= 300) {
|
|
2152
|
+
return deserializeAws_json1_1DescribeDataRepositoryTasksCommandError(output, context);
|
|
2153
|
+
}
|
|
2154
|
+
const data = await parseBody(output.body, context);
|
|
2155
|
+
let contents = {};
|
|
2156
|
+
contents = deserializeAws_json1_1DescribeDataRepositoryTasksResponse(data, context);
|
|
2157
|
+
const response = {
|
|
2158
|
+
$metadata: deserializeMetadata(output),
|
|
2159
|
+
...contents,
|
|
2160
|
+
};
|
|
2161
|
+
return Promise.resolve(response);
|
|
2162
|
+
};
|
|
2163
|
+
exports.deserializeAws_json1_1DescribeDataRepositoryTasksCommand = deserializeAws_json1_1DescribeDataRepositoryTasksCommand;
|
|
2164
|
+
const deserializeAws_json1_1DescribeDataRepositoryTasksCommandError = async (output, context) => {
|
|
2165
|
+
const parsedOutput = {
|
|
2166
|
+
...output,
|
|
2167
|
+
body: await parseBody(output.body, context),
|
|
2168
|
+
};
|
|
2169
|
+
let response;
|
|
2170
|
+
let errorCode = "UnknownError";
|
|
2171
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2172
|
+
switch (errorCode) {
|
|
2173
|
+
case "BadRequest":
|
|
2174
|
+
case "com.amazonaws.fsx#BadRequest":
|
|
2175
|
+
response = {
|
|
2176
|
+
...(await deserializeAws_json1_1BadRequestResponse(parsedOutput, context)),
|
|
2177
|
+
name: errorCode,
|
|
2178
|
+
$metadata: deserializeMetadata(output),
|
|
2179
|
+
};
|
|
2180
|
+
break;
|
|
2181
|
+
case "DataRepositoryTaskNotFound":
|
|
2182
|
+
case "com.amazonaws.fsx#DataRepositoryTaskNotFound":
|
|
2183
|
+
response = {
|
|
2184
|
+
...(await deserializeAws_json1_1DataRepositoryTaskNotFoundResponse(parsedOutput, context)),
|
|
2185
|
+
name: errorCode,
|
|
2186
|
+
$metadata: deserializeMetadata(output),
|
|
2187
|
+
};
|
|
2188
|
+
break;
|
|
2189
|
+
case "FileSystemNotFound":
|
|
2190
|
+
case "com.amazonaws.fsx#FileSystemNotFound":
|
|
2191
|
+
response = {
|
|
2192
|
+
...(await deserializeAws_json1_1FileSystemNotFoundResponse(parsedOutput, context)),
|
|
2193
|
+
name: errorCode,
|
|
2194
|
+
$metadata: deserializeMetadata(output),
|
|
2195
|
+
};
|
|
2196
|
+
break;
|
|
2197
|
+
case "InternalServerError":
|
|
2198
|
+
case "com.amazonaws.fsx#InternalServerError":
|
|
2199
|
+
response = {
|
|
2200
|
+
...(await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context)),
|
|
2201
|
+
name: errorCode,
|
|
2202
|
+
$metadata: deserializeMetadata(output),
|
|
2203
|
+
};
|
|
2204
|
+
break;
|
|
2205
|
+
default:
|
|
2206
|
+
const parsedBody = parsedOutput.body;
|
|
2207
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
2208
|
+
response = {
|
|
2209
|
+
...parsedBody,
|
|
2210
|
+
name: `${errorCode}`,
|
|
2211
|
+
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
2212
|
+
$fault: "client",
|
|
2213
|
+
$metadata: deserializeMetadata(output),
|
|
2214
|
+
};
|
|
2215
|
+
}
|
|
2216
|
+
const message = response.message || response.Message || errorCode;
|
|
2217
|
+
response.message = message;
|
|
2218
|
+
delete response.Message;
|
|
2219
|
+
return Promise.reject(Object.assign(new Error(message), response));
|
|
2220
|
+
};
|
|
2221
|
+
const deserializeAws_json1_1DescribeFileSystemAliasesCommand = async (output, context) => {
|
|
2222
|
+
if (output.statusCode >= 300) {
|
|
2223
|
+
return deserializeAws_json1_1DescribeFileSystemAliasesCommandError(output, context);
|
|
2224
|
+
}
|
|
2225
|
+
const data = await parseBody(output.body, context);
|
|
2226
|
+
let contents = {};
|
|
2227
|
+
contents = deserializeAws_json1_1DescribeFileSystemAliasesResponse(data, context);
|
|
2228
|
+
const response = {
|
|
2229
|
+
$metadata: deserializeMetadata(output),
|
|
2230
|
+
...contents,
|
|
2231
|
+
};
|
|
2232
|
+
return Promise.resolve(response);
|
|
2233
|
+
};
|
|
2234
|
+
exports.deserializeAws_json1_1DescribeFileSystemAliasesCommand = deserializeAws_json1_1DescribeFileSystemAliasesCommand;
|
|
2235
|
+
const deserializeAws_json1_1DescribeFileSystemAliasesCommandError = async (output, context) => {
|
|
2236
|
+
const parsedOutput = {
|
|
2237
|
+
...output,
|
|
2238
|
+
body: await parseBody(output.body, context),
|
|
2239
|
+
};
|
|
2240
|
+
let response;
|
|
2241
|
+
let errorCode = "UnknownError";
|
|
2242
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2243
|
+
switch (errorCode) {
|
|
2244
|
+
case "BadRequest":
|
|
2245
|
+
case "com.amazonaws.fsx#BadRequest":
|
|
2246
|
+
response = {
|
|
2247
|
+
...(await deserializeAws_json1_1BadRequestResponse(parsedOutput, context)),
|
|
2248
|
+
name: errorCode,
|
|
2249
|
+
$metadata: deserializeMetadata(output),
|
|
2250
|
+
};
|
|
2251
|
+
break;
|
|
2252
|
+
case "FileSystemNotFound":
|
|
2253
|
+
case "com.amazonaws.fsx#FileSystemNotFound":
|
|
2254
|
+
response = {
|
|
2255
|
+
...(await deserializeAws_json1_1FileSystemNotFoundResponse(parsedOutput, context)),
|
|
2256
|
+
name: errorCode,
|
|
2257
|
+
$metadata: deserializeMetadata(output),
|
|
2258
|
+
};
|
|
2259
|
+
break;
|
|
2260
|
+
case "InternalServerError":
|
|
2261
|
+
case "com.amazonaws.fsx#InternalServerError":
|
|
2262
|
+
response = {
|
|
2263
|
+
...(await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context)),
|
|
2264
|
+
name: errorCode,
|
|
2265
|
+
$metadata: deserializeMetadata(output),
|
|
2266
|
+
};
|
|
2267
|
+
break;
|
|
2268
|
+
default:
|
|
2269
|
+
const parsedBody = parsedOutput.body;
|
|
2270
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
2271
|
+
response = {
|
|
2272
|
+
...parsedBody,
|
|
2273
|
+
name: `${errorCode}`,
|
|
2274
|
+
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
2275
|
+
$fault: "client",
|
|
2276
|
+
$metadata: deserializeMetadata(output),
|
|
2277
|
+
};
|
|
2278
|
+
}
|
|
2279
|
+
const message = response.message || response.Message || errorCode;
|
|
2280
|
+
response.message = message;
|
|
2281
|
+
delete response.Message;
|
|
2282
|
+
return Promise.reject(Object.assign(new Error(message), response));
|
|
2283
|
+
};
|
|
2284
|
+
const deserializeAws_json1_1DescribeFileSystemsCommand = async (output, context) => {
|
|
2285
|
+
if (output.statusCode >= 300) {
|
|
2286
|
+
return deserializeAws_json1_1DescribeFileSystemsCommandError(output, context);
|
|
2287
|
+
}
|
|
2288
|
+
const data = await parseBody(output.body, context);
|
|
2289
|
+
let contents = {};
|
|
2290
|
+
contents = deserializeAws_json1_1DescribeFileSystemsResponse(data, context);
|
|
2291
|
+
const response = {
|
|
2292
|
+
$metadata: deserializeMetadata(output),
|
|
2293
|
+
...contents,
|
|
2294
|
+
};
|
|
2295
|
+
return Promise.resolve(response);
|
|
2296
|
+
};
|
|
2297
|
+
exports.deserializeAws_json1_1DescribeFileSystemsCommand = deserializeAws_json1_1DescribeFileSystemsCommand;
|
|
2298
|
+
const deserializeAws_json1_1DescribeFileSystemsCommandError = async (output, context) => {
|
|
2299
|
+
const parsedOutput = {
|
|
2300
|
+
...output,
|
|
2301
|
+
body: await parseBody(output.body, context),
|
|
2302
|
+
};
|
|
2303
|
+
let response;
|
|
2304
|
+
let errorCode = "UnknownError";
|
|
2305
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2306
|
+
switch (errorCode) {
|
|
2307
|
+
case "BadRequest":
|
|
2308
|
+
case "com.amazonaws.fsx#BadRequest":
|
|
2309
|
+
response = {
|
|
2310
|
+
...(await deserializeAws_json1_1BadRequestResponse(parsedOutput, context)),
|
|
2311
|
+
name: errorCode,
|
|
2312
|
+
$metadata: deserializeMetadata(output),
|
|
2313
|
+
};
|
|
2314
|
+
break;
|
|
2315
|
+
case "FileSystemNotFound":
|
|
2316
|
+
case "com.amazonaws.fsx#FileSystemNotFound":
|
|
2317
|
+
response = {
|
|
2318
|
+
...(await deserializeAws_json1_1FileSystemNotFoundResponse(parsedOutput, context)),
|
|
2319
|
+
name: errorCode,
|
|
2320
|
+
$metadata: deserializeMetadata(output),
|
|
2321
|
+
};
|
|
2322
|
+
break;
|
|
2323
|
+
case "InternalServerError":
|
|
2324
|
+
case "com.amazonaws.fsx#InternalServerError":
|
|
2325
|
+
response = {
|
|
2326
|
+
...(await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context)),
|
|
2327
|
+
name: errorCode,
|
|
2328
|
+
$metadata: deserializeMetadata(output),
|
|
2329
|
+
};
|
|
2330
|
+
break;
|
|
2331
|
+
default:
|
|
2332
|
+
const parsedBody = parsedOutput.body;
|
|
2333
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
2334
|
+
response = {
|
|
2335
|
+
...parsedBody,
|
|
2336
|
+
name: `${errorCode}`,
|
|
2337
|
+
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
2338
|
+
$fault: "client",
|
|
2339
|
+
$metadata: deserializeMetadata(output),
|
|
2340
|
+
};
|
|
2341
|
+
}
|
|
2342
|
+
const message = response.message || response.Message || errorCode;
|
|
2343
|
+
response.message = message;
|
|
2344
|
+
delete response.Message;
|
|
2345
|
+
return Promise.reject(Object.assign(new Error(message), response));
|
|
2346
|
+
};
|
|
2347
|
+
const deserializeAws_json1_1DescribeSnapshotsCommand = async (output, context) => {
|
|
2348
|
+
if (output.statusCode >= 300) {
|
|
2349
|
+
return deserializeAws_json1_1DescribeSnapshotsCommandError(output, context);
|
|
2350
|
+
}
|
|
2351
|
+
const data = await parseBody(output.body, context);
|
|
2352
|
+
let contents = {};
|
|
2353
|
+
contents = deserializeAws_json1_1DescribeSnapshotsResponse(data, context);
|
|
2354
|
+
const response = {
|
|
2355
|
+
$metadata: deserializeMetadata(output),
|
|
2356
|
+
...contents,
|
|
2357
|
+
};
|
|
2358
|
+
return Promise.resolve(response);
|
|
2359
|
+
};
|
|
2360
|
+
exports.deserializeAws_json1_1DescribeSnapshotsCommand = deserializeAws_json1_1DescribeSnapshotsCommand;
|
|
2361
|
+
const deserializeAws_json1_1DescribeSnapshotsCommandError = async (output, context) => {
|
|
2362
|
+
const parsedOutput = {
|
|
2363
|
+
...output,
|
|
2364
|
+
body: await parseBody(output.body, context),
|
|
2365
|
+
};
|
|
2366
|
+
let response;
|
|
2367
|
+
let errorCode = "UnknownError";
|
|
2368
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2369
|
+
switch (errorCode) {
|
|
2370
|
+
case "BadRequest":
|
|
2371
|
+
case "com.amazonaws.fsx#BadRequest":
|
|
2372
|
+
response = {
|
|
2373
|
+
...(await deserializeAws_json1_1BadRequestResponse(parsedOutput, context)),
|
|
1635
2374
|
name: errorCode,
|
|
1636
2375
|
$metadata: deserializeMetadata(output),
|
|
1637
2376
|
};
|
|
@@ -1644,10 +2383,10 @@ const deserializeAws_json1_1DescribeBackupsCommandError = async (output, context
|
|
|
1644
2383
|
$metadata: deserializeMetadata(output),
|
|
1645
2384
|
};
|
|
1646
2385
|
break;
|
|
1647
|
-
case "
|
|
1648
|
-
case "com.amazonaws.fsx#
|
|
2386
|
+
case "SnapshotNotFound":
|
|
2387
|
+
case "com.amazonaws.fsx#SnapshotNotFound":
|
|
1649
2388
|
response = {
|
|
1650
|
-
...(await
|
|
2389
|
+
...(await deserializeAws_json1_1SnapshotNotFoundResponse(parsedOutput, context)),
|
|
1651
2390
|
name: errorCode,
|
|
1652
2391
|
$metadata: deserializeMetadata(output),
|
|
1653
2392
|
};
|
|
@@ -1668,21 +2407,21 @@ const deserializeAws_json1_1DescribeBackupsCommandError = async (output, context
|
|
|
1668
2407
|
delete response.Message;
|
|
1669
2408
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
1670
2409
|
};
|
|
1671
|
-
const
|
|
2410
|
+
const deserializeAws_json1_1DescribeStorageVirtualMachinesCommand = async (output, context) => {
|
|
1672
2411
|
if (output.statusCode >= 300) {
|
|
1673
|
-
return
|
|
2412
|
+
return deserializeAws_json1_1DescribeStorageVirtualMachinesCommandError(output, context);
|
|
1674
2413
|
}
|
|
1675
2414
|
const data = await parseBody(output.body, context);
|
|
1676
2415
|
let contents = {};
|
|
1677
|
-
contents =
|
|
2416
|
+
contents = deserializeAws_json1_1DescribeStorageVirtualMachinesResponse(data, context);
|
|
1678
2417
|
const response = {
|
|
1679
2418
|
$metadata: deserializeMetadata(output),
|
|
1680
2419
|
...contents,
|
|
1681
2420
|
};
|
|
1682
2421
|
return Promise.resolve(response);
|
|
1683
2422
|
};
|
|
1684
|
-
exports.
|
|
1685
|
-
const
|
|
2423
|
+
exports.deserializeAws_json1_1DescribeStorageVirtualMachinesCommand = deserializeAws_json1_1DescribeStorageVirtualMachinesCommand;
|
|
2424
|
+
const deserializeAws_json1_1DescribeStorageVirtualMachinesCommandError = async (output, context) => {
|
|
1686
2425
|
const parsedOutput = {
|
|
1687
2426
|
...output,
|
|
1688
2427
|
body: await parseBody(output.body, context),
|
|
@@ -1699,26 +2438,18 @@ const deserializeAws_json1_1DescribeDataRepositoryTasksCommandError = async (out
|
|
|
1699
2438
|
$metadata: deserializeMetadata(output),
|
|
1700
2439
|
};
|
|
1701
2440
|
break;
|
|
1702
|
-
case "
|
|
1703
|
-
case "com.amazonaws.fsx#
|
|
1704
|
-
response = {
|
|
1705
|
-
...(await deserializeAws_json1_1DataRepositoryTaskNotFoundResponse(parsedOutput, context)),
|
|
1706
|
-
name: errorCode,
|
|
1707
|
-
$metadata: deserializeMetadata(output),
|
|
1708
|
-
};
|
|
1709
|
-
break;
|
|
1710
|
-
case "FileSystemNotFound":
|
|
1711
|
-
case "com.amazonaws.fsx#FileSystemNotFound":
|
|
2441
|
+
case "InternalServerError":
|
|
2442
|
+
case "com.amazonaws.fsx#InternalServerError":
|
|
1712
2443
|
response = {
|
|
1713
|
-
...(await
|
|
2444
|
+
...(await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context)),
|
|
1714
2445
|
name: errorCode,
|
|
1715
2446
|
$metadata: deserializeMetadata(output),
|
|
1716
2447
|
};
|
|
1717
2448
|
break;
|
|
1718
|
-
case "
|
|
1719
|
-
case "com.amazonaws.fsx#
|
|
2449
|
+
case "StorageVirtualMachineNotFound":
|
|
2450
|
+
case "com.amazonaws.fsx#StorageVirtualMachineNotFound":
|
|
1720
2451
|
response = {
|
|
1721
|
-
...(await
|
|
2452
|
+
...(await deserializeAws_json1_1StorageVirtualMachineNotFoundResponse(parsedOutput, context)),
|
|
1722
2453
|
name: errorCode,
|
|
1723
2454
|
$metadata: deserializeMetadata(output),
|
|
1724
2455
|
};
|
|
@@ -1739,21 +2470,21 @@ const deserializeAws_json1_1DescribeDataRepositoryTasksCommandError = async (out
|
|
|
1739
2470
|
delete response.Message;
|
|
1740
2471
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
1741
2472
|
};
|
|
1742
|
-
const
|
|
2473
|
+
const deserializeAws_json1_1DescribeVolumesCommand = async (output, context) => {
|
|
1743
2474
|
if (output.statusCode >= 300) {
|
|
1744
|
-
return
|
|
2475
|
+
return deserializeAws_json1_1DescribeVolumesCommandError(output, context);
|
|
1745
2476
|
}
|
|
1746
2477
|
const data = await parseBody(output.body, context);
|
|
1747
2478
|
let contents = {};
|
|
1748
|
-
contents =
|
|
2479
|
+
contents = deserializeAws_json1_1DescribeVolumesResponse(data, context);
|
|
1749
2480
|
const response = {
|
|
1750
2481
|
$metadata: deserializeMetadata(output),
|
|
1751
2482
|
...contents,
|
|
1752
2483
|
};
|
|
1753
2484
|
return Promise.resolve(response);
|
|
1754
2485
|
};
|
|
1755
|
-
exports.
|
|
1756
|
-
const
|
|
2486
|
+
exports.deserializeAws_json1_1DescribeVolumesCommand = deserializeAws_json1_1DescribeVolumesCommand;
|
|
2487
|
+
const deserializeAws_json1_1DescribeVolumesCommandError = async (output, context) => {
|
|
1757
2488
|
const parsedOutput = {
|
|
1758
2489
|
...output,
|
|
1759
2490
|
body: await parseBody(output.body, context),
|
|
@@ -1770,18 +2501,18 @@ const deserializeAws_json1_1DescribeFileSystemAliasesCommandError = async (outpu
|
|
|
1770
2501
|
$metadata: deserializeMetadata(output),
|
|
1771
2502
|
};
|
|
1772
2503
|
break;
|
|
1773
|
-
case "
|
|
1774
|
-
case "com.amazonaws.fsx#
|
|
2504
|
+
case "InternalServerError":
|
|
2505
|
+
case "com.amazonaws.fsx#InternalServerError":
|
|
1775
2506
|
response = {
|
|
1776
|
-
...(await
|
|
2507
|
+
...(await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context)),
|
|
1777
2508
|
name: errorCode,
|
|
1778
2509
|
$metadata: deserializeMetadata(output),
|
|
1779
2510
|
};
|
|
1780
2511
|
break;
|
|
1781
|
-
case "
|
|
1782
|
-
case "com.amazonaws.fsx#
|
|
2512
|
+
case "VolumeNotFound":
|
|
2513
|
+
case "com.amazonaws.fsx#VolumeNotFound":
|
|
1783
2514
|
response = {
|
|
1784
|
-
...(await
|
|
2515
|
+
...(await deserializeAws_json1_1VolumeNotFoundResponse(parsedOutput, context)),
|
|
1785
2516
|
name: errorCode,
|
|
1786
2517
|
$metadata: deserializeMetadata(output),
|
|
1787
2518
|
};
|
|
@@ -1802,21 +2533,21 @@ const deserializeAws_json1_1DescribeFileSystemAliasesCommandError = async (outpu
|
|
|
1802
2533
|
delete response.Message;
|
|
1803
2534
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
1804
2535
|
};
|
|
1805
|
-
const
|
|
2536
|
+
const deserializeAws_json1_1DisassociateFileSystemAliasesCommand = async (output, context) => {
|
|
1806
2537
|
if (output.statusCode >= 300) {
|
|
1807
|
-
return
|
|
2538
|
+
return deserializeAws_json1_1DisassociateFileSystemAliasesCommandError(output, context);
|
|
1808
2539
|
}
|
|
1809
2540
|
const data = await parseBody(output.body, context);
|
|
1810
2541
|
let contents = {};
|
|
1811
|
-
contents =
|
|
2542
|
+
contents = deserializeAws_json1_1DisassociateFileSystemAliasesResponse(data, context);
|
|
1812
2543
|
const response = {
|
|
1813
2544
|
$metadata: deserializeMetadata(output),
|
|
1814
2545
|
...contents,
|
|
1815
2546
|
};
|
|
1816
2547
|
return Promise.resolve(response);
|
|
1817
2548
|
};
|
|
1818
|
-
exports.
|
|
1819
|
-
const
|
|
2549
|
+
exports.deserializeAws_json1_1DisassociateFileSystemAliasesCommand = deserializeAws_json1_1DisassociateFileSystemAliasesCommand;
|
|
2550
|
+
const deserializeAws_json1_1DisassociateFileSystemAliasesCommandError = async (output, context) => {
|
|
1820
2551
|
const parsedOutput = {
|
|
1821
2552
|
...output,
|
|
1822
2553
|
body: await parseBody(output.body, context),
|
|
@@ -1865,21 +2596,21 @@ const deserializeAws_json1_1DescribeFileSystemsCommandError = async (output, con
|
|
|
1865
2596
|
delete response.Message;
|
|
1866
2597
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
1867
2598
|
};
|
|
1868
|
-
const
|
|
2599
|
+
const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
|
|
1869
2600
|
if (output.statusCode >= 300) {
|
|
1870
|
-
return
|
|
2601
|
+
return deserializeAws_json1_1ListTagsForResourceCommandError(output, context);
|
|
1871
2602
|
}
|
|
1872
2603
|
const data = await parseBody(output.body, context);
|
|
1873
2604
|
let contents = {};
|
|
1874
|
-
contents =
|
|
2605
|
+
contents = deserializeAws_json1_1ListTagsForResourceResponse(data, context);
|
|
1875
2606
|
const response = {
|
|
1876
2607
|
$metadata: deserializeMetadata(output),
|
|
1877
2608
|
...contents,
|
|
1878
2609
|
};
|
|
1879
2610
|
return Promise.resolve(response);
|
|
1880
2611
|
};
|
|
1881
|
-
exports.
|
|
1882
|
-
const
|
|
2612
|
+
exports.deserializeAws_json1_1ListTagsForResourceCommand = deserializeAws_json1_1ListTagsForResourceCommand;
|
|
2613
|
+
const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, context) => {
|
|
1883
2614
|
const parsedOutput = {
|
|
1884
2615
|
...output,
|
|
1885
2616
|
body: await parseBody(output.body, context),
|
|
@@ -1904,10 +2635,26 @@ const deserializeAws_json1_1DescribeStorageVirtualMachinesCommandError = async (
|
|
|
1904
2635
|
$metadata: deserializeMetadata(output),
|
|
1905
2636
|
};
|
|
1906
2637
|
break;
|
|
1907
|
-
case "
|
|
1908
|
-
case "com.amazonaws.fsx#
|
|
2638
|
+
case "NotServiceResourceError":
|
|
2639
|
+
case "com.amazonaws.fsx#NotServiceResourceError":
|
|
1909
2640
|
response = {
|
|
1910
|
-
...(await
|
|
2641
|
+
...(await deserializeAws_json1_1NotServiceResourceErrorResponse(parsedOutput, context)),
|
|
2642
|
+
name: errorCode,
|
|
2643
|
+
$metadata: deserializeMetadata(output),
|
|
2644
|
+
};
|
|
2645
|
+
break;
|
|
2646
|
+
case "ResourceDoesNotSupportTagging":
|
|
2647
|
+
case "com.amazonaws.fsx#ResourceDoesNotSupportTagging":
|
|
2648
|
+
response = {
|
|
2649
|
+
...(await deserializeAws_json1_1ResourceDoesNotSupportTaggingResponse(parsedOutput, context)),
|
|
2650
|
+
name: errorCode,
|
|
2651
|
+
$metadata: deserializeMetadata(output),
|
|
2652
|
+
};
|
|
2653
|
+
break;
|
|
2654
|
+
case "ResourceNotFound":
|
|
2655
|
+
case "com.amazonaws.fsx#ResourceNotFound":
|
|
2656
|
+
response = {
|
|
2657
|
+
...(await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context)),
|
|
1911
2658
|
name: errorCode,
|
|
1912
2659
|
$metadata: deserializeMetadata(output),
|
|
1913
2660
|
};
|
|
@@ -1928,21 +2675,21 @@ const deserializeAws_json1_1DescribeStorageVirtualMachinesCommandError = async (
|
|
|
1928
2675
|
delete response.Message;
|
|
1929
2676
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
1930
2677
|
};
|
|
1931
|
-
const
|
|
2678
|
+
const deserializeAws_json1_1ReleaseFileSystemNfsV3LocksCommand = async (output, context) => {
|
|
1932
2679
|
if (output.statusCode >= 300) {
|
|
1933
|
-
return
|
|
2680
|
+
return deserializeAws_json1_1ReleaseFileSystemNfsV3LocksCommandError(output, context);
|
|
1934
2681
|
}
|
|
1935
2682
|
const data = await parseBody(output.body, context);
|
|
1936
2683
|
let contents = {};
|
|
1937
|
-
contents =
|
|
2684
|
+
contents = deserializeAws_json1_1ReleaseFileSystemNfsV3LocksResponse(data, context);
|
|
1938
2685
|
const response = {
|
|
1939
2686
|
$metadata: deserializeMetadata(output),
|
|
1940
2687
|
...contents,
|
|
1941
2688
|
};
|
|
1942
2689
|
return Promise.resolve(response);
|
|
1943
2690
|
};
|
|
1944
|
-
exports.
|
|
1945
|
-
const
|
|
2691
|
+
exports.deserializeAws_json1_1ReleaseFileSystemNfsV3LocksCommand = deserializeAws_json1_1ReleaseFileSystemNfsV3LocksCommand;
|
|
2692
|
+
const deserializeAws_json1_1ReleaseFileSystemNfsV3LocksCommandError = async (output, context) => {
|
|
1946
2693
|
const parsedOutput = {
|
|
1947
2694
|
...output,
|
|
1948
2695
|
body: await parseBody(output.body, context),
|
|
@@ -1959,6 +2706,22 @@ const deserializeAws_json1_1DescribeVolumesCommandError = async (output, context
|
|
|
1959
2706
|
$metadata: deserializeMetadata(output),
|
|
1960
2707
|
};
|
|
1961
2708
|
break;
|
|
2709
|
+
case "FileSystemNotFound":
|
|
2710
|
+
case "com.amazonaws.fsx#FileSystemNotFound":
|
|
2711
|
+
response = {
|
|
2712
|
+
...(await deserializeAws_json1_1FileSystemNotFoundResponse(parsedOutput, context)),
|
|
2713
|
+
name: errorCode,
|
|
2714
|
+
$metadata: deserializeMetadata(output),
|
|
2715
|
+
};
|
|
2716
|
+
break;
|
|
2717
|
+
case "IncompatibleParameterError":
|
|
2718
|
+
case "com.amazonaws.fsx#IncompatibleParameterError":
|
|
2719
|
+
response = {
|
|
2720
|
+
...(await deserializeAws_json1_1IncompatibleParameterErrorResponse(parsedOutput, context)),
|
|
2721
|
+
name: errorCode,
|
|
2722
|
+
$metadata: deserializeMetadata(output),
|
|
2723
|
+
};
|
|
2724
|
+
break;
|
|
1962
2725
|
case "InternalServerError":
|
|
1963
2726
|
case "com.amazonaws.fsx#InternalServerError":
|
|
1964
2727
|
response = {
|
|
@@ -1967,10 +2730,10 @@ const deserializeAws_json1_1DescribeVolumesCommandError = async (output, context
|
|
|
1967
2730
|
$metadata: deserializeMetadata(output),
|
|
1968
2731
|
};
|
|
1969
2732
|
break;
|
|
1970
|
-
case "
|
|
1971
|
-
case "com.amazonaws.fsx#
|
|
2733
|
+
case "ServiceLimitExceeded":
|
|
2734
|
+
case "com.amazonaws.fsx#ServiceLimitExceeded":
|
|
1972
2735
|
response = {
|
|
1973
|
-
...(await
|
|
2736
|
+
...(await deserializeAws_json1_1ServiceLimitExceededResponse(parsedOutput, context)),
|
|
1974
2737
|
name: errorCode,
|
|
1975
2738
|
$metadata: deserializeMetadata(output),
|
|
1976
2739
|
};
|
|
@@ -1991,21 +2754,21 @@ const deserializeAws_json1_1DescribeVolumesCommandError = async (output, context
|
|
|
1991
2754
|
delete response.Message;
|
|
1992
2755
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
1993
2756
|
};
|
|
1994
|
-
const
|
|
2757
|
+
const deserializeAws_json1_1RestoreVolumeFromSnapshotCommand = async (output, context) => {
|
|
1995
2758
|
if (output.statusCode >= 300) {
|
|
1996
|
-
return
|
|
2759
|
+
return deserializeAws_json1_1RestoreVolumeFromSnapshotCommandError(output, context);
|
|
1997
2760
|
}
|
|
1998
2761
|
const data = await parseBody(output.body, context);
|
|
1999
2762
|
let contents = {};
|
|
2000
|
-
contents =
|
|
2763
|
+
contents = deserializeAws_json1_1RestoreVolumeFromSnapshotResponse(data, context);
|
|
2001
2764
|
const response = {
|
|
2002
2765
|
$metadata: deserializeMetadata(output),
|
|
2003
2766
|
...contents,
|
|
2004
2767
|
};
|
|
2005
2768
|
return Promise.resolve(response);
|
|
2006
2769
|
};
|
|
2007
|
-
exports.
|
|
2008
|
-
const
|
|
2770
|
+
exports.deserializeAws_json1_1RestoreVolumeFromSnapshotCommand = deserializeAws_json1_1RestoreVolumeFromSnapshotCommand;
|
|
2771
|
+
const deserializeAws_json1_1RestoreVolumeFromSnapshotCommandError = async (output, context) => {
|
|
2009
2772
|
const parsedOutput = {
|
|
2010
2773
|
...output,
|
|
2011
2774
|
body: await parseBody(output.body, context),
|
|
@@ -2022,18 +2785,18 @@ const deserializeAws_json1_1DisassociateFileSystemAliasesCommandError = async (o
|
|
|
2022
2785
|
$metadata: deserializeMetadata(output),
|
|
2023
2786
|
};
|
|
2024
2787
|
break;
|
|
2025
|
-
case "
|
|
2026
|
-
case "com.amazonaws.fsx#
|
|
2788
|
+
case "InternalServerError":
|
|
2789
|
+
case "com.amazonaws.fsx#InternalServerError":
|
|
2027
2790
|
response = {
|
|
2028
|
-
...(await
|
|
2791
|
+
...(await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context)),
|
|
2029
2792
|
name: errorCode,
|
|
2030
2793
|
$metadata: deserializeMetadata(output),
|
|
2031
2794
|
};
|
|
2032
2795
|
break;
|
|
2033
|
-
case "
|
|
2034
|
-
case "com.amazonaws.fsx#
|
|
2796
|
+
case "VolumeNotFound":
|
|
2797
|
+
case "com.amazonaws.fsx#VolumeNotFound":
|
|
2035
2798
|
response = {
|
|
2036
|
-
...(await
|
|
2799
|
+
...(await deserializeAws_json1_1VolumeNotFoundResponse(parsedOutput, context)),
|
|
2037
2800
|
name: errorCode,
|
|
2038
2801
|
$metadata: deserializeMetadata(output),
|
|
2039
2802
|
};
|
|
@@ -2054,21 +2817,21 @@ const deserializeAws_json1_1DisassociateFileSystemAliasesCommandError = async (o
|
|
|
2054
2817
|
delete response.Message;
|
|
2055
2818
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
2056
2819
|
};
|
|
2057
|
-
const
|
|
2820
|
+
const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
|
|
2058
2821
|
if (output.statusCode >= 300) {
|
|
2059
|
-
return
|
|
2822
|
+
return deserializeAws_json1_1TagResourceCommandError(output, context);
|
|
2060
2823
|
}
|
|
2061
2824
|
const data = await parseBody(output.body, context);
|
|
2062
2825
|
let contents = {};
|
|
2063
|
-
contents =
|
|
2826
|
+
contents = deserializeAws_json1_1TagResourceResponse(data, context);
|
|
2064
2827
|
const response = {
|
|
2065
2828
|
$metadata: deserializeMetadata(output),
|
|
2066
2829
|
...contents,
|
|
2067
2830
|
};
|
|
2068
2831
|
return Promise.resolve(response);
|
|
2069
2832
|
};
|
|
2070
|
-
exports.
|
|
2071
|
-
const
|
|
2833
|
+
exports.deserializeAws_json1_1TagResourceCommand = deserializeAws_json1_1TagResourceCommand;
|
|
2834
|
+
const deserializeAws_json1_1TagResourceCommandError = async (output, context) => {
|
|
2072
2835
|
const parsedOutput = {
|
|
2073
2836
|
...output,
|
|
2074
2837
|
body: await parseBody(output.body, context),
|
|
@@ -2133,21 +2896,21 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
2133
2896
|
delete response.Message;
|
|
2134
2897
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
2135
2898
|
};
|
|
2136
|
-
const
|
|
2899
|
+
const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
|
|
2137
2900
|
if (output.statusCode >= 300) {
|
|
2138
|
-
return
|
|
2901
|
+
return deserializeAws_json1_1UntagResourceCommandError(output, context);
|
|
2139
2902
|
}
|
|
2140
2903
|
const data = await parseBody(output.body, context);
|
|
2141
2904
|
let contents = {};
|
|
2142
|
-
contents =
|
|
2905
|
+
contents = deserializeAws_json1_1UntagResourceResponse(data, context);
|
|
2143
2906
|
const response = {
|
|
2144
2907
|
$metadata: deserializeMetadata(output),
|
|
2145
2908
|
...contents,
|
|
2146
2909
|
};
|
|
2147
2910
|
return Promise.resolve(response);
|
|
2148
2911
|
};
|
|
2149
|
-
exports.
|
|
2150
|
-
const
|
|
2912
|
+
exports.deserializeAws_json1_1UntagResourceCommand = deserializeAws_json1_1UntagResourceCommand;
|
|
2913
|
+
const deserializeAws_json1_1UntagResourceCommandError = async (output, context) => {
|
|
2151
2914
|
const parsedOutput = {
|
|
2152
2915
|
...output,
|
|
2153
2916
|
body: await parseBody(output.body, context),
|
|
@@ -2212,21 +2975,21 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
2212
2975
|
delete response.Message;
|
|
2213
2976
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
2214
2977
|
};
|
|
2215
|
-
const
|
|
2978
|
+
const deserializeAws_json1_1UpdateDataRepositoryAssociationCommand = async (output, context) => {
|
|
2216
2979
|
if (output.statusCode >= 300) {
|
|
2217
|
-
return
|
|
2980
|
+
return deserializeAws_json1_1UpdateDataRepositoryAssociationCommandError(output, context);
|
|
2218
2981
|
}
|
|
2219
2982
|
const data = await parseBody(output.body, context);
|
|
2220
2983
|
let contents = {};
|
|
2221
|
-
contents =
|
|
2984
|
+
contents = deserializeAws_json1_1UpdateDataRepositoryAssociationResponse(data, context);
|
|
2222
2985
|
const response = {
|
|
2223
2986
|
$metadata: deserializeMetadata(output),
|
|
2224
2987
|
...contents,
|
|
2225
2988
|
};
|
|
2226
2989
|
return Promise.resolve(response);
|
|
2227
2990
|
};
|
|
2228
|
-
exports.
|
|
2229
|
-
const
|
|
2991
|
+
exports.deserializeAws_json1_1UpdateDataRepositoryAssociationCommand = deserializeAws_json1_1UpdateDataRepositoryAssociationCommand;
|
|
2992
|
+
const deserializeAws_json1_1UpdateDataRepositoryAssociationCommandError = async (output, context) => {
|
|
2230
2993
|
const parsedOutput = {
|
|
2231
2994
|
...output,
|
|
2232
2995
|
body: await parseBody(output.body, context),
|
|
@@ -2243,34 +3006,34 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
2243
3006
|
$metadata: deserializeMetadata(output),
|
|
2244
3007
|
};
|
|
2245
3008
|
break;
|
|
2246
|
-
case "
|
|
2247
|
-
case "com.amazonaws.fsx#
|
|
3009
|
+
case "DataRepositoryAssociationNotFound":
|
|
3010
|
+
case "com.amazonaws.fsx#DataRepositoryAssociationNotFound":
|
|
2248
3011
|
response = {
|
|
2249
|
-
...(await
|
|
3012
|
+
...(await deserializeAws_json1_1DataRepositoryAssociationNotFoundResponse(parsedOutput, context)),
|
|
2250
3013
|
name: errorCode,
|
|
2251
3014
|
$metadata: deserializeMetadata(output),
|
|
2252
3015
|
};
|
|
2253
3016
|
break;
|
|
2254
|
-
case "
|
|
2255
|
-
case "com.amazonaws.fsx#
|
|
3017
|
+
case "IncompatibleParameterError":
|
|
3018
|
+
case "com.amazonaws.fsx#IncompatibleParameterError":
|
|
2256
3019
|
response = {
|
|
2257
|
-
...(await
|
|
3020
|
+
...(await deserializeAws_json1_1IncompatibleParameterErrorResponse(parsedOutput, context)),
|
|
2258
3021
|
name: errorCode,
|
|
2259
3022
|
$metadata: deserializeMetadata(output),
|
|
2260
3023
|
};
|
|
2261
3024
|
break;
|
|
2262
|
-
case "
|
|
2263
|
-
case "com.amazonaws.fsx#
|
|
3025
|
+
case "InternalServerError":
|
|
3026
|
+
case "com.amazonaws.fsx#InternalServerError":
|
|
2264
3027
|
response = {
|
|
2265
|
-
...(await
|
|
3028
|
+
...(await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context)),
|
|
2266
3029
|
name: errorCode,
|
|
2267
3030
|
$metadata: deserializeMetadata(output),
|
|
2268
3031
|
};
|
|
2269
3032
|
break;
|
|
2270
|
-
case "
|
|
2271
|
-
case "com.amazonaws.fsx#
|
|
3033
|
+
case "ServiceLimitExceeded":
|
|
3034
|
+
case "com.amazonaws.fsx#ServiceLimitExceeded":
|
|
2272
3035
|
response = {
|
|
2273
|
-
...(await
|
|
3036
|
+
...(await deserializeAws_json1_1ServiceLimitExceededResponse(parsedOutput, context)),
|
|
2274
3037
|
name: errorCode,
|
|
2275
3038
|
$metadata: deserializeMetadata(output),
|
|
2276
3039
|
};
|
|
@@ -2386,6 +3149,69 @@ const deserializeAws_json1_1UpdateFileSystemCommandError = async (output, contex
|
|
|
2386
3149
|
delete response.Message;
|
|
2387
3150
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
2388
3151
|
};
|
|
3152
|
+
const deserializeAws_json1_1UpdateSnapshotCommand = async (output, context) => {
|
|
3153
|
+
if (output.statusCode >= 300) {
|
|
3154
|
+
return deserializeAws_json1_1UpdateSnapshotCommandError(output, context);
|
|
3155
|
+
}
|
|
3156
|
+
const data = await parseBody(output.body, context);
|
|
3157
|
+
let contents = {};
|
|
3158
|
+
contents = deserializeAws_json1_1UpdateSnapshotResponse(data, context);
|
|
3159
|
+
const response = {
|
|
3160
|
+
$metadata: deserializeMetadata(output),
|
|
3161
|
+
...contents,
|
|
3162
|
+
};
|
|
3163
|
+
return Promise.resolve(response);
|
|
3164
|
+
};
|
|
3165
|
+
exports.deserializeAws_json1_1UpdateSnapshotCommand = deserializeAws_json1_1UpdateSnapshotCommand;
|
|
3166
|
+
const deserializeAws_json1_1UpdateSnapshotCommandError = async (output, context) => {
|
|
3167
|
+
const parsedOutput = {
|
|
3168
|
+
...output,
|
|
3169
|
+
body: await parseBody(output.body, context),
|
|
3170
|
+
};
|
|
3171
|
+
let response;
|
|
3172
|
+
let errorCode = "UnknownError";
|
|
3173
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3174
|
+
switch (errorCode) {
|
|
3175
|
+
case "BadRequest":
|
|
3176
|
+
case "com.amazonaws.fsx#BadRequest":
|
|
3177
|
+
response = {
|
|
3178
|
+
...(await deserializeAws_json1_1BadRequestResponse(parsedOutput, context)),
|
|
3179
|
+
name: errorCode,
|
|
3180
|
+
$metadata: deserializeMetadata(output),
|
|
3181
|
+
};
|
|
3182
|
+
break;
|
|
3183
|
+
case "InternalServerError":
|
|
3184
|
+
case "com.amazonaws.fsx#InternalServerError":
|
|
3185
|
+
response = {
|
|
3186
|
+
...(await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context)),
|
|
3187
|
+
name: errorCode,
|
|
3188
|
+
$metadata: deserializeMetadata(output),
|
|
3189
|
+
};
|
|
3190
|
+
break;
|
|
3191
|
+
case "SnapshotNotFound":
|
|
3192
|
+
case "com.amazonaws.fsx#SnapshotNotFound":
|
|
3193
|
+
response = {
|
|
3194
|
+
...(await deserializeAws_json1_1SnapshotNotFoundResponse(parsedOutput, context)),
|
|
3195
|
+
name: errorCode,
|
|
3196
|
+
$metadata: deserializeMetadata(output),
|
|
3197
|
+
};
|
|
3198
|
+
break;
|
|
3199
|
+
default:
|
|
3200
|
+
const parsedBody = parsedOutput.body;
|
|
3201
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
3202
|
+
response = {
|
|
3203
|
+
...parsedBody,
|
|
3204
|
+
name: `${errorCode}`,
|
|
3205
|
+
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
3206
|
+
$fault: "client",
|
|
3207
|
+
$metadata: deserializeMetadata(output),
|
|
3208
|
+
};
|
|
3209
|
+
}
|
|
3210
|
+
const message = response.message || response.Message || errorCode;
|
|
3211
|
+
response.message = message;
|
|
3212
|
+
delete response.Message;
|
|
3213
|
+
return Promise.reject(Object.assign(new Error(message), response));
|
|
3214
|
+
};
|
|
2389
3215
|
const deserializeAws_json1_1UpdateStorageVirtualMachineCommand = async (output, context) => {
|
|
2390
3216
|
if (output.statusCode >= 300) {
|
|
2391
3217
|
return deserializeAws_json1_1UpdateStorageVirtualMachineCommandError(output, context);
|
|
@@ -2592,18 +3418,29 @@ const deserializeAws_json1_1BackupRestoringResponse = async (parsedOutput, conte
|
|
|
2592
3418
|
const body = parsedOutput.body;
|
|
2593
3419
|
const deserialized = deserializeAws_json1_1BackupRestoring(body, context);
|
|
2594
3420
|
const contents = {
|
|
2595
|
-
name: "BackupRestoring",
|
|
3421
|
+
name: "BackupRestoring",
|
|
3422
|
+
$fault: "client",
|
|
3423
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3424
|
+
...deserialized,
|
|
3425
|
+
};
|
|
3426
|
+
return contents;
|
|
3427
|
+
};
|
|
3428
|
+
const deserializeAws_json1_1BadRequestResponse = async (parsedOutput, context) => {
|
|
3429
|
+
const body = parsedOutput.body;
|
|
3430
|
+
const deserialized = deserializeAws_json1_1BadRequest(body, context);
|
|
3431
|
+
const contents = {
|
|
3432
|
+
name: "BadRequest",
|
|
2596
3433
|
$fault: "client",
|
|
2597
3434
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2598
3435
|
...deserialized,
|
|
2599
3436
|
};
|
|
2600
3437
|
return contents;
|
|
2601
3438
|
};
|
|
2602
|
-
const
|
|
3439
|
+
const deserializeAws_json1_1DataRepositoryAssociationNotFoundResponse = async (parsedOutput, context) => {
|
|
2603
3440
|
const body = parsedOutput.body;
|
|
2604
|
-
const deserialized =
|
|
3441
|
+
const deserialized = deserializeAws_json1_1DataRepositoryAssociationNotFound(body, context);
|
|
2605
3442
|
const contents = {
|
|
2606
|
-
name: "
|
|
3443
|
+
name: "DataRepositoryAssociationNotFound",
|
|
2607
3444
|
$fault: "client",
|
|
2608
3445
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2609
3446
|
...deserialized,
|
|
@@ -2687,6 +3524,17 @@ const deserializeAws_json1_1InternalServerErrorResponse = async (parsedOutput, c
|
|
|
2687
3524
|
};
|
|
2688
3525
|
return contents;
|
|
2689
3526
|
};
|
|
3527
|
+
const deserializeAws_json1_1InvalidDataRepositoryTypeResponse = async (parsedOutput, context) => {
|
|
3528
|
+
const body = parsedOutput.body;
|
|
3529
|
+
const deserialized = deserializeAws_json1_1InvalidDataRepositoryType(body, context);
|
|
3530
|
+
const contents = {
|
|
3531
|
+
name: "InvalidDataRepositoryType",
|
|
3532
|
+
$fault: "client",
|
|
3533
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3534
|
+
...deserialized,
|
|
3535
|
+
};
|
|
3536
|
+
return contents;
|
|
3537
|
+
};
|
|
2690
3538
|
const deserializeAws_json1_1InvalidDestinationKmsKeyResponse = async (parsedOutput, context) => {
|
|
2691
3539
|
const body = parsedOutput.body;
|
|
2692
3540
|
const deserialized = deserializeAws_json1_1InvalidDestinationKmsKey(body, context);
|
|
@@ -2830,6 +3678,17 @@ const deserializeAws_json1_1ServiceLimitExceededResponse = async (parsedOutput,
|
|
|
2830
3678
|
};
|
|
2831
3679
|
return contents;
|
|
2832
3680
|
};
|
|
3681
|
+
const deserializeAws_json1_1SnapshotNotFoundResponse = async (parsedOutput, context) => {
|
|
3682
|
+
const body = parsedOutput.body;
|
|
3683
|
+
const deserialized = deserializeAws_json1_1SnapshotNotFound(body, context);
|
|
3684
|
+
const contents = {
|
|
3685
|
+
name: "SnapshotNotFound",
|
|
3686
|
+
$fault: "client",
|
|
3687
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3688
|
+
...deserialized,
|
|
3689
|
+
};
|
|
3690
|
+
return contents;
|
|
3691
|
+
};
|
|
2833
3692
|
const deserializeAws_json1_1SourceBackupUnavailableResponse = async (parsedOutput, context) => {
|
|
2834
3693
|
const body = parsedOutput.body;
|
|
2835
3694
|
const deserialized = deserializeAws_json1_1SourceBackupUnavailable(body, context);
|
|
@@ -2893,6 +3752,18 @@ const serializeAws_json1_1AssociateFileSystemAliasesRequest = (input, context) =
|
|
|
2893
3752
|
...(input.FileSystemId !== undefined && input.FileSystemId !== null && { FileSystemId: input.FileSystemId }),
|
|
2894
3753
|
};
|
|
2895
3754
|
};
|
|
3755
|
+
const serializeAws_json1_1AutoExportPolicy = (input, context) => {
|
|
3756
|
+
return {
|
|
3757
|
+
...(input.Events !== undefined &&
|
|
3758
|
+
input.Events !== null && { Events: serializeAws_json1_1EventTypes(input.Events, context) }),
|
|
3759
|
+
};
|
|
3760
|
+
};
|
|
3761
|
+
const serializeAws_json1_1AutoImportPolicy = (input, context) => {
|
|
3762
|
+
return {
|
|
3763
|
+
...(input.Events !== undefined &&
|
|
3764
|
+
input.Events !== null && { Events: serializeAws_json1_1EventTypes(input.Events, context) }),
|
|
3765
|
+
};
|
|
3766
|
+
};
|
|
2896
3767
|
const serializeAws_json1_1BackupIds = (input, context) => {
|
|
2897
3768
|
return input
|
|
2898
3769
|
.filter((e) => e != null)
|
|
@@ -2937,6 +3808,24 @@ const serializeAws_json1_1CreateBackupRequest = (input, context) => {
|
|
|
2937
3808
|
...(input.VolumeId !== undefined && input.VolumeId !== null && { VolumeId: input.VolumeId }),
|
|
2938
3809
|
};
|
|
2939
3810
|
};
|
|
3811
|
+
const serializeAws_json1_1CreateDataRepositoryAssociationRequest = (input, context) => {
|
|
3812
|
+
var _a;
|
|
3813
|
+
return {
|
|
3814
|
+
...(input.BatchImportMetaDataOnCreate !== undefined &&
|
|
3815
|
+
input.BatchImportMetaDataOnCreate !== null && { BatchImportMetaDataOnCreate: input.BatchImportMetaDataOnCreate }),
|
|
3816
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
3817
|
+
...(input.DataRepositoryPath !== undefined &&
|
|
3818
|
+
input.DataRepositoryPath !== null && { DataRepositoryPath: input.DataRepositoryPath }),
|
|
3819
|
+
...(input.FileSystemId !== undefined && input.FileSystemId !== null && { FileSystemId: input.FileSystemId }),
|
|
3820
|
+
...(input.FileSystemPath !== undefined &&
|
|
3821
|
+
input.FileSystemPath !== null && { FileSystemPath: input.FileSystemPath }),
|
|
3822
|
+
...(input.ImportedFileChunkSize !== undefined &&
|
|
3823
|
+
input.ImportedFileChunkSize !== null && { ImportedFileChunkSize: input.ImportedFileChunkSize }),
|
|
3824
|
+
...(input.S3 !== undefined &&
|
|
3825
|
+
input.S3 !== null && { S3: serializeAws_json1_1S3DataRepositoryConfiguration(input.S3, context) }),
|
|
3826
|
+
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }),
|
|
3827
|
+
};
|
|
3828
|
+
};
|
|
2940
3829
|
const serializeAws_json1_1CreateDataRepositoryTaskRequest = (input, context) => {
|
|
2941
3830
|
var _a;
|
|
2942
3831
|
return {
|
|
@@ -2962,6 +3851,10 @@ const serializeAws_json1_1CreateFileSystemFromBackupRequest = (input, context) =
|
|
|
2962
3851
|
input.LustreConfiguration !== null && {
|
|
2963
3852
|
LustreConfiguration: serializeAws_json1_1CreateFileSystemLustreConfiguration(input.LustreConfiguration, context),
|
|
2964
3853
|
}),
|
|
3854
|
+
...(input.OpenZFSConfiguration !== undefined &&
|
|
3855
|
+
input.OpenZFSConfiguration !== null && {
|
|
3856
|
+
OpenZFSConfiguration: serializeAws_json1_1CreateFileSystemOpenZFSConfiguration(input.OpenZFSConfiguration, context),
|
|
3857
|
+
}),
|
|
2965
3858
|
...(input.SecurityGroupIds !== undefined &&
|
|
2966
3859
|
input.SecurityGroupIds !== null && {
|
|
2967
3860
|
SecurityGroupIds: serializeAws_json1_1SecurityGroupIds(input.SecurityGroupIds, context),
|
|
@@ -3000,6 +3893,10 @@ const serializeAws_json1_1CreateFileSystemLustreConfiguration = (input, context)
|
|
|
3000
3893
|
...(input.ImportPath !== undefined && input.ImportPath !== null && { ImportPath: input.ImportPath }),
|
|
3001
3894
|
...(input.ImportedFileChunkSize !== undefined &&
|
|
3002
3895
|
input.ImportedFileChunkSize !== null && { ImportedFileChunkSize: input.ImportedFileChunkSize }),
|
|
3896
|
+
...(input.LogConfiguration !== undefined &&
|
|
3897
|
+
input.LogConfiguration !== null && {
|
|
3898
|
+
LogConfiguration: serializeAws_json1_1LustreLogCreateConfiguration(input.LogConfiguration, context),
|
|
3899
|
+
}),
|
|
3003
3900
|
...(input.PerUnitStorageThroughput !== undefined &&
|
|
3004
3901
|
input.PerUnitStorageThroughput !== null && { PerUnitStorageThroughput: input.PerUnitStorageThroughput }),
|
|
3005
3902
|
...(input.WeeklyMaintenanceStartTime !== undefined &&
|
|
@@ -3038,6 +3935,36 @@ const serializeAws_json1_1CreateFileSystemOntapConfiguration = (input, context)
|
|
|
3038
3935
|
input.WeeklyMaintenanceStartTime !== null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }),
|
|
3039
3936
|
};
|
|
3040
3937
|
};
|
|
3938
|
+
const serializeAws_json1_1CreateFileSystemOpenZFSConfiguration = (input, context) => {
|
|
3939
|
+
return {
|
|
3940
|
+
...(input.AutomaticBackupRetentionDays !== undefined &&
|
|
3941
|
+
input.AutomaticBackupRetentionDays !== null && {
|
|
3942
|
+
AutomaticBackupRetentionDays: input.AutomaticBackupRetentionDays,
|
|
3943
|
+
}),
|
|
3944
|
+
...(input.CopyTagsToBackups !== undefined &&
|
|
3945
|
+
input.CopyTagsToBackups !== null && { CopyTagsToBackups: input.CopyTagsToBackups }),
|
|
3946
|
+
...(input.CopyTagsToVolumes !== undefined &&
|
|
3947
|
+
input.CopyTagsToVolumes !== null && { CopyTagsToVolumes: input.CopyTagsToVolumes }),
|
|
3948
|
+
...(input.DailyAutomaticBackupStartTime !== undefined &&
|
|
3949
|
+
input.DailyAutomaticBackupStartTime !== null && {
|
|
3950
|
+
DailyAutomaticBackupStartTime: input.DailyAutomaticBackupStartTime,
|
|
3951
|
+
}),
|
|
3952
|
+
...(input.DeploymentType !== undefined &&
|
|
3953
|
+
input.DeploymentType !== null && { DeploymentType: input.DeploymentType }),
|
|
3954
|
+
...(input.DiskIopsConfiguration !== undefined &&
|
|
3955
|
+
input.DiskIopsConfiguration !== null && {
|
|
3956
|
+
DiskIopsConfiguration: serializeAws_json1_1DiskIopsConfiguration(input.DiskIopsConfiguration, context),
|
|
3957
|
+
}),
|
|
3958
|
+
...(input.RootVolumeConfiguration !== undefined &&
|
|
3959
|
+
input.RootVolumeConfiguration !== null && {
|
|
3960
|
+
RootVolumeConfiguration: serializeAws_json1_1OpenZFSCreateRootVolumeConfiguration(input.RootVolumeConfiguration, context),
|
|
3961
|
+
}),
|
|
3962
|
+
...(input.ThroughputCapacity !== undefined &&
|
|
3963
|
+
input.ThroughputCapacity !== null && { ThroughputCapacity: input.ThroughputCapacity }),
|
|
3964
|
+
...(input.WeeklyMaintenanceStartTime !== undefined &&
|
|
3965
|
+
input.WeeklyMaintenanceStartTime !== null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }),
|
|
3966
|
+
};
|
|
3967
|
+
};
|
|
3041
3968
|
const serializeAws_json1_1CreateFileSystemRequest = (input, context) => {
|
|
3042
3969
|
var _a;
|
|
3043
3970
|
return {
|
|
@@ -3055,6 +3982,10 @@ const serializeAws_json1_1CreateFileSystemRequest = (input, context) => {
|
|
|
3055
3982
|
input.OntapConfiguration !== null && {
|
|
3056
3983
|
OntapConfiguration: serializeAws_json1_1CreateFileSystemOntapConfiguration(input.OntapConfiguration, context),
|
|
3057
3984
|
}),
|
|
3985
|
+
...(input.OpenZFSConfiguration !== undefined &&
|
|
3986
|
+
input.OpenZFSConfiguration !== null && {
|
|
3987
|
+
OpenZFSConfiguration: serializeAws_json1_1CreateFileSystemOpenZFSConfiguration(input.OpenZFSConfiguration, context),
|
|
3988
|
+
}),
|
|
3058
3989
|
...(input.SecurityGroupIds !== undefined &&
|
|
3059
3990
|
input.SecurityGroupIds !== null && {
|
|
3060
3991
|
SecurityGroupIds: serializeAws_json1_1SecurityGroupIds(input.SecurityGroupIds, context),
|
|
@@ -3121,6 +4052,48 @@ const serializeAws_json1_1CreateOntapVolumeConfiguration = (input, context) => {
|
|
|
3121
4052
|
}),
|
|
3122
4053
|
};
|
|
3123
4054
|
};
|
|
4055
|
+
const serializeAws_json1_1CreateOpenZFSOriginSnapshotConfiguration = (input, context) => {
|
|
4056
|
+
return {
|
|
4057
|
+
...(input.CopyStrategy !== undefined && input.CopyStrategy !== null && { CopyStrategy: input.CopyStrategy }),
|
|
4058
|
+
...(input.SnapshotARN !== undefined && input.SnapshotARN !== null && { SnapshotARN: input.SnapshotARN }),
|
|
4059
|
+
};
|
|
4060
|
+
};
|
|
4061
|
+
const serializeAws_json1_1CreateOpenZFSVolumeConfiguration = (input, context) => {
|
|
4062
|
+
return {
|
|
4063
|
+
...(input.CopyTagsToSnapshots !== undefined &&
|
|
4064
|
+
input.CopyTagsToSnapshots !== null && { CopyTagsToSnapshots: input.CopyTagsToSnapshots }),
|
|
4065
|
+
...(input.DataCompressionType !== undefined &&
|
|
4066
|
+
input.DataCompressionType !== null && { DataCompressionType: input.DataCompressionType }),
|
|
4067
|
+
...(input.NfsExports !== undefined &&
|
|
4068
|
+
input.NfsExports !== null && { NfsExports: serializeAws_json1_1OpenZFSNfsExports(input.NfsExports, context) }),
|
|
4069
|
+
...(input.OriginSnapshot !== undefined &&
|
|
4070
|
+
input.OriginSnapshot !== null && {
|
|
4071
|
+
OriginSnapshot: serializeAws_json1_1CreateOpenZFSOriginSnapshotConfiguration(input.OriginSnapshot, context),
|
|
4072
|
+
}),
|
|
4073
|
+
...(input.ParentVolumeId !== undefined &&
|
|
4074
|
+
input.ParentVolumeId !== null && { ParentVolumeId: input.ParentVolumeId }),
|
|
4075
|
+
...(input.ReadOnly !== undefined && input.ReadOnly !== null && { ReadOnly: input.ReadOnly }),
|
|
4076
|
+
...(input.StorageCapacityQuotaGiB !== undefined &&
|
|
4077
|
+
input.StorageCapacityQuotaGiB !== null && { StorageCapacityQuotaGiB: input.StorageCapacityQuotaGiB }),
|
|
4078
|
+
...(input.StorageCapacityReservationGiB !== undefined &&
|
|
4079
|
+
input.StorageCapacityReservationGiB !== null && {
|
|
4080
|
+
StorageCapacityReservationGiB: input.StorageCapacityReservationGiB,
|
|
4081
|
+
}),
|
|
4082
|
+
...(input.UserAndGroupQuotas !== undefined &&
|
|
4083
|
+
input.UserAndGroupQuotas !== null && {
|
|
4084
|
+
UserAndGroupQuotas: serializeAws_json1_1OpenZFSUserAndGroupQuotas(input.UserAndGroupQuotas, context),
|
|
4085
|
+
}),
|
|
4086
|
+
};
|
|
4087
|
+
};
|
|
4088
|
+
const serializeAws_json1_1CreateSnapshotRequest = (input, context) => {
|
|
4089
|
+
var _a;
|
|
4090
|
+
return {
|
|
4091
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
4092
|
+
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
4093
|
+
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }),
|
|
4094
|
+
...(input.VolumeId !== undefined && input.VolumeId !== null && { VolumeId: input.VolumeId }),
|
|
4095
|
+
};
|
|
4096
|
+
};
|
|
3124
4097
|
const serializeAws_json1_1CreateStorageVirtualMachineRequest = (input, context) => {
|
|
3125
4098
|
var _a;
|
|
3126
4099
|
return {
|
|
@@ -3169,10 +4142,24 @@ const serializeAws_json1_1CreateVolumeRequest = (input, context) => {
|
|
|
3169
4142
|
input.OntapConfiguration !== null && {
|
|
3170
4143
|
OntapConfiguration: serializeAws_json1_1CreateOntapVolumeConfiguration(input.OntapConfiguration, context),
|
|
3171
4144
|
}),
|
|
4145
|
+
...(input.OpenZFSConfiguration !== undefined &&
|
|
4146
|
+
input.OpenZFSConfiguration !== null && {
|
|
4147
|
+
OpenZFSConfiguration: serializeAws_json1_1CreateOpenZFSVolumeConfiguration(input.OpenZFSConfiguration, context),
|
|
4148
|
+
}),
|
|
3172
4149
|
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }),
|
|
3173
4150
|
...(input.VolumeType !== undefined && input.VolumeType !== null && { VolumeType: input.VolumeType }),
|
|
3174
4151
|
};
|
|
3175
4152
|
};
|
|
4153
|
+
const serializeAws_json1_1DataRepositoryAssociationIds = (input, context) => {
|
|
4154
|
+
return input
|
|
4155
|
+
.filter((e) => e != null)
|
|
4156
|
+
.map((entry) => {
|
|
4157
|
+
if (entry === null) {
|
|
4158
|
+
return null;
|
|
4159
|
+
}
|
|
4160
|
+
return entry;
|
|
4161
|
+
});
|
|
4162
|
+
};
|
|
3176
4163
|
const serializeAws_json1_1DataRepositoryTaskFilter = (input, context) => {
|
|
3177
4164
|
return {
|
|
3178
4165
|
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
@@ -3217,6 +4204,15 @@ const serializeAws_json1_1DeleteBackupRequest = (input, context) => {
|
|
|
3217
4204
|
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
3218
4205
|
};
|
|
3219
4206
|
};
|
|
4207
|
+
const serializeAws_json1_1DeleteDataRepositoryAssociationRequest = (input, context) => {
|
|
4208
|
+
var _a;
|
|
4209
|
+
return {
|
|
4210
|
+
...(input.AssociationId !== undefined && input.AssociationId !== null && { AssociationId: input.AssociationId }),
|
|
4211
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
4212
|
+
...(input.DeleteDataInFileSystem !== undefined &&
|
|
4213
|
+
input.DeleteDataInFileSystem !== null && { DeleteDataInFileSystem: input.DeleteDataInFileSystem }),
|
|
4214
|
+
};
|
|
4215
|
+
};
|
|
3220
4216
|
const serializeAws_json1_1DeleteFileSystemLustreConfiguration = (input, context) => {
|
|
3221
4217
|
return {
|
|
3222
4218
|
...(input.FinalBackupTags !== undefined &&
|
|
@@ -3225,6 +4221,14 @@ const serializeAws_json1_1DeleteFileSystemLustreConfiguration = (input, context)
|
|
|
3225
4221
|
input.SkipFinalBackup !== null && { SkipFinalBackup: input.SkipFinalBackup }),
|
|
3226
4222
|
};
|
|
3227
4223
|
};
|
|
4224
|
+
const serializeAws_json1_1DeleteFileSystemOpenZFSConfiguration = (input, context) => {
|
|
4225
|
+
return {
|
|
4226
|
+
...(input.FinalBackupTags !== undefined &&
|
|
4227
|
+
input.FinalBackupTags !== null && { FinalBackupTags: serializeAws_json1_1Tags(input.FinalBackupTags, context) }),
|
|
4228
|
+
...(input.SkipFinalBackup !== undefined &&
|
|
4229
|
+
input.SkipFinalBackup !== null && { SkipFinalBackup: input.SkipFinalBackup }),
|
|
4230
|
+
};
|
|
4231
|
+
};
|
|
3228
4232
|
const serializeAws_json1_1DeleteFileSystemRequest = (input, context) => {
|
|
3229
4233
|
var _a;
|
|
3230
4234
|
return {
|
|
@@ -3234,6 +4238,10 @@ const serializeAws_json1_1DeleteFileSystemRequest = (input, context) => {
|
|
|
3234
4238
|
input.LustreConfiguration !== null && {
|
|
3235
4239
|
LustreConfiguration: serializeAws_json1_1DeleteFileSystemLustreConfiguration(input.LustreConfiguration, context),
|
|
3236
4240
|
}),
|
|
4241
|
+
...(input.OpenZFSConfiguration !== undefined &&
|
|
4242
|
+
input.OpenZFSConfiguration !== null && {
|
|
4243
|
+
OpenZFSConfiguration: serializeAws_json1_1DeleteFileSystemOpenZFSConfiguration(input.OpenZFSConfiguration, context),
|
|
4244
|
+
}),
|
|
3237
4245
|
...(input.WindowsConfiguration !== undefined &&
|
|
3238
4246
|
input.WindowsConfiguration !== null && {
|
|
3239
4247
|
WindowsConfiguration: serializeAws_json1_1DeleteFileSystemWindowsConfiguration(input.WindowsConfiguration, context),
|
|
@@ -3248,6 +4256,23 @@ const serializeAws_json1_1DeleteFileSystemWindowsConfiguration = (input, context
|
|
|
3248
4256
|
input.SkipFinalBackup !== null && { SkipFinalBackup: input.SkipFinalBackup }),
|
|
3249
4257
|
};
|
|
3250
4258
|
};
|
|
4259
|
+
const serializeAws_json1_1DeleteOpenZFSVolumeOptions = (input, context) => {
|
|
4260
|
+
return input
|
|
4261
|
+
.filter((e) => e != null)
|
|
4262
|
+
.map((entry) => {
|
|
4263
|
+
if (entry === null) {
|
|
4264
|
+
return null;
|
|
4265
|
+
}
|
|
4266
|
+
return entry;
|
|
4267
|
+
});
|
|
4268
|
+
};
|
|
4269
|
+
const serializeAws_json1_1DeleteSnapshotRequest = (input, context) => {
|
|
4270
|
+
var _a;
|
|
4271
|
+
return {
|
|
4272
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
4273
|
+
...(input.SnapshotId !== undefined && input.SnapshotId !== null && { SnapshotId: input.SnapshotId }),
|
|
4274
|
+
};
|
|
4275
|
+
};
|
|
3251
4276
|
const serializeAws_json1_1DeleteStorageVirtualMachineRequest = (input, context) => {
|
|
3252
4277
|
var _a;
|
|
3253
4278
|
return {
|
|
@@ -3264,6 +4289,12 @@ const serializeAws_json1_1DeleteVolumeOntapConfiguration = (input, context) => {
|
|
|
3264
4289
|
input.SkipFinalBackup !== null && { SkipFinalBackup: input.SkipFinalBackup }),
|
|
3265
4290
|
};
|
|
3266
4291
|
};
|
|
4292
|
+
const serializeAws_json1_1DeleteVolumeOpenZFSConfiguration = (input, context) => {
|
|
4293
|
+
return {
|
|
4294
|
+
...(input.Options !== undefined &&
|
|
4295
|
+
input.Options !== null && { Options: serializeAws_json1_1DeleteOpenZFSVolumeOptions(input.Options, context) }),
|
|
4296
|
+
};
|
|
4297
|
+
};
|
|
3267
4298
|
const serializeAws_json1_1DeleteVolumeRequest = (input, context) => {
|
|
3268
4299
|
var _a;
|
|
3269
4300
|
return {
|
|
@@ -3272,6 +4303,10 @@ const serializeAws_json1_1DeleteVolumeRequest = (input, context) => {
|
|
|
3272
4303
|
input.OntapConfiguration !== null && {
|
|
3273
4304
|
OntapConfiguration: serializeAws_json1_1DeleteVolumeOntapConfiguration(input.OntapConfiguration, context),
|
|
3274
4305
|
}),
|
|
4306
|
+
...(input.OpenZFSConfiguration !== undefined &&
|
|
4307
|
+
input.OpenZFSConfiguration !== null && {
|
|
4308
|
+
OpenZFSConfiguration: serializeAws_json1_1DeleteVolumeOpenZFSConfiguration(input.OpenZFSConfiguration, context),
|
|
4309
|
+
}),
|
|
3275
4310
|
...(input.VolumeId !== undefined && input.VolumeId !== null && { VolumeId: input.VolumeId }),
|
|
3276
4311
|
};
|
|
3277
4312
|
};
|
|
@@ -3285,6 +4320,18 @@ const serializeAws_json1_1DescribeBackupsRequest = (input, context) => {
|
|
|
3285
4320
|
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
3286
4321
|
};
|
|
3287
4322
|
};
|
|
4323
|
+
const serializeAws_json1_1DescribeDataRepositoryAssociationsRequest = (input, context) => {
|
|
4324
|
+
return {
|
|
4325
|
+
...(input.AssociationIds !== undefined &&
|
|
4326
|
+
input.AssociationIds !== null && {
|
|
4327
|
+
AssociationIds: serializeAws_json1_1DataRepositoryAssociationIds(input.AssociationIds, context),
|
|
4328
|
+
}),
|
|
4329
|
+
...(input.Filters !== undefined &&
|
|
4330
|
+
input.Filters !== null && { Filters: serializeAws_json1_1Filters(input.Filters, context) }),
|
|
4331
|
+
...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }),
|
|
4332
|
+
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
4333
|
+
};
|
|
4334
|
+
};
|
|
3288
4335
|
const serializeAws_json1_1DescribeDataRepositoryTasksRequest = (input, context) => {
|
|
3289
4336
|
return {
|
|
3290
4337
|
...(input.Filters !== undefined &&
|
|
@@ -3314,6 +4361,16 @@ const serializeAws_json1_1DescribeFileSystemsRequest = (input, context) => {
|
|
|
3314
4361
|
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
3315
4362
|
};
|
|
3316
4363
|
};
|
|
4364
|
+
const serializeAws_json1_1DescribeSnapshotsRequest = (input, context) => {
|
|
4365
|
+
return {
|
|
4366
|
+
...(input.Filters !== undefined &&
|
|
4367
|
+
input.Filters !== null && { Filters: serializeAws_json1_1SnapshotFilters(input.Filters, context) }),
|
|
4368
|
+
...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }),
|
|
4369
|
+
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
4370
|
+
...(input.SnapshotIds !== undefined &&
|
|
4371
|
+
input.SnapshotIds !== null && { SnapshotIds: serializeAws_json1_1SnapshotIds(input.SnapshotIds, context) }),
|
|
4372
|
+
};
|
|
4373
|
+
};
|
|
3317
4374
|
const serializeAws_json1_1DescribeStorageVirtualMachinesRequest = (input, context) => {
|
|
3318
4375
|
return {
|
|
3319
4376
|
...(input.Filters !== undefined &&
|
|
@@ -3361,6 +4418,16 @@ const serializeAws_json1_1DnsIps = (input, context) => {
|
|
|
3361
4418
|
return entry;
|
|
3362
4419
|
});
|
|
3363
4420
|
};
|
|
4421
|
+
const serializeAws_json1_1EventTypes = (input, context) => {
|
|
4422
|
+
return input
|
|
4423
|
+
.filter((e) => e != null)
|
|
4424
|
+
.map((entry) => {
|
|
4425
|
+
if (entry === null) {
|
|
4426
|
+
return null;
|
|
4427
|
+
}
|
|
4428
|
+
return entry;
|
|
4429
|
+
});
|
|
4430
|
+
};
|
|
3364
4431
|
const serializeAws_json1_1FileSystemIds = (input, context) => {
|
|
3365
4432
|
return input
|
|
3366
4433
|
.filter((e) => e != null)
|
|
@@ -3405,6 +4472,117 @@ const serializeAws_json1_1ListTagsForResourceRequest = (input, context) => {
|
|
|
3405
4472
|
...(input.ResourceARN !== undefined && input.ResourceARN !== null && { ResourceARN: input.ResourceARN }),
|
|
3406
4473
|
};
|
|
3407
4474
|
};
|
|
4475
|
+
const serializeAws_json1_1LustreLogCreateConfiguration = (input, context) => {
|
|
4476
|
+
return {
|
|
4477
|
+
...(input.Destination !== undefined && input.Destination !== null && { Destination: input.Destination }),
|
|
4478
|
+
...(input.Level !== undefined && input.Level !== null && { Level: input.Level }),
|
|
4479
|
+
};
|
|
4480
|
+
};
|
|
4481
|
+
const serializeAws_json1_1OpenZFSClientConfiguration = (input, context) => {
|
|
4482
|
+
return {
|
|
4483
|
+
...(input.Clients !== undefined && input.Clients !== null && { Clients: input.Clients }),
|
|
4484
|
+
...(input.Options !== undefined &&
|
|
4485
|
+
input.Options !== null && { Options: serializeAws_json1_1OpenZFSNfsExportOptions(input.Options, context) }),
|
|
4486
|
+
};
|
|
4487
|
+
};
|
|
4488
|
+
const serializeAws_json1_1OpenZFSClientConfigurations = (input, context) => {
|
|
4489
|
+
return input
|
|
4490
|
+
.filter((e) => e != null)
|
|
4491
|
+
.map((entry) => {
|
|
4492
|
+
if (entry === null) {
|
|
4493
|
+
return null;
|
|
4494
|
+
}
|
|
4495
|
+
return serializeAws_json1_1OpenZFSClientConfiguration(entry, context);
|
|
4496
|
+
});
|
|
4497
|
+
};
|
|
4498
|
+
const serializeAws_json1_1OpenZFSCreateRootVolumeConfiguration = (input, context) => {
|
|
4499
|
+
return {
|
|
4500
|
+
...(input.CopyTagsToSnapshots !== undefined &&
|
|
4501
|
+
input.CopyTagsToSnapshots !== null && { CopyTagsToSnapshots: input.CopyTagsToSnapshots }),
|
|
4502
|
+
...(input.DataCompressionType !== undefined &&
|
|
4503
|
+
input.DataCompressionType !== null && { DataCompressionType: input.DataCompressionType }),
|
|
4504
|
+
...(input.NfsExports !== undefined &&
|
|
4505
|
+
input.NfsExports !== null && { NfsExports: serializeAws_json1_1OpenZFSNfsExports(input.NfsExports, context) }),
|
|
4506
|
+
...(input.ReadOnly !== undefined && input.ReadOnly !== null && { ReadOnly: input.ReadOnly }),
|
|
4507
|
+
...(input.UserAndGroupQuotas !== undefined &&
|
|
4508
|
+
input.UserAndGroupQuotas !== null && {
|
|
4509
|
+
UserAndGroupQuotas: serializeAws_json1_1OpenZFSUserAndGroupQuotas(input.UserAndGroupQuotas, context),
|
|
4510
|
+
}),
|
|
4511
|
+
};
|
|
4512
|
+
};
|
|
4513
|
+
const serializeAws_json1_1OpenZFSNfsExport = (input, context) => {
|
|
4514
|
+
return {
|
|
4515
|
+
...(input.ClientConfigurations !== undefined &&
|
|
4516
|
+
input.ClientConfigurations !== null && {
|
|
4517
|
+
ClientConfigurations: serializeAws_json1_1OpenZFSClientConfigurations(input.ClientConfigurations, context),
|
|
4518
|
+
}),
|
|
4519
|
+
};
|
|
4520
|
+
};
|
|
4521
|
+
const serializeAws_json1_1OpenZFSNfsExportOptions = (input, context) => {
|
|
4522
|
+
return input
|
|
4523
|
+
.filter((e) => e != null)
|
|
4524
|
+
.map((entry) => {
|
|
4525
|
+
if (entry === null) {
|
|
4526
|
+
return null;
|
|
4527
|
+
}
|
|
4528
|
+
return entry;
|
|
4529
|
+
});
|
|
4530
|
+
};
|
|
4531
|
+
const serializeAws_json1_1OpenZFSNfsExports = (input, context) => {
|
|
4532
|
+
return input
|
|
4533
|
+
.filter((e) => e != null)
|
|
4534
|
+
.map((entry) => {
|
|
4535
|
+
if (entry === null) {
|
|
4536
|
+
return null;
|
|
4537
|
+
}
|
|
4538
|
+
return serializeAws_json1_1OpenZFSNfsExport(entry, context);
|
|
4539
|
+
});
|
|
4540
|
+
};
|
|
4541
|
+
const serializeAws_json1_1OpenZFSUserAndGroupQuotas = (input, context) => {
|
|
4542
|
+
return input
|
|
4543
|
+
.filter((e) => e != null)
|
|
4544
|
+
.map((entry) => {
|
|
4545
|
+
if (entry === null) {
|
|
4546
|
+
return null;
|
|
4547
|
+
}
|
|
4548
|
+
return serializeAws_json1_1OpenZFSUserOrGroupQuota(entry, context);
|
|
4549
|
+
});
|
|
4550
|
+
};
|
|
4551
|
+
const serializeAws_json1_1OpenZFSUserOrGroupQuota = (input, context) => {
|
|
4552
|
+
return {
|
|
4553
|
+
...(input.Id !== undefined && input.Id !== null && { Id: input.Id }),
|
|
4554
|
+
...(input.StorageCapacityQuotaGiB !== undefined &&
|
|
4555
|
+
input.StorageCapacityQuotaGiB !== null && { StorageCapacityQuotaGiB: input.StorageCapacityQuotaGiB }),
|
|
4556
|
+
...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
|
|
4557
|
+
};
|
|
4558
|
+
};
|
|
4559
|
+
const serializeAws_json1_1ReleaseFileSystemNfsV3LocksRequest = (input, context) => {
|
|
4560
|
+
var _a;
|
|
4561
|
+
return {
|
|
4562
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
4563
|
+
...(input.FileSystemId !== undefined && input.FileSystemId !== null && { FileSystemId: input.FileSystemId }),
|
|
4564
|
+
};
|
|
4565
|
+
};
|
|
4566
|
+
const serializeAws_json1_1RestoreOpenZFSVolumeOptions = (input, context) => {
|
|
4567
|
+
return input
|
|
4568
|
+
.filter((e) => e != null)
|
|
4569
|
+
.map((entry) => {
|
|
4570
|
+
if (entry === null) {
|
|
4571
|
+
return null;
|
|
4572
|
+
}
|
|
4573
|
+
return entry;
|
|
4574
|
+
});
|
|
4575
|
+
};
|
|
4576
|
+
const serializeAws_json1_1RestoreVolumeFromSnapshotRequest = (input, context) => {
|
|
4577
|
+
var _a;
|
|
4578
|
+
return {
|
|
4579
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
4580
|
+
...(input.Options !== undefined &&
|
|
4581
|
+
input.Options !== null && { Options: serializeAws_json1_1RestoreOpenZFSVolumeOptions(input.Options, context) }),
|
|
4582
|
+
...(input.SnapshotId !== undefined && input.SnapshotId !== null && { SnapshotId: input.SnapshotId }),
|
|
4583
|
+
...(input.VolumeId !== undefined && input.VolumeId !== null && { VolumeId: input.VolumeId }),
|
|
4584
|
+
};
|
|
4585
|
+
};
|
|
3408
4586
|
const serializeAws_json1_1RouteTableIds = (input, context) => {
|
|
3409
4587
|
return input
|
|
3410
4588
|
.filter((e) => e != null)
|
|
@@ -3415,6 +4593,18 @@ const serializeAws_json1_1RouteTableIds = (input, context) => {
|
|
|
3415
4593
|
return entry;
|
|
3416
4594
|
});
|
|
3417
4595
|
};
|
|
4596
|
+
const serializeAws_json1_1S3DataRepositoryConfiguration = (input, context) => {
|
|
4597
|
+
return {
|
|
4598
|
+
...(input.AutoExportPolicy !== undefined &&
|
|
4599
|
+
input.AutoExportPolicy !== null && {
|
|
4600
|
+
AutoExportPolicy: serializeAws_json1_1AutoExportPolicy(input.AutoExportPolicy, context),
|
|
4601
|
+
}),
|
|
4602
|
+
...(input.AutoImportPolicy !== undefined &&
|
|
4603
|
+
input.AutoImportPolicy !== null && {
|
|
4604
|
+
AutoImportPolicy: serializeAws_json1_1AutoImportPolicy(input.AutoImportPolicy, context),
|
|
4605
|
+
}),
|
|
4606
|
+
};
|
|
4607
|
+
};
|
|
3418
4608
|
const serializeAws_json1_1SecurityGroupIds = (input, context) => {
|
|
3419
4609
|
return input
|
|
3420
4610
|
.filter((e) => e != null)
|
|
@@ -3450,6 +4640,43 @@ const serializeAws_json1_1SelfManagedActiveDirectoryConfigurationUpdates = (inpu
|
|
|
3450
4640
|
...(input.UserName !== undefined && input.UserName !== null && { UserName: input.UserName }),
|
|
3451
4641
|
};
|
|
3452
4642
|
};
|
|
4643
|
+
const serializeAws_json1_1SnapshotFilter = (input, context) => {
|
|
4644
|
+
return {
|
|
4645
|
+
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
4646
|
+
...(input.Values !== undefined &&
|
|
4647
|
+
input.Values !== null && { Values: serializeAws_json1_1SnapshotFilterValues(input.Values, context) }),
|
|
4648
|
+
};
|
|
4649
|
+
};
|
|
4650
|
+
const serializeAws_json1_1SnapshotFilters = (input, context) => {
|
|
4651
|
+
return input
|
|
4652
|
+
.filter((e) => e != null)
|
|
4653
|
+
.map((entry) => {
|
|
4654
|
+
if (entry === null) {
|
|
4655
|
+
return null;
|
|
4656
|
+
}
|
|
4657
|
+
return serializeAws_json1_1SnapshotFilter(entry, context);
|
|
4658
|
+
});
|
|
4659
|
+
};
|
|
4660
|
+
const serializeAws_json1_1SnapshotFilterValues = (input, context) => {
|
|
4661
|
+
return input
|
|
4662
|
+
.filter((e) => e != null)
|
|
4663
|
+
.map((entry) => {
|
|
4664
|
+
if (entry === null) {
|
|
4665
|
+
return null;
|
|
4666
|
+
}
|
|
4667
|
+
return entry;
|
|
4668
|
+
});
|
|
4669
|
+
};
|
|
4670
|
+
const serializeAws_json1_1SnapshotIds = (input, context) => {
|
|
4671
|
+
return input
|
|
4672
|
+
.filter((e) => e != null)
|
|
4673
|
+
.map((entry) => {
|
|
4674
|
+
if (entry === null) {
|
|
4675
|
+
return null;
|
|
4676
|
+
}
|
|
4677
|
+
return entry;
|
|
4678
|
+
});
|
|
4679
|
+
};
|
|
3453
4680
|
const serializeAws_json1_1StorageVirtualMachineFilter = (input, context) => {
|
|
3454
4681
|
return {
|
|
3455
4682
|
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
@@ -3554,6 +4781,17 @@ const serializeAws_json1_1UntagResourceRequest = (input, context) => {
|
|
|
3554
4781
|
input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeys(input.TagKeys, context) }),
|
|
3555
4782
|
};
|
|
3556
4783
|
};
|
|
4784
|
+
const serializeAws_json1_1UpdateDataRepositoryAssociationRequest = (input, context) => {
|
|
4785
|
+
var _a;
|
|
4786
|
+
return {
|
|
4787
|
+
...(input.AssociationId !== undefined && input.AssociationId !== null && { AssociationId: input.AssociationId }),
|
|
4788
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
4789
|
+
...(input.ImportedFileChunkSize !== undefined &&
|
|
4790
|
+
input.ImportedFileChunkSize !== null && { ImportedFileChunkSize: input.ImportedFileChunkSize }),
|
|
4791
|
+
...(input.S3 !== undefined &&
|
|
4792
|
+
input.S3 !== null && { S3: serializeAws_json1_1S3DataRepositoryConfiguration(input.S3, context) }),
|
|
4793
|
+
};
|
|
4794
|
+
};
|
|
3557
4795
|
const serializeAws_json1_1UpdateFileSystemLustreConfiguration = (input, context) => {
|
|
3558
4796
|
return {
|
|
3559
4797
|
...(input.AutoImportPolicy !== undefined &&
|
|
@@ -3568,6 +4806,10 @@ const serializeAws_json1_1UpdateFileSystemLustreConfiguration = (input, context)
|
|
|
3568
4806
|
}),
|
|
3569
4807
|
...(input.DataCompressionType !== undefined &&
|
|
3570
4808
|
input.DataCompressionType !== null && { DataCompressionType: input.DataCompressionType }),
|
|
4809
|
+
...(input.LogConfiguration !== undefined &&
|
|
4810
|
+
input.LogConfiguration !== null && {
|
|
4811
|
+
LogConfiguration: serializeAws_json1_1LustreLogCreateConfiguration(input.LogConfiguration, context),
|
|
4812
|
+
}),
|
|
3571
4813
|
...(input.WeeklyMaintenanceStartTime !== undefined &&
|
|
3572
4814
|
input.WeeklyMaintenanceStartTime !== null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }),
|
|
3573
4815
|
};
|
|
@@ -3588,6 +4830,30 @@ const serializeAws_json1_1UpdateFileSystemOntapConfiguration = (input, context)
|
|
|
3588
4830
|
input.WeeklyMaintenanceStartTime !== null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }),
|
|
3589
4831
|
};
|
|
3590
4832
|
};
|
|
4833
|
+
const serializeAws_json1_1UpdateFileSystemOpenZFSConfiguration = (input, context) => {
|
|
4834
|
+
return {
|
|
4835
|
+
...(input.AutomaticBackupRetentionDays !== undefined &&
|
|
4836
|
+
input.AutomaticBackupRetentionDays !== null && {
|
|
4837
|
+
AutomaticBackupRetentionDays: input.AutomaticBackupRetentionDays,
|
|
4838
|
+
}),
|
|
4839
|
+
...(input.CopyTagsToBackups !== undefined &&
|
|
4840
|
+
input.CopyTagsToBackups !== null && { CopyTagsToBackups: input.CopyTagsToBackups }),
|
|
4841
|
+
...(input.CopyTagsToVolumes !== undefined &&
|
|
4842
|
+
input.CopyTagsToVolumes !== null && { CopyTagsToVolumes: input.CopyTagsToVolumes }),
|
|
4843
|
+
...(input.DailyAutomaticBackupStartTime !== undefined &&
|
|
4844
|
+
input.DailyAutomaticBackupStartTime !== null && {
|
|
4845
|
+
DailyAutomaticBackupStartTime: input.DailyAutomaticBackupStartTime,
|
|
4846
|
+
}),
|
|
4847
|
+
...(input.DiskIopsConfiguration !== undefined &&
|
|
4848
|
+
input.DiskIopsConfiguration !== null && {
|
|
4849
|
+
DiskIopsConfiguration: serializeAws_json1_1DiskIopsConfiguration(input.DiskIopsConfiguration, context),
|
|
4850
|
+
}),
|
|
4851
|
+
...(input.ThroughputCapacity !== undefined &&
|
|
4852
|
+
input.ThroughputCapacity !== null && { ThroughputCapacity: input.ThroughputCapacity }),
|
|
4853
|
+
...(input.WeeklyMaintenanceStartTime !== undefined &&
|
|
4854
|
+
input.WeeklyMaintenanceStartTime !== null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }),
|
|
4855
|
+
};
|
|
4856
|
+
};
|
|
3591
4857
|
const serializeAws_json1_1UpdateFileSystemRequest = (input, context) => {
|
|
3592
4858
|
var _a;
|
|
3593
4859
|
return {
|
|
@@ -3601,6 +4867,10 @@ const serializeAws_json1_1UpdateFileSystemRequest = (input, context) => {
|
|
|
3601
4867
|
input.OntapConfiguration !== null && {
|
|
3602
4868
|
OntapConfiguration: serializeAws_json1_1UpdateFileSystemOntapConfiguration(input.OntapConfiguration, context),
|
|
3603
4869
|
}),
|
|
4870
|
+
...(input.OpenZFSConfiguration !== undefined &&
|
|
4871
|
+
input.OpenZFSConfiguration !== null && {
|
|
4872
|
+
OpenZFSConfiguration: serializeAws_json1_1UpdateFileSystemOpenZFSConfiguration(input.OpenZFSConfiguration, context),
|
|
4873
|
+
}),
|
|
3604
4874
|
...(input.StorageCapacity !== undefined &&
|
|
3605
4875
|
input.StorageCapacity !== null && { StorageCapacity: input.StorageCapacity }),
|
|
3606
4876
|
...(input.WindowsConfiguration !== undefined &&
|
|
@@ -3647,6 +4917,33 @@ const serializeAws_json1_1UpdateOntapVolumeConfiguration = (input, context) => {
|
|
|
3647
4917
|
}),
|
|
3648
4918
|
};
|
|
3649
4919
|
};
|
|
4920
|
+
const serializeAws_json1_1UpdateOpenZFSVolumeConfiguration = (input, context) => {
|
|
4921
|
+
return {
|
|
4922
|
+
...(input.DataCompressionType !== undefined &&
|
|
4923
|
+
input.DataCompressionType !== null && { DataCompressionType: input.DataCompressionType }),
|
|
4924
|
+
...(input.NfsExports !== undefined &&
|
|
4925
|
+
input.NfsExports !== null && { NfsExports: serializeAws_json1_1OpenZFSNfsExports(input.NfsExports, context) }),
|
|
4926
|
+
...(input.ReadOnly !== undefined && input.ReadOnly !== null && { ReadOnly: input.ReadOnly }),
|
|
4927
|
+
...(input.StorageCapacityQuotaGiB !== undefined &&
|
|
4928
|
+
input.StorageCapacityQuotaGiB !== null && { StorageCapacityQuotaGiB: input.StorageCapacityQuotaGiB }),
|
|
4929
|
+
...(input.StorageCapacityReservationGiB !== undefined &&
|
|
4930
|
+
input.StorageCapacityReservationGiB !== null && {
|
|
4931
|
+
StorageCapacityReservationGiB: input.StorageCapacityReservationGiB,
|
|
4932
|
+
}),
|
|
4933
|
+
...(input.UserAndGroupQuotas !== undefined &&
|
|
4934
|
+
input.UserAndGroupQuotas !== null && {
|
|
4935
|
+
UserAndGroupQuotas: serializeAws_json1_1OpenZFSUserAndGroupQuotas(input.UserAndGroupQuotas, context),
|
|
4936
|
+
}),
|
|
4937
|
+
};
|
|
4938
|
+
};
|
|
4939
|
+
const serializeAws_json1_1UpdateSnapshotRequest = (input, context) => {
|
|
4940
|
+
var _a;
|
|
4941
|
+
return {
|
|
4942
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
4943
|
+
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
4944
|
+
...(input.SnapshotId !== undefined && input.SnapshotId !== null && { SnapshotId: input.SnapshotId }),
|
|
4945
|
+
};
|
|
4946
|
+
};
|
|
3650
4947
|
const serializeAws_json1_1UpdateStorageVirtualMachineRequest = (input, context) => {
|
|
3651
4948
|
var _a;
|
|
3652
4949
|
return {
|
|
@@ -3673,10 +4970,15 @@ const serializeAws_json1_1UpdateVolumeRequest = (input, context) => {
|
|
|
3673
4970
|
var _a;
|
|
3674
4971
|
return {
|
|
3675
4972
|
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
4973
|
+
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
3676
4974
|
...(input.OntapConfiguration !== undefined &&
|
|
3677
4975
|
input.OntapConfiguration !== null && {
|
|
3678
4976
|
OntapConfiguration: serializeAws_json1_1UpdateOntapVolumeConfiguration(input.OntapConfiguration, context),
|
|
3679
4977
|
}),
|
|
4978
|
+
...(input.OpenZFSConfiguration !== undefined &&
|
|
4979
|
+
input.OpenZFSConfiguration !== null && {
|
|
4980
|
+
OpenZFSConfiguration: serializeAws_json1_1UpdateOpenZFSVolumeConfiguration(input.OpenZFSConfiguration, context),
|
|
4981
|
+
}),
|
|
3680
4982
|
...(input.VolumeId !== undefined && input.VolumeId !== null && { VolumeId: input.VolumeId }),
|
|
3681
4983
|
};
|
|
3682
4984
|
};
|
|
@@ -3757,6 +5059,9 @@ const deserializeAws_json1_1AdministrativeAction = (output, context) => {
|
|
|
3757
5059
|
TargetFileSystemValues: output.TargetFileSystemValues !== undefined && output.TargetFileSystemValues !== null
|
|
3758
5060
|
? deserializeAws_json1_1FileSystem(output.TargetFileSystemValues, context)
|
|
3759
5061
|
: undefined,
|
|
5062
|
+
TargetSnapshotValues: output.TargetSnapshotValues !== undefined && output.TargetSnapshotValues !== null
|
|
5063
|
+
? deserializeAws_json1_1Snapshot(output.TargetSnapshotValues, context)
|
|
5064
|
+
: undefined,
|
|
3760
5065
|
TargetVolumeValues: output.TargetVolumeValues !== undefined && output.TargetVolumeValues !== null
|
|
3761
5066
|
? deserializeAws_json1_1Volume(output.TargetVolumeValues, context)
|
|
3762
5067
|
: undefined,
|
|
@@ -3800,6 +5105,20 @@ const deserializeAws_json1_1AssociateFileSystemAliasesResponse = (output, contex
|
|
|
3800
5105
|
: undefined,
|
|
3801
5106
|
};
|
|
3802
5107
|
};
|
|
5108
|
+
const deserializeAws_json1_1AutoExportPolicy = (output, context) => {
|
|
5109
|
+
return {
|
|
5110
|
+
Events: output.Events !== undefined && output.Events !== null
|
|
5111
|
+
? deserializeAws_json1_1EventTypes(output.Events, context)
|
|
5112
|
+
: undefined,
|
|
5113
|
+
};
|
|
5114
|
+
};
|
|
5115
|
+
const deserializeAws_json1_1AutoImportPolicy = (output, context) => {
|
|
5116
|
+
return {
|
|
5117
|
+
Events: output.Events !== undefined && output.Events !== null
|
|
5118
|
+
? deserializeAws_json1_1EventTypes(output.Events, context)
|
|
5119
|
+
: undefined,
|
|
5120
|
+
};
|
|
5121
|
+
};
|
|
3803
5122
|
const deserializeAws_json1_1Backup = (output, context) => {
|
|
3804
5123
|
return {
|
|
3805
5124
|
BackupId: smithy_client_1.expectString(output.BackupId),
|
|
@@ -3900,6 +5219,13 @@ const deserializeAws_json1_1CreateBackupResponse = (output, context) => {
|
|
|
3900
5219
|
: undefined,
|
|
3901
5220
|
};
|
|
3902
5221
|
};
|
|
5222
|
+
const deserializeAws_json1_1CreateDataRepositoryAssociationResponse = (output, context) => {
|
|
5223
|
+
return {
|
|
5224
|
+
Association: output.Association !== undefined && output.Association !== null
|
|
5225
|
+
? deserializeAws_json1_1DataRepositoryAssociation(output.Association, context)
|
|
5226
|
+
: undefined,
|
|
5227
|
+
};
|
|
5228
|
+
};
|
|
3903
5229
|
const deserializeAws_json1_1CreateDataRepositoryTaskResponse = (output, context) => {
|
|
3904
5230
|
return {
|
|
3905
5231
|
DataRepositoryTask: output.DataRepositoryTask !== undefined && output.DataRepositoryTask !== null
|
|
@@ -3921,6 +5247,13 @@ const deserializeAws_json1_1CreateFileSystemResponse = (output, context) => {
|
|
|
3921
5247
|
: undefined,
|
|
3922
5248
|
};
|
|
3923
5249
|
};
|
|
5250
|
+
const deserializeAws_json1_1CreateSnapshotResponse = (output, context) => {
|
|
5251
|
+
return {
|
|
5252
|
+
Snapshot: output.Snapshot !== undefined && output.Snapshot !== null
|
|
5253
|
+
? deserializeAws_json1_1Snapshot(output.Snapshot, context)
|
|
5254
|
+
: undefined,
|
|
5255
|
+
};
|
|
5256
|
+
};
|
|
3924
5257
|
const deserializeAws_json1_1CreateStorageVirtualMachineResponse = (output, context) => {
|
|
3925
5258
|
return {
|
|
3926
5259
|
StorageVirtualMachine: output.StorageVirtualMachine !== undefined && output.StorageVirtualMachine !== null
|
|
@@ -3942,6 +5275,43 @@ const deserializeAws_json1_1CreateVolumeResponse = (output, context) => {
|
|
|
3942
5275
|
: undefined,
|
|
3943
5276
|
};
|
|
3944
5277
|
};
|
|
5278
|
+
const deserializeAws_json1_1DataRepositoryAssociation = (output, context) => {
|
|
5279
|
+
return {
|
|
5280
|
+
AssociationId: smithy_client_1.expectString(output.AssociationId),
|
|
5281
|
+
BatchImportMetaDataOnCreate: smithy_client_1.expectBoolean(output.BatchImportMetaDataOnCreate),
|
|
5282
|
+
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
5283
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
5284
|
+
: undefined,
|
|
5285
|
+
DataRepositoryPath: smithy_client_1.expectString(output.DataRepositoryPath),
|
|
5286
|
+
FailureDetails: output.FailureDetails !== undefined && output.FailureDetails !== null
|
|
5287
|
+
? deserializeAws_json1_1DataRepositoryFailureDetails(output.FailureDetails, context)
|
|
5288
|
+
: undefined,
|
|
5289
|
+
FileSystemId: smithy_client_1.expectString(output.FileSystemId),
|
|
5290
|
+
FileSystemPath: smithy_client_1.expectString(output.FileSystemPath),
|
|
5291
|
+
ImportedFileChunkSize: smithy_client_1.expectInt32(output.ImportedFileChunkSize),
|
|
5292
|
+
Lifecycle: smithy_client_1.expectString(output.Lifecycle),
|
|
5293
|
+
ResourceARN: smithy_client_1.expectString(output.ResourceARN),
|
|
5294
|
+
S3: output.S3 !== undefined && output.S3 !== null
|
|
5295
|
+
? deserializeAws_json1_1S3DataRepositoryConfiguration(output.S3, context)
|
|
5296
|
+
: undefined,
|
|
5297
|
+
Tags: output.Tags !== undefined && output.Tags !== null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
5298
|
+
};
|
|
5299
|
+
};
|
|
5300
|
+
const deserializeAws_json1_1DataRepositoryAssociationNotFound = (output, context) => {
|
|
5301
|
+
return {
|
|
5302
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
5303
|
+
};
|
|
5304
|
+
};
|
|
5305
|
+
const deserializeAws_json1_1DataRepositoryAssociations = (output, context) => {
|
|
5306
|
+
return (output || [])
|
|
5307
|
+
.filter((e) => e != null)
|
|
5308
|
+
.map((entry) => {
|
|
5309
|
+
if (entry === null) {
|
|
5310
|
+
return null;
|
|
5311
|
+
}
|
|
5312
|
+
return deserializeAws_json1_1DataRepositoryAssociation(entry, context);
|
|
5313
|
+
});
|
|
5314
|
+
};
|
|
3945
5315
|
const deserializeAws_json1_1DataRepositoryConfiguration = (output, context) => {
|
|
3946
5316
|
return {
|
|
3947
5317
|
AutoImportPolicy: smithy_client_1.expectString(output.AutoImportPolicy),
|
|
@@ -4046,6 +5416,13 @@ const deserializeAws_json1_1DeleteBackupResponse = (output, context) => {
|
|
|
4046
5416
|
Lifecycle: smithy_client_1.expectString(output.Lifecycle),
|
|
4047
5417
|
};
|
|
4048
5418
|
};
|
|
5419
|
+
const deserializeAws_json1_1DeleteDataRepositoryAssociationResponse = (output, context) => {
|
|
5420
|
+
return {
|
|
5421
|
+
AssociationId: smithy_client_1.expectString(output.AssociationId),
|
|
5422
|
+
DeleteDataInFileSystem: smithy_client_1.expectBoolean(output.DeleteDataInFileSystem),
|
|
5423
|
+
Lifecycle: smithy_client_1.expectString(output.Lifecycle),
|
|
5424
|
+
};
|
|
5425
|
+
};
|
|
4049
5426
|
const deserializeAws_json1_1DeleteFileSystemLustreResponse = (output, context) => {
|
|
4050
5427
|
return {
|
|
4051
5428
|
FinalBackupId: smithy_client_1.expectString(output.FinalBackupId),
|
|
@@ -4054,6 +5431,14 @@ const deserializeAws_json1_1DeleteFileSystemLustreResponse = (output, context) =
|
|
|
4054
5431
|
: undefined,
|
|
4055
5432
|
};
|
|
4056
5433
|
};
|
|
5434
|
+
const deserializeAws_json1_1DeleteFileSystemOpenZFSResponse = (output, context) => {
|
|
5435
|
+
return {
|
|
5436
|
+
FinalBackupId: smithy_client_1.expectString(output.FinalBackupId),
|
|
5437
|
+
FinalBackupTags: output.FinalBackupTags !== undefined && output.FinalBackupTags !== null
|
|
5438
|
+
? deserializeAws_json1_1Tags(output.FinalBackupTags, context)
|
|
5439
|
+
: undefined,
|
|
5440
|
+
};
|
|
5441
|
+
};
|
|
4057
5442
|
const deserializeAws_json1_1DeleteFileSystemResponse = (output, context) => {
|
|
4058
5443
|
return {
|
|
4059
5444
|
FileSystemId: smithy_client_1.expectString(output.FileSystemId),
|
|
@@ -4061,6 +5446,9 @@ const deserializeAws_json1_1DeleteFileSystemResponse = (output, context) => {
|
|
|
4061
5446
|
LustreResponse: output.LustreResponse !== undefined && output.LustreResponse !== null
|
|
4062
5447
|
? deserializeAws_json1_1DeleteFileSystemLustreResponse(output.LustreResponse, context)
|
|
4063
5448
|
: undefined,
|
|
5449
|
+
OpenZFSResponse: output.OpenZFSResponse !== undefined && output.OpenZFSResponse !== null
|
|
5450
|
+
? deserializeAws_json1_1DeleteFileSystemOpenZFSResponse(output.OpenZFSResponse, context)
|
|
5451
|
+
: undefined,
|
|
4064
5452
|
WindowsResponse: output.WindowsResponse !== undefined && output.WindowsResponse !== null
|
|
4065
5453
|
? deserializeAws_json1_1DeleteFileSystemWindowsResponse(output.WindowsResponse, context)
|
|
4066
5454
|
: undefined,
|
|
@@ -4074,6 +5462,12 @@ const deserializeAws_json1_1DeleteFileSystemWindowsResponse = (output, context)
|
|
|
4074
5462
|
: undefined,
|
|
4075
5463
|
};
|
|
4076
5464
|
};
|
|
5465
|
+
const deserializeAws_json1_1DeleteSnapshotResponse = (output, context) => {
|
|
5466
|
+
return {
|
|
5467
|
+
Lifecycle: smithy_client_1.expectString(output.Lifecycle),
|
|
5468
|
+
SnapshotId: smithy_client_1.expectString(output.SnapshotId),
|
|
5469
|
+
};
|
|
5470
|
+
};
|
|
4077
5471
|
const deserializeAws_json1_1DeleteStorageVirtualMachineResponse = (output, context) => {
|
|
4078
5472
|
return {
|
|
4079
5473
|
Lifecycle: smithy_client_1.expectString(output.Lifecycle),
|
|
@@ -4105,6 +5499,14 @@ const deserializeAws_json1_1DescribeBackupsResponse = (output, context) => {
|
|
|
4105
5499
|
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
4106
5500
|
};
|
|
4107
5501
|
};
|
|
5502
|
+
const deserializeAws_json1_1DescribeDataRepositoryAssociationsResponse = (output, context) => {
|
|
5503
|
+
return {
|
|
5504
|
+
Associations: output.Associations !== undefined && output.Associations !== null
|
|
5505
|
+
? deserializeAws_json1_1DataRepositoryAssociations(output.Associations, context)
|
|
5506
|
+
: undefined,
|
|
5507
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
5508
|
+
};
|
|
5509
|
+
};
|
|
4108
5510
|
const deserializeAws_json1_1DescribeDataRepositoryTasksResponse = (output, context) => {
|
|
4109
5511
|
return {
|
|
4110
5512
|
DataRepositoryTasks: output.DataRepositoryTasks !== undefined && output.DataRepositoryTasks !== null
|
|
@@ -4129,6 +5531,14 @@ const deserializeAws_json1_1DescribeFileSystemsResponse = (output, context) => {
|
|
|
4129
5531
|
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
4130
5532
|
};
|
|
4131
5533
|
};
|
|
5534
|
+
const deserializeAws_json1_1DescribeSnapshotsResponse = (output, context) => {
|
|
5535
|
+
return {
|
|
5536
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
5537
|
+
Snapshots: output.Snapshots !== undefined && output.Snapshots !== null
|
|
5538
|
+
? deserializeAws_json1_1Snapshots(output.Snapshots, context)
|
|
5539
|
+
: undefined,
|
|
5540
|
+
};
|
|
5541
|
+
};
|
|
4132
5542
|
const deserializeAws_json1_1DescribeStorageVirtualMachinesResponse = (output, context) => {
|
|
4133
5543
|
return {
|
|
4134
5544
|
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
@@ -4168,6 +5578,16 @@ const deserializeAws_json1_1DnsIps = (output, context) => {
|
|
|
4168
5578
|
return smithy_client_1.expectString(entry);
|
|
4169
5579
|
});
|
|
4170
5580
|
};
|
|
5581
|
+
const deserializeAws_json1_1EventTypes = (output, context) => {
|
|
5582
|
+
return (output || [])
|
|
5583
|
+
.filter((e) => e != null)
|
|
5584
|
+
.map((entry) => {
|
|
5585
|
+
if (entry === null) {
|
|
5586
|
+
return null;
|
|
5587
|
+
}
|
|
5588
|
+
return smithy_client_1.expectString(entry);
|
|
5589
|
+
});
|
|
5590
|
+
};
|
|
4171
5591
|
const deserializeAws_json1_1FileSystem = (output, context) => {
|
|
4172
5592
|
return {
|
|
4173
5593
|
AdministrativeActions: output.AdministrativeActions !== undefined && output.AdministrativeActions !== null
|
|
@@ -4194,6 +5614,9 @@ const deserializeAws_json1_1FileSystem = (output, context) => {
|
|
|
4194
5614
|
OntapConfiguration: output.OntapConfiguration !== undefined && output.OntapConfiguration !== null
|
|
4195
5615
|
? deserializeAws_json1_1OntapFileSystemConfiguration(output.OntapConfiguration, context)
|
|
4196
5616
|
: undefined,
|
|
5617
|
+
OpenZFSConfiguration: output.OpenZFSConfiguration !== undefined && output.OpenZFSConfiguration !== null
|
|
5618
|
+
? deserializeAws_json1_1OpenZFSFileSystemConfiguration(output.OpenZFSConfiguration, context)
|
|
5619
|
+
: undefined,
|
|
4197
5620
|
OwnerId: smithy_client_1.expectString(output.OwnerId),
|
|
4198
5621
|
ResourceARN: smithy_client_1.expectString(output.ResourceARN),
|
|
4199
5622
|
StorageCapacity: smithy_client_1.expectInt32(output.StorageCapacity),
|
|
@@ -4272,6 +5695,11 @@ const deserializeAws_json1_1InternalServerError = (output, context) => {
|
|
|
4272
5695
|
Message: smithy_client_1.expectString(output.Message),
|
|
4273
5696
|
};
|
|
4274
5697
|
};
|
|
5698
|
+
const deserializeAws_json1_1InvalidDataRepositoryType = (output, context) => {
|
|
5699
|
+
return {
|
|
5700
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
5701
|
+
};
|
|
5702
|
+
};
|
|
4275
5703
|
const deserializeAws_json1_1InvalidDestinationKmsKey = (output, context) => {
|
|
4276
5704
|
return {
|
|
4277
5705
|
Message: smithy_client_1.expectString(output.Message),
|
|
@@ -4332,11 +5760,20 @@ const deserializeAws_json1_1LustreFileSystemConfiguration = (output, context) =>
|
|
|
4332
5760
|
: undefined,
|
|
4333
5761
|
DeploymentType: smithy_client_1.expectString(output.DeploymentType),
|
|
4334
5762
|
DriveCacheType: smithy_client_1.expectString(output.DriveCacheType),
|
|
5763
|
+
LogConfiguration: output.LogConfiguration !== undefined && output.LogConfiguration !== null
|
|
5764
|
+
? deserializeAws_json1_1LustreLogConfiguration(output.LogConfiguration, context)
|
|
5765
|
+
: undefined,
|
|
4335
5766
|
MountName: smithy_client_1.expectString(output.MountName),
|
|
4336
5767
|
PerUnitStorageThroughput: smithy_client_1.expectInt32(output.PerUnitStorageThroughput),
|
|
4337
5768
|
WeeklyMaintenanceStartTime: smithy_client_1.expectString(output.WeeklyMaintenanceStartTime),
|
|
4338
5769
|
};
|
|
4339
5770
|
};
|
|
5771
|
+
const deserializeAws_json1_1LustreLogConfiguration = (output, context) => {
|
|
5772
|
+
return {
|
|
5773
|
+
Destination: smithy_client_1.expectString(output.Destination),
|
|
5774
|
+
Level: smithy_client_1.expectString(output.Level),
|
|
5775
|
+
};
|
|
5776
|
+
};
|
|
4340
5777
|
const deserializeAws_json1_1MissingFileSystemConfiguration = (output, context) => {
|
|
4341
5778
|
return {
|
|
4342
5779
|
Message: smithy_client_1.expectString(output.Message),
|
|
@@ -4409,6 +5846,116 @@ const deserializeAws_json1_1OntapVolumeConfiguration = (output, context) => {
|
|
|
4409
5846
|
UUID: smithy_client_1.expectString(output.UUID),
|
|
4410
5847
|
};
|
|
4411
5848
|
};
|
|
5849
|
+
const deserializeAws_json1_1OpenZFSClientConfiguration = (output, context) => {
|
|
5850
|
+
return {
|
|
5851
|
+
Clients: smithy_client_1.expectString(output.Clients),
|
|
5852
|
+
Options: output.Options !== undefined && output.Options !== null
|
|
5853
|
+
? deserializeAws_json1_1OpenZFSNfsExportOptions(output.Options, context)
|
|
5854
|
+
: undefined,
|
|
5855
|
+
};
|
|
5856
|
+
};
|
|
5857
|
+
const deserializeAws_json1_1OpenZFSClientConfigurations = (output, context) => {
|
|
5858
|
+
return (output || [])
|
|
5859
|
+
.filter((e) => e != null)
|
|
5860
|
+
.map((entry) => {
|
|
5861
|
+
if (entry === null) {
|
|
5862
|
+
return null;
|
|
5863
|
+
}
|
|
5864
|
+
return deserializeAws_json1_1OpenZFSClientConfiguration(entry, context);
|
|
5865
|
+
});
|
|
5866
|
+
};
|
|
5867
|
+
const deserializeAws_json1_1OpenZFSFileSystemConfiguration = (output, context) => {
|
|
5868
|
+
return {
|
|
5869
|
+
AutomaticBackupRetentionDays: smithy_client_1.expectInt32(output.AutomaticBackupRetentionDays),
|
|
5870
|
+
CopyTagsToBackups: smithy_client_1.expectBoolean(output.CopyTagsToBackups),
|
|
5871
|
+
CopyTagsToVolumes: smithy_client_1.expectBoolean(output.CopyTagsToVolumes),
|
|
5872
|
+
DailyAutomaticBackupStartTime: smithy_client_1.expectString(output.DailyAutomaticBackupStartTime),
|
|
5873
|
+
DeploymentType: smithy_client_1.expectString(output.DeploymentType),
|
|
5874
|
+
DiskIopsConfiguration: output.DiskIopsConfiguration !== undefined && output.DiskIopsConfiguration !== null
|
|
5875
|
+
? deserializeAws_json1_1DiskIopsConfiguration(output.DiskIopsConfiguration, context)
|
|
5876
|
+
: undefined,
|
|
5877
|
+
RootVolumeId: smithy_client_1.expectString(output.RootVolumeId),
|
|
5878
|
+
ThroughputCapacity: smithy_client_1.expectInt32(output.ThroughputCapacity),
|
|
5879
|
+
WeeklyMaintenanceStartTime: smithy_client_1.expectString(output.WeeklyMaintenanceStartTime),
|
|
5880
|
+
};
|
|
5881
|
+
};
|
|
5882
|
+
const deserializeAws_json1_1OpenZFSNfsExport = (output, context) => {
|
|
5883
|
+
return {
|
|
5884
|
+
ClientConfigurations: output.ClientConfigurations !== undefined && output.ClientConfigurations !== null
|
|
5885
|
+
? deserializeAws_json1_1OpenZFSClientConfigurations(output.ClientConfigurations, context)
|
|
5886
|
+
: undefined,
|
|
5887
|
+
};
|
|
5888
|
+
};
|
|
5889
|
+
const deserializeAws_json1_1OpenZFSNfsExportOptions = (output, context) => {
|
|
5890
|
+
return (output || [])
|
|
5891
|
+
.filter((e) => e != null)
|
|
5892
|
+
.map((entry) => {
|
|
5893
|
+
if (entry === null) {
|
|
5894
|
+
return null;
|
|
5895
|
+
}
|
|
5896
|
+
return smithy_client_1.expectString(entry);
|
|
5897
|
+
});
|
|
5898
|
+
};
|
|
5899
|
+
const deserializeAws_json1_1OpenZFSNfsExports = (output, context) => {
|
|
5900
|
+
return (output || [])
|
|
5901
|
+
.filter((e) => e != null)
|
|
5902
|
+
.map((entry) => {
|
|
5903
|
+
if (entry === null) {
|
|
5904
|
+
return null;
|
|
5905
|
+
}
|
|
5906
|
+
return deserializeAws_json1_1OpenZFSNfsExport(entry, context);
|
|
5907
|
+
});
|
|
5908
|
+
};
|
|
5909
|
+
const deserializeAws_json1_1OpenZFSOriginSnapshotConfiguration = (output, context) => {
|
|
5910
|
+
return {
|
|
5911
|
+
CopyStrategy: smithy_client_1.expectString(output.CopyStrategy),
|
|
5912
|
+
SnapshotARN: smithy_client_1.expectString(output.SnapshotARN),
|
|
5913
|
+
};
|
|
5914
|
+
};
|
|
5915
|
+
const deserializeAws_json1_1OpenZFSUserAndGroupQuotas = (output, context) => {
|
|
5916
|
+
return (output || [])
|
|
5917
|
+
.filter((e) => e != null)
|
|
5918
|
+
.map((entry) => {
|
|
5919
|
+
if (entry === null) {
|
|
5920
|
+
return null;
|
|
5921
|
+
}
|
|
5922
|
+
return deserializeAws_json1_1OpenZFSUserOrGroupQuota(entry, context);
|
|
5923
|
+
});
|
|
5924
|
+
};
|
|
5925
|
+
const deserializeAws_json1_1OpenZFSUserOrGroupQuota = (output, context) => {
|
|
5926
|
+
return {
|
|
5927
|
+
Id: smithy_client_1.expectInt32(output.Id),
|
|
5928
|
+
StorageCapacityQuotaGiB: smithy_client_1.expectInt32(output.StorageCapacityQuotaGiB),
|
|
5929
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
5930
|
+
};
|
|
5931
|
+
};
|
|
5932
|
+
const deserializeAws_json1_1OpenZFSVolumeConfiguration = (output, context) => {
|
|
5933
|
+
return {
|
|
5934
|
+
CopyTagsToSnapshots: smithy_client_1.expectBoolean(output.CopyTagsToSnapshots),
|
|
5935
|
+
DataCompressionType: smithy_client_1.expectString(output.DataCompressionType),
|
|
5936
|
+
NfsExports: output.NfsExports !== undefined && output.NfsExports !== null
|
|
5937
|
+
? deserializeAws_json1_1OpenZFSNfsExports(output.NfsExports, context)
|
|
5938
|
+
: undefined,
|
|
5939
|
+
OriginSnapshot: output.OriginSnapshot !== undefined && output.OriginSnapshot !== null
|
|
5940
|
+
? deserializeAws_json1_1OpenZFSOriginSnapshotConfiguration(output.OriginSnapshot, context)
|
|
5941
|
+
: undefined,
|
|
5942
|
+
ParentVolumeId: smithy_client_1.expectString(output.ParentVolumeId),
|
|
5943
|
+
ReadOnly: smithy_client_1.expectBoolean(output.ReadOnly),
|
|
5944
|
+
StorageCapacityQuotaGiB: smithy_client_1.expectInt32(output.StorageCapacityQuotaGiB),
|
|
5945
|
+
StorageCapacityReservationGiB: smithy_client_1.expectInt32(output.StorageCapacityReservationGiB),
|
|
5946
|
+
UserAndGroupQuotas: output.UserAndGroupQuotas !== undefined && output.UserAndGroupQuotas !== null
|
|
5947
|
+
? deserializeAws_json1_1OpenZFSUserAndGroupQuotas(output.UserAndGroupQuotas, context)
|
|
5948
|
+
: undefined,
|
|
5949
|
+
VolumePath: smithy_client_1.expectString(output.VolumePath),
|
|
5950
|
+
};
|
|
5951
|
+
};
|
|
5952
|
+
const deserializeAws_json1_1ReleaseFileSystemNfsV3LocksResponse = (output, context) => {
|
|
5953
|
+
return {
|
|
5954
|
+
FileSystem: output.FileSystem !== undefined && output.FileSystem !== null
|
|
5955
|
+
? deserializeAws_json1_1FileSystem(output.FileSystem, context)
|
|
5956
|
+
: undefined,
|
|
5957
|
+
};
|
|
5958
|
+
};
|
|
4412
5959
|
const deserializeAws_json1_1ResourceDoesNotSupportTagging = (output, context) => {
|
|
4413
5960
|
return {
|
|
4414
5961
|
Message: smithy_client_1.expectString(output.Message),
|
|
@@ -4421,6 +5968,12 @@ const deserializeAws_json1_1ResourceNotFound = (output, context) => {
|
|
|
4421
5968
|
ResourceARN: smithy_client_1.expectString(output.ResourceARN),
|
|
4422
5969
|
};
|
|
4423
5970
|
};
|
|
5971
|
+
const deserializeAws_json1_1RestoreVolumeFromSnapshotResponse = (output, context) => {
|
|
5972
|
+
return {
|
|
5973
|
+
Lifecycle: smithy_client_1.expectString(output.Lifecycle),
|
|
5974
|
+
VolumeId: smithy_client_1.expectString(output.VolumeId),
|
|
5975
|
+
};
|
|
5976
|
+
};
|
|
4424
5977
|
const deserializeAws_json1_1RouteTableIds = (output, context) => {
|
|
4425
5978
|
return (output || [])
|
|
4426
5979
|
.filter((e) => e != null)
|
|
@@ -4431,6 +5984,16 @@ const deserializeAws_json1_1RouteTableIds = (output, context) => {
|
|
|
4431
5984
|
return smithy_client_1.expectString(entry);
|
|
4432
5985
|
});
|
|
4433
5986
|
};
|
|
5987
|
+
const deserializeAws_json1_1S3DataRepositoryConfiguration = (output, context) => {
|
|
5988
|
+
return {
|
|
5989
|
+
AutoExportPolicy: output.AutoExportPolicy !== undefined && output.AutoExportPolicy !== null
|
|
5990
|
+
? deserializeAws_json1_1AutoExportPolicy(output.AutoExportPolicy, context)
|
|
5991
|
+
: undefined,
|
|
5992
|
+
AutoImportPolicy: output.AutoImportPolicy !== undefined && output.AutoImportPolicy !== null
|
|
5993
|
+
? deserializeAws_json1_1AutoImportPolicy(output.AutoImportPolicy, context)
|
|
5994
|
+
: undefined,
|
|
5995
|
+
};
|
|
5996
|
+
};
|
|
4434
5997
|
const deserializeAws_json1_1SelfManagedActiveDirectoryAttributes = (output, context) => {
|
|
4435
5998
|
return {
|
|
4436
5999
|
DnsIps: output.DnsIps !== undefined && output.DnsIps !== null
|
|
@@ -4448,6 +6011,37 @@ const deserializeAws_json1_1ServiceLimitExceeded = (output, context) => {
|
|
|
4448
6011
|
Message: smithy_client_1.expectString(output.Message),
|
|
4449
6012
|
};
|
|
4450
6013
|
};
|
|
6014
|
+
const deserializeAws_json1_1Snapshot = (output, context) => {
|
|
6015
|
+
return {
|
|
6016
|
+
AdministrativeActions: output.AdministrativeActions !== undefined && output.AdministrativeActions !== null
|
|
6017
|
+
? deserializeAws_json1_1AdministrativeActions(output.AdministrativeActions, context)
|
|
6018
|
+
: undefined,
|
|
6019
|
+
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
6020
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
6021
|
+
: undefined,
|
|
6022
|
+
Lifecycle: smithy_client_1.expectString(output.Lifecycle),
|
|
6023
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
6024
|
+
ResourceARN: smithy_client_1.expectString(output.ResourceARN),
|
|
6025
|
+
SnapshotId: smithy_client_1.expectString(output.SnapshotId),
|
|
6026
|
+
Tags: output.Tags !== undefined && output.Tags !== null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
6027
|
+
VolumeId: smithy_client_1.expectString(output.VolumeId),
|
|
6028
|
+
};
|
|
6029
|
+
};
|
|
6030
|
+
const deserializeAws_json1_1SnapshotNotFound = (output, context) => {
|
|
6031
|
+
return {
|
|
6032
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
6033
|
+
};
|
|
6034
|
+
};
|
|
6035
|
+
const deserializeAws_json1_1Snapshots = (output, context) => {
|
|
6036
|
+
return (output || [])
|
|
6037
|
+
.filter((e) => e != null)
|
|
6038
|
+
.map((entry) => {
|
|
6039
|
+
if (entry === null) {
|
|
6040
|
+
return null;
|
|
6041
|
+
}
|
|
6042
|
+
return deserializeAws_json1_1Snapshot(entry, context);
|
|
6043
|
+
});
|
|
6044
|
+
};
|
|
4451
6045
|
const deserializeAws_json1_1SourceBackupUnavailable = (output, context) => {
|
|
4452
6046
|
return {
|
|
4453
6047
|
BackupId: smithy_client_1.expectString(output.BackupId),
|
|
@@ -4570,6 +6164,13 @@ const deserializeAws_json1_1UnsupportedOperation = (output, context) => {
|
|
|
4570
6164
|
const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
|
|
4571
6165
|
return {};
|
|
4572
6166
|
};
|
|
6167
|
+
const deserializeAws_json1_1UpdateDataRepositoryAssociationResponse = (output, context) => {
|
|
6168
|
+
return {
|
|
6169
|
+
Association: output.Association !== undefined && output.Association !== null
|
|
6170
|
+
? deserializeAws_json1_1DataRepositoryAssociation(output.Association, context)
|
|
6171
|
+
: undefined,
|
|
6172
|
+
};
|
|
6173
|
+
};
|
|
4573
6174
|
const deserializeAws_json1_1UpdateFileSystemResponse = (output, context) => {
|
|
4574
6175
|
return {
|
|
4575
6176
|
FileSystem: output.FileSystem !== undefined && output.FileSystem !== null
|
|
@@ -4577,6 +6178,13 @@ const deserializeAws_json1_1UpdateFileSystemResponse = (output, context) => {
|
|
|
4577
6178
|
: undefined,
|
|
4578
6179
|
};
|
|
4579
6180
|
};
|
|
6181
|
+
const deserializeAws_json1_1UpdateSnapshotResponse = (output, context) => {
|
|
6182
|
+
return {
|
|
6183
|
+
Snapshot: output.Snapshot !== undefined && output.Snapshot !== null
|
|
6184
|
+
? deserializeAws_json1_1Snapshot(output.Snapshot, context)
|
|
6185
|
+
: undefined,
|
|
6186
|
+
};
|
|
6187
|
+
};
|
|
4580
6188
|
const deserializeAws_json1_1UpdateStorageVirtualMachineResponse = (output, context) => {
|
|
4581
6189
|
return {
|
|
4582
6190
|
StorageVirtualMachine: output.StorageVirtualMachine !== undefined && output.StorageVirtualMachine !== null
|
|
@@ -4593,6 +6201,9 @@ const deserializeAws_json1_1UpdateVolumeResponse = (output, context) => {
|
|
|
4593
6201
|
};
|
|
4594
6202
|
const deserializeAws_json1_1Volume = (output, context) => {
|
|
4595
6203
|
return {
|
|
6204
|
+
AdministrativeActions: output.AdministrativeActions !== undefined && output.AdministrativeActions !== null
|
|
6205
|
+
? deserializeAws_json1_1AdministrativeActions(output.AdministrativeActions, context)
|
|
6206
|
+
: undefined,
|
|
4596
6207
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
4597
6208
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
4598
6209
|
: undefined,
|
|
@@ -4605,6 +6216,9 @@ const deserializeAws_json1_1Volume = (output, context) => {
|
|
|
4605
6216
|
OntapConfiguration: output.OntapConfiguration !== undefined && output.OntapConfiguration !== null
|
|
4606
6217
|
? deserializeAws_json1_1OntapVolumeConfiguration(output.OntapConfiguration, context)
|
|
4607
6218
|
: undefined,
|
|
6219
|
+
OpenZFSConfiguration: output.OpenZFSConfiguration !== undefined && output.OpenZFSConfiguration !== null
|
|
6220
|
+
? deserializeAws_json1_1OpenZFSVolumeConfiguration(output.OpenZFSConfiguration, context)
|
|
6221
|
+
: undefined,
|
|
4608
6222
|
ResourceARN: smithy_client_1.expectString(output.ResourceARN),
|
|
4609
6223
|
Tags: output.Tags !== undefined && output.Tags !== null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
4610
6224
|
VolumeId: smithy_client_1.expectString(output.VolumeId),
|