@aws-sdk/client-fsx 3.310.0 → 3.315.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/dist-cjs/protocols/Aws_json1_1.js +711 -2641
- package/dist-es/protocols/Aws_json1_1.js +712 -2642
- package/package.json +6 -6
|
@@ -8,410 +8,287 @@ const uuid_1 = require("uuid");
|
|
|
8
8
|
const FSxServiceException_1 = require("../models/FSxServiceException");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const se_AssociateFileSystemAliasesCommand = async (input, context) => {
|
|
11
|
-
const headers =
|
|
12
|
-
"content-type": "application/x-amz-json-1.1",
|
|
13
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.AssociateFileSystemAliases",
|
|
14
|
-
};
|
|
11
|
+
const headers = sharedHeaders("AssociateFileSystemAliases");
|
|
15
12
|
let body;
|
|
16
13
|
body = JSON.stringify(se_AssociateFileSystemAliasesRequest(input, context));
|
|
17
14
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
18
15
|
};
|
|
19
16
|
exports.se_AssociateFileSystemAliasesCommand = se_AssociateFileSystemAliasesCommand;
|
|
20
17
|
const se_CancelDataRepositoryTaskCommand = async (input, context) => {
|
|
21
|
-
const headers =
|
|
22
|
-
"content-type": "application/x-amz-json-1.1",
|
|
23
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.CancelDataRepositoryTask",
|
|
24
|
-
};
|
|
18
|
+
const headers = sharedHeaders("CancelDataRepositoryTask");
|
|
25
19
|
let body;
|
|
26
|
-
body = JSON.stringify(
|
|
20
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
27
21
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
28
22
|
};
|
|
29
23
|
exports.se_CancelDataRepositoryTaskCommand = se_CancelDataRepositoryTaskCommand;
|
|
30
24
|
const se_CopyBackupCommand = async (input, context) => {
|
|
31
|
-
const headers =
|
|
32
|
-
"content-type": "application/x-amz-json-1.1",
|
|
33
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.CopyBackup",
|
|
34
|
-
};
|
|
25
|
+
const headers = sharedHeaders("CopyBackup");
|
|
35
26
|
let body;
|
|
36
27
|
body = JSON.stringify(se_CopyBackupRequest(input, context));
|
|
37
28
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
38
29
|
};
|
|
39
30
|
exports.se_CopyBackupCommand = se_CopyBackupCommand;
|
|
40
31
|
const se_CreateBackupCommand = async (input, context) => {
|
|
41
|
-
const headers =
|
|
42
|
-
"content-type": "application/x-amz-json-1.1",
|
|
43
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.CreateBackup",
|
|
44
|
-
};
|
|
32
|
+
const headers = sharedHeaders("CreateBackup");
|
|
45
33
|
let body;
|
|
46
34
|
body = JSON.stringify(se_CreateBackupRequest(input, context));
|
|
47
35
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
48
36
|
};
|
|
49
37
|
exports.se_CreateBackupCommand = se_CreateBackupCommand;
|
|
50
38
|
const se_CreateDataRepositoryAssociationCommand = async (input, context) => {
|
|
51
|
-
const headers =
|
|
52
|
-
"content-type": "application/x-amz-json-1.1",
|
|
53
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.CreateDataRepositoryAssociation",
|
|
54
|
-
};
|
|
39
|
+
const headers = sharedHeaders("CreateDataRepositoryAssociation");
|
|
55
40
|
let body;
|
|
56
41
|
body = JSON.stringify(se_CreateDataRepositoryAssociationRequest(input, context));
|
|
57
42
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
58
43
|
};
|
|
59
44
|
exports.se_CreateDataRepositoryAssociationCommand = se_CreateDataRepositoryAssociationCommand;
|
|
60
45
|
const se_CreateDataRepositoryTaskCommand = async (input, context) => {
|
|
61
|
-
const headers =
|
|
62
|
-
"content-type": "application/x-amz-json-1.1",
|
|
63
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.CreateDataRepositoryTask",
|
|
64
|
-
};
|
|
46
|
+
const headers = sharedHeaders("CreateDataRepositoryTask");
|
|
65
47
|
let body;
|
|
66
48
|
body = JSON.stringify(se_CreateDataRepositoryTaskRequest(input, context));
|
|
67
49
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
68
50
|
};
|
|
69
51
|
exports.se_CreateDataRepositoryTaskCommand = se_CreateDataRepositoryTaskCommand;
|
|
70
52
|
const se_CreateFileCacheCommand = async (input, context) => {
|
|
71
|
-
const headers =
|
|
72
|
-
"content-type": "application/x-amz-json-1.1",
|
|
73
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.CreateFileCache",
|
|
74
|
-
};
|
|
53
|
+
const headers = sharedHeaders("CreateFileCache");
|
|
75
54
|
let body;
|
|
76
55
|
body = JSON.stringify(se_CreateFileCacheRequest(input, context));
|
|
77
56
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
78
57
|
};
|
|
79
58
|
exports.se_CreateFileCacheCommand = se_CreateFileCacheCommand;
|
|
80
59
|
const se_CreateFileSystemCommand = async (input, context) => {
|
|
81
|
-
const headers =
|
|
82
|
-
"content-type": "application/x-amz-json-1.1",
|
|
83
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.CreateFileSystem",
|
|
84
|
-
};
|
|
60
|
+
const headers = sharedHeaders("CreateFileSystem");
|
|
85
61
|
let body;
|
|
86
62
|
body = JSON.stringify(se_CreateFileSystemRequest(input, context));
|
|
87
63
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
88
64
|
};
|
|
89
65
|
exports.se_CreateFileSystemCommand = se_CreateFileSystemCommand;
|
|
90
66
|
const se_CreateFileSystemFromBackupCommand = async (input, context) => {
|
|
91
|
-
const headers =
|
|
92
|
-
"content-type": "application/x-amz-json-1.1",
|
|
93
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.CreateFileSystemFromBackup",
|
|
94
|
-
};
|
|
67
|
+
const headers = sharedHeaders("CreateFileSystemFromBackup");
|
|
95
68
|
let body;
|
|
96
69
|
body = JSON.stringify(se_CreateFileSystemFromBackupRequest(input, context));
|
|
97
70
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
98
71
|
};
|
|
99
72
|
exports.se_CreateFileSystemFromBackupCommand = se_CreateFileSystemFromBackupCommand;
|
|
100
73
|
const se_CreateSnapshotCommand = async (input, context) => {
|
|
101
|
-
const headers =
|
|
102
|
-
"content-type": "application/x-amz-json-1.1",
|
|
103
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.CreateSnapshot",
|
|
104
|
-
};
|
|
74
|
+
const headers = sharedHeaders("CreateSnapshot");
|
|
105
75
|
let body;
|
|
106
76
|
body = JSON.stringify(se_CreateSnapshotRequest(input, context));
|
|
107
77
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
108
78
|
};
|
|
109
79
|
exports.se_CreateSnapshotCommand = se_CreateSnapshotCommand;
|
|
110
80
|
const se_CreateStorageVirtualMachineCommand = async (input, context) => {
|
|
111
|
-
const headers =
|
|
112
|
-
"content-type": "application/x-amz-json-1.1",
|
|
113
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.CreateStorageVirtualMachine",
|
|
114
|
-
};
|
|
81
|
+
const headers = sharedHeaders("CreateStorageVirtualMachine");
|
|
115
82
|
let body;
|
|
116
83
|
body = JSON.stringify(se_CreateStorageVirtualMachineRequest(input, context));
|
|
117
84
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
118
85
|
};
|
|
119
86
|
exports.se_CreateStorageVirtualMachineCommand = se_CreateStorageVirtualMachineCommand;
|
|
120
87
|
const se_CreateVolumeCommand = async (input, context) => {
|
|
121
|
-
const headers =
|
|
122
|
-
"content-type": "application/x-amz-json-1.1",
|
|
123
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.CreateVolume",
|
|
124
|
-
};
|
|
88
|
+
const headers = sharedHeaders("CreateVolume");
|
|
125
89
|
let body;
|
|
126
90
|
body = JSON.stringify(se_CreateVolumeRequest(input, context));
|
|
127
91
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
128
92
|
};
|
|
129
93
|
exports.se_CreateVolumeCommand = se_CreateVolumeCommand;
|
|
130
94
|
const se_CreateVolumeFromBackupCommand = async (input, context) => {
|
|
131
|
-
const headers =
|
|
132
|
-
"content-type": "application/x-amz-json-1.1",
|
|
133
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.CreateVolumeFromBackup",
|
|
134
|
-
};
|
|
95
|
+
const headers = sharedHeaders("CreateVolumeFromBackup");
|
|
135
96
|
let body;
|
|
136
97
|
body = JSON.stringify(se_CreateVolumeFromBackupRequest(input, context));
|
|
137
98
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
138
99
|
};
|
|
139
100
|
exports.se_CreateVolumeFromBackupCommand = se_CreateVolumeFromBackupCommand;
|
|
140
101
|
const se_DeleteBackupCommand = async (input, context) => {
|
|
141
|
-
const headers =
|
|
142
|
-
"content-type": "application/x-amz-json-1.1",
|
|
143
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.DeleteBackup",
|
|
144
|
-
};
|
|
102
|
+
const headers = sharedHeaders("DeleteBackup");
|
|
145
103
|
let body;
|
|
146
104
|
body = JSON.stringify(se_DeleteBackupRequest(input, context));
|
|
147
105
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
148
106
|
};
|
|
149
107
|
exports.se_DeleteBackupCommand = se_DeleteBackupCommand;
|
|
150
108
|
const se_DeleteDataRepositoryAssociationCommand = async (input, context) => {
|
|
151
|
-
const headers =
|
|
152
|
-
"content-type": "application/x-amz-json-1.1",
|
|
153
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.DeleteDataRepositoryAssociation",
|
|
154
|
-
};
|
|
109
|
+
const headers = sharedHeaders("DeleteDataRepositoryAssociation");
|
|
155
110
|
let body;
|
|
156
111
|
body = JSON.stringify(se_DeleteDataRepositoryAssociationRequest(input, context));
|
|
157
112
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
158
113
|
};
|
|
159
114
|
exports.se_DeleteDataRepositoryAssociationCommand = se_DeleteDataRepositoryAssociationCommand;
|
|
160
115
|
const se_DeleteFileCacheCommand = async (input, context) => {
|
|
161
|
-
const headers =
|
|
162
|
-
"content-type": "application/x-amz-json-1.1",
|
|
163
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.DeleteFileCache",
|
|
164
|
-
};
|
|
116
|
+
const headers = sharedHeaders("DeleteFileCache");
|
|
165
117
|
let body;
|
|
166
118
|
body = JSON.stringify(se_DeleteFileCacheRequest(input, context));
|
|
167
119
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
168
120
|
};
|
|
169
121
|
exports.se_DeleteFileCacheCommand = se_DeleteFileCacheCommand;
|
|
170
122
|
const se_DeleteFileSystemCommand = async (input, context) => {
|
|
171
|
-
const headers =
|
|
172
|
-
"content-type": "application/x-amz-json-1.1",
|
|
173
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.DeleteFileSystem",
|
|
174
|
-
};
|
|
123
|
+
const headers = sharedHeaders("DeleteFileSystem");
|
|
175
124
|
let body;
|
|
176
125
|
body = JSON.stringify(se_DeleteFileSystemRequest(input, context));
|
|
177
126
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
178
127
|
};
|
|
179
128
|
exports.se_DeleteFileSystemCommand = se_DeleteFileSystemCommand;
|
|
180
129
|
const se_DeleteSnapshotCommand = async (input, context) => {
|
|
181
|
-
const headers =
|
|
182
|
-
"content-type": "application/x-amz-json-1.1",
|
|
183
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.DeleteSnapshot",
|
|
184
|
-
};
|
|
130
|
+
const headers = sharedHeaders("DeleteSnapshot");
|
|
185
131
|
let body;
|
|
186
132
|
body = JSON.stringify(se_DeleteSnapshotRequest(input, context));
|
|
187
133
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
188
134
|
};
|
|
189
135
|
exports.se_DeleteSnapshotCommand = se_DeleteSnapshotCommand;
|
|
190
136
|
const se_DeleteStorageVirtualMachineCommand = async (input, context) => {
|
|
191
|
-
const headers =
|
|
192
|
-
"content-type": "application/x-amz-json-1.1",
|
|
193
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.DeleteStorageVirtualMachine",
|
|
194
|
-
};
|
|
137
|
+
const headers = sharedHeaders("DeleteStorageVirtualMachine");
|
|
195
138
|
let body;
|
|
196
139
|
body = JSON.stringify(se_DeleteStorageVirtualMachineRequest(input, context));
|
|
197
140
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
198
141
|
};
|
|
199
142
|
exports.se_DeleteStorageVirtualMachineCommand = se_DeleteStorageVirtualMachineCommand;
|
|
200
143
|
const se_DeleteVolumeCommand = async (input, context) => {
|
|
201
|
-
const headers =
|
|
202
|
-
"content-type": "application/x-amz-json-1.1",
|
|
203
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.DeleteVolume",
|
|
204
|
-
};
|
|
144
|
+
const headers = sharedHeaders("DeleteVolume");
|
|
205
145
|
let body;
|
|
206
146
|
body = JSON.stringify(se_DeleteVolumeRequest(input, context));
|
|
207
147
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
208
148
|
};
|
|
209
149
|
exports.se_DeleteVolumeCommand = se_DeleteVolumeCommand;
|
|
210
150
|
const se_DescribeBackupsCommand = async (input, context) => {
|
|
211
|
-
const headers =
|
|
212
|
-
"content-type": "application/x-amz-json-1.1",
|
|
213
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.DescribeBackups",
|
|
214
|
-
};
|
|
151
|
+
const headers = sharedHeaders("DescribeBackups");
|
|
215
152
|
let body;
|
|
216
|
-
body = JSON.stringify(
|
|
153
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
217
154
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
218
155
|
};
|
|
219
156
|
exports.se_DescribeBackupsCommand = se_DescribeBackupsCommand;
|
|
220
157
|
const se_DescribeDataRepositoryAssociationsCommand = async (input, context) => {
|
|
221
|
-
const headers =
|
|
222
|
-
"content-type": "application/x-amz-json-1.1",
|
|
223
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.DescribeDataRepositoryAssociations",
|
|
224
|
-
};
|
|
158
|
+
const headers = sharedHeaders("DescribeDataRepositoryAssociations");
|
|
225
159
|
let body;
|
|
226
|
-
body = JSON.stringify(
|
|
160
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
227
161
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
228
162
|
};
|
|
229
163
|
exports.se_DescribeDataRepositoryAssociationsCommand = se_DescribeDataRepositoryAssociationsCommand;
|
|
230
164
|
const se_DescribeDataRepositoryTasksCommand = async (input, context) => {
|
|
231
|
-
const headers =
|
|
232
|
-
"content-type": "application/x-amz-json-1.1",
|
|
233
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.DescribeDataRepositoryTasks",
|
|
234
|
-
};
|
|
165
|
+
const headers = sharedHeaders("DescribeDataRepositoryTasks");
|
|
235
166
|
let body;
|
|
236
|
-
body = JSON.stringify(
|
|
167
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
237
168
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
238
169
|
};
|
|
239
170
|
exports.se_DescribeDataRepositoryTasksCommand = se_DescribeDataRepositoryTasksCommand;
|
|
240
171
|
const se_DescribeFileCachesCommand = async (input, context) => {
|
|
241
|
-
const headers =
|
|
242
|
-
"content-type": "application/x-amz-json-1.1",
|
|
243
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.DescribeFileCaches",
|
|
244
|
-
};
|
|
172
|
+
const headers = sharedHeaders("DescribeFileCaches");
|
|
245
173
|
let body;
|
|
246
|
-
body = JSON.stringify(
|
|
174
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
247
175
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
248
176
|
};
|
|
249
177
|
exports.se_DescribeFileCachesCommand = se_DescribeFileCachesCommand;
|
|
250
178
|
const se_DescribeFileSystemAliasesCommand = async (input, context) => {
|
|
251
|
-
const headers =
|
|
252
|
-
"content-type": "application/x-amz-json-1.1",
|
|
253
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.DescribeFileSystemAliases",
|
|
254
|
-
};
|
|
179
|
+
const headers = sharedHeaders("DescribeFileSystemAliases");
|
|
255
180
|
let body;
|
|
256
181
|
body = JSON.stringify(se_DescribeFileSystemAliasesRequest(input, context));
|
|
257
182
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
258
183
|
};
|
|
259
184
|
exports.se_DescribeFileSystemAliasesCommand = se_DescribeFileSystemAliasesCommand;
|
|
260
185
|
const se_DescribeFileSystemsCommand = async (input, context) => {
|
|
261
|
-
const headers =
|
|
262
|
-
"content-type": "application/x-amz-json-1.1",
|
|
263
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.DescribeFileSystems",
|
|
264
|
-
};
|
|
186
|
+
const headers = sharedHeaders("DescribeFileSystems");
|
|
265
187
|
let body;
|
|
266
|
-
body = JSON.stringify(
|
|
188
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
267
189
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
268
190
|
};
|
|
269
191
|
exports.se_DescribeFileSystemsCommand = se_DescribeFileSystemsCommand;
|
|
270
192
|
const se_DescribeSnapshotsCommand = async (input, context) => {
|
|
271
|
-
const headers =
|
|
272
|
-
"content-type": "application/x-amz-json-1.1",
|
|
273
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.DescribeSnapshots",
|
|
274
|
-
};
|
|
193
|
+
const headers = sharedHeaders("DescribeSnapshots");
|
|
275
194
|
let body;
|
|
276
|
-
body = JSON.stringify(
|
|
195
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
277
196
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
278
197
|
};
|
|
279
198
|
exports.se_DescribeSnapshotsCommand = se_DescribeSnapshotsCommand;
|
|
280
199
|
const se_DescribeStorageVirtualMachinesCommand = async (input, context) => {
|
|
281
|
-
const headers =
|
|
282
|
-
"content-type": "application/x-amz-json-1.1",
|
|
283
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.DescribeStorageVirtualMachines",
|
|
284
|
-
};
|
|
200
|
+
const headers = sharedHeaders("DescribeStorageVirtualMachines");
|
|
285
201
|
let body;
|
|
286
|
-
body = JSON.stringify(
|
|
202
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
287
203
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
288
204
|
};
|
|
289
205
|
exports.se_DescribeStorageVirtualMachinesCommand = se_DescribeStorageVirtualMachinesCommand;
|
|
290
206
|
const se_DescribeVolumesCommand = async (input, context) => {
|
|
291
|
-
const headers =
|
|
292
|
-
"content-type": "application/x-amz-json-1.1",
|
|
293
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.DescribeVolumes",
|
|
294
|
-
};
|
|
207
|
+
const headers = sharedHeaders("DescribeVolumes");
|
|
295
208
|
let body;
|
|
296
|
-
body = JSON.stringify(
|
|
209
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
297
210
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
298
211
|
};
|
|
299
212
|
exports.se_DescribeVolumesCommand = se_DescribeVolumesCommand;
|
|
300
213
|
const se_DisassociateFileSystemAliasesCommand = async (input, context) => {
|
|
301
|
-
const headers =
|
|
302
|
-
"content-type": "application/x-amz-json-1.1",
|
|
303
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.DisassociateFileSystemAliases",
|
|
304
|
-
};
|
|
214
|
+
const headers = sharedHeaders("DisassociateFileSystemAliases");
|
|
305
215
|
let body;
|
|
306
216
|
body = JSON.stringify(se_DisassociateFileSystemAliasesRequest(input, context));
|
|
307
217
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
308
218
|
};
|
|
309
219
|
exports.se_DisassociateFileSystemAliasesCommand = se_DisassociateFileSystemAliasesCommand;
|
|
310
220
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
311
|
-
const headers =
|
|
312
|
-
"content-type": "application/x-amz-json-1.1",
|
|
313
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.ListTagsForResource",
|
|
314
|
-
};
|
|
221
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
315
222
|
let body;
|
|
316
|
-
body = JSON.stringify(
|
|
223
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
317
224
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
318
225
|
};
|
|
319
226
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
320
227
|
const se_ReleaseFileSystemNfsV3LocksCommand = async (input, context) => {
|
|
321
|
-
const headers =
|
|
322
|
-
"content-type": "application/x-amz-json-1.1",
|
|
323
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.ReleaseFileSystemNfsV3Locks",
|
|
324
|
-
};
|
|
228
|
+
const headers = sharedHeaders("ReleaseFileSystemNfsV3Locks");
|
|
325
229
|
let body;
|
|
326
230
|
body = JSON.stringify(se_ReleaseFileSystemNfsV3LocksRequest(input, context));
|
|
327
231
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
328
232
|
};
|
|
329
233
|
exports.se_ReleaseFileSystemNfsV3LocksCommand = se_ReleaseFileSystemNfsV3LocksCommand;
|
|
330
234
|
const se_RestoreVolumeFromSnapshotCommand = async (input, context) => {
|
|
331
|
-
const headers =
|
|
332
|
-
"content-type": "application/x-amz-json-1.1",
|
|
333
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.RestoreVolumeFromSnapshot",
|
|
334
|
-
};
|
|
235
|
+
const headers = sharedHeaders("RestoreVolumeFromSnapshot");
|
|
335
236
|
let body;
|
|
336
237
|
body = JSON.stringify(se_RestoreVolumeFromSnapshotRequest(input, context));
|
|
337
238
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
338
239
|
};
|
|
339
240
|
exports.se_RestoreVolumeFromSnapshotCommand = se_RestoreVolumeFromSnapshotCommand;
|
|
340
241
|
const se_TagResourceCommand = async (input, context) => {
|
|
341
|
-
const headers =
|
|
342
|
-
"content-type": "application/x-amz-json-1.1",
|
|
343
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.TagResource",
|
|
344
|
-
};
|
|
242
|
+
const headers = sharedHeaders("TagResource");
|
|
345
243
|
let body;
|
|
346
|
-
body = JSON.stringify(
|
|
244
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
347
245
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
348
246
|
};
|
|
349
247
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
350
248
|
const se_UntagResourceCommand = async (input, context) => {
|
|
351
|
-
const headers =
|
|
352
|
-
"content-type": "application/x-amz-json-1.1",
|
|
353
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.UntagResource",
|
|
354
|
-
};
|
|
249
|
+
const headers = sharedHeaders("UntagResource");
|
|
355
250
|
let body;
|
|
356
|
-
body = JSON.stringify(
|
|
251
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
357
252
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
358
253
|
};
|
|
359
254
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
360
255
|
const se_UpdateDataRepositoryAssociationCommand = async (input, context) => {
|
|
361
|
-
const headers =
|
|
362
|
-
"content-type": "application/x-amz-json-1.1",
|
|
363
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.UpdateDataRepositoryAssociation",
|
|
364
|
-
};
|
|
256
|
+
const headers = sharedHeaders("UpdateDataRepositoryAssociation");
|
|
365
257
|
let body;
|
|
366
258
|
body = JSON.stringify(se_UpdateDataRepositoryAssociationRequest(input, context));
|
|
367
259
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
368
260
|
};
|
|
369
261
|
exports.se_UpdateDataRepositoryAssociationCommand = se_UpdateDataRepositoryAssociationCommand;
|
|
370
262
|
const se_UpdateFileCacheCommand = async (input, context) => {
|
|
371
|
-
const headers =
|
|
372
|
-
"content-type": "application/x-amz-json-1.1",
|
|
373
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.UpdateFileCache",
|
|
374
|
-
};
|
|
263
|
+
const headers = sharedHeaders("UpdateFileCache");
|
|
375
264
|
let body;
|
|
376
265
|
body = JSON.stringify(se_UpdateFileCacheRequest(input, context));
|
|
377
266
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
378
267
|
};
|
|
379
268
|
exports.se_UpdateFileCacheCommand = se_UpdateFileCacheCommand;
|
|
380
269
|
const se_UpdateFileSystemCommand = async (input, context) => {
|
|
381
|
-
const headers =
|
|
382
|
-
"content-type": "application/x-amz-json-1.1",
|
|
383
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.UpdateFileSystem",
|
|
384
|
-
};
|
|
270
|
+
const headers = sharedHeaders("UpdateFileSystem");
|
|
385
271
|
let body;
|
|
386
272
|
body = JSON.stringify(se_UpdateFileSystemRequest(input, context));
|
|
387
273
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
388
274
|
};
|
|
389
275
|
exports.se_UpdateFileSystemCommand = se_UpdateFileSystemCommand;
|
|
390
276
|
const se_UpdateSnapshotCommand = async (input, context) => {
|
|
391
|
-
const headers =
|
|
392
|
-
"content-type": "application/x-amz-json-1.1",
|
|
393
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.UpdateSnapshot",
|
|
394
|
-
};
|
|
277
|
+
const headers = sharedHeaders("UpdateSnapshot");
|
|
395
278
|
let body;
|
|
396
279
|
body = JSON.stringify(se_UpdateSnapshotRequest(input, context));
|
|
397
280
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
398
281
|
};
|
|
399
282
|
exports.se_UpdateSnapshotCommand = se_UpdateSnapshotCommand;
|
|
400
283
|
const se_UpdateStorageVirtualMachineCommand = async (input, context) => {
|
|
401
|
-
const headers =
|
|
402
|
-
"content-type": "application/x-amz-json-1.1",
|
|
403
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.UpdateStorageVirtualMachine",
|
|
404
|
-
};
|
|
284
|
+
const headers = sharedHeaders("UpdateStorageVirtualMachine");
|
|
405
285
|
let body;
|
|
406
286
|
body = JSON.stringify(se_UpdateStorageVirtualMachineRequest(input, context));
|
|
407
287
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
408
288
|
};
|
|
409
289
|
exports.se_UpdateStorageVirtualMachineCommand = se_UpdateStorageVirtualMachineCommand;
|
|
410
290
|
const se_UpdateVolumeCommand = async (input, context) => {
|
|
411
|
-
const headers =
|
|
412
|
-
"content-type": "application/x-amz-json-1.1",
|
|
413
|
-
"x-amz-target": "AWSSimbaAPIService_v20180301.UpdateVolume",
|
|
414
|
-
};
|
|
291
|
+
const headers = sharedHeaders("UpdateVolume");
|
|
415
292
|
let body;
|
|
416
293
|
body = JSON.stringify(se_UpdateVolumeRequest(input, context));
|
|
417
294
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
@@ -423,12 +300,12 @@ const de_AssociateFileSystemAliasesCommand = async (output, context) => {
|
|
|
423
300
|
}
|
|
424
301
|
const data = await parseBody(output.body, context);
|
|
425
302
|
let contents = {};
|
|
426
|
-
contents =
|
|
303
|
+
contents = (0, smithy_client_1._json)(data);
|
|
427
304
|
const response = {
|
|
428
305
|
$metadata: deserializeMetadata(output),
|
|
429
306
|
...contents,
|
|
430
307
|
};
|
|
431
|
-
return
|
|
308
|
+
return response;
|
|
432
309
|
};
|
|
433
310
|
exports.de_AssociateFileSystemAliasesCommand = de_AssociateFileSystemAliasesCommand;
|
|
434
311
|
const de_AssociateFileSystemAliasesCommandError = async (output, context) => {
|
|
@@ -449,10 +326,9 @@ const de_AssociateFileSystemAliasesCommandError = async (output, context) => {
|
|
|
449
326
|
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
450
327
|
default:
|
|
451
328
|
const parsedBody = parsedOutput.body;
|
|
452
|
-
|
|
329
|
+
return throwDefaultError({
|
|
453
330
|
output,
|
|
454
331
|
parsedBody,
|
|
455
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
456
332
|
errorCode,
|
|
457
333
|
});
|
|
458
334
|
}
|
|
@@ -463,12 +339,12 @@ const de_CancelDataRepositoryTaskCommand = async (output, context) => {
|
|
|
463
339
|
}
|
|
464
340
|
const data = await parseBody(output.body, context);
|
|
465
341
|
let contents = {};
|
|
466
|
-
contents =
|
|
342
|
+
contents = (0, smithy_client_1._json)(data);
|
|
467
343
|
const response = {
|
|
468
344
|
$metadata: deserializeMetadata(output),
|
|
469
345
|
...contents,
|
|
470
346
|
};
|
|
471
|
-
return
|
|
347
|
+
return response;
|
|
472
348
|
};
|
|
473
349
|
exports.de_CancelDataRepositoryTaskCommand = de_CancelDataRepositoryTaskCommand;
|
|
474
350
|
const de_CancelDataRepositoryTaskCommandError = async (output, context) => {
|
|
@@ -495,10 +371,9 @@ const de_CancelDataRepositoryTaskCommandError = async (output, context) => {
|
|
|
495
371
|
throw await de_UnsupportedOperationRes(parsedOutput, context);
|
|
496
372
|
default:
|
|
497
373
|
const parsedBody = parsedOutput.body;
|
|
498
|
-
|
|
374
|
+
return throwDefaultError({
|
|
499
375
|
output,
|
|
500
376
|
parsedBody,
|
|
501
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
502
377
|
errorCode,
|
|
503
378
|
});
|
|
504
379
|
}
|
|
@@ -514,7 +389,7 @@ const de_CopyBackupCommand = async (output, context) => {
|
|
|
514
389
|
$metadata: deserializeMetadata(output),
|
|
515
390
|
...contents,
|
|
516
391
|
};
|
|
517
|
-
return
|
|
392
|
+
return response;
|
|
518
393
|
};
|
|
519
394
|
exports.de_CopyBackupCommand = de_CopyBackupCommand;
|
|
520
395
|
const de_CopyBackupCommandError = async (output, context) => {
|
|
@@ -559,10 +434,9 @@ const de_CopyBackupCommandError = async (output, context) => {
|
|
|
559
434
|
throw await de_UnsupportedOperationRes(parsedOutput, context);
|
|
560
435
|
default:
|
|
561
436
|
const parsedBody = parsedOutput.body;
|
|
562
|
-
|
|
437
|
+
return throwDefaultError({
|
|
563
438
|
output,
|
|
564
439
|
parsedBody,
|
|
565
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
566
440
|
errorCode,
|
|
567
441
|
});
|
|
568
442
|
}
|
|
@@ -578,7 +452,7 @@ const de_CreateBackupCommand = async (output, context) => {
|
|
|
578
452
|
$metadata: deserializeMetadata(output),
|
|
579
453
|
...contents,
|
|
580
454
|
};
|
|
581
|
-
return
|
|
455
|
+
return response;
|
|
582
456
|
};
|
|
583
457
|
exports.de_CreateBackupCommand = de_CreateBackupCommand;
|
|
584
458
|
const de_CreateBackupCommandError = async (output, context) => {
|
|
@@ -614,10 +488,9 @@ const de_CreateBackupCommandError = async (output, context) => {
|
|
|
614
488
|
throw await de_VolumeNotFoundRes(parsedOutput, context);
|
|
615
489
|
default:
|
|
616
490
|
const parsedBody = parsedOutput.body;
|
|
617
|
-
|
|
491
|
+
return throwDefaultError({
|
|
618
492
|
output,
|
|
619
493
|
parsedBody,
|
|
620
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
621
494
|
errorCode,
|
|
622
495
|
});
|
|
623
496
|
}
|
|
@@ -633,7 +506,7 @@ const de_CreateDataRepositoryAssociationCommand = async (output, context) => {
|
|
|
633
506
|
$metadata: deserializeMetadata(output),
|
|
634
507
|
...contents,
|
|
635
508
|
};
|
|
636
|
-
return
|
|
509
|
+
return response;
|
|
637
510
|
};
|
|
638
511
|
exports.de_CreateDataRepositoryAssociationCommand = de_CreateDataRepositoryAssociationCommand;
|
|
639
512
|
const de_CreateDataRepositoryAssociationCommandError = async (output, context) => {
|
|
@@ -663,10 +536,9 @@ const de_CreateDataRepositoryAssociationCommandError = async (output, context) =
|
|
|
663
536
|
throw await de_UnsupportedOperationRes(parsedOutput, context);
|
|
664
537
|
default:
|
|
665
538
|
const parsedBody = parsedOutput.body;
|
|
666
|
-
|
|
539
|
+
return throwDefaultError({
|
|
667
540
|
output,
|
|
668
541
|
parsedBody,
|
|
669
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
670
542
|
errorCode,
|
|
671
543
|
});
|
|
672
544
|
}
|
|
@@ -682,7 +554,7 @@ const de_CreateDataRepositoryTaskCommand = async (output, context) => {
|
|
|
682
554
|
$metadata: deserializeMetadata(output),
|
|
683
555
|
...contents,
|
|
684
556
|
};
|
|
685
|
-
return
|
|
557
|
+
return response;
|
|
686
558
|
};
|
|
687
559
|
exports.de_CreateDataRepositoryTaskCommand = de_CreateDataRepositoryTaskCommand;
|
|
688
560
|
const de_CreateDataRepositoryTaskCommandError = async (output, context) => {
|
|
@@ -715,10 +587,9 @@ const de_CreateDataRepositoryTaskCommandError = async (output, context) => {
|
|
|
715
587
|
throw await de_UnsupportedOperationRes(parsedOutput, context);
|
|
716
588
|
default:
|
|
717
589
|
const parsedBody = parsedOutput.body;
|
|
718
|
-
|
|
590
|
+
return throwDefaultError({
|
|
719
591
|
output,
|
|
720
592
|
parsedBody,
|
|
721
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
722
593
|
errorCode,
|
|
723
594
|
});
|
|
724
595
|
}
|
|
@@ -734,7 +605,7 @@ const de_CreateFileCacheCommand = async (output, context) => {
|
|
|
734
605
|
$metadata: deserializeMetadata(output),
|
|
735
606
|
...contents,
|
|
736
607
|
};
|
|
737
|
-
return
|
|
608
|
+
return response;
|
|
738
609
|
};
|
|
739
610
|
exports.de_CreateFileCacheCommand = de_CreateFileCacheCommand;
|
|
740
611
|
const de_CreateFileCacheCommandError = async (output, context) => {
|
|
@@ -767,10 +638,9 @@ const de_CreateFileCacheCommandError = async (output, context) => {
|
|
|
767
638
|
throw await de_ServiceLimitExceededRes(parsedOutput, context);
|
|
768
639
|
default:
|
|
769
640
|
const parsedBody = parsedOutput.body;
|
|
770
|
-
|
|
641
|
+
return throwDefaultError({
|
|
771
642
|
output,
|
|
772
643
|
parsedBody,
|
|
773
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
774
644
|
errorCode,
|
|
775
645
|
});
|
|
776
646
|
}
|
|
@@ -786,7 +656,7 @@ const de_CreateFileSystemCommand = async (output, context) => {
|
|
|
786
656
|
$metadata: deserializeMetadata(output),
|
|
787
657
|
...contents,
|
|
788
658
|
};
|
|
789
|
-
return
|
|
659
|
+
return response;
|
|
790
660
|
};
|
|
791
661
|
exports.de_CreateFileSystemCommand = de_CreateFileSystemCommand;
|
|
792
662
|
const de_CreateFileSystemCommandError = async (output, context) => {
|
|
@@ -828,10 +698,9 @@ const de_CreateFileSystemCommandError = async (output, context) => {
|
|
|
828
698
|
throw await de_ServiceLimitExceededRes(parsedOutput, context);
|
|
829
699
|
default:
|
|
830
700
|
const parsedBody = parsedOutput.body;
|
|
831
|
-
|
|
701
|
+
return throwDefaultError({
|
|
832
702
|
output,
|
|
833
703
|
parsedBody,
|
|
834
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
835
704
|
errorCode,
|
|
836
705
|
});
|
|
837
706
|
}
|
|
@@ -847,7 +716,7 @@ const de_CreateFileSystemFromBackupCommand = async (output, context) => {
|
|
|
847
716
|
$metadata: deserializeMetadata(output),
|
|
848
717
|
...contents,
|
|
849
718
|
};
|
|
850
|
-
return
|
|
719
|
+
return response;
|
|
851
720
|
};
|
|
852
721
|
exports.de_CreateFileSystemFromBackupCommand = de_CreateFileSystemFromBackupCommand;
|
|
853
722
|
const de_CreateFileSystemFromBackupCommandError = async (output, context) => {
|
|
@@ -886,10 +755,9 @@ const de_CreateFileSystemFromBackupCommandError = async (output, context) => {
|
|
|
886
755
|
throw await de_ServiceLimitExceededRes(parsedOutput, context);
|
|
887
756
|
default:
|
|
888
757
|
const parsedBody = parsedOutput.body;
|
|
889
|
-
|
|
758
|
+
return throwDefaultError({
|
|
890
759
|
output,
|
|
891
760
|
parsedBody,
|
|
892
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
893
761
|
errorCode,
|
|
894
762
|
});
|
|
895
763
|
}
|
|
@@ -905,7 +773,7 @@ const de_CreateSnapshotCommand = async (output, context) => {
|
|
|
905
773
|
$metadata: deserializeMetadata(output),
|
|
906
774
|
...contents,
|
|
907
775
|
};
|
|
908
|
-
return
|
|
776
|
+
return response;
|
|
909
777
|
};
|
|
910
778
|
exports.de_CreateSnapshotCommand = de_CreateSnapshotCommand;
|
|
911
779
|
const de_CreateSnapshotCommandError = async (output, context) => {
|
|
@@ -929,10 +797,9 @@ const de_CreateSnapshotCommandError = async (output, context) => {
|
|
|
929
797
|
throw await de_VolumeNotFoundRes(parsedOutput, context);
|
|
930
798
|
default:
|
|
931
799
|
const parsedBody = parsedOutput.body;
|
|
932
|
-
|
|
800
|
+
return throwDefaultError({
|
|
933
801
|
output,
|
|
934
802
|
parsedBody,
|
|
935
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
936
803
|
errorCode,
|
|
937
804
|
});
|
|
938
805
|
}
|
|
@@ -948,7 +815,7 @@ const de_CreateStorageVirtualMachineCommand = async (output, context) => {
|
|
|
948
815
|
$metadata: deserializeMetadata(output),
|
|
949
816
|
...contents,
|
|
950
817
|
};
|
|
951
|
-
return
|
|
818
|
+
return response;
|
|
952
819
|
};
|
|
953
820
|
exports.de_CreateStorageVirtualMachineCommand = de_CreateStorageVirtualMachineCommand;
|
|
954
821
|
const de_CreateStorageVirtualMachineCommandError = async (output, context) => {
|
|
@@ -981,10 +848,9 @@ const de_CreateStorageVirtualMachineCommandError = async (output, context) => {
|
|
|
981
848
|
throw await de_UnsupportedOperationRes(parsedOutput, context);
|
|
982
849
|
default:
|
|
983
850
|
const parsedBody = parsedOutput.body;
|
|
984
|
-
|
|
851
|
+
return throwDefaultError({
|
|
985
852
|
output,
|
|
986
853
|
parsedBody,
|
|
987
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
988
854
|
errorCode,
|
|
989
855
|
});
|
|
990
856
|
}
|
|
@@ -1000,7 +866,7 @@ const de_CreateVolumeCommand = async (output, context) => {
|
|
|
1000
866
|
$metadata: deserializeMetadata(output),
|
|
1001
867
|
...contents,
|
|
1002
868
|
};
|
|
1003
|
-
return
|
|
869
|
+
return response;
|
|
1004
870
|
};
|
|
1005
871
|
exports.de_CreateVolumeCommand = de_CreateVolumeCommand;
|
|
1006
872
|
const de_CreateVolumeCommandError = async (output, context) => {
|
|
@@ -1036,10 +902,9 @@ const de_CreateVolumeCommandError = async (output, context) => {
|
|
|
1036
902
|
throw await de_UnsupportedOperationRes(parsedOutput, context);
|
|
1037
903
|
default:
|
|
1038
904
|
const parsedBody = parsedOutput.body;
|
|
1039
|
-
|
|
905
|
+
return throwDefaultError({
|
|
1040
906
|
output,
|
|
1041
907
|
parsedBody,
|
|
1042
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1043
908
|
errorCode,
|
|
1044
909
|
});
|
|
1045
910
|
}
|
|
@@ -1055,7 +920,7 @@ const de_CreateVolumeFromBackupCommand = async (output, context) => {
|
|
|
1055
920
|
$metadata: deserializeMetadata(output),
|
|
1056
921
|
...contents,
|
|
1057
922
|
};
|
|
1058
|
-
return
|
|
923
|
+
return response;
|
|
1059
924
|
};
|
|
1060
925
|
exports.de_CreateVolumeFromBackupCommand = de_CreateVolumeFromBackupCommand;
|
|
1061
926
|
const de_CreateVolumeFromBackupCommandError = async (output, context) => {
|
|
@@ -1091,10 +956,9 @@ const de_CreateVolumeFromBackupCommandError = async (output, context) => {
|
|
|
1091
956
|
throw await de_StorageVirtualMachineNotFoundRes(parsedOutput, context);
|
|
1092
957
|
default:
|
|
1093
958
|
const parsedBody = parsedOutput.body;
|
|
1094
|
-
|
|
959
|
+
return throwDefaultError({
|
|
1095
960
|
output,
|
|
1096
961
|
parsedBody,
|
|
1097
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1098
962
|
errorCode,
|
|
1099
963
|
});
|
|
1100
964
|
}
|
|
@@ -1105,12 +969,12 @@ const de_DeleteBackupCommand = async (output, context) => {
|
|
|
1105
969
|
}
|
|
1106
970
|
const data = await parseBody(output.body, context);
|
|
1107
971
|
let contents = {};
|
|
1108
|
-
contents =
|
|
972
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1109
973
|
const response = {
|
|
1110
974
|
$metadata: deserializeMetadata(output),
|
|
1111
975
|
...contents,
|
|
1112
976
|
};
|
|
1113
|
-
return
|
|
977
|
+
return response;
|
|
1114
978
|
};
|
|
1115
979
|
exports.de_DeleteBackupCommand = de_DeleteBackupCommand;
|
|
1116
980
|
const de_DeleteBackupCommandError = async (output, context) => {
|
|
@@ -1143,10 +1007,9 @@ const de_DeleteBackupCommandError = async (output, context) => {
|
|
|
1143
1007
|
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1144
1008
|
default:
|
|
1145
1009
|
const parsedBody = parsedOutput.body;
|
|
1146
|
-
|
|
1010
|
+
return throwDefaultError({
|
|
1147
1011
|
output,
|
|
1148
1012
|
parsedBody,
|
|
1149
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1150
1013
|
errorCode,
|
|
1151
1014
|
});
|
|
1152
1015
|
}
|
|
@@ -1157,12 +1020,12 @@ const de_DeleteDataRepositoryAssociationCommand = async (output, context) => {
|
|
|
1157
1020
|
}
|
|
1158
1021
|
const data = await parseBody(output.body, context);
|
|
1159
1022
|
let contents = {};
|
|
1160
|
-
contents =
|
|
1023
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1161
1024
|
const response = {
|
|
1162
1025
|
$metadata: deserializeMetadata(output),
|
|
1163
1026
|
...contents,
|
|
1164
1027
|
};
|
|
1165
|
-
return
|
|
1028
|
+
return response;
|
|
1166
1029
|
};
|
|
1167
1030
|
exports.de_DeleteDataRepositoryAssociationCommand = de_DeleteDataRepositoryAssociationCommand;
|
|
1168
1031
|
const de_DeleteDataRepositoryAssociationCommandError = async (output, context) => {
|
|
@@ -1189,10 +1052,9 @@ const de_DeleteDataRepositoryAssociationCommandError = async (output, context) =
|
|
|
1189
1052
|
throw await de_ServiceLimitExceededRes(parsedOutput, context);
|
|
1190
1053
|
default:
|
|
1191
1054
|
const parsedBody = parsedOutput.body;
|
|
1192
|
-
|
|
1055
|
+
return throwDefaultError({
|
|
1193
1056
|
output,
|
|
1194
1057
|
parsedBody,
|
|
1195
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1196
1058
|
errorCode,
|
|
1197
1059
|
});
|
|
1198
1060
|
}
|
|
@@ -1203,12 +1065,12 @@ const de_DeleteFileCacheCommand = async (output, context) => {
|
|
|
1203
1065
|
}
|
|
1204
1066
|
const data = await parseBody(output.body, context);
|
|
1205
1067
|
let contents = {};
|
|
1206
|
-
contents =
|
|
1068
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1207
1069
|
const response = {
|
|
1208
1070
|
$metadata: deserializeMetadata(output),
|
|
1209
1071
|
...contents,
|
|
1210
1072
|
};
|
|
1211
|
-
return
|
|
1073
|
+
return response;
|
|
1212
1074
|
};
|
|
1213
1075
|
exports.de_DeleteFileCacheCommand = de_DeleteFileCacheCommand;
|
|
1214
1076
|
const de_DeleteFileCacheCommandError = async (output, context) => {
|
|
@@ -1235,10 +1097,9 @@ const de_DeleteFileCacheCommandError = async (output, context) => {
|
|
|
1235
1097
|
throw await de_ServiceLimitExceededRes(parsedOutput, context);
|
|
1236
1098
|
default:
|
|
1237
1099
|
const parsedBody = parsedOutput.body;
|
|
1238
|
-
|
|
1100
|
+
return throwDefaultError({
|
|
1239
1101
|
output,
|
|
1240
1102
|
parsedBody,
|
|
1241
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1242
1103
|
errorCode,
|
|
1243
1104
|
});
|
|
1244
1105
|
}
|
|
@@ -1249,12 +1110,12 @@ const de_DeleteFileSystemCommand = async (output, context) => {
|
|
|
1249
1110
|
}
|
|
1250
1111
|
const data = await parseBody(output.body, context);
|
|
1251
1112
|
let contents = {};
|
|
1252
|
-
contents =
|
|
1113
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1253
1114
|
const response = {
|
|
1254
1115
|
$metadata: deserializeMetadata(output),
|
|
1255
1116
|
...contents,
|
|
1256
1117
|
};
|
|
1257
|
-
return
|
|
1118
|
+
return response;
|
|
1258
1119
|
};
|
|
1259
1120
|
exports.de_DeleteFileSystemCommand = de_DeleteFileSystemCommand;
|
|
1260
1121
|
const de_DeleteFileSystemCommandError = async (output, context) => {
|
|
@@ -1281,10 +1142,9 @@ const de_DeleteFileSystemCommandError = async (output, context) => {
|
|
|
1281
1142
|
throw await de_ServiceLimitExceededRes(parsedOutput, context);
|
|
1282
1143
|
default:
|
|
1283
1144
|
const parsedBody = parsedOutput.body;
|
|
1284
|
-
|
|
1145
|
+
return throwDefaultError({
|
|
1285
1146
|
output,
|
|
1286
1147
|
parsedBody,
|
|
1287
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1288
1148
|
errorCode,
|
|
1289
1149
|
});
|
|
1290
1150
|
}
|
|
@@ -1295,12 +1155,12 @@ const de_DeleteSnapshotCommand = async (output, context) => {
|
|
|
1295
1155
|
}
|
|
1296
1156
|
const data = await parseBody(output.body, context);
|
|
1297
1157
|
let contents = {};
|
|
1298
|
-
contents =
|
|
1158
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1299
1159
|
const response = {
|
|
1300
1160
|
$metadata: deserializeMetadata(output),
|
|
1301
1161
|
...contents,
|
|
1302
1162
|
};
|
|
1303
|
-
return
|
|
1163
|
+
return response;
|
|
1304
1164
|
};
|
|
1305
1165
|
exports.de_DeleteSnapshotCommand = de_DeleteSnapshotCommand;
|
|
1306
1166
|
const de_DeleteSnapshotCommandError = async (output, context) => {
|
|
@@ -1321,10 +1181,9 @@ const de_DeleteSnapshotCommandError = async (output, context) => {
|
|
|
1321
1181
|
throw await de_SnapshotNotFoundRes(parsedOutput, context);
|
|
1322
1182
|
default:
|
|
1323
1183
|
const parsedBody = parsedOutput.body;
|
|
1324
|
-
|
|
1184
|
+
return throwDefaultError({
|
|
1325
1185
|
output,
|
|
1326
1186
|
parsedBody,
|
|
1327
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1328
1187
|
errorCode,
|
|
1329
1188
|
});
|
|
1330
1189
|
}
|
|
@@ -1335,12 +1194,12 @@ const de_DeleteStorageVirtualMachineCommand = async (output, context) => {
|
|
|
1335
1194
|
}
|
|
1336
1195
|
const data = await parseBody(output.body, context);
|
|
1337
1196
|
let contents = {};
|
|
1338
|
-
contents =
|
|
1197
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1339
1198
|
const response = {
|
|
1340
1199
|
$metadata: deserializeMetadata(output),
|
|
1341
1200
|
...contents,
|
|
1342
1201
|
};
|
|
1343
|
-
return
|
|
1202
|
+
return response;
|
|
1344
1203
|
};
|
|
1345
1204
|
exports.de_DeleteStorageVirtualMachineCommand = de_DeleteStorageVirtualMachineCommand;
|
|
1346
1205
|
const de_DeleteStorageVirtualMachineCommandError = async (output, context) => {
|
|
@@ -1364,10 +1223,9 @@ const de_DeleteStorageVirtualMachineCommandError = async (output, context) => {
|
|
|
1364
1223
|
throw await de_StorageVirtualMachineNotFoundRes(parsedOutput, context);
|
|
1365
1224
|
default:
|
|
1366
1225
|
const parsedBody = parsedOutput.body;
|
|
1367
|
-
|
|
1226
|
+
return throwDefaultError({
|
|
1368
1227
|
output,
|
|
1369
1228
|
parsedBody,
|
|
1370
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1371
1229
|
errorCode,
|
|
1372
1230
|
});
|
|
1373
1231
|
}
|
|
@@ -1378,12 +1236,12 @@ const de_DeleteVolumeCommand = async (output, context) => {
|
|
|
1378
1236
|
}
|
|
1379
1237
|
const data = await parseBody(output.body, context);
|
|
1380
1238
|
let contents = {};
|
|
1381
|
-
contents =
|
|
1239
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1382
1240
|
const response = {
|
|
1383
1241
|
$metadata: deserializeMetadata(output),
|
|
1384
1242
|
...contents,
|
|
1385
1243
|
};
|
|
1386
|
-
return
|
|
1244
|
+
return response;
|
|
1387
1245
|
};
|
|
1388
1246
|
exports.de_DeleteVolumeCommand = de_DeleteVolumeCommand;
|
|
1389
1247
|
const de_DeleteVolumeCommandError = async (output, context) => {
|
|
@@ -1407,10 +1265,9 @@ const de_DeleteVolumeCommandError = async (output, context) => {
|
|
|
1407
1265
|
throw await de_VolumeNotFoundRes(parsedOutput, context);
|
|
1408
1266
|
default:
|
|
1409
1267
|
const parsedBody = parsedOutput.body;
|
|
1410
|
-
|
|
1268
|
+
return throwDefaultError({
|
|
1411
1269
|
output,
|
|
1412
1270
|
parsedBody,
|
|
1413
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1414
1271
|
errorCode,
|
|
1415
1272
|
});
|
|
1416
1273
|
}
|
|
@@ -1426,7 +1283,7 @@ const de_DescribeBackupsCommand = async (output, context) => {
|
|
|
1426
1283
|
$metadata: deserializeMetadata(output),
|
|
1427
1284
|
...contents,
|
|
1428
1285
|
};
|
|
1429
|
-
return
|
|
1286
|
+
return response;
|
|
1430
1287
|
};
|
|
1431
1288
|
exports.de_DescribeBackupsCommand = de_DescribeBackupsCommand;
|
|
1432
1289
|
const de_DescribeBackupsCommandError = async (output, context) => {
|
|
@@ -1453,10 +1310,9 @@ const de_DescribeBackupsCommandError = async (output, context) => {
|
|
|
1453
1310
|
throw await de_VolumeNotFoundRes(parsedOutput, context);
|
|
1454
1311
|
default:
|
|
1455
1312
|
const parsedBody = parsedOutput.body;
|
|
1456
|
-
|
|
1313
|
+
return throwDefaultError({
|
|
1457
1314
|
output,
|
|
1458
1315
|
parsedBody,
|
|
1459
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1460
1316
|
errorCode,
|
|
1461
1317
|
});
|
|
1462
1318
|
}
|
|
@@ -1472,7 +1328,7 @@ const de_DescribeDataRepositoryAssociationsCommand = async (output, context) =>
|
|
|
1472
1328
|
$metadata: deserializeMetadata(output),
|
|
1473
1329
|
...contents,
|
|
1474
1330
|
};
|
|
1475
|
-
return
|
|
1331
|
+
return response;
|
|
1476
1332
|
};
|
|
1477
1333
|
exports.de_DescribeDataRepositoryAssociationsCommand = de_DescribeDataRepositoryAssociationsCommand;
|
|
1478
1334
|
const de_DescribeDataRepositoryAssociationsCommandError = async (output, context) => {
|
|
@@ -1499,10 +1355,9 @@ const de_DescribeDataRepositoryAssociationsCommandError = async (output, context
|
|
|
1499
1355
|
throw await de_InvalidDataRepositoryTypeRes(parsedOutput, context);
|
|
1500
1356
|
default:
|
|
1501
1357
|
const parsedBody = parsedOutput.body;
|
|
1502
|
-
|
|
1358
|
+
return throwDefaultError({
|
|
1503
1359
|
output,
|
|
1504
1360
|
parsedBody,
|
|
1505
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1506
1361
|
errorCode,
|
|
1507
1362
|
});
|
|
1508
1363
|
}
|
|
@@ -1518,7 +1373,7 @@ const de_DescribeDataRepositoryTasksCommand = async (output, context) => {
|
|
|
1518
1373
|
$metadata: deserializeMetadata(output),
|
|
1519
1374
|
...contents,
|
|
1520
1375
|
};
|
|
1521
|
-
return
|
|
1376
|
+
return response;
|
|
1522
1377
|
};
|
|
1523
1378
|
exports.de_DescribeDataRepositoryTasksCommand = de_DescribeDataRepositoryTasksCommand;
|
|
1524
1379
|
const de_DescribeDataRepositoryTasksCommandError = async (output, context) => {
|
|
@@ -1542,10 +1397,9 @@ const de_DescribeDataRepositoryTasksCommandError = async (output, context) => {
|
|
|
1542
1397
|
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1543
1398
|
default:
|
|
1544
1399
|
const parsedBody = parsedOutput.body;
|
|
1545
|
-
|
|
1400
|
+
return throwDefaultError({
|
|
1546
1401
|
output,
|
|
1547
1402
|
parsedBody,
|
|
1548
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1549
1403
|
errorCode,
|
|
1550
1404
|
});
|
|
1551
1405
|
}
|
|
@@ -1561,7 +1415,7 @@ const de_DescribeFileCachesCommand = async (output, context) => {
|
|
|
1561
1415
|
$metadata: deserializeMetadata(output),
|
|
1562
1416
|
...contents,
|
|
1563
1417
|
};
|
|
1564
|
-
return
|
|
1418
|
+
return response;
|
|
1565
1419
|
};
|
|
1566
1420
|
exports.de_DescribeFileCachesCommand = de_DescribeFileCachesCommand;
|
|
1567
1421
|
const de_DescribeFileCachesCommandError = async (output, context) => {
|
|
@@ -1582,10 +1436,9 @@ const de_DescribeFileCachesCommandError = async (output, context) => {
|
|
|
1582
1436
|
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1583
1437
|
default:
|
|
1584
1438
|
const parsedBody = parsedOutput.body;
|
|
1585
|
-
|
|
1439
|
+
return throwDefaultError({
|
|
1586
1440
|
output,
|
|
1587
1441
|
parsedBody,
|
|
1588
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1589
1442
|
errorCode,
|
|
1590
1443
|
});
|
|
1591
1444
|
}
|
|
@@ -1596,12 +1449,12 @@ const de_DescribeFileSystemAliasesCommand = async (output, context) => {
|
|
|
1596
1449
|
}
|
|
1597
1450
|
const data = await parseBody(output.body, context);
|
|
1598
1451
|
let contents = {};
|
|
1599
|
-
contents =
|
|
1452
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1600
1453
|
const response = {
|
|
1601
1454
|
$metadata: deserializeMetadata(output),
|
|
1602
1455
|
...contents,
|
|
1603
1456
|
};
|
|
1604
|
-
return
|
|
1457
|
+
return response;
|
|
1605
1458
|
};
|
|
1606
1459
|
exports.de_DescribeFileSystemAliasesCommand = de_DescribeFileSystemAliasesCommand;
|
|
1607
1460
|
const de_DescribeFileSystemAliasesCommandError = async (output, context) => {
|
|
@@ -1622,10 +1475,9 @@ const de_DescribeFileSystemAliasesCommandError = async (output, context) => {
|
|
|
1622
1475
|
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1623
1476
|
default:
|
|
1624
1477
|
const parsedBody = parsedOutput.body;
|
|
1625
|
-
|
|
1478
|
+
return throwDefaultError({
|
|
1626
1479
|
output,
|
|
1627
1480
|
parsedBody,
|
|
1628
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1629
1481
|
errorCode,
|
|
1630
1482
|
});
|
|
1631
1483
|
}
|
|
@@ -1641,7 +1493,7 @@ const de_DescribeFileSystemsCommand = async (output, context) => {
|
|
|
1641
1493
|
$metadata: deserializeMetadata(output),
|
|
1642
1494
|
...contents,
|
|
1643
1495
|
};
|
|
1644
|
-
return
|
|
1496
|
+
return response;
|
|
1645
1497
|
};
|
|
1646
1498
|
exports.de_DescribeFileSystemsCommand = de_DescribeFileSystemsCommand;
|
|
1647
1499
|
const de_DescribeFileSystemsCommandError = async (output, context) => {
|
|
@@ -1662,10 +1514,9 @@ const de_DescribeFileSystemsCommandError = async (output, context) => {
|
|
|
1662
1514
|
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1663
1515
|
default:
|
|
1664
1516
|
const parsedBody = parsedOutput.body;
|
|
1665
|
-
|
|
1517
|
+
return throwDefaultError({
|
|
1666
1518
|
output,
|
|
1667
1519
|
parsedBody,
|
|
1668
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1669
1520
|
errorCode,
|
|
1670
1521
|
});
|
|
1671
1522
|
}
|
|
@@ -1681,7 +1532,7 @@ const de_DescribeSnapshotsCommand = async (output, context) => {
|
|
|
1681
1532
|
$metadata: deserializeMetadata(output),
|
|
1682
1533
|
...contents,
|
|
1683
1534
|
};
|
|
1684
|
-
return
|
|
1535
|
+
return response;
|
|
1685
1536
|
};
|
|
1686
1537
|
exports.de_DescribeSnapshotsCommand = de_DescribeSnapshotsCommand;
|
|
1687
1538
|
const de_DescribeSnapshotsCommandError = async (output, context) => {
|
|
@@ -1702,10 +1553,9 @@ const de_DescribeSnapshotsCommandError = async (output, context) => {
|
|
|
1702
1553
|
throw await de_SnapshotNotFoundRes(parsedOutput, context);
|
|
1703
1554
|
default:
|
|
1704
1555
|
const parsedBody = parsedOutput.body;
|
|
1705
|
-
|
|
1556
|
+
return throwDefaultError({
|
|
1706
1557
|
output,
|
|
1707
1558
|
parsedBody,
|
|
1708
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1709
1559
|
errorCode,
|
|
1710
1560
|
});
|
|
1711
1561
|
}
|
|
@@ -1721,7 +1571,7 @@ const de_DescribeStorageVirtualMachinesCommand = async (output, context) => {
|
|
|
1721
1571
|
$metadata: deserializeMetadata(output),
|
|
1722
1572
|
...contents,
|
|
1723
1573
|
};
|
|
1724
|
-
return
|
|
1574
|
+
return response;
|
|
1725
1575
|
};
|
|
1726
1576
|
exports.de_DescribeStorageVirtualMachinesCommand = de_DescribeStorageVirtualMachinesCommand;
|
|
1727
1577
|
const de_DescribeStorageVirtualMachinesCommandError = async (output, context) => {
|
|
@@ -1742,10 +1592,9 @@ const de_DescribeStorageVirtualMachinesCommandError = async (output, context) =>
|
|
|
1742
1592
|
throw await de_StorageVirtualMachineNotFoundRes(parsedOutput, context);
|
|
1743
1593
|
default:
|
|
1744
1594
|
const parsedBody = parsedOutput.body;
|
|
1745
|
-
|
|
1595
|
+
return throwDefaultError({
|
|
1746
1596
|
output,
|
|
1747
1597
|
parsedBody,
|
|
1748
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1749
1598
|
errorCode,
|
|
1750
1599
|
});
|
|
1751
1600
|
}
|
|
@@ -1761,7 +1610,7 @@ const de_DescribeVolumesCommand = async (output, context) => {
|
|
|
1761
1610
|
$metadata: deserializeMetadata(output),
|
|
1762
1611
|
...contents,
|
|
1763
1612
|
};
|
|
1764
|
-
return
|
|
1613
|
+
return response;
|
|
1765
1614
|
};
|
|
1766
1615
|
exports.de_DescribeVolumesCommand = de_DescribeVolumesCommand;
|
|
1767
1616
|
const de_DescribeVolumesCommandError = async (output, context) => {
|
|
@@ -1782,10 +1631,9 @@ const de_DescribeVolumesCommandError = async (output, context) => {
|
|
|
1782
1631
|
throw await de_VolumeNotFoundRes(parsedOutput, context);
|
|
1783
1632
|
default:
|
|
1784
1633
|
const parsedBody = parsedOutput.body;
|
|
1785
|
-
|
|
1634
|
+
return throwDefaultError({
|
|
1786
1635
|
output,
|
|
1787
1636
|
parsedBody,
|
|
1788
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1789
1637
|
errorCode,
|
|
1790
1638
|
});
|
|
1791
1639
|
}
|
|
@@ -1796,12 +1644,12 @@ const de_DisassociateFileSystemAliasesCommand = async (output, context) => {
|
|
|
1796
1644
|
}
|
|
1797
1645
|
const data = await parseBody(output.body, context);
|
|
1798
1646
|
let contents = {};
|
|
1799
|
-
contents =
|
|
1647
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1800
1648
|
const response = {
|
|
1801
1649
|
$metadata: deserializeMetadata(output),
|
|
1802
1650
|
...contents,
|
|
1803
1651
|
};
|
|
1804
|
-
return
|
|
1652
|
+
return response;
|
|
1805
1653
|
};
|
|
1806
1654
|
exports.de_DisassociateFileSystemAliasesCommand = de_DisassociateFileSystemAliasesCommand;
|
|
1807
1655
|
const de_DisassociateFileSystemAliasesCommandError = async (output, context) => {
|
|
@@ -1822,10 +1670,9 @@ const de_DisassociateFileSystemAliasesCommandError = async (output, context) =>
|
|
|
1822
1670
|
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1823
1671
|
default:
|
|
1824
1672
|
const parsedBody = parsedOutput.body;
|
|
1825
|
-
|
|
1673
|
+
return throwDefaultError({
|
|
1826
1674
|
output,
|
|
1827
1675
|
parsedBody,
|
|
1828
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1829
1676
|
errorCode,
|
|
1830
1677
|
});
|
|
1831
1678
|
}
|
|
@@ -1836,12 +1683,12 @@ const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
1836
1683
|
}
|
|
1837
1684
|
const data = await parseBody(output.body, context);
|
|
1838
1685
|
let contents = {};
|
|
1839
|
-
contents =
|
|
1686
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1840
1687
|
const response = {
|
|
1841
1688
|
$metadata: deserializeMetadata(output),
|
|
1842
1689
|
...contents,
|
|
1843
1690
|
};
|
|
1844
|
-
return
|
|
1691
|
+
return response;
|
|
1845
1692
|
};
|
|
1846
1693
|
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
1847
1694
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -1868,10 +1715,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
1868
1715
|
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
1869
1716
|
default:
|
|
1870
1717
|
const parsedBody = parsedOutput.body;
|
|
1871
|
-
|
|
1718
|
+
return throwDefaultError({
|
|
1872
1719
|
output,
|
|
1873
1720
|
parsedBody,
|
|
1874
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1875
1721
|
errorCode,
|
|
1876
1722
|
});
|
|
1877
1723
|
}
|
|
@@ -1887,7 +1733,7 @@ const de_ReleaseFileSystemNfsV3LocksCommand = async (output, context) => {
|
|
|
1887
1733
|
$metadata: deserializeMetadata(output),
|
|
1888
1734
|
...contents,
|
|
1889
1735
|
};
|
|
1890
|
-
return
|
|
1736
|
+
return response;
|
|
1891
1737
|
};
|
|
1892
1738
|
exports.de_ReleaseFileSystemNfsV3LocksCommand = de_ReleaseFileSystemNfsV3LocksCommand;
|
|
1893
1739
|
const de_ReleaseFileSystemNfsV3LocksCommandError = async (output, context) => {
|
|
@@ -1914,10 +1760,9 @@ const de_ReleaseFileSystemNfsV3LocksCommandError = async (output, context) => {
|
|
|
1914
1760
|
throw await de_ServiceLimitExceededRes(parsedOutput, context);
|
|
1915
1761
|
default:
|
|
1916
1762
|
const parsedBody = parsedOutput.body;
|
|
1917
|
-
|
|
1763
|
+
return throwDefaultError({
|
|
1918
1764
|
output,
|
|
1919
1765
|
parsedBody,
|
|
1920
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1921
1766
|
errorCode,
|
|
1922
1767
|
});
|
|
1923
1768
|
}
|
|
@@ -1933,7 +1778,7 @@ const de_RestoreVolumeFromSnapshotCommand = async (output, context) => {
|
|
|
1933
1778
|
$metadata: deserializeMetadata(output),
|
|
1934
1779
|
...contents,
|
|
1935
1780
|
};
|
|
1936
|
-
return
|
|
1781
|
+
return response;
|
|
1937
1782
|
};
|
|
1938
1783
|
exports.de_RestoreVolumeFromSnapshotCommand = de_RestoreVolumeFromSnapshotCommand;
|
|
1939
1784
|
const de_RestoreVolumeFromSnapshotCommandError = async (output, context) => {
|
|
@@ -1954,10 +1799,9 @@ const de_RestoreVolumeFromSnapshotCommandError = async (output, context) => {
|
|
|
1954
1799
|
throw await de_VolumeNotFoundRes(parsedOutput, context);
|
|
1955
1800
|
default:
|
|
1956
1801
|
const parsedBody = parsedOutput.body;
|
|
1957
|
-
|
|
1802
|
+
return throwDefaultError({
|
|
1958
1803
|
output,
|
|
1959
1804
|
parsedBody,
|
|
1960
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1961
1805
|
errorCode,
|
|
1962
1806
|
});
|
|
1963
1807
|
}
|
|
@@ -1968,12 +1812,12 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
1968
1812
|
}
|
|
1969
1813
|
const data = await parseBody(output.body, context);
|
|
1970
1814
|
let contents = {};
|
|
1971
|
-
contents =
|
|
1815
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1972
1816
|
const response = {
|
|
1973
1817
|
$metadata: deserializeMetadata(output),
|
|
1974
1818
|
...contents,
|
|
1975
1819
|
};
|
|
1976
|
-
return
|
|
1820
|
+
return response;
|
|
1977
1821
|
};
|
|
1978
1822
|
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
1979
1823
|
const de_TagResourceCommandError = async (output, context) => {
|
|
@@ -2000,10 +1844,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
2000
1844
|
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
2001
1845
|
default:
|
|
2002
1846
|
const parsedBody = parsedOutput.body;
|
|
2003
|
-
|
|
1847
|
+
return throwDefaultError({
|
|
2004
1848
|
output,
|
|
2005
1849
|
parsedBody,
|
|
2006
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
2007
1850
|
errorCode,
|
|
2008
1851
|
});
|
|
2009
1852
|
}
|
|
@@ -2014,12 +1857,12 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
2014
1857
|
}
|
|
2015
1858
|
const data = await parseBody(output.body, context);
|
|
2016
1859
|
let contents = {};
|
|
2017
|
-
contents =
|
|
1860
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2018
1861
|
const response = {
|
|
2019
1862
|
$metadata: deserializeMetadata(output),
|
|
2020
1863
|
...contents,
|
|
2021
1864
|
};
|
|
2022
|
-
return
|
|
1865
|
+
return response;
|
|
2023
1866
|
};
|
|
2024
1867
|
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
2025
1868
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
@@ -2046,10 +1889,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
2046
1889
|
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
2047
1890
|
default:
|
|
2048
1891
|
const parsedBody = parsedOutput.body;
|
|
2049
|
-
|
|
1892
|
+
return throwDefaultError({
|
|
2050
1893
|
output,
|
|
2051
1894
|
parsedBody,
|
|
2052
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
2053
1895
|
errorCode,
|
|
2054
1896
|
});
|
|
2055
1897
|
}
|
|
@@ -2065,7 +1907,7 @@ const de_UpdateDataRepositoryAssociationCommand = async (output, context) => {
|
|
|
2065
1907
|
$metadata: deserializeMetadata(output),
|
|
2066
1908
|
...contents,
|
|
2067
1909
|
};
|
|
2068
|
-
return
|
|
1910
|
+
return response;
|
|
2069
1911
|
};
|
|
2070
1912
|
exports.de_UpdateDataRepositoryAssociationCommand = de_UpdateDataRepositoryAssociationCommand;
|
|
2071
1913
|
const de_UpdateDataRepositoryAssociationCommandError = async (output, context) => {
|
|
@@ -2092,10 +1934,9 @@ const de_UpdateDataRepositoryAssociationCommandError = async (output, context) =
|
|
|
2092
1934
|
throw await de_ServiceLimitExceededRes(parsedOutput, context);
|
|
2093
1935
|
default:
|
|
2094
1936
|
const parsedBody = parsedOutput.body;
|
|
2095
|
-
|
|
1937
|
+
return throwDefaultError({
|
|
2096
1938
|
output,
|
|
2097
1939
|
parsedBody,
|
|
2098
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
2099
1940
|
errorCode,
|
|
2100
1941
|
});
|
|
2101
1942
|
}
|
|
@@ -2111,7 +1952,7 @@ const de_UpdateFileCacheCommand = async (output, context) => {
|
|
|
2111
1952
|
$metadata: deserializeMetadata(output),
|
|
2112
1953
|
...contents,
|
|
2113
1954
|
};
|
|
2114
|
-
return
|
|
1955
|
+
return response;
|
|
2115
1956
|
};
|
|
2116
1957
|
exports.de_UpdateFileCacheCommand = de_UpdateFileCacheCommand;
|
|
2117
1958
|
const de_UpdateFileCacheCommandError = async (output, context) => {
|
|
@@ -2144,10 +1985,9 @@ const de_UpdateFileCacheCommandError = async (output, context) => {
|
|
|
2144
1985
|
throw await de_UnsupportedOperationRes(parsedOutput, context);
|
|
2145
1986
|
default:
|
|
2146
1987
|
const parsedBody = parsedOutput.body;
|
|
2147
|
-
|
|
1988
|
+
return throwDefaultError({
|
|
2148
1989
|
output,
|
|
2149
1990
|
parsedBody,
|
|
2150
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
2151
1991
|
errorCode,
|
|
2152
1992
|
});
|
|
2153
1993
|
}
|
|
@@ -2163,7 +2003,7 @@ const de_UpdateFileSystemCommand = async (output, context) => {
|
|
|
2163
2003
|
$metadata: deserializeMetadata(output),
|
|
2164
2004
|
...contents,
|
|
2165
2005
|
};
|
|
2166
|
-
return
|
|
2006
|
+
return response;
|
|
2167
2007
|
};
|
|
2168
2008
|
exports.de_UpdateFileSystemCommand = de_UpdateFileSystemCommand;
|
|
2169
2009
|
const de_UpdateFileSystemCommandError = async (output, context) => {
|
|
@@ -2199,10 +2039,9 @@ const de_UpdateFileSystemCommandError = async (output, context) => {
|
|
|
2199
2039
|
throw await de_UnsupportedOperationRes(parsedOutput, context);
|
|
2200
2040
|
default:
|
|
2201
2041
|
const parsedBody = parsedOutput.body;
|
|
2202
|
-
|
|
2042
|
+
return throwDefaultError({
|
|
2203
2043
|
output,
|
|
2204
2044
|
parsedBody,
|
|
2205
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
2206
2045
|
errorCode,
|
|
2207
2046
|
});
|
|
2208
2047
|
}
|
|
@@ -2218,7 +2057,7 @@ const de_UpdateSnapshotCommand = async (output, context) => {
|
|
|
2218
2057
|
$metadata: deserializeMetadata(output),
|
|
2219
2058
|
...contents,
|
|
2220
2059
|
};
|
|
2221
|
-
return
|
|
2060
|
+
return response;
|
|
2222
2061
|
};
|
|
2223
2062
|
exports.de_UpdateSnapshotCommand = de_UpdateSnapshotCommand;
|
|
2224
2063
|
const de_UpdateSnapshotCommandError = async (output, context) => {
|
|
@@ -2239,10 +2078,9 @@ const de_UpdateSnapshotCommandError = async (output, context) => {
|
|
|
2239
2078
|
throw await de_SnapshotNotFoundRes(parsedOutput, context);
|
|
2240
2079
|
default:
|
|
2241
2080
|
const parsedBody = parsedOutput.body;
|
|
2242
|
-
|
|
2081
|
+
return throwDefaultError({
|
|
2243
2082
|
output,
|
|
2244
2083
|
parsedBody,
|
|
2245
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
2246
2084
|
errorCode,
|
|
2247
2085
|
});
|
|
2248
2086
|
}
|
|
@@ -2258,7 +2096,7 @@ const de_UpdateStorageVirtualMachineCommand = async (output, context) => {
|
|
|
2258
2096
|
$metadata: deserializeMetadata(output),
|
|
2259
2097
|
...contents,
|
|
2260
2098
|
};
|
|
2261
|
-
return
|
|
2099
|
+
return response;
|
|
2262
2100
|
};
|
|
2263
2101
|
exports.de_UpdateStorageVirtualMachineCommand = de_UpdateStorageVirtualMachineCommand;
|
|
2264
2102
|
const de_UpdateStorageVirtualMachineCommandError = async (output, context) => {
|
|
@@ -2285,10 +2123,9 @@ const de_UpdateStorageVirtualMachineCommandError = async (output, context) => {
|
|
|
2285
2123
|
throw await de_UnsupportedOperationRes(parsedOutput, context);
|
|
2286
2124
|
default:
|
|
2287
2125
|
const parsedBody = parsedOutput.body;
|
|
2288
|
-
|
|
2126
|
+
return throwDefaultError({
|
|
2289
2127
|
output,
|
|
2290
2128
|
parsedBody,
|
|
2291
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
2292
2129
|
errorCode,
|
|
2293
2130
|
});
|
|
2294
2131
|
}
|
|
@@ -2304,7 +2141,7 @@ const de_UpdateVolumeCommand = async (output, context) => {
|
|
|
2304
2141
|
$metadata: deserializeMetadata(output),
|
|
2305
2142
|
...contents,
|
|
2306
2143
|
};
|
|
2307
|
-
return
|
|
2144
|
+
return response;
|
|
2308
2145
|
};
|
|
2309
2146
|
exports.de_UpdateVolumeCommand = de_UpdateVolumeCommand;
|
|
2310
2147
|
const de_UpdateVolumeCommandError = async (output, context) => {
|
|
@@ -2331,17 +2168,16 @@ const de_UpdateVolumeCommandError = async (output, context) => {
|
|
|
2331
2168
|
throw await de_VolumeNotFoundRes(parsedOutput, context);
|
|
2332
2169
|
default:
|
|
2333
2170
|
const parsedBody = parsedOutput.body;
|
|
2334
|
-
|
|
2171
|
+
return throwDefaultError({
|
|
2335
2172
|
output,
|
|
2336
2173
|
parsedBody,
|
|
2337
|
-
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
2338
2174
|
errorCode,
|
|
2339
2175
|
});
|
|
2340
2176
|
}
|
|
2341
2177
|
};
|
|
2342
2178
|
const de_ActiveDirectoryErrorRes = async (parsedOutput, context) => {
|
|
2343
2179
|
const body = parsedOutput.body;
|
|
2344
|
-
const deserialized =
|
|
2180
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2345
2181
|
const exception = new models_0_1.ActiveDirectoryError({
|
|
2346
2182
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2347
2183
|
...deserialized,
|
|
@@ -2350,7 +2186,7 @@ const de_ActiveDirectoryErrorRes = async (parsedOutput, context) => {
|
|
|
2350
2186
|
};
|
|
2351
2187
|
const de_BackupBeingCopiedRes = async (parsedOutput, context) => {
|
|
2352
2188
|
const body = parsedOutput.body;
|
|
2353
|
-
const deserialized =
|
|
2189
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2354
2190
|
const exception = new models_0_1.BackupBeingCopied({
|
|
2355
2191
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2356
2192
|
...deserialized,
|
|
@@ -2359,7 +2195,7 @@ const de_BackupBeingCopiedRes = async (parsedOutput, context) => {
|
|
|
2359
2195
|
};
|
|
2360
2196
|
const de_BackupInProgressRes = async (parsedOutput, context) => {
|
|
2361
2197
|
const body = parsedOutput.body;
|
|
2362
|
-
const deserialized =
|
|
2198
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2363
2199
|
const exception = new models_0_1.BackupInProgress({
|
|
2364
2200
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2365
2201
|
...deserialized,
|
|
@@ -2368,7 +2204,7 @@ const de_BackupInProgressRes = async (parsedOutput, context) => {
|
|
|
2368
2204
|
};
|
|
2369
2205
|
const de_BackupNotFoundRes = async (parsedOutput, context) => {
|
|
2370
2206
|
const body = parsedOutput.body;
|
|
2371
|
-
const deserialized =
|
|
2207
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2372
2208
|
const exception = new models_0_1.BackupNotFound({
|
|
2373
2209
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2374
2210
|
...deserialized,
|
|
@@ -2377,7 +2213,7 @@ const de_BackupNotFoundRes = async (parsedOutput, context) => {
|
|
|
2377
2213
|
};
|
|
2378
2214
|
const de_BackupRestoringRes = async (parsedOutput, context) => {
|
|
2379
2215
|
const body = parsedOutput.body;
|
|
2380
|
-
const deserialized =
|
|
2216
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2381
2217
|
const exception = new models_0_1.BackupRestoring({
|
|
2382
2218
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2383
2219
|
...deserialized,
|
|
@@ -2386,7 +2222,7 @@ const de_BackupRestoringRes = async (parsedOutput, context) => {
|
|
|
2386
2222
|
};
|
|
2387
2223
|
const de_BadRequestRes = async (parsedOutput, context) => {
|
|
2388
2224
|
const body = parsedOutput.body;
|
|
2389
|
-
const deserialized =
|
|
2225
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2390
2226
|
const exception = new models_0_1.BadRequest({
|
|
2391
2227
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2392
2228
|
...deserialized,
|
|
@@ -2395,7 +2231,7 @@ const de_BadRequestRes = async (parsedOutput, context) => {
|
|
|
2395
2231
|
};
|
|
2396
2232
|
const de_DataRepositoryAssociationNotFoundRes = async (parsedOutput, context) => {
|
|
2397
2233
|
const body = parsedOutput.body;
|
|
2398
|
-
const deserialized =
|
|
2234
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2399
2235
|
const exception = new models_0_1.DataRepositoryAssociationNotFound({
|
|
2400
2236
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2401
2237
|
...deserialized,
|
|
@@ -2404,7 +2240,7 @@ const de_DataRepositoryAssociationNotFoundRes = async (parsedOutput, context) =>
|
|
|
2404
2240
|
};
|
|
2405
2241
|
const de_DataRepositoryTaskEndedRes = async (parsedOutput, context) => {
|
|
2406
2242
|
const body = parsedOutput.body;
|
|
2407
|
-
const deserialized =
|
|
2243
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2408
2244
|
const exception = new models_0_1.DataRepositoryTaskEnded({
|
|
2409
2245
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2410
2246
|
...deserialized,
|
|
@@ -2413,7 +2249,7 @@ const de_DataRepositoryTaskEndedRes = async (parsedOutput, context) => {
|
|
|
2413
2249
|
};
|
|
2414
2250
|
const de_DataRepositoryTaskExecutingRes = async (parsedOutput, context) => {
|
|
2415
2251
|
const body = parsedOutput.body;
|
|
2416
|
-
const deserialized =
|
|
2252
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2417
2253
|
const exception = new models_0_1.DataRepositoryTaskExecuting({
|
|
2418
2254
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2419
2255
|
...deserialized,
|
|
@@ -2422,7 +2258,7 @@ const de_DataRepositoryTaskExecutingRes = async (parsedOutput, context) => {
|
|
|
2422
2258
|
};
|
|
2423
2259
|
const de_DataRepositoryTaskNotFoundRes = async (parsedOutput, context) => {
|
|
2424
2260
|
const body = parsedOutput.body;
|
|
2425
|
-
const deserialized =
|
|
2261
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2426
2262
|
const exception = new models_0_1.DataRepositoryTaskNotFound({
|
|
2427
2263
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2428
2264
|
...deserialized,
|
|
@@ -2431,7 +2267,7 @@ const de_DataRepositoryTaskNotFoundRes = async (parsedOutput, context) => {
|
|
|
2431
2267
|
};
|
|
2432
2268
|
const de_FileCacheNotFoundRes = async (parsedOutput, context) => {
|
|
2433
2269
|
const body = parsedOutput.body;
|
|
2434
|
-
const deserialized =
|
|
2270
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2435
2271
|
const exception = new models_0_1.FileCacheNotFound({
|
|
2436
2272
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2437
2273
|
...deserialized,
|
|
@@ -2440,7 +2276,7 @@ const de_FileCacheNotFoundRes = async (parsedOutput, context) => {
|
|
|
2440
2276
|
};
|
|
2441
2277
|
const de_FileSystemNotFoundRes = async (parsedOutput, context) => {
|
|
2442
2278
|
const body = parsedOutput.body;
|
|
2443
|
-
const deserialized =
|
|
2279
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2444
2280
|
const exception = new models_0_1.FileSystemNotFound({
|
|
2445
2281
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2446
2282
|
...deserialized,
|
|
@@ -2449,7 +2285,7 @@ const de_FileSystemNotFoundRes = async (parsedOutput, context) => {
|
|
|
2449
2285
|
};
|
|
2450
2286
|
const de_IncompatibleParameterErrorRes = async (parsedOutput, context) => {
|
|
2451
2287
|
const body = parsedOutput.body;
|
|
2452
|
-
const deserialized =
|
|
2288
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2453
2289
|
const exception = new models_0_1.IncompatibleParameterError({
|
|
2454
2290
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2455
2291
|
...deserialized,
|
|
@@ -2458,7 +2294,7 @@ const de_IncompatibleParameterErrorRes = async (parsedOutput, context) => {
|
|
|
2458
2294
|
};
|
|
2459
2295
|
const de_IncompatibleRegionForMultiAZRes = async (parsedOutput, context) => {
|
|
2460
2296
|
const body = parsedOutput.body;
|
|
2461
|
-
const deserialized =
|
|
2297
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2462
2298
|
const exception = new models_0_1.IncompatibleRegionForMultiAZ({
|
|
2463
2299
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2464
2300
|
...deserialized,
|
|
@@ -2467,7 +2303,7 @@ const de_IncompatibleRegionForMultiAZRes = async (parsedOutput, context) => {
|
|
|
2467
2303
|
};
|
|
2468
2304
|
const de_InternalServerErrorRes = async (parsedOutput, context) => {
|
|
2469
2305
|
const body = parsedOutput.body;
|
|
2470
|
-
const deserialized =
|
|
2306
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2471
2307
|
const exception = new models_0_1.InternalServerError({
|
|
2472
2308
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2473
2309
|
...deserialized,
|
|
@@ -2476,7 +2312,7 @@ const de_InternalServerErrorRes = async (parsedOutput, context) => {
|
|
|
2476
2312
|
};
|
|
2477
2313
|
const de_InvalidDataRepositoryTypeRes = async (parsedOutput, context) => {
|
|
2478
2314
|
const body = parsedOutput.body;
|
|
2479
|
-
const deserialized =
|
|
2315
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2480
2316
|
const exception = new models_0_1.InvalidDataRepositoryType({
|
|
2481
2317
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2482
2318
|
...deserialized,
|
|
@@ -2485,7 +2321,7 @@ const de_InvalidDataRepositoryTypeRes = async (parsedOutput, context) => {
|
|
|
2485
2321
|
};
|
|
2486
2322
|
const de_InvalidDestinationKmsKeyRes = async (parsedOutput, context) => {
|
|
2487
2323
|
const body = parsedOutput.body;
|
|
2488
|
-
const deserialized =
|
|
2324
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2489
2325
|
const exception = new models_0_1.InvalidDestinationKmsKey({
|
|
2490
2326
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2491
2327
|
...deserialized,
|
|
@@ -2494,7 +2330,7 @@ const de_InvalidDestinationKmsKeyRes = async (parsedOutput, context) => {
|
|
|
2494
2330
|
};
|
|
2495
2331
|
const de_InvalidExportPathRes = async (parsedOutput, context) => {
|
|
2496
2332
|
const body = parsedOutput.body;
|
|
2497
|
-
const deserialized =
|
|
2333
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2498
2334
|
const exception = new models_0_1.InvalidExportPath({
|
|
2499
2335
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2500
2336
|
...deserialized,
|
|
@@ -2503,7 +2339,7 @@ const de_InvalidExportPathRes = async (parsedOutput, context) => {
|
|
|
2503
2339
|
};
|
|
2504
2340
|
const de_InvalidImportPathRes = async (parsedOutput, context) => {
|
|
2505
2341
|
const body = parsedOutput.body;
|
|
2506
|
-
const deserialized =
|
|
2342
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2507
2343
|
const exception = new models_0_1.InvalidImportPath({
|
|
2508
2344
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2509
2345
|
...deserialized,
|
|
@@ -2512,7 +2348,7 @@ const de_InvalidImportPathRes = async (parsedOutput, context) => {
|
|
|
2512
2348
|
};
|
|
2513
2349
|
const de_InvalidNetworkSettingsRes = async (parsedOutput, context) => {
|
|
2514
2350
|
const body = parsedOutput.body;
|
|
2515
|
-
const deserialized =
|
|
2351
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2516
2352
|
const exception = new models_0_1.InvalidNetworkSettings({
|
|
2517
2353
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2518
2354
|
...deserialized,
|
|
@@ -2521,7 +2357,7 @@ const de_InvalidNetworkSettingsRes = async (parsedOutput, context) => {
|
|
|
2521
2357
|
};
|
|
2522
2358
|
const de_InvalidPerUnitStorageThroughputRes = async (parsedOutput, context) => {
|
|
2523
2359
|
const body = parsedOutput.body;
|
|
2524
|
-
const deserialized =
|
|
2360
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2525
2361
|
const exception = new models_0_1.InvalidPerUnitStorageThroughput({
|
|
2526
2362
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2527
2363
|
...deserialized,
|
|
@@ -2530,7 +2366,7 @@ const de_InvalidPerUnitStorageThroughputRes = async (parsedOutput, context) => {
|
|
|
2530
2366
|
};
|
|
2531
2367
|
const de_InvalidRegionRes = async (parsedOutput, context) => {
|
|
2532
2368
|
const body = parsedOutput.body;
|
|
2533
|
-
const deserialized =
|
|
2369
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2534
2370
|
const exception = new models_0_1.InvalidRegion({
|
|
2535
2371
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2536
2372
|
...deserialized,
|
|
@@ -2539,7 +2375,7 @@ const de_InvalidRegionRes = async (parsedOutput, context) => {
|
|
|
2539
2375
|
};
|
|
2540
2376
|
const de_InvalidSourceKmsKeyRes = async (parsedOutput, context) => {
|
|
2541
2377
|
const body = parsedOutput.body;
|
|
2542
|
-
const deserialized =
|
|
2378
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2543
2379
|
const exception = new models_0_1.InvalidSourceKmsKey({
|
|
2544
2380
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2545
2381
|
...deserialized,
|
|
@@ -2548,7 +2384,7 @@ const de_InvalidSourceKmsKeyRes = async (parsedOutput, context) => {
|
|
|
2548
2384
|
};
|
|
2549
2385
|
const de_MissingFileCacheConfigurationRes = async (parsedOutput, context) => {
|
|
2550
2386
|
const body = parsedOutput.body;
|
|
2551
|
-
const deserialized =
|
|
2387
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2552
2388
|
const exception = new models_0_1.MissingFileCacheConfiguration({
|
|
2553
2389
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2554
2390
|
...deserialized,
|
|
@@ -2557,7 +2393,7 @@ const de_MissingFileCacheConfigurationRes = async (parsedOutput, context) => {
|
|
|
2557
2393
|
};
|
|
2558
2394
|
const de_MissingFileSystemConfigurationRes = async (parsedOutput, context) => {
|
|
2559
2395
|
const body = parsedOutput.body;
|
|
2560
|
-
const deserialized =
|
|
2396
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2561
2397
|
const exception = new models_0_1.MissingFileSystemConfiguration({
|
|
2562
2398
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2563
2399
|
...deserialized,
|
|
@@ -2566,7 +2402,7 @@ const de_MissingFileSystemConfigurationRes = async (parsedOutput, context) => {
|
|
|
2566
2402
|
};
|
|
2567
2403
|
const de_MissingVolumeConfigurationRes = async (parsedOutput, context) => {
|
|
2568
2404
|
const body = parsedOutput.body;
|
|
2569
|
-
const deserialized =
|
|
2405
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2570
2406
|
const exception = new models_0_1.MissingVolumeConfiguration({
|
|
2571
2407
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2572
2408
|
...deserialized,
|
|
@@ -2575,7 +2411,7 @@ const de_MissingVolumeConfigurationRes = async (parsedOutput, context) => {
|
|
|
2575
2411
|
};
|
|
2576
2412
|
const de_NotServiceResourceErrorRes = async (parsedOutput, context) => {
|
|
2577
2413
|
const body = parsedOutput.body;
|
|
2578
|
-
const deserialized =
|
|
2414
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2579
2415
|
const exception = new models_0_1.NotServiceResourceError({
|
|
2580
2416
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2581
2417
|
...deserialized,
|
|
@@ -2584,7 +2420,7 @@ const de_NotServiceResourceErrorRes = async (parsedOutput, context) => {
|
|
|
2584
2420
|
};
|
|
2585
2421
|
const de_ResourceDoesNotSupportTaggingRes = async (parsedOutput, context) => {
|
|
2586
2422
|
const body = parsedOutput.body;
|
|
2587
|
-
const deserialized =
|
|
2423
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2588
2424
|
const exception = new models_0_1.ResourceDoesNotSupportTagging({
|
|
2589
2425
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2590
2426
|
...deserialized,
|
|
@@ -2593,7 +2429,7 @@ const de_ResourceDoesNotSupportTaggingRes = async (parsedOutput, context) => {
|
|
|
2593
2429
|
};
|
|
2594
2430
|
const de_ResourceNotFoundRes = async (parsedOutput, context) => {
|
|
2595
2431
|
const body = parsedOutput.body;
|
|
2596
|
-
const deserialized =
|
|
2432
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2597
2433
|
const exception = new models_0_1.ResourceNotFound({
|
|
2598
2434
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2599
2435
|
...deserialized,
|
|
@@ -2602,7 +2438,7 @@ const de_ResourceNotFoundRes = async (parsedOutput, context) => {
|
|
|
2602
2438
|
};
|
|
2603
2439
|
const de_ServiceLimitExceededRes = async (parsedOutput, context) => {
|
|
2604
2440
|
const body = parsedOutput.body;
|
|
2605
|
-
const deserialized =
|
|
2441
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2606
2442
|
const exception = new models_0_1.ServiceLimitExceeded({
|
|
2607
2443
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2608
2444
|
...deserialized,
|
|
@@ -2611,7 +2447,7 @@ const de_ServiceLimitExceededRes = async (parsedOutput, context) => {
|
|
|
2611
2447
|
};
|
|
2612
2448
|
const de_SnapshotNotFoundRes = async (parsedOutput, context) => {
|
|
2613
2449
|
const body = parsedOutput.body;
|
|
2614
|
-
const deserialized =
|
|
2450
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2615
2451
|
const exception = new models_0_1.SnapshotNotFound({
|
|
2616
2452
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2617
2453
|
...deserialized,
|
|
@@ -2620,7 +2456,7 @@ const de_SnapshotNotFoundRes = async (parsedOutput, context) => {
|
|
|
2620
2456
|
};
|
|
2621
2457
|
const de_SourceBackupUnavailableRes = async (parsedOutput, context) => {
|
|
2622
2458
|
const body = parsedOutput.body;
|
|
2623
|
-
const deserialized =
|
|
2459
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2624
2460
|
const exception = new models_0_1.SourceBackupUnavailable({
|
|
2625
2461
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2626
2462
|
...deserialized,
|
|
@@ -2629,7 +2465,7 @@ const de_SourceBackupUnavailableRes = async (parsedOutput, context) => {
|
|
|
2629
2465
|
};
|
|
2630
2466
|
const de_StorageVirtualMachineNotFoundRes = async (parsedOutput, context) => {
|
|
2631
2467
|
const body = parsedOutput.body;
|
|
2632
|
-
const deserialized =
|
|
2468
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2633
2469
|
const exception = new models_0_1.StorageVirtualMachineNotFound({
|
|
2634
2470
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2635
2471
|
...deserialized,
|
|
@@ -2638,7 +2474,7 @@ const de_StorageVirtualMachineNotFoundRes = async (parsedOutput, context) => {
|
|
|
2638
2474
|
};
|
|
2639
2475
|
const de_UnsupportedOperationRes = async (parsedOutput, context) => {
|
|
2640
2476
|
const body = parsedOutput.body;
|
|
2641
|
-
const deserialized =
|
|
2477
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2642
2478
|
const exception = new models_0_1.UnsupportedOperation({
|
|
2643
2479
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2644
2480
|
...deserialized,
|
|
@@ -2647,2457 +2483,684 @@ const de_UnsupportedOperationRes = async (parsedOutput, context) => {
|
|
|
2647
2483
|
};
|
|
2648
2484
|
const de_VolumeNotFoundRes = async (parsedOutput, context) => {
|
|
2649
2485
|
const body = parsedOutput.body;
|
|
2650
|
-
const deserialized =
|
|
2486
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2651
2487
|
const exception = new models_0_1.VolumeNotFound({
|
|
2652
2488
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2653
2489
|
...deserialized,
|
|
2654
2490
|
});
|
|
2655
2491
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2656
2492
|
};
|
|
2657
|
-
const se_AlternateDNSNames = (input, context) => {
|
|
2658
|
-
return input
|
|
2659
|
-
.filter((e) => e != null)
|
|
2660
|
-
.map((entry) => {
|
|
2661
|
-
return entry;
|
|
2662
|
-
});
|
|
2663
|
-
};
|
|
2664
2493
|
const se_AssociateFileSystemAliasesRequest = (input, context) => {
|
|
2665
|
-
return {
|
|
2666
|
-
|
|
2667
|
-
ClientRequestToken:
|
|
2668
|
-
|
|
2669
|
-
};
|
|
2670
|
-
};
|
|
2671
|
-
const se_AutoExportPolicy = (input, context) => {
|
|
2672
|
-
return {
|
|
2673
|
-
...(input.Events != null && { Events: se_EventTypes(input.Events, context) }),
|
|
2674
|
-
};
|
|
2675
|
-
};
|
|
2676
|
-
const se_AutoImportPolicy = (input, context) => {
|
|
2677
|
-
return {
|
|
2678
|
-
...(input.Events != null && { Events: se_EventTypes(input.Events, context) }),
|
|
2679
|
-
};
|
|
2680
|
-
};
|
|
2681
|
-
const se_BackupIds = (input, context) => {
|
|
2682
|
-
return input
|
|
2683
|
-
.filter((e) => e != null)
|
|
2684
|
-
.map((entry) => {
|
|
2685
|
-
return entry;
|
|
2494
|
+
return (0, smithy_client_1.take)(input, {
|
|
2495
|
+
Aliases: smithy_client_1._json,
|
|
2496
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2497
|
+
FileSystemId: [],
|
|
2686
2498
|
});
|
|
2687
2499
|
};
|
|
2688
|
-
const se_CancelDataRepositoryTaskRequest = (input, context) => {
|
|
2689
|
-
return {
|
|
2690
|
-
...(input.TaskId != null && { TaskId: input.TaskId }),
|
|
2691
|
-
};
|
|
2692
|
-
};
|
|
2693
|
-
const se_CompletionReport = (input, context) => {
|
|
2694
|
-
return {
|
|
2695
|
-
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
2696
|
-
...(input.Format != null && { Format: input.Format }),
|
|
2697
|
-
...(input.Path != null && { Path: input.Path }),
|
|
2698
|
-
...(input.Scope != null && { Scope: input.Scope }),
|
|
2699
|
-
};
|
|
2700
|
-
};
|
|
2701
2500
|
const se_CopyBackupRequest = (input, context) => {
|
|
2702
|
-
return {
|
|
2703
|
-
ClientRequestToken:
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
};
|
|
2501
|
+
return (0, smithy_client_1.take)(input, {
|
|
2502
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2503
|
+
CopyTags: [],
|
|
2504
|
+
KmsKeyId: [],
|
|
2505
|
+
SourceBackupId: [],
|
|
2506
|
+
SourceRegion: [],
|
|
2507
|
+
Tags: smithy_client_1._json,
|
|
2508
|
+
});
|
|
2710
2509
|
};
|
|
2711
2510
|
const se_CreateBackupRequest = (input, context) => {
|
|
2712
|
-
return {
|
|
2713
|
-
ClientRequestToken:
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
};
|
|
2511
|
+
return (0, smithy_client_1.take)(input, {
|
|
2512
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2513
|
+
FileSystemId: [],
|
|
2514
|
+
Tags: smithy_client_1._json,
|
|
2515
|
+
VolumeId: [],
|
|
2516
|
+
});
|
|
2718
2517
|
};
|
|
2719
2518
|
const se_CreateDataRepositoryAssociationRequest = (input, context) => {
|
|
2720
|
-
return {
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
2731
|
-
};
|
|
2519
|
+
return (0, smithy_client_1.take)(input, {
|
|
2520
|
+
BatchImportMetaDataOnCreate: [],
|
|
2521
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2522
|
+
DataRepositoryPath: [],
|
|
2523
|
+
FileSystemId: [],
|
|
2524
|
+
FileSystemPath: [],
|
|
2525
|
+
ImportedFileChunkSize: [],
|
|
2526
|
+
S3: smithy_client_1._json,
|
|
2527
|
+
Tags: smithy_client_1._json,
|
|
2528
|
+
});
|
|
2732
2529
|
};
|
|
2733
2530
|
const se_CreateDataRepositoryTaskRequest = (input, context) => {
|
|
2734
|
-
return {
|
|
2735
|
-
|
|
2736
|
-
ClientRequestToken:
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
};
|
|
2743
|
-
};
|
|
2744
|
-
const se_CreateFileCacheDataRepositoryAssociations = (input, context) => {
|
|
2745
|
-
return input
|
|
2746
|
-
.filter((e) => e != null)
|
|
2747
|
-
.map((entry) => {
|
|
2748
|
-
return se_FileCacheDataRepositoryAssociation(entry, context);
|
|
2531
|
+
return (0, smithy_client_1.take)(input, {
|
|
2532
|
+
CapacityToRelease: [],
|
|
2533
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2534
|
+
FileSystemId: [],
|
|
2535
|
+
Paths: smithy_client_1._json,
|
|
2536
|
+
Report: smithy_client_1._json,
|
|
2537
|
+
Tags: smithy_client_1._json,
|
|
2538
|
+
Type: [],
|
|
2749
2539
|
});
|
|
2750
2540
|
};
|
|
2751
|
-
const se_CreateFileCacheLustreConfiguration = (input, context) => {
|
|
2752
|
-
return {
|
|
2753
|
-
...(input.DeploymentType != null && { DeploymentType: input.DeploymentType }),
|
|
2754
|
-
...(input.MetadataConfiguration != null && {
|
|
2755
|
-
MetadataConfiguration: se_FileCacheLustreMetadataConfiguration(input.MetadataConfiguration, context),
|
|
2756
|
-
}),
|
|
2757
|
-
...(input.PerUnitStorageThroughput != null && { PerUnitStorageThroughput: input.PerUnitStorageThroughput }),
|
|
2758
|
-
...(input.WeeklyMaintenanceStartTime != null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }),
|
|
2759
|
-
};
|
|
2760
|
-
};
|
|
2761
2541
|
const se_CreateFileCacheRequest = (input, context) => {
|
|
2762
|
-
return {
|
|
2763
|
-
ClientRequestToken:
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
}),
|
|
2776
|
-
...(input.SecurityGroupIds != null && { SecurityGroupIds: se_SecurityGroupIds(input.SecurityGroupIds, context) }),
|
|
2777
|
-
...(input.StorageCapacity != null && { StorageCapacity: input.StorageCapacity }),
|
|
2778
|
-
...(input.SubnetIds != null && { SubnetIds: se_SubnetIds(input.SubnetIds, context) }),
|
|
2779
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
2780
|
-
};
|
|
2542
|
+
return (0, smithy_client_1.take)(input, {
|
|
2543
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2544
|
+
CopyTagsToDataRepositoryAssociations: [],
|
|
2545
|
+
DataRepositoryAssociations: smithy_client_1._json,
|
|
2546
|
+
FileCacheType: [],
|
|
2547
|
+
FileCacheTypeVersion: [],
|
|
2548
|
+
KmsKeyId: [],
|
|
2549
|
+
LustreConfiguration: smithy_client_1._json,
|
|
2550
|
+
SecurityGroupIds: smithy_client_1._json,
|
|
2551
|
+
StorageCapacity: [],
|
|
2552
|
+
SubnetIds: smithy_client_1._json,
|
|
2553
|
+
Tags: smithy_client_1._json,
|
|
2554
|
+
});
|
|
2781
2555
|
};
|
|
2782
2556
|
const se_CreateFileSystemFromBackupRequest = (input, context) => {
|
|
2783
|
-
return {
|
|
2784
|
-
|
|
2785
|
-
ClientRequestToken:
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
...(input.SubnetIds != null && { SubnetIds: se_SubnetIds(input.SubnetIds, context) }),
|
|
2798
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
2799
|
-
...(input.WindowsConfiguration != null && {
|
|
2800
|
-
WindowsConfiguration: se_CreateFileSystemWindowsConfiguration(input.WindowsConfiguration, context),
|
|
2801
|
-
}),
|
|
2802
|
-
};
|
|
2557
|
+
return (0, smithy_client_1.take)(input, {
|
|
2558
|
+
BackupId: [],
|
|
2559
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2560
|
+
FileSystemTypeVersion: [],
|
|
2561
|
+
KmsKeyId: [],
|
|
2562
|
+
LustreConfiguration: smithy_client_1._json,
|
|
2563
|
+
OpenZFSConfiguration: smithy_client_1._json,
|
|
2564
|
+
SecurityGroupIds: smithy_client_1._json,
|
|
2565
|
+
StorageCapacity: [],
|
|
2566
|
+
StorageType: [],
|
|
2567
|
+
SubnetIds: smithy_client_1._json,
|
|
2568
|
+
Tags: smithy_client_1._json,
|
|
2569
|
+
WindowsConfiguration: smithy_client_1._json,
|
|
2570
|
+
});
|
|
2803
2571
|
};
|
|
2804
|
-
const
|
|
2805
|
-
return {
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
...(input.LogConfiguration != null && {
|
|
2821
|
-
LogConfiguration: se_LustreLogCreateConfiguration(input.LogConfiguration, context),
|
|
2822
|
-
}),
|
|
2823
|
-
...(input.PerUnitStorageThroughput != null && { PerUnitStorageThroughput: input.PerUnitStorageThroughput }),
|
|
2824
|
-
...(input.RootSquashConfiguration != null && {
|
|
2825
|
-
RootSquashConfiguration: se_LustreRootSquashConfiguration(input.RootSquashConfiguration, context),
|
|
2826
|
-
}),
|
|
2827
|
-
...(input.WeeklyMaintenanceStartTime != null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }),
|
|
2828
|
-
};
|
|
2572
|
+
const se_CreateFileSystemRequest = (input, context) => {
|
|
2573
|
+
return (0, smithy_client_1.take)(input, {
|
|
2574
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2575
|
+
FileSystemType: [],
|
|
2576
|
+
FileSystemTypeVersion: [],
|
|
2577
|
+
KmsKeyId: [],
|
|
2578
|
+
LustreConfiguration: smithy_client_1._json,
|
|
2579
|
+
OntapConfiguration: smithy_client_1._json,
|
|
2580
|
+
OpenZFSConfiguration: smithy_client_1._json,
|
|
2581
|
+
SecurityGroupIds: smithy_client_1._json,
|
|
2582
|
+
StorageCapacity: [],
|
|
2583
|
+
StorageType: [],
|
|
2584
|
+
SubnetIds: smithy_client_1._json,
|
|
2585
|
+
Tags: smithy_client_1._json,
|
|
2586
|
+
WindowsConfiguration: smithy_client_1._json,
|
|
2587
|
+
});
|
|
2829
2588
|
};
|
|
2830
|
-
const
|
|
2831
|
-
return {
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
}),
|
|
2838
|
-
...(input.DeploymentType != null && { DeploymentType: input.DeploymentType }),
|
|
2839
|
-
...(input.DiskIopsConfiguration != null && {
|
|
2840
|
-
DiskIopsConfiguration: se_DiskIopsConfiguration(input.DiskIopsConfiguration, context),
|
|
2841
|
-
}),
|
|
2842
|
-
...(input.EndpointIpAddressRange != null && { EndpointIpAddressRange: input.EndpointIpAddressRange }),
|
|
2843
|
-
...(input.FsxAdminPassword != null && { FsxAdminPassword: input.FsxAdminPassword }),
|
|
2844
|
-
...(input.PreferredSubnetId != null && { PreferredSubnetId: input.PreferredSubnetId }),
|
|
2845
|
-
...(input.RouteTableIds != null && { RouteTableIds: se_RouteTableIds(input.RouteTableIds, context) }),
|
|
2846
|
-
...(input.ThroughputCapacity != null && { ThroughputCapacity: input.ThroughputCapacity }),
|
|
2847
|
-
...(input.WeeklyMaintenanceStartTime != null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }),
|
|
2848
|
-
};
|
|
2589
|
+
const se_CreateSnapshotRequest = (input, context) => {
|
|
2590
|
+
return (0, smithy_client_1.take)(input, {
|
|
2591
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2592
|
+
Name: [],
|
|
2593
|
+
Tags: smithy_client_1._json,
|
|
2594
|
+
VolumeId: [],
|
|
2595
|
+
});
|
|
2849
2596
|
};
|
|
2850
|
-
const
|
|
2851
|
-
return {
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
...(input.DeploymentType != null && { DeploymentType: input.DeploymentType }),
|
|
2861
|
-
...(input.DiskIopsConfiguration != null && {
|
|
2862
|
-
DiskIopsConfiguration: se_DiskIopsConfiguration(input.DiskIopsConfiguration, context),
|
|
2863
|
-
}),
|
|
2864
|
-
...(input.RootVolumeConfiguration != null && {
|
|
2865
|
-
RootVolumeConfiguration: se_OpenZFSCreateRootVolumeConfiguration(input.RootVolumeConfiguration, context),
|
|
2866
|
-
}),
|
|
2867
|
-
...(input.ThroughputCapacity != null && { ThroughputCapacity: input.ThroughputCapacity }),
|
|
2868
|
-
...(input.WeeklyMaintenanceStartTime != null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }),
|
|
2869
|
-
};
|
|
2597
|
+
const se_CreateStorageVirtualMachineRequest = (input, context) => {
|
|
2598
|
+
return (0, smithy_client_1.take)(input, {
|
|
2599
|
+
ActiveDirectoryConfiguration: smithy_client_1._json,
|
|
2600
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2601
|
+
FileSystemId: [],
|
|
2602
|
+
Name: [],
|
|
2603
|
+
RootVolumeSecurityStyle: [],
|
|
2604
|
+
SvmAdminPassword: [],
|
|
2605
|
+
Tags: smithy_client_1._json,
|
|
2606
|
+
});
|
|
2870
2607
|
};
|
|
2871
|
-
const
|
|
2872
|
-
return {
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
}),
|
|
2880
|
-
...(input.OntapConfiguration != null && {
|
|
2881
|
-
OntapConfiguration: se_CreateFileSystemOntapConfiguration(input.OntapConfiguration, context),
|
|
2882
|
-
}),
|
|
2883
|
-
...(input.OpenZFSConfiguration != null && {
|
|
2884
|
-
OpenZFSConfiguration: se_CreateFileSystemOpenZFSConfiguration(input.OpenZFSConfiguration, context),
|
|
2885
|
-
}),
|
|
2886
|
-
...(input.SecurityGroupIds != null && { SecurityGroupIds: se_SecurityGroupIds(input.SecurityGroupIds, context) }),
|
|
2887
|
-
...(input.StorageCapacity != null && { StorageCapacity: input.StorageCapacity }),
|
|
2888
|
-
...(input.StorageType != null && { StorageType: input.StorageType }),
|
|
2889
|
-
...(input.SubnetIds != null && { SubnetIds: se_SubnetIds(input.SubnetIds, context) }),
|
|
2890
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
2891
|
-
...(input.WindowsConfiguration != null && {
|
|
2892
|
-
WindowsConfiguration: se_CreateFileSystemWindowsConfiguration(input.WindowsConfiguration, context),
|
|
2893
|
-
}),
|
|
2894
|
-
};
|
|
2608
|
+
const se_CreateVolumeFromBackupRequest = (input, context) => {
|
|
2609
|
+
return (0, smithy_client_1.take)(input, {
|
|
2610
|
+
BackupId: [],
|
|
2611
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2612
|
+
Name: [],
|
|
2613
|
+
OntapConfiguration: smithy_client_1._json,
|
|
2614
|
+
Tags: smithy_client_1._json,
|
|
2615
|
+
});
|
|
2895
2616
|
};
|
|
2896
|
-
const
|
|
2897
|
-
return {
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
}),
|
|
2906
|
-
...(input.CopyTagsToBackups != null && { CopyTagsToBackups: input.CopyTagsToBackups }),
|
|
2907
|
-
...(input.DailyAutomaticBackupStartTime != null && {
|
|
2908
|
-
DailyAutomaticBackupStartTime: input.DailyAutomaticBackupStartTime,
|
|
2909
|
-
}),
|
|
2910
|
-
...(input.DeploymentType != null && { DeploymentType: input.DeploymentType }),
|
|
2911
|
-
...(input.PreferredSubnetId != null && { PreferredSubnetId: input.PreferredSubnetId }),
|
|
2912
|
-
...(input.SelfManagedActiveDirectoryConfiguration != null && {
|
|
2913
|
-
SelfManagedActiveDirectoryConfiguration: se_SelfManagedActiveDirectoryConfiguration(input.SelfManagedActiveDirectoryConfiguration, context),
|
|
2914
|
-
}),
|
|
2915
|
-
...(input.ThroughputCapacity != null && { ThroughputCapacity: input.ThroughputCapacity }),
|
|
2916
|
-
...(input.WeeklyMaintenanceStartTime != null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }),
|
|
2917
|
-
};
|
|
2617
|
+
const se_CreateVolumeRequest = (input, context) => {
|
|
2618
|
+
return (0, smithy_client_1.take)(input, {
|
|
2619
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2620
|
+
Name: [],
|
|
2621
|
+
OntapConfiguration: smithy_client_1._json,
|
|
2622
|
+
OpenZFSConfiguration: smithy_client_1._json,
|
|
2623
|
+
Tags: smithy_client_1._json,
|
|
2624
|
+
VolumeType: [],
|
|
2625
|
+
});
|
|
2918
2626
|
};
|
|
2919
|
-
const
|
|
2920
|
-
return {
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
...(input.SecurityStyle != null && { SecurityStyle: input.SecurityStyle }),
|
|
2925
|
-
...(input.SizeInMegabytes != null && { SizeInMegabytes: input.SizeInMegabytes }),
|
|
2926
|
-
...(input.SnapshotPolicy != null && { SnapshotPolicy: input.SnapshotPolicy }),
|
|
2927
|
-
...(input.StorageEfficiencyEnabled != null && { StorageEfficiencyEnabled: input.StorageEfficiencyEnabled }),
|
|
2928
|
-
...(input.StorageVirtualMachineId != null && { StorageVirtualMachineId: input.StorageVirtualMachineId }),
|
|
2929
|
-
...(input.TieringPolicy != null && { TieringPolicy: se_TieringPolicy(input.TieringPolicy, context) }),
|
|
2930
|
-
};
|
|
2627
|
+
const se_DeleteBackupRequest = (input, context) => {
|
|
2628
|
+
return (0, smithy_client_1.take)(input, {
|
|
2629
|
+
BackupId: [],
|
|
2630
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2631
|
+
});
|
|
2931
2632
|
};
|
|
2932
|
-
const
|
|
2933
|
-
return {
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2633
|
+
const se_DeleteDataRepositoryAssociationRequest = (input, context) => {
|
|
2634
|
+
return (0, smithy_client_1.take)(input, {
|
|
2635
|
+
AssociationId: [],
|
|
2636
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2637
|
+
DeleteDataInFileSystem: [],
|
|
2638
|
+
});
|
|
2937
2639
|
};
|
|
2938
|
-
const
|
|
2939
|
-
return {
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
...(input.OriginSnapshot != null && {
|
|
2944
|
-
OriginSnapshot: se_CreateOpenZFSOriginSnapshotConfiguration(input.OriginSnapshot, context),
|
|
2945
|
-
}),
|
|
2946
|
-
...(input.ParentVolumeId != null && { ParentVolumeId: input.ParentVolumeId }),
|
|
2947
|
-
...(input.ReadOnly != null && { ReadOnly: input.ReadOnly }),
|
|
2948
|
-
...(input.RecordSizeKiB != null && { RecordSizeKiB: input.RecordSizeKiB }),
|
|
2949
|
-
...(input.StorageCapacityQuotaGiB != null && { StorageCapacityQuotaGiB: input.StorageCapacityQuotaGiB }),
|
|
2950
|
-
...(input.StorageCapacityReservationGiB != null && {
|
|
2951
|
-
StorageCapacityReservationGiB: input.StorageCapacityReservationGiB,
|
|
2952
|
-
}),
|
|
2953
|
-
...(input.UserAndGroupQuotas != null && {
|
|
2954
|
-
UserAndGroupQuotas: se_OpenZFSUserAndGroupQuotas(input.UserAndGroupQuotas, context),
|
|
2955
|
-
}),
|
|
2956
|
-
};
|
|
2640
|
+
const se_DeleteFileCacheRequest = (input, context) => {
|
|
2641
|
+
return (0, smithy_client_1.take)(input, {
|
|
2642
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2643
|
+
FileCacheId: [],
|
|
2644
|
+
});
|
|
2957
2645
|
};
|
|
2958
|
-
const
|
|
2959
|
-
return {
|
|
2960
|
-
ClientRequestToken:
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2646
|
+
const se_DeleteFileSystemRequest = (input, context) => {
|
|
2647
|
+
return (0, smithy_client_1.take)(input, {
|
|
2648
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2649
|
+
FileSystemId: [],
|
|
2650
|
+
LustreConfiguration: smithy_client_1._json,
|
|
2651
|
+
OpenZFSConfiguration: smithy_client_1._json,
|
|
2652
|
+
WindowsConfiguration: smithy_client_1._json,
|
|
2653
|
+
});
|
|
2965
2654
|
};
|
|
2966
|
-
const
|
|
2967
|
-
return {
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
2972
|
-
...(input.FileSystemId != null && { FileSystemId: input.FileSystemId }),
|
|
2973
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2974
|
-
...(input.RootVolumeSecurityStyle != null && { RootVolumeSecurityStyle: input.RootVolumeSecurityStyle }),
|
|
2975
|
-
...(input.SvmAdminPassword != null && { SvmAdminPassword: input.SvmAdminPassword }),
|
|
2976
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
2977
|
-
};
|
|
2655
|
+
const se_DeleteSnapshotRequest = (input, context) => {
|
|
2656
|
+
return (0, smithy_client_1.take)(input, {
|
|
2657
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2658
|
+
SnapshotId: [],
|
|
2659
|
+
});
|
|
2978
2660
|
};
|
|
2979
|
-
const
|
|
2980
|
-
return {
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
}),
|
|
2985
|
-
};
|
|
2661
|
+
const se_DeleteStorageVirtualMachineRequest = (input, context) => {
|
|
2662
|
+
return (0, smithy_client_1.take)(input, {
|
|
2663
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2664
|
+
StorageVirtualMachineId: [],
|
|
2665
|
+
});
|
|
2986
2666
|
};
|
|
2987
|
-
const
|
|
2988
|
-
return {
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
}),
|
|
2995
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
2996
|
-
};
|
|
2667
|
+
const se_DeleteVolumeRequest = (input, context) => {
|
|
2668
|
+
return (0, smithy_client_1.take)(input, {
|
|
2669
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2670
|
+
OntapConfiguration: smithy_client_1._json,
|
|
2671
|
+
OpenZFSConfiguration: smithy_client_1._json,
|
|
2672
|
+
VolumeId: [],
|
|
2673
|
+
});
|
|
2997
2674
|
};
|
|
2998
|
-
const
|
|
2999
|
-
return {
|
|
3000
|
-
ClientRequestToken:
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
...(input.OpenZFSConfiguration != null && {
|
|
3006
|
-
OpenZFSConfiguration: se_CreateOpenZFSVolumeConfiguration(input.OpenZFSConfiguration, context),
|
|
3007
|
-
}),
|
|
3008
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
3009
|
-
...(input.VolumeType != null && { VolumeType: input.VolumeType }),
|
|
3010
|
-
};
|
|
2675
|
+
const se_DescribeFileSystemAliasesRequest = (input, context) => {
|
|
2676
|
+
return (0, smithy_client_1.take)(input, {
|
|
2677
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2678
|
+
FileSystemId: [],
|
|
2679
|
+
MaxResults: [],
|
|
2680
|
+
NextToken: [],
|
|
2681
|
+
});
|
|
3011
2682
|
};
|
|
3012
|
-
const
|
|
3013
|
-
return input
|
|
3014
|
-
.
|
|
3015
|
-
|
|
3016
|
-
|
|
2683
|
+
const se_DisassociateFileSystemAliasesRequest = (input, context) => {
|
|
2684
|
+
return (0, smithy_client_1.take)(input, {
|
|
2685
|
+
Aliases: smithy_client_1._json,
|
|
2686
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2687
|
+
FileSystemId: [],
|
|
3017
2688
|
});
|
|
3018
2689
|
};
|
|
3019
|
-
const
|
|
3020
|
-
return {
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
};
|
|
2690
|
+
const se_ReleaseFileSystemNfsV3LocksRequest = (input, context) => {
|
|
2691
|
+
return (0, smithy_client_1.take)(input, {
|
|
2692
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2693
|
+
FileSystemId: [],
|
|
2694
|
+
});
|
|
3024
2695
|
};
|
|
3025
|
-
const
|
|
3026
|
-
return input
|
|
3027
|
-
|
|
3028
|
-
.
|
|
3029
|
-
|
|
2696
|
+
const se_RestoreVolumeFromSnapshotRequest = (input, context) => {
|
|
2697
|
+
return (0, smithy_client_1.take)(input, {
|
|
2698
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2699
|
+
Options: smithy_client_1._json,
|
|
2700
|
+
SnapshotId: [],
|
|
2701
|
+
VolumeId: [],
|
|
3030
2702
|
});
|
|
3031
2703
|
};
|
|
3032
|
-
const
|
|
3033
|
-
return input
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
2704
|
+
const se_UpdateDataRepositoryAssociationRequest = (input, context) => {
|
|
2705
|
+
return (0, smithy_client_1.take)(input, {
|
|
2706
|
+
AssociationId: [],
|
|
2707
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2708
|
+
ImportedFileChunkSize: [],
|
|
2709
|
+
S3: smithy_client_1._json,
|
|
3037
2710
|
});
|
|
3038
2711
|
};
|
|
3039
|
-
const
|
|
3040
|
-
return input
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
2712
|
+
const se_UpdateFileCacheRequest = (input, context) => {
|
|
2713
|
+
return (0, smithy_client_1.take)(input, {
|
|
2714
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2715
|
+
FileCacheId: [],
|
|
2716
|
+
LustreConfiguration: smithy_client_1._json,
|
|
3044
2717
|
});
|
|
3045
2718
|
};
|
|
3046
|
-
const
|
|
3047
|
-
return {
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
2719
|
+
const se_UpdateFileSystemRequest = (input, context) => {
|
|
2720
|
+
return (0, smithy_client_1.take)(input, {
|
|
2721
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2722
|
+
FileSystemId: [],
|
|
2723
|
+
LustreConfiguration: smithy_client_1._json,
|
|
2724
|
+
OntapConfiguration: smithy_client_1._json,
|
|
2725
|
+
OpenZFSConfiguration: smithy_client_1._json,
|
|
2726
|
+
StorageCapacity: [],
|
|
2727
|
+
WindowsConfiguration: smithy_client_1._json,
|
|
2728
|
+
});
|
|
3051
2729
|
};
|
|
3052
|
-
const
|
|
3053
|
-
return {
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
};
|
|
2730
|
+
const se_UpdateSnapshotRequest = (input, context) => {
|
|
2731
|
+
return (0, smithy_client_1.take)(input, {
|
|
2732
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2733
|
+
Name: [],
|
|
2734
|
+
SnapshotId: [],
|
|
2735
|
+
});
|
|
3058
2736
|
};
|
|
3059
|
-
const
|
|
3060
|
-
return {
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
2737
|
+
const se_UpdateStorageVirtualMachineRequest = (input, context) => {
|
|
2738
|
+
return (0, smithy_client_1.take)(input, {
|
|
2739
|
+
ActiveDirectoryConfiguration: smithy_client_1._json,
|
|
2740
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2741
|
+
StorageVirtualMachineId: [],
|
|
2742
|
+
SvmAdminPassword: [],
|
|
2743
|
+
});
|
|
3064
2744
|
};
|
|
3065
|
-
const
|
|
3066
|
-
return {
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
2745
|
+
const se_UpdateVolumeRequest = (input, context) => {
|
|
2746
|
+
return (0, smithy_client_1.take)(input, {
|
|
2747
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2748
|
+
Name: [],
|
|
2749
|
+
OntapConfiguration: smithy_client_1._json,
|
|
2750
|
+
OpenZFSConfiguration: smithy_client_1._json,
|
|
2751
|
+
VolumeId: [],
|
|
2752
|
+
});
|
|
3070
2753
|
};
|
|
3071
|
-
const
|
|
3072
|
-
return {
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
2754
|
+
const de_AdministrativeAction = (output, context) => {
|
|
2755
|
+
return (0, smithy_client_1.take)(output, {
|
|
2756
|
+
AdministrativeActionType: smithy_client_1.expectString,
|
|
2757
|
+
FailureDetails: smithy_client_1._json,
|
|
2758
|
+
ProgressPercent: smithy_client_1.expectInt32,
|
|
2759
|
+
RequestTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2760
|
+
Status: smithy_client_1.expectString,
|
|
2761
|
+
TargetFileSystemValues: (_) => de_FileSystem(_, context),
|
|
2762
|
+
TargetSnapshotValues: (_) => de_Snapshot(_, context),
|
|
2763
|
+
TargetVolumeValues: (_) => de_Volume(_, context),
|
|
2764
|
+
});
|
|
3077
2765
|
};
|
|
3078
|
-
const
|
|
3079
|
-
|
|
2766
|
+
const de_AdministrativeActions = (output, context) => {
|
|
2767
|
+
const retVal = (output || [])
|
|
3080
2768
|
.filter((e) => e != null)
|
|
3081
2769
|
.map((entry) => {
|
|
3082
|
-
return entry;
|
|
2770
|
+
return de_AdministrativeAction(entry, context);
|
|
3083
2771
|
});
|
|
2772
|
+
return retVal;
|
|
3084
2773
|
};
|
|
3085
|
-
const
|
|
3086
|
-
return {
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
};
|
|
2774
|
+
const de_Backup = (output, context) => {
|
|
2775
|
+
return (0, smithy_client_1.take)(output, {
|
|
2776
|
+
BackupId: smithy_client_1.expectString,
|
|
2777
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2778
|
+
DirectoryInformation: smithy_client_1._json,
|
|
2779
|
+
FailureDetails: smithy_client_1._json,
|
|
2780
|
+
FileSystem: (_) => de_FileSystem(_, context),
|
|
2781
|
+
KmsKeyId: smithy_client_1.expectString,
|
|
2782
|
+
Lifecycle: smithy_client_1.expectString,
|
|
2783
|
+
OwnerId: smithy_client_1.expectString,
|
|
2784
|
+
ProgressPercent: smithy_client_1.expectInt32,
|
|
2785
|
+
ResourceARN: smithy_client_1.expectString,
|
|
2786
|
+
ResourceType: smithy_client_1.expectString,
|
|
2787
|
+
SourceBackupId: smithy_client_1.expectString,
|
|
2788
|
+
SourceBackupRegion: smithy_client_1.expectString,
|
|
2789
|
+
Tags: smithy_client_1._json,
|
|
2790
|
+
Type: smithy_client_1.expectString,
|
|
2791
|
+
Volume: (_) => de_Volume(_, context),
|
|
2792
|
+
});
|
|
3105
2793
|
};
|
|
3106
|
-
const
|
|
3107
|
-
|
|
2794
|
+
const de_Backups = (output, context) => {
|
|
2795
|
+
const retVal = (output || [])
|
|
3108
2796
|
.filter((e) => e != null)
|
|
3109
2797
|
.map((entry) => {
|
|
3110
|
-
return entry;
|
|
2798
|
+
return de_Backup(entry, context);
|
|
3111
2799
|
});
|
|
2800
|
+
return retVal;
|
|
3112
2801
|
};
|
|
3113
|
-
const
|
|
3114
|
-
return {
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
};
|
|
2802
|
+
const de_CopyBackupResponse = (output, context) => {
|
|
2803
|
+
return (0, smithy_client_1.take)(output, {
|
|
2804
|
+
Backup: (_) => de_Backup(_, context),
|
|
2805
|
+
});
|
|
3118
2806
|
};
|
|
3119
|
-
const
|
|
3120
|
-
return {
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
};
|
|
2807
|
+
const de_CreateBackupResponse = (output, context) => {
|
|
2808
|
+
return (0, smithy_client_1.take)(output, {
|
|
2809
|
+
Backup: (_) => de_Backup(_, context),
|
|
2810
|
+
});
|
|
3124
2811
|
};
|
|
3125
|
-
const
|
|
3126
|
-
return {
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
};
|
|
2812
|
+
const de_CreateDataRepositoryAssociationResponse = (output, context) => {
|
|
2813
|
+
return (0, smithy_client_1.take)(output, {
|
|
2814
|
+
Association: (_) => de_DataRepositoryAssociation(_, context),
|
|
2815
|
+
});
|
|
3130
2816
|
};
|
|
3131
|
-
const
|
|
3132
|
-
return {
|
|
3133
|
-
|
|
3134
|
-
};
|
|
2817
|
+
const de_CreateDataRepositoryTaskResponse = (output, context) => {
|
|
2818
|
+
return (0, smithy_client_1.take)(output, {
|
|
2819
|
+
DataRepositoryTask: (_) => de_DataRepositoryTask(_, context),
|
|
2820
|
+
});
|
|
3135
2821
|
};
|
|
3136
|
-
const
|
|
3137
|
-
return {
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
OntapConfiguration: se_DeleteVolumeOntapConfiguration(input.OntapConfiguration, context),
|
|
3141
|
-
}),
|
|
3142
|
-
...(input.OpenZFSConfiguration != null && {
|
|
3143
|
-
OpenZFSConfiguration: se_DeleteVolumeOpenZFSConfiguration(input.OpenZFSConfiguration, context),
|
|
3144
|
-
}),
|
|
3145
|
-
...(input.VolumeId != null && { VolumeId: input.VolumeId }),
|
|
3146
|
-
};
|
|
3147
|
-
};
|
|
3148
|
-
const se_DescribeBackupsRequest = (input, context) => {
|
|
3149
|
-
return {
|
|
3150
|
-
...(input.BackupIds != null && { BackupIds: se_BackupIds(input.BackupIds, context) }),
|
|
3151
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
3152
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3153
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3154
|
-
};
|
|
3155
|
-
};
|
|
3156
|
-
const se_DescribeDataRepositoryAssociationsRequest = (input, context) => {
|
|
3157
|
-
return {
|
|
3158
|
-
...(input.AssociationIds != null && {
|
|
3159
|
-
AssociationIds: se_DataRepositoryAssociationIds(input.AssociationIds, context),
|
|
3160
|
-
}),
|
|
3161
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
3162
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3163
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3164
|
-
};
|
|
3165
|
-
};
|
|
3166
|
-
const se_DescribeDataRepositoryTasksRequest = (input, context) => {
|
|
3167
|
-
return {
|
|
3168
|
-
...(input.Filters != null && { Filters: se_DataRepositoryTaskFilters(input.Filters, context) }),
|
|
3169
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3170
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3171
|
-
...(input.TaskIds != null && { TaskIds: se_TaskIds(input.TaskIds, context) }),
|
|
3172
|
-
};
|
|
3173
|
-
};
|
|
3174
|
-
const se_DescribeFileCachesRequest = (input, context) => {
|
|
3175
|
-
return {
|
|
3176
|
-
...(input.FileCacheIds != null && { FileCacheIds: se_FileCacheIds(input.FileCacheIds, context) }),
|
|
3177
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3178
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3179
|
-
};
|
|
3180
|
-
};
|
|
3181
|
-
const se_DescribeFileSystemAliasesRequest = (input, context) => {
|
|
3182
|
-
return {
|
|
3183
|
-
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
3184
|
-
...(input.FileSystemId != null && { FileSystemId: input.FileSystemId }),
|
|
3185
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3186
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3187
|
-
};
|
|
3188
|
-
};
|
|
3189
|
-
const se_DescribeFileSystemsRequest = (input, context) => {
|
|
3190
|
-
return {
|
|
3191
|
-
...(input.FileSystemIds != null && { FileSystemIds: se_FileSystemIds(input.FileSystemIds, context) }),
|
|
3192
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3193
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3194
|
-
};
|
|
3195
|
-
};
|
|
3196
|
-
const se_DescribeSnapshotsRequest = (input, context) => {
|
|
3197
|
-
return {
|
|
3198
|
-
...(input.Filters != null && { Filters: se_SnapshotFilters(input.Filters, context) }),
|
|
3199
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3200
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3201
|
-
...(input.SnapshotIds != null && { SnapshotIds: se_SnapshotIds(input.SnapshotIds, context) }),
|
|
3202
|
-
};
|
|
3203
|
-
};
|
|
3204
|
-
const se_DescribeStorageVirtualMachinesRequest = (input, context) => {
|
|
3205
|
-
return {
|
|
3206
|
-
...(input.Filters != null && { Filters: se_StorageVirtualMachineFilters(input.Filters, context) }),
|
|
3207
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3208
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3209
|
-
...(input.StorageVirtualMachineIds != null && {
|
|
3210
|
-
StorageVirtualMachineIds: se_StorageVirtualMachineIds(input.StorageVirtualMachineIds, context),
|
|
3211
|
-
}),
|
|
3212
|
-
};
|
|
3213
|
-
};
|
|
3214
|
-
const se_DescribeVolumesRequest = (input, context) => {
|
|
3215
|
-
return {
|
|
3216
|
-
...(input.Filters != null && { Filters: se_VolumeFilters(input.Filters, context) }),
|
|
3217
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3218
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3219
|
-
...(input.VolumeIds != null && { VolumeIds: se_VolumeIds(input.VolumeIds, context) }),
|
|
3220
|
-
};
|
|
3221
|
-
};
|
|
3222
|
-
const se_DisassociateFileSystemAliasesRequest = (input, context) => {
|
|
3223
|
-
return {
|
|
3224
|
-
...(input.Aliases != null && { Aliases: se_AlternateDNSNames(input.Aliases, context) }),
|
|
3225
|
-
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
3226
|
-
...(input.FileSystemId != null && { FileSystemId: input.FileSystemId }),
|
|
3227
|
-
};
|
|
3228
|
-
};
|
|
3229
|
-
const se_DiskIopsConfiguration = (input, context) => {
|
|
3230
|
-
return {
|
|
3231
|
-
...(input.Iops != null && { Iops: input.Iops }),
|
|
3232
|
-
...(input.Mode != null && { Mode: input.Mode }),
|
|
3233
|
-
};
|
|
3234
|
-
};
|
|
3235
|
-
const se_DnsIps = (input, context) => {
|
|
3236
|
-
return input
|
|
3237
|
-
.filter((e) => e != null)
|
|
3238
|
-
.map((entry) => {
|
|
3239
|
-
return entry;
|
|
3240
|
-
});
|
|
3241
|
-
};
|
|
3242
|
-
const se_EventTypes = (input, context) => {
|
|
3243
|
-
return input
|
|
3244
|
-
.filter((e) => e != null)
|
|
3245
|
-
.map((entry) => {
|
|
3246
|
-
return entry;
|
|
3247
|
-
});
|
|
3248
|
-
};
|
|
3249
|
-
const se_FileCacheDataRepositoryAssociation = (input, context) => {
|
|
3250
|
-
return {
|
|
3251
|
-
...(input.DataRepositoryPath != null && { DataRepositoryPath: input.DataRepositoryPath }),
|
|
3252
|
-
...(input.DataRepositorySubdirectories != null && {
|
|
3253
|
-
DataRepositorySubdirectories: se_SubDirectoriesPaths(input.DataRepositorySubdirectories, context),
|
|
3254
|
-
}),
|
|
3255
|
-
...(input.FileCachePath != null && { FileCachePath: input.FileCachePath }),
|
|
3256
|
-
...(input.NFS != null && { NFS: se_FileCacheNFSConfiguration(input.NFS, context) }),
|
|
3257
|
-
};
|
|
3258
|
-
};
|
|
3259
|
-
const se_FileCacheIds = (input, context) => {
|
|
3260
|
-
return input
|
|
3261
|
-
.filter((e) => e != null)
|
|
3262
|
-
.map((entry) => {
|
|
3263
|
-
return entry;
|
|
3264
|
-
});
|
|
3265
|
-
};
|
|
3266
|
-
const se_FileCacheLustreMetadataConfiguration = (input, context) => {
|
|
3267
|
-
return {
|
|
3268
|
-
...(input.StorageCapacity != null && { StorageCapacity: input.StorageCapacity }),
|
|
3269
|
-
};
|
|
3270
|
-
};
|
|
3271
|
-
const se_FileCacheNFSConfiguration = (input, context) => {
|
|
3272
|
-
return {
|
|
3273
|
-
...(input.DnsIps != null && { DnsIps: se_RepositoryDnsIps(input.DnsIps, context) }),
|
|
3274
|
-
...(input.Version != null && { Version: input.Version }),
|
|
3275
|
-
};
|
|
3276
|
-
};
|
|
3277
|
-
const se_FileSystemIds = (input, context) => {
|
|
3278
|
-
return input
|
|
3279
|
-
.filter((e) => e != null)
|
|
3280
|
-
.map((entry) => {
|
|
3281
|
-
return entry;
|
|
3282
|
-
});
|
|
3283
|
-
};
|
|
3284
|
-
const se_Filter = (input, context) => {
|
|
3285
|
-
return {
|
|
3286
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3287
|
-
...(input.Values != null && { Values: se_FilterValues(input.Values, context) }),
|
|
3288
|
-
};
|
|
3289
|
-
};
|
|
3290
|
-
const se_Filters = (input, context) => {
|
|
3291
|
-
return input
|
|
3292
|
-
.filter((e) => e != null)
|
|
3293
|
-
.map((entry) => {
|
|
3294
|
-
return se_Filter(entry, context);
|
|
3295
|
-
});
|
|
3296
|
-
};
|
|
3297
|
-
const se_FilterValues = (input, context) => {
|
|
3298
|
-
return input
|
|
3299
|
-
.filter((e) => e != null)
|
|
3300
|
-
.map((entry) => {
|
|
3301
|
-
return entry;
|
|
3302
|
-
});
|
|
3303
|
-
};
|
|
3304
|
-
const se_ListTagsForResourceRequest = (input, context) => {
|
|
3305
|
-
return {
|
|
3306
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3307
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3308
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
3309
|
-
};
|
|
3310
|
-
};
|
|
3311
|
-
const se_LustreLogCreateConfiguration = (input, context) => {
|
|
3312
|
-
return {
|
|
3313
|
-
...(input.Destination != null && { Destination: input.Destination }),
|
|
3314
|
-
...(input.Level != null && { Level: input.Level }),
|
|
3315
|
-
};
|
|
3316
|
-
};
|
|
3317
|
-
const se_LustreNoSquashNids = (input, context) => {
|
|
3318
|
-
return input
|
|
3319
|
-
.filter((e) => e != null)
|
|
3320
|
-
.map((entry) => {
|
|
3321
|
-
return entry;
|
|
3322
|
-
});
|
|
3323
|
-
};
|
|
3324
|
-
const se_LustreRootSquashConfiguration = (input, context) => {
|
|
3325
|
-
return {
|
|
3326
|
-
...(input.NoSquashNids != null && { NoSquashNids: se_LustreNoSquashNids(input.NoSquashNids, context) }),
|
|
3327
|
-
...(input.RootSquash != null && { RootSquash: input.RootSquash }),
|
|
3328
|
-
};
|
|
3329
|
-
};
|
|
3330
|
-
const se_OpenZFSClientConfiguration = (input, context) => {
|
|
3331
|
-
return {
|
|
3332
|
-
...(input.Clients != null && { Clients: input.Clients }),
|
|
3333
|
-
...(input.Options != null && { Options: se_OpenZFSNfsExportOptions(input.Options, context) }),
|
|
3334
|
-
};
|
|
3335
|
-
};
|
|
3336
|
-
const se_OpenZFSClientConfigurations = (input, context) => {
|
|
3337
|
-
return input
|
|
3338
|
-
.filter((e) => e != null)
|
|
3339
|
-
.map((entry) => {
|
|
3340
|
-
return se_OpenZFSClientConfiguration(entry, context);
|
|
3341
|
-
});
|
|
3342
|
-
};
|
|
3343
|
-
const se_OpenZFSCreateRootVolumeConfiguration = (input, context) => {
|
|
3344
|
-
return {
|
|
3345
|
-
...(input.CopyTagsToSnapshots != null && { CopyTagsToSnapshots: input.CopyTagsToSnapshots }),
|
|
3346
|
-
...(input.DataCompressionType != null && { DataCompressionType: input.DataCompressionType }),
|
|
3347
|
-
...(input.NfsExports != null && { NfsExports: se_OpenZFSNfsExports(input.NfsExports, context) }),
|
|
3348
|
-
...(input.ReadOnly != null && { ReadOnly: input.ReadOnly }),
|
|
3349
|
-
...(input.RecordSizeKiB != null && { RecordSizeKiB: input.RecordSizeKiB }),
|
|
3350
|
-
...(input.UserAndGroupQuotas != null && {
|
|
3351
|
-
UserAndGroupQuotas: se_OpenZFSUserAndGroupQuotas(input.UserAndGroupQuotas, context),
|
|
3352
|
-
}),
|
|
3353
|
-
};
|
|
3354
|
-
};
|
|
3355
|
-
const se_OpenZFSNfsExport = (input, context) => {
|
|
3356
|
-
return {
|
|
3357
|
-
...(input.ClientConfigurations != null && {
|
|
3358
|
-
ClientConfigurations: se_OpenZFSClientConfigurations(input.ClientConfigurations, context),
|
|
3359
|
-
}),
|
|
3360
|
-
};
|
|
3361
|
-
};
|
|
3362
|
-
const se_OpenZFSNfsExportOptions = (input, context) => {
|
|
3363
|
-
return input
|
|
3364
|
-
.filter((e) => e != null)
|
|
3365
|
-
.map((entry) => {
|
|
3366
|
-
return entry;
|
|
3367
|
-
});
|
|
3368
|
-
};
|
|
3369
|
-
const se_OpenZFSNfsExports = (input, context) => {
|
|
3370
|
-
return input
|
|
3371
|
-
.filter((e) => e != null)
|
|
3372
|
-
.map((entry) => {
|
|
3373
|
-
return se_OpenZFSNfsExport(entry, context);
|
|
3374
|
-
});
|
|
3375
|
-
};
|
|
3376
|
-
const se_OpenZFSUserAndGroupQuotas = (input, context) => {
|
|
3377
|
-
return input
|
|
3378
|
-
.filter((e) => e != null)
|
|
3379
|
-
.map((entry) => {
|
|
3380
|
-
return se_OpenZFSUserOrGroupQuota(entry, context);
|
|
3381
|
-
});
|
|
3382
|
-
};
|
|
3383
|
-
const se_OpenZFSUserOrGroupQuota = (input, context) => {
|
|
3384
|
-
return {
|
|
3385
|
-
...(input.Id != null && { Id: input.Id }),
|
|
3386
|
-
...(input.StorageCapacityQuotaGiB != null && { StorageCapacityQuotaGiB: input.StorageCapacityQuotaGiB }),
|
|
3387
|
-
...(input.Type != null && { Type: input.Type }),
|
|
3388
|
-
};
|
|
3389
|
-
};
|
|
3390
|
-
const se_ReleaseFileSystemNfsV3LocksRequest = (input, context) => {
|
|
3391
|
-
return {
|
|
3392
|
-
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
3393
|
-
...(input.FileSystemId != null && { FileSystemId: input.FileSystemId }),
|
|
3394
|
-
};
|
|
3395
|
-
};
|
|
3396
|
-
const se_RepositoryDnsIps = (input, context) => {
|
|
3397
|
-
return input
|
|
3398
|
-
.filter((e) => e != null)
|
|
3399
|
-
.map((entry) => {
|
|
3400
|
-
return entry;
|
|
3401
|
-
});
|
|
3402
|
-
};
|
|
3403
|
-
const se_RestoreOpenZFSVolumeOptions = (input, context) => {
|
|
3404
|
-
return input
|
|
3405
|
-
.filter((e) => e != null)
|
|
3406
|
-
.map((entry) => {
|
|
3407
|
-
return entry;
|
|
3408
|
-
});
|
|
3409
|
-
};
|
|
3410
|
-
const se_RestoreVolumeFromSnapshotRequest = (input, context) => {
|
|
3411
|
-
return {
|
|
3412
|
-
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
3413
|
-
...(input.Options != null && { Options: se_RestoreOpenZFSVolumeOptions(input.Options, context) }),
|
|
3414
|
-
...(input.SnapshotId != null && { SnapshotId: input.SnapshotId }),
|
|
3415
|
-
...(input.VolumeId != null && { VolumeId: input.VolumeId }),
|
|
3416
|
-
};
|
|
3417
|
-
};
|
|
3418
|
-
const se_RouteTableIds = (input, context) => {
|
|
3419
|
-
return input
|
|
3420
|
-
.filter((e) => e != null)
|
|
3421
|
-
.map((entry) => {
|
|
3422
|
-
return entry;
|
|
3423
|
-
});
|
|
3424
|
-
};
|
|
3425
|
-
const se_S3DataRepositoryConfiguration = (input, context) => {
|
|
3426
|
-
return {
|
|
3427
|
-
...(input.AutoExportPolicy != null && { AutoExportPolicy: se_AutoExportPolicy(input.AutoExportPolicy, context) }),
|
|
3428
|
-
...(input.AutoImportPolicy != null && { AutoImportPolicy: se_AutoImportPolicy(input.AutoImportPolicy, context) }),
|
|
3429
|
-
};
|
|
3430
|
-
};
|
|
3431
|
-
const se_SecurityGroupIds = (input, context) => {
|
|
3432
|
-
return input
|
|
3433
|
-
.filter((e) => e != null)
|
|
3434
|
-
.map((entry) => {
|
|
3435
|
-
return entry;
|
|
3436
|
-
});
|
|
3437
|
-
};
|
|
3438
|
-
const se_SelfManagedActiveDirectoryConfiguration = (input, context) => {
|
|
3439
|
-
return {
|
|
3440
|
-
...(input.DnsIps != null && { DnsIps: se_DnsIps(input.DnsIps, context) }),
|
|
3441
|
-
...(input.DomainName != null && { DomainName: input.DomainName }),
|
|
3442
|
-
...(input.FileSystemAdministratorsGroup != null && {
|
|
3443
|
-
FileSystemAdministratorsGroup: input.FileSystemAdministratorsGroup,
|
|
3444
|
-
}),
|
|
3445
|
-
...(input.OrganizationalUnitDistinguishedName != null && {
|
|
3446
|
-
OrganizationalUnitDistinguishedName: input.OrganizationalUnitDistinguishedName,
|
|
3447
|
-
}),
|
|
3448
|
-
...(input.Password != null && { Password: input.Password }),
|
|
3449
|
-
...(input.UserName != null && { UserName: input.UserName }),
|
|
3450
|
-
};
|
|
3451
|
-
};
|
|
3452
|
-
const se_SelfManagedActiveDirectoryConfigurationUpdates = (input, context) => {
|
|
3453
|
-
return {
|
|
3454
|
-
...(input.DnsIps != null && { DnsIps: se_DnsIps(input.DnsIps, context) }),
|
|
3455
|
-
...(input.Password != null && { Password: input.Password }),
|
|
3456
|
-
...(input.UserName != null && { UserName: input.UserName }),
|
|
3457
|
-
};
|
|
3458
|
-
};
|
|
3459
|
-
const se_SnapshotFilter = (input, context) => {
|
|
3460
|
-
return {
|
|
3461
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3462
|
-
...(input.Values != null && { Values: se_SnapshotFilterValues(input.Values, context) }),
|
|
3463
|
-
};
|
|
3464
|
-
};
|
|
3465
|
-
const se_SnapshotFilters = (input, context) => {
|
|
3466
|
-
return input
|
|
3467
|
-
.filter((e) => e != null)
|
|
3468
|
-
.map((entry) => {
|
|
3469
|
-
return se_SnapshotFilter(entry, context);
|
|
3470
|
-
});
|
|
3471
|
-
};
|
|
3472
|
-
const se_SnapshotFilterValues = (input, context) => {
|
|
3473
|
-
return input
|
|
3474
|
-
.filter((e) => e != null)
|
|
3475
|
-
.map((entry) => {
|
|
3476
|
-
return entry;
|
|
3477
|
-
});
|
|
3478
|
-
};
|
|
3479
|
-
const se_SnapshotIds = (input, context) => {
|
|
3480
|
-
return input
|
|
3481
|
-
.filter((e) => e != null)
|
|
3482
|
-
.map((entry) => {
|
|
3483
|
-
return entry;
|
|
3484
|
-
});
|
|
3485
|
-
};
|
|
3486
|
-
const se_StorageVirtualMachineFilter = (input, context) => {
|
|
3487
|
-
return {
|
|
3488
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3489
|
-
...(input.Values != null && { Values: se_StorageVirtualMachineFilterValues(input.Values, context) }),
|
|
3490
|
-
};
|
|
3491
|
-
};
|
|
3492
|
-
const se_StorageVirtualMachineFilters = (input, context) => {
|
|
3493
|
-
return input
|
|
3494
|
-
.filter((e) => e != null)
|
|
3495
|
-
.map((entry) => {
|
|
3496
|
-
return se_StorageVirtualMachineFilter(entry, context);
|
|
3497
|
-
});
|
|
3498
|
-
};
|
|
3499
|
-
const se_StorageVirtualMachineFilterValues = (input, context) => {
|
|
3500
|
-
return input
|
|
3501
|
-
.filter((e) => e != null)
|
|
3502
|
-
.map((entry) => {
|
|
3503
|
-
return entry;
|
|
3504
|
-
});
|
|
3505
|
-
};
|
|
3506
|
-
const se_StorageVirtualMachineIds = (input, context) => {
|
|
3507
|
-
return input
|
|
3508
|
-
.filter((e) => e != null)
|
|
3509
|
-
.map((entry) => {
|
|
3510
|
-
return entry;
|
|
3511
|
-
});
|
|
3512
|
-
};
|
|
3513
|
-
const se_SubDirectoriesPaths = (input, context) => {
|
|
3514
|
-
return input
|
|
3515
|
-
.filter((e) => e != null)
|
|
3516
|
-
.map((entry) => {
|
|
3517
|
-
return entry;
|
|
3518
|
-
});
|
|
3519
|
-
};
|
|
3520
|
-
const se_SubnetIds = (input, context) => {
|
|
3521
|
-
return input
|
|
3522
|
-
.filter((e) => e != null)
|
|
3523
|
-
.map((entry) => {
|
|
3524
|
-
return entry;
|
|
3525
|
-
});
|
|
3526
|
-
};
|
|
3527
|
-
const se_Tag = (input, context) => {
|
|
3528
|
-
return {
|
|
3529
|
-
...(input.Key != null && { Key: input.Key }),
|
|
3530
|
-
...(input.Value != null && { Value: input.Value }),
|
|
3531
|
-
};
|
|
3532
|
-
};
|
|
3533
|
-
const se_TagKeys = (input, context) => {
|
|
3534
|
-
return input
|
|
3535
|
-
.filter((e) => e != null)
|
|
3536
|
-
.map((entry) => {
|
|
3537
|
-
return entry;
|
|
3538
|
-
});
|
|
3539
|
-
};
|
|
3540
|
-
const se_TagResourceRequest = (input, context) => {
|
|
3541
|
-
return {
|
|
3542
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
3543
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
3544
|
-
};
|
|
3545
|
-
};
|
|
3546
|
-
const se_Tags = (input, context) => {
|
|
3547
|
-
return input
|
|
3548
|
-
.filter((e) => e != null)
|
|
3549
|
-
.map((entry) => {
|
|
3550
|
-
return se_Tag(entry, context);
|
|
3551
|
-
});
|
|
3552
|
-
};
|
|
3553
|
-
const se_TaskIds = (input, context) => {
|
|
3554
|
-
return input
|
|
3555
|
-
.filter((e) => e != null)
|
|
3556
|
-
.map((entry) => {
|
|
3557
|
-
return entry;
|
|
3558
|
-
});
|
|
3559
|
-
};
|
|
3560
|
-
const se_TieringPolicy = (input, context) => {
|
|
3561
|
-
return {
|
|
3562
|
-
...(input.CoolingPeriod != null && { CoolingPeriod: input.CoolingPeriod }),
|
|
3563
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3564
|
-
};
|
|
3565
|
-
};
|
|
3566
|
-
const se_UntagResourceRequest = (input, context) => {
|
|
3567
|
-
return {
|
|
3568
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
3569
|
-
...(input.TagKeys != null && { TagKeys: se_TagKeys(input.TagKeys, context) }),
|
|
3570
|
-
};
|
|
3571
|
-
};
|
|
3572
|
-
const se_UpdateDataRepositoryAssociationRequest = (input, context) => {
|
|
3573
|
-
return {
|
|
3574
|
-
...(input.AssociationId != null && { AssociationId: input.AssociationId }),
|
|
3575
|
-
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
3576
|
-
...(input.ImportedFileChunkSize != null && { ImportedFileChunkSize: input.ImportedFileChunkSize }),
|
|
3577
|
-
...(input.S3 != null && { S3: se_S3DataRepositoryConfiguration(input.S3, context) }),
|
|
3578
|
-
};
|
|
3579
|
-
};
|
|
3580
|
-
const se_UpdateFileCacheLustreConfiguration = (input, context) => {
|
|
3581
|
-
return {
|
|
3582
|
-
...(input.WeeklyMaintenanceStartTime != null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }),
|
|
3583
|
-
};
|
|
3584
|
-
};
|
|
3585
|
-
const se_UpdateFileCacheRequest = (input, context) => {
|
|
3586
|
-
return {
|
|
3587
|
-
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
3588
|
-
...(input.FileCacheId != null && { FileCacheId: input.FileCacheId }),
|
|
3589
|
-
...(input.LustreConfiguration != null && {
|
|
3590
|
-
LustreConfiguration: se_UpdateFileCacheLustreConfiguration(input.LustreConfiguration, context),
|
|
3591
|
-
}),
|
|
3592
|
-
};
|
|
3593
|
-
};
|
|
3594
|
-
const se_UpdateFileSystemLustreConfiguration = (input, context) => {
|
|
3595
|
-
return {
|
|
3596
|
-
...(input.AutoImportPolicy != null && { AutoImportPolicy: input.AutoImportPolicy }),
|
|
3597
|
-
...(input.AutomaticBackupRetentionDays != null && {
|
|
3598
|
-
AutomaticBackupRetentionDays: input.AutomaticBackupRetentionDays,
|
|
3599
|
-
}),
|
|
3600
|
-
...(input.DailyAutomaticBackupStartTime != null && {
|
|
3601
|
-
DailyAutomaticBackupStartTime: input.DailyAutomaticBackupStartTime,
|
|
3602
|
-
}),
|
|
3603
|
-
...(input.DataCompressionType != null && { DataCompressionType: input.DataCompressionType }),
|
|
3604
|
-
...(input.LogConfiguration != null && {
|
|
3605
|
-
LogConfiguration: se_LustreLogCreateConfiguration(input.LogConfiguration, context),
|
|
3606
|
-
}),
|
|
3607
|
-
...(input.RootSquashConfiguration != null && {
|
|
3608
|
-
RootSquashConfiguration: se_LustreRootSquashConfiguration(input.RootSquashConfiguration, context),
|
|
3609
|
-
}),
|
|
3610
|
-
...(input.WeeklyMaintenanceStartTime != null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }),
|
|
3611
|
-
};
|
|
3612
|
-
};
|
|
3613
|
-
const se_UpdateFileSystemOntapConfiguration = (input, context) => {
|
|
3614
|
-
return {
|
|
3615
|
-
...(input.AddRouteTableIds != null && { AddRouteTableIds: se_RouteTableIds(input.AddRouteTableIds, context) }),
|
|
3616
|
-
...(input.AutomaticBackupRetentionDays != null && {
|
|
3617
|
-
AutomaticBackupRetentionDays: input.AutomaticBackupRetentionDays,
|
|
3618
|
-
}),
|
|
3619
|
-
...(input.DailyAutomaticBackupStartTime != null && {
|
|
3620
|
-
DailyAutomaticBackupStartTime: input.DailyAutomaticBackupStartTime,
|
|
3621
|
-
}),
|
|
3622
|
-
...(input.DiskIopsConfiguration != null && {
|
|
3623
|
-
DiskIopsConfiguration: se_DiskIopsConfiguration(input.DiskIopsConfiguration, context),
|
|
3624
|
-
}),
|
|
3625
|
-
...(input.FsxAdminPassword != null && { FsxAdminPassword: input.FsxAdminPassword }),
|
|
3626
|
-
...(input.RemoveRouteTableIds != null && {
|
|
3627
|
-
RemoveRouteTableIds: se_RouteTableIds(input.RemoveRouteTableIds, context),
|
|
3628
|
-
}),
|
|
3629
|
-
...(input.ThroughputCapacity != null && { ThroughputCapacity: input.ThroughputCapacity }),
|
|
3630
|
-
...(input.WeeklyMaintenanceStartTime != null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }),
|
|
3631
|
-
};
|
|
3632
|
-
};
|
|
3633
|
-
const se_UpdateFileSystemOpenZFSConfiguration = (input, context) => {
|
|
3634
|
-
return {
|
|
3635
|
-
...(input.AutomaticBackupRetentionDays != null && {
|
|
3636
|
-
AutomaticBackupRetentionDays: input.AutomaticBackupRetentionDays,
|
|
3637
|
-
}),
|
|
3638
|
-
...(input.CopyTagsToBackups != null && { CopyTagsToBackups: input.CopyTagsToBackups }),
|
|
3639
|
-
...(input.CopyTagsToVolumes != null && { CopyTagsToVolumes: input.CopyTagsToVolumes }),
|
|
3640
|
-
...(input.DailyAutomaticBackupStartTime != null && {
|
|
3641
|
-
DailyAutomaticBackupStartTime: input.DailyAutomaticBackupStartTime,
|
|
3642
|
-
}),
|
|
3643
|
-
...(input.DiskIopsConfiguration != null && {
|
|
3644
|
-
DiskIopsConfiguration: se_DiskIopsConfiguration(input.DiskIopsConfiguration, context),
|
|
3645
|
-
}),
|
|
3646
|
-
...(input.ThroughputCapacity != null && { ThroughputCapacity: input.ThroughputCapacity }),
|
|
3647
|
-
...(input.WeeklyMaintenanceStartTime != null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }),
|
|
3648
|
-
};
|
|
3649
|
-
};
|
|
3650
|
-
const se_UpdateFileSystemRequest = (input, context) => {
|
|
3651
|
-
return {
|
|
3652
|
-
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
3653
|
-
...(input.FileSystemId != null && { FileSystemId: input.FileSystemId }),
|
|
3654
|
-
...(input.LustreConfiguration != null && {
|
|
3655
|
-
LustreConfiguration: se_UpdateFileSystemLustreConfiguration(input.LustreConfiguration, context),
|
|
3656
|
-
}),
|
|
3657
|
-
...(input.OntapConfiguration != null && {
|
|
3658
|
-
OntapConfiguration: se_UpdateFileSystemOntapConfiguration(input.OntapConfiguration, context),
|
|
3659
|
-
}),
|
|
3660
|
-
...(input.OpenZFSConfiguration != null && {
|
|
3661
|
-
OpenZFSConfiguration: se_UpdateFileSystemOpenZFSConfiguration(input.OpenZFSConfiguration, context),
|
|
3662
|
-
}),
|
|
3663
|
-
...(input.StorageCapacity != null && { StorageCapacity: input.StorageCapacity }),
|
|
3664
|
-
...(input.WindowsConfiguration != null && {
|
|
3665
|
-
WindowsConfiguration: se_UpdateFileSystemWindowsConfiguration(input.WindowsConfiguration, context),
|
|
3666
|
-
}),
|
|
3667
|
-
};
|
|
3668
|
-
};
|
|
3669
|
-
const se_UpdateFileSystemWindowsConfiguration = (input, context) => {
|
|
3670
|
-
return {
|
|
3671
|
-
...(input.AuditLogConfiguration != null && {
|
|
3672
|
-
AuditLogConfiguration: se_WindowsAuditLogCreateConfiguration(input.AuditLogConfiguration, context),
|
|
3673
|
-
}),
|
|
3674
|
-
...(input.AutomaticBackupRetentionDays != null && {
|
|
3675
|
-
AutomaticBackupRetentionDays: input.AutomaticBackupRetentionDays,
|
|
3676
|
-
}),
|
|
3677
|
-
...(input.DailyAutomaticBackupStartTime != null && {
|
|
3678
|
-
DailyAutomaticBackupStartTime: input.DailyAutomaticBackupStartTime,
|
|
3679
|
-
}),
|
|
3680
|
-
...(input.SelfManagedActiveDirectoryConfiguration != null && {
|
|
3681
|
-
SelfManagedActiveDirectoryConfiguration: se_SelfManagedActiveDirectoryConfigurationUpdates(input.SelfManagedActiveDirectoryConfiguration, context),
|
|
3682
|
-
}),
|
|
3683
|
-
...(input.ThroughputCapacity != null && { ThroughputCapacity: input.ThroughputCapacity }),
|
|
3684
|
-
...(input.WeeklyMaintenanceStartTime != null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }),
|
|
3685
|
-
};
|
|
3686
|
-
};
|
|
3687
|
-
const se_UpdateOntapVolumeConfiguration = (input, context) => {
|
|
3688
|
-
return {
|
|
3689
|
-
...(input.CopyTagsToBackups != null && { CopyTagsToBackups: input.CopyTagsToBackups }),
|
|
3690
|
-
...(input.JunctionPath != null && { JunctionPath: input.JunctionPath }),
|
|
3691
|
-
...(input.SecurityStyle != null && { SecurityStyle: input.SecurityStyle }),
|
|
3692
|
-
...(input.SizeInMegabytes != null && { SizeInMegabytes: input.SizeInMegabytes }),
|
|
3693
|
-
...(input.SnapshotPolicy != null && { SnapshotPolicy: input.SnapshotPolicy }),
|
|
3694
|
-
...(input.StorageEfficiencyEnabled != null && { StorageEfficiencyEnabled: input.StorageEfficiencyEnabled }),
|
|
3695
|
-
...(input.TieringPolicy != null && { TieringPolicy: se_TieringPolicy(input.TieringPolicy, context) }),
|
|
3696
|
-
};
|
|
3697
|
-
};
|
|
3698
|
-
const se_UpdateOpenZFSVolumeConfiguration = (input, context) => {
|
|
3699
|
-
return {
|
|
3700
|
-
...(input.DataCompressionType != null && { DataCompressionType: input.DataCompressionType }),
|
|
3701
|
-
...(input.NfsExports != null && { NfsExports: se_OpenZFSNfsExports(input.NfsExports, context) }),
|
|
3702
|
-
...(input.ReadOnly != null && { ReadOnly: input.ReadOnly }),
|
|
3703
|
-
...(input.RecordSizeKiB != null && { RecordSizeKiB: input.RecordSizeKiB }),
|
|
3704
|
-
...(input.StorageCapacityQuotaGiB != null && { StorageCapacityQuotaGiB: input.StorageCapacityQuotaGiB }),
|
|
3705
|
-
...(input.StorageCapacityReservationGiB != null && {
|
|
3706
|
-
StorageCapacityReservationGiB: input.StorageCapacityReservationGiB,
|
|
3707
|
-
}),
|
|
3708
|
-
...(input.UserAndGroupQuotas != null && {
|
|
3709
|
-
UserAndGroupQuotas: se_OpenZFSUserAndGroupQuotas(input.UserAndGroupQuotas, context),
|
|
3710
|
-
}),
|
|
3711
|
-
};
|
|
3712
|
-
};
|
|
3713
|
-
const se_UpdateSnapshotRequest = (input, context) => {
|
|
3714
|
-
return {
|
|
3715
|
-
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
3716
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3717
|
-
...(input.SnapshotId != null && { SnapshotId: input.SnapshotId }),
|
|
3718
|
-
};
|
|
3719
|
-
};
|
|
3720
|
-
const se_UpdateStorageVirtualMachineRequest = (input, context) => {
|
|
3721
|
-
return {
|
|
3722
|
-
...(input.ActiveDirectoryConfiguration != null && {
|
|
3723
|
-
ActiveDirectoryConfiguration: se_UpdateSvmActiveDirectoryConfiguration(input.ActiveDirectoryConfiguration, context),
|
|
3724
|
-
}),
|
|
3725
|
-
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
3726
|
-
...(input.StorageVirtualMachineId != null && { StorageVirtualMachineId: input.StorageVirtualMachineId }),
|
|
3727
|
-
...(input.SvmAdminPassword != null && { SvmAdminPassword: input.SvmAdminPassword }),
|
|
3728
|
-
};
|
|
3729
|
-
};
|
|
3730
|
-
const se_UpdateSvmActiveDirectoryConfiguration = (input, context) => {
|
|
3731
|
-
return {
|
|
3732
|
-
...(input.SelfManagedActiveDirectoryConfiguration != null && {
|
|
3733
|
-
SelfManagedActiveDirectoryConfiguration: se_SelfManagedActiveDirectoryConfigurationUpdates(input.SelfManagedActiveDirectoryConfiguration, context),
|
|
3734
|
-
}),
|
|
3735
|
-
};
|
|
3736
|
-
};
|
|
3737
|
-
const se_UpdateVolumeRequest = (input, context) => {
|
|
3738
|
-
return {
|
|
3739
|
-
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
3740
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3741
|
-
...(input.OntapConfiguration != null && {
|
|
3742
|
-
OntapConfiguration: se_UpdateOntapVolumeConfiguration(input.OntapConfiguration, context),
|
|
3743
|
-
}),
|
|
3744
|
-
...(input.OpenZFSConfiguration != null && {
|
|
3745
|
-
OpenZFSConfiguration: se_UpdateOpenZFSVolumeConfiguration(input.OpenZFSConfiguration, context),
|
|
3746
|
-
}),
|
|
3747
|
-
...(input.VolumeId != null && { VolumeId: input.VolumeId }),
|
|
3748
|
-
};
|
|
3749
|
-
};
|
|
3750
|
-
const se_VolumeFilter = (input, context) => {
|
|
3751
|
-
return {
|
|
3752
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3753
|
-
...(input.Values != null && { Values: se_VolumeFilterValues(input.Values, context) }),
|
|
3754
|
-
};
|
|
3755
|
-
};
|
|
3756
|
-
const se_VolumeFilters = (input, context) => {
|
|
3757
|
-
return input
|
|
3758
|
-
.filter((e) => e != null)
|
|
3759
|
-
.map((entry) => {
|
|
3760
|
-
return se_VolumeFilter(entry, context);
|
|
3761
|
-
});
|
|
3762
|
-
};
|
|
3763
|
-
const se_VolumeFilterValues = (input, context) => {
|
|
3764
|
-
return input
|
|
3765
|
-
.filter((e) => e != null)
|
|
3766
|
-
.map((entry) => {
|
|
3767
|
-
return entry;
|
|
3768
|
-
});
|
|
3769
|
-
};
|
|
3770
|
-
const se_VolumeIds = (input, context) => {
|
|
3771
|
-
return input
|
|
3772
|
-
.filter((e) => e != null)
|
|
3773
|
-
.map((entry) => {
|
|
3774
|
-
return entry;
|
|
3775
|
-
});
|
|
3776
|
-
};
|
|
3777
|
-
const se_WindowsAuditLogCreateConfiguration = (input, context) => {
|
|
3778
|
-
return {
|
|
3779
|
-
...(input.AuditLogDestination != null && { AuditLogDestination: input.AuditLogDestination }),
|
|
3780
|
-
...(input.FileAccessAuditLogLevel != null && { FileAccessAuditLogLevel: input.FileAccessAuditLogLevel }),
|
|
3781
|
-
...(input.FileShareAccessAuditLogLevel != null && {
|
|
3782
|
-
FileShareAccessAuditLogLevel: input.FileShareAccessAuditLogLevel,
|
|
3783
|
-
}),
|
|
3784
|
-
};
|
|
3785
|
-
};
|
|
3786
|
-
const de_ActiveDirectoryBackupAttributes = (output, context) => {
|
|
3787
|
-
return {
|
|
3788
|
-
ActiveDirectoryId: (0, smithy_client_1.expectString)(output.ActiveDirectoryId),
|
|
3789
|
-
DomainName: (0, smithy_client_1.expectString)(output.DomainName),
|
|
3790
|
-
ResourceARN: (0, smithy_client_1.expectString)(output.ResourceARN),
|
|
3791
|
-
};
|
|
3792
|
-
};
|
|
3793
|
-
const de_ActiveDirectoryError = (output, context) => {
|
|
3794
|
-
return {
|
|
3795
|
-
ActiveDirectoryId: (0, smithy_client_1.expectString)(output.ActiveDirectoryId),
|
|
3796
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3797
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
3798
|
-
};
|
|
3799
|
-
};
|
|
3800
|
-
const de_AdministrativeAction = (output, context) => {
|
|
3801
|
-
return {
|
|
3802
|
-
AdministrativeActionType: (0, smithy_client_1.expectString)(output.AdministrativeActionType),
|
|
3803
|
-
FailureDetails: output.FailureDetails != null ? de_AdministrativeActionFailureDetails(output.FailureDetails, context) : undefined,
|
|
3804
|
-
ProgressPercent: (0, smithy_client_1.expectInt32)(output.ProgressPercent),
|
|
3805
|
-
RequestTime: output.RequestTime != null
|
|
3806
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.RequestTime)))
|
|
3807
|
-
: undefined,
|
|
3808
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3809
|
-
TargetFileSystemValues: output.TargetFileSystemValues != null ? de_FileSystem(output.TargetFileSystemValues, context) : undefined,
|
|
3810
|
-
TargetSnapshotValues: output.TargetSnapshotValues != null ? de_Snapshot(output.TargetSnapshotValues, context) : undefined,
|
|
3811
|
-
TargetVolumeValues: output.TargetVolumeValues != null ? de_Volume(output.TargetVolumeValues, context) : undefined,
|
|
3812
|
-
};
|
|
3813
|
-
};
|
|
3814
|
-
const de_AdministrativeActionFailureDetails = (output, context) => {
|
|
3815
|
-
return {
|
|
3816
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3817
|
-
};
|
|
3818
|
-
};
|
|
3819
|
-
const de_AdministrativeActions = (output, context) => {
|
|
3820
|
-
const retVal = (output || [])
|
|
3821
|
-
.filter((e) => e != null)
|
|
3822
|
-
.map((entry) => {
|
|
3823
|
-
if (entry === null) {
|
|
3824
|
-
return null;
|
|
3825
|
-
}
|
|
3826
|
-
return de_AdministrativeAction(entry, context);
|
|
3827
|
-
});
|
|
3828
|
-
return retVal;
|
|
3829
|
-
};
|
|
3830
|
-
const de_Alias = (output, context) => {
|
|
3831
|
-
return {
|
|
3832
|
-
Lifecycle: (0, smithy_client_1.expectString)(output.Lifecycle),
|
|
3833
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3834
|
-
};
|
|
3835
|
-
};
|
|
3836
|
-
const de_Aliases = (output, context) => {
|
|
3837
|
-
const retVal = (output || [])
|
|
3838
|
-
.filter((e) => e != null)
|
|
3839
|
-
.map((entry) => {
|
|
3840
|
-
if (entry === null) {
|
|
3841
|
-
return null;
|
|
3842
|
-
}
|
|
3843
|
-
return de_Alias(entry, context);
|
|
3844
|
-
});
|
|
3845
|
-
return retVal;
|
|
3846
|
-
};
|
|
3847
|
-
const de_AssociateFileSystemAliasesResponse = (output, context) => {
|
|
3848
|
-
return {
|
|
3849
|
-
Aliases: output.Aliases != null ? de_Aliases(output.Aliases, context) : undefined,
|
|
3850
|
-
};
|
|
3851
|
-
};
|
|
3852
|
-
const de_AutoExportPolicy = (output, context) => {
|
|
3853
|
-
return {
|
|
3854
|
-
Events: output.Events != null ? de_EventTypes(output.Events, context) : undefined,
|
|
3855
|
-
};
|
|
3856
|
-
};
|
|
3857
|
-
const de_AutoImportPolicy = (output, context) => {
|
|
3858
|
-
return {
|
|
3859
|
-
Events: output.Events != null ? de_EventTypes(output.Events, context) : undefined,
|
|
3860
|
-
};
|
|
3861
|
-
};
|
|
3862
|
-
const de_Backup = (output, context) => {
|
|
3863
|
-
return {
|
|
3864
|
-
BackupId: (0, smithy_client_1.expectString)(output.BackupId),
|
|
3865
|
-
CreationTime: output.CreationTime != null
|
|
3866
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
3867
|
-
: undefined,
|
|
3868
|
-
DirectoryInformation: output.DirectoryInformation != null
|
|
3869
|
-
? de_ActiveDirectoryBackupAttributes(output.DirectoryInformation, context)
|
|
3870
|
-
: undefined,
|
|
3871
|
-
FailureDetails: output.FailureDetails != null ? de_BackupFailureDetails(output.FailureDetails, context) : undefined,
|
|
3872
|
-
FileSystem: output.FileSystem != null ? de_FileSystem(output.FileSystem, context) : undefined,
|
|
3873
|
-
KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
|
|
3874
|
-
Lifecycle: (0, smithy_client_1.expectString)(output.Lifecycle),
|
|
3875
|
-
OwnerId: (0, smithy_client_1.expectString)(output.OwnerId),
|
|
3876
|
-
ProgressPercent: (0, smithy_client_1.expectInt32)(output.ProgressPercent),
|
|
3877
|
-
ResourceARN: (0, smithy_client_1.expectString)(output.ResourceARN),
|
|
3878
|
-
ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
|
|
3879
|
-
SourceBackupId: (0, smithy_client_1.expectString)(output.SourceBackupId),
|
|
3880
|
-
SourceBackupRegion: (0, smithy_client_1.expectString)(output.SourceBackupRegion),
|
|
3881
|
-
Tags: output.Tags != null ? de_Tags(output.Tags, context) : undefined,
|
|
3882
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
3883
|
-
Volume: output.Volume != null ? de_Volume(output.Volume, context) : undefined,
|
|
3884
|
-
};
|
|
3885
|
-
};
|
|
3886
|
-
const de_BackupBeingCopied = (output, context) => {
|
|
3887
|
-
return {
|
|
3888
|
-
BackupId: (0, smithy_client_1.expectString)(output.BackupId),
|
|
3889
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3890
|
-
};
|
|
3891
|
-
};
|
|
3892
|
-
const de_BackupFailureDetails = (output, context) => {
|
|
3893
|
-
return {
|
|
3894
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3895
|
-
};
|
|
3896
|
-
};
|
|
3897
|
-
const de_BackupInProgress = (output, context) => {
|
|
3898
|
-
return {
|
|
3899
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3900
|
-
};
|
|
3901
|
-
};
|
|
3902
|
-
const de_BackupNotFound = (output, context) => {
|
|
3903
|
-
return {
|
|
3904
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3905
|
-
};
|
|
3906
|
-
};
|
|
3907
|
-
const de_BackupRestoring = (output, context) => {
|
|
3908
|
-
return {
|
|
3909
|
-
FileSystemId: (0, smithy_client_1.expectString)(output.FileSystemId),
|
|
3910
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3911
|
-
};
|
|
3912
|
-
};
|
|
3913
|
-
const de_Backups = (output, context) => {
|
|
3914
|
-
const retVal = (output || [])
|
|
3915
|
-
.filter((e) => e != null)
|
|
3916
|
-
.map((entry) => {
|
|
3917
|
-
if (entry === null) {
|
|
3918
|
-
return null;
|
|
3919
|
-
}
|
|
3920
|
-
return de_Backup(entry, context);
|
|
3921
|
-
});
|
|
3922
|
-
return retVal;
|
|
3923
|
-
};
|
|
3924
|
-
const de_BadRequest = (output, context) => {
|
|
3925
|
-
return {
|
|
3926
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3927
|
-
};
|
|
3928
|
-
};
|
|
3929
|
-
const de_CancelDataRepositoryTaskResponse = (output, context) => {
|
|
3930
|
-
return {
|
|
3931
|
-
Lifecycle: (0, smithy_client_1.expectString)(output.Lifecycle),
|
|
3932
|
-
TaskId: (0, smithy_client_1.expectString)(output.TaskId),
|
|
3933
|
-
};
|
|
3934
|
-
};
|
|
3935
|
-
const de_CompletionReport = (output, context) => {
|
|
3936
|
-
return {
|
|
3937
|
-
Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
|
|
3938
|
-
Format: (0, smithy_client_1.expectString)(output.Format),
|
|
3939
|
-
Path: (0, smithy_client_1.expectString)(output.Path),
|
|
3940
|
-
Scope: (0, smithy_client_1.expectString)(output.Scope),
|
|
3941
|
-
};
|
|
3942
|
-
};
|
|
3943
|
-
const de_CopyBackupResponse = (output, context) => {
|
|
3944
|
-
return {
|
|
3945
|
-
Backup: output.Backup != null ? de_Backup(output.Backup, context) : undefined,
|
|
3946
|
-
};
|
|
3947
|
-
};
|
|
3948
|
-
const de_CreateBackupResponse = (output, context) => {
|
|
3949
|
-
return {
|
|
3950
|
-
Backup: output.Backup != null ? de_Backup(output.Backup, context) : undefined,
|
|
3951
|
-
};
|
|
3952
|
-
};
|
|
3953
|
-
const de_CreateDataRepositoryAssociationResponse = (output, context) => {
|
|
3954
|
-
return {
|
|
3955
|
-
Association: output.Association != null ? de_DataRepositoryAssociation(output.Association, context) : undefined,
|
|
3956
|
-
};
|
|
3957
|
-
};
|
|
3958
|
-
const de_CreateDataRepositoryTaskResponse = (output, context) => {
|
|
3959
|
-
return {
|
|
3960
|
-
DataRepositoryTask: output.DataRepositoryTask != null ? de_DataRepositoryTask(output.DataRepositoryTask, context) : undefined,
|
|
3961
|
-
};
|
|
3962
|
-
};
|
|
3963
|
-
const de_CreateFileCacheResponse = (output, context) => {
|
|
3964
|
-
return {
|
|
3965
|
-
FileCache: output.FileCache != null ? de_FileCacheCreating(output.FileCache, context) : undefined,
|
|
3966
|
-
};
|
|
3967
|
-
};
|
|
3968
|
-
const de_CreateFileSystemFromBackupResponse = (output, context) => {
|
|
3969
|
-
return {
|
|
3970
|
-
FileSystem: output.FileSystem != null ? de_FileSystem(output.FileSystem, context) : undefined,
|
|
3971
|
-
};
|
|
3972
|
-
};
|
|
3973
|
-
const de_CreateFileSystemResponse = (output, context) => {
|
|
3974
|
-
return {
|
|
3975
|
-
FileSystem: output.FileSystem != null ? de_FileSystem(output.FileSystem, context) : undefined,
|
|
3976
|
-
};
|
|
3977
|
-
};
|
|
3978
|
-
const de_CreateSnapshotResponse = (output, context) => {
|
|
3979
|
-
return {
|
|
3980
|
-
Snapshot: output.Snapshot != null ? de_Snapshot(output.Snapshot, context) : undefined,
|
|
3981
|
-
};
|
|
3982
|
-
};
|
|
3983
|
-
const de_CreateStorageVirtualMachineResponse = (output, context) => {
|
|
3984
|
-
return {
|
|
3985
|
-
StorageVirtualMachine: output.StorageVirtualMachine != null
|
|
3986
|
-
? de_StorageVirtualMachine(output.StorageVirtualMachine, context)
|
|
3987
|
-
: undefined,
|
|
3988
|
-
};
|
|
3989
|
-
};
|
|
3990
|
-
const de_CreateVolumeFromBackupResponse = (output, context) => {
|
|
3991
|
-
return {
|
|
3992
|
-
Volume: output.Volume != null ? de_Volume(output.Volume, context) : undefined,
|
|
3993
|
-
};
|
|
3994
|
-
};
|
|
3995
|
-
const de_CreateVolumeResponse = (output, context) => {
|
|
3996
|
-
return {
|
|
3997
|
-
Volume: output.Volume != null ? de_Volume(output.Volume, context) : undefined,
|
|
3998
|
-
};
|
|
3999
|
-
};
|
|
4000
|
-
const de_DataRepositoryAssociation = (output, context) => {
|
|
4001
|
-
return {
|
|
4002
|
-
AssociationId: (0, smithy_client_1.expectString)(output.AssociationId),
|
|
4003
|
-
BatchImportMetaDataOnCreate: (0, smithy_client_1.expectBoolean)(output.BatchImportMetaDataOnCreate),
|
|
4004
|
-
CreationTime: output.CreationTime != null
|
|
4005
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
4006
|
-
: undefined,
|
|
4007
|
-
DataRepositoryPath: (0, smithy_client_1.expectString)(output.DataRepositoryPath),
|
|
4008
|
-
DataRepositorySubdirectories: output.DataRepositorySubdirectories != null
|
|
4009
|
-
? de_SubDirectoriesPaths(output.DataRepositorySubdirectories, context)
|
|
4010
|
-
: undefined,
|
|
4011
|
-
FailureDetails: output.FailureDetails != null ? de_DataRepositoryFailureDetails(output.FailureDetails, context) : undefined,
|
|
4012
|
-
FileCacheId: (0, smithy_client_1.expectString)(output.FileCacheId),
|
|
4013
|
-
FileCachePath: (0, smithy_client_1.expectString)(output.FileCachePath),
|
|
4014
|
-
FileSystemId: (0, smithy_client_1.expectString)(output.FileSystemId),
|
|
4015
|
-
FileSystemPath: (0, smithy_client_1.expectString)(output.FileSystemPath),
|
|
4016
|
-
ImportedFileChunkSize: (0, smithy_client_1.expectInt32)(output.ImportedFileChunkSize),
|
|
4017
|
-
Lifecycle: (0, smithy_client_1.expectString)(output.Lifecycle),
|
|
4018
|
-
NFS: output.NFS != null ? de_NFSDataRepositoryConfiguration(output.NFS, context) : undefined,
|
|
4019
|
-
ResourceARN: (0, smithy_client_1.expectString)(output.ResourceARN),
|
|
4020
|
-
S3: output.S3 != null ? de_S3DataRepositoryConfiguration(output.S3, context) : undefined,
|
|
4021
|
-
Tags: output.Tags != null ? de_Tags(output.Tags, context) : undefined,
|
|
4022
|
-
};
|
|
4023
|
-
};
|
|
4024
|
-
const de_DataRepositoryAssociationIds = (output, context) => {
|
|
4025
|
-
const retVal = (output || [])
|
|
4026
|
-
.filter((e) => e != null)
|
|
4027
|
-
.map((entry) => {
|
|
4028
|
-
if (entry === null) {
|
|
4029
|
-
return null;
|
|
4030
|
-
}
|
|
4031
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
4032
|
-
});
|
|
4033
|
-
return retVal;
|
|
4034
|
-
};
|
|
4035
|
-
const de_DataRepositoryAssociationNotFound = (output, context) => {
|
|
4036
|
-
return {
|
|
4037
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4038
|
-
};
|
|
4039
|
-
};
|
|
4040
|
-
const de_DataRepositoryAssociations = (output, context) => {
|
|
4041
|
-
const retVal = (output || [])
|
|
4042
|
-
.filter((e) => e != null)
|
|
4043
|
-
.map((entry) => {
|
|
4044
|
-
if (entry === null) {
|
|
4045
|
-
return null;
|
|
4046
|
-
}
|
|
4047
|
-
return de_DataRepositoryAssociation(entry, context);
|
|
4048
|
-
});
|
|
4049
|
-
return retVal;
|
|
4050
|
-
};
|
|
4051
|
-
const de_DataRepositoryConfiguration = (output, context) => {
|
|
4052
|
-
return {
|
|
4053
|
-
AutoImportPolicy: (0, smithy_client_1.expectString)(output.AutoImportPolicy),
|
|
4054
|
-
ExportPath: (0, smithy_client_1.expectString)(output.ExportPath),
|
|
4055
|
-
FailureDetails: output.FailureDetails != null ? de_DataRepositoryFailureDetails(output.FailureDetails, context) : undefined,
|
|
4056
|
-
ImportPath: (0, smithy_client_1.expectString)(output.ImportPath),
|
|
4057
|
-
ImportedFileChunkSize: (0, smithy_client_1.expectInt32)(output.ImportedFileChunkSize),
|
|
4058
|
-
Lifecycle: (0, smithy_client_1.expectString)(output.Lifecycle),
|
|
4059
|
-
};
|
|
4060
|
-
};
|
|
4061
|
-
const de_DataRepositoryFailureDetails = (output, context) => {
|
|
4062
|
-
return {
|
|
4063
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4064
|
-
};
|
|
4065
|
-
};
|
|
4066
|
-
const de_DataRepositoryTask = (output, context) => {
|
|
4067
|
-
return {
|
|
4068
|
-
CapacityToRelease: (0, smithy_client_1.expectLong)(output.CapacityToRelease),
|
|
4069
|
-
CreationTime: output.CreationTime != null
|
|
4070
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
4071
|
-
: undefined,
|
|
4072
|
-
EndTime: output.EndTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime))) : undefined,
|
|
4073
|
-
FailureDetails: output.FailureDetails != null ? de_DataRepositoryTaskFailureDetails(output.FailureDetails, context) : undefined,
|
|
4074
|
-
FileCacheId: (0, smithy_client_1.expectString)(output.FileCacheId),
|
|
4075
|
-
FileSystemId: (0, smithy_client_1.expectString)(output.FileSystemId),
|
|
4076
|
-
Lifecycle: (0, smithy_client_1.expectString)(output.Lifecycle),
|
|
4077
|
-
Paths: output.Paths != null ? de_DataRepositoryTaskPaths(output.Paths, context) : undefined,
|
|
4078
|
-
Report: output.Report != null ? de_CompletionReport(output.Report, context) : undefined,
|
|
4079
|
-
ResourceARN: (0, smithy_client_1.expectString)(output.ResourceARN),
|
|
4080
|
-
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime))) : undefined,
|
|
4081
|
-
Status: output.Status != null ? de_DataRepositoryTaskStatus(output.Status, context) : undefined,
|
|
4082
|
-
Tags: output.Tags != null ? de_Tags(output.Tags, context) : undefined,
|
|
4083
|
-
TaskId: (0, smithy_client_1.expectString)(output.TaskId),
|
|
4084
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
4085
|
-
};
|
|
4086
|
-
};
|
|
4087
|
-
const de_DataRepositoryTaskEnded = (output, context) => {
|
|
4088
|
-
return {
|
|
4089
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4090
|
-
};
|
|
4091
|
-
};
|
|
4092
|
-
const de_DataRepositoryTaskExecuting = (output, context) => {
|
|
4093
|
-
return {
|
|
4094
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4095
|
-
};
|
|
4096
|
-
};
|
|
4097
|
-
const de_DataRepositoryTaskFailureDetails = (output, context) => {
|
|
4098
|
-
return {
|
|
4099
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4100
|
-
};
|
|
4101
|
-
};
|
|
4102
|
-
const de_DataRepositoryTaskNotFound = (output, context) => {
|
|
4103
|
-
return {
|
|
4104
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4105
|
-
};
|
|
4106
|
-
};
|
|
4107
|
-
const de_DataRepositoryTaskPaths = (output, context) => {
|
|
4108
|
-
const retVal = (output || [])
|
|
4109
|
-
.filter((e) => e != null)
|
|
4110
|
-
.map((entry) => {
|
|
4111
|
-
if (entry === null) {
|
|
4112
|
-
return null;
|
|
4113
|
-
}
|
|
4114
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
4115
|
-
});
|
|
4116
|
-
return retVal;
|
|
4117
|
-
};
|
|
4118
|
-
const de_DataRepositoryTasks = (output, context) => {
|
|
4119
|
-
const retVal = (output || [])
|
|
4120
|
-
.filter((e) => e != null)
|
|
4121
|
-
.map((entry) => {
|
|
4122
|
-
if (entry === null) {
|
|
4123
|
-
return null;
|
|
4124
|
-
}
|
|
4125
|
-
return de_DataRepositoryTask(entry, context);
|
|
4126
|
-
});
|
|
4127
|
-
return retVal;
|
|
4128
|
-
};
|
|
4129
|
-
const de_DataRepositoryTaskStatus = (output, context) => {
|
|
4130
|
-
return {
|
|
4131
|
-
FailedCount: (0, smithy_client_1.expectLong)(output.FailedCount),
|
|
4132
|
-
LastUpdatedTime: output.LastUpdatedTime != null
|
|
4133
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
|
|
4134
|
-
: undefined,
|
|
4135
|
-
ReleasedCapacity: (0, smithy_client_1.expectLong)(output.ReleasedCapacity),
|
|
4136
|
-
SucceededCount: (0, smithy_client_1.expectLong)(output.SucceededCount),
|
|
4137
|
-
TotalCount: (0, smithy_client_1.expectLong)(output.TotalCount),
|
|
4138
|
-
};
|
|
4139
|
-
};
|
|
4140
|
-
const de_DeleteBackupResponse = (output, context) => {
|
|
4141
|
-
return {
|
|
4142
|
-
BackupId: (0, smithy_client_1.expectString)(output.BackupId),
|
|
4143
|
-
Lifecycle: (0, smithy_client_1.expectString)(output.Lifecycle),
|
|
4144
|
-
};
|
|
4145
|
-
};
|
|
4146
|
-
const de_DeleteDataRepositoryAssociationResponse = (output, context) => {
|
|
4147
|
-
return {
|
|
4148
|
-
AssociationId: (0, smithy_client_1.expectString)(output.AssociationId),
|
|
4149
|
-
DeleteDataInFileSystem: (0, smithy_client_1.expectBoolean)(output.DeleteDataInFileSystem),
|
|
4150
|
-
Lifecycle: (0, smithy_client_1.expectString)(output.Lifecycle),
|
|
4151
|
-
};
|
|
4152
|
-
};
|
|
4153
|
-
const de_DeleteFileCacheResponse = (output, context) => {
|
|
4154
|
-
return {
|
|
4155
|
-
FileCacheId: (0, smithy_client_1.expectString)(output.FileCacheId),
|
|
4156
|
-
Lifecycle: (0, smithy_client_1.expectString)(output.Lifecycle),
|
|
4157
|
-
};
|
|
4158
|
-
};
|
|
4159
|
-
const de_DeleteFileSystemLustreResponse = (output, context) => {
|
|
4160
|
-
return {
|
|
4161
|
-
FinalBackupId: (0, smithy_client_1.expectString)(output.FinalBackupId),
|
|
4162
|
-
FinalBackupTags: output.FinalBackupTags != null ? de_Tags(output.FinalBackupTags, context) : undefined,
|
|
4163
|
-
};
|
|
4164
|
-
};
|
|
4165
|
-
const de_DeleteFileSystemOpenZFSResponse = (output, context) => {
|
|
4166
|
-
return {
|
|
4167
|
-
FinalBackupId: (0, smithy_client_1.expectString)(output.FinalBackupId),
|
|
4168
|
-
FinalBackupTags: output.FinalBackupTags != null ? de_Tags(output.FinalBackupTags, context) : undefined,
|
|
4169
|
-
};
|
|
4170
|
-
};
|
|
4171
|
-
const de_DeleteFileSystemResponse = (output, context) => {
|
|
4172
|
-
return {
|
|
4173
|
-
FileSystemId: (0, smithy_client_1.expectString)(output.FileSystemId),
|
|
4174
|
-
Lifecycle: (0, smithy_client_1.expectString)(output.Lifecycle),
|
|
4175
|
-
LustreResponse: output.LustreResponse != null ? de_DeleteFileSystemLustreResponse(output.LustreResponse, context) : undefined,
|
|
4176
|
-
OpenZFSResponse: output.OpenZFSResponse != null ? de_DeleteFileSystemOpenZFSResponse(output.OpenZFSResponse, context) : undefined,
|
|
4177
|
-
WindowsResponse: output.WindowsResponse != null ? de_DeleteFileSystemWindowsResponse(output.WindowsResponse, context) : undefined,
|
|
4178
|
-
};
|
|
4179
|
-
};
|
|
4180
|
-
const de_DeleteFileSystemWindowsResponse = (output, context) => {
|
|
4181
|
-
return {
|
|
4182
|
-
FinalBackupId: (0, smithy_client_1.expectString)(output.FinalBackupId),
|
|
4183
|
-
FinalBackupTags: output.FinalBackupTags != null ? de_Tags(output.FinalBackupTags, context) : undefined,
|
|
4184
|
-
};
|
|
4185
|
-
};
|
|
4186
|
-
const de_DeleteSnapshotResponse = (output, context) => {
|
|
4187
|
-
return {
|
|
4188
|
-
Lifecycle: (0, smithy_client_1.expectString)(output.Lifecycle),
|
|
4189
|
-
SnapshotId: (0, smithy_client_1.expectString)(output.SnapshotId),
|
|
4190
|
-
};
|
|
4191
|
-
};
|
|
4192
|
-
const de_DeleteStorageVirtualMachineResponse = (output, context) => {
|
|
4193
|
-
return {
|
|
4194
|
-
Lifecycle: (0, smithy_client_1.expectString)(output.Lifecycle),
|
|
4195
|
-
StorageVirtualMachineId: (0, smithy_client_1.expectString)(output.StorageVirtualMachineId),
|
|
4196
|
-
};
|
|
4197
|
-
};
|
|
4198
|
-
const de_DeleteVolumeOntapResponse = (output, context) => {
|
|
4199
|
-
return {
|
|
4200
|
-
FinalBackupId: (0, smithy_client_1.expectString)(output.FinalBackupId),
|
|
4201
|
-
FinalBackupTags: output.FinalBackupTags != null ? de_Tags(output.FinalBackupTags, context) : undefined,
|
|
4202
|
-
};
|
|
4203
|
-
};
|
|
4204
|
-
const de_DeleteVolumeResponse = (output, context) => {
|
|
4205
|
-
return {
|
|
4206
|
-
Lifecycle: (0, smithy_client_1.expectString)(output.Lifecycle),
|
|
4207
|
-
OntapResponse: output.OntapResponse != null ? de_DeleteVolumeOntapResponse(output.OntapResponse, context) : undefined,
|
|
4208
|
-
VolumeId: (0, smithy_client_1.expectString)(output.VolumeId),
|
|
4209
|
-
};
|
|
4210
|
-
};
|
|
4211
|
-
const de_DescribeBackupsResponse = (output, context) => {
|
|
4212
|
-
return {
|
|
4213
|
-
Backups: output.Backups != null ? de_Backups(output.Backups, context) : undefined,
|
|
4214
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4215
|
-
};
|
|
4216
|
-
};
|
|
4217
|
-
const de_DescribeDataRepositoryAssociationsResponse = (output, context) => {
|
|
4218
|
-
return {
|
|
4219
|
-
Associations: output.Associations != null ? de_DataRepositoryAssociations(output.Associations, context) : undefined,
|
|
4220
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4221
|
-
};
|
|
4222
|
-
};
|
|
4223
|
-
const de_DescribeDataRepositoryTasksResponse = (output, context) => {
|
|
4224
|
-
return {
|
|
4225
|
-
DataRepositoryTasks: output.DataRepositoryTasks != null ? de_DataRepositoryTasks(output.DataRepositoryTasks, context) : undefined,
|
|
4226
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4227
|
-
};
|
|
4228
|
-
};
|
|
4229
|
-
const de_DescribeFileCachesResponse = (output, context) => {
|
|
4230
|
-
return {
|
|
4231
|
-
FileCaches: output.FileCaches != null ? de_FileCaches(output.FileCaches, context) : undefined,
|
|
4232
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4233
|
-
};
|
|
4234
|
-
};
|
|
4235
|
-
const de_DescribeFileSystemAliasesResponse = (output, context) => {
|
|
4236
|
-
return {
|
|
4237
|
-
Aliases: output.Aliases != null ? de_Aliases(output.Aliases, context) : undefined,
|
|
4238
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4239
|
-
};
|
|
4240
|
-
};
|
|
4241
|
-
const de_DescribeFileSystemsResponse = (output, context) => {
|
|
4242
|
-
return {
|
|
4243
|
-
FileSystems: output.FileSystems != null ? de_FileSystems(output.FileSystems, context) : undefined,
|
|
4244
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4245
|
-
};
|
|
4246
|
-
};
|
|
4247
|
-
const de_DescribeSnapshotsResponse = (output, context) => {
|
|
4248
|
-
return {
|
|
4249
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4250
|
-
Snapshots: output.Snapshots != null ? de_Snapshots(output.Snapshots, context) : undefined,
|
|
4251
|
-
};
|
|
4252
|
-
};
|
|
4253
|
-
const de_DescribeStorageVirtualMachinesResponse = (output, context) => {
|
|
4254
|
-
return {
|
|
4255
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4256
|
-
StorageVirtualMachines: output.StorageVirtualMachines != null
|
|
4257
|
-
? de_StorageVirtualMachines(output.StorageVirtualMachines, context)
|
|
4258
|
-
: undefined,
|
|
4259
|
-
};
|
|
4260
|
-
};
|
|
4261
|
-
const de_DescribeVolumesResponse = (output, context) => {
|
|
4262
|
-
return {
|
|
4263
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4264
|
-
Volumes: output.Volumes != null ? de_Volumes(output.Volumes, context) : undefined,
|
|
4265
|
-
};
|
|
4266
|
-
};
|
|
4267
|
-
const de_DisassociateFileSystemAliasesResponse = (output, context) => {
|
|
4268
|
-
return {
|
|
4269
|
-
Aliases: output.Aliases != null ? de_Aliases(output.Aliases, context) : undefined,
|
|
4270
|
-
};
|
|
4271
|
-
};
|
|
4272
|
-
const de_DiskIopsConfiguration = (output, context) => {
|
|
4273
|
-
return {
|
|
4274
|
-
Iops: (0, smithy_client_1.expectLong)(output.Iops),
|
|
4275
|
-
Mode: (0, smithy_client_1.expectString)(output.Mode),
|
|
4276
|
-
};
|
|
4277
|
-
};
|
|
4278
|
-
const de_DnsIps = (output, context) => {
|
|
4279
|
-
const retVal = (output || [])
|
|
4280
|
-
.filter((e) => e != null)
|
|
4281
|
-
.map((entry) => {
|
|
4282
|
-
if (entry === null) {
|
|
4283
|
-
return null;
|
|
4284
|
-
}
|
|
4285
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
4286
|
-
});
|
|
4287
|
-
return retVal;
|
|
4288
|
-
};
|
|
4289
|
-
const de_EventTypes = (output, context) => {
|
|
4290
|
-
const retVal = (output || [])
|
|
4291
|
-
.filter((e) => e != null)
|
|
4292
|
-
.map((entry) => {
|
|
4293
|
-
if (entry === null) {
|
|
4294
|
-
return null;
|
|
4295
|
-
}
|
|
4296
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
4297
|
-
});
|
|
4298
|
-
return retVal;
|
|
4299
|
-
};
|
|
4300
|
-
const de_FileCache = (output, context) => {
|
|
4301
|
-
return {
|
|
4302
|
-
CreationTime: output.CreationTime != null
|
|
4303
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
4304
|
-
: undefined,
|
|
4305
|
-
DNSName: (0, smithy_client_1.expectString)(output.DNSName),
|
|
4306
|
-
DataRepositoryAssociationIds: output.DataRepositoryAssociationIds != null
|
|
4307
|
-
? de_DataRepositoryAssociationIds(output.DataRepositoryAssociationIds, context)
|
|
4308
|
-
: undefined,
|
|
4309
|
-
FailureDetails: output.FailureDetails != null ? de_FileCacheFailureDetails(output.FailureDetails, context) : undefined,
|
|
4310
|
-
FileCacheId: (0, smithy_client_1.expectString)(output.FileCacheId),
|
|
4311
|
-
FileCacheType: (0, smithy_client_1.expectString)(output.FileCacheType),
|
|
4312
|
-
FileCacheTypeVersion: (0, smithy_client_1.expectString)(output.FileCacheTypeVersion),
|
|
4313
|
-
KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
|
|
4314
|
-
Lifecycle: (0, smithy_client_1.expectString)(output.Lifecycle),
|
|
4315
|
-
LustreConfiguration: output.LustreConfiguration != null
|
|
4316
|
-
? de_FileCacheLustreConfiguration(output.LustreConfiguration, context)
|
|
4317
|
-
: undefined,
|
|
4318
|
-
NetworkInterfaceIds: output.NetworkInterfaceIds != null ? de_NetworkInterfaceIds(output.NetworkInterfaceIds, context) : undefined,
|
|
4319
|
-
OwnerId: (0, smithy_client_1.expectString)(output.OwnerId),
|
|
4320
|
-
ResourceARN: (0, smithy_client_1.expectString)(output.ResourceARN),
|
|
4321
|
-
StorageCapacity: (0, smithy_client_1.expectInt32)(output.StorageCapacity),
|
|
4322
|
-
SubnetIds: output.SubnetIds != null ? de_SubnetIds(output.SubnetIds, context) : undefined,
|
|
4323
|
-
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
4324
|
-
};
|
|
4325
|
-
};
|
|
4326
|
-
const de_FileCacheCreating = (output, context) => {
|
|
4327
|
-
return {
|
|
4328
|
-
CopyTagsToDataRepositoryAssociations: (0, smithy_client_1.expectBoolean)(output.CopyTagsToDataRepositoryAssociations),
|
|
4329
|
-
CreationTime: output.CreationTime != null
|
|
4330
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
4331
|
-
: undefined,
|
|
4332
|
-
DNSName: (0, smithy_client_1.expectString)(output.DNSName),
|
|
4333
|
-
DataRepositoryAssociationIds: output.DataRepositoryAssociationIds != null
|
|
4334
|
-
? de_DataRepositoryAssociationIds(output.DataRepositoryAssociationIds, context)
|
|
4335
|
-
: undefined,
|
|
4336
|
-
FailureDetails: output.FailureDetails != null ? de_FileCacheFailureDetails(output.FailureDetails, context) : undefined,
|
|
4337
|
-
FileCacheId: (0, smithy_client_1.expectString)(output.FileCacheId),
|
|
4338
|
-
FileCacheType: (0, smithy_client_1.expectString)(output.FileCacheType),
|
|
4339
|
-
FileCacheTypeVersion: (0, smithy_client_1.expectString)(output.FileCacheTypeVersion),
|
|
4340
|
-
KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
|
|
4341
|
-
Lifecycle: (0, smithy_client_1.expectString)(output.Lifecycle),
|
|
4342
|
-
LustreConfiguration: output.LustreConfiguration != null
|
|
4343
|
-
? de_FileCacheLustreConfiguration(output.LustreConfiguration, context)
|
|
4344
|
-
: undefined,
|
|
4345
|
-
NetworkInterfaceIds: output.NetworkInterfaceIds != null ? de_NetworkInterfaceIds(output.NetworkInterfaceIds, context) : undefined,
|
|
4346
|
-
OwnerId: (0, smithy_client_1.expectString)(output.OwnerId),
|
|
4347
|
-
ResourceARN: (0, smithy_client_1.expectString)(output.ResourceARN),
|
|
4348
|
-
StorageCapacity: (0, smithy_client_1.expectInt32)(output.StorageCapacity),
|
|
4349
|
-
SubnetIds: output.SubnetIds != null ? de_SubnetIds(output.SubnetIds, context) : undefined,
|
|
4350
|
-
Tags: output.Tags != null ? de_Tags(output.Tags, context) : undefined,
|
|
4351
|
-
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
4352
|
-
};
|
|
4353
|
-
};
|
|
4354
|
-
const de_FileCacheFailureDetails = (output, context) => {
|
|
4355
|
-
return {
|
|
4356
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4357
|
-
};
|
|
4358
|
-
};
|
|
4359
|
-
const de_FileCacheLustreConfiguration = (output, context) => {
|
|
4360
|
-
return {
|
|
4361
|
-
DeploymentType: (0, smithy_client_1.expectString)(output.DeploymentType),
|
|
4362
|
-
LogConfiguration: output.LogConfiguration != null ? de_LustreLogConfiguration(output.LogConfiguration, context) : undefined,
|
|
4363
|
-
MetadataConfiguration: output.MetadataConfiguration != null
|
|
4364
|
-
? de_FileCacheLustreMetadataConfiguration(output.MetadataConfiguration, context)
|
|
4365
|
-
: undefined,
|
|
4366
|
-
MountName: (0, smithy_client_1.expectString)(output.MountName),
|
|
4367
|
-
PerUnitStorageThroughput: (0, smithy_client_1.expectInt32)(output.PerUnitStorageThroughput),
|
|
4368
|
-
WeeklyMaintenanceStartTime: (0, smithy_client_1.expectString)(output.WeeklyMaintenanceStartTime),
|
|
4369
|
-
};
|
|
4370
|
-
};
|
|
4371
|
-
const de_FileCacheLustreMetadataConfiguration = (output, context) => {
|
|
4372
|
-
return {
|
|
4373
|
-
StorageCapacity: (0, smithy_client_1.expectInt32)(output.StorageCapacity),
|
|
4374
|
-
};
|
|
4375
|
-
};
|
|
4376
|
-
const de_FileCacheNotFound = (output, context) => {
|
|
4377
|
-
return {
|
|
4378
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4379
|
-
};
|
|
4380
|
-
};
|
|
4381
|
-
const de_FileCaches = (output, context) => {
|
|
4382
|
-
const retVal = (output || [])
|
|
4383
|
-
.filter((e) => e != null)
|
|
4384
|
-
.map((entry) => {
|
|
4385
|
-
if (entry === null) {
|
|
4386
|
-
return null;
|
|
4387
|
-
}
|
|
4388
|
-
return de_FileCache(entry, context);
|
|
4389
|
-
});
|
|
4390
|
-
return retVal;
|
|
4391
|
-
};
|
|
4392
|
-
const de_FileSystem = (output, context) => {
|
|
4393
|
-
return {
|
|
4394
|
-
AdministrativeActions: output.AdministrativeActions != null
|
|
4395
|
-
? de_AdministrativeActions(output.AdministrativeActions, context)
|
|
4396
|
-
: undefined,
|
|
4397
|
-
CreationTime: output.CreationTime != null
|
|
4398
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
4399
|
-
: undefined,
|
|
4400
|
-
DNSName: (0, smithy_client_1.expectString)(output.DNSName),
|
|
4401
|
-
FailureDetails: output.FailureDetails != null ? de_FileSystemFailureDetails(output.FailureDetails, context) : undefined,
|
|
4402
|
-
FileSystemId: (0, smithy_client_1.expectString)(output.FileSystemId),
|
|
4403
|
-
FileSystemType: (0, smithy_client_1.expectString)(output.FileSystemType),
|
|
4404
|
-
FileSystemTypeVersion: (0, smithy_client_1.expectString)(output.FileSystemTypeVersion),
|
|
4405
|
-
KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
|
|
4406
|
-
Lifecycle: (0, smithy_client_1.expectString)(output.Lifecycle),
|
|
4407
|
-
LustreConfiguration: output.LustreConfiguration != null
|
|
4408
|
-
? de_LustreFileSystemConfiguration(output.LustreConfiguration, context)
|
|
4409
|
-
: undefined,
|
|
4410
|
-
NetworkInterfaceIds: output.NetworkInterfaceIds != null ? de_NetworkInterfaceIds(output.NetworkInterfaceIds, context) : undefined,
|
|
4411
|
-
OntapConfiguration: output.OntapConfiguration != null
|
|
4412
|
-
? de_OntapFileSystemConfiguration(output.OntapConfiguration, context)
|
|
4413
|
-
: undefined,
|
|
4414
|
-
OpenZFSConfiguration: output.OpenZFSConfiguration != null
|
|
4415
|
-
? de_OpenZFSFileSystemConfiguration(output.OpenZFSConfiguration, context)
|
|
4416
|
-
: undefined,
|
|
4417
|
-
OwnerId: (0, smithy_client_1.expectString)(output.OwnerId),
|
|
4418
|
-
ResourceARN: (0, smithy_client_1.expectString)(output.ResourceARN),
|
|
4419
|
-
StorageCapacity: (0, smithy_client_1.expectInt32)(output.StorageCapacity),
|
|
4420
|
-
StorageType: (0, smithy_client_1.expectString)(output.StorageType),
|
|
4421
|
-
SubnetIds: output.SubnetIds != null ? de_SubnetIds(output.SubnetIds, context) : undefined,
|
|
4422
|
-
Tags: output.Tags != null ? de_Tags(output.Tags, context) : undefined,
|
|
4423
|
-
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
4424
|
-
WindowsConfiguration: output.WindowsConfiguration != null
|
|
4425
|
-
? de_WindowsFileSystemConfiguration(output.WindowsConfiguration, context)
|
|
4426
|
-
: undefined,
|
|
4427
|
-
};
|
|
4428
|
-
};
|
|
4429
|
-
const de_FileSystemEndpoint = (output, context) => {
|
|
4430
|
-
return {
|
|
4431
|
-
DNSName: (0, smithy_client_1.expectString)(output.DNSName),
|
|
4432
|
-
IpAddresses: output.IpAddresses != null ? de_OntapEndpointIpAddresses(output.IpAddresses, context) : undefined,
|
|
4433
|
-
};
|
|
4434
|
-
};
|
|
4435
|
-
const de_FileSystemEndpoints = (output, context) => {
|
|
4436
|
-
return {
|
|
4437
|
-
Intercluster: output.Intercluster != null ? de_FileSystemEndpoint(output.Intercluster, context) : undefined,
|
|
4438
|
-
Management: output.Management != null ? de_FileSystemEndpoint(output.Management, context) : undefined,
|
|
4439
|
-
};
|
|
4440
|
-
};
|
|
4441
|
-
const de_FileSystemFailureDetails = (output, context) => {
|
|
4442
|
-
return {
|
|
4443
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4444
|
-
};
|
|
4445
|
-
};
|
|
4446
|
-
const de_FileSystemMaintenanceOperations = (output, context) => {
|
|
4447
|
-
const retVal = (output || [])
|
|
4448
|
-
.filter((e) => e != null)
|
|
4449
|
-
.map((entry) => {
|
|
4450
|
-
if (entry === null) {
|
|
4451
|
-
return null;
|
|
4452
|
-
}
|
|
4453
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
4454
|
-
});
|
|
4455
|
-
return retVal;
|
|
4456
|
-
};
|
|
4457
|
-
const de_FileSystemNotFound = (output, context) => {
|
|
4458
|
-
return {
|
|
4459
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4460
|
-
};
|
|
4461
|
-
};
|
|
4462
|
-
const de_FileSystems = (output, context) => {
|
|
4463
|
-
const retVal = (output || [])
|
|
4464
|
-
.filter((e) => e != null)
|
|
4465
|
-
.map((entry) => {
|
|
4466
|
-
if (entry === null) {
|
|
4467
|
-
return null;
|
|
4468
|
-
}
|
|
4469
|
-
return de_FileSystem(entry, context);
|
|
4470
|
-
});
|
|
4471
|
-
return retVal;
|
|
4472
|
-
};
|
|
4473
|
-
const de_IncompatibleParameterError = (output, context) => {
|
|
4474
|
-
return {
|
|
4475
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4476
|
-
Parameter: (0, smithy_client_1.expectString)(output.Parameter),
|
|
4477
|
-
};
|
|
4478
|
-
};
|
|
4479
|
-
const de_IncompatibleRegionForMultiAZ = (output, context) => {
|
|
4480
|
-
return {
|
|
4481
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4482
|
-
};
|
|
4483
|
-
};
|
|
4484
|
-
const de_InternalServerError = (output, context) => {
|
|
4485
|
-
return {
|
|
4486
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4487
|
-
};
|
|
4488
|
-
};
|
|
4489
|
-
const de_InvalidDataRepositoryType = (output, context) => {
|
|
4490
|
-
return {
|
|
4491
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4492
|
-
};
|
|
4493
|
-
};
|
|
4494
|
-
const de_InvalidDestinationKmsKey = (output, context) => {
|
|
4495
|
-
return {
|
|
4496
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4497
|
-
};
|
|
4498
|
-
};
|
|
4499
|
-
const de_InvalidExportPath = (output, context) => {
|
|
4500
|
-
return {
|
|
4501
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4502
|
-
};
|
|
4503
|
-
};
|
|
4504
|
-
const de_InvalidImportPath = (output, context) => {
|
|
4505
|
-
return {
|
|
4506
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4507
|
-
};
|
|
4508
|
-
};
|
|
4509
|
-
const de_InvalidNetworkSettings = (output, context) => {
|
|
4510
|
-
return {
|
|
4511
|
-
InvalidRouteTableId: (0, smithy_client_1.expectString)(output.InvalidRouteTableId),
|
|
4512
|
-
InvalidSecurityGroupId: (0, smithy_client_1.expectString)(output.InvalidSecurityGroupId),
|
|
4513
|
-
InvalidSubnetId: (0, smithy_client_1.expectString)(output.InvalidSubnetId),
|
|
4514
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4515
|
-
};
|
|
2822
|
+
const de_CreateFileCacheResponse = (output, context) => {
|
|
2823
|
+
return (0, smithy_client_1.take)(output, {
|
|
2824
|
+
FileCache: (_) => de_FileCacheCreating(_, context),
|
|
2825
|
+
});
|
|
4516
2826
|
};
|
|
4517
|
-
const
|
|
4518
|
-
return {
|
|
4519
|
-
|
|
4520
|
-
};
|
|
2827
|
+
const de_CreateFileSystemFromBackupResponse = (output, context) => {
|
|
2828
|
+
return (0, smithy_client_1.take)(output, {
|
|
2829
|
+
FileSystem: (_) => de_FileSystem(_, context),
|
|
2830
|
+
});
|
|
4521
2831
|
};
|
|
4522
|
-
const
|
|
4523
|
-
return {
|
|
4524
|
-
|
|
4525
|
-
};
|
|
2832
|
+
const de_CreateFileSystemResponse = (output, context) => {
|
|
2833
|
+
return (0, smithy_client_1.take)(output, {
|
|
2834
|
+
FileSystem: (_) => de_FileSystem(_, context),
|
|
2835
|
+
});
|
|
4526
2836
|
};
|
|
4527
|
-
const
|
|
4528
|
-
return {
|
|
4529
|
-
|
|
4530
|
-
};
|
|
2837
|
+
const de_CreateSnapshotResponse = (output, context) => {
|
|
2838
|
+
return (0, smithy_client_1.take)(output, {
|
|
2839
|
+
Snapshot: (_) => de_Snapshot(_, context),
|
|
2840
|
+
});
|
|
4531
2841
|
};
|
|
4532
|
-
const
|
|
4533
|
-
return {
|
|
4534
|
-
|
|
4535
|
-
};
|
|
2842
|
+
const de_CreateStorageVirtualMachineResponse = (output, context) => {
|
|
2843
|
+
return (0, smithy_client_1.take)(output, {
|
|
2844
|
+
StorageVirtualMachine: (_) => de_StorageVirtualMachine(_, context),
|
|
2845
|
+
});
|
|
4536
2846
|
};
|
|
4537
|
-
const
|
|
4538
|
-
return {
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
};
|
|
2847
|
+
const de_CreateVolumeFromBackupResponse = (output, context) => {
|
|
2848
|
+
return (0, smithy_client_1.take)(output, {
|
|
2849
|
+
Volume: (_) => de_Volume(_, context),
|
|
2850
|
+
});
|
|
4542
2851
|
};
|
|
4543
|
-
const
|
|
4544
|
-
return {
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
DailyAutomaticBackupStartTime: (0, smithy_client_1.expectString)(output.DailyAutomaticBackupStartTime),
|
|
4548
|
-
DataCompressionType: (0, smithy_client_1.expectString)(output.DataCompressionType),
|
|
4549
|
-
DataRepositoryConfiguration: output.DataRepositoryConfiguration != null
|
|
4550
|
-
? de_DataRepositoryConfiguration(output.DataRepositoryConfiguration, context)
|
|
4551
|
-
: undefined,
|
|
4552
|
-
DeploymentType: (0, smithy_client_1.expectString)(output.DeploymentType),
|
|
4553
|
-
DriveCacheType: (0, smithy_client_1.expectString)(output.DriveCacheType),
|
|
4554
|
-
LogConfiguration: output.LogConfiguration != null ? de_LustreLogConfiguration(output.LogConfiguration, context) : undefined,
|
|
4555
|
-
MountName: (0, smithy_client_1.expectString)(output.MountName),
|
|
4556
|
-
PerUnitStorageThroughput: (0, smithy_client_1.expectInt32)(output.PerUnitStorageThroughput),
|
|
4557
|
-
RootSquashConfiguration: output.RootSquashConfiguration != null
|
|
4558
|
-
? de_LustreRootSquashConfiguration(output.RootSquashConfiguration, context)
|
|
4559
|
-
: undefined,
|
|
4560
|
-
WeeklyMaintenanceStartTime: (0, smithy_client_1.expectString)(output.WeeklyMaintenanceStartTime),
|
|
4561
|
-
};
|
|
2852
|
+
const de_CreateVolumeResponse = (output, context) => {
|
|
2853
|
+
return (0, smithy_client_1.take)(output, {
|
|
2854
|
+
Volume: (_) => de_Volume(_, context),
|
|
2855
|
+
});
|
|
4562
2856
|
};
|
|
4563
|
-
const
|
|
4564
|
-
return {
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
2857
|
+
const de_DataRepositoryAssociation = (output, context) => {
|
|
2858
|
+
return (0, smithy_client_1.take)(output, {
|
|
2859
|
+
AssociationId: smithy_client_1.expectString,
|
|
2860
|
+
BatchImportMetaDataOnCreate: smithy_client_1.expectBoolean,
|
|
2861
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2862
|
+
DataRepositoryPath: smithy_client_1.expectString,
|
|
2863
|
+
DataRepositorySubdirectories: smithy_client_1._json,
|
|
2864
|
+
FailureDetails: smithy_client_1._json,
|
|
2865
|
+
FileCacheId: smithy_client_1.expectString,
|
|
2866
|
+
FileCachePath: smithy_client_1.expectString,
|
|
2867
|
+
FileSystemId: smithy_client_1.expectString,
|
|
2868
|
+
FileSystemPath: smithy_client_1.expectString,
|
|
2869
|
+
ImportedFileChunkSize: smithy_client_1.expectInt32,
|
|
2870
|
+
Lifecycle: smithy_client_1.expectString,
|
|
2871
|
+
NFS: smithy_client_1._json,
|
|
2872
|
+
ResourceARN: smithy_client_1.expectString,
|
|
2873
|
+
S3: smithy_client_1._json,
|
|
2874
|
+
Tags: smithy_client_1._json,
|
|
2875
|
+
});
|
|
4568
2876
|
};
|
|
4569
|
-
const
|
|
2877
|
+
const de_DataRepositoryAssociations = (output, context) => {
|
|
4570
2878
|
const retVal = (output || [])
|
|
4571
2879
|
.filter((e) => e != null)
|
|
4572
2880
|
.map((entry) => {
|
|
4573
|
-
|
|
4574
|
-
return null;
|
|
4575
|
-
}
|
|
4576
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2881
|
+
return de_DataRepositoryAssociation(entry, context);
|
|
4577
2882
|
});
|
|
4578
2883
|
return retVal;
|
|
4579
2884
|
};
|
|
4580
|
-
const
|
|
4581
|
-
return {
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4599
|
-
};
|
|
2885
|
+
const de_DataRepositoryTask = (output, context) => {
|
|
2886
|
+
return (0, smithy_client_1.take)(output, {
|
|
2887
|
+
CapacityToRelease: smithy_client_1.expectLong,
|
|
2888
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2889
|
+
EndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2890
|
+
FailureDetails: smithy_client_1._json,
|
|
2891
|
+
FileCacheId: smithy_client_1.expectString,
|
|
2892
|
+
FileSystemId: smithy_client_1.expectString,
|
|
2893
|
+
Lifecycle: smithy_client_1.expectString,
|
|
2894
|
+
Paths: smithy_client_1._json,
|
|
2895
|
+
Report: smithy_client_1._json,
|
|
2896
|
+
ResourceARN: smithy_client_1.expectString,
|
|
2897
|
+
StartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2898
|
+
Status: (_) => de_DataRepositoryTaskStatus(_, context),
|
|
2899
|
+
Tags: smithy_client_1._json,
|
|
2900
|
+
TaskId: smithy_client_1.expectString,
|
|
2901
|
+
Type: smithy_client_1.expectString,
|
|
2902
|
+
});
|
|
4600
2903
|
};
|
|
4601
|
-
const
|
|
2904
|
+
const de_DataRepositoryTasks = (output, context) => {
|
|
4602
2905
|
const retVal = (output || [])
|
|
4603
2906
|
.filter((e) => e != null)
|
|
4604
2907
|
.map((entry) => {
|
|
4605
|
-
|
|
4606
|
-
return null;
|
|
4607
|
-
}
|
|
4608
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2908
|
+
return de_DataRepositoryTask(entry, context);
|
|
4609
2909
|
});
|
|
4610
2910
|
return retVal;
|
|
4611
2911
|
};
|
|
4612
|
-
const
|
|
4613
|
-
return {
|
|
4614
|
-
|
|
4615
|
-
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
return {
|
|
4621
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4622
|
-
ResourceARN: (0, smithy_client_1.expectString)(output.ResourceARN),
|
|
4623
|
-
};
|
|
2912
|
+
const de_DataRepositoryTaskStatus = (output, context) => {
|
|
2913
|
+
return (0, smithy_client_1.take)(output, {
|
|
2914
|
+
FailedCount: smithy_client_1.expectLong,
|
|
2915
|
+
LastUpdatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2916
|
+
ReleasedCapacity: smithy_client_1.expectLong,
|
|
2917
|
+
SucceededCount: smithy_client_1.expectLong,
|
|
2918
|
+
TotalCount: smithy_client_1.expectLong,
|
|
2919
|
+
});
|
|
4624
2920
|
};
|
|
4625
|
-
const
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
.
|
|
4629
|
-
if (entry === null) {
|
|
4630
|
-
return null;
|
|
4631
|
-
}
|
|
4632
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2921
|
+
const de_DescribeBackupsResponse = (output, context) => {
|
|
2922
|
+
return (0, smithy_client_1.take)(output, {
|
|
2923
|
+
Backups: (_) => de_Backups(_, context),
|
|
2924
|
+
NextToken: smithy_client_1.expectString,
|
|
4633
2925
|
});
|
|
4634
|
-
return retVal;
|
|
4635
2926
|
};
|
|
4636
|
-
const
|
|
4637
|
-
return {
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
DiskIopsConfiguration: output.DiskIopsConfiguration != null
|
|
4642
|
-
? de_DiskIopsConfiguration(output.DiskIopsConfiguration, context)
|
|
4643
|
-
: undefined,
|
|
4644
|
-
EndpointIpAddressRange: (0, smithy_client_1.expectString)(output.EndpointIpAddressRange),
|
|
4645
|
-
Endpoints: output.Endpoints != null ? de_FileSystemEndpoints(output.Endpoints, context) : undefined,
|
|
4646
|
-
PreferredSubnetId: (0, smithy_client_1.expectString)(output.PreferredSubnetId),
|
|
4647
|
-
RouteTableIds: output.RouteTableIds != null ? de_RouteTableIds(output.RouteTableIds, context) : undefined,
|
|
4648
|
-
ThroughputCapacity: (0, smithy_client_1.expectInt32)(output.ThroughputCapacity),
|
|
4649
|
-
WeeklyMaintenanceStartTime: (0, smithy_client_1.expectString)(output.WeeklyMaintenanceStartTime),
|
|
4650
|
-
};
|
|
2927
|
+
const de_DescribeDataRepositoryAssociationsResponse = (output, context) => {
|
|
2928
|
+
return (0, smithy_client_1.take)(output, {
|
|
2929
|
+
Associations: (_) => de_DataRepositoryAssociations(_, context),
|
|
2930
|
+
NextToken: smithy_client_1.expectString,
|
|
2931
|
+
});
|
|
4651
2932
|
};
|
|
4652
|
-
const
|
|
4653
|
-
return {
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
OntapVolumeType: (0, smithy_client_1.expectString)(output.OntapVolumeType),
|
|
4658
|
-
SecurityStyle: (0, smithy_client_1.expectString)(output.SecurityStyle),
|
|
4659
|
-
SizeInMegabytes: (0, smithy_client_1.expectInt32)(output.SizeInMegabytes),
|
|
4660
|
-
SnapshotPolicy: (0, smithy_client_1.expectString)(output.SnapshotPolicy),
|
|
4661
|
-
StorageEfficiencyEnabled: (0, smithy_client_1.expectBoolean)(output.StorageEfficiencyEnabled),
|
|
4662
|
-
StorageVirtualMachineId: (0, smithy_client_1.expectString)(output.StorageVirtualMachineId),
|
|
4663
|
-
StorageVirtualMachineRoot: (0, smithy_client_1.expectBoolean)(output.StorageVirtualMachineRoot),
|
|
4664
|
-
TieringPolicy: output.TieringPolicy != null ? de_TieringPolicy(output.TieringPolicy, context) : undefined,
|
|
4665
|
-
UUID: (0, smithy_client_1.expectString)(output.UUID),
|
|
4666
|
-
};
|
|
2933
|
+
const de_DescribeDataRepositoryTasksResponse = (output, context) => {
|
|
2934
|
+
return (0, smithy_client_1.take)(output, {
|
|
2935
|
+
DataRepositoryTasks: (_) => de_DataRepositoryTasks(_, context),
|
|
2936
|
+
NextToken: smithy_client_1.expectString,
|
|
2937
|
+
});
|
|
4667
2938
|
};
|
|
4668
|
-
const
|
|
4669
|
-
return {
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
};
|
|
2939
|
+
const de_DescribeFileCachesResponse = (output, context) => {
|
|
2940
|
+
return (0, smithy_client_1.take)(output, {
|
|
2941
|
+
FileCaches: (_) => de_FileCaches(_, context),
|
|
2942
|
+
NextToken: smithy_client_1.expectString,
|
|
2943
|
+
});
|
|
4673
2944
|
};
|
|
4674
|
-
const
|
|
4675
|
-
|
|
4676
|
-
|
|
4677
|
-
.
|
|
4678
|
-
if (entry === null) {
|
|
4679
|
-
return null;
|
|
4680
|
-
}
|
|
4681
|
-
return de_OpenZFSClientConfiguration(entry, context);
|
|
2945
|
+
const de_DescribeFileSystemsResponse = (output, context) => {
|
|
2946
|
+
return (0, smithy_client_1.take)(output, {
|
|
2947
|
+
FileSystems: (_) => de_FileSystems(_, context),
|
|
2948
|
+
NextToken: smithy_client_1.expectString,
|
|
4682
2949
|
});
|
|
4683
|
-
return retVal;
|
|
4684
2950
|
};
|
|
4685
|
-
const
|
|
4686
|
-
return {
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
DailyAutomaticBackupStartTime: (0, smithy_client_1.expectString)(output.DailyAutomaticBackupStartTime),
|
|
4691
|
-
DeploymentType: (0, smithy_client_1.expectString)(output.DeploymentType),
|
|
4692
|
-
DiskIopsConfiguration: output.DiskIopsConfiguration != null
|
|
4693
|
-
? de_DiskIopsConfiguration(output.DiskIopsConfiguration, context)
|
|
4694
|
-
: undefined,
|
|
4695
|
-
RootVolumeId: (0, smithy_client_1.expectString)(output.RootVolumeId),
|
|
4696
|
-
ThroughputCapacity: (0, smithy_client_1.expectInt32)(output.ThroughputCapacity),
|
|
4697
|
-
WeeklyMaintenanceStartTime: (0, smithy_client_1.expectString)(output.WeeklyMaintenanceStartTime),
|
|
4698
|
-
};
|
|
2951
|
+
const de_DescribeSnapshotsResponse = (output, context) => {
|
|
2952
|
+
return (0, smithy_client_1.take)(output, {
|
|
2953
|
+
NextToken: smithy_client_1.expectString,
|
|
2954
|
+
Snapshots: (_) => de_Snapshots(_, context),
|
|
2955
|
+
});
|
|
4699
2956
|
};
|
|
4700
|
-
const
|
|
4701
|
-
return {
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
};
|
|
2957
|
+
const de_DescribeStorageVirtualMachinesResponse = (output, context) => {
|
|
2958
|
+
return (0, smithy_client_1.take)(output, {
|
|
2959
|
+
NextToken: smithy_client_1.expectString,
|
|
2960
|
+
StorageVirtualMachines: (_) => de_StorageVirtualMachines(_, context),
|
|
2961
|
+
});
|
|
4706
2962
|
};
|
|
4707
|
-
const
|
|
4708
|
-
|
|
4709
|
-
.
|
|
4710
|
-
|
|
4711
|
-
if (entry === null) {
|
|
4712
|
-
return null;
|
|
4713
|
-
}
|
|
4714
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2963
|
+
const de_DescribeVolumesResponse = (output, context) => {
|
|
2964
|
+
return (0, smithy_client_1.take)(output, {
|
|
2965
|
+
NextToken: smithy_client_1.expectString,
|
|
2966
|
+
Volumes: (_) => de_Volumes(_, context),
|
|
4715
2967
|
});
|
|
4716
|
-
return retVal;
|
|
4717
2968
|
};
|
|
4718
|
-
const
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
.
|
|
4722
|
-
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
|
|
2969
|
+
const de_FileCache = (output, context) => {
|
|
2970
|
+
return (0, smithy_client_1.take)(output, {
|
|
2971
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2972
|
+
DNSName: smithy_client_1.expectString,
|
|
2973
|
+
DataRepositoryAssociationIds: smithy_client_1._json,
|
|
2974
|
+
FailureDetails: smithy_client_1._json,
|
|
2975
|
+
FileCacheId: smithy_client_1.expectString,
|
|
2976
|
+
FileCacheType: smithy_client_1.expectString,
|
|
2977
|
+
FileCacheTypeVersion: smithy_client_1.expectString,
|
|
2978
|
+
KmsKeyId: smithy_client_1.expectString,
|
|
2979
|
+
Lifecycle: smithy_client_1.expectString,
|
|
2980
|
+
LustreConfiguration: smithy_client_1._json,
|
|
2981
|
+
NetworkInterfaceIds: smithy_client_1._json,
|
|
2982
|
+
OwnerId: smithy_client_1.expectString,
|
|
2983
|
+
ResourceARN: smithy_client_1.expectString,
|
|
2984
|
+
StorageCapacity: smithy_client_1.expectInt32,
|
|
2985
|
+
SubnetIds: smithy_client_1._json,
|
|
2986
|
+
VpcId: smithy_client_1.expectString,
|
|
4726
2987
|
});
|
|
4727
|
-
return retVal;
|
|
4728
2988
|
};
|
|
4729
|
-
const
|
|
4730
|
-
return {
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
2989
|
+
const de_FileCacheCreating = (output, context) => {
|
|
2990
|
+
return (0, smithy_client_1.take)(output, {
|
|
2991
|
+
CopyTagsToDataRepositoryAssociations: smithy_client_1.expectBoolean,
|
|
2992
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2993
|
+
DNSName: smithy_client_1.expectString,
|
|
2994
|
+
DataRepositoryAssociationIds: smithy_client_1._json,
|
|
2995
|
+
FailureDetails: smithy_client_1._json,
|
|
2996
|
+
FileCacheId: smithy_client_1.expectString,
|
|
2997
|
+
FileCacheType: smithy_client_1.expectString,
|
|
2998
|
+
FileCacheTypeVersion: smithy_client_1.expectString,
|
|
2999
|
+
KmsKeyId: smithy_client_1.expectString,
|
|
3000
|
+
Lifecycle: smithy_client_1.expectString,
|
|
3001
|
+
LustreConfiguration: smithy_client_1._json,
|
|
3002
|
+
NetworkInterfaceIds: smithy_client_1._json,
|
|
3003
|
+
OwnerId: smithy_client_1.expectString,
|
|
3004
|
+
ResourceARN: smithy_client_1.expectString,
|
|
3005
|
+
StorageCapacity: smithy_client_1.expectInt32,
|
|
3006
|
+
SubnetIds: smithy_client_1._json,
|
|
3007
|
+
Tags: smithy_client_1._json,
|
|
3008
|
+
VpcId: smithy_client_1.expectString,
|
|
3009
|
+
});
|
|
4734
3010
|
};
|
|
4735
|
-
const
|
|
3011
|
+
const de_FileCaches = (output, context) => {
|
|
4736
3012
|
const retVal = (output || [])
|
|
4737
3013
|
.filter((e) => e != null)
|
|
4738
3014
|
.map((entry) => {
|
|
4739
|
-
|
|
4740
|
-
return null;
|
|
4741
|
-
}
|
|
4742
|
-
return de_OpenZFSUserOrGroupQuota(entry, context);
|
|
3015
|
+
return de_FileCache(entry, context);
|
|
4743
3016
|
});
|
|
4744
3017
|
return retVal;
|
|
4745
3018
|
};
|
|
4746
|
-
const
|
|
4747
|
-
return {
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
|
|
4763
|
-
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
|
-
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
};
|
|
4770
|
-
};
|
|
4771
|
-
const de_ReleaseFileSystemNfsV3LocksResponse = (output, context) => {
|
|
4772
|
-
return {
|
|
4773
|
-
FileSystem: output.FileSystem != null ? de_FileSystem(output.FileSystem, context) : undefined,
|
|
4774
|
-
};
|
|
3019
|
+
const de_FileSystem = (output, context) => {
|
|
3020
|
+
return (0, smithy_client_1.take)(output, {
|
|
3021
|
+
AdministrativeActions: (_) => de_AdministrativeActions(_, context),
|
|
3022
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3023
|
+
DNSName: smithy_client_1.expectString,
|
|
3024
|
+
FailureDetails: smithy_client_1._json,
|
|
3025
|
+
FileSystemId: smithy_client_1.expectString,
|
|
3026
|
+
FileSystemType: smithy_client_1.expectString,
|
|
3027
|
+
FileSystemTypeVersion: smithy_client_1.expectString,
|
|
3028
|
+
KmsKeyId: smithy_client_1.expectString,
|
|
3029
|
+
Lifecycle: smithy_client_1.expectString,
|
|
3030
|
+
LustreConfiguration: smithy_client_1._json,
|
|
3031
|
+
NetworkInterfaceIds: smithy_client_1._json,
|
|
3032
|
+
OntapConfiguration: smithy_client_1._json,
|
|
3033
|
+
OpenZFSConfiguration: smithy_client_1._json,
|
|
3034
|
+
OwnerId: smithy_client_1.expectString,
|
|
3035
|
+
ResourceARN: smithy_client_1.expectString,
|
|
3036
|
+
StorageCapacity: smithy_client_1.expectInt32,
|
|
3037
|
+
StorageType: smithy_client_1.expectString,
|
|
3038
|
+
SubnetIds: smithy_client_1._json,
|
|
3039
|
+
Tags: smithy_client_1._json,
|
|
3040
|
+
VpcId: smithy_client_1.expectString,
|
|
3041
|
+
WindowsConfiguration: smithy_client_1._json,
|
|
3042
|
+
});
|
|
4775
3043
|
};
|
|
4776
|
-
const
|
|
3044
|
+
const de_FileSystems = (output, context) => {
|
|
4777
3045
|
const retVal = (output || [])
|
|
4778
3046
|
.filter((e) => e != null)
|
|
4779
3047
|
.map((entry) => {
|
|
4780
|
-
|
|
4781
|
-
return null;
|
|
4782
|
-
}
|
|
4783
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3048
|
+
return de_FileSystem(entry, context);
|
|
4784
3049
|
});
|
|
4785
3050
|
return retVal;
|
|
4786
3051
|
};
|
|
4787
|
-
const
|
|
4788
|
-
return {
|
|
4789
|
-
|
|
4790
|
-
|
|
4791
|
-
};
|
|
4792
|
-
};
|
|
4793
|
-
const de_ResourceNotFound = (output, context) => {
|
|
4794
|
-
return {
|
|
4795
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4796
|
-
ResourceARN: (0, smithy_client_1.expectString)(output.ResourceARN),
|
|
4797
|
-
};
|
|
3052
|
+
const de_ReleaseFileSystemNfsV3LocksResponse = (output, context) => {
|
|
3053
|
+
return (0, smithy_client_1.take)(output, {
|
|
3054
|
+
FileSystem: (_) => de_FileSystem(_, context),
|
|
3055
|
+
});
|
|
4798
3056
|
};
|
|
4799
3057
|
const de_RestoreVolumeFromSnapshotResponse = (output, context) => {
|
|
4800
|
-
return {
|
|
4801
|
-
AdministrativeActions:
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
Lifecycle: (0, smithy_client_1.expectString)(output.Lifecycle),
|
|
4805
|
-
VolumeId: (0, smithy_client_1.expectString)(output.VolumeId),
|
|
4806
|
-
};
|
|
4807
|
-
};
|
|
4808
|
-
const de_RouteTableIds = (output, context) => {
|
|
4809
|
-
const retVal = (output || [])
|
|
4810
|
-
.filter((e) => e != null)
|
|
4811
|
-
.map((entry) => {
|
|
4812
|
-
if (entry === null) {
|
|
4813
|
-
return null;
|
|
4814
|
-
}
|
|
4815
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3058
|
+
return (0, smithy_client_1.take)(output, {
|
|
3059
|
+
AdministrativeActions: (_) => de_AdministrativeActions(_, context),
|
|
3060
|
+
Lifecycle: smithy_client_1.expectString,
|
|
3061
|
+
VolumeId: smithy_client_1.expectString,
|
|
4816
3062
|
});
|
|
4817
|
-
return retVal;
|
|
4818
|
-
};
|
|
4819
|
-
const de_S3DataRepositoryConfiguration = (output, context) => {
|
|
4820
|
-
return {
|
|
4821
|
-
AutoExportPolicy: output.AutoExportPolicy != null ? de_AutoExportPolicy(output.AutoExportPolicy, context) : undefined,
|
|
4822
|
-
AutoImportPolicy: output.AutoImportPolicy != null ? de_AutoImportPolicy(output.AutoImportPolicy, context) : undefined,
|
|
4823
|
-
};
|
|
4824
|
-
};
|
|
4825
|
-
const de_SelfManagedActiveDirectoryAttributes = (output, context) => {
|
|
4826
|
-
return {
|
|
4827
|
-
DnsIps: output.DnsIps != null ? de_DnsIps(output.DnsIps, context) : undefined,
|
|
4828
|
-
DomainName: (0, smithy_client_1.expectString)(output.DomainName),
|
|
4829
|
-
FileSystemAdministratorsGroup: (0, smithy_client_1.expectString)(output.FileSystemAdministratorsGroup),
|
|
4830
|
-
OrganizationalUnitDistinguishedName: (0, smithy_client_1.expectString)(output.OrganizationalUnitDistinguishedName),
|
|
4831
|
-
UserName: (0, smithy_client_1.expectString)(output.UserName),
|
|
4832
|
-
};
|
|
4833
|
-
};
|
|
4834
|
-
const de_ServiceLimitExceeded = (output, context) => {
|
|
4835
|
-
return {
|
|
4836
|
-
Limit: (0, smithy_client_1.expectString)(output.Limit),
|
|
4837
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4838
|
-
};
|
|
4839
3063
|
};
|
|
4840
3064
|
const de_Snapshot = (output, context) => {
|
|
4841
|
-
return {
|
|
4842
|
-
AdministrativeActions:
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4853
|
-
ResourceARN: (0, smithy_client_1.expectString)(output.ResourceARN),
|
|
4854
|
-
SnapshotId: (0, smithy_client_1.expectString)(output.SnapshotId),
|
|
4855
|
-
Tags: output.Tags != null ? de_Tags(output.Tags, context) : undefined,
|
|
4856
|
-
VolumeId: (0, smithy_client_1.expectString)(output.VolumeId),
|
|
4857
|
-
};
|
|
4858
|
-
};
|
|
4859
|
-
const de_SnapshotNotFound = (output, context) => {
|
|
4860
|
-
return {
|
|
4861
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4862
|
-
};
|
|
3065
|
+
return (0, smithy_client_1.take)(output, {
|
|
3066
|
+
AdministrativeActions: (_) => de_AdministrativeActions(_, context),
|
|
3067
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3068
|
+
Lifecycle: smithy_client_1.expectString,
|
|
3069
|
+
LifecycleTransitionReason: smithy_client_1._json,
|
|
3070
|
+
Name: smithy_client_1.expectString,
|
|
3071
|
+
ResourceARN: smithy_client_1.expectString,
|
|
3072
|
+
SnapshotId: smithy_client_1.expectString,
|
|
3073
|
+
Tags: smithy_client_1._json,
|
|
3074
|
+
VolumeId: smithy_client_1.expectString,
|
|
3075
|
+
});
|
|
4863
3076
|
};
|
|
4864
3077
|
const de_Snapshots = (output, context) => {
|
|
4865
3078
|
const retVal = (output || [])
|
|
4866
3079
|
.filter((e) => e != null)
|
|
4867
3080
|
.map((entry) => {
|
|
4868
|
-
if (entry === null) {
|
|
4869
|
-
return null;
|
|
4870
|
-
}
|
|
4871
3081
|
return de_Snapshot(entry, context);
|
|
4872
3082
|
});
|
|
4873
3083
|
return retVal;
|
|
4874
3084
|
};
|
|
4875
|
-
const de_SourceBackupUnavailable = (output, context) => {
|
|
4876
|
-
return {
|
|
4877
|
-
BackupId: (0, smithy_client_1.expectString)(output.BackupId),
|
|
4878
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4879
|
-
};
|
|
4880
|
-
};
|
|
4881
3085
|
const de_StorageVirtualMachine = (output, context) => {
|
|
4882
|
-
return {
|
|
4883
|
-
ActiveDirectoryConfiguration:
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
|
-
RootVolumeSecurityStyle: (0, smithy_client_1.expectString)(output.RootVolumeSecurityStyle),
|
|
4898
|
-
StorageVirtualMachineId: (0, smithy_client_1.expectString)(output.StorageVirtualMachineId),
|
|
4899
|
-
Subtype: (0, smithy_client_1.expectString)(output.Subtype),
|
|
4900
|
-
Tags: output.Tags != null ? de_Tags(output.Tags, context) : undefined,
|
|
4901
|
-
UUID: (0, smithy_client_1.expectString)(output.UUID),
|
|
4902
|
-
};
|
|
4903
|
-
};
|
|
4904
|
-
const de_StorageVirtualMachineNotFound = (output, context) => {
|
|
4905
|
-
return {
|
|
4906
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4907
|
-
};
|
|
3086
|
+
return (0, smithy_client_1.take)(output, {
|
|
3087
|
+
ActiveDirectoryConfiguration: smithy_client_1._json,
|
|
3088
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3089
|
+
Endpoints: smithy_client_1._json,
|
|
3090
|
+
FileSystemId: smithy_client_1.expectString,
|
|
3091
|
+
Lifecycle: smithy_client_1.expectString,
|
|
3092
|
+
LifecycleTransitionReason: smithy_client_1._json,
|
|
3093
|
+
Name: smithy_client_1.expectString,
|
|
3094
|
+
ResourceARN: smithy_client_1.expectString,
|
|
3095
|
+
RootVolumeSecurityStyle: smithy_client_1.expectString,
|
|
3096
|
+
StorageVirtualMachineId: smithy_client_1.expectString,
|
|
3097
|
+
Subtype: smithy_client_1.expectString,
|
|
3098
|
+
Tags: smithy_client_1._json,
|
|
3099
|
+
UUID: smithy_client_1.expectString,
|
|
3100
|
+
});
|
|
4908
3101
|
};
|
|
4909
3102
|
const de_StorageVirtualMachines = (output, context) => {
|
|
4910
3103
|
const retVal = (output || [])
|
|
4911
3104
|
.filter((e) => e != null)
|
|
4912
3105
|
.map((entry) => {
|
|
4913
|
-
if (entry === null) {
|
|
4914
|
-
return null;
|
|
4915
|
-
}
|
|
4916
3106
|
return de_StorageVirtualMachine(entry, context);
|
|
4917
3107
|
});
|
|
4918
3108
|
return retVal;
|
|
4919
3109
|
};
|
|
4920
|
-
const de_SubDirectoriesPaths = (output, context) => {
|
|
4921
|
-
const retVal = (output || [])
|
|
4922
|
-
.filter((e) => e != null)
|
|
4923
|
-
.map((entry) => {
|
|
4924
|
-
if (entry === null) {
|
|
4925
|
-
return null;
|
|
4926
|
-
}
|
|
4927
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
4928
|
-
});
|
|
4929
|
-
return retVal;
|
|
4930
|
-
};
|
|
4931
|
-
const de_SubnetIds = (output, context) => {
|
|
4932
|
-
const retVal = (output || [])
|
|
4933
|
-
.filter((e) => e != null)
|
|
4934
|
-
.map((entry) => {
|
|
4935
|
-
if (entry === null) {
|
|
4936
|
-
return null;
|
|
4937
|
-
}
|
|
4938
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
4939
|
-
});
|
|
4940
|
-
return retVal;
|
|
4941
|
-
};
|
|
4942
|
-
const de_SvmActiveDirectoryConfiguration = (output, context) => {
|
|
4943
|
-
return {
|
|
4944
|
-
NetBiosName: (0, smithy_client_1.expectString)(output.NetBiosName),
|
|
4945
|
-
SelfManagedActiveDirectoryConfiguration: output.SelfManagedActiveDirectoryConfiguration != null
|
|
4946
|
-
? de_SelfManagedActiveDirectoryAttributes(output.SelfManagedActiveDirectoryConfiguration, context)
|
|
4947
|
-
: undefined,
|
|
4948
|
-
};
|
|
4949
|
-
};
|
|
4950
|
-
const de_SvmEndpoint = (output, context) => {
|
|
4951
|
-
return {
|
|
4952
|
-
DNSName: (0, smithy_client_1.expectString)(output.DNSName),
|
|
4953
|
-
IpAddresses: output.IpAddresses != null ? de_OntapEndpointIpAddresses(output.IpAddresses, context) : undefined,
|
|
4954
|
-
};
|
|
4955
|
-
};
|
|
4956
|
-
const de_SvmEndpoints = (output, context) => {
|
|
4957
|
-
return {
|
|
4958
|
-
Iscsi: output.Iscsi != null ? de_SvmEndpoint(output.Iscsi, context) : undefined,
|
|
4959
|
-
Management: output.Management != null ? de_SvmEndpoint(output.Management, context) : undefined,
|
|
4960
|
-
Nfs: output.Nfs != null ? de_SvmEndpoint(output.Nfs, context) : undefined,
|
|
4961
|
-
Smb: output.Smb != null ? de_SvmEndpoint(output.Smb, context) : undefined,
|
|
4962
|
-
};
|
|
4963
|
-
};
|
|
4964
|
-
const de_Tag = (output, context) => {
|
|
4965
|
-
return {
|
|
4966
|
-
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
4967
|
-
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
4968
|
-
};
|
|
4969
|
-
};
|
|
4970
|
-
const de_TagResourceResponse = (output, context) => {
|
|
4971
|
-
return {};
|
|
4972
|
-
};
|
|
4973
|
-
const de_Tags = (output, context) => {
|
|
4974
|
-
const retVal = (output || [])
|
|
4975
|
-
.filter((e) => e != null)
|
|
4976
|
-
.map((entry) => {
|
|
4977
|
-
if (entry === null) {
|
|
4978
|
-
return null;
|
|
4979
|
-
}
|
|
4980
|
-
return de_Tag(entry, context);
|
|
4981
|
-
});
|
|
4982
|
-
return retVal;
|
|
4983
|
-
};
|
|
4984
|
-
const de_TieringPolicy = (output, context) => {
|
|
4985
|
-
return {
|
|
4986
|
-
CoolingPeriod: (0, smithy_client_1.expectInt32)(output.CoolingPeriod),
|
|
4987
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4988
|
-
};
|
|
4989
|
-
};
|
|
4990
|
-
const de_UnsupportedOperation = (output, context) => {
|
|
4991
|
-
return {
|
|
4992
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4993
|
-
};
|
|
4994
|
-
};
|
|
4995
|
-
const de_UntagResourceResponse = (output, context) => {
|
|
4996
|
-
return {};
|
|
4997
|
-
};
|
|
4998
3110
|
const de_UpdateDataRepositoryAssociationResponse = (output, context) => {
|
|
4999
|
-
return {
|
|
5000
|
-
Association:
|
|
5001
|
-
};
|
|
3111
|
+
return (0, smithy_client_1.take)(output, {
|
|
3112
|
+
Association: (_) => de_DataRepositoryAssociation(_, context),
|
|
3113
|
+
});
|
|
5002
3114
|
};
|
|
5003
3115
|
const de_UpdateFileCacheResponse = (output, context) => {
|
|
5004
|
-
return {
|
|
5005
|
-
FileCache:
|
|
5006
|
-
};
|
|
3116
|
+
return (0, smithy_client_1.take)(output, {
|
|
3117
|
+
FileCache: (_) => de_FileCache(_, context),
|
|
3118
|
+
});
|
|
5007
3119
|
};
|
|
5008
3120
|
const de_UpdateFileSystemResponse = (output, context) => {
|
|
5009
|
-
return {
|
|
5010
|
-
FileSystem:
|
|
5011
|
-
};
|
|
3121
|
+
return (0, smithy_client_1.take)(output, {
|
|
3122
|
+
FileSystem: (_) => de_FileSystem(_, context),
|
|
3123
|
+
});
|
|
5012
3124
|
};
|
|
5013
3125
|
const de_UpdateSnapshotResponse = (output, context) => {
|
|
5014
|
-
return {
|
|
5015
|
-
Snapshot:
|
|
5016
|
-
};
|
|
3126
|
+
return (0, smithy_client_1.take)(output, {
|
|
3127
|
+
Snapshot: (_) => de_Snapshot(_, context),
|
|
3128
|
+
});
|
|
5017
3129
|
};
|
|
5018
3130
|
const de_UpdateStorageVirtualMachineResponse = (output, context) => {
|
|
5019
|
-
return {
|
|
5020
|
-
StorageVirtualMachine:
|
|
5021
|
-
|
|
5022
|
-
: undefined,
|
|
5023
|
-
};
|
|
3131
|
+
return (0, smithy_client_1.take)(output, {
|
|
3132
|
+
StorageVirtualMachine: (_) => de_StorageVirtualMachine(_, context),
|
|
3133
|
+
});
|
|
5024
3134
|
};
|
|
5025
3135
|
const de_UpdateVolumeResponse = (output, context) => {
|
|
5026
|
-
return {
|
|
5027
|
-
Volume:
|
|
5028
|
-
};
|
|
3136
|
+
return (0, smithy_client_1.take)(output, {
|
|
3137
|
+
Volume: (_) => de_Volume(_, context),
|
|
3138
|
+
});
|
|
5029
3139
|
};
|
|
5030
3140
|
const de_Volume = (output, context) => {
|
|
5031
|
-
return {
|
|
5032
|
-
AdministrativeActions:
|
|
5033
|
-
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
OpenZFSConfiguration: output.OpenZFSConfiguration != null
|
|
5046
|
-
? de_OpenZFSVolumeConfiguration(output.OpenZFSConfiguration, context)
|
|
5047
|
-
: undefined,
|
|
5048
|
-
ResourceARN: (0, smithy_client_1.expectString)(output.ResourceARN),
|
|
5049
|
-
Tags: output.Tags != null ? de_Tags(output.Tags, context) : undefined,
|
|
5050
|
-
VolumeId: (0, smithy_client_1.expectString)(output.VolumeId),
|
|
5051
|
-
VolumeType: (0, smithy_client_1.expectString)(output.VolumeType),
|
|
5052
|
-
};
|
|
5053
|
-
};
|
|
5054
|
-
const de_VolumeNotFound = (output, context) => {
|
|
5055
|
-
return {
|
|
5056
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5057
|
-
};
|
|
3141
|
+
return (0, smithy_client_1.take)(output, {
|
|
3142
|
+
AdministrativeActions: (_) => de_AdministrativeActions(_, context),
|
|
3143
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3144
|
+
FileSystemId: smithy_client_1.expectString,
|
|
3145
|
+
Lifecycle: smithy_client_1.expectString,
|
|
3146
|
+
LifecycleTransitionReason: smithy_client_1._json,
|
|
3147
|
+
Name: smithy_client_1.expectString,
|
|
3148
|
+
OntapConfiguration: smithy_client_1._json,
|
|
3149
|
+
OpenZFSConfiguration: smithy_client_1._json,
|
|
3150
|
+
ResourceARN: smithy_client_1.expectString,
|
|
3151
|
+
Tags: smithy_client_1._json,
|
|
3152
|
+
VolumeId: smithy_client_1.expectString,
|
|
3153
|
+
VolumeType: smithy_client_1.expectString,
|
|
3154
|
+
});
|
|
5058
3155
|
};
|
|
5059
3156
|
const de_Volumes = (output, context) => {
|
|
5060
3157
|
const retVal = (output || [])
|
|
5061
3158
|
.filter((e) => e != null)
|
|
5062
3159
|
.map((entry) => {
|
|
5063
|
-
if (entry === null) {
|
|
5064
|
-
return null;
|
|
5065
|
-
}
|
|
5066
3160
|
return de_Volume(entry, context);
|
|
5067
3161
|
});
|
|
5068
3162
|
return retVal;
|
|
5069
3163
|
};
|
|
5070
|
-
const de_WindowsAuditLogConfiguration = (output, context) => {
|
|
5071
|
-
return {
|
|
5072
|
-
AuditLogDestination: (0, smithy_client_1.expectString)(output.AuditLogDestination),
|
|
5073
|
-
FileAccessAuditLogLevel: (0, smithy_client_1.expectString)(output.FileAccessAuditLogLevel),
|
|
5074
|
-
FileShareAccessAuditLogLevel: (0, smithy_client_1.expectString)(output.FileShareAccessAuditLogLevel),
|
|
5075
|
-
};
|
|
5076
|
-
};
|
|
5077
|
-
const de_WindowsFileSystemConfiguration = (output, context) => {
|
|
5078
|
-
return {
|
|
5079
|
-
ActiveDirectoryId: (0, smithy_client_1.expectString)(output.ActiveDirectoryId),
|
|
5080
|
-
Aliases: output.Aliases != null ? de_Aliases(output.Aliases, context) : undefined,
|
|
5081
|
-
AuditLogConfiguration: output.AuditLogConfiguration != null
|
|
5082
|
-
? de_WindowsAuditLogConfiguration(output.AuditLogConfiguration, context)
|
|
5083
|
-
: undefined,
|
|
5084
|
-
AutomaticBackupRetentionDays: (0, smithy_client_1.expectInt32)(output.AutomaticBackupRetentionDays),
|
|
5085
|
-
CopyTagsToBackups: (0, smithy_client_1.expectBoolean)(output.CopyTagsToBackups),
|
|
5086
|
-
DailyAutomaticBackupStartTime: (0, smithy_client_1.expectString)(output.DailyAutomaticBackupStartTime),
|
|
5087
|
-
DeploymentType: (0, smithy_client_1.expectString)(output.DeploymentType),
|
|
5088
|
-
MaintenanceOperationsInProgress: output.MaintenanceOperationsInProgress != null
|
|
5089
|
-
? de_FileSystemMaintenanceOperations(output.MaintenanceOperationsInProgress, context)
|
|
5090
|
-
: undefined,
|
|
5091
|
-
PreferredFileServerIp: (0, smithy_client_1.expectString)(output.PreferredFileServerIp),
|
|
5092
|
-
PreferredSubnetId: (0, smithy_client_1.expectString)(output.PreferredSubnetId),
|
|
5093
|
-
RemoteAdministrationEndpoint: (0, smithy_client_1.expectString)(output.RemoteAdministrationEndpoint),
|
|
5094
|
-
SelfManagedActiveDirectoryConfiguration: output.SelfManagedActiveDirectoryConfiguration != null
|
|
5095
|
-
? de_SelfManagedActiveDirectoryAttributes(output.SelfManagedActiveDirectoryConfiguration, context)
|
|
5096
|
-
: undefined,
|
|
5097
|
-
ThroughputCapacity: (0, smithy_client_1.expectInt32)(output.ThroughputCapacity),
|
|
5098
|
-
WeeklyMaintenanceStartTime: (0, smithy_client_1.expectString)(output.WeeklyMaintenanceStartTime),
|
|
5099
|
-
};
|
|
5100
|
-
};
|
|
5101
3164
|
const deserializeMetadata = (output) => ({
|
|
5102
3165
|
httpStatusCode: output.statusCode,
|
|
5103
3166
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -5111,6 +3174,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
5111
3174
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
5112
3175
|
};
|
|
5113
3176
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
3177
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(FSxServiceException_1.FSxServiceException);
|
|
5114
3178
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
5115
3179
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
5116
3180
|
const contents = {
|
|
@@ -5129,6 +3193,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
5129
3193
|
}
|
|
5130
3194
|
return new protocol_http_1.HttpRequest(contents);
|
|
5131
3195
|
};
|
|
3196
|
+
function sharedHeaders(operation) {
|
|
3197
|
+
return {
|
|
3198
|
+
"content-type": "application/x-amz-json-1.1",
|
|
3199
|
+
"x-amz-target": `AWSSimbaAPIService_v20180301.${operation}`,
|
|
3200
|
+
};
|
|
3201
|
+
}
|
|
5132
3202
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
5133
3203
|
if (encoded.length) {
|
|
5134
3204
|
return JSON.parse(encoded);
|