@aws-sdk/client-fsx 3.927.0 → 3.928.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/index.js +3036 -2879
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/FSxClient.js +2 -0
- package/dist-es/commands/AssociateFileSystemAliasesCommand.js +3 -9
- package/dist-es/commands/CancelDataRepositoryTaskCommand.js +3 -9
- package/dist-es/commands/CopyBackupCommand.js +3 -10
- package/dist-es/commands/CopySnapshotAndUpdateVolumeCommand.js +3 -10
- package/dist-es/commands/CreateAndAttachS3AccessPointCommand.js +3 -9
- package/dist-es/commands/CreateBackupCommand.js +3 -10
- package/dist-es/commands/CreateDataRepositoryAssociationCommand.js +3 -9
- package/dist-es/commands/CreateDataRepositoryTaskCommand.js +3 -9
- package/dist-es/commands/CreateFileCacheCommand.js +3 -9
- package/dist-es/commands/CreateFileSystemCommand.js +3 -11
- package/dist-es/commands/CreateFileSystemFromBackupCommand.js +3 -11
- package/dist-es/commands/CreateSnapshotCommand.js +3 -10
- package/dist-es/commands/CreateStorageVirtualMachineCommand.js +3 -10
- package/dist-es/commands/CreateVolumeCommand.js +3 -10
- package/dist-es/commands/CreateVolumeFromBackupCommand.js +3 -10
- package/dist-es/commands/DeleteBackupCommand.js +3 -9
- package/dist-es/commands/DeleteDataRepositoryAssociationCommand.js +3 -9
- package/dist-es/commands/DeleteFileCacheCommand.js +3 -9
- package/dist-es/commands/DeleteFileSystemCommand.js +3 -9
- package/dist-es/commands/DeleteSnapshotCommand.js +3 -9
- package/dist-es/commands/DeleteStorageVirtualMachineCommand.js +3 -9
- package/dist-es/commands/DeleteVolumeCommand.js +3 -9
- package/dist-es/commands/DescribeBackupsCommand.js +3 -10
- package/dist-es/commands/DescribeDataRepositoryAssociationsCommand.js +3 -9
- package/dist-es/commands/DescribeDataRepositoryTasksCommand.js +3 -9
- package/dist-es/commands/DescribeFileCachesCommand.js +3 -9
- package/dist-es/commands/DescribeFileSystemAliasesCommand.js +3 -9
- package/dist-es/commands/DescribeFileSystemsCommand.js +3 -10
- package/dist-es/commands/DescribeS3AccessPointAttachmentsCommand.js +3 -9
- package/dist-es/commands/DescribeSharedVpcConfigurationCommand.js +3 -9
- package/dist-es/commands/DescribeSnapshotsCommand.js +3 -10
- package/dist-es/commands/DescribeStorageVirtualMachinesCommand.js +3 -9
- package/dist-es/commands/DescribeVolumesCommand.js +3 -10
- package/dist-es/commands/DetachAndDeleteS3AccessPointCommand.js +3 -9
- package/dist-es/commands/DisassociateFileSystemAliasesCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ReleaseFileSystemNfsV3LocksCommand.js +3 -10
- package/dist-es/commands/RestoreVolumeFromSnapshotCommand.js +3 -10
- package/dist-es/commands/StartMisconfiguredStateRecoveryCommand.js +3 -10
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateDataRepositoryAssociationCommand.js +3 -9
- package/dist-es/commands/UpdateFileCacheCommand.js +3 -9
- package/dist-es/commands/UpdateFileSystemCommand.js +3 -11
- package/dist-es/commands/UpdateSharedVpcConfigurationCommand.js +3 -9
- package/dist-es/commands/UpdateSnapshotCommand.js +3 -10
- package/dist-es/commands/UpdateStorageVirtualMachineCommand.js +3 -10
- package/dist-es/commands/UpdateVolumeCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -122
- package/dist-es/models/models_1.js +1 -62
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +2855 -0
- package/dist-types/FSxClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -80
- package/dist-types/models/models_1.d.ts +0 -68
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +359 -0
- package/dist-types/ts3.4/FSxClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -54
- package/dist-types/ts3.4/models/models_1.d.ts +0 -49
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +365 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_json1_1.js +0 -2207
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -434
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -581
|
@@ -1,2207 +0,0 @@
|
|
|
1
|
-
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
|
-
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
-
import { v4 as generateIdempotencyToken } from "@smithy/uuid";
|
|
5
|
-
import { FSxServiceException as __BaseException } from "../models/FSxServiceException";
|
|
6
|
-
import { AccessPointAlreadyOwnedByYou, ActiveDirectoryError, BackupBeingCopied, BackupInProgress, BackupNotFound, BackupRestoring, BadRequest, DataRepositoryAssociationNotFound, DataRepositoryTaskEnded, DataRepositoryTaskExecuting, DataRepositoryTaskNotFound, FileCacheNotFound, FileSystemNotFound, IncompatibleParameterError, IncompatibleRegionForMultiAZ, InternalServerError, InvalidAccessPoint, InvalidDataRepositoryType, InvalidDestinationKmsKey, InvalidExportPath, InvalidImportPath, InvalidNetworkSettings, InvalidPerUnitStorageThroughput, InvalidRegion, InvalidRequest, InvalidSourceKmsKey, MissingFileCacheConfiguration, MissingFileSystemConfiguration, MissingVolumeConfiguration, NotServiceResourceError, ResourceDoesNotSupportTagging, ResourceNotFound, S3AccessPointAttachmentNotFound, ServiceLimitExceeded, SnapshotNotFound, SourceBackupUnavailable, StorageVirtualMachineNotFound, TooManyAccessPoints, UnsupportedOperation, VolumeNotFound, } from "../models/models_0";
|
|
7
|
-
export const se_AssociateFileSystemAliasesCommand = async (input, context) => {
|
|
8
|
-
const headers = sharedHeaders("AssociateFileSystemAliases");
|
|
9
|
-
let body;
|
|
10
|
-
body = JSON.stringify(se_AssociateFileSystemAliasesRequest(input, context));
|
|
11
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
12
|
-
};
|
|
13
|
-
export const se_CancelDataRepositoryTaskCommand = async (input, context) => {
|
|
14
|
-
const headers = sharedHeaders("CancelDataRepositoryTask");
|
|
15
|
-
let body;
|
|
16
|
-
body = JSON.stringify(_json(input));
|
|
17
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
18
|
-
};
|
|
19
|
-
export const se_CopyBackupCommand = async (input, context) => {
|
|
20
|
-
const headers = sharedHeaders("CopyBackup");
|
|
21
|
-
let body;
|
|
22
|
-
body = JSON.stringify(se_CopyBackupRequest(input, context));
|
|
23
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
24
|
-
};
|
|
25
|
-
export const se_CopySnapshotAndUpdateVolumeCommand = async (input, context) => {
|
|
26
|
-
const headers = sharedHeaders("CopySnapshotAndUpdateVolume");
|
|
27
|
-
let body;
|
|
28
|
-
body = JSON.stringify(se_CopySnapshotAndUpdateVolumeRequest(input, context));
|
|
29
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
30
|
-
};
|
|
31
|
-
export const se_CreateAndAttachS3AccessPointCommand = async (input, context) => {
|
|
32
|
-
const headers = sharedHeaders("CreateAndAttachS3AccessPoint");
|
|
33
|
-
let body;
|
|
34
|
-
body = JSON.stringify(se_CreateAndAttachS3AccessPointRequest(input, context));
|
|
35
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
36
|
-
};
|
|
37
|
-
export const se_CreateBackupCommand = async (input, context) => {
|
|
38
|
-
const headers = sharedHeaders("CreateBackup");
|
|
39
|
-
let body;
|
|
40
|
-
body = JSON.stringify(se_CreateBackupRequest(input, context));
|
|
41
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
42
|
-
};
|
|
43
|
-
export const se_CreateDataRepositoryAssociationCommand = async (input, context) => {
|
|
44
|
-
const headers = sharedHeaders("CreateDataRepositoryAssociation");
|
|
45
|
-
let body;
|
|
46
|
-
body = JSON.stringify(se_CreateDataRepositoryAssociationRequest(input, context));
|
|
47
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
48
|
-
};
|
|
49
|
-
export const se_CreateDataRepositoryTaskCommand = async (input, context) => {
|
|
50
|
-
const headers = sharedHeaders("CreateDataRepositoryTask");
|
|
51
|
-
let body;
|
|
52
|
-
body = JSON.stringify(se_CreateDataRepositoryTaskRequest(input, context));
|
|
53
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
54
|
-
};
|
|
55
|
-
export const se_CreateFileCacheCommand = async (input, context) => {
|
|
56
|
-
const headers = sharedHeaders("CreateFileCache");
|
|
57
|
-
let body;
|
|
58
|
-
body = JSON.stringify(se_CreateFileCacheRequest(input, context));
|
|
59
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
60
|
-
};
|
|
61
|
-
export const se_CreateFileSystemCommand = async (input, context) => {
|
|
62
|
-
const headers = sharedHeaders("CreateFileSystem");
|
|
63
|
-
let body;
|
|
64
|
-
body = JSON.stringify(se_CreateFileSystemRequest(input, context));
|
|
65
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
66
|
-
};
|
|
67
|
-
export const se_CreateFileSystemFromBackupCommand = async (input, context) => {
|
|
68
|
-
const headers = sharedHeaders("CreateFileSystemFromBackup");
|
|
69
|
-
let body;
|
|
70
|
-
body = JSON.stringify(se_CreateFileSystemFromBackupRequest(input, context));
|
|
71
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
72
|
-
};
|
|
73
|
-
export const se_CreateSnapshotCommand = async (input, context) => {
|
|
74
|
-
const headers = sharedHeaders("CreateSnapshot");
|
|
75
|
-
let body;
|
|
76
|
-
body = JSON.stringify(se_CreateSnapshotRequest(input, context));
|
|
77
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
78
|
-
};
|
|
79
|
-
export const se_CreateStorageVirtualMachineCommand = async (input, context) => {
|
|
80
|
-
const headers = sharedHeaders("CreateStorageVirtualMachine");
|
|
81
|
-
let body;
|
|
82
|
-
body = JSON.stringify(se_CreateStorageVirtualMachineRequest(input, context));
|
|
83
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
84
|
-
};
|
|
85
|
-
export const se_CreateVolumeCommand = async (input, context) => {
|
|
86
|
-
const headers = sharedHeaders("CreateVolume");
|
|
87
|
-
let body;
|
|
88
|
-
body = JSON.stringify(se_CreateVolumeRequest(input, context));
|
|
89
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
90
|
-
};
|
|
91
|
-
export const se_CreateVolumeFromBackupCommand = async (input, context) => {
|
|
92
|
-
const headers = sharedHeaders("CreateVolumeFromBackup");
|
|
93
|
-
let body;
|
|
94
|
-
body = JSON.stringify(se_CreateVolumeFromBackupRequest(input, context));
|
|
95
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
96
|
-
};
|
|
97
|
-
export const se_DeleteBackupCommand = async (input, context) => {
|
|
98
|
-
const headers = sharedHeaders("DeleteBackup");
|
|
99
|
-
let body;
|
|
100
|
-
body = JSON.stringify(se_DeleteBackupRequest(input, context));
|
|
101
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
102
|
-
};
|
|
103
|
-
export const se_DeleteDataRepositoryAssociationCommand = async (input, context) => {
|
|
104
|
-
const headers = sharedHeaders("DeleteDataRepositoryAssociation");
|
|
105
|
-
let body;
|
|
106
|
-
body = JSON.stringify(se_DeleteDataRepositoryAssociationRequest(input, context));
|
|
107
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
108
|
-
};
|
|
109
|
-
export const se_DeleteFileCacheCommand = async (input, context) => {
|
|
110
|
-
const headers = sharedHeaders("DeleteFileCache");
|
|
111
|
-
let body;
|
|
112
|
-
body = JSON.stringify(se_DeleteFileCacheRequest(input, context));
|
|
113
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
114
|
-
};
|
|
115
|
-
export const se_DeleteFileSystemCommand = async (input, context) => {
|
|
116
|
-
const headers = sharedHeaders("DeleteFileSystem");
|
|
117
|
-
let body;
|
|
118
|
-
body = JSON.stringify(se_DeleteFileSystemRequest(input, context));
|
|
119
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
120
|
-
};
|
|
121
|
-
export const se_DeleteSnapshotCommand = async (input, context) => {
|
|
122
|
-
const headers = sharedHeaders("DeleteSnapshot");
|
|
123
|
-
let body;
|
|
124
|
-
body = JSON.stringify(se_DeleteSnapshotRequest(input, context));
|
|
125
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
126
|
-
};
|
|
127
|
-
export const se_DeleteStorageVirtualMachineCommand = async (input, context) => {
|
|
128
|
-
const headers = sharedHeaders("DeleteStorageVirtualMachine");
|
|
129
|
-
let body;
|
|
130
|
-
body = JSON.stringify(se_DeleteStorageVirtualMachineRequest(input, context));
|
|
131
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
132
|
-
};
|
|
133
|
-
export const se_DeleteVolumeCommand = async (input, context) => {
|
|
134
|
-
const headers = sharedHeaders("DeleteVolume");
|
|
135
|
-
let body;
|
|
136
|
-
body = JSON.stringify(se_DeleteVolumeRequest(input, context));
|
|
137
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
138
|
-
};
|
|
139
|
-
export const se_DescribeBackupsCommand = async (input, context) => {
|
|
140
|
-
const headers = sharedHeaders("DescribeBackups");
|
|
141
|
-
let body;
|
|
142
|
-
body = JSON.stringify(_json(input));
|
|
143
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
144
|
-
};
|
|
145
|
-
export const se_DescribeDataRepositoryAssociationsCommand = async (input, context) => {
|
|
146
|
-
const headers = sharedHeaders("DescribeDataRepositoryAssociations");
|
|
147
|
-
let body;
|
|
148
|
-
body = JSON.stringify(_json(input));
|
|
149
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
150
|
-
};
|
|
151
|
-
export const se_DescribeDataRepositoryTasksCommand = async (input, context) => {
|
|
152
|
-
const headers = sharedHeaders("DescribeDataRepositoryTasks");
|
|
153
|
-
let body;
|
|
154
|
-
body = JSON.stringify(_json(input));
|
|
155
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
156
|
-
};
|
|
157
|
-
export const se_DescribeFileCachesCommand = async (input, context) => {
|
|
158
|
-
const headers = sharedHeaders("DescribeFileCaches");
|
|
159
|
-
let body;
|
|
160
|
-
body = JSON.stringify(_json(input));
|
|
161
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
162
|
-
};
|
|
163
|
-
export const se_DescribeFileSystemAliasesCommand = async (input, context) => {
|
|
164
|
-
const headers = sharedHeaders("DescribeFileSystemAliases");
|
|
165
|
-
let body;
|
|
166
|
-
body = JSON.stringify(se_DescribeFileSystemAliasesRequest(input, context));
|
|
167
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
168
|
-
};
|
|
169
|
-
export const se_DescribeFileSystemsCommand = async (input, context) => {
|
|
170
|
-
const headers = sharedHeaders("DescribeFileSystems");
|
|
171
|
-
let body;
|
|
172
|
-
body = JSON.stringify(_json(input));
|
|
173
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
174
|
-
};
|
|
175
|
-
export const se_DescribeS3AccessPointAttachmentsCommand = async (input, context) => {
|
|
176
|
-
const headers = sharedHeaders("DescribeS3AccessPointAttachments");
|
|
177
|
-
let body;
|
|
178
|
-
body = JSON.stringify(_json(input));
|
|
179
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
180
|
-
};
|
|
181
|
-
export const se_DescribeSharedVpcConfigurationCommand = async (input, context) => {
|
|
182
|
-
const headers = sharedHeaders("DescribeSharedVpcConfiguration");
|
|
183
|
-
let body;
|
|
184
|
-
body = JSON.stringify(_json(input));
|
|
185
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
186
|
-
};
|
|
187
|
-
export const se_DescribeSnapshotsCommand = async (input, context) => {
|
|
188
|
-
const headers = sharedHeaders("DescribeSnapshots");
|
|
189
|
-
let body;
|
|
190
|
-
body = JSON.stringify(_json(input));
|
|
191
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
192
|
-
};
|
|
193
|
-
export const se_DescribeStorageVirtualMachinesCommand = async (input, context) => {
|
|
194
|
-
const headers = sharedHeaders("DescribeStorageVirtualMachines");
|
|
195
|
-
let body;
|
|
196
|
-
body = JSON.stringify(_json(input));
|
|
197
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
198
|
-
};
|
|
199
|
-
export const se_DescribeVolumesCommand = async (input, context) => {
|
|
200
|
-
const headers = sharedHeaders("DescribeVolumes");
|
|
201
|
-
let body;
|
|
202
|
-
body = JSON.stringify(_json(input));
|
|
203
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
204
|
-
};
|
|
205
|
-
export const se_DetachAndDeleteS3AccessPointCommand = async (input, context) => {
|
|
206
|
-
const headers = sharedHeaders("DetachAndDeleteS3AccessPoint");
|
|
207
|
-
let body;
|
|
208
|
-
body = JSON.stringify(se_DetachAndDeleteS3AccessPointRequest(input, context));
|
|
209
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
210
|
-
};
|
|
211
|
-
export const se_DisassociateFileSystemAliasesCommand = async (input, context) => {
|
|
212
|
-
const headers = sharedHeaders("DisassociateFileSystemAliases");
|
|
213
|
-
let body;
|
|
214
|
-
body = JSON.stringify(se_DisassociateFileSystemAliasesRequest(input, context));
|
|
215
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
216
|
-
};
|
|
217
|
-
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
218
|
-
const headers = sharedHeaders("ListTagsForResource");
|
|
219
|
-
let body;
|
|
220
|
-
body = JSON.stringify(_json(input));
|
|
221
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
222
|
-
};
|
|
223
|
-
export const se_ReleaseFileSystemNfsV3LocksCommand = async (input, context) => {
|
|
224
|
-
const headers = sharedHeaders("ReleaseFileSystemNfsV3Locks");
|
|
225
|
-
let body;
|
|
226
|
-
body = JSON.stringify(se_ReleaseFileSystemNfsV3LocksRequest(input, context));
|
|
227
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
228
|
-
};
|
|
229
|
-
export const se_RestoreVolumeFromSnapshotCommand = async (input, context) => {
|
|
230
|
-
const headers = sharedHeaders("RestoreVolumeFromSnapshot");
|
|
231
|
-
let body;
|
|
232
|
-
body = JSON.stringify(se_RestoreVolumeFromSnapshotRequest(input, context));
|
|
233
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
234
|
-
};
|
|
235
|
-
export const se_StartMisconfiguredStateRecoveryCommand = async (input, context) => {
|
|
236
|
-
const headers = sharedHeaders("StartMisconfiguredStateRecovery");
|
|
237
|
-
let body;
|
|
238
|
-
body = JSON.stringify(se_StartMisconfiguredStateRecoveryRequest(input, context));
|
|
239
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
240
|
-
};
|
|
241
|
-
export const se_TagResourceCommand = async (input, context) => {
|
|
242
|
-
const headers = sharedHeaders("TagResource");
|
|
243
|
-
let body;
|
|
244
|
-
body = JSON.stringify(_json(input));
|
|
245
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
246
|
-
};
|
|
247
|
-
export const se_UntagResourceCommand = async (input, context) => {
|
|
248
|
-
const headers = sharedHeaders("UntagResource");
|
|
249
|
-
let body;
|
|
250
|
-
body = JSON.stringify(_json(input));
|
|
251
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
252
|
-
};
|
|
253
|
-
export const se_UpdateDataRepositoryAssociationCommand = async (input, context) => {
|
|
254
|
-
const headers = sharedHeaders("UpdateDataRepositoryAssociation");
|
|
255
|
-
let body;
|
|
256
|
-
body = JSON.stringify(se_UpdateDataRepositoryAssociationRequest(input, context));
|
|
257
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
258
|
-
};
|
|
259
|
-
export const se_UpdateFileCacheCommand = async (input, context) => {
|
|
260
|
-
const headers = sharedHeaders("UpdateFileCache");
|
|
261
|
-
let body;
|
|
262
|
-
body = JSON.stringify(se_UpdateFileCacheRequest(input, context));
|
|
263
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
264
|
-
};
|
|
265
|
-
export const se_UpdateFileSystemCommand = async (input, context) => {
|
|
266
|
-
const headers = sharedHeaders("UpdateFileSystem");
|
|
267
|
-
let body;
|
|
268
|
-
body = JSON.stringify(se_UpdateFileSystemRequest(input, context));
|
|
269
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
270
|
-
};
|
|
271
|
-
export const se_UpdateSharedVpcConfigurationCommand = async (input, context) => {
|
|
272
|
-
const headers = sharedHeaders("UpdateSharedVpcConfiguration");
|
|
273
|
-
let body;
|
|
274
|
-
body = JSON.stringify(se_UpdateSharedVpcConfigurationRequest(input, context));
|
|
275
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
276
|
-
};
|
|
277
|
-
export const se_UpdateSnapshotCommand = async (input, context) => {
|
|
278
|
-
const headers = sharedHeaders("UpdateSnapshot");
|
|
279
|
-
let body;
|
|
280
|
-
body = JSON.stringify(se_UpdateSnapshotRequest(input, context));
|
|
281
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
282
|
-
};
|
|
283
|
-
export const se_UpdateStorageVirtualMachineCommand = async (input, context) => {
|
|
284
|
-
const headers = sharedHeaders("UpdateStorageVirtualMachine");
|
|
285
|
-
let body;
|
|
286
|
-
body = JSON.stringify(se_UpdateStorageVirtualMachineRequest(input, context));
|
|
287
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
288
|
-
};
|
|
289
|
-
export const se_UpdateVolumeCommand = async (input, context) => {
|
|
290
|
-
const headers = sharedHeaders("UpdateVolume");
|
|
291
|
-
let body;
|
|
292
|
-
body = JSON.stringify(se_UpdateVolumeRequest(input, context));
|
|
293
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
294
|
-
};
|
|
295
|
-
export const de_AssociateFileSystemAliasesCommand = async (output, context) => {
|
|
296
|
-
if (output.statusCode >= 300) {
|
|
297
|
-
return de_CommandError(output, context);
|
|
298
|
-
}
|
|
299
|
-
const data = await parseBody(output.body, context);
|
|
300
|
-
let contents = {};
|
|
301
|
-
contents = _json(data);
|
|
302
|
-
const response = {
|
|
303
|
-
$metadata: deserializeMetadata(output),
|
|
304
|
-
...contents,
|
|
305
|
-
};
|
|
306
|
-
return response;
|
|
307
|
-
};
|
|
308
|
-
export const de_CancelDataRepositoryTaskCommand = async (output, context) => {
|
|
309
|
-
if (output.statusCode >= 300) {
|
|
310
|
-
return de_CommandError(output, context);
|
|
311
|
-
}
|
|
312
|
-
const data = await parseBody(output.body, context);
|
|
313
|
-
let contents = {};
|
|
314
|
-
contents = _json(data);
|
|
315
|
-
const response = {
|
|
316
|
-
$metadata: deserializeMetadata(output),
|
|
317
|
-
...contents,
|
|
318
|
-
};
|
|
319
|
-
return response;
|
|
320
|
-
};
|
|
321
|
-
export const de_CopyBackupCommand = async (output, context) => {
|
|
322
|
-
if (output.statusCode >= 300) {
|
|
323
|
-
return de_CommandError(output, context);
|
|
324
|
-
}
|
|
325
|
-
const data = await parseBody(output.body, context);
|
|
326
|
-
let contents = {};
|
|
327
|
-
contents = de_CopyBackupResponse(data, context);
|
|
328
|
-
const response = {
|
|
329
|
-
$metadata: deserializeMetadata(output),
|
|
330
|
-
...contents,
|
|
331
|
-
};
|
|
332
|
-
return response;
|
|
333
|
-
};
|
|
334
|
-
export const de_CopySnapshotAndUpdateVolumeCommand = async (output, context) => {
|
|
335
|
-
if (output.statusCode >= 300) {
|
|
336
|
-
return de_CommandError(output, context);
|
|
337
|
-
}
|
|
338
|
-
const data = await parseBody(output.body, context);
|
|
339
|
-
let contents = {};
|
|
340
|
-
contents = de_CopySnapshotAndUpdateVolumeResponse(data, context);
|
|
341
|
-
const response = {
|
|
342
|
-
$metadata: deserializeMetadata(output),
|
|
343
|
-
...contents,
|
|
344
|
-
};
|
|
345
|
-
return response;
|
|
346
|
-
};
|
|
347
|
-
export const de_CreateAndAttachS3AccessPointCommand = async (output, context) => {
|
|
348
|
-
if (output.statusCode >= 300) {
|
|
349
|
-
return de_CommandError(output, context);
|
|
350
|
-
}
|
|
351
|
-
const data = await parseBody(output.body, context);
|
|
352
|
-
let contents = {};
|
|
353
|
-
contents = de_CreateAndAttachS3AccessPointResponse(data, context);
|
|
354
|
-
const response = {
|
|
355
|
-
$metadata: deserializeMetadata(output),
|
|
356
|
-
...contents,
|
|
357
|
-
};
|
|
358
|
-
return response;
|
|
359
|
-
};
|
|
360
|
-
export const de_CreateBackupCommand = async (output, context) => {
|
|
361
|
-
if (output.statusCode >= 300) {
|
|
362
|
-
return de_CommandError(output, context);
|
|
363
|
-
}
|
|
364
|
-
const data = await parseBody(output.body, context);
|
|
365
|
-
let contents = {};
|
|
366
|
-
contents = de_CreateBackupResponse(data, context);
|
|
367
|
-
const response = {
|
|
368
|
-
$metadata: deserializeMetadata(output),
|
|
369
|
-
...contents,
|
|
370
|
-
};
|
|
371
|
-
return response;
|
|
372
|
-
};
|
|
373
|
-
export const de_CreateDataRepositoryAssociationCommand = async (output, context) => {
|
|
374
|
-
if (output.statusCode >= 300) {
|
|
375
|
-
return de_CommandError(output, context);
|
|
376
|
-
}
|
|
377
|
-
const data = await parseBody(output.body, context);
|
|
378
|
-
let contents = {};
|
|
379
|
-
contents = de_CreateDataRepositoryAssociationResponse(data, context);
|
|
380
|
-
const response = {
|
|
381
|
-
$metadata: deserializeMetadata(output),
|
|
382
|
-
...contents,
|
|
383
|
-
};
|
|
384
|
-
return response;
|
|
385
|
-
};
|
|
386
|
-
export const de_CreateDataRepositoryTaskCommand = async (output, context) => {
|
|
387
|
-
if (output.statusCode >= 300) {
|
|
388
|
-
return de_CommandError(output, context);
|
|
389
|
-
}
|
|
390
|
-
const data = await parseBody(output.body, context);
|
|
391
|
-
let contents = {};
|
|
392
|
-
contents = de_CreateDataRepositoryTaskResponse(data, context);
|
|
393
|
-
const response = {
|
|
394
|
-
$metadata: deserializeMetadata(output),
|
|
395
|
-
...contents,
|
|
396
|
-
};
|
|
397
|
-
return response;
|
|
398
|
-
};
|
|
399
|
-
export const de_CreateFileCacheCommand = async (output, context) => {
|
|
400
|
-
if (output.statusCode >= 300) {
|
|
401
|
-
return de_CommandError(output, context);
|
|
402
|
-
}
|
|
403
|
-
const data = await parseBody(output.body, context);
|
|
404
|
-
let contents = {};
|
|
405
|
-
contents = de_CreateFileCacheResponse(data, context);
|
|
406
|
-
const response = {
|
|
407
|
-
$metadata: deserializeMetadata(output),
|
|
408
|
-
...contents,
|
|
409
|
-
};
|
|
410
|
-
return response;
|
|
411
|
-
};
|
|
412
|
-
export const de_CreateFileSystemCommand = async (output, context) => {
|
|
413
|
-
if (output.statusCode >= 300) {
|
|
414
|
-
return de_CommandError(output, context);
|
|
415
|
-
}
|
|
416
|
-
const data = await parseBody(output.body, context);
|
|
417
|
-
let contents = {};
|
|
418
|
-
contents = de_CreateFileSystemResponse(data, context);
|
|
419
|
-
const response = {
|
|
420
|
-
$metadata: deserializeMetadata(output),
|
|
421
|
-
...contents,
|
|
422
|
-
};
|
|
423
|
-
return response;
|
|
424
|
-
};
|
|
425
|
-
export const de_CreateFileSystemFromBackupCommand = async (output, context) => {
|
|
426
|
-
if (output.statusCode >= 300) {
|
|
427
|
-
return de_CommandError(output, context);
|
|
428
|
-
}
|
|
429
|
-
const data = await parseBody(output.body, context);
|
|
430
|
-
let contents = {};
|
|
431
|
-
contents = de_CreateFileSystemFromBackupResponse(data, context);
|
|
432
|
-
const response = {
|
|
433
|
-
$metadata: deserializeMetadata(output),
|
|
434
|
-
...contents,
|
|
435
|
-
};
|
|
436
|
-
return response;
|
|
437
|
-
};
|
|
438
|
-
export const de_CreateSnapshotCommand = async (output, context) => {
|
|
439
|
-
if (output.statusCode >= 300) {
|
|
440
|
-
return de_CommandError(output, context);
|
|
441
|
-
}
|
|
442
|
-
const data = await parseBody(output.body, context);
|
|
443
|
-
let contents = {};
|
|
444
|
-
contents = de_CreateSnapshotResponse(data, context);
|
|
445
|
-
const response = {
|
|
446
|
-
$metadata: deserializeMetadata(output),
|
|
447
|
-
...contents,
|
|
448
|
-
};
|
|
449
|
-
return response;
|
|
450
|
-
};
|
|
451
|
-
export const de_CreateStorageVirtualMachineCommand = async (output, context) => {
|
|
452
|
-
if (output.statusCode >= 300) {
|
|
453
|
-
return de_CommandError(output, context);
|
|
454
|
-
}
|
|
455
|
-
const data = await parseBody(output.body, context);
|
|
456
|
-
let contents = {};
|
|
457
|
-
contents = de_CreateStorageVirtualMachineResponse(data, context);
|
|
458
|
-
const response = {
|
|
459
|
-
$metadata: deserializeMetadata(output),
|
|
460
|
-
...contents,
|
|
461
|
-
};
|
|
462
|
-
return response;
|
|
463
|
-
};
|
|
464
|
-
export const de_CreateVolumeCommand = async (output, context) => {
|
|
465
|
-
if (output.statusCode >= 300) {
|
|
466
|
-
return de_CommandError(output, context);
|
|
467
|
-
}
|
|
468
|
-
const data = await parseBody(output.body, context);
|
|
469
|
-
let contents = {};
|
|
470
|
-
contents = de_CreateVolumeResponse(data, context);
|
|
471
|
-
const response = {
|
|
472
|
-
$metadata: deserializeMetadata(output),
|
|
473
|
-
...contents,
|
|
474
|
-
};
|
|
475
|
-
return response;
|
|
476
|
-
};
|
|
477
|
-
export const de_CreateVolumeFromBackupCommand = async (output, context) => {
|
|
478
|
-
if (output.statusCode >= 300) {
|
|
479
|
-
return de_CommandError(output, context);
|
|
480
|
-
}
|
|
481
|
-
const data = await parseBody(output.body, context);
|
|
482
|
-
let contents = {};
|
|
483
|
-
contents = de_CreateVolumeFromBackupResponse(data, context);
|
|
484
|
-
const response = {
|
|
485
|
-
$metadata: deserializeMetadata(output),
|
|
486
|
-
...contents,
|
|
487
|
-
};
|
|
488
|
-
return response;
|
|
489
|
-
};
|
|
490
|
-
export const de_DeleteBackupCommand = async (output, context) => {
|
|
491
|
-
if (output.statusCode >= 300) {
|
|
492
|
-
return de_CommandError(output, context);
|
|
493
|
-
}
|
|
494
|
-
const data = await parseBody(output.body, context);
|
|
495
|
-
let contents = {};
|
|
496
|
-
contents = _json(data);
|
|
497
|
-
const response = {
|
|
498
|
-
$metadata: deserializeMetadata(output),
|
|
499
|
-
...contents,
|
|
500
|
-
};
|
|
501
|
-
return response;
|
|
502
|
-
};
|
|
503
|
-
export const de_DeleteDataRepositoryAssociationCommand = async (output, context) => {
|
|
504
|
-
if (output.statusCode >= 300) {
|
|
505
|
-
return de_CommandError(output, context);
|
|
506
|
-
}
|
|
507
|
-
const data = await parseBody(output.body, context);
|
|
508
|
-
let contents = {};
|
|
509
|
-
contents = _json(data);
|
|
510
|
-
const response = {
|
|
511
|
-
$metadata: deserializeMetadata(output),
|
|
512
|
-
...contents,
|
|
513
|
-
};
|
|
514
|
-
return response;
|
|
515
|
-
};
|
|
516
|
-
export const de_DeleteFileCacheCommand = async (output, context) => {
|
|
517
|
-
if (output.statusCode >= 300) {
|
|
518
|
-
return de_CommandError(output, context);
|
|
519
|
-
}
|
|
520
|
-
const data = await parseBody(output.body, context);
|
|
521
|
-
let contents = {};
|
|
522
|
-
contents = _json(data);
|
|
523
|
-
const response = {
|
|
524
|
-
$metadata: deserializeMetadata(output),
|
|
525
|
-
...contents,
|
|
526
|
-
};
|
|
527
|
-
return response;
|
|
528
|
-
};
|
|
529
|
-
export const de_DeleteFileSystemCommand = async (output, context) => {
|
|
530
|
-
if (output.statusCode >= 300) {
|
|
531
|
-
return de_CommandError(output, context);
|
|
532
|
-
}
|
|
533
|
-
const data = await parseBody(output.body, context);
|
|
534
|
-
let contents = {};
|
|
535
|
-
contents = _json(data);
|
|
536
|
-
const response = {
|
|
537
|
-
$metadata: deserializeMetadata(output),
|
|
538
|
-
...contents,
|
|
539
|
-
};
|
|
540
|
-
return response;
|
|
541
|
-
};
|
|
542
|
-
export const de_DeleteSnapshotCommand = async (output, context) => {
|
|
543
|
-
if (output.statusCode >= 300) {
|
|
544
|
-
return de_CommandError(output, context);
|
|
545
|
-
}
|
|
546
|
-
const data = await parseBody(output.body, context);
|
|
547
|
-
let contents = {};
|
|
548
|
-
contents = _json(data);
|
|
549
|
-
const response = {
|
|
550
|
-
$metadata: deserializeMetadata(output),
|
|
551
|
-
...contents,
|
|
552
|
-
};
|
|
553
|
-
return response;
|
|
554
|
-
};
|
|
555
|
-
export const de_DeleteStorageVirtualMachineCommand = async (output, context) => {
|
|
556
|
-
if (output.statusCode >= 300) {
|
|
557
|
-
return de_CommandError(output, context);
|
|
558
|
-
}
|
|
559
|
-
const data = await parseBody(output.body, context);
|
|
560
|
-
let contents = {};
|
|
561
|
-
contents = _json(data);
|
|
562
|
-
const response = {
|
|
563
|
-
$metadata: deserializeMetadata(output),
|
|
564
|
-
...contents,
|
|
565
|
-
};
|
|
566
|
-
return response;
|
|
567
|
-
};
|
|
568
|
-
export const de_DeleteVolumeCommand = async (output, context) => {
|
|
569
|
-
if (output.statusCode >= 300) {
|
|
570
|
-
return de_CommandError(output, context);
|
|
571
|
-
}
|
|
572
|
-
const data = await parseBody(output.body, context);
|
|
573
|
-
let contents = {};
|
|
574
|
-
contents = _json(data);
|
|
575
|
-
const response = {
|
|
576
|
-
$metadata: deserializeMetadata(output),
|
|
577
|
-
...contents,
|
|
578
|
-
};
|
|
579
|
-
return response;
|
|
580
|
-
};
|
|
581
|
-
export const de_DescribeBackupsCommand = async (output, context) => {
|
|
582
|
-
if (output.statusCode >= 300) {
|
|
583
|
-
return de_CommandError(output, context);
|
|
584
|
-
}
|
|
585
|
-
const data = await parseBody(output.body, context);
|
|
586
|
-
let contents = {};
|
|
587
|
-
contents = de_DescribeBackupsResponse(data, context);
|
|
588
|
-
const response = {
|
|
589
|
-
$metadata: deserializeMetadata(output),
|
|
590
|
-
...contents,
|
|
591
|
-
};
|
|
592
|
-
return response;
|
|
593
|
-
};
|
|
594
|
-
export const de_DescribeDataRepositoryAssociationsCommand = async (output, context) => {
|
|
595
|
-
if (output.statusCode >= 300) {
|
|
596
|
-
return de_CommandError(output, context);
|
|
597
|
-
}
|
|
598
|
-
const data = await parseBody(output.body, context);
|
|
599
|
-
let contents = {};
|
|
600
|
-
contents = de_DescribeDataRepositoryAssociationsResponse(data, context);
|
|
601
|
-
const response = {
|
|
602
|
-
$metadata: deserializeMetadata(output),
|
|
603
|
-
...contents,
|
|
604
|
-
};
|
|
605
|
-
return response;
|
|
606
|
-
};
|
|
607
|
-
export const de_DescribeDataRepositoryTasksCommand = async (output, context) => {
|
|
608
|
-
if (output.statusCode >= 300) {
|
|
609
|
-
return de_CommandError(output, context);
|
|
610
|
-
}
|
|
611
|
-
const data = await parseBody(output.body, context);
|
|
612
|
-
let contents = {};
|
|
613
|
-
contents = de_DescribeDataRepositoryTasksResponse(data, context);
|
|
614
|
-
const response = {
|
|
615
|
-
$metadata: deserializeMetadata(output),
|
|
616
|
-
...contents,
|
|
617
|
-
};
|
|
618
|
-
return response;
|
|
619
|
-
};
|
|
620
|
-
export const de_DescribeFileCachesCommand = async (output, context) => {
|
|
621
|
-
if (output.statusCode >= 300) {
|
|
622
|
-
return de_CommandError(output, context);
|
|
623
|
-
}
|
|
624
|
-
const data = await parseBody(output.body, context);
|
|
625
|
-
let contents = {};
|
|
626
|
-
contents = de_DescribeFileCachesResponse(data, context);
|
|
627
|
-
const response = {
|
|
628
|
-
$metadata: deserializeMetadata(output),
|
|
629
|
-
...contents,
|
|
630
|
-
};
|
|
631
|
-
return response;
|
|
632
|
-
};
|
|
633
|
-
export const de_DescribeFileSystemAliasesCommand = async (output, context) => {
|
|
634
|
-
if (output.statusCode >= 300) {
|
|
635
|
-
return de_CommandError(output, context);
|
|
636
|
-
}
|
|
637
|
-
const data = await parseBody(output.body, context);
|
|
638
|
-
let contents = {};
|
|
639
|
-
contents = _json(data);
|
|
640
|
-
const response = {
|
|
641
|
-
$metadata: deserializeMetadata(output),
|
|
642
|
-
...contents,
|
|
643
|
-
};
|
|
644
|
-
return response;
|
|
645
|
-
};
|
|
646
|
-
export const de_DescribeFileSystemsCommand = async (output, context) => {
|
|
647
|
-
if (output.statusCode >= 300) {
|
|
648
|
-
return de_CommandError(output, context);
|
|
649
|
-
}
|
|
650
|
-
const data = await parseBody(output.body, context);
|
|
651
|
-
let contents = {};
|
|
652
|
-
contents = de_DescribeFileSystemsResponse(data, context);
|
|
653
|
-
const response = {
|
|
654
|
-
$metadata: deserializeMetadata(output),
|
|
655
|
-
...contents,
|
|
656
|
-
};
|
|
657
|
-
return response;
|
|
658
|
-
};
|
|
659
|
-
export const de_DescribeS3AccessPointAttachmentsCommand = async (output, context) => {
|
|
660
|
-
if (output.statusCode >= 300) {
|
|
661
|
-
return de_CommandError(output, context);
|
|
662
|
-
}
|
|
663
|
-
const data = await parseBody(output.body, context);
|
|
664
|
-
let contents = {};
|
|
665
|
-
contents = de_DescribeS3AccessPointAttachmentsResponse(data, context);
|
|
666
|
-
const response = {
|
|
667
|
-
$metadata: deserializeMetadata(output),
|
|
668
|
-
...contents,
|
|
669
|
-
};
|
|
670
|
-
return response;
|
|
671
|
-
};
|
|
672
|
-
export const de_DescribeSharedVpcConfigurationCommand = async (output, context) => {
|
|
673
|
-
if (output.statusCode >= 300) {
|
|
674
|
-
return de_CommandError(output, context);
|
|
675
|
-
}
|
|
676
|
-
const data = await parseBody(output.body, context);
|
|
677
|
-
let contents = {};
|
|
678
|
-
contents = _json(data);
|
|
679
|
-
const response = {
|
|
680
|
-
$metadata: deserializeMetadata(output),
|
|
681
|
-
...contents,
|
|
682
|
-
};
|
|
683
|
-
return response;
|
|
684
|
-
};
|
|
685
|
-
export const de_DescribeSnapshotsCommand = async (output, context) => {
|
|
686
|
-
if (output.statusCode >= 300) {
|
|
687
|
-
return de_CommandError(output, context);
|
|
688
|
-
}
|
|
689
|
-
const data = await parseBody(output.body, context);
|
|
690
|
-
let contents = {};
|
|
691
|
-
contents = de_DescribeSnapshotsResponse(data, context);
|
|
692
|
-
const response = {
|
|
693
|
-
$metadata: deserializeMetadata(output),
|
|
694
|
-
...contents,
|
|
695
|
-
};
|
|
696
|
-
return response;
|
|
697
|
-
};
|
|
698
|
-
export const de_DescribeStorageVirtualMachinesCommand = async (output, context) => {
|
|
699
|
-
if (output.statusCode >= 300) {
|
|
700
|
-
return de_CommandError(output, context);
|
|
701
|
-
}
|
|
702
|
-
const data = await parseBody(output.body, context);
|
|
703
|
-
let contents = {};
|
|
704
|
-
contents = de_DescribeStorageVirtualMachinesResponse(data, context);
|
|
705
|
-
const response = {
|
|
706
|
-
$metadata: deserializeMetadata(output),
|
|
707
|
-
...contents,
|
|
708
|
-
};
|
|
709
|
-
return response;
|
|
710
|
-
};
|
|
711
|
-
export const de_DescribeVolumesCommand = async (output, context) => {
|
|
712
|
-
if (output.statusCode >= 300) {
|
|
713
|
-
return de_CommandError(output, context);
|
|
714
|
-
}
|
|
715
|
-
const data = await parseBody(output.body, context);
|
|
716
|
-
let contents = {};
|
|
717
|
-
contents = de_DescribeVolumesResponse(data, context);
|
|
718
|
-
const response = {
|
|
719
|
-
$metadata: deserializeMetadata(output),
|
|
720
|
-
...contents,
|
|
721
|
-
};
|
|
722
|
-
return response;
|
|
723
|
-
};
|
|
724
|
-
export const de_DetachAndDeleteS3AccessPointCommand = async (output, context) => {
|
|
725
|
-
if (output.statusCode >= 300) {
|
|
726
|
-
return de_CommandError(output, context);
|
|
727
|
-
}
|
|
728
|
-
const data = await parseBody(output.body, context);
|
|
729
|
-
let contents = {};
|
|
730
|
-
contents = _json(data);
|
|
731
|
-
const response = {
|
|
732
|
-
$metadata: deserializeMetadata(output),
|
|
733
|
-
...contents,
|
|
734
|
-
};
|
|
735
|
-
return response;
|
|
736
|
-
};
|
|
737
|
-
export const de_DisassociateFileSystemAliasesCommand = async (output, context) => {
|
|
738
|
-
if (output.statusCode >= 300) {
|
|
739
|
-
return de_CommandError(output, context);
|
|
740
|
-
}
|
|
741
|
-
const data = await parseBody(output.body, context);
|
|
742
|
-
let contents = {};
|
|
743
|
-
contents = _json(data);
|
|
744
|
-
const response = {
|
|
745
|
-
$metadata: deserializeMetadata(output),
|
|
746
|
-
...contents,
|
|
747
|
-
};
|
|
748
|
-
return response;
|
|
749
|
-
};
|
|
750
|
-
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
751
|
-
if (output.statusCode >= 300) {
|
|
752
|
-
return de_CommandError(output, context);
|
|
753
|
-
}
|
|
754
|
-
const data = await parseBody(output.body, context);
|
|
755
|
-
let contents = {};
|
|
756
|
-
contents = _json(data);
|
|
757
|
-
const response = {
|
|
758
|
-
$metadata: deserializeMetadata(output),
|
|
759
|
-
...contents,
|
|
760
|
-
};
|
|
761
|
-
return response;
|
|
762
|
-
};
|
|
763
|
-
export const de_ReleaseFileSystemNfsV3LocksCommand = async (output, context) => {
|
|
764
|
-
if (output.statusCode >= 300) {
|
|
765
|
-
return de_CommandError(output, context);
|
|
766
|
-
}
|
|
767
|
-
const data = await parseBody(output.body, context);
|
|
768
|
-
let contents = {};
|
|
769
|
-
contents = de_ReleaseFileSystemNfsV3LocksResponse(data, context);
|
|
770
|
-
const response = {
|
|
771
|
-
$metadata: deserializeMetadata(output),
|
|
772
|
-
...contents,
|
|
773
|
-
};
|
|
774
|
-
return response;
|
|
775
|
-
};
|
|
776
|
-
export const de_RestoreVolumeFromSnapshotCommand = async (output, context) => {
|
|
777
|
-
if (output.statusCode >= 300) {
|
|
778
|
-
return de_CommandError(output, context);
|
|
779
|
-
}
|
|
780
|
-
const data = await parseBody(output.body, context);
|
|
781
|
-
let contents = {};
|
|
782
|
-
contents = de_RestoreVolumeFromSnapshotResponse(data, context);
|
|
783
|
-
const response = {
|
|
784
|
-
$metadata: deserializeMetadata(output),
|
|
785
|
-
...contents,
|
|
786
|
-
};
|
|
787
|
-
return response;
|
|
788
|
-
};
|
|
789
|
-
export const de_StartMisconfiguredStateRecoveryCommand = async (output, context) => {
|
|
790
|
-
if (output.statusCode >= 300) {
|
|
791
|
-
return de_CommandError(output, context);
|
|
792
|
-
}
|
|
793
|
-
const data = await parseBody(output.body, context);
|
|
794
|
-
let contents = {};
|
|
795
|
-
contents = de_StartMisconfiguredStateRecoveryResponse(data, context);
|
|
796
|
-
const response = {
|
|
797
|
-
$metadata: deserializeMetadata(output),
|
|
798
|
-
...contents,
|
|
799
|
-
};
|
|
800
|
-
return response;
|
|
801
|
-
};
|
|
802
|
-
export const de_TagResourceCommand = async (output, context) => {
|
|
803
|
-
if (output.statusCode >= 300) {
|
|
804
|
-
return de_CommandError(output, context);
|
|
805
|
-
}
|
|
806
|
-
const data = await parseBody(output.body, context);
|
|
807
|
-
let contents = {};
|
|
808
|
-
contents = _json(data);
|
|
809
|
-
const response = {
|
|
810
|
-
$metadata: deserializeMetadata(output),
|
|
811
|
-
...contents,
|
|
812
|
-
};
|
|
813
|
-
return response;
|
|
814
|
-
};
|
|
815
|
-
export const de_UntagResourceCommand = async (output, context) => {
|
|
816
|
-
if (output.statusCode >= 300) {
|
|
817
|
-
return de_CommandError(output, context);
|
|
818
|
-
}
|
|
819
|
-
const data = await parseBody(output.body, context);
|
|
820
|
-
let contents = {};
|
|
821
|
-
contents = _json(data);
|
|
822
|
-
const response = {
|
|
823
|
-
$metadata: deserializeMetadata(output),
|
|
824
|
-
...contents,
|
|
825
|
-
};
|
|
826
|
-
return response;
|
|
827
|
-
};
|
|
828
|
-
export const de_UpdateDataRepositoryAssociationCommand = async (output, context) => {
|
|
829
|
-
if (output.statusCode >= 300) {
|
|
830
|
-
return de_CommandError(output, context);
|
|
831
|
-
}
|
|
832
|
-
const data = await parseBody(output.body, context);
|
|
833
|
-
let contents = {};
|
|
834
|
-
contents = de_UpdateDataRepositoryAssociationResponse(data, context);
|
|
835
|
-
const response = {
|
|
836
|
-
$metadata: deserializeMetadata(output),
|
|
837
|
-
...contents,
|
|
838
|
-
};
|
|
839
|
-
return response;
|
|
840
|
-
};
|
|
841
|
-
export const de_UpdateFileCacheCommand = async (output, context) => {
|
|
842
|
-
if (output.statusCode >= 300) {
|
|
843
|
-
return de_CommandError(output, context);
|
|
844
|
-
}
|
|
845
|
-
const data = await parseBody(output.body, context);
|
|
846
|
-
let contents = {};
|
|
847
|
-
contents = de_UpdateFileCacheResponse(data, context);
|
|
848
|
-
const response = {
|
|
849
|
-
$metadata: deserializeMetadata(output),
|
|
850
|
-
...contents,
|
|
851
|
-
};
|
|
852
|
-
return response;
|
|
853
|
-
};
|
|
854
|
-
export const de_UpdateFileSystemCommand = async (output, context) => {
|
|
855
|
-
if (output.statusCode >= 300) {
|
|
856
|
-
return de_CommandError(output, context);
|
|
857
|
-
}
|
|
858
|
-
const data = await parseBody(output.body, context);
|
|
859
|
-
let contents = {};
|
|
860
|
-
contents = de_UpdateFileSystemResponse(data, context);
|
|
861
|
-
const response = {
|
|
862
|
-
$metadata: deserializeMetadata(output),
|
|
863
|
-
...contents,
|
|
864
|
-
};
|
|
865
|
-
return response;
|
|
866
|
-
};
|
|
867
|
-
export const de_UpdateSharedVpcConfigurationCommand = async (output, context) => {
|
|
868
|
-
if (output.statusCode >= 300) {
|
|
869
|
-
return de_CommandError(output, context);
|
|
870
|
-
}
|
|
871
|
-
const data = await parseBody(output.body, context);
|
|
872
|
-
let contents = {};
|
|
873
|
-
contents = _json(data);
|
|
874
|
-
const response = {
|
|
875
|
-
$metadata: deserializeMetadata(output),
|
|
876
|
-
...contents,
|
|
877
|
-
};
|
|
878
|
-
return response;
|
|
879
|
-
};
|
|
880
|
-
export const de_UpdateSnapshotCommand = async (output, context) => {
|
|
881
|
-
if (output.statusCode >= 300) {
|
|
882
|
-
return de_CommandError(output, context);
|
|
883
|
-
}
|
|
884
|
-
const data = await parseBody(output.body, context);
|
|
885
|
-
let contents = {};
|
|
886
|
-
contents = de_UpdateSnapshotResponse(data, context);
|
|
887
|
-
const response = {
|
|
888
|
-
$metadata: deserializeMetadata(output),
|
|
889
|
-
...contents,
|
|
890
|
-
};
|
|
891
|
-
return response;
|
|
892
|
-
};
|
|
893
|
-
export const de_UpdateStorageVirtualMachineCommand = async (output, context) => {
|
|
894
|
-
if (output.statusCode >= 300) {
|
|
895
|
-
return de_CommandError(output, context);
|
|
896
|
-
}
|
|
897
|
-
const data = await parseBody(output.body, context);
|
|
898
|
-
let contents = {};
|
|
899
|
-
contents = de_UpdateStorageVirtualMachineResponse(data, context);
|
|
900
|
-
const response = {
|
|
901
|
-
$metadata: deserializeMetadata(output),
|
|
902
|
-
...contents,
|
|
903
|
-
};
|
|
904
|
-
return response;
|
|
905
|
-
};
|
|
906
|
-
export const de_UpdateVolumeCommand = async (output, context) => {
|
|
907
|
-
if (output.statusCode >= 300) {
|
|
908
|
-
return de_CommandError(output, context);
|
|
909
|
-
}
|
|
910
|
-
const data = await parseBody(output.body, context);
|
|
911
|
-
let contents = {};
|
|
912
|
-
contents = de_UpdateVolumeResponse(data, context);
|
|
913
|
-
const response = {
|
|
914
|
-
$metadata: deserializeMetadata(output),
|
|
915
|
-
...contents,
|
|
916
|
-
};
|
|
917
|
-
return response;
|
|
918
|
-
};
|
|
919
|
-
const de_CommandError = async (output, context) => {
|
|
920
|
-
const parsedOutput = {
|
|
921
|
-
...output,
|
|
922
|
-
body: await parseErrorBody(output.body, context),
|
|
923
|
-
};
|
|
924
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
925
|
-
switch (errorCode) {
|
|
926
|
-
case "BadRequest":
|
|
927
|
-
case "com.amazonaws.fsx#BadRequest":
|
|
928
|
-
throw await de_BadRequestRes(parsedOutput, context);
|
|
929
|
-
case "FileSystemNotFound":
|
|
930
|
-
case "com.amazonaws.fsx#FileSystemNotFound":
|
|
931
|
-
throw await de_FileSystemNotFoundRes(parsedOutput, context);
|
|
932
|
-
case "InternalServerError":
|
|
933
|
-
case "com.amazonaws.fsx#InternalServerError":
|
|
934
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
935
|
-
case "DataRepositoryTaskEnded":
|
|
936
|
-
case "com.amazonaws.fsx#DataRepositoryTaskEnded":
|
|
937
|
-
throw await de_DataRepositoryTaskEndedRes(parsedOutput, context);
|
|
938
|
-
case "DataRepositoryTaskNotFound":
|
|
939
|
-
case "com.amazonaws.fsx#DataRepositoryTaskNotFound":
|
|
940
|
-
throw await de_DataRepositoryTaskNotFoundRes(parsedOutput, context);
|
|
941
|
-
case "UnsupportedOperation":
|
|
942
|
-
case "com.amazonaws.fsx#UnsupportedOperation":
|
|
943
|
-
throw await de_UnsupportedOperationRes(parsedOutput, context);
|
|
944
|
-
case "BackupNotFound":
|
|
945
|
-
case "com.amazonaws.fsx#BackupNotFound":
|
|
946
|
-
throw await de_BackupNotFoundRes(parsedOutput, context);
|
|
947
|
-
case "IncompatibleParameterError":
|
|
948
|
-
case "com.amazonaws.fsx#IncompatibleParameterError":
|
|
949
|
-
throw await de_IncompatibleParameterErrorRes(parsedOutput, context);
|
|
950
|
-
case "IncompatibleRegionForMultiAZ":
|
|
951
|
-
case "com.amazonaws.fsx#IncompatibleRegionForMultiAZ":
|
|
952
|
-
throw await de_IncompatibleRegionForMultiAZRes(parsedOutput, context);
|
|
953
|
-
case "InvalidDestinationKmsKey":
|
|
954
|
-
case "com.amazonaws.fsx#InvalidDestinationKmsKey":
|
|
955
|
-
throw await de_InvalidDestinationKmsKeyRes(parsedOutput, context);
|
|
956
|
-
case "InvalidRegion":
|
|
957
|
-
case "com.amazonaws.fsx#InvalidRegion":
|
|
958
|
-
throw await de_InvalidRegionRes(parsedOutput, context);
|
|
959
|
-
case "InvalidSourceKmsKey":
|
|
960
|
-
case "com.amazonaws.fsx#InvalidSourceKmsKey":
|
|
961
|
-
throw await de_InvalidSourceKmsKeyRes(parsedOutput, context);
|
|
962
|
-
case "ServiceLimitExceeded":
|
|
963
|
-
case "com.amazonaws.fsx#ServiceLimitExceeded":
|
|
964
|
-
throw await de_ServiceLimitExceededRes(parsedOutput, context);
|
|
965
|
-
case "SourceBackupUnavailable":
|
|
966
|
-
case "com.amazonaws.fsx#SourceBackupUnavailable":
|
|
967
|
-
throw await de_SourceBackupUnavailableRes(parsedOutput, context);
|
|
968
|
-
case "AccessPointAlreadyOwnedByYou":
|
|
969
|
-
case "com.amazonaws.fsx#AccessPointAlreadyOwnedByYou":
|
|
970
|
-
throw await de_AccessPointAlreadyOwnedByYouRes(parsedOutput, context);
|
|
971
|
-
case "InvalidAccessPoint":
|
|
972
|
-
case "com.amazonaws.fsx#InvalidAccessPoint":
|
|
973
|
-
throw await de_InvalidAccessPointRes(parsedOutput, context);
|
|
974
|
-
case "InvalidRequest":
|
|
975
|
-
case "com.amazonaws.fsx#InvalidRequest":
|
|
976
|
-
throw await de_InvalidRequestRes(parsedOutput, context);
|
|
977
|
-
case "TooManyAccessPoints":
|
|
978
|
-
case "com.amazonaws.fsx#TooManyAccessPoints":
|
|
979
|
-
throw await de_TooManyAccessPointsRes(parsedOutput, context);
|
|
980
|
-
case "VolumeNotFound":
|
|
981
|
-
case "com.amazonaws.fsx#VolumeNotFound":
|
|
982
|
-
throw await de_VolumeNotFoundRes(parsedOutput, context);
|
|
983
|
-
case "BackupInProgress":
|
|
984
|
-
case "com.amazonaws.fsx#BackupInProgress":
|
|
985
|
-
throw await de_BackupInProgressRes(parsedOutput, context);
|
|
986
|
-
case "DataRepositoryTaskExecuting":
|
|
987
|
-
case "com.amazonaws.fsx#DataRepositoryTaskExecuting":
|
|
988
|
-
throw await de_DataRepositoryTaskExecutingRes(parsedOutput, context);
|
|
989
|
-
case "InvalidNetworkSettings":
|
|
990
|
-
case "com.amazonaws.fsx#InvalidNetworkSettings":
|
|
991
|
-
throw await de_InvalidNetworkSettingsRes(parsedOutput, context);
|
|
992
|
-
case "InvalidPerUnitStorageThroughput":
|
|
993
|
-
case "com.amazonaws.fsx#InvalidPerUnitStorageThroughput":
|
|
994
|
-
throw await de_InvalidPerUnitStorageThroughputRes(parsedOutput, context);
|
|
995
|
-
case "MissingFileCacheConfiguration":
|
|
996
|
-
case "com.amazonaws.fsx#MissingFileCacheConfiguration":
|
|
997
|
-
throw await de_MissingFileCacheConfigurationRes(parsedOutput, context);
|
|
998
|
-
case "ActiveDirectoryError":
|
|
999
|
-
case "com.amazonaws.fsx#ActiveDirectoryError":
|
|
1000
|
-
throw await de_ActiveDirectoryErrorRes(parsedOutput, context);
|
|
1001
|
-
case "InvalidExportPath":
|
|
1002
|
-
case "com.amazonaws.fsx#InvalidExportPath":
|
|
1003
|
-
throw await de_InvalidExportPathRes(parsedOutput, context);
|
|
1004
|
-
case "InvalidImportPath":
|
|
1005
|
-
case "com.amazonaws.fsx#InvalidImportPath":
|
|
1006
|
-
throw await de_InvalidImportPathRes(parsedOutput, context);
|
|
1007
|
-
case "MissingFileSystemConfiguration":
|
|
1008
|
-
case "com.amazonaws.fsx#MissingFileSystemConfiguration":
|
|
1009
|
-
throw await de_MissingFileSystemConfigurationRes(parsedOutput, context);
|
|
1010
|
-
case "MissingVolumeConfiguration":
|
|
1011
|
-
case "com.amazonaws.fsx#MissingVolumeConfiguration":
|
|
1012
|
-
throw await de_MissingVolumeConfigurationRes(parsedOutput, context);
|
|
1013
|
-
case "StorageVirtualMachineNotFound":
|
|
1014
|
-
case "com.amazonaws.fsx#StorageVirtualMachineNotFound":
|
|
1015
|
-
throw await de_StorageVirtualMachineNotFoundRes(parsedOutput, context);
|
|
1016
|
-
case "BackupBeingCopied":
|
|
1017
|
-
case "com.amazonaws.fsx#BackupBeingCopied":
|
|
1018
|
-
throw await de_BackupBeingCopiedRes(parsedOutput, context);
|
|
1019
|
-
case "BackupRestoring":
|
|
1020
|
-
case "com.amazonaws.fsx#BackupRestoring":
|
|
1021
|
-
throw await de_BackupRestoringRes(parsedOutput, context);
|
|
1022
|
-
case "DataRepositoryAssociationNotFound":
|
|
1023
|
-
case "com.amazonaws.fsx#DataRepositoryAssociationNotFound":
|
|
1024
|
-
throw await de_DataRepositoryAssociationNotFoundRes(parsedOutput, context);
|
|
1025
|
-
case "FileCacheNotFound":
|
|
1026
|
-
case "com.amazonaws.fsx#FileCacheNotFound":
|
|
1027
|
-
throw await de_FileCacheNotFoundRes(parsedOutput, context);
|
|
1028
|
-
case "SnapshotNotFound":
|
|
1029
|
-
case "com.amazonaws.fsx#SnapshotNotFound":
|
|
1030
|
-
throw await de_SnapshotNotFoundRes(parsedOutput, context);
|
|
1031
|
-
case "InvalidDataRepositoryType":
|
|
1032
|
-
case "com.amazonaws.fsx#InvalidDataRepositoryType":
|
|
1033
|
-
throw await de_InvalidDataRepositoryTypeRes(parsedOutput, context);
|
|
1034
|
-
case "S3AccessPointAttachmentNotFound":
|
|
1035
|
-
case "com.amazonaws.fsx#S3AccessPointAttachmentNotFound":
|
|
1036
|
-
throw await de_S3AccessPointAttachmentNotFoundRes(parsedOutput, context);
|
|
1037
|
-
case "NotServiceResourceError":
|
|
1038
|
-
case "com.amazonaws.fsx#NotServiceResourceError":
|
|
1039
|
-
throw await de_NotServiceResourceErrorRes(parsedOutput, context);
|
|
1040
|
-
case "ResourceDoesNotSupportTagging":
|
|
1041
|
-
case "com.amazonaws.fsx#ResourceDoesNotSupportTagging":
|
|
1042
|
-
throw await de_ResourceDoesNotSupportTaggingRes(parsedOutput, context);
|
|
1043
|
-
case "ResourceNotFound":
|
|
1044
|
-
case "com.amazonaws.fsx#ResourceNotFound":
|
|
1045
|
-
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
1046
|
-
default:
|
|
1047
|
-
const parsedBody = parsedOutput.body;
|
|
1048
|
-
return throwDefaultError({
|
|
1049
|
-
output,
|
|
1050
|
-
parsedBody,
|
|
1051
|
-
errorCode,
|
|
1052
|
-
});
|
|
1053
|
-
}
|
|
1054
|
-
};
|
|
1055
|
-
const de_AccessPointAlreadyOwnedByYouRes = async (parsedOutput, context) => {
|
|
1056
|
-
const body = parsedOutput.body;
|
|
1057
|
-
const deserialized = _json(body);
|
|
1058
|
-
const exception = new AccessPointAlreadyOwnedByYou({
|
|
1059
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1060
|
-
...deserialized,
|
|
1061
|
-
});
|
|
1062
|
-
return __decorateServiceException(exception, body);
|
|
1063
|
-
};
|
|
1064
|
-
const de_ActiveDirectoryErrorRes = async (parsedOutput, context) => {
|
|
1065
|
-
const body = parsedOutput.body;
|
|
1066
|
-
const deserialized = _json(body);
|
|
1067
|
-
const exception = new ActiveDirectoryError({
|
|
1068
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1069
|
-
...deserialized,
|
|
1070
|
-
});
|
|
1071
|
-
return __decorateServiceException(exception, body);
|
|
1072
|
-
};
|
|
1073
|
-
const de_BackupBeingCopiedRes = async (parsedOutput, context) => {
|
|
1074
|
-
const body = parsedOutput.body;
|
|
1075
|
-
const deserialized = _json(body);
|
|
1076
|
-
const exception = new BackupBeingCopied({
|
|
1077
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1078
|
-
...deserialized,
|
|
1079
|
-
});
|
|
1080
|
-
return __decorateServiceException(exception, body);
|
|
1081
|
-
};
|
|
1082
|
-
const de_BackupInProgressRes = async (parsedOutput, context) => {
|
|
1083
|
-
const body = parsedOutput.body;
|
|
1084
|
-
const deserialized = _json(body);
|
|
1085
|
-
const exception = new BackupInProgress({
|
|
1086
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1087
|
-
...deserialized,
|
|
1088
|
-
});
|
|
1089
|
-
return __decorateServiceException(exception, body);
|
|
1090
|
-
};
|
|
1091
|
-
const de_BackupNotFoundRes = async (parsedOutput, context) => {
|
|
1092
|
-
const body = parsedOutput.body;
|
|
1093
|
-
const deserialized = _json(body);
|
|
1094
|
-
const exception = new BackupNotFound({
|
|
1095
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1096
|
-
...deserialized,
|
|
1097
|
-
});
|
|
1098
|
-
return __decorateServiceException(exception, body);
|
|
1099
|
-
};
|
|
1100
|
-
const de_BackupRestoringRes = async (parsedOutput, context) => {
|
|
1101
|
-
const body = parsedOutput.body;
|
|
1102
|
-
const deserialized = _json(body);
|
|
1103
|
-
const exception = new BackupRestoring({
|
|
1104
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1105
|
-
...deserialized,
|
|
1106
|
-
});
|
|
1107
|
-
return __decorateServiceException(exception, body);
|
|
1108
|
-
};
|
|
1109
|
-
const de_BadRequestRes = async (parsedOutput, context) => {
|
|
1110
|
-
const body = parsedOutput.body;
|
|
1111
|
-
const deserialized = _json(body);
|
|
1112
|
-
const exception = new BadRequest({
|
|
1113
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1114
|
-
...deserialized,
|
|
1115
|
-
});
|
|
1116
|
-
return __decorateServiceException(exception, body);
|
|
1117
|
-
};
|
|
1118
|
-
const de_DataRepositoryAssociationNotFoundRes = async (parsedOutput, context) => {
|
|
1119
|
-
const body = parsedOutput.body;
|
|
1120
|
-
const deserialized = _json(body);
|
|
1121
|
-
const exception = new DataRepositoryAssociationNotFound({
|
|
1122
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1123
|
-
...deserialized,
|
|
1124
|
-
});
|
|
1125
|
-
return __decorateServiceException(exception, body);
|
|
1126
|
-
};
|
|
1127
|
-
const de_DataRepositoryTaskEndedRes = async (parsedOutput, context) => {
|
|
1128
|
-
const body = parsedOutput.body;
|
|
1129
|
-
const deserialized = _json(body);
|
|
1130
|
-
const exception = new DataRepositoryTaskEnded({
|
|
1131
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1132
|
-
...deserialized,
|
|
1133
|
-
});
|
|
1134
|
-
return __decorateServiceException(exception, body);
|
|
1135
|
-
};
|
|
1136
|
-
const de_DataRepositoryTaskExecutingRes = async (parsedOutput, context) => {
|
|
1137
|
-
const body = parsedOutput.body;
|
|
1138
|
-
const deserialized = _json(body);
|
|
1139
|
-
const exception = new DataRepositoryTaskExecuting({
|
|
1140
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1141
|
-
...deserialized,
|
|
1142
|
-
});
|
|
1143
|
-
return __decorateServiceException(exception, body);
|
|
1144
|
-
};
|
|
1145
|
-
const de_DataRepositoryTaskNotFoundRes = async (parsedOutput, context) => {
|
|
1146
|
-
const body = parsedOutput.body;
|
|
1147
|
-
const deserialized = _json(body);
|
|
1148
|
-
const exception = new DataRepositoryTaskNotFound({
|
|
1149
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1150
|
-
...deserialized,
|
|
1151
|
-
});
|
|
1152
|
-
return __decorateServiceException(exception, body);
|
|
1153
|
-
};
|
|
1154
|
-
const de_FileCacheNotFoundRes = async (parsedOutput, context) => {
|
|
1155
|
-
const body = parsedOutput.body;
|
|
1156
|
-
const deserialized = _json(body);
|
|
1157
|
-
const exception = new FileCacheNotFound({
|
|
1158
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1159
|
-
...deserialized,
|
|
1160
|
-
});
|
|
1161
|
-
return __decorateServiceException(exception, body);
|
|
1162
|
-
};
|
|
1163
|
-
const de_FileSystemNotFoundRes = async (parsedOutput, context) => {
|
|
1164
|
-
const body = parsedOutput.body;
|
|
1165
|
-
const deserialized = _json(body);
|
|
1166
|
-
const exception = new FileSystemNotFound({
|
|
1167
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1168
|
-
...deserialized,
|
|
1169
|
-
});
|
|
1170
|
-
return __decorateServiceException(exception, body);
|
|
1171
|
-
};
|
|
1172
|
-
const de_IncompatibleParameterErrorRes = async (parsedOutput, context) => {
|
|
1173
|
-
const body = parsedOutput.body;
|
|
1174
|
-
const deserialized = _json(body);
|
|
1175
|
-
const exception = new IncompatibleParameterError({
|
|
1176
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1177
|
-
...deserialized,
|
|
1178
|
-
});
|
|
1179
|
-
return __decorateServiceException(exception, body);
|
|
1180
|
-
};
|
|
1181
|
-
const de_IncompatibleRegionForMultiAZRes = async (parsedOutput, context) => {
|
|
1182
|
-
const body = parsedOutput.body;
|
|
1183
|
-
const deserialized = _json(body);
|
|
1184
|
-
const exception = new IncompatibleRegionForMultiAZ({
|
|
1185
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1186
|
-
...deserialized,
|
|
1187
|
-
});
|
|
1188
|
-
return __decorateServiceException(exception, body);
|
|
1189
|
-
};
|
|
1190
|
-
const de_InternalServerErrorRes = async (parsedOutput, context) => {
|
|
1191
|
-
const body = parsedOutput.body;
|
|
1192
|
-
const deserialized = _json(body);
|
|
1193
|
-
const exception = new InternalServerError({
|
|
1194
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1195
|
-
...deserialized,
|
|
1196
|
-
});
|
|
1197
|
-
return __decorateServiceException(exception, body);
|
|
1198
|
-
};
|
|
1199
|
-
const de_InvalidAccessPointRes = async (parsedOutput, context) => {
|
|
1200
|
-
const body = parsedOutput.body;
|
|
1201
|
-
const deserialized = _json(body);
|
|
1202
|
-
const exception = new InvalidAccessPoint({
|
|
1203
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1204
|
-
...deserialized,
|
|
1205
|
-
});
|
|
1206
|
-
return __decorateServiceException(exception, body);
|
|
1207
|
-
};
|
|
1208
|
-
const de_InvalidDataRepositoryTypeRes = async (parsedOutput, context) => {
|
|
1209
|
-
const body = parsedOutput.body;
|
|
1210
|
-
const deserialized = _json(body);
|
|
1211
|
-
const exception = new InvalidDataRepositoryType({
|
|
1212
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1213
|
-
...deserialized,
|
|
1214
|
-
});
|
|
1215
|
-
return __decorateServiceException(exception, body);
|
|
1216
|
-
};
|
|
1217
|
-
const de_InvalidDestinationKmsKeyRes = async (parsedOutput, context) => {
|
|
1218
|
-
const body = parsedOutput.body;
|
|
1219
|
-
const deserialized = _json(body);
|
|
1220
|
-
const exception = new InvalidDestinationKmsKey({
|
|
1221
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1222
|
-
...deserialized,
|
|
1223
|
-
});
|
|
1224
|
-
return __decorateServiceException(exception, body);
|
|
1225
|
-
};
|
|
1226
|
-
const de_InvalidExportPathRes = async (parsedOutput, context) => {
|
|
1227
|
-
const body = parsedOutput.body;
|
|
1228
|
-
const deserialized = _json(body);
|
|
1229
|
-
const exception = new InvalidExportPath({
|
|
1230
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1231
|
-
...deserialized,
|
|
1232
|
-
});
|
|
1233
|
-
return __decorateServiceException(exception, body);
|
|
1234
|
-
};
|
|
1235
|
-
const de_InvalidImportPathRes = async (parsedOutput, context) => {
|
|
1236
|
-
const body = parsedOutput.body;
|
|
1237
|
-
const deserialized = _json(body);
|
|
1238
|
-
const exception = new InvalidImportPath({
|
|
1239
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1240
|
-
...deserialized,
|
|
1241
|
-
});
|
|
1242
|
-
return __decorateServiceException(exception, body);
|
|
1243
|
-
};
|
|
1244
|
-
const de_InvalidNetworkSettingsRes = async (parsedOutput, context) => {
|
|
1245
|
-
const body = parsedOutput.body;
|
|
1246
|
-
const deserialized = _json(body);
|
|
1247
|
-
const exception = new InvalidNetworkSettings({
|
|
1248
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1249
|
-
...deserialized,
|
|
1250
|
-
});
|
|
1251
|
-
return __decorateServiceException(exception, body);
|
|
1252
|
-
};
|
|
1253
|
-
const de_InvalidPerUnitStorageThroughputRes = async (parsedOutput, context) => {
|
|
1254
|
-
const body = parsedOutput.body;
|
|
1255
|
-
const deserialized = _json(body);
|
|
1256
|
-
const exception = new InvalidPerUnitStorageThroughput({
|
|
1257
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1258
|
-
...deserialized,
|
|
1259
|
-
});
|
|
1260
|
-
return __decorateServiceException(exception, body);
|
|
1261
|
-
};
|
|
1262
|
-
const de_InvalidRegionRes = async (parsedOutput, context) => {
|
|
1263
|
-
const body = parsedOutput.body;
|
|
1264
|
-
const deserialized = _json(body);
|
|
1265
|
-
const exception = new InvalidRegion({
|
|
1266
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1267
|
-
...deserialized,
|
|
1268
|
-
});
|
|
1269
|
-
return __decorateServiceException(exception, body);
|
|
1270
|
-
};
|
|
1271
|
-
const de_InvalidRequestRes = async (parsedOutput, context) => {
|
|
1272
|
-
const body = parsedOutput.body;
|
|
1273
|
-
const deserialized = _json(body);
|
|
1274
|
-
const exception = new InvalidRequest({
|
|
1275
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1276
|
-
...deserialized,
|
|
1277
|
-
});
|
|
1278
|
-
return __decorateServiceException(exception, body);
|
|
1279
|
-
};
|
|
1280
|
-
const de_InvalidSourceKmsKeyRes = async (parsedOutput, context) => {
|
|
1281
|
-
const body = parsedOutput.body;
|
|
1282
|
-
const deserialized = _json(body);
|
|
1283
|
-
const exception = new InvalidSourceKmsKey({
|
|
1284
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1285
|
-
...deserialized,
|
|
1286
|
-
});
|
|
1287
|
-
return __decorateServiceException(exception, body);
|
|
1288
|
-
};
|
|
1289
|
-
const de_MissingFileCacheConfigurationRes = async (parsedOutput, context) => {
|
|
1290
|
-
const body = parsedOutput.body;
|
|
1291
|
-
const deserialized = _json(body);
|
|
1292
|
-
const exception = new MissingFileCacheConfiguration({
|
|
1293
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1294
|
-
...deserialized,
|
|
1295
|
-
});
|
|
1296
|
-
return __decorateServiceException(exception, body);
|
|
1297
|
-
};
|
|
1298
|
-
const de_MissingFileSystemConfigurationRes = async (parsedOutput, context) => {
|
|
1299
|
-
const body = parsedOutput.body;
|
|
1300
|
-
const deserialized = _json(body);
|
|
1301
|
-
const exception = new MissingFileSystemConfiguration({
|
|
1302
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1303
|
-
...deserialized,
|
|
1304
|
-
});
|
|
1305
|
-
return __decorateServiceException(exception, body);
|
|
1306
|
-
};
|
|
1307
|
-
const de_MissingVolumeConfigurationRes = async (parsedOutput, context) => {
|
|
1308
|
-
const body = parsedOutput.body;
|
|
1309
|
-
const deserialized = _json(body);
|
|
1310
|
-
const exception = new MissingVolumeConfiguration({
|
|
1311
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1312
|
-
...deserialized,
|
|
1313
|
-
});
|
|
1314
|
-
return __decorateServiceException(exception, body);
|
|
1315
|
-
};
|
|
1316
|
-
const de_NotServiceResourceErrorRes = async (parsedOutput, context) => {
|
|
1317
|
-
const body = parsedOutput.body;
|
|
1318
|
-
const deserialized = _json(body);
|
|
1319
|
-
const exception = new NotServiceResourceError({
|
|
1320
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1321
|
-
...deserialized,
|
|
1322
|
-
});
|
|
1323
|
-
return __decorateServiceException(exception, body);
|
|
1324
|
-
};
|
|
1325
|
-
const de_ResourceDoesNotSupportTaggingRes = async (parsedOutput, context) => {
|
|
1326
|
-
const body = parsedOutput.body;
|
|
1327
|
-
const deserialized = _json(body);
|
|
1328
|
-
const exception = new ResourceDoesNotSupportTagging({
|
|
1329
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1330
|
-
...deserialized,
|
|
1331
|
-
});
|
|
1332
|
-
return __decorateServiceException(exception, body);
|
|
1333
|
-
};
|
|
1334
|
-
const de_ResourceNotFoundRes = async (parsedOutput, context) => {
|
|
1335
|
-
const body = parsedOutput.body;
|
|
1336
|
-
const deserialized = _json(body);
|
|
1337
|
-
const exception = new ResourceNotFound({
|
|
1338
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1339
|
-
...deserialized,
|
|
1340
|
-
});
|
|
1341
|
-
return __decorateServiceException(exception, body);
|
|
1342
|
-
};
|
|
1343
|
-
const de_S3AccessPointAttachmentNotFoundRes = async (parsedOutput, context) => {
|
|
1344
|
-
const body = parsedOutput.body;
|
|
1345
|
-
const deserialized = _json(body);
|
|
1346
|
-
const exception = new S3AccessPointAttachmentNotFound({
|
|
1347
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1348
|
-
...deserialized,
|
|
1349
|
-
});
|
|
1350
|
-
return __decorateServiceException(exception, body);
|
|
1351
|
-
};
|
|
1352
|
-
const de_ServiceLimitExceededRes = async (parsedOutput, context) => {
|
|
1353
|
-
const body = parsedOutput.body;
|
|
1354
|
-
const deserialized = _json(body);
|
|
1355
|
-
const exception = new ServiceLimitExceeded({
|
|
1356
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1357
|
-
...deserialized,
|
|
1358
|
-
});
|
|
1359
|
-
return __decorateServiceException(exception, body);
|
|
1360
|
-
};
|
|
1361
|
-
const de_SnapshotNotFoundRes = async (parsedOutput, context) => {
|
|
1362
|
-
const body = parsedOutput.body;
|
|
1363
|
-
const deserialized = _json(body);
|
|
1364
|
-
const exception = new SnapshotNotFound({
|
|
1365
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1366
|
-
...deserialized,
|
|
1367
|
-
});
|
|
1368
|
-
return __decorateServiceException(exception, body);
|
|
1369
|
-
};
|
|
1370
|
-
const de_SourceBackupUnavailableRes = async (parsedOutput, context) => {
|
|
1371
|
-
const body = parsedOutput.body;
|
|
1372
|
-
const deserialized = _json(body);
|
|
1373
|
-
const exception = new SourceBackupUnavailable({
|
|
1374
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1375
|
-
...deserialized,
|
|
1376
|
-
});
|
|
1377
|
-
return __decorateServiceException(exception, body);
|
|
1378
|
-
};
|
|
1379
|
-
const de_StorageVirtualMachineNotFoundRes = async (parsedOutput, context) => {
|
|
1380
|
-
const body = parsedOutput.body;
|
|
1381
|
-
const deserialized = _json(body);
|
|
1382
|
-
const exception = new StorageVirtualMachineNotFound({
|
|
1383
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1384
|
-
...deserialized,
|
|
1385
|
-
});
|
|
1386
|
-
return __decorateServiceException(exception, body);
|
|
1387
|
-
};
|
|
1388
|
-
const de_TooManyAccessPointsRes = async (parsedOutput, context) => {
|
|
1389
|
-
const body = parsedOutput.body;
|
|
1390
|
-
const deserialized = _json(body);
|
|
1391
|
-
const exception = new TooManyAccessPoints({
|
|
1392
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1393
|
-
...deserialized,
|
|
1394
|
-
});
|
|
1395
|
-
return __decorateServiceException(exception, body);
|
|
1396
|
-
};
|
|
1397
|
-
const de_UnsupportedOperationRes = async (parsedOutput, context) => {
|
|
1398
|
-
const body = parsedOutput.body;
|
|
1399
|
-
const deserialized = _json(body);
|
|
1400
|
-
const exception = new UnsupportedOperation({
|
|
1401
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1402
|
-
...deserialized,
|
|
1403
|
-
});
|
|
1404
|
-
return __decorateServiceException(exception, body);
|
|
1405
|
-
};
|
|
1406
|
-
const de_VolumeNotFoundRes = async (parsedOutput, context) => {
|
|
1407
|
-
const body = parsedOutput.body;
|
|
1408
|
-
const deserialized = _json(body);
|
|
1409
|
-
const exception = new VolumeNotFound({
|
|
1410
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1411
|
-
...deserialized,
|
|
1412
|
-
});
|
|
1413
|
-
return __decorateServiceException(exception, body);
|
|
1414
|
-
};
|
|
1415
|
-
const se_AssociateFileSystemAliasesRequest = (input, context) => {
|
|
1416
|
-
return take(input, {
|
|
1417
|
-
Aliases: _json,
|
|
1418
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1419
|
-
FileSystemId: [],
|
|
1420
|
-
});
|
|
1421
|
-
};
|
|
1422
|
-
const se_CopyBackupRequest = (input, context) => {
|
|
1423
|
-
return take(input, {
|
|
1424
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1425
|
-
CopyTags: [],
|
|
1426
|
-
KmsKeyId: [],
|
|
1427
|
-
SourceBackupId: [],
|
|
1428
|
-
SourceRegion: [],
|
|
1429
|
-
Tags: _json,
|
|
1430
|
-
});
|
|
1431
|
-
};
|
|
1432
|
-
const se_CopySnapshotAndUpdateVolumeRequest = (input, context) => {
|
|
1433
|
-
return take(input, {
|
|
1434
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1435
|
-
CopyStrategy: [],
|
|
1436
|
-
Options: _json,
|
|
1437
|
-
SourceSnapshotARN: [],
|
|
1438
|
-
VolumeId: [],
|
|
1439
|
-
});
|
|
1440
|
-
};
|
|
1441
|
-
const se_CreateAndAttachS3AccessPointRequest = (input, context) => {
|
|
1442
|
-
return take(input, {
|
|
1443
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1444
|
-
Name: [],
|
|
1445
|
-
OpenZFSConfiguration: _json,
|
|
1446
|
-
S3AccessPoint: _json,
|
|
1447
|
-
Type: [],
|
|
1448
|
-
});
|
|
1449
|
-
};
|
|
1450
|
-
const se_CreateBackupRequest = (input, context) => {
|
|
1451
|
-
return take(input, {
|
|
1452
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1453
|
-
FileSystemId: [],
|
|
1454
|
-
Tags: _json,
|
|
1455
|
-
VolumeId: [],
|
|
1456
|
-
});
|
|
1457
|
-
};
|
|
1458
|
-
const se_CreateDataRepositoryAssociationRequest = (input, context) => {
|
|
1459
|
-
return take(input, {
|
|
1460
|
-
BatchImportMetaDataOnCreate: [],
|
|
1461
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1462
|
-
DataRepositoryPath: [],
|
|
1463
|
-
FileSystemId: [],
|
|
1464
|
-
FileSystemPath: [],
|
|
1465
|
-
ImportedFileChunkSize: [],
|
|
1466
|
-
S3: _json,
|
|
1467
|
-
Tags: _json,
|
|
1468
|
-
});
|
|
1469
|
-
};
|
|
1470
|
-
const se_CreateDataRepositoryTaskRequest = (input, context) => {
|
|
1471
|
-
return take(input, {
|
|
1472
|
-
CapacityToRelease: [],
|
|
1473
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1474
|
-
FileSystemId: [],
|
|
1475
|
-
Paths: _json,
|
|
1476
|
-
ReleaseConfiguration: _json,
|
|
1477
|
-
Report: _json,
|
|
1478
|
-
Tags: _json,
|
|
1479
|
-
Type: [],
|
|
1480
|
-
});
|
|
1481
|
-
};
|
|
1482
|
-
const se_CreateFileCacheRequest = (input, context) => {
|
|
1483
|
-
return take(input, {
|
|
1484
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1485
|
-
CopyTagsToDataRepositoryAssociations: [],
|
|
1486
|
-
DataRepositoryAssociations: _json,
|
|
1487
|
-
FileCacheType: [],
|
|
1488
|
-
FileCacheTypeVersion: [],
|
|
1489
|
-
KmsKeyId: [],
|
|
1490
|
-
LustreConfiguration: _json,
|
|
1491
|
-
SecurityGroupIds: _json,
|
|
1492
|
-
StorageCapacity: [],
|
|
1493
|
-
SubnetIds: _json,
|
|
1494
|
-
Tags: _json,
|
|
1495
|
-
});
|
|
1496
|
-
};
|
|
1497
|
-
const se_CreateFileSystemFromBackupRequest = (input, context) => {
|
|
1498
|
-
return take(input, {
|
|
1499
|
-
BackupId: [],
|
|
1500
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1501
|
-
FileSystemTypeVersion: [],
|
|
1502
|
-
KmsKeyId: [],
|
|
1503
|
-
LustreConfiguration: _json,
|
|
1504
|
-
NetworkType: [],
|
|
1505
|
-
OpenZFSConfiguration: _json,
|
|
1506
|
-
SecurityGroupIds: _json,
|
|
1507
|
-
StorageCapacity: [],
|
|
1508
|
-
StorageType: [],
|
|
1509
|
-
SubnetIds: _json,
|
|
1510
|
-
Tags: _json,
|
|
1511
|
-
WindowsConfiguration: _json,
|
|
1512
|
-
});
|
|
1513
|
-
};
|
|
1514
|
-
const se_CreateFileSystemRequest = (input, context) => {
|
|
1515
|
-
return take(input, {
|
|
1516
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1517
|
-
FileSystemType: [],
|
|
1518
|
-
FileSystemTypeVersion: [],
|
|
1519
|
-
KmsKeyId: [],
|
|
1520
|
-
LustreConfiguration: _json,
|
|
1521
|
-
NetworkType: [],
|
|
1522
|
-
OntapConfiguration: _json,
|
|
1523
|
-
OpenZFSConfiguration: _json,
|
|
1524
|
-
SecurityGroupIds: _json,
|
|
1525
|
-
StorageCapacity: [],
|
|
1526
|
-
StorageType: [],
|
|
1527
|
-
SubnetIds: _json,
|
|
1528
|
-
Tags: _json,
|
|
1529
|
-
WindowsConfiguration: _json,
|
|
1530
|
-
});
|
|
1531
|
-
};
|
|
1532
|
-
const se_CreateSnapshotRequest = (input, context) => {
|
|
1533
|
-
return take(input, {
|
|
1534
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1535
|
-
Name: [],
|
|
1536
|
-
Tags: _json,
|
|
1537
|
-
VolumeId: [],
|
|
1538
|
-
});
|
|
1539
|
-
};
|
|
1540
|
-
const se_CreateStorageVirtualMachineRequest = (input, context) => {
|
|
1541
|
-
return take(input, {
|
|
1542
|
-
ActiveDirectoryConfiguration: _json,
|
|
1543
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1544
|
-
FileSystemId: [],
|
|
1545
|
-
Name: [],
|
|
1546
|
-
RootVolumeSecurityStyle: [],
|
|
1547
|
-
SvmAdminPassword: [],
|
|
1548
|
-
Tags: _json,
|
|
1549
|
-
});
|
|
1550
|
-
};
|
|
1551
|
-
const se_CreateVolumeFromBackupRequest = (input, context) => {
|
|
1552
|
-
return take(input, {
|
|
1553
|
-
BackupId: [],
|
|
1554
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1555
|
-
Name: [],
|
|
1556
|
-
OntapConfiguration: _json,
|
|
1557
|
-
Tags: _json,
|
|
1558
|
-
});
|
|
1559
|
-
};
|
|
1560
|
-
const se_CreateVolumeRequest = (input, context) => {
|
|
1561
|
-
return take(input, {
|
|
1562
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1563
|
-
Name: [],
|
|
1564
|
-
OntapConfiguration: _json,
|
|
1565
|
-
OpenZFSConfiguration: _json,
|
|
1566
|
-
Tags: _json,
|
|
1567
|
-
VolumeType: [],
|
|
1568
|
-
});
|
|
1569
|
-
};
|
|
1570
|
-
const se_DeleteBackupRequest = (input, context) => {
|
|
1571
|
-
return take(input, {
|
|
1572
|
-
BackupId: [],
|
|
1573
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1574
|
-
});
|
|
1575
|
-
};
|
|
1576
|
-
const se_DeleteDataRepositoryAssociationRequest = (input, context) => {
|
|
1577
|
-
return take(input, {
|
|
1578
|
-
AssociationId: [],
|
|
1579
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1580
|
-
DeleteDataInFileSystem: [],
|
|
1581
|
-
});
|
|
1582
|
-
};
|
|
1583
|
-
const se_DeleteFileCacheRequest = (input, context) => {
|
|
1584
|
-
return take(input, {
|
|
1585
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1586
|
-
FileCacheId: [],
|
|
1587
|
-
});
|
|
1588
|
-
};
|
|
1589
|
-
const se_DeleteFileSystemRequest = (input, context) => {
|
|
1590
|
-
return take(input, {
|
|
1591
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1592
|
-
FileSystemId: [],
|
|
1593
|
-
LustreConfiguration: _json,
|
|
1594
|
-
OpenZFSConfiguration: _json,
|
|
1595
|
-
WindowsConfiguration: _json,
|
|
1596
|
-
});
|
|
1597
|
-
};
|
|
1598
|
-
const se_DeleteSnapshotRequest = (input, context) => {
|
|
1599
|
-
return take(input, {
|
|
1600
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1601
|
-
SnapshotId: [],
|
|
1602
|
-
});
|
|
1603
|
-
};
|
|
1604
|
-
const se_DeleteStorageVirtualMachineRequest = (input, context) => {
|
|
1605
|
-
return take(input, {
|
|
1606
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1607
|
-
StorageVirtualMachineId: [],
|
|
1608
|
-
});
|
|
1609
|
-
};
|
|
1610
|
-
const se_DeleteVolumeRequest = (input, context) => {
|
|
1611
|
-
return take(input, {
|
|
1612
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1613
|
-
OntapConfiguration: _json,
|
|
1614
|
-
OpenZFSConfiguration: _json,
|
|
1615
|
-
VolumeId: [],
|
|
1616
|
-
});
|
|
1617
|
-
};
|
|
1618
|
-
const se_DescribeFileSystemAliasesRequest = (input, context) => {
|
|
1619
|
-
return take(input, {
|
|
1620
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1621
|
-
FileSystemId: [],
|
|
1622
|
-
MaxResults: [],
|
|
1623
|
-
NextToken: [],
|
|
1624
|
-
});
|
|
1625
|
-
};
|
|
1626
|
-
const se_DetachAndDeleteS3AccessPointRequest = (input, context) => {
|
|
1627
|
-
return take(input, {
|
|
1628
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1629
|
-
Name: [],
|
|
1630
|
-
});
|
|
1631
|
-
};
|
|
1632
|
-
const se_DisassociateFileSystemAliasesRequest = (input, context) => {
|
|
1633
|
-
return take(input, {
|
|
1634
|
-
Aliases: _json,
|
|
1635
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1636
|
-
FileSystemId: [],
|
|
1637
|
-
});
|
|
1638
|
-
};
|
|
1639
|
-
const se_ReleaseFileSystemNfsV3LocksRequest = (input, context) => {
|
|
1640
|
-
return take(input, {
|
|
1641
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1642
|
-
FileSystemId: [],
|
|
1643
|
-
});
|
|
1644
|
-
};
|
|
1645
|
-
const se_RestoreVolumeFromSnapshotRequest = (input, context) => {
|
|
1646
|
-
return take(input, {
|
|
1647
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1648
|
-
Options: _json,
|
|
1649
|
-
SnapshotId: [],
|
|
1650
|
-
VolumeId: [],
|
|
1651
|
-
});
|
|
1652
|
-
};
|
|
1653
|
-
const se_StartMisconfiguredStateRecoveryRequest = (input, context) => {
|
|
1654
|
-
return take(input, {
|
|
1655
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1656
|
-
FileSystemId: [],
|
|
1657
|
-
});
|
|
1658
|
-
};
|
|
1659
|
-
const se_UpdateDataRepositoryAssociationRequest = (input, context) => {
|
|
1660
|
-
return take(input, {
|
|
1661
|
-
AssociationId: [],
|
|
1662
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1663
|
-
ImportedFileChunkSize: [],
|
|
1664
|
-
S3: _json,
|
|
1665
|
-
});
|
|
1666
|
-
};
|
|
1667
|
-
const se_UpdateFileCacheRequest = (input, context) => {
|
|
1668
|
-
return take(input, {
|
|
1669
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1670
|
-
FileCacheId: [],
|
|
1671
|
-
LustreConfiguration: _json,
|
|
1672
|
-
});
|
|
1673
|
-
};
|
|
1674
|
-
const se_UpdateFileSystemRequest = (input, context) => {
|
|
1675
|
-
return take(input, {
|
|
1676
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1677
|
-
FileSystemId: [],
|
|
1678
|
-
FileSystemTypeVersion: [],
|
|
1679
|
-
LustreConfiguration: _json,
|
|
1680
|
-
NetworkType: [],
|
|
1681
|
-
OntapConfiguration: _json,
|
|
1682
|
-
OpenZFSConfiguration: _json,
|
|
1683
|
-
StorageCapacity: [],
|
|
1684
|
-
StorageType: [],
|
|
1685
|
-
WindowsConfiguration: _json,
|
|
1686
|
-
});
|
|
1687
|
-
};
|
|
1688
|
-
const se_UpdateSharedVpcConfigurationRequest = (input, context) => {
|
|
1689
|
-
return take(input, {
|
|
1690
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1691
|
-
EnableFsxRouteTableUpdatesFromParticipantAccounts: [],
|
|
1692
|
-
});
|
|
1693
|
-
};
|
|
1694
|
-
const se_UpdateSnapshotRequest = (input, context) => {
|
|
1695
|
-
return take(input, {
|
|
1696
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1697
|
-
Name: [],
|
|
1698
|
-
SnapshotId: [],
|
|
1699
|
-
});
|
|
1700
|
-
};
|
|
1701
|
-
const se_UpdateStorageVirtualMachineRequest = (input, context) => {
|
|
1702
|
-
return take(input, {
|
|
1703
|
-
ActiveDirectoryConfiguration: _json,
|
|
1704
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1705
|
-
StorageVirtualMachineId: [],
|
|
1706
|
-
SvmAdminPassword: [],
|
|
1707
|
-
});
|
|
1708
|
-
};
|
|
1709
|
-
const se_UpdateVolumeRequest = (input, context) => {
|
|
1710
|
-
return take(input, {
|
|
1711
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1712
|
-
Name: [],
|
|
1713
|
-
OntapConfiguration: _json,
|
|
1714
|
-
OpenZFSConfiguration: _json,
|
|
1715
|
-
VolumeId: [],
|
|
1716
|
-
});
|
|
1717
|
-
};
|
|
1718
|
-
const de_AdministrativeAction = (output, context) => {
|
|
1719
|
-
return take(output, {
|
|
1720
|
-
AdministrativeActionType: __expectString,
|
|
1721
|
-
FailureDetails: _json,
|
|
1722
|
-
Message: __expectString,
|
|
1723
|
-
ProgressPercent: __expectInt32,
|
|
1724
|
-
RemainingTransferBytes: __expectLong,
|
|
1725
|
-
RequestTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1726
|
-
Status: __expectString,
|
|
1727
|
-
TargetFileSystemValues: (_) => de_FileSystem(_, context),
|
|
1728
|
-
TargetSnapshotValues: (_) => de_Snapshot(_, context),
|
|
1729
|
-
TargetVolumeValues: (_) => de_Volume(_, context),
|
|
1730
|
-
TotalTransferBytes: __expectLong,
|
|
1731
|
-
});
|
|
1732
|
-
};
|
|
1733
|
-
const de_AdministrativeActions = (output, context) => {
|
|
1734
|
-
const retVal = (output || [])
|
|
1735
|
-
.filter((e) => e != null)
|
|
1736
|
-
.map((entry) => {
|
|
1737
|
-
return de_AdministrativeAction(entry, context);
|
|
1738
|
-
});
|
|
1739
|
-
return retVal;
|
|
1740
|
-
};
|
|
1741
|
-
const de_Backup = (output, context) => {
|
|
1742
|
-
return take(output, {
|
|
1743
|
-
BackupId: __expectString,
|
|
1744
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1745
|
-
DirectoryInformation: _json,
|
|
1746
|
-
FailureDetails: _json,
|
|
1747
|
-
FileSystem: (_) => de_FileSystem(_, context),
|
|
1748
|
-
KmsKeyId: __expectString,
|
|
1749
|
-
Lifecycle: __expectString,
|
|
1750
|
-
OwnerId: __expectString,
|
|
1751
|
-
ProgressPercent: __expectInt32,
|
|
1752
|
-
ResourceARN: __expectString,
|
|
1753
|
-
ResourceType: __expectString,
|
|
1754
|
-
SizeInBytes: __expectLong,
|
|
1755
|
-
SourceBackupId: __expectString,
|
|
1756
|
-
SourceBackupRegion: __expectString,
|
|
1757
|
-
Tags: _json,
|
|
1758
|
-
Type: __expectString,
|
|
1759
|
-
Volume: (_) => de_Volume(_, context),
|
|
1760
|
-
});
|
|
1761
|
-
};
|
|
1762
|
-
const de_Backups = (output, context) => {
|
|
1763
|
-
const retVal = (output || [])
|
|
1764
|
-
.filter((e) => e != null)
|
|
1765
|
-
.map((entry) => {
|
|
1766
|
-
return de_Backup(entry, context);
|
|
1767
|
-
});
|
|
1768
|
-
return retVal;
|
|
1769
|
-
};
|
|
1770
|
-
const de_CopyBackupResponse = (output, context) => {
|
|
1771
|
-
return take(output, {
|
|
1772
|
-
Backup: (_) => de_Backup(_, context),
|
|
1773
|
-
});
|
|
1774
|
-
};
|
|
1775
|
-
const de_CopySnapshotAndUpdateVolumeResponse = (output, context) => {
|
|
1776
|
-
return take(output, {
|
|
1777
|
-
AdministrativeActions: (_) => de_AdministrativeActions(_, context),
|
|
1778
|
-
Lifecycle: __expectString,
|
|
1779
|
-
VolumeId: __expectString,
|
|
1780
|
-
});
|
|
1781
|
-
};
|
|
1782
|
-
const de_CreateAndAttachS3AccessPointResponse = (output, context) => {
|
|
1783
|
-
return take(output, {
|
|
1784
|
-
S3AccessPointAttachment: (_) => de_S3AccessPointAttachment(_, context),
|
|
1785
|
-
});
|
|
1786
|
-
};
|
|
1787
|
-
const de_CreateBackupResponse = (output, context) => {
|
|
1788
|
-
return take(output, {
|
|
1789
|
-
Backup: (_) => de_Backup(_, context),
|
|
1790
|
-
});
|
|
1791
|
-
};
|
|
1792
|
-
const de_CreateDataRepositoryAssociationResponse = (output, context) => {
|
|
1793
|
-
return take(output, {
|
|
1794
|
-
Association: (_) => de_DataRepositoryAssociation(_, context),
|
|
1795
|
-
});
|
|
1796
|
-
};
|
|
1797
|
-
const de_CreateDataRepositoryTaskResponse = (output, context) => {
|
|
1798
|
-
return take(output, {
|
|
1799
|
-
DataRepositoryTask: (_) => de_DataRepositoryTask(_, context),
|
|
1800
|
-
});
|
|
1801
|
-
};
|
|
1802
|
-
const de_CreateFileCacheResponse = (output, context) => {
|
|
1803
|
-
return take(output, {
|
|
1804
|
-
FileCache: (_) => de_FileCacheCreating(_, context),
|
|
1805
|
-
});
|
|
1806
|
-
};
|
|
1807
|
-
const de_CreateFileSystemFromBackupResponse = (output, context) => {
|
|
1808
|
-
return take(output, {
|
|
1809
|
-
FileSystem: (_) => de_FileSystem(_, context),
|
|
1810
|
-
});
|
|
1811
|
-
};
|
|
1812
|
-
const de_CreateFileSystemResponse = (output, context) => {
|
|
1813
|
-
return take(output, {
|
|
1814
|
-
FileSystem: (_) => de_FileSystem(_, context),
|
|
1815
|
-
});
|
|
1816
|
-
};
|
|
1817
|
-
const de_CreateSnapshotResponse = (output, context) => {
|
|
1818
|
-
return take(output, {
|
|
1819
|
-
Snapshot: (_) => de_Snapshot(_, context),
|
|
1820
|
-
});
|
|
1821
|
-
};
|
|
1822
|
-
const de_CreateStorageVirtualMachineResponse = (output, context) => {
|
|
1823
|
-
return take(output, {
|
|
1824
|
-
StorageVirtualMachine: (_) => de_StorageVirtualMachine(_, context),
|
|
1825
|
-
});
|
|
1826
|
-
};
|
|
1827
|
-
const de_CreateVolumeFromBackupResponse = (output, context) => {
|
|
1828
|
-
return take(output, {
|
|
1829
|
-
Volume: (_) => de_Volume(_, context),
|
|
1830
|
-
});
|
|
1831
|
-
};
|
|
1832
|
-
const de_CreateVolumeResponse = (output, context) => {
|
|
1833
|
-
return take(output, {
|
|
1834
|
-
Volume: (_) => de_Volume(_, context),
|
|
1835
|
-
});
|
|
1836
|
-
};
|
|
1837
|
-
const de_DataRepositoryAssociation = (output, context) => {
|
|
1838
|
-
return take(output, {
|
|
1839
|
-
AssociationId: __expectString,
|
|
1840
|
-
BatchImportMetaDataOnCreate: __expectBoolean,
|
|
1841
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1842
|
-
DataRepositoryPath: __expectString,
|
|
1843
|
-
DataRepositorySubdirectories: _json,
|
|
1844
|
-
FailureDetails: _json,
|
|
1845
|
-
FileCacheId: __expectString,
|
|
1846
|
-
FileCachePath: __expectString,
|
|
1847
|
-
FileSystemId: __expectString,
|
|
1848
|
-
FileSystemPath: __expectString,
|
|
1849
|
-
ImportedFileChunkSize: __expectInt32,
|
|
1850
|
-
Lifecycle: __expectString,
|
|
1851
|
-
NFS: _json,
|
|
1852
|
-
ResourceARN: __expectString,
|
|
1853
|
-
S3: _json,
|
|
1854
|
-
Tags: _json,
|
|
1855
|
-
});
|
|
1856
|
-
};
|
|
1857
|
-
const de_DataRepositoryAssociations = (output, context) => {
|
|
1858
|
-
const retVal = (output || [])
|
|
1859
|
-
.filter((e) => e != null)
|
|
1860
|
-
.map((entry) => {
|
|
1861
|
-
return de_DataRepositoryAssociation(entry, context);
|
|
1862
|
-
});
|
|
1863
|
-
return retVal;
|
|
1864
|
-
};
|
|
1865
|
-
const de_DataRepositoryTask = (output, context) => {
|
|
1866
|
-
return take(output, {
|
|
1867
|
-
CapacityToRelease: __expectLong,
|
|
1868
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1869
|
-
EndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1870
|
-
FailureDetails: _json,
|
|
1871
|
-
FileCacheId: __expectString,
|
|
1872
|
-
FileSystemId: __expectString,
|
|
1873
|
-
Lifecycle: __expectString,
|
|
1874
|
-
Paths: _json,
|
|
1875
|
-
ReleaseConfiguration: _json,
|
|
1876
|
-
Report: _json,
|
|
1877
|
-
ResourceARN: __expectString,
|
|
1878
|
-
StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1879
|
-
Status: (_) => de_DataRepositoryTaskStatus(_, context),
|
|
1880
|
-
Tags: _json,
|
|
1881
|
-
TaskId: __expectString,
|
|
1882
|
-
Type: __expectString,
|
|
1883
|
-
});
|
|
1884
|
-
};
|
|
1885
|
-
const de_DataRepositoryTasks = (output, context) => {
|
|
1886
|
-
const retVal = (output || [])
|
|
1887
|
-
.filter((e) => e != null)
|
|
1888
|
-
.map((entry) => {
|
|
1889
|
-
return de_DataRepositoryTask(entry, context);
|
|
1890
|
-
});
|
|
1891
|
-
return retVal;
|
|
1892
|
-
};
|
|
1893
|
-
const de_DataRepositoryTaskStatus = (output, context) => {
|
|
1894
|
-
return take(output, {
|
|
1895
|
-
FailedCount: __expectLong,
|
|
1896
|
-
LastUpdatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1897
|
-
ReleasedCapacity: __expectLong,
|
|
1898
|
-
SucceededCount: __expectLong,
|
|
1899
|
-
TotalCount: __expectLong,
|
|
1900
|
-
});
|
|
1901
|
-
};
|
|
1902
|
-
const de_DescribeBackupsResponse = (output, context) => {
|
|
1903
|
-
return take(output, {
|
|
1904
|
-
Backups: (_) => de_Backups(_, context),
|
|
1905
|
-
NextToken: __expectString,
|
|
1906
|
-
});
|
|
1907
|
-
};
|
|
1908
|
-
const de_DescribeDataRepositoryAssociationsResponse = (output, context) => {
|
|
1909
|
-
return take(output, {
|
|
1910
|
-
Associations: (_) => de_DataRepositoryAssociations(_, context),
|
|
1911
|
-
NextToken: __expectString,
|
|
1912
|
-
});
|
|
1913
|
-
};
|
|
1914
|
-
const de_DescribeDataRepositoryTasksResponse = (output, context) => {
|
|
1915
|
-
return take(output, {
|
|
1916
|
-
DataRepositoryTasks: (_) => de_DataRepositoryTasks(_, context),
|
|
1917
|
-
NextToken: __expectString,
|
|
1918
|
-
});
|
|
1919
|
-
};
|
|
1920
|
-
const de_DescribeFileCachesResponse = (output, context) => {
|
|
1921
|
-
return take(output, {
|
|
1922
|
-
FileCaches: (_) => de_FileCaches(_, context),
|
|
1923
|
-
NextToken: __expectString,
|
|
1924
|
-
});
|
|
1925
|
-
};
|
|
1926
|
-
const de_DescribeFileSystemsResponse = (output, context) => {
|
|
1927
|
-
return take(output, {
|
|
1928
|
-
FileSystems: (_) => de_FileSystems(_, context),
|
|
1929
|
-
NextToken: __expectString,
|
|
1930
|
-
});
|
|
1931
|
-
};
|
|
1932
|
-
const de_DescribeS3AccessPointAttachmentsResponse = (output, context) => {
|
|
1933
|
-
return take(output, {
|
|
1934
|
-
NextToken: __expectString,
|
|
1935
|
-
S3AccessPointAttachments: (_) => de_S3AccessPointAttachments(_, context),
|
|
1936
|
-
});
|
|
1937
|
-
};
|
|
1938
|
-
const de_DescribeSnapshotsResponse = (output, context) => {
|
|
1939
|
-
return take(output, {
|
|
1940
|
-
NextToken: __expectString,
|
|
1941
|
-
Snapshots: (_) => de_Snapshots(_, context),
|
|
1942
|
-
});
|
|
1943
|
-
};
|
|
1944
|
-
const de_DescribeStorageVirtualMachinesResponse = (output, context) => {
|
|
1945
|
-
return take(output, {
|
|
1946
|
-
NextToken: __expectString,
|
|
1947
|
-
StorageVirtualMachines: (_) => de_StorageVirtualMachines(_, context),
|
|
1948
|
-
});
|
|
1949
|
-
};
|
|
1950
|
-
const de_DescribeVolumesResponse = (output, context) => {
|
|
1951
|
-
return take(output, {
|
|
1952
|
-
NextToken: __expectString,
|
|
1953
|
-
Volumes: (_) => de_Volumes(_, context),
|
|
1954
|
-
});
|
|
1955
|
-
};
|
|
1956
|
-
const de_FileCache = (output, context) => {
|
|
1957
|
-
return take(output, {
|
|
1958
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1959
|
-
DNSName: __expectString,
|
|
1960
|
-
DataRepositoryAssociationIds: _json,
|
|
1961
|
-
FailureDetails: _json,
|
|
1962
|
-
FileCacheId: __expectString,
|
|
1963
|
-
FileCacheType: __expectString,
|
|
1964
|
-
FileCacheTypeVersion: __expectString,
|
|
1965
|
-
KmsKeyId: __expectString,
|
|
1966
|
-
Lifecycle: __expectString,
|
|
1967
|
-
LustreConfiguration: _json,
|
|
1968
|
-
NetworkInterfaceIds: _json,
|
|
1969
|
-
OwnerId: __expectString,
|
|
1970
|
-
ResourceARN: __expectString,
|
|
1971
|
-
StorageCapacity: __expectInt32,
|
|
1972
|
-
SubnetIds: _json,
|
|
1973
|
-
VpcId: __expectString,
|
|
1974
|
-
});
|
|
1975
|
-
};
|
|
1976
|
-
const de_FileCacheCreating = (output, context) => {
|
|
1977
|
-
return take(output, {
|
|
1978
|
-
CopyTagsToDataRepositoryAssociations: __expectBoolean,
|
|
1979
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1980
|
-
DNSName: __expectString,
|
|
1981
|
-
DataRepositoryAssociationIds: _json,
|
|
1982
|
-
FailureDetails: _json,
|
|
1983
|
-
FileCacheId: __expectString,
|
|
1984
|
-
FileCacheType: __expectString,
|
|
1985
|
-
FileCacheTypeVersion: __expectString,
|
|
1986
|
-
KmsKeyId: __expectString,
|
|
1987
|
-
Lifecycle: __expectString,
|
|
1988
|
-
LustreConfiguration: _json,
|
|
1989
|
-
NetworkInterfaceIds: _json,
|
|
1990
|
-
OwnerId: __expectString,
|
|
1991
|
-
ResourceARN: __expectString,
|
|
1992
|
-
StorageCapacity: __expectInt32,
|
|
1993
|
-
SubnetIds: _json,
|
|
1994
|
-
Tags: _json,
|
|
1995
|
-
VpcId: __expectString,
|
|
1996
|
-
});
|
|
1997
|
-
};
|
|
1998
|
-
const de_FileCaches = (output, context) => {
|
|
1999
|
-
const retVal = (output || [])
|
|
2000
|
-
.filter((e) => e != null)
|
|
2001
|
-
.map((entry) => {
|
|
2002
|
-
return de_FileCache(entry, context);
|
|
2003
|
-
});
|
|
2004
|
-
return retVal;
|
|
2005
|
-
};
|
|
2006
|
-
const de_FileSystem = (output, context) => {
|
|
2007
|
-
return take(output, {
|
|
2008
|
-
AdministrativeActions: (_) => de_AdministrativeActions(_, context),
|
|
2009
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2010
|
-
DNSName: __expectString,
|
|
2011
|
-
FailureDetails: _json,
|
|
2012
|
-
FileSystemId: __expectString,
|
|
2013
|
-
FileSystemType: __expectString,
|
|
2014
|
-
FileSystemTypeVersion: __expectString,
|
|
2015
|
-
KmsKeyId: __expectString,
|
|
2016
|
-
Lifecycle: __expectString,
|
|
2017
|
-
LustreConfiguration: _json,
|
|
2018
|
-
NetworkInterfaceIds: _json,
|
|
2019
|
-
NetworkType: __expectString,
|
|
2020
|
-
OntapConfiguration: _json,
|
|
2021
|
-
OpenZFSConfiguration: _json,
|
|
2022
|
-
OwnerId: __expectString,
|
|
2023
|
-
ResourceARN: __expectString,
|
|
2024
|
-
StorageCapacity: __expectInt32,
|
|
2025
|
-
StorageType: __expectString,
|
|
2026
|
-
SubnetIds: _json,
|
|
2027
|
-
Tags: _json,
|
|
2028
|
-
VpcId: __expectString,
|
|
2029
|
-
WindowsConfiguration: _json,
|
|
2030
|
-
});
|
|
2031
|
-
};
|
|
2032
|
-
const de_FileSystems = (output, context) => {
|
|
2033
|
-
const retVal = (output || [])
|
|
2034
|
-
.filter((e) => e != null)
|
|
2035
|
-
.map((entry) => {
|
|
2036
|
-
return de_FileSystem(entry, context);
|
|
2037
|
-
});
|
|
2038
|
-
return retVal;
|
|
2039
|
-
};
|
|
2040
|
-
const de_ReleaseFileSystemNfsV3LocksResponse = (output, context) => {
|
|
2041
|
-
return take(output, {
|
|
2042
|
-
FileSystem: (_) => de_FileSystem(_, context),
|
|
2043
|
-
});
|
|
2044
|
-
};
|
|
2045
|
-
const de_RestoreVolumeFromSnapshotResponse = (output, context) => {
|
|
2046
|
-
return take(output, {
|
|
2047
|
-
AdministrativeActions: (_) => de_AdministrativeActions(_, context),
|
|
2048
|
-
Lifecycle: __expectString,
|
|
2049
|
-
VolumeId: __expectString,
|
|
2050
|
-
});
|
|
2051
|
-
};
|
|
2052
|
-
const de_S3AccessPointAttachment = (output, context) => {
|
|
2053
|
-
return take(output, {
|
|
2054
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2055
|
-
Lifecycle: __expectString,
|
|
2056
|
-
LifecycleTransitionReason: _json,
|
|
2057
|
-
Name: __expectString,
|
|
2058
|
-
OpenZFSConfiguration: _json,
|
|
2059
|
-
S3AccessPoint: _json,
|
|
2060
|
-
Type: __expectString,
|
|
2061
|
-
});
|
|
2062
|
-
};
|
|
2063
|
-
const de_S3AccessPointAttachments = (output, context) => {
|
|
2064
|
-
const retVal = (output || [])
|
|
2065
|
-
.filter((e) => e != null)
|
|
2066
|
-
.map((entry) => {
|
|
2067
|
-
return de_S3AccessPointAttachment(entry, context);
|
|
2068
|
-
});
|
|
2069
|
-
return retVal;
|
|
2070
|
-
};
|
|
2071
|
-
const de_Snapshot = (output, context) => {
|
|
2072
|
-
return take(output, {
|
|
2073
|
-
AdministrativeActions: (_) => de_AdministrativeActions(_, context),
|
|
2074
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2075
|
-
Lifecycle: __expectString,
|
|
2076
|
-
LifecycleTransitionReason: _json,
|
|
2077
|
-
Name: __expectString,
|
|
2078
|
-
ResourceARN: __expectString,
|
|
2079
|
-
SnapshotId: __expectString,
|
|
2080
|
-
Tags: _json,
|
|
2081
|
-
VolumeId: __expectString,
|
|
2082
|
-
});
|
|
2083
|
-
};
|
|
2084
|
-
const de_Snapshots = (output, context) => {
|
|
2085
|
-
const retVal = (output || [])
|
|
2086
|
-
.filter((e) => e != null)
|
|
2087
|
-
.map((entry) => {
|
|
2088
|
-
return de_Snapshot(entry, context);
|
|
2089
|
-
});
|
|
2090
|
-
return retVal;
|
|
2091
|
-
};
|
|
2092
|
-
const de_StartMisconfiguredStateRecoveryResponse = (output, context) => {
|
|
2093
|
-
return take(output, {
|
|
2094
|
-
FileSystem: (_) => de_FileSystem(_, context),
|
|
2095
|
-
});
|
|
2096
|
-
};
|
|
2097
|
-
const de_StorageVirtualMachine = (output, context) => {
|
|
2098
|
-
return take(output, {
|
|
2099
|
-
ActiveDirectoryConfiguration: _json,
|
|
2100
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2101
|
-
Endpoints: _json,
|
|
2102
|
-
FileSystemId: __expectString,
|
|
2103
|
-
Lifecycle: __expectString,
|
|
2104
|
-
LifecycleTransitionReason: _json,
|
|
2105
|
-
Name: __expectString,
|
|
2106
|
-
ResourceARN: __expectString,
|
|
2107
|
-
RootVolumeSecurityStyle: __expectString,
|
|
2108
|
-
StorageVirtualMachineId: __expectString,
|
|
2109
|
-
Subtype: __expectString,
|
|
2110
|
-
Tags: _json,
|
|
2111
|
-
UUID: __expectString,
|
|
2112
|
-
});
|
|
2113
|
-
};
|
|
2114
|
-
const de_StorageVirtualMachines = (output, context) => {
|
|
2115
|
-
const retVal = (output || [])
|
|
2116
|
-
.filter((e) => e != null)
|
|
2117
|
-
.map((entry) => {
|
|
2118
|
-
return de_StorageVirtualMachine(entry, context);
|
|
2119
|
-
});
|
|
2120
|
-
return retVal;
|
|
2121
|
-
};
|
|
2122
|
-
const de_UpdateDataRepositoryAssociationResponse = (output, context) => {
|
|
2123
|
-
return take(output, {
|
|
2124
|
-
Association: (_) => de_DataRepositoryAssociation(_, context),
|
|
2125
|
-
});
|
|
2126
|
-
};
|
|
2127
|
-
const de_UpdateFileCacheResponse = (output, context) => {
|
|
2128
|
-
return take(output, {
|
|
2129
|
-
FileCache: (_) => de_FileCache(_, context),
|
|
2130
|
-
});
|
|
2131
|
-
};
|
|
2132
|
-
const de_UpdateFileSystemResponse = (output, context) => {
|
|
2133
|
-
return take(output, {
|
|
2134
|
-
FileSystem: (_) => de_FileSystem(_, context),
|
|
2135
|
-
});
|
|
2136
|
-
};
|
|
2137
|
-
const de_UpdateSnapshotResponse = (output, context) => {
|
|
2138
|
-
return take(output, {
|
|
2139
|
-
Snapshot: (_) => de_Snapshot(_, context),
|
|
2140
|
-
});
|
|
2141
|
-
};
|
|
2142
|
-
const de_UpdateStorageVirtualMachineResponse = (output, context) => {
|
|
2143
|
-
return take(output, {
|
|
2144
|
-
StorageVirtualMachine: (_) => de_StorageVirtualMachine(_, context),
|
|
2145
|
-
});
|
|
2146
|
-
};
|
|
2147
|
-
const de_UpdateVolumeResponse = (output, context) => {
|
|
2148
|
-
return take(output, {
|
|
2149
|
-
Volume: (_) => de_Volume(_, context),
|
|
2150
|
-
});
|
|
2151
|
-
};
|
|
2152
|
-
const de_Volume = (output, context) => {
|
|
2153
|
-
return take(output, {
|
|
2154
|
-
AdministrativeActions: (_) => de_AdministrativeActions(_, context),
|
|
2155
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2156
|
-
FileSystemId: __expectString,
|
|
2157
|
-
Lifecycle: __expectString,
|
|
2158
|
-
LifecycleTransitionReason: _json,
|
|
2159
|
-
Name: __expectString,
|
|
2160
|
-
OntapConfiguration: _json,
|
|
2161
|
-
OpenZFSConfiguration: _json,
|
|
2162
|
-
ResourceARN: __expectString,
|
|
2163
|
-
Tags: _json,
|
|
2164
|
-
VolumeId: __expectString,
|
|
2165
|
-
VolumeType: __expectString,
|
|
2166
|
-
});
|
|
2167
|
-
};
|
|
2168
|
-
const de_Volumes = (output, context) => {
|
|
2169
|
-
const retVal = (output || [])
|
|
2170
|
-
.filter((e) => e != null)
|
|
2171
|
-
.map((entry) => {
|
|
2172
|
-
return de_Volume(entry, context);
|
|
2173
|
-
});
|
|
2174
|
-
return retVal;
|
|
2175
|
-
};
|
|
2176
|
-
const deserializeMetadata = (output) => ({
|
|
2177
|
-
httpStatusCode: output.statusCode,
|
|
2178
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2179
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2180
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
2181
|
-
});
|
|
2182
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2183
|
-
const throwDefaultError = withBaseException(__BaseException);
|
|
2184
|
-
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
2185
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2186
|
-
const contents = {
|
|
2187
|
-
protocol,
|
|
2188
|
-
hostname,
|
|
2189
|
-
port,
|
|
2190
|
-
method: "POST",
|
|
2191
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
2192
|
-
headers,
|
|
2193
|
-
};
|
|
2194
|
-
if (resolvedHostname !== undefined) {
|
|
2195
|
-
contents.hostname = resolvedHostname;
|
|
2196
|
-
}
|
|
2197
|
-
if (body !== undefined) {
|
|
2198
|
-
contents.body = body;
|
|
2199
|
-
}
|
|
2200
|
-
return new __HttpRequest(contents);
|
|
2201
|
-
};
|
|
2202
|
-
function sharedHeaders(operation) {
|
|
2203
|
-
return {
|
|
2204
|
-
"content-type": "application/x-amz-json-1.1",
|
|
2205
|
-
"x-amz-target": `AWSSimbaAPIService_v20180301.${operation}`,
|
|
2206
|
-
};
|
|
2207
|
-
}
|