@aws-sdk/client-efs 3.489.0 → 3.495.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/EFS.js +1 -73
- package/dist-cjs/EFSClient.js +1 -43
- package/dist-cjs/commands/CreateAccessPointCommand.js +1 -28
- package/dist-cjs/commands/CreateFileSystemCommand.js +1 -28
- package/dist-cjs/commands/CreateMountTargetCommand.js +1 -28
- package/dist-cjs/commands/CreateReplicationConfigurationCommand.js +1 -28
- package/dist-cjs/commands/CreateTagsCommand.js +1 -28
- package/dist-cjs/commands/DeleteAccessPointCommand.js +1 -28
- package/dist-cjs/commands/DeleteFileSystemCommand.js +1 -28
- package/dist-cjs/commands/DeleteFileSystemPolicyCommand.js +1 -28
- package/dist-cjs/commands/DeleteMountTargetCommand.js +1 -28
- package/dist-cjs/commands/DeleteReplicationConfigurationCommand.js +1 -28
- package/dist-cjs/commands/DeleteTagsCommand.js +1 -28
- package/dist-cjs/commands/DescribeAccessPointsCommand.js +1 -28
- package/dist-cjs/commands/DescribeAccountPreferencesCommand.js +1 -28
- package/dist-cjs/commands/DescribeBackupPolicyCommand.js +1 -28
- package/dist-cjs/commands/DescribeFileSystemPolicyCommand.js +1 -28
- package/dist-cjs/commands/DescribeFileSystemsCommand.js +1 -28
- package/dist-cjs/commands/DescribeLifecycleConfigurationCommand.js +1 -28
- package/dist-cjs/commands/DescribeMountTargetSecurityGroupsCommand.js +1 -28
- package/dist-cjs/commands/DescribeMountTargetsCommand.js +1 -28
- package/dist-cjs/commands/DescribeReplicationConfigurationsCommand.js +1 -28
- package/dist-cjs/commands/DescribeTagsCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/ModifyMountTargetSecurityGroupsCommand.js +1 -28
- package/dist-cjs/commands/PutAccountPreferencesCommand.js +1 -28
- package/dist-cjs/commands/PutBackupPolicyCommand.js +1 -28
- package/dist-cjs/commands/PutFileSystemPolicyCommand.js +1 -28
- package/dist-cjs/commands/PutLifecycleConfigurationCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateFileSystemCommand.js +1 -28
- package/dist-cjs/commands/UpdateFileSystemProtectionCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -34
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +3993 -11
- package/dist-cjs/models/EFSServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -555
- package/dist-cjs/pagination/DescribeAccessPointsPaginator.js +1 -7
- package/dist-cjs/pagination/DescribeFileSystemsPaginator.js +1 -7
- package/dist-cjs/pagination/DescribeMountTargetsPaginator.js +1 -7
- package/dist-cjs/pagination/DescribeReplicationConfigurationsPaginator.js +1 -7
- package/dist-cjs/pagination/DescribeTagsPaginator.js +1 -7
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -10
- package/dist-cjs/protocols/Aws_restJson1.js +1 -2464
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
package/dist-cjs/index.js
CHANGED
|
@@ -1,12 +1,3994 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
AccessPointAlreadyExists: () => AccessPointAlreadyExists,
|
|
25
|
+
AccessPointLimitExceeded: () => AccessPointLimitExceeded,
|
|
26
|
+
AccessPointNotFound: () => AccessPointNotFound,
|
|
27
|
+
AvailabilityZonesMismatch: () => AvailabilityZonesMismatch,
|
|
28
|
+
BadRequest: () => BadRequest,
|
|
29
|
+
ConflictException: () => ConflictException,
|
|
30
|
+
CreateAccessPointCommand: () => CreateAccessPointCommand,
|
|
31
|
+
CreateFileSystemCommand: () => CreateFileSystemCommand,
|
|
32
|
+
CreateMountTargetCommand: () => CreateMountTargetCommand,
|
|
33
|
+
CreateReplicationConfigurationCommand: () => CreateReplicationConfigurationCommand,
|
|
34
|
+
CreateTagsCommand: () => CreateTagsCommand,
|
|
35
|
+
DeleteAccessPointCommand: () => DeleteAccessPointCommand,
|
|
36
|
+
DeleteFileSystemCommand: () => DeleteFileSystemCommand,
|
|
37
|
+
DeleteFileSystemPolicyCommand: () => DeleteFileSystemPolicyCommand,
|
|
38
|
+
DeleteMountTargetCommand: () => DeleteMountTargetCommand,
|
|
39
|
+
DeleteReplicationConfigurationCommand: () => DeleteReplicationConfigurationCommand,
|
|
40
|
+
DeleteTagsCommand: () => DeleteTagsCommand,
|
|
41
|
+
DependencyTimeout: () => DependencyTimeout,
|
|
42
|
+
DescribeAccessPointsCommand: () => DescribeAccessPointsCommand,
|
|
43
|
+
DescribeAccountPreferencesCommand: () => DescribeAccountPreferencesCommand,
|
|
44
|
+
DescribeBackupPolicyCommand: () => DescribeBackupPolicyCommand,
|
|
45
|
+
DescribeFileSystemPolicyCommand: () => DescribeFileSystemPolicyCommand,
|
|
46
|
+
DescribeFileSystemsCommand: () => DescribeFileSystemsCommand,
|
|
47
|
+
DescribeLifecycleConfigurationCommand: () => DescribeLifecycleConfigurationCommand,
|
|
48
|
+
DescribeMountTargetSecurityGroupsCommand: () => DescribeMountTargetSecurityGroupsCommand,
|
|
49
|
+
DescribeMountTargetsCommand: () => DescribeMountTargetsCommand,
|
|
50
|
+
DescribeReplicationConfigurationsCommand: () => DescribeReplicationConfigurationsCommand,
|
|
51
|
+
DescribeTagsCommand: () => DescribeTagsCommand,
|
|
52
|
+
EFS: () => EFS,
|
|
53
|
+
EFSClient: () => EFSClient,
|
|
54
|
+
EFSServiceException: () => EFSServiceException,
|
|
55
|
+
FileSystemAlreadyExists: () => FileSystemAlreadyExists,
|
|
56
|
+
FileSystemInUse: () => FileSystemInUse,
|
|
57
|
+
FileSystemLimitExceeded: () => FileSystemLimitExceeded,
|
|
58
|
+
FileSystemNotFound: () => FileSystemNotFound,
|
|
59
|
+
IncorrectFileSystemLifeCycleState: () => IncorrectFileSystemLifeCycleState,
|
|
60
|
+
IncorrectMountTargetState: () => IncorrectMountTargetState,
|
|
61
|
+
InsufficientThroughputCapacity: () => InsufficientThroughputCapacity,
|
|
62
|
+
InternalServerError: () => InternalServerError,
|
|
63
|
+
InvalidPolicyException: () => InvalidPolicyException,
|
|
64
|
+
IpAddressInUse: () => IpAddressInUse,
|
|
65
|
+
LifeCycleState: () => LifeCycleState,
|
|
66
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
67
|
+
ModifyMountTargetSecurityGroupsCommand: () => ModifyMountTargetSecurityGroupsCommand,
|
|
68
|
+
MountTargetConflict: () => MountTargetConflict,
|
|
69
|
+
MountTargetNotFound: () => MountTargetNotFound,
|
|
70
|
+
NetworkInterfaceLimitExceeded: () => NetworkInterfaceLimitExceeded,
|
|
71
|
+
NoFreeAddressesInSubnet: () => NoFreeAddressesInSubnet,
|
|
72
|
+
PerformanceMode: () => PerformanceMode,
|
|
73
|
+
PolicyNotFound: () => PolicyNotFound,
|
|
74
|
+
PutAccountPreferencesCommand: () => PutAccountPreferencesCommand,
|
|
75
|
+
PutBackupPolicyCommand: () => PutBackupPolicyCommand,
|
|
76
|
+
PutFileSystemPolicyCommand: () => PutFileSystemPolicyCommand,
|
|
77
|
+
PutLifecycleConfigurationCommand: () => PutLifecycleConfigurationCommand,
|
|
78
|
+
ReplicationAlreadyExists: () => ReplicationAlreadyExists,
|
|
79
|
+
ReplicationNotFound: () => ReplicationNotFound,
|
|
80
|
+
ReplicationOverwriteProtection: () => ReplicationOverwriteProtection,
|
|
81
|
+
ReplicationStatus: () => ReplicationStatus,
|
|
82
|
+
Resource: () => Resource,
|
|
83
|
+
ResourceIdType: () => ResourceIdType,
|
|
84
|
+
SecurityGroupLimitExceeded: () => SecurityGroupLimitExceeded,
|
|
85
|
+
SecurityGroupNotFound: () => SecurityGroupNotFound,
|
|
86
|
+
Status: () => Status,
|
|
87
|
+
SubnetNotFound: () => SubnetNotFound,
|
|
88
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
89
|
+
ThrottlingException: () => ThrottlingException,
|
|
90
|
+
ThroughputLimitExceeded: () => ThroughputLimitExceeded,
|
|
91
|
+
ThroughputMode: () => ThroughputMode,
|
|
92
|
+
TooManyRequests: () => TooManyRequests,
|
|
93
|
+
TransitionToArchiveRules: () => TransitionToArchiveRules,
|
|
94
|
+
TransitionToIARules: () => TransitionToIARules,
|
|
95
|
+
TransitionToPrimaryStorageClassRules: () => TransitionToPrimaryStorageClassRules,
|
|
96
|
+
UnsupportedAvailabilityZone: () => UnsupportedAvailabilityZone,
|
|
97
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
98
|
+
UpdateFileSystemCommand: () => UpdateFileSystemCommand,
|
|
99
|
+
UpdateFileSystemProtectionCommand: () => UpdateFileSystemProtectionCommand,
|
|
100
|
+
ValidationException: () => ValidationException,
|
|
101
|
+
__Client: () => import_smithy_client.Client,
|
|
102
|
+
paginateDescribeAccessPoints: () => paginateDescribeAccessPoints,
|
|
103
|
+
paginateDescribeFileSystems: () => paginateDescribeFileSystems,
|
|
104
|
+
paginateDescribeMountTargets: () => paginateDescribeMountTargets,
|
|
105
|
+
paginateDescribeReplicationConfigurations: () => paginateDescribeReplicationConfigurations,
|
|
106
|
+
paginateDescribeTags: () => paginateDescribeTags,
|
|
107
|
+
paginateListTagsForResource: () => paginateListTagsForResource
|
|
108
|
+
});
|
|
109
|
+
module.exports = __toCommonJS(src_exports);
|
|
110
|
+
|
|
111
|
+
// src/EFSClient.ts
|
|
112
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
113
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
114
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
115
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
116
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
117
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
118
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
119
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
120
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
// src/endpoint/EndpointParameters.ts
|
|
124
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
125
|
+
return {
|
|
126
|
+
...options,
|
|
127
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
128
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
129
|
+
defaultSigningName: "elasticfilesystem"
|
|
130
|
+
};
|
|
131
|
+
}, "resolveClientEndpointParameters");
|
|
132
|
+
var commonParams = {
|
|
133
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
134
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
135
|
+
Region: { type: "builtInParams", name: "region" },
|
|
136
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
// src/EFSClient.ts
|
|
140
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
141
|
+
|
|
142
|
+
// src/runtimeExtensions.ts
|
|
143
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
144
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
145
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
146
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
147
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
148
|
+
const extensionConfiguration = {
|
|
149
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
150
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
151
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
152
|
+
};
|
|
153
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
154
|
+
return {
|
|
155
|
+
...runtimeConfig,
|
|
156
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
157
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
158
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
159
|
+
};
|
|
160
|
+
}, "resolveRuntimeExtensions");
|
|
161
|
+
|
|
162
|
+
// src/EFSClient.ts
|
|
163
|
+
var _EFSClient = class _EFSClient extends import_smithy_client.Client {
|
|
164
|
+
constructor(...[configuration]) {
|
|
165
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
166
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
167
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
168
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
169
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
170
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
171
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
172
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
173
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
174
|
+
super(_config_8);
|
|
175
|
+
this.config = _config_8;
|
|
176
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
177
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
178
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
179
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
180
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
181
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
182
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
186
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
187
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
188
|
+
*/
|
|
189
|
+
destroy() {
|
|
190
|
+
super.destroy();
|
|
191
|
+
}
|
|
192
|
+
};
|
|
193
|
+
__name(_EFSClient, "EFSClient");
|
|
194
|
+
var EFSClient = _EFSClient;
|
|
195
|
+
|
|
196
|
+
// src/EFS.ts
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
// src/commands/CreateAccessPointCommand.ts
|
|
200
|
+
|
|
201
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
202
|
+
|
|
203
|
+
var import_types = require("@smithy/types");
|
|
204
|
+
|
|
205
|
+
// src/protocols/Aws_restJson1.ts
|
|
206
|
+
var import_core = require("@smithy/core");
|
|
207
|
+
|
|
208
|
+
var import_uuid = require("uuid");
|
|
209
|
+
|
|
210
|
+
// src/models/EFSServiceException.ts
|
|
211
|
+
|
|
212
|
+
var _EFSServiceException = class _EFSServiceException extends import_smithy_client.ServiceException {
|
|
213
|
+
/**
|
|
214
|
+
* @internal
|
|
215
|
+
*/
|
|
216
|
+
constructor(options) {
|
|
217
|
+
super(options);
|
|
218
|
+
Object.setPrototypeOf(this, _EFSServiceException.prototype);
|
|
219
|
+
}
|
|
220
|
+
};
|
|
221
|
+
__name(_EFSServiceException, "EFSServiceException");
|
|
222
|
+
var EFSServiceException = _EFSServiceException;
|
|
223
|
+
|
|
224
|
+
// src/models/models_0.ts
|
|
225
|
+
var _AccessPointAlreadyExists = class _AccessPointAlreadyExists extends EFSServiceException {
|
|
226
|
+
/**
|
|
227
|
+
* @internal
|
|
228
|
+
*/
|
|
229
|
+
constructor(opts) {
|
|
230
|
+
super({
|
|
231
|
+
name: "AccessPointAlreadyExists",
|
|
232
|
+
$fault: "client",
|
|
233
|
+
...opts
|
|
234
|
+
});
|
|
235
|
+
this.name = "AccessPointAlreadyExists";
|
|
236
|
+
this.$fault = "client";
|
|
237
|
+
Object.setPrototypeOf(this, _AccessPointAlreadyExists.prototype);
|
|
238
|
+
this.ErrorCode = opts.ErrorCode;
|
|
239
|
+
this.Message = opts.Message;
|
|
240
|
+
this.AccessPointId = opts.AccessPointId;
|
|
241
|
+
}
|
|
242
|
+
};
|
|
243
|
+
__name(_AccessPointAlreadyExists, "AccessPointAlreadyExists");
|
|
244
|
+
var AccessPointAlreadyExists = _AccessPointAlreadyExists;
|
|
245
|
+
var LifeCycleState = {
|
|
246
|
+
AVAILABLE: "available",
|
|
247
|
+
CREATING: "creating",
|
|
248
|
+
DELETED: "deleted",
|
|
249
|
+
DELETING: "deleting",
|
|
250
|
+
ERROR: "error",
|
|
251
|
+
UPDATING: "updating"
|
|
252
|
+
};
|
|
253
|
+
var _AccessPointLimitExceeded = class _AccessPointLimitExceeded extends EFSServiceException {
|
|
254
|
+
/**
|
|
255
|
+
* @internal
|
|
256
|
+
*/
|
|
257
|
+
constructor(opts) {
|
|
258
|
+
super({
|
|
259
|
+
name: "AccessPointLimitExceeded",
|
|
260
|
+
$fault: "client",
|
|
261
|
+
...opts
|
|
262
|
+
});
|
|
263
|
+
this.name = "AccessPointLimitExceeded";
|
|
264
|
+
this.$fault = "client";
|
|
265
|
+
Object.setPrototypeOf(this, _AccessPointLimitExceeded.prototype);
|
|
266
|
+
this.ErrorCode = opts.ErrorCode;
|
|
267
|
+
this.Message = opts.Message;
|
|
268
|
+
}
|
|
269
|
+
};
|
|
270
|
+
__name(_AccessPointLimitExceeded, "AccessPointLimitExceeded");
|
|
271
|
+
var AccessPointLimitExceeded = _AccessPointLimitExceeded;
|
|
272
|
+
var _AccessPointNotFound = class _AccessPointNotFound extends EFSServiceException {
|
|
273
|
+
/**
|
|
274
|
+
* @internal
|
|
275
|
+
*/
|
|
276
|
+
constructor(opts) {
|
|
277
|
+
super({
|
|
278
|
+
name: "AccessPointNotFound",
|
|
279
|
+
$fault: "client",
|
|
280
|
+
...opts
|
|
281
|
+
});
|
|
282
|
+
this.name = "AccessPointNotFound";
|
|
283
|
+
this.$fault = "client";
|
|
284
|
+
Object.setPrototypeOf(this, _AccessPointNotFound.prototype);
|
|
285
|
+
this.ErrorCode = opts.ErrorCode;
|
|
286
|
+
this.Message = opts.Message;
|
|
287
|
+
}
|
|
288
|
+
};
|
|
289
|
+
__name(_AccessPointNotFound, "AccessPointNotFound");
|
|
290
|
+
var AccessPointNotFound = _AccessPointNotFound;
|
|
291
|
+
var _AvailabilityZonesMismatch = class _AvailabilityZonesMismatch extends EFSServiceException {
|
|
292
|
+
/**
|
|
293
|
+
* @internal
|
|
294
|
+
*/
|
|
295
|
+
constructor(opts) {
|
|
296
|
+
super({
|
|
297
|
+
name: "AvailabilityZonesMismatch",
|
|
298
|
+
$fault: "client",
|
|
299
|
+
...opts
|
|
300
|
+
});
|
|
301
|
+
this.name = "AvailabilityZonesMismatch";
|
|
302
|
+
this.$fault = "client";
|
|
303
|
+
Object.setPrototypeOf(this, _AvailabilityZonesMismatch.prototype);
|
|
304
|
+
this.ErrorCode = opts.ErrorCode;
|
|
305
|
+
this.Message = opts.Message;
|
|
306
|
+
}
|
|
307
|
+
};
|
|
308
|
+
__name(_AvailabilityZonesMismatch, "AvailabilityZonesMismatch");
|
|
309
|
+
var AvailabilityZonesMismatch = _AvailabilityZonesMismatch;
|
|
310
|
+
var Status = {
|
|
311
|
+
DISABLED: "DISABLED",
|
|
312
|
+
DISABLING: "DISABLING",
|
|
313
|
+
ENABLED: "ENABLED",
|
|
314
|
+
ENABLING: "ENABLING"
|
|
315
|
+
};
|
|
316
|
+
var _BadRequest = class _BadRequest extends EFSServiceException {
|
|
317
|
+
/**
|
|
318
|
+
* @internal
|
|
319
|
+
*/
|
|
320
|
+
constructor(opts) {
|
|
321
|
+
super({
|
|
322
|
+
name: "BadRequest",
|
|
323
|
+
$fault: "client",
|
|
324
|
+
...opts
|
|
325
|
+
});
|
|
326
|
+
this.name = "BadRequest";
|
|
327
|
+
this.$fault = "client";
|
|
328
|
+
Object.setPrototypeOf(this, _BadRequest.prototype);
|
|
329
|
+
this.ErrorCode = opts.ErrorCode;
|
|
330
|
+
this.Message = opts.Message;
|
|
331
|
+
}
|
|
332
|
+
};
|
|
333
|
+
__name(_BadRequest, "BadRequest");
|
|
334
|
+
var BadRequest = _BadRequest;
|
|
335
|
+
var _ConflictException = class _ConflictException extends EFSServiceException {
|
|
336
|
+
/**
|
|
337
|
+
* @internal
|
|
338
|
+
*/
|
|
339
|
+
constructor(opts) {
|
|
340
|
+
super({
|
|
341
|
+
name: "ConflictException",
|
|
342
|
+
$fault: "client",
|
|
343
|
+
...opts
|
|
344
|
+
});
|
|
345
|
+
this.name = "ConflictException";
|
|
346
|
+
this.$fault = "client";
|
|
347
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
348
|
+
this.ErrorCode = opts.ErrorCode;
|
|
349
|
+
this.Message = opts.Message;
|
|
350
|
+
}
|
|
351
|
+
};
|
|
352
|
+
__name(_ConflictException, "ConflictException");
|
|
353
|
+
var ConflictException = _ConflictException;
|
|
354
|
+
var _FileSystemNotFound = class _FileSystemNotFound extends EFSServiceException {
|
|
355
|
+
/**
|
|
356
|
+
* @internal
|
|
357
|
+
*/
|
|
358
|
+
constructor(opts) {
|
|
359
|
+
super({
|
|
360
|
+
name: "FileSystemNotFound",
|
|
361
|
+
$fault: "client",
|
|
362
|
+
...opts
|
|
363
|
+
});
|
|
364
|
+
this.name = "FileSystemNotFound";
|
|
365
|
+
this.$fault = "client";
|
|
366
|
+
Object.setPrototypeOf(this, _FileSystemNotFound.prototype);
|
|
367
|
+
this.ErrorCode = opts.ErrorCode;
|
|
368
|
+
this.Message = opts.Message;
|
|
369
|
+
}
|
|
370
|
+
};
|
|
371
|
+
__name(_FileSystemNotFound, "FileSystemNotFound");
|
|
372
|
+
var FileSystemNotFound = _FileSystemNotFound;
|
|
373
|
+
var _IncorrectFileSystemLifeCycleState = class _IncorrectFileSystemLifeCycleState extends EFSServiceException {
|
|
374
|
+
/**
|
|
375
|
+
* @internal
|
|
376
|
+
*/
|
|
377
|
+
constructor(opts) {
|
|
378
|
+
super({
|
|
379
|
+
name: "IncorrectFileSystemLifeCycleState",
|
|
380
|
+
$fault: "client",
|
|
381
|
+
...opts
|
|
382
|
+
});
|
|
383
|
+
this.name = "IncorrectFileSystemLifeCycleState";
|
|
384
|
+
this.$fault = "client";
|
|
385
|
+
Object.setPrototypeOf(this, _IncorrectFileSystemLifeCycleState.prototype);
|
|
386
|
+
this.ErrorCode = opts.ErrorCode;
|
|
387
|
+
this.Message = opts.Message;
|
|
388
|
+
}
|
|
389
|
+
};
|
|
390
|
+
__name(_IncorrectFileSystemLifeCycleState, "IncorrectFileSystemLifeCycleState");
|
|
391
|
+
var IncorrectFileSystemLifeCycleState = _IncorrectFileSystemLifeCycleState;
|
|
392
|
+
var _InternalServerError = class _InternalServerError extends EFSServiceException {
|
|
393
|
+
/**
|
|
394
|
+
* @internal
|
|
395
|
+
*/
|
|
396
|
+
constructor(opts) {
|
|
397
|
+
super({
|
|
398
|
+
name: "InternalServerError",
|
|
399
|
+
$fault: "server",
|
|
400
|
+
...opts
|
|
401
|
+
});
|
|
402
|
+
this.name = "InternalServerError";
|
|
403
|
+
this.$fault = "server";
|
|
404
|
+
Object.setPrototypeOf(this, _InternalServerError.prototype);
|
|
405
|
+
this.ErrorCode = opts.ErrorCode;
|
|
406
|
+
this.Message = opts.Message;
|
|
407
|
+
}
|
|
408
|
+
};
|
|
409
|
+
__name(_InternalServerError, "InternalServerError");
|
|
410
|
+
var InternalServerError = _InternalServerError;
|
|
411
|
+
var _ThrottlingException = class _ThrottlingException extends EFSServiceException {
|
|
412
|
+
/**
|
|
413
|
+
* @internal
|
|
414
|
+
*/
|
|
415
|
+
constructor(opts) {
|
|
416
|
+
super({
|
|
417
|
+
name: "ThrottlingException",
|
|
418
|
+
$fault: "client",
|
|
419
|
+
...opts
|
|
420
|
+
});
|
|
421
|
+
this.name = "ThrottlingException";
|
|
422
|
+
this.$fault = "client";
|
|
423
|
+
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
424
|
+
this.ErrorCode = opts.ErrorCode;
|
|
425
|
+
this.Message = opts.Message;
|
|
426
|
+
}
|
|
427
|
+
};
|
|
428
|
+
__name(_ThrottlingException, "ThrottlingException");
|
|
429
|
+
var ThrottlingException = _ThrottlingException;
|
|
430
|
+
var PerformanceMode = {
|
|
431
|
+
GENERAL_PURPOSE: "generalPurpose",
|
|
432
|
+
MAX_IO: "maxIO"
|
|
433
|
+
};
|
|
434
|
+
var ThroughputMode = {
|
|
435
|
+
BURSTING: "bursting",
|
|
436
|
+
ELASTIC: "elastic",
|
|
437
|
+
PROVISIONED: "provisioned"
|
|
438
|
+
};
|
|
439
|
+
var _FileSystemAlreadyExists = class _FileSystemAlreadyExists extends EFSServiceException {
|
|
440
|
+
/**
|
|
441
|
+
* @internal
|
|
442
|
+
*/
|
|
443
|
+
constructor(opts) {
|
|
444
|
+
super({
|
|
445
|
+
name: "FileSystemAlreadyExists",
|
|
446
|
+
$fault: "client",
|
|
447
|
+
...opts
|
|
448
|
+
});
|
|
449
|
+
this.name = "FileSystemAlreadyExists";
|
|
450
|
+
this.$fault = "client";
|
|
451
|
+
Object.setPrototypeOf(this, _FileSystemAlreadyExists.prototype);
|
|
452
|
+
this.ErrorCode = opts.ErrorCode;
|
|
453
|
+
this.Message = opts.Message;
|
|
454
|
+
this.FileSystemId = opts.FileSystemId;
|
|
455
|
+
}
|
|
456
|
+
};
|
|
457
|
+
__name(_FileSystemAlreadyExists, "FileSystemAlreadyExists");
|
|
458
|
+
var FileSystemAlreadyExists = _FileSystemAlreadyExists;
|
|
459
|
+
var ReplicationOverwriteProtection = {
|
|
460
|
+
DISABLED: "DISABLED",
|
|
461
|
+
ENABLED: "ENABLED",
|
|
462
|
+
REPLICATING: "REPLICATING"
|
|
463
|
+
};
|
|
464
|
+
var _FileSystemLimitExceeded = class _FileSystemLimitExceeded extends EFSServiceException {
|
|
465
|
+
/**
|
|
466
|
+
* @internal
|
|
467
|
+
*/
|
|
468
|
+
constructor(opts) {
|
|
469
|
+
super({
|
|
470
|
+
name: "FileSystemLimitExceeded",
|
|
471
|
+
$fault: "client",
|
|
472
|
+
...opts
|
|
473
|
+
});
|
|
474
|
+
this.name = "FileSystemLimitExceeded";
|
|
475
|
+
this.$fault = "client";
|
|
476
|
+
Object.setPrototypeOf(this, _FileSystemLimitExceeded.prototype);
|
|
477
|
+
this.ErrorCode = opts.ErrorCode;
|
|
478
|
+
this.Message = opts.Message;
|
|
479
|
+
}
|
|
480
|
+
};
|
|
481
|
+
__name(_FileSystemLimitExceeded, "FileSystemLimitExceeded");
|
|
482
|
+
var FileSystemLimitExceeded = _FileSystemLimitExceeded;
|
|
483
|
+
var _InsufficientThroughputCapacity = class _InsufficientThroughputCapacity extends EFSServiceException {
|
|
484
|
+
/**
|
|
485
|
+
* @internal
|
|
486
|
+
*/
|
|
487
|
+
constructor(opts) {
|
|
488
|
+
super({
|
|
489
|
+
name: "InsufficientThroughputCapacity",
|
|
490
|
+
$fault: "server",
|
|
491
|
+
...opts
|
|
492
|
+
});
|
|
493
|
+
this.name = "InsufficientThroughputCapacity";
|
|
494
|
+
this.$fault = "server";
|
|
495
|
+
Object.setPrototypeOf(this, _InsufficientThroughputCapacity.prototype);
|
|
496
|
+
this.ErrorCode = opts.ErrorCode;
|
|
497
|
+
this.Message = opts.Message;
|
|
498
|
+
}
|
|
499
|
+
};
|
|
500
|
+
__name(_InsufficientThroughputCapacity, "InsufficientThroughputCapacity");
|
|
501
|
+
var InsufficientThroughputCapacity = _InsufficientThroughputCapacity;
|
|
502
|
+
var _ThroughputLimitExceeded = class _ThroughputLimitExceeded extends EFSServiceException {
|
|
503
|
+
/**
|
|
504
|
+
* @internal
|
|
505
|
+
*/
|
|
506
|
+
constructor(opts) {
|
|
507
|
+
super({
|
|
508
|
+
name: "ThroughputLimitExceeded",
|
|
509
|
+
$fault: "client",
|
|
510
|
+
...opts
|
|
511
|
+
});
|
|
512
|
+
this.name = "ThroughputLimitExceeded";
|
|
513
|
+
this.$fault = "client";
|
|
514
|
+
Object.setPrototypeOf(this, _ThroughputLimitExceeded.prototype);
|
|
515
|
+
this.ErrorCode = opts.ErrorCode;
|
|
516
|
+
this.Message = opts.Message;
|
|
517
|
+
}
|
|
518
|
+
};
|
|
519
|
+
__name(_ThroughputLimitExceeded, "ThroughputLimitExceeded");
|
|
520
|
+
var ThroughputLimitExceeded = _ThroughputLimitExceeded;
|
|
521
|
+
var _UnsupportedAvailabilityZone = class _UnsupportedAvailabilityZone extends EFSServiceException {
|
|
522
|
+
/**
|
|
523
|
+
* @internal
|
|
524
|
+
*/
|
|
525
|
+
constructor(opts) {
|
|
526
|
+
super({
|
|
527
|
+
name: "UnsupportedAvailabilityZone",
|
|
528
|
+
$fault: "client",
|
|
529
|
+
...opts
|
|
530
|
+
});
|
|
531
|
+
this.name = "UnsupportedAvailabilityZone";
|
|
532
|
+
this.$fault = "client";
|
|
533
|
+
Object.setPrototypeOf(this, _UnsupportedAvailabilityZone.prototype);
|
|
534
|
+
this.ErrorCode = opts.ErrorCode;
|
|
535
|
+
this.Message = opts.Message;
|
|
536
|
+
}
|
|
537
|
+
};
|
|
538
|
+
__name(_UnsupportedAvailabilityZone, "UnsupportedAvailabilityZone");
|
|
539
|
+
var UnsupportedAvailabilityZone = _UnsupportedAvailabilityZone;
|
|
540
|
+
var _IpAddressInUse = class _IpAddressInUse extends EFSServiceException {
|
|
541
|
+
/**
|
|
542
|
+
* @internal
|
|
543
|
+
*/
|
|
544
|
+
constructor(opts) {
|
|
545
|
+
super({
|
|
546
|
+
name: "IpAddressInUse",
|
|
547
|
+
$fault: "client",
|
|
548
|
+
...opts
|
|
549
|
+
});
|
|
550
|
+
this.name = "IpAddressInUse";
|
|
551
|
+
this.$fault = "client";
|
|
552
|
+
Object.setPrototypeOf(this, _IpAddressInUse.prototype);
|
|
553
|
+
this.ErrorCode = opts.ErrorCode;
|
|
554
|
+
this.Message = opts.Message;
|
|
555
|
+
}
|
|
556
|
+
};
|
|
557
|
+
__name(_IpAddressInUse, "IpAddressInUse");
|
|
558
|
+
var IpAddressInUse = _IpAddressInUse;
|
|
559
|
+
var _MountTargetConflict = class _MountTargetConflict extends EFSServiceException {
|
|
560
|
+
/**
|
|
561
|
+
* @internal
|
|
562
|
+
*/
|
|
563
|
+
constructor(opts) {
|
|
564
|
+
super({
|
|
565
|
+
name: "MountTargetConflict",
|
|
566
|
+
$fault: "client",
|
|
567
|
+
...opts
|
|
568
|
+
});
|
|
569
|
+
this.name = "MountTargetConflict";
|
|
570
|
+
this.$fault = "client";
|
|
571
|
+
Object.setPrototypeOf(this, _MountTargetConflict.prototype);
|
|
572
|
+
this.ErrorCode = opts.ErrorCode;
|
|
573
|
+
this.Message = opts.Message;
|
|
574
|
+
}
|
|
575
|
+
};
|
|
576
|
+
__name(_MountTargetConflict, "MountTargetConflict");
|
|
577
|
+
var MountTargetConflict = _MountTargetConflict;
|
|
578
|
+
var _NetworkInterfaceLimitExceeded = class _NetworkInterfaceLimitExceeded extends EFSServiceException {
|
|
579
|
+
/**
|
|
580
|
+
* @internal
|
|
581
|
+
*/
|
|
582
|
+
constructor(opts) {
|
|
583
|
+
super({
|
|
584
|
+
name: "NetworkInterfaceLimitExceeded",
|
|
585
|
+
$fault: "client",
|
|
586
|
+
...opts
|
|
587
|
+
});
|
|
588
|
+
this.name = "NetworkInterfaceLimitExceeded";
|
|
589
|
+
this.$fault = "client";
|
|
590
|
+
Object.setPrototypeOf(this, _NetworkInterfaceLimitExceeded.prototype);
|
|
591
|
+
this.ErrorCode = opts.ErrorCode;
|
|
592
|
+
this.Message = opts.Message;
|
|
593
|
+
}
|
|
594
|
+
};
|
|
595
|
+
__name(_NetworkInterfaceLimitExceeded, "NetworkInterfaceLimitExceeded");
|
|
596
|
+
var NetworkInterfaceLimitExceeded = _NetworkInterfaceLimitExceeded;
|
|
597
|
+
var _NoFreeAddressesInSubnet = class _NoFreeAddressesInSubnet extends EFSServiceException {
|
|
598
|
+
/**
|
|
599
|
+
* @internal
|
|
600
|
+
*/
|
|
601
|
+
constructor(opts) {
|
|
602
|
+
super({
|
|
603
|
+
name: "NoFreeAddressesInSubnet",
|
|
604
|
+
$fault: "client",
|
|
605
|
+
...opts
|
|
606
|
+
});
|
|
607
|
+
this.name = "NoFreeAddressesInSubnet";
|
|
608
|
+
this.$fault = "client";
|
|
609
|
+
Object.setPrototypeOf(this, _NoFreeAddressesInSubnet.prototype);
|
|
610
|
+
this.ErrorCode = opts.ErrorCode;
|
|
611
|
+
this.Message = opts.Message;
|
|
612
|
+
}
|
|
613
|
+
};
|
|
614
|
+
__name(_NoFreeAddressesInSubnet, "NoFreeAddressesInSubnet");
|
|
615
|
+
var NoFreeAddressesInSubnet = _NoFreeAddressesInSubnet;
|
|
616
|
+
var _SecurityGroupLimitExceeded = class _SecurityGroupLimitExceeded extends EFSServiceException {
|
|
617
|
+
/**
|
|
618
|
+
* @internal
|
|
619
|
+
*/
|
|
620
|
+
constructor(opts) {
|
|
621
|
+
super({
|
|
622
|
+
name: "SecurityGroupLimitExceeded",
|
|
623
|
+
$fault: "client",
|
|
624
|
+
...opts
|
|
625
|
+
});
|
|
626
|
+
this.name = "SecurityGroupLimitExceeded";
|
|
627
|
+
this.$fault = "client";
|
|
628
|
+
Object.setPrototypeOf(this, _SecurityGroupLimitExceeded.prototype);
|
|
629
|
+
this.ErrorCode = opts.ErrorCode;
|
|
630
|
+
this.Message = opts.Message;
|
|
631
|
+
}
|
|
632
|
+
};
|
|
633
|
+
__name(_SecurityGroupLimitExceeded, "SecurityGroupLimitExceeded");
|
|
634
|
+
var SecurityGroupLimitExceeded = _SecurityGroupLimitExceeded;
|
|
635
|
+
var _SecurityGroupNotFound = class _SecurityGroupNotFound extends EFSServiceException {
|
|
636
|
+
/**
|
|
637
|
+
* @internal
|
|
638
|
+
*/
|
|
639
|
+
constructor(opts) {
|
|
640
|
+
super({
|
|
641
|
+
name: "SecurityGroupNotFound",
|
|
642
|
+
$fault: "client",
|
|
643
|
+
...opts
|
|
644
|
+
});
|
|
645
|
+
this.name = "SecurityGroupNotFound";
|
|
646
|
+
this.$fault = "client";
|
|
647
|
+
Object.setPrototypeOf(this, _SecurityGroupNotFound.prototype);
|
|
648
|
+
this.ErrorCode = opts.ErrorCode;
|
|
649
|
+
this.Message = opts.Message;
|
|
650
|
+
}
|
|
651
|
+
};
|
|
652
|
+
__name(_SecurityGroupNotFound, "SecurityGroupNotFound");
|
|
653
|
+
var SecurityGroupNotFound = _SecurityGroupNotFound;
|
|
654
|
+
var _SubnetNotFound = class _SubnetNotFound extends EFSServiceException {
|
|
655
|
+
/**
|
|
656
|
+
* @internal
|
|
657
|
+
*/
|
|
658
|
+
constructor(opts) {
|
|
659
|
+
super({
|
|
660
|
+
name: "SubnetNotFound",
|
|
661
|
+
$fault: "client",
|
|
662
|
+
...opts
|
|
663
|
+
});
|
|
664
|
+
this.name = "SubnetNotFound";
|
|
665
|
+
this.$fault = "client";
|
|
666
|
+
Object.setPrototypeOf(this, _SubnetNotFound.prototype);
|
|
667
|
+
this.ErrorCode = opts.ErrorCode;
|
|
668
|
+
this.Message = opts.Message;
|
|
669
|
+
}
|
|
670
|
+
};
|
|
671
|
+
__name(_SubnetNotFound, "SubnetNotFound");
|
|
672
|
+
var SubnetNotFound = _SubnetNotFound;
|
|
673
|
+
var ReplicationStatus = {
|
|
674
|
+
DELETING: "DELETING",
|
|
675
|
+
ENABLED: "ENABLED",
|
|
676
|
+
ENABLING: "ENABLING",
|
|
677
|
+
ERROR: "ERROR",
|
|
678
|
+
PAUSED: "PAUSED",
|
|
679
|
+
PAUSING: "PAUSING"
|
|
680
|
+
};
|
|
681
|
+
var _ReplicationNotFound = class _ReplicationNotFound extends EFSServiceException {
|
|
682
|
+
/**
|
|
683
|
+
* @internal
|
|
684
|
+
*/
|
|
685
|
+
constructor(opts) {
|
|
686
|
+
super({
|
|
687
|
+
name: "ReplicationNotFound",
|
|
688
|
+
$fault: "client",
|
|
689
|
+
...opts
|
|
690
|
+
});
|
|
691
|
+
this.name = "ReplicationNotFound";
|
|
692
|
+
this.$fault = "client";
|
|
693
|
+
Object.setPrototypeOf(this, _ReplicationNotFound.prototype);
|
|
694
|
+
this.ErrorCode = opts.ErrorCode;
|
|
695
|
+
this.Message = opts.Message;
|
|
696
|
+
}
|
|
697
|
+
};
|
|
698
|
+
__name(_ReplicationNotFound, "ReplicationNotFound");
|
|
699
|
+
var ReplicationNotFound = _ReplicationNotFound;
|
|
700
|
+
var _ValidationException = class _ValidationException extends EFSServiceException {
|
|
701
|
+
/**
|
|
702
|
+
* @internal
|
|
703
|
+
*/
|
|
704
|
+
constructor(opts) {
|
|
705
|
+
super({
|
|
706
|
+
name: "ValidationException",
|
|
707
|
+
$fault: "client",
|
|
708
|
+
...opts
|
|
709
|
+
});
|
|
710
|
+
this.name = "ValidationException";
|
|
711
|
+
this.$fault = "client";
|
|
712
|
+
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
713
|
+
this.ErrorCode = opts.ErrorCode;
|
|
714
|
+
this.Message = opts.Message;
|
|
715
|
+
}
|
|
716
|
+
};
|
|
717
|
+
__name(_ValidationException, "ValidationException");
|
|
718
|
+
var ValidationException = _ValidationException;
|
|
719
|
+
var _FileSystemInUse = class _FileSystemInUse extends EFSServiceException {
|
|
720
|
+
/**
|
|
721
|
+
* @internal
|
|
722
|
+
*/
|
|
723
|
+
constructor(opts) {
|
|
724
|
+
super({
|
|
725
|
+
name: "FileSystemInUse",
|
|
726
|
+
$fault: "client",
|
|
727
|
+
...opts
|
|
728
|
+
});
|
|
729
|
+
this.name = "FileSystemInUse";
|
|
730
|
+
this.$fault = "client";
|
|
731
|
+
Object.setPrototypeOf(this, _FileSystemInUse.prototype);
|
|
732
|
+
this.ErrorCode = opts.ErrorCode;
|
|
733
|
+
this.Message = opts.Message;
|
|
734
|
+
}
|
|
735
|
+
};
|
|
736
|
+
__name(_FileSystemInUse, "FileSystemInUse");
|
|
737
|
+
var FileSystemInUse = _FileSystemInUse;
|
|
738
|
+
var _DependencyTimeout = class _DependencyTimeout extends EFSServiceException {
|
|
739
|
+
/**
|
|
740
|
+
* @internal
|
|
741
|
+
*/
|
|
742
|
+
constructor(opts) {
|
|
743
|
+
super({
|
|
744
|
+
name: "DependencyTimeout",
|
|
745
|
+
$fault: "server",
|
|
746
|
+
...opts
|
|
747
|
+
});
|
|
748
|
+
this.name = "DependencyTimeout";
|
|
749
|
+
this.$fault = "server";
|
|
750
|
+
Object.setPrototypeOf(this, _DependencyTimeout.prototype);
|
|
751
|
+
this.ErrorCode = opts.ErrorCode;
|
|
752
|
+
this.Message = opts.Message;
|
|
753
|
+
}
|
|
754
|
+
};
|
|
755
|
+
__name(_DependencyTimeout, "DependencyTimeout");
|
|
756
|
+
var DependencyTimeout = _DependencyTimeout;
|
|
757
|
+
var _MountTargetNotFound = class _MountTargetNotFound extends EFSServiceException {
|
|
758
|
+
/**
|
|
759
|
+
* @internal
|
|
760
|
+
*/
|
|
761
|
+
constructor(opts) {
|
|
762
|
+
super({
|
|
763
|
+
name: "MountTargetNotFound",
|
|
764
|
+
$fault: "client",
|
|
765
|
+
...opts
|
|
766
|
+
});
|
|
767
|
+
this.name = "MountTargetNotFound";
|
|
768
|
+
this.$fault = "client";
|
|
769
|
+
Object.setPrototypeOf(this, _MountTargetNotFound.prototype);
|
|
770
|
+
this.ErrorCode = opts.ErrorCode;
|
|
771
|
+
this.Message = opts.Message;
|
|
772
|
+
}
|
|
773
|
+
};
|
|
774
|
+
__name(_MountTargetNotFound, "MountTargetNotFound");
|
|
775
|
+
var MountTargetNotFound = _MountTargetNotFound;
|
|
776
|
+
var ResourceIdType = {
|
|
777
|
+
LongId: "LONG_ID",
|
|
778
|
+
ShortId: "SHORT_ID"
|
|
779
|
+
};
|
|
780
|
+
var Resource = {
|
|
781
|
+
FileSystem: "FILE_SYSTEM",
|
|
782
|
+
MountTarget: "MOUNT_TARGET"
|
|
783
|
+
};
|
|
784
|
+
var _PolicyNotFound = class _PolicyNotFound extends EFSServiceException {
|
|
785
|
+
/**
|
|
786
|
+
* @internal
|
|
787
|
+
*/
|
|
788
|
+
constructor(opts) {
|
|
789
|
+
super({
|
|
790
|
+
name: "PolicyNotFound",
|
|
791
|
+
$fault: "client",
|
|
792
|
+
...opts
|
|
793
|
+
});
|
|
794
|
+
this.name = "PolicyNotFound";
|
|
795
|
+
this.$fault = "client";
|
|
796
|
+
Object.setPrototypeOf(this, _PolicyNotFound.prototype);
|
|
797
|
+
this.ErrorCode = opts.ErrorCode;
|
|
798
|
+
this.Message = opts.Message;
|
|
799
|
+
}
|
|
800
|
+
};
|
|
801
|
+
__name(_PolicyNotFound, "PolicyNotFound");
|
|
802
|
+
var PolicyNotFound = _PolicyNotFound;
|
|
803
|
+
var TransitionToArchiveRules = {
|
|
804
|
+
AFTER_14_DAYS: "AFTER_14_DAYS",
|
|
805
|
+
AFTER_180_DAYS: "AFTER_180_DAYS",
|
|
806
|
+
AFTER_1_DAY: "AFTER_1_DAY",
|
|
807
|
+
AFTER_270_DAYS: "AFTER_270_DAYS",
|
|
808
|
+
AFTER_30_DAYS: "AFTER_30_DAYS",
|
|
809
|
+
AFTER_365_DAYS: "AFTER_365_DAYS",
|
|
810
|
+
AFTER_60_DAYS: "AFTER_60_DAYS",
|
|
811
|
+
AFTER_7_DAYS: "AFTER_7_DAYS",
|
|
812
|
+
AFTER_90_DAYS: "AFTER_90_DAYS"
|
|
813
|
+
};
|
|
814
|
+
var TransitionToIARules = {
|
|
815
|
+
AFTER_14_DAYS: "AFTER_14_DAYS",
|
|
816
|
+
AFTER_180_DAYS: "AFTER_180_DAYS",
|
|
817
|
+
AFTER_1_DAY: "AFTER_1_DAY",
|
|
818
|
+
AFTER_270_DAYS: "AFTER_270_DAYS",
|
|
819
|
+
AFTER_30_DAYS: "AFTER_30_DAYS",
|
|
820
|
+
AFTER_365_DAYS: "AFTER_365_DAYS",
|
|
821
|
+
AFTER_60_DAYS: "AFTER_60_DAYS",
|
|
822
|
+
AFTER_7_DAYS: "AFTER_7_DAYS",
|
|
823
|
+
AFTER_90_DAYS: "AFTER_90_DAYS"
|
|
824
|
+
};
|
|
825
|
+
var TransitionToPrimaryStorageClassRules = {
|
|
826
|
+
AFTER_1_ACCESS: "AFTER_1_ACCESS"
|
|
827
|
+
};
|
|
828
|
+
var _IncorrectMountTargetState = class _IncorrectMountTargetState extends EFSServiceException {
|
|
829
|
+
/**
|
|
830
|
+
* @internal
|
|
831
|
+
*/
|
|
832
|
+
constructor(opts) {
|
|
833
|
+
super({
|
|
834
|
+
name: "IncorrectMountTargetState",
|
|
835
|
+
$fault: "client",
|
|
836
|
+
...opts
|
|
837
|
+
});
|
|
838
|
+
this.name = "IncorrectMountTargetState";
|
|
839
|
+
this.$fault = "client";
|
|
840
|
+
Object.setPrototypeOf(this, _IncorrectMountTargetState.prototype);
|
|
841
|
+
this.ErrorCode = opts.ErrorCode;
|
|
842
|
+
this.Message = opts.Message;
|
|
843
|
+
}
|
|
844
|
+
};
|
|
845
|
+
__name(_IncorrectMountTargetState, "IncorrectMountTargetState");
|
|
846
|
+
var IncorrectMountTargetState = _IncorrectMountTargetState;
|
|
847
|
+
var _InvalidPolicyException = class _InvalidPolicyException extends EFSServiceException {
|
|
848
|
+
/**
|
|
849
|
+
* @internal
|
|
850
|
+
*/
|
|
851
|
+
constructor(opts) {
|
|
852
|
+
super({
|
|
853
|
+
name: "InvalidPolicyException",
|
|
854
|
+
$fault: "client",
|
|
855
|
+
...opts
|
|
856
|
+
});
|
|
857
|
+
this.name = "InvalidPolicyException";
|
|
858
|
+
this.$fault = "client";
|
|
859
|
+
Object.setPrototypeOf(this, _InvalidPolicyException.prototype);
|
|
860
|
+
this.ErrorCode = opts.ErrorCode;
|
|
861
|
+
this.Message = opts.Message;
|
|
862
|
+
}
|
|
863
|
+
};
|
|
864
|
+
__name(_InvalidPolicyException, "InvalidPolicyException");
|
|
865
|
+
var InvalidPolicyException = _InvalidPolicyException;
|
|
866
|
+
var _TooManyRequests = class _TooManyRequests extends EFSServiceException {
|
|
867
|
+
/**
|
|
868
|
+
* @internal
|
|
869
|
+
*/
|
|
870
|
+
constructor(opts) {
|
|
871
|
+
super({
|
|
872
|
+
name: "TooManyRequests",
|
|
873
|
+
$fault: "client",
|
|
874
|
+
...opts
|
|
875
|
+
});
|
|
876
|
+
this.name = "TooManyRequests";
|
|
877
|
+
this.$fault = "client";
|
|
878
|
+
Object.setPrototypeOf(this, _TooManyRequests.prototype);
|
|
879
|
+
this.ErrorCode = opts.ErrorCode;
|
|
880
|
+
this.Message = opts.Message;
|
|
881
|
+
}
|
|
882
|
+
};
|
|
883
|
+
__name(_TooManyRequests, "TooManyRequests");
|
|
884
|
+
var TooManyRequests = _TooManyRequests;
|
|
885
|
+
var _ReplicationAlreadyExists = class _ReplicationAlreadyExists extends EFSServiceException {
|
|
886
|
+
/**
|
|
887
|
+
* @internal
|
|
888
|
+
*/
|
|
889
|
+
constructor(opts) {
|
|
890
|
+
super({
|
|
891
|
+
name: "ReplicationAlreadyExists",
|
|
892
|
+
$fault: "client",
|
|
893
|
+
...opts
|
|
894
|
+
});
|
|
895
|
+
this.name = "ReplicationAlreadyExists";
|
|
896
|
+
this.$fault = "client";
|
|
897
|
+
Object.setPrototypeOf(this, _ReplicationAlreadyExists.prototype);
|
|
898
|
+
this.ErrorCode = opts.ErrorCode;
|
|
899
|
+
this.Message = opts.Message;
|
|
900
|
+
}
|
|
901
|
+
};
|
|
902
|
+
__name(_ReplicationAlreadyExists, "ReplicationAlreadyExists");
|
|
903
|
+
var ReplicationAlreadyExists = _ReplicationAlreadyExists;
|
|
904
|
+
|
|
905
|
+
// src/protocols/Aws_restJson1.ts
|
|
906
|
+
var se_CreateAccessPointCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
907
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
908
|
+
const headers = {
|
|
909
|
+
"content-type": "application/json"
|
|
910
|
+
};
|
|
911
|
+
b.bp("/2015-02-01/access-points");
|
|
912
|
+
let body;
|
|
913
|
+
body = JSON.stringify(
|
|
914
|
+
(0, import_smithy_client.take)(input, {
|
|
915
|
+
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
916
|
+
FileSystemId: [],
|
|
917
|
+
PosixUser: (_) => (0, import_smithy_client._json)(_),
|
|
918
|
+
RootDirectory: (_) => (0, import_smithy_client._json)(_),
|
|
919
|
+
Tags: (_) => (0, import_smithy_client._json)(_)
|
|
920
|
+
})
|
|
921
|
+
);
|
|
922
|
+
b.m("POST").h(headers).b(body);
|
|
923
|
+
return b.build();
|
|
924
|
+
}, "se_CreateAccessPointCommand");
|
|
925
|
+
var se_CreateFileSystemCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
926
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
927
|
+
const headers = {
|
|
928
|
+
"content-type": "application/json"
|
|
929
|
+
};
|
|
930
|
+
b.bp("/2015-02-01/file-systems");
|
|
931
|
+
let body;
|
|
932
|
+
body = JSON.stringify(
|
|
933
|
+
(0, import_smithy_client.take)(input, {
|
|
934
|
+
AvailabilityZoneName: [],
|
|
935
|
+
Backup: [],
|
|
936
|
+
CreationToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
937
|
+
Encrypted: [],
|
|
938
|
+
KmsKeyId: [],
|
|
939
|
+
PerformanceMode: [],
|
|
940
|
+
ProvisionedThroughputInMibps: (_) => (0, import_smithy_client.serializeFloat)(_),
|
|
941
|
+
Tags: (_) => (0, import_smithy_client._json)(_),
|
|
942
|
+
ThroughputMode: []
|
|
943
|
+
})
|
|
944
|
+
);
|
|
945
|
+
b.m("POST").h(headers).b(body);
|
|
946
|
+
return b.build();
|
|
947
|
+
}, "se_CreateFileSystemCommand");
|
|
948
|
+
var se_CreateMountTargetCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
949
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
950
|
+
const headers = {
|
|
951
|
+
"content-type": "application/json"
|
|
952
|
+
};
|
|
953
|
+
b.bp("/2015-02-01/mount-targets");
|
|
954
|
+
let body;
|
|
955
|
+
body = JSON.stringify(
|
|
956
|
+
(0, import_smithy_client.take)(input, {
|
|
957
|
+
FileSystemId: [],
|
|
958
|
+
IpAddress: [],
|
|
959
|
+
SecurityGroups: (_) => (0, import_smithy_client._json)(_),
|
|
960
|
+
SubnetId: []
|
|
961
|
+
})
|
|
962
|
+
);
|
|
963
|
+
b.m("POST").h(headers).b(body);
|
|
964
|
+
return b.build();
|
|
965
|
+
}, "se_CreateMountTargetCommand");
|
|
966
|
+
var se_CreateReplicationConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
967
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
968
|
+
const headers = {
|
|
969
|
+
"content-type": "application/json"
|
|
970
|
+
};
|
|
971
|
+
b.bp("/2015-02-01/file-systems/{SourceFileSystemId}/replication-configuration");
|
|
972
|
+
b.p("SourceFileSystemId", () => input.SourceFileSystemId, "{SourceFileSystemId}", false);
|
|
973
|
+
let body;
|
|
974
|
+
body = JSON.stringify(
|
|
975
|
+
(0, import_smithy_client.take)(input, {
|
|
976
|
+
Destinations: (_) => (0, import_smithy_client._json)(_)
|
|
977
|
+
})
|
|
978
|
+
);
|
|
979
|
+
b.m("POST").h(headers).b(body);
|
|
980
|
+
return b.build();
|
|
981
|
+
}, "se_CreateReplicationConfigurationCommand");
|
|
982
|
+
var se_CreateTagsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
983
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
984
|
+
const headers = {
|
|
985
|
+
"content-type": "application/json"
|
|
986
|
+
};
|
|
987
|
+
b.bp("/2015-02-01/create-tags/{FileSystemId}");
|
|
988
|
+
b.p("FileSystemId", () => input.FileSystemId, "{FileSystemId}", false);
|
|
989
|
+
let body;
|
|
990
|
+
body = JSON.stringify(
|
|
991
|
+
(0, import_smithy_client.take)(input, {
|
|
992
|
+
Tags: (_) => (0, import_smithy_client._json)(_)
|
|
993
|
+
})
|
|
994
|
+
);
|
|
995
|
+
b.m("POST").h(headers).b(body);
|
|
996
|
+
return b.build();
|
|
997
|
+
}, "se_CreateTagsCommand");
|
|
998
|
+
var se_DeleteAccessPointCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
999
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1000
|
+
const headers = {};
|
|
1001
|
+
b.bp("/2015-02-01/access-points/{AccessPointId}");
|
|
1002
|
+
b.p("AccessPointId", () => input.AccessPointId, "{AccessPointId}", false);
|
|
1003
|
+
let body;
|
|
1004
|
+
b.m("DELETE").h(headers).b(body);
|
|
1005
|
+
return b.build();
|
|
1006
|
+
}, "se_DeleteAccessPointCommand");
|
|
1007
|
+
var se_DeleteFileSystemCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1008
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1009
|
+
const headers = {};
|
|
1010
|
+
b.bp("/2015-02-01/file-systems/{FileSystemId}");
|
|
1011
|
+
b.p("FileSystemId", () => input.FileSystemId, "{FileSystemId}", false);
|
|
1012
|
+
let body;
|
|
1013
|
+
b.m("DELETE").h(headers).b(body);
|
|
1014
|
+
return b.build();
|
|
1015
|
+
}, "se_DeleteFileSystemCommand");
|
|
1016
|
+
var se_DeleteFileSystemPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1017
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1018
|
+
const headers = {};
|
|
1019
|
+
b.bp("/2015-02-01/file-systems/{FileSystemId}/policy");
|
|
1020
|
+
b.p("FileSystemId", () => input.FileSystemId, "{FileSystemId}", false);
|
|
1021
|
+
let body;
|
|
1022
|
+
b.m("DELETE").h(headers).b(body);
|
|
1023
|
+
return b.build();
|
|
1024
|
+
}, "se_DeleteFileSystemPolicyCommand");
|
|
1025
|
+
var se_DeleteMountTargetCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1026
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1027
|
+
const headers = {};
|
|
1028
|
+
b.bp("/2015-02-01/mount-targets/{MountTargetId}");
|
|
1029
|
+
b.p("MountTargetId", () => input.MountTargetId, "{MountTargetId}", false);
|
|
1030
|
+
let body;
|
|
1031
|
+
b.m("DELETE").h(headers).b(body);
|
|
1032
|
+
return b.build();
|
|
1033
|
+
}, "se_DeleteMountTargetCommand");
|
|
1034
|
+
var se_DeleteReplicationConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1035
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1036
|
+
const headers = {};
|
|
1037
|
+
b.bp("/2015-02-01/file-systems/{SourceFileSystemId}/replication-configuration");
|
|
1038
|
+
b.p("SourceFileSystemId", () => input.SourceFileSystemId, "{SourceFileSystemId}", false);
|
|
1039
|
+
let body;
|
|
1040
|
+
b.m("DELETE").h(headers).b(body);
|
|
1041
|
+
return b.build();
|
|
1042
|
+
}, "se_DeleteReplicationConfigurationCommand");
|
|
1043
|
+
var se_DeleteTagsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1044
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1045
|
+
const headers = {
|
|
1046
|
+
"content-type": "application/json"
|
|
1047
|
+
};
|
|
1048
|
+
b.bp("/2015-02-01/delete-tags/{FileSystemId}");
|
|
1049
|
+
b.p("FileSystemId", () => input.FileSystemId, "{FileSystemId}", false);
|
|
1050
|
+
let body;
|
|
1051
|
+
body = JSON.stringify(
|
|
1052
|
+
(0, import_smithy_client.take)(input, {
|
|
1053
|
+
TagKeys: (_) => (0, import_smithy_client._json)(_)
|
|
1054
|
+
})
|
|
1055
|
+
);
|
|
1056
|
+
b.m("POST").h(headers).b(body);
|
|
1057
|
+
return b.build();
|
|
1058
|
+
}, "se_DeleteTagsCommand");
|
|
1059
|
+
var se_DescribeAccessPointsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1060
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1061
|
+
const headers = {};
|
|
1062
|
+
b.bp("/2015-02-01/access-points");
|
|
1063
|
+
const query = (0, import_smithy_client.map)({
|
|
1064
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
1065
|
+
[_NT]: [, input[_NT]],
|
|
1066
|
+
[_API]: [, input[_API]],
|
|
1067
|
+
[_FSI]: [, input[_FSI]]
|
|
1068
|
+
});
|
|
1069
|
+
let body;
|
|
1070
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1071
|
+
return b.build();
|
|
1072
|
+
}, "se_DescribeAccessPointsCommand");
|
|
1073
|
+
var se_DescribeAccountPreferencesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1074
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1075
|
+
const headers = {
|
|
1076
|
+
"content-type": "application/json"
|
|
1077
|
+
};
|
|
1078
|
+
b.bp("/2015-02-01/account-preferences");
|
|
1079
|
+
let body;
|
|
1080
|
+
body = JSON.stringify(
|
|
1081
|
+
(0, import_smithy_client.take)(input, {
|
|
1082
|
+
MaxResults: [],
|
|
1083
|
+
NextToken: []
|
|
1084
|
+
})
|
|
1085
|
+
);
|
|
1086
|
+
b.m("GET").h(headers).b(body);
|
|
1087
|
+
return b.build();
|
|
1088
|
+
}, "se_DescribeAccountPreferencesCommand");
|
|
1089
|
+
var se_DescribeBackupPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1090
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1091
|
+
const headers = {};
|
|
1092
|
+
b.bp("/2015-02-01/file-systems/{FileSystemId}/backup-policy");
|
|
1093
|
+
b.p("FileSystemId", () => input.FileSystemId, "{FileSystemId}", false);
|
|
1094
|
+
let body;
|
|
1095
|
+
b.m("GET").h(headers).b(body);
|
|
1096
|
+
return b.build();
|
|
1097
|
+
}, "se_DescribeBackupPolicyCommand");
|
|
1098
|
+
var se_DescribeFileSystemPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1099
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1100
|
+
const headers = {};
|
|
1101
|
+
b.bp("/2015-02-01/file-systems/{FileSystemId}/policy");
|
|
1102
|
+
b.p("FileSystemId", () => input.FileSystemId, "{FileSystemId}", false);
|
|
1103
|
+
let body;
|
|
1104
|
+
b.m("GET").h(headers).b(body);
|
|
1105
|
+
return b.build();
|
|
1106
|
+
}, "se_DescribeFileSystemPolicyCommand");
|
|
1107
|
+
var se_DescribeFileSystemsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1108
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1109
|
+
const headers = {};
|
|
1110
|
+
b.bp("/2015-02-01/file-systems");
|
|
1111
|
+
const query = (0, import_smithy_client.map)({
|
|
1112
|
+
[_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
|
|
1113
|
+
[_M]: [, input[_M]],
|
|
1114
|
+
[_CT]: [, input[_CT]],
|
|
1115
|
+
[_FSI]: [, input[_FSI]]
|
|
1116
|
+
});
|
|
1117
|
+
let body;
|
|
1118
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1119
|
+
return b.build();
|
|
1120
|
+
}, "se_DescribeFileSystemsCommand");
|
|
1121
|
+
var se_DescribeLifecycleConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1122
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1123
|
+
const headers = {};
|
|
1124
|
+
b.bp("/2015-02-01/file-systems/{FileSystemId}/lifecycle-configuration");
|
|
1125
|
+
b.p("FileSystemId", () => input.FileSystemId, "{FileSystemId}", false);
|
|
1126
|
+
let body;
|
|
1127
|
+
b.m("GET").h(headers).b(body);
|
|
1128
|
+
return b.build();
|
|
1129
|
+
}, "se_DescribeLifecycleConfigurationCommand");
|
|
1130
|
+
var se_DescribeMountTargetsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1131
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1132
|
+
const headers = {};
|
|
1133
|
+
b.bp("/2015-02-01/mount-targets");
|
|
1134
|
+
const query = (0, import_smithy_client.map)({
|
|
1135
|
+
[_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
|
|
1136
|
+
[_M]: [, input[_M]],
|
|
1137
|
+
[_FSI]: [, input[_FSI]],
|
|
1138
|
+
[_MTI]: [, input[_MTI]],
|
|
1139
|
+
[_API]: [, input[_API]]
|
|
1140
|
+
});
|
|
1141
|
+
let body;
|
|
1142
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1143
|
+
return b.build();
|
|
1144
|
+
}, "se_DescribeMountTargetsCommand");
|
|
1145
|
+
var se_DescribeMountTargetSecurityGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1146
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1147
|
+
const headers = {};
|
|
1148
|
+
b.bp("/2015-02-01/mount-targets/{MountTargetId}/security-groups");
|
|
1149
|
+
b.p("MountTargetId", () => input.MountTargetId, "{MountTargetId}", false);
|
|
1150
|
+
let body;
|
|
1151
|
+
b.m("GET").h(headers).b(body);
|
|
1152
|
+
return b.build();
|
|
1153
|
+
}, "se_DescribeMountTargetSecurityGroupsCommand");
|
|
1154
|
+
var se_DescribeReplicationConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1155
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1156
|
+
const headers = {};
|
|
1157
|
+
b.bp("/2015-02-01/file-systems/replication-configurations");
|
|
1158
|
+
const query = (0, import_smithy_client.map)({
|
|
1159
|
+
[_FSI]: [, input[_FSI]],
|
|
1160
|
+
[_NT]: [, input[_NT]],
|
|
1161
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]
|
|
1162
|
+
});
|
|
1163
|
+
let body;
|
|
1164
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1165
|
+
return b.build();
|
|
1166
|
+
}, "se_DescribeReplicationConfigurationsCommand");
|
|
1167
|
+
var se_DescribeTagsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1168
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1169
|
+
const headers = {};
|
|
1170
|
+
b.bp("/2015-02-01/tags/{FileSystemId}");
|
|
1171
|
+
b.p("FileSystemId", () => input.FileSystemId, "{FileSystemId}", false);
|
|
1172
|
+
const query = (0, import_smithy_client.map)({
|
|
1173
|
+
[_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
|
|
1174
|
+
[_M]: [, input[_M]]
|
|
1175
|
+
});
|
|
1176
|
+
let body;
|
|
1177
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1178
|
+
return b.build();
|
|
1179
|
+
}, "se_DescribeTagsCommand");
|
|
1180
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1181
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1182
|
+
const headers = {};
|
|
1183
|
+
b.bp("/2015-02-01/resource-tags/{ResourceId}");
|
|
1184
|
+
b.p("ResourceId", () => input.ResourceId, "{ResourceId}", false);
|
|
1185
|
+
const query = (0, import_smithy_client.map)({
|
|
1186
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
1187
|
+
[_NT]: [, input[_NT]]
|
|
1188
|
+
});
|
|
1189
|
+
let body;
|
|
1190
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1191
|
+
return b.build();
|
|
1192
|
+
}, "se_ListTagsForResourceCommand");
|
|
1193
|
+
var se_ModifyMountTargetSecurityGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1194
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1195
|
+
const headers = {
|
|
1196
|
+
"content-type": "application/json"
|
|
1197
|
+
};
|
|
1198
|
+
b.bp("/2015-02-01/mount-targets/{MountTargetId}/security-groups");
|
|
1199
|
+
b.p("MountTargetId", () => input.MountTargetId, "{MountTargetId}", false);
|
|
1200
|
+
let body;
|
|
1201
|
+
body = JSON.stringify(
|
|
1202
|
+
(0, import_smithy_client.take)(input, {
|
|
1203
|
+
SecurityGroups: (_) => (0, import_smithy_client._json)(_)
|
|
1204
|
+
})
|
|
1205
|
+
);
|
|
1206
|
+
b.m("PUT").h(headers).b(body);
|
|
1207
|
+
return b.build();
|
|
1208
|
+
}, "se_ModifyMountTargetSecurityGroupsCommand");
|
|
1209
|
+
var se_PutAccountPreferencesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1210
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1211
|
+
const headers = {
|
|
1212
|
+
"content-type": "application/json"
|
|
1213
|
+
};
|
|
1214
|
+
b.bp("/2015-02-01/account-preferences");
|
|
1215
|
+
let body;
|
|
1216
|
+
body = JSON.stringify(
|
|
1217
|
+
(0, import_smithy_client.take)(input, {
|
|
1218
|
+
ResourceIdType: []
|
|
1219
|
+
})
|
|
1220
|
+
);
|
|
1221
|
+
b.m("PUT").h(headers).b(body);
|
|
1222
|
+
return b.build();
|
|
1223
|
+
}, "se_PutAccountPreferencesCommand");
|
|
1224
|
+
var se_PutBackupPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1225
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1226
|
+
const headers = {
|
|
1227
|
+
"content-type": "application/json"
|
|
1228
|
+
};
|
|
1229
|
+
b.bp("/2015-02-01/file-systems/{FileSystemId}/backup-policy");
|
|
1230
|
+
b.p("FileSystemId", () => input.FileSystemId, "{FileSystemId}", false);
|
|
1231
|
+
let body;
|
|
1232
|
+
body = JSON.stringify(
|
|
1233
|
+
(0, import_smithy_client.take)(input, {
|
|
1234
|
+
BackupPolicy: (_) => (0, import_smithy_client._json)(_)
|
|
1235
|
+
})
|
|
1236
|
+
);
|
|
1237
|
+
b.m("PUT").h(headers).b(body);
|
|
1238
|
+
return b.build();
|
|
1239
|
+
}, "se_PutBackupPolicyCommand");
|
|
1240
|
+
var se_PutFileSystemPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1241
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1242
|
+
const headers = {
|
|
1243
|
+
"content-type": "application/json"
|
|
1244
|
+
};
|
|
1245
|
+
b.bp("/2015-02-01/file-systems/{FileSystemId}/policy");
|
|
1246
|
+
b.p("FileSystemId", () => input.FileSystemId, "{FileSystemId}", false);
|
|
1247
|
+
let body;
|
|
1248
|
+
body = JSON.stringify(
|
|
1249
|
+
(0, import_smithy_client.take)(input, {
|
|
1250
|
+
BypassPolicyLockoutSafetyCheck: [],
|
|
1251
|
+
Policy: []
|
|
1252
|
+
})
|
|
1253
|
+
);
|
|
1254
|
+
b.m("PUT").h(headers).b(body);
|
|
1255
|
+
return b.build();
|
|
1256
|
+
}, "se_PutFileSystemPolicyCommand");
|
|
1257
|
+
var se_PutLifecycleConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1258
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1259
|
+
const headers = {
|
|
1260
|
+
"content-type": "application/json"
|
|
1261
|
+
};
|
|
1262
|
+
b.bp("/2015-02-01/file-systems/{FileSystemId}/lifecycle-configuration");
|
|
1263
|
+
b.p("FileSystemId", () => input.FileSystemId, "{FileSystemId}", false);
|
|
1264
|
+
let body;
|
|
1265
|
+
body = JSON.stringify(
|
|
1266
|
+
(0, import_smithy_client.take)(input, {
|
|
1267
|
+
LifecyclePolicies: (_) => (0, import_smithy_client._json)(_)
|
|
1268
|
+
})
|
|
1269
|
+
);
|
|
1270
|
+
b.m("PUT").h(headers).b(body);
|
|
1271
|
+
return b.build();
|
|
1272
|
+
}, "se_PutLifecycleConfigurationCommand");
|
|
1273
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1274
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1275
|
+
const headers = {
|
|
1276
|
+
"content-type": "application/json"
|
|
1277
|
+
};
|
|
1278
|
+
b.bp("/2015-02-01/resource-tags/{ResourceId}");
|
|
1279
|
+
b.p("ResourceId", () => input.ResourceId, "{ResourceId}", false);
|
|
1280
|
+
let body;
|
|
1281
|
+
body = JSON.stringify(
|
|
1282
|
+
(0, import_smithy_client.take)(input, {
|
|
1283
|
+
Tags: (_) => (0, import_smithy_client._json)(_)
|
|
1284
|
+
})
|
|
1285
|
+
);
|
|
1286
|
+
b.m("POST").h(headers).b(body);
|
|
1287
|
+
return b.build();
|
|
1288
|
+
}, "se_TagResourceCommand");
|
|
1289
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1290
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1291
|
+
const headers = {};
|
|
1292
|
+
b.bp("/2015-02-01/resource-tags/{ResourceId}");
|
|
1293
|
+
b.p("ResourceId", () => input.ResourceId, "{ResourceId}", false);
|
|
1294
|
+
const query = (0, import_smithy_client.map)({
|
|
1295
|
+
[_tK]: [
|
|
1296
|
+
(0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null,
|
|
1297
|
+
() => (input[_TK] || []).map((_entry) => _entry)
|
|
1298
|
+
]
|
|
1299
|
+
});
|
|
1300
|
+
let body;
|
|
1301
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
1302
|
+
return b.build();
|
|
1303
|
+
}, "se_UntagResourceCommand");
|
|
1304
|
+
var se_UpdateFileSystemCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1305
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1306
|
+
const headers = {
|
|
1307
|
+
"content-type": "application/json"
|
|
1308
|
+
};
|
|
1309
|
+
b.bp("/2015-02-01/file-systems/{FileSystemId}");
|
|
1310
|
+
b.p("FileSystemId", () => input.FileSystemId, "{FileSystemId}", false);
|
|
1311
|
+
let body;
|
|
1312
|
+
body = JSON.stringify(
|
|
1313
|
+
(0, import_smithy_client.take)(input, {
|
|
1314
|
+
ProvisionedThroughputInMibps: (_) => (0, import_smithy_client.serializeFloat)(_),
|
|
1315
|
+
ThroughputMode: []
|
|
1316
|
+
})
|
|
1317
|
+
);
|
|
1318
|
+
b.m("PUT").h(headers).b(body);
|
|
1319
|
+
return b.build();
|
|
1320
|
+
}, "se_UpdateFileSystemCommand");
|
|
1321
|
+
var se_UpdateFileSystemProtectionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1322
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1323
|
+
const headers = {
|
|
1324
|
+
"content-type": "application/json"
|
|
1325
|
+
};
|
|
1326
|
+
b.bp("/2015-02-01/file-systems/{FileSystemId}/protection");
|
|
1327
|
+
b.p("FileSystemId", () => input.FileSystemId, "{FileSystemId}", false);
|
|
1328
|
+
let body;
|
|
1329
|
+
body = JSON.stringify(
|
|
1330
|
+
(0, import_smithy_client.take)(input, {
|
|
1331
|
+
ReplicationOverwriteProtection: []
|
|
1332
|
+
})
|
|
1333
|
+
);
|
|
1334
|
+
b.m("PUT").h(headers).b(body);
|
|
1335
|
+
return b.build();
|
|
1336
|
+
}, "se_UpdateFileSystemProtectionCommand");
|
|
1337
|
+
var de_CreateAccessPointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1338
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1339
|
+
return de_CreateAccessPointCommandError(output, context);
|
|
1340
|
+
}
|
|
1341
|
+
const contents = (0, import_smithy_client.map)({
|
|
1342
|
+
$metadata: deserializeMetadata(output)
|
|
1343
|
+
});
|
|
1344
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1345
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1346
|
+
AccessPointArn: import_smithy_client.expectString,
|
|
1347
|
+
AccessPointId: import_smithy_client.expectString,
|
|
1348
|
+
ClientToken: import_smithy_client.expectString,
|
|
1349
|
+
FileSystemId: import_smithy_client.expectString,
|
|
1350
|
+
LifeCycleState: import_smithy_client.expectString,
|
|
1351
|
+
Name: import_smithy_client.expectString,
|
|
1352
|
+
OwnerId: import_smithy_client.expectString,
|
|
1353
|
+
PosixUser: import_smithy_client._json,
|
|
1354
|
+
RootDirectory: import_smithy_client._json,
|
|
1355
|
+
Tags: import_smithy_client._json
|
|
1356
|
+
});
|
|
1357
|
+
Object.assign(contents, doc);
|
|
1358
|
+
return contents;
|
|
1359
|
+
}, "de_CreateAccessPointCommand");
|
|
1360
|
+
var de_CreateAccessPointCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1361
|
+
const parsedOutput = {
|
|
1362
|
+
...output,
|
|
1363
|
+
body: await parseErrorBody(output.body, context)
|
|
1364
|
+
};
|
|
1365
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1366
|
+
switch (errorCode) {
|
|
1367
|
+
case "AccessPointAlreadyExists":
|
|
1368
|
+
case "com.amazonaws.efs#AccessPointAlreadyExists":
|
|
1369
|
+
throw await de_AccessPointAlreadyExistsRes(parsedOutput, context);
|
|
1370
|
+
case "AccessPointLimitExceeded":
|
|
1371
|
+
case "com.amazonaws.efs#AccessPointLimitExceeded":
|
|
1372
|
+
throw await de_AccessPointLimitExceededRes(parsedOutput, context);
|
|
1373
|
+
case "BadRequest":
|
|
1374
|
+
case "com.amazonaws.efs#BadRequest":
|
|
1375
|
+
throw await de_BadRequestRes(parsedOutput, context);
|
|
1376
|
+
case "FileSystemNotFound":
|
|
1377
|
+
case "com.amazonaws.efs#FileSystemNotFound":
|
|
1378
|
+
throw await de_FileSystemNotFoundRes(parsedOutput, context);
|
|
1379
|
+
case "IncorrectFileSystemLifeCycleState":
|
|
1380
|
+
case "com.amazonaws.efs#IncorrectFileSystemLifeCycleState":
|
|
1381
|
+
throw await de_IncorrectFileSystemLifeCycleStateRes(parsedOutput, context);
|
|
1382
|
+
case "InternalServerError":
|
|
1383
|
+
case "com.amazonaws.efs#InternalServerError":
|
|
1384
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1385
|
+
case "ThrottlingException":
|
|
1386
|
+
case "com.amazonaws.efs#ThrottlingException":
|
|
1387
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1388
|
+
default:
|
|
1389
|
+
const parsedBody = parsedOutput.body;
|
|
1390
|
+
return throwDefaultError({
|
|
1391
|
+
output,
|
|
1392
|
+
parsedBody,
|
|
1393
|
+
errorCode
|
|
1394
|
+
});
|
|
1395
|
+
}
|
|
1396
|
+
}, "de_CreateAccessPointCommandError");
|
|
1397
|
+
var de_CreateFileSystemCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1398
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1399
|
+
return de_CreateFileSystemCommandError(output, context);
|
|
1400
|
+
}
|
|
1401
|
+
const contents = (0, import_smithy_client.map)({
|
|
1402
|
+
$metadata: deserializeMetadata(output)
|
|
1403
|
+
});
|
|
1404
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1405
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1406
|
+
AvailabilityZoneId: import_smithy_client.expectString,
|
|
1407
|
+
AvailabilityZoneName: import_smithy_client.expectString,
|
|
1408
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1409
|
+
CreationToken: import_smithy_client.expectString,
|
|
1410
|
+
Encrypted: import_smithy_client.expectBoolean,
|
|
1411
|
+
FileSystemArn: import_smithy_client.expectString,
|
|
1412
|
+
FileSystemId: import_smithy_client.expectString,
|
|
1413
|
+
FileSystemProtection: import_smithy_client._json,
|
|
1414
|
+
KmsKeyId: import_smithy_client.expectString,
|
|
1415
|
+
LifeCycleState: import_smithy_client.expectString,
|
|
1416
|
+
Name: import_smithy_client.expectString,
|
|
1417
|
+
NumberOfMountTargets: import_smithy_client.expectInt32,
|
|
1418
|
+
OwnerId: import_smithy_client.expectString,
|
|
1419
|
+
PerformanceMode: import_smithy_client.expectString,
|
|
1420
|
+
ProvisionedThroughputInMibps: import_smithy_client.limitedParseDouble,
|
|
1421
|
+
SizeInBytes: (_) => de_FileSystemSize(_, context),
|
|
1422
|
+
Tags: import_smithy_client._json,
|
|
1423
|
+
ThroughputMode: import_smithy_client.expectString
|
|
1424
|
+
});
|
|
1425
|
+
Object.assign(contents, doc);
|
|
1426
|
+
return contents;
|
|
1427
|
+
}, "de_CreateFileSystemCommand");
|
|
1428
|
+
var de_CreateFileSystemCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1429
|
+
const parsedOutput = {
|
|
1430
|
+
...output,
|
|
1431
|
+
body: await parseErrorBody(output.body, context)
|
|
1432
|
+
};
|
|
1433
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1434
|
+
switch (errorCode) {
|
|
1435
|
+
case "BadRequest":
|
|
1436
|
+
case "com.amazonaws.efs#BadRequest":
|
|
1437
|
+
throw await de_BadRequestRes(parsedOutput, context);
|
|
1438
|
+
case "FileSystemAlreadyExists":
|
|
1439
|
+
case "com.amazonaws.efs#FileSystemAlreadyExists":
|
|
1440
|
+
throw await de_FileSystemAlreadyExistsRes(parsedOutput, context);
|
|
1441
|
+
case "FileSystemLimitExceeded":
|
|
1442
|
+
case "com.amazonaws.efs#FileSystemLimitExceeded":
|
|
1443
|
+
throw await de_FileSystemLimitExceededRes(parsedOutput, context);
|
|
1444
|
+
case "InsufficientThroughputCapacity":
|
|
1445
|
+
case "com.amazonaws.efs#InsufficientThroughputCapacity":
|
|
1446
|
+
throw await de_InsufficientThroughputCapacityRes(parsedOutput, context);
|
|
1447
|
+
case "InternalServerError":
|
|
1448
|
+
case "com.amazonaws.efs#InternalServerError":
|
|
1449
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1450
|
+
case "ThroughputLimitExceeded":
|
|
1451
|
+
case "com.amazonaws.efs#ThroughputLimitExceeded":
|
|
1452
|
+
throw await de_ThroughputLimitExceededRes(parsedOutput, context);
|
|
1453
|
+
case "UnsupportedAvailabilityZone":
|
|
1454
|
+
case "com.amazonaws.efs#UnsupportedAvailabilityZone":
|
|
1455
|
+
throw await de_UnsupportedAvailabilityZoneRes(parsedOutput, context);
|
|
1456
|
+
default:
|
|
1457
|
+
const parsedBody = parsedOutput.body;
|
|
1458
|
+
return throwDefaultError({
|
|
1459
|
+
output,
|
|
1460
|
+
parsedBody,
|
|
1461
|
+
errorCode
|
|
1462
|
+
});
|
|
1463
|
+
}
|
|
1464
|
+
}, "de_CreateFileSystemCommandError");
|
|
1465
|
+
var de_CreateMountTargetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1466
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1467
|
+
return de_CreateMountTargetCommandError(output, context);
|
|
1468
|
+
}
|
|
1469
|
+
const contents = (0, import_smithy_client.map)({
|
|
1470
|
+
$metadata: deserializeMetadata(output)
|
|
1471
|
+
});
|
|
1472
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1473
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1474
|
+
AvailabilityZoneId: import_smithy_client.expectString,
|
|
1475
|
+
AvailabilityZoneName: import_smithy_client.expectString,
|
|
1476
|
+
FileSystemId: import_smithy_client.expectString,
|
|
1477
|
+
IpAddress: import_smithy_client.expectString,
|
|
1478
|
+
LifeCycleState: import_smithy_client.expectString,
|
|
1479
|
+
MountTargetId: import_smithy_client.expectString,
|
|
1480
|
+
NetworkInterfaceId: import_smithy_client.expectString,
|
|
1481
|
+
OwnerId: import_smithy_client.expectString,
|
|
1482
|
+
SubnetId: import_smithy_client.expectString,
|
|
1483
|
+
VpcId: import_smithy_client.expectString
|
|
1484
|
+
});
|
|
1485
|
+
Object.assign(contents, doc);
|
|
1486
|
+
return contents;
|
|
1487
|
+
}, "de_CreateMountTargetCommand");
|
|
1488
|
+
var de_CreateMountTargetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1489
|
+
const parsedOutput = {
|
|
1490
|
+
...output,
|
|
1491
|
+
body: await parseErrorBody(output.body, context)
|
|
1492
|
+
};
|
|
1493
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1494
|
+
switch (errorCode) {
|
|
1495
|
+
case "AvailabilityZonesMismatch":
|
|
1496
|
+
case "com.amazonaws.efs#AvailabilityZonesMismatch":
|
|
1497
|
+
throw await de_AvailabilityZonesMismatchRes(parsedOutput, context);
|
|
1498
|
+
case "BadRequest":
|
|
1499
|
+
case "com.amazonaws.efs#BadRequest":
|
|
1500
|
+
throw await de_BadRequestRes(parsedOutput, context);
|
|
1501
|
+
case "FileSystemNotFound":
|
|
1502
|
+
case "com.amazonaws.efs#FileSystemNotFound":
|
|
1503
|
+
throw await de_FileSystemNotFoundRes(parsedOutput, context);
|
|
1504
|
+
case "IncorrectFileSystemLifeCycleState":
|
|
1505
|
+
case "com.amazonaws.efs#IncorrectFileSystemLifeCycleState":
|
|
1506
|
+
throw await de_IncorrectFileSystemLifeCycleStateRes(parsedOutput, context);
|
|
1507
|
+
case "InternalServerError":
|
|
1508
|
+
case "com.amazonaws.efs#InternalServerError":
|
|
1509
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1510
|
+
case "IpAddressInUse":
|
|
1511
|
+
case "com.amazonaws.efs#IpAddressInUse":
|
|
1512
|
+
throw await de_IpAddressInUseRes(parsedOutput, context);
|
|
1513
|
+
case "MountTargetConflict":
|
|
1514
|
+
case "com.amazonaws.efs#MountTargetConflict":
|
|
1515
|
+
throw await de_MountTargetConflictRes(parsedOutput, context);
|
|
1516
|
+
case "NetworkInterfaceLimitExceeded":
|
|
1517
|
+
case "com.amazonaws.efs#NetworkInterfaceLimitExceeded":
|
|
1518
|
+
throw await de_NetworkInterfaceLimitExceededRes(parsedOutput, context);
|
|
1519
|
+
case "NoFreeAddressesInSubnet":
|
|
1520
|
+
case "com.amazonaws.efs#NoFreeAddressesInSubnet":
|
|
1521
|
+
throw await de_NoFreeAddressesInSubnetRes(parsedOutput, context);
|
|
1522
|
+
case "SecurityGroupLimitExceeded":
|
|
1523
|
+
case "com.amazonaws.efs#SecurityGroupLimitExceeded":
|
|
1524
|
+
throw await de_SecurityGroupLimitExceededRes(parsedOutput, context);
|
|
1525
|
+
case "SecurityGroupNotFound":
|
|
1526
|
+
case "com.amazonaws.efs#SecurityGroupNotFound":
|
|
1527
|
+
throw await de_SecurityGroupNotFoundRes(parsedOutput, context);
|
|
1528
|
+
case "SubnetNotFound":
|
|
1529
|
+
case "com.amazonaws.efs#SubnetNotFound":
|
|
1530
|
+
throw await de_SubnetNotFoundRes(parsedOutput, context);
|
|
1531
|
+
case "UnsupportedAvailabilityZone":
|
|
1532
|
+
case "com.amazonaws.efs#UnsupportedAvailabilityZone":
|
|
1533
|
+
throw await de_UnsupportedAvailabilityZoneRes(parsedOutput, context);
|
|
1534
|
+
default:
|
|
1535
|
+
const parsedBody = parsedOutput.body;
|
|
1536
|
+
return throwDefaultError({
|
|
1537
|
+
output,
|
|
1538
|
+
parsedBody,
|
|
1539
|
+
errorCode
|
|
1540
|
+
});
|
|
1541
|
+
}
|
|
1542
|
+
}, "de_CreateMountTargetCommandError");
|
|
1543
|
+
var de_CreateReplicationConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1544
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1545
|
+
return de_CreateReplicationConfigurationCommandError(output, context);
|
|
1546
|
+
}
|
|
1547
|
+
const contents = (0, import_smithy_client.map)({
|
|
1548
|
+
$metadata: deserializeMetadata(output)
|
|
1549
|
+
});
|
|
1550
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1551
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1552
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1553
|
+
Destinations: (_) => de_Destinations(_, context),
|
|
1554
|
+
OriginalSourceFileSystemArn: import_smithy_client.expectString,
|
|
1555
|
+
SourceFileSystemArn: import_smithy_client.expectString,
|
|
1556
|
+
SourceFileSystemId: import_smithy_client.expectString,
|
|
1557
|
+
SourceFileSystemRegion: import_smithy_client.expectString
|
|
1558
|
+
});
|
|
1559
|
+
Object.assign(contents, doc);
|
|
1560
|
+
return contents;
|
|
1561
|
+
}, "de_CreateReplicationConfigurationCommand");
|
|
1562
|
+
var de_CreateReplicationConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1563
|
+
const parsedOutput = {
|
|
1564
|
+
...output,
|
|
1565
|
+
body: await parseErrorBody(output.body, context)
|
|
1566
|
+
};
|
|
1567
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1568
|
+
switch (errorCode) {
|
|
1569
|
+
case "BadRequest":
|
|
1570
|
+
case "com.amazonaws.efs#BadRequest":
|
|
1571
|
+
throw await de_BadRequestRes(parsedOutput, context);
|
|
1572
|
+
case "ConflictException":
|
|
1573
|
+
case "com.amazonaws.efs#ConflictException":
|
|
1574
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1575
|
+
case "FileSystemLimitExceeded":
|
|
1576
|
+
case "com.amazonaws.efs#FileSystemLimitExceeded":
|
|
1577
|
+
throw await de_FileSystemLimitExceededRes(parsedOutput, context);
|
|
1578
|
+
case "FileSystemNotFound":
|
|
1579
|
+
case "com.amazonaws.efs#FileSystemNotFound":
|
|
1580
|
+
throw await de_FileSystemNotFoundRes(parsedOutput, context);
|
|
1581
|
+
case "IncorrectFileSystemLifeCycleState":
|
|
1582
|
+
case "com.amazonaws.efs#IncorrectFileSystemLifeCycleState":
|
|
1583
|
+
throw await de_IncorrectFileSystemLifeCycleStateRes(parsedOutput, context);
|
|
1584
|
+
case "InsufficientThroughputCapacity":
|
|
1585
|
+
case "com.amazonaws.efs#InsufficientThroughputCapacity":
|
|
1586
|
+
throw await de_InsufficientThroughputCapacityRes(parsedOutput, context);
|
|
1587
|
+
case "InternalServerError":
|
|
1588
|
+
case "com.amazonaws.efs#InternalServerError":
|
|
1589
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1590
|
+
case "ReplicationNotFound":
|
|
1591
|
+
case "com.amazonaws.efs#ReplicationNotFound":
|
|
1592
|
+
throw await de_ReplicationNotFoundRes(parsedOutput, context);
|
|
1593
|
+
case "ThroughputLimitExceeded":
|
|
1594
|
+
case "com.amazonaws.efs#ThroughputLimitExceeded":
|
|
1595
|
+
throw await de_ThroughputLimitExceededRes(parsedOutput, context);
|
|
1596
|
+
case "UnsupportedAvailabilityZone":
|
|
1597
|
+
case "com.amazonaws.efs#UnsupportedAvailabilityZone":
|
|
1598
|
+
throw await de_UnsupportedAvailabilityZoneRes(parsedOutput, context);
|
|
1599
|
+
case "ValidationException":
|
|
1600
|
+
case "com.amazonaws.efs#ValidationException":
|
|
1601
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1602
|
+
default:
|
|
1603
|
+
const parsedBody = parsedOutput.body;
|
|
1604
|
+
return throwDefaultError({
|
|
1605
|
+
output,
|
|
1606
|
+
parsedBody,
|
|
1607
|
+
errorCode
|
|
1608
|
+
});
|
|
1609
|
+
}
|
|
1610
|
+
}, "de_CreateReplicationConfigurationCommandError");
|
|
1611
|
+
var de_CreateTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1612
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1613
|
+
return de_CreateTagsCommandError(output, context);
|
|
1614
|
+
}
|
|
1615
|
+
const contents = (0, import_smithy_client.map)({
|
|
1616
|
+
$metadata: deserializeMetadata(output)
|
|
1617
|
+
});
|
|
1618
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1619
|
+
return contents;
|
|
1620
|
+
}, "de_CreateTagsCommand");
|
|
1621
|
+
var de_CreateTagsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1622
|
+
const parsedOutput = {
|
|
1623
|
+
...output,
|
|
1624
|
+
body: await parseErrorBody(output.body, context)
|
|
1625
|
+
};
|
|
1626
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1627
|
+
switch (errorCode) {
|
|
1628
|
+
case "BadRequest":
|
|
1629
|
+
case "com.amazonaws.efs#BadRequest":
|
|
1630
|
+
throw await de_BadRequestRes(parsedOutput, context);
|
|
1631
|
+
case "FileSystemNotFound":
|
|
1632
|
+
case "com.amazonaws.efs#FileSystemNotFound":
|
|
1633
|
+
throw await de_FileSystemNotFoundRes(parsedOutput, context);
|
|
1634
|
+
case "InternalServerError":
|
|
1635
|
+
case "com.amazonaws.efs#InternalServerError":
|
|
1636
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1637
|
+
default:
|
|
1638
|
+
const parsedBody = parsedOutput.body;
|
|
1639
|
+
return throwDefaultError({
|
|
1640
|
+
output,
|
|
1641
|
+
parsedBody,
|
|
1642
|
+
errorCode
|
|
1643
|
+
});
|
|
1644
|
+
}
|
|
1645
|
+
}, "de_CreateTagsCommandError");
|
|
1646
|
+
var de_DeleteAccessPointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1647
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1648
|
+
return de_DeleteAccessPointCommandError(output, context);
|
|
1649
|
+
}
|
|
1650
|
+
const contents = (0, import_smithy_client.map)({
|
|
1651
|
+
$metadata: deserializeMetadata(output)
|
|
1652
|
+
});
|
|
1653
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1654
|
+
return contents;
|
|
1655
|
+
}, "de_DeleteAccessPointCommand");
|
|
1656
|
+
var de_DeleteAccessPointCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1657
|
+
const parsedOutput = {
|
|
1658
|
+
...output,
|
|
1659
|
+
body: await parseErrorBody(output.body, context)
|
|
1660
|
+
};
|
|
1661
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1662
|
+
switch (errorCode) {
|
|
1663
|
+
case "AccessPointNotFound":
|
|
1664
|
+
case "com.amazonaws.efs#AccessPointNotFound":
|
|
1665
|
+
throw await de_AccessPointNotFoundRes(parsedOutput, context);
|
|
1666
|
+
case "BadRequest":
|
|
1667
|
+
case "com.amazonaws.efs#BadRequest":
|
|
1668
|
+
throw await de_BadRequestRes(parsedOutput, context);
|
|
1669
|
+
case "InternalServerError":
|
|
1670
|
+
case "com.amazonaws.efs#InternalServerError":
|
|
1671
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1672
|
+
default:
|
|
1673
|
+
const parsedBody = parsedOutput.body;
|
|
1674
|
+
return throwDefaultError({
|
|
1675
|
+
output,
|
|
1676
|
+
parsedBody,
|
|
1677
|
+
errorCode
|
|
1678
|
+
});
|
|
1679
|
+
}
|
|
1680
|
+
}, "de_DeleteAccessPointCommandError");
|
|
1681
|
+
var de_DeleteFileSystemCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1682
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1683
|
+
return de_DeleteFileSystemCommandError(output, context);
|
|
1684
|
+
}
|
|
1685
|
+
const contents = (0, import_smithy_client.map)({
|
|
1686
|
+
$metadata: deserializeMetadata(output)
|
|
1687
|
+
});
|
|
1688
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1689
|
+
return contents;
|
|
1690
|
+
}, "de_DeleteFileSystemCommand");
|
|
1691
|
+
var de_DeleteFileSystemCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1692
|
+
const parsedOutput = {
|
|
1693
|
+
...output,
|
|
1694
|
+
body: await parseErrorBody(output.body, context)
|
|
1695
|
+
};
|
|
1696
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1697
|
+
switch (errorCode) {
|
|
1698
|
+
case "BadRequest":
|
|
1699
|
+
case "com.amazonaws.efs#BadRequest":
|
|
1700
|
+
throw await de_BadRequestRes(parsedOutput, context);
|
|
1701
|
+
case "FileSystemInUse":
|
|
1702
|
+
case "com.amazonaws.efs#FileSystemInUse":
|
|
1703
|
+
throw await de_FileSystemInUseRes(parsedOutput, context);
|
|
1704
|
+
case "FileSystemNotFound":
|
|
1705
|
+
case "com.amazonaws.efs#FileSystemNotFound":
|
|
1706
|
+
throw await de_FileSystemNotFoundRes(parsedOutput, context);
|
|
1707
|
+
case "InternalServerError":
|
|
1708
|
+
case "com.amazonaws.efs#InternalServerError":
|
|
1709
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1710
|
+
default:
|
|
1711
|
+
const parsedBody = parsedOutput.body;
|
|
1712
|
+
return throwDefaultError({
|
|
1713
|
+
output,
|
|
1714
|
+
parsedBody,
|
|
1715
|
+
errorCode
|
|
1716
|
+
});
|
|
1717
|
+
}
|
|
1718
|
+
}, "de_DeleteFileSystemCommandError");
|
|
1719
|
+
var de_DeleteFileSystemPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1720
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1721
|
+
return de_DeleteFileSystemPolicyCommandError(output, context);
|
|
1722
|
+
}
|
|
1723
|
+
const contents = (0, import_smithy_client.map)({
|
|
1724
|
+
$metadata: deserializeMetadata(output)
|
|
1725
|
+
});
|
|
1726
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1727
|
+
return contents;
|
|
1728
|
+
}, "de_DeleteFileSystemPolicyCommand");
|
|
1729
|
+
var de_DeleteFileSystemPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1730
|
+
const parsedOutput = {
|
|
1731
|
+
...output,
|
|
1732
|
+
body: await parseErrorBody(output.body, context)
|
|
1733
|
+
};
|
|
1734
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1735
|
+
switch (errorCode) {
|
|
1736
|
+
case "BadRequest":
|
|
1737
|
+
case "com.amazonaws.efs#BadRequest":
|
|
1738
|
+
throw await de_BadRequestRes(parsedOutput, context);
|
|
1739
|
+
case "FileSystemNotFound":
|
|
1740
|
+
case "com.amazonaws.efs#FileSystemNotFound":
|
|
1741
|
+
throw await de_FileSystemNotFoundRes(parsedOutput, context);
|
|
1742
|
+
case "IncorrectFileSystemLifeCycleState":
|
|
1743
|
+
case "com.amazonaws.efs#IncorrectFileSystemLifeCycleState":
|
|
1744
|
+
throw await de_IncorrectFileSystemLifeCycleStateRes(parsedOutput, context);
|
|
1745
|
+
case "InternalServerError":
|
|
1746
|
+
case "com.amazonaws.efs#InternalServerError":
|
|
1747
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1748
|
+
default:
|
|
1749
|
+
const parsedBody = parsedOutput.body;
|
|
1750
|
+
return throwDefaultError({
|
|
1751
|
+
output,
|
|
1752
|
+
parsedBody,
|
|
1753
|
+
errorCode
|
|
1754
|
+
});
|
|
1755
|
+
}
|
|
1756
|
+
}, "de_DeleteFileSystemPolicyCommandError");
|
|
1757
|
+
var de_DeleteMountTargetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1758
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1759
|
+
return de_DeleteMountTargetCommandError(output, context);
|
|
1760
|
+
}
|
|
1761
|
+
const contents = (0, import_smithy_client.map)({
|
|
1762
|
+
$metadata: deserializeMetadata(output)
|
|
1763
|
+
});
|
|
1764
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1765
|
+
return contents;
|
|
1766
|
+
}, "de_DeleteMountTargetCommand");
|
|
1767
|
+
var de_DeleteMountTargetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1768
|
+
const parsedOutput = {
|
|
1769
|
+
...output,
|
|
1770
|
+
body: await parseErrorBody(output.body, context)
|
|
1771
|
+
};
|
|
1772
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1773
|
+
switch (errorCode) {
|
|
1774
|
+
case "BadRequest":
|
|
1775
|
+
case "com.amazonaws.efs#BadRequest":
|
|
1776
|
+
throw await de_BadRequestRes(parsedOutput, context);
|
|
1777
|
+
case "DependencyTimeout":
|
|
1778
|
+
case "com.amazonaws.efs#DependencyTimeout":
|
|
1779
|
+
throw await de_DependencyTimeoutRes(parsedOutput, context);
|
|
1780
|
+
case "InternalServerError":
|
|
1781
|
+
case "com.amazonaws.efs#InternalServerError":
|
|
1782
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1783
|
+
case "MountTargetNotFound":
|
|
1784
|
+
case "com.amazonaws.efs#MountTargetNotFound":
|
|
1785
|
+
throw await de_MountTargetNotFoundRes(parsedOutput, context);
|
|
1786
|
+
default:
|
|
1787
|
+
const parsedBody = parsedOutput.body;
|
|
1788
|
+
return throwDefaultError({
|
|
1789
|
+
output,
|
|
1790
|
+
parsedBody,
|
|
1791
|
+
errorCode
|
|
1792
|
+
});
|
|
1793
|
+
}
|
|
1794
|
+
}, "de_DeleteMountTargetCommandError");
|
|
1795
|
+
var de_DeleteReplicationConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1796
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1797
|
+
return de_DeleteReplicationConfigurationCommandError(output, context);
|
|
1798
|
+
}
|
|
1799
|
+
const contents = (0, import_smithy_client.map)({
|
|
1800
|
+
$metadata: deserializeMetadata(output)
|
|
1801
|
+
});
|
|
1802
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1803
|
+
return contents;
|
|
1804
|
+
}, "de_DeleteReplicationConfigurationCommand");
|
|
1805
|
+
var de_DeleteReplicationConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1806
|
+
const parsedOutput = {
|
|
1807
|
+
...output,
|
|
1808
|
+
body: await parseErrorBody(output.body, context)
|
|
1809
|
+
};
|
|
1810
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1811
|
+
switch (errorCode) {
|
|
1812
|
+
case "BadRequest":
|
|
1813
|
+
case "com.amazonaws.efs#BadRequest":
|
|
1814
|
+
throw await de_BadRequestRes(parsedOutput, context);
|
|
1815
|
+
case "FileSystemNotFound":
|
|
1816
|
+
case "com.amazonaws.efs#FileSystemNotFound":
|
|
1817
|
+
throw await de_FileSystemNotFoundRes(parsedOutput, context);
|
|
1818
|
+
case "InternalServerError":
|
|
1819
|
+
case "com.amazonaws.efs#InternalServerError":
|
|
1820
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1821
|
+
case "ReplicationNotFound":
|
|
1822
|
+
case "com.amazonaws.efs#ReplicationNotFound":
|
|
1823
|
+
throw await de_ReplicationNotFoundRes(parsedOutput, context);
|
|
1824
|
+
default:
|
|
1825
|
+
const parsedBody = parsedOutput.body;
|
|
1826
|
+
return throwDefaultError({
|
|
1827
|
+
output,
|
|
1828
|
+
parsedBody,
|
|
1829
|
+
errorCode
|
|
1830
|
+
});
|
|
1831
|
+
}
|
|
1832
|
+
}, "de_DeleteReplicationConfigurationCommandError");
|
|
1833
|
+
var de_DeleteTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1834
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1835
|
+
return de_DeleteTagsCommandError(output, context);
|
|
1836
|
+
}
|
|
1837
|
+
const contents = (0, import_smithy_client.map)({
|
|
1838
|
+
$metadata: deserializeMetadata(output)
|
|
1839
|
+
});
|
|
1840
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1841
|
+
return contents;
|
|
1842
|
+
}, "de_DeleteTagsCommand");
|
|
1843
|
+
var de_DeleteTagsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1844
|
+
const parsedOutput = {
|
|
1845
|
+
...output,
|
|
1846
|
+
body: await parseErrorBody(output.body, context)
|
|
1847
|
+
};
|
|
1848
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1849
|
+
switch (errorCode) {
|
|
1850
|
+
case "BadRequest":
|
|
1851
|
+
case "com.amazonaws.efs#BadRequest":
|
|
1852
|
+
throw await de_BadRequestRes(parsedOutput, context);
|
|
1853
|
+
case "FileSystemNotFound":
|
|
1854
|
+
case "com.amazonaws.efs#FileSystemNotFound":
|
|
1855
|
+
throw await de_FileSystemNotFoundRes(parsedOutput, context);
|
|
1856
|
+
case "InternalServerError":
|
|
1857
|
+
case "com.amazonaws.efs#InternalServerError":
|
|
1858
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1859
|
+
default:
|
|
1860
|
+
const parsedBody = parsedOutput.body;
|
|
1861
|
+
return throwDefaultError({
|
|
1862
|
+
output,
|
|
1863
|
+
parsedBody,
|
|
1864
|
+
errorCode
|
|
1865
|
+
});
|
|
1866
|
+
}
|
|
1867
|
+
}, "de_DeleteTagsCommandError");
|
|
1868
|
+
var de_DescribeAccessPointsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1869
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1870
|
+
return de_DescribeAccessPointsCommandError(output, context);
|
|
1871
|
+
}
|
|
1872
|
+
const contents = (0, import_smithy_client.map)({
|
|
1873
|
+
$metadata: deserializeMetadata(output)
|
|
1874
|
+
});
|
|
1875
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1876
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1877
|
+
AccessPoints: import_smithy_client._json,
|
|
1878
|
+
NextToken: import_smithy_client.expectString
|
|
1879
|
+
});
|
|
1880
|
+
Object.assign(contents, doc);
|
|
1881
|
+
return contents;
|
|
1882
|
+
}, "de_DescribeAccessPointsCommand");
|
|
1883
|
+
var de_DescribeAccessPointsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1884
|
+
const parsedOutput = {
|
|
1885
|
+
...output,
|
|
1886
|
+
body: await parseErrorBody(output.body, context)
|
|
1887
|
+
};
|
|
1888
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1889
|
+
switch (errorCode) {
|
|
1890
|
+
case "AccessPointNotFound":
|
|
1891
|
+
case "com.amazonaws.efs#AccessPointNotFound":
|
|
1892
|
+
throw await de_AccessPointNotFoundRes(parsedOutput, context);
|
|
1893
|
+
case "BadRequest":
|
|
1894
|
+
case "com.amazonaws.efs#BadRequest":
|
|
1895
|
+
throw await de_BadRequestRes(parsedOutput, context);
|
|
1896
|
+
case "FileSystemNotFound":
|
|
1897
|
+
case "com.amazonaws.efs#FileSystemNotFound":
|
|
1898
|
+
throw await de_FileSystemNotFoundRes(parsedOutput, context);
|
|
1899
|
+
case "InternalServerError":
|
|
1900
|
+
case "com.amazonaws.efs#InternalServerError":
|
|
1901
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1902
|
+
default:
|
|
1903
|
+
const parsedBody = parsedOutput.body;
|
|
1904
|
+
return throwDefaultError({
|
|
1905
|
+
output,
|
|
1906
|
+
parsedBody,
|
|
1907
|
+
errorCode
|
|
1908
|
+
});
|
|
1909
|
+
}
|
|
1910
|
+
}, "de_DescribeAccessPointsCommandError");
|
|
1911
|
+
var de_DescribeAccountPreferencesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1912
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1913
|
+
return de_DescribeAccountPreferencesCommandError(output, context);
|
|
1914
|
+
}
|
|
1915
|
+
const contents = (0, import_smithy_client.map)({
|
|
1916
|
+
$metadata: deserializeMetadata(output)
|
|
1917
|
+
});
|
|
1918
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1919
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1920
|
+
NextToken: import_smithy_client.expectString,
|
|
1921
|
+
ResourceIdPreference: import_smithy_client._json
|
|
1922
|
+
});
|
|
1923
|
+
Object.assign(contents, doc);
|
|
1924
|
+
return contents;
|
|
1925
|
+
}, "de_DescribeAccountPreferencesCommand");
|
|
1926
|
+
var de_DescribeAccountPreferencesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1927
|
+
const parsedOutput = {
|
|
1928
|
+
...output,
|
|
1929
|
+
body: await parseErrorBody(output.body, context)
|
|
1930
|
+
};
|
|
1931
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1932
|
+
switch (errorCode) {
|
|
1933
|
+
case "InternalServerError":
|
|
1934
|
+
case "com.amazonaws.efs#InternalServerError":
|
|
1935
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1936
|
+
default:
|
|
1937
|
+
const parsedBody = parsedOutput.body;
|
|
1938
|
+
return throwDefaultError({
|
|
1939
|
+
output,
|
|
1940
|
+
parsedBody,
|
|
1941
|
+
errorCode
|
|
1942
|
+
});
|
|
1943
|
+
}
|
|
1944
|
+
}, "de_DescribeAccountPreferencesCommandError");
|
|
1945
|
+
var de_DescribeBackupPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1946
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1947
|
+
return de_DescribeBackupPolicyCommandError(output, context);
|
|
1948
|
+
}
|
|
1949
|
+
const contents = (0, import_smithy_client.map)({
|
|
1950
|
+
$metadata: deserializeMetadata(output)
|
|
1951
|
+
});
|
|
1952
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1953
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1954
|
+
BackupPolicy: import_smithy_client._json
|
|
1955
|
+
});
|
|
1956
|
+
Object.assign(contents, doc);
|
|
1957
|
+
return contents;
|
|
1958
|
+
}, "de_DescribeBackupPolicyCommand");
|
|
1959
|
+
var de_DescribeBackupPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1960
|
+
const parsedOutput = {
|
|
1961
|
+
...output,
|
|
1962
|
+
body: await parseErrorBody(output.body, context)
|
|
1963
|
+
};
|
|
1964
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1965
|
+
switch (errorCode) {
|
|
1966
|
+
case "BadRequest":
|
|
1967
|
+
case "com.amazonaws.efs#BadRequest":
|
|
1968
|
+
throw await de_BadRequestRes(parsedOutput, context);
|
|
1969
|
+
case "FileSystemNotFound":
|
|
1970
|
+
case "com.amazonaws.efs#FileSystemNotFound":
|
|
1971
|
+
throw await de_FileSystemNotFoundRes(parsedOutput, context);
|
|
1972
|
+
case "InternalServerError":
|
|
1973
|
+
case "com.amazonaws.efs#InternalServerError":
|
|
1974
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1975
|
+
case "PolicyNotFound":
|
|
1976
|
+
case "com.amazonaws.efs#PolicyNotFound":
|
|
1977
|
+
throw await de_PolicyNotFoundRes(parsedOutput, context);
|
|
1978
|
+
case "ValidationException":
|
|
1979
|
+
case "com.amazonaws.efs#ValidationException":
|
|
1980
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1981
|
+
default:
|
|
1982
|
+
const parsedBody = parsedOutput.body;
|
|
1983
|
+
return throwDefaultError({
|
|
1984
|
+
output,
|
|
1985
|
+
parsedBody,
|
|
1986
|
+
errorCode
|
|
1987
|
+
});
|
|
1988
|
+
}
|
|
1989
|
+
}, "de_DescribeBackupPolicyCommandError");
|
|
1990
|
+
var de_DescribeFileSystemPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1991
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1992
|
+
return de_DescribeFileSystemPolicyCommandError(output, context);
|
|
1993
|
+
}
|
|
1994
|
+
const contents = (0, import_smithy_client.map)({
|
|
1995
|
+
$metadata: deserializeMetadata(output)
|
|
1996
|
+
});
|
|
1997
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1998
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1999
|
+
FileSystemId: import_smithy_client.expectString,
|
|
2000
|
+
Policy: import_smithy_client.expectString
|
|
2001
|
+
});
|
|
2002
|
+
Object.assign(contents, doc);
|
|
2003
|
+
return contents;
|
|
2004
|
+
}, "de_DescribeFileSystemPolicyCommand");
|
|
2005
|
+
var de_DescribeFileSystemPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2006
|
+
const parsedOutput = {
|
|
2007
|
+
...output,
|
|
2008
|
+
body: await parseErrorBody(output.body, context)
|
|
2009
|
+
};
|
|
2010
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2011
|
+
switch (errorCode) {
|
|
2012
|
+
case "BadRequest":
|
|
2013
|
+
case "com.amazonaws.efs#BadRequest":
|
|
2014
|
+
throw await de_BadRequestRes(parsedOutput, context);
|
|
2015
|
+
case "FileSystemNotFound":
|
|
2016
|
+
case "com.amazonaws.efs#FileSystemNotFound":
|
|
2017
|
+
throw await de_FileSystemNotFoundRes(parsedOutput, context);
|
|
2018
|
+
case "InternalServerError":
|
|
2019
|
+
case "com.amazonaws.efs#InternalServerError":
|
|
2020
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2021
|
+
case "PolicyNotFound":
|
|
2022
|
+
case "com.amazonaws.efs#PolicyNotFound":
|
|
2023
|
+
throw await de_PolicyNotFoundRes(parsedOutput, context);
|
|
2024
|
+
default:
|
|
2025
|
+
const parsedBody = parsedOutput.body;
|
|
2026
|
+
return throwDefaultError({
|
|
2027
|
+
output,
|
|
2028
|
+
parsedBody,
|
|
2029
|
+
errorCode
|
|
2030
|
+
});
|
|
2031
|
+
}
|
|
2032
|
+
}, "de_DescribeFileSystemPolicyCommandError");
|
|
2033
|
+
var de_DescribeFileSystemsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2034
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2035
|
+
return de_DescribeFileSystemsCommandError(output, context);
|
|
2036
|
+
}
|
|
2037
|
+
const contents = (0, import_smithy_client.map)({
|
|
2038
|
+
$metadata: deserializeMetadata(output)
|
|
2039
|
+
});
|
|
2040
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2041
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2042
|
+
FileSystems: (_) => de_FileSystemDescriptions(_, context),
|
|
2043
|
+
Marker: import_smithy_client.expectString,
|
|
2044
|
+
NextMarker: import_smithy_client.expectString
|
|
2045
|
+
});
|
|
2046
|
+
Object.assign(contents, doc);
|
|
2047
|
+
return contents;
|
|
2048
|
+
}, "de_DescribeFileSystemsCommand");
|
|
2049
|
+
var de_DescribeFileSystemsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2050
|
+
const parsedOutput = {
|
|
2051
|
+
...output,
|
|
2052
|
+
body: await parseErrorBody(output.body, context)
|
|
2053
|
+
};
|
|
2054
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2055
|
+
switch (errorCode) {
|
|
2056
|
+
case "BadRequest":
|
|
2057
|
+
case "com.amazonaws.efs#BadRequest":
|
|
2058
|
+
throw await de_BadRequestRes(parsedOutput, context);
|
|
2059
|
+
case "FileSystemNotFound":
|
|
2060
|
+
case "com.amazonaws.efs#FileSystemNotFound":
|
|
2061
|
+
throw await de_FileSystemNotFoundRes(parsedOutput, context);
|
|
2062
|
+
case "InternalServerError":
|
|
2063
|
+
case "com.amazonaws.efs#InternalServerError":
|
|
2064
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2065
|
+
default:
|
|
2066
|
+
const parsedBody = parsedOutput.body;
|
|
2067
|
+
return throwDefaultError({
|
|
2068
|
+
output,
|
|
2069
|
+
parsedBody,
|
|
2070
|
+
errorCode
|
|
2071
|
+
});
|
|
2072
|
+
}
|
|
2073
|
+
}, "de_DescribeFileSystemsCommandError");
|
|
2074
|
+
var de_DescribeLifecycleConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2075
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2076
|
+
return de_DescribeLifecycleConfigurationCommandError(output, context);
|
|
2077
|
+
}
|
|
2078
|
+
const contents = (0, import_smithy_client.map)({
|
|
2079
|
+
$metadata: deserializeMetadata(output)
|
|
2080
|
+
});
|
|
2081
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2082
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2083
|
+
LifecyclePolicies: import_smithy_client._json
|
|
2084
|
+
});
|
|
2085
|
+
Object.assign(contents, doc);
|
|
2086
|
+
return contents;
|
|
2087
|
+
}, "de_DescribeLifecycleConfigurationCommand");
|
|
2088
|
+
var de_DescribeLifecycleConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2089
|
+
const parsedOutput = {
|
|
2090
|
+
...output,
|
|
2091
|
+
body: await parseErrorBody(output.body, context)
|
|
2092
|
+
};
|
|
2093
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2094
|
+
switch (errorCode) {
|
|
2095
|
+
case "BadRequest":
|
|
2096
|
+
case "com.amazonaws.efs#BadRequest":
|
|
2097
|
+
throw await de_BadRequestRes(parsedOutput, context);
|
|
2098
|
+
case "FileSystemNotFound":
|
|
2099
|
+
case "com.amazonaws.efs#FileSystemNotFound":
|
|
2100
|
+
throw await de_FileSystemNotFoundRes(parsedOutput, context);
|
|
2101
|
+
case "InternalServerError":
|
|
2102
|
+
case "com.amazonaws.efs#InternalServerError":
|
|
2103
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2104
|
+
default:
|
|
2105
|
+
const parsedBody = parsedOutput.body;
|
|
2106
|
+
return throwDefaultError({
|
|
2107
|
+
output,
|
|
2108
|
+
parsedBody,
|
|
2109
|
+
errorCode
|
|
2110
|
+
});
|
|
2111
|
+
}
|
|
2112
|
+
}, "de_DescribeLifecycleConfigurationCommandError");
|
|
2113
|
+
var de_DescribeMountTargetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2114
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2115
|
+
return de_DescribeMountTargetsCommandError(output, context);
|
|
2116
|
+
}
|
|
2117
|
+
const contents = (0, import_smithy_client.map)({
|
|
2118
|
+
$metadata: deserializeMetadata(output)
|
|
2119
|
+
});
|
|
2120
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2121
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2122
|
+
Marker: import_smithy_client.expectString,
|
|
2123
|
+
MountTargets: import_smithy_client._json,
|
|
2124
|
+
NextMarker: import_smithy_client.expectString
|
|
2125
|
+
});
|
|
2126
|
+
Object.assign(contents, doc);
|
|
2127
|
+
return contents;
|
|
2128
|
+
}, "de_DescribeMountTargetsCommand");
|
|
2129
|
+
var de_DescribeMountTargetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2130
|
+
const parsedOutput = {
|
|
2131
|
+
...output,
|
|
2132
|
+
body: await parseErrorBody(output.body, context)
|
|
2133
|
+
};
|
|
2134
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2135
|
+
switch (errorCode) {
|
|
2136
|
+
case "AccessPointNotFound":
|
|
2137
|
+
case "com.amazonaws.efs#AccessPointNotFound":
|
|
2138
|
+
throw await de_AccessPointNotFoundRes(parsedOutput, context);
|
|
2139
|
+
case "BadRequest":
|
|
2140
|
+
case "com.amazonaws.efs#BadRequest":
|
|
2141
|
+
throw await de_BadRequestRes(parsedOutput, context);
|
|
2142
|
+
case "FileSystemNotFound":
|
|
2143
|
+
case "com.amazonaws.efs#FileSystemNotFound":
|
|
2144
|
+
throw await de_FileSystemNotFoundRes(parsedOutput, context);
|
|
2145
|
+
case "InternalServerError":
|
|
2146
|
+
case "com.amazonaws.efs#InternalServerError":
|
|
2147
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2148
|
+
case "MountTargetNotFound":
|
|
2149
|
+
case "com.amazonaws.efs#MountTargetNotFound":
|
|
2150
|
+
throw await de_MountTargetNotFoundRes(parsedOutput, context);
|
|
2151
|
+
default:
|
|
2152
|
+
const parsedBody = parsedOutput.body;
|
|
2153
|
+
return throwDefaultError({
|
|
2154
|
+
output,
|
|
2155
|
+
parsedBody,
|
|
2156
|
+
errorCode
|
|
2157
|
+
});
|
|
2158
|
+
}
|
|
2159
|
+
}, "de_DescribeMountTargetsCommandError");
|
|
2160
|
+
var de_DescribeMountTargetSecurityGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2161
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2162
|
+
return de_DescribeMountTargetSecurityGroupsCommandError(output, context);
|
|
2163
|
+
}
|
|
2164
|
+
const contents = (0, import_smithy_client.map)({
|
|
2165
|
+
$metadata: deserializeMetadata(output)
|
|
2166
|
+
});
|
|
2167
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2168
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2169
|
+
SecurityGroups: import_smithy_client._json
|
|
2170
|
+
});
|
|
2171
|
+
Object.assign(contents, doc);
|
|
2172
|
+
return contents;
|
|
2173
|
+
}, "de_DescribeMountTargetSecurityGroupsCommand");
|
|
2174
|
+
var de_DescribeMountTargetSecurityGroupsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2175
|
+
const parsedOutput = {
|
|
2176
|
+
...output,
|
|
2177
|
+
body: await parseErrorBody(output.body, context)
|
|
2178
|
+
};
|
|
2179
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2180
|
+
switch (errorCode) {
|
|
2181
|
+
case "BadRequest":
|
|
2182
|
+
case "com.amazonaws.efs#BadRequest":
|
|
2183
|
+
throw await de_BadRequestRes(parsedOutput, context);
|
|
2184
|
+
case "IncorrectMountTargetState":
|
|
2185
|
+
case "com.amazonaws.efs#IncorrectMountTargetState":
|
|
2186
|
+
throw await de_IncorrectMountTargetStateRes(parsedOutput, context);
|
|
2187
|
+
case "InternalServerError":
|
|
2188
|
+
case "com.amazonaws.efs#InternalServerError":
|
|
2189
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2190
|
+
case "MountTargetNotFound":
|
|
2191
|
+
case "com.amazonaws.efs#MountTargetNotFound":
|
|
2192
|
+
throw await de_MountTargetNotFoundRes(parsedOutput, context);
|
|
2193
|
+
default:
|
|
2194
|
+
const parsedBody = parsedOutput.body;
|
|
2195
|
+
return throwDefaultError({
|
|
2196
|
+
output,
|
|
2197
|
+
parsedBody,
|
|
2198
|
+
errorCode
|
|
2199
|
+
});
|
|
2200
|
+
}
|
|
2201
|
+
}, "de_DescribeMountTargetSecurityGroupsCommandError");
|
|
2202
|
+
var de_DescribeReplicationConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2203
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2204
|
+
return de_DescribeReplicationConfigurationsCommandError(output, context);
|
|
2205
|
+
}
|
|
2206
|
+
const contents = (0, import_smithy_client.map)({
|
|
2207
|
+
$metadata: deserializeMetadata(output)
|
|
2208
|
+
});
|
|
2209
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2210
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2211
|
+
NextToken: import_smithy_client.expectString,
|
|
2212
|
+
Replications: (_) => de_ReplicationConfigurationDescriptions(_, context)
|
|
2213
|
+
});
|
|
2214
|
+
Object.assign(contents, doc);
|
|
2215
|
+
return contents;
|
|
2216
|
+
}, "de_DescribeReplicationConfigurationsCommand");
|
|
2217
|
+
var de_DescribeReplicationConfigurationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2218
|
+
const parsedOutput = {
|
|
2219
|
+
...output,
|
|
2220
|
+
body: await parseErrorBody(output.body, context)
|
|
2221
|
+
};
|
|
2222
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2223
|
+
switch (errorCode) {
|
|
2224
|
+
case "BadRequest":
|
|
2225
|
+
case "com.amazonaws.efs#BadRequest":
|
|
2226
|
+
throw await de_BadRequestRes(parsedOutput, context);
|
|
2227
|
+
case "FileSystemNotFound":
|
|
2228
|
+
case "com.amazonaws.efs#FileSystemNotFound":
|
|
2229
|
+
throw await de_FileSystemNotFoundRes(parsedOutput, context);
|
|
2230
|
+
case "InternalServerError":
|
|
2231
|
+
case "com.amazonaws.efs#InternalServerError":
|
|
2232
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2233
|
+
case "ReplicationNotFound":
|
|
2234
|
+
case "com.amazonaws.efs#ReplicationNotFound":
|
|
2235
|
+
throw await de_ReplicationNotFoundRes(parsedOutput, context);
|
|
2236
|
+
case "ValidationException":
|
|
2237
|
+
case "com.amazonaws.efs#ValidationException":
|
|
2238
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2239
|
+
default:
|
|
2240
|
+
const parsedBody = parsedOutput.body;
|
|
2241
|
+
return throwDefaultError({
|
|
2242
|
+
output,
|
|
2243
|
+
parsedBody,
|
|
2244
|
+
errorCode
|
|
2245
|
+
});
|
|
2246
|
+
}
|
|
2247
|
+
}, "de_DescribeReplicationConfigurationsCommandError");
|
|
2248
|
+
var de_DescribeTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2249
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2250
|
+
return de_DescribeTagsCommandError(output, context);
|
|
2251
|
+
}
|
|
2252
|
+
const contents = (0, import_smithy_client.map)({
|
|
2253
|
+
$metadata: deserializeMetadata(output)
|
|
2254
|
+
});
|
|
2255
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2256
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2257
|
+
Marker: import_smithy_client.expectString,
|
|
2258
|
+
NextMarker: import_smithy_client.expectString,
|
|
2259
|
+
Tags: import_smithy_client._json
|
|
2260
|
+
});
|
|
2261
|
+
Object.assign(contents, doc);
|
|
2262
|
+
return contents;
|
|
2263
|
+
}, "de_DescribeTagsCommand");
|
|
2264
|
+
var de_DescribeTagsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2265
|
+
const parsedOutput = {
|
|
2266
|
+
...output,
|
|
2267
|
+
body: await parseErrorBody(output.body, context)
|
|
2268
|
+
};
|
|
2269
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2270
|
+
switch (errorCode) {
|
|
2271
|
+
case "BadRequest":
|
|
2272
|
+
case "com.amazonaws.efs#BadRequest":
|
|
2273
|
+
throw await de_BadRequestRes(parsedOutput, context);
|
|
2274
|
+
case "FileSystemNotFound":
|
|
2275
|
+
case "com.amazonaws.efs#FileSystemNotFound":
|
|
2276
|
+
throw await de_FileSystemNotFoundRes(parsedOutput, context);
|
|
2277
|
+
case "InternalServerError":
|
|
2278
|
+
case "com.amazonaws.efs#InternalServerError":
|
|
2279
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2280
|
+
default:
|
|
2281
|
+
const parsedBody = parsedOutput.body;
|
|
2282
|
+
return throwDefaultError({
|
|
2283
|
+
output,
|
|
2284
|
+
parsedBody,
|
|
2285
|
+
errorCode
|
|
2286
|
+
});
|
|
2287
|
+
}
|
|
2288
|
+
}, "de_DescribeTagsCommandError");
|
|
2289
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2290
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2291
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
2292
|
+
}
|
|
2293
|
+
const contents = (0, import_smithy_client.map)({
|
|
2294
|
+
$metadata: deserializeMetadata(output)
|
|
2295
|
+
});
|
|
2296
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2297
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2298
|
+
NextToken: import_smithy_client.expectString,
|
|
2299
|
+
Tags: import_smithy_client._json
|
|
2300
|
+
});
|
|
2301
|
+
Object.assign(contents, doc);
|
|
2302
|
+
return contents;
|
|
2303
|
+
}, "de_ListTagsForResourceCommand");
|
|
2304
|
+
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2305
|
+
const parsedOutput = {
|
|
2306
|
+
...output,
|
|
2307
|
+
body: await parseErrorBody(output.body, context)
|
|
2308
|
+
};
|
|
2309
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2310
|
+
switch (errorCode) {
|
|
2311
|
+
case "AccessPointNotFound":
|
|
2312
|
+
case "com.amazonaws.efs#AccessPointNotFound":
|
|
2313
|
+
throw await de_AccessPointNotFoundRes(parsedOutput, context);
|
|
2314
|
+
case "BadRequest":
|
|
2315
|
+
case "com.amazonaws.efs#BadRequest":
|
|
2316
|
+
throw await de_BadRequestRes(parsedOutput, context);
|
|
2317
|
+
case "FileSystemNotFound":
|
|
2318
|
+
case "com.amazonaws.efs#FileSystemNotFound":
|
|
2319
|
+
throw await de_FileSystemNotFoundRes(parsedOutput, context);
|
|
2320
|
+
case "InternalServerError":
|
|
2321
|
+
case "com.amazonaws.efs#InternalServerError":
|
|
2322
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2323
|
+
default:
|
|
2324
|
+
const parsedBody = parsedOutput.body;
|
|
2325
|
+
return throwDefaultError({
|
|
2326
|
+
output,
|
|
2327
|
+
parsedBody,
|
|
2328
|
+
errorCode
|
|
2329
|
+
});
|
|
2330
|
+
}
|
|
2331
|
+
}, "de_ListTagsForResourceCommandError");
|
|
2332
|
+
var de_ModifyMountTargetSecurityGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2333
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2334
|
+
return de_ModifyMountTargetSecurityGroupsCommandError(output, context);
|
|
2335
|
+
}
|
|
2336
|
+
const contents = (0, import_smithy_client.map)({
|
|
2337
|
+
$metadata: deserializeMetadata(output)
|
|
2338
|
+
});
|
|
2339
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2340
|
+
return contents;
|
|
2341
|
+
}, "de_ModifyMountTargetSecurityGroupsCommand");
|
|
2342
|
+
var de_ModifyMountTargetSecurityGroupsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2343
|
+
const parsedOutput = {
|
|
2344
|
+
...output,
|
|
2345
|
+
body: await parseErrorBody(output.body, context)
|
|
2346
|
+
};
|
|
2347
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2348
|
+
switch (errorCode) {
|
|
2349
|
+
case "BadRequest":
|
|
2350
|
+
case "com.amazonaws.efs#BadRequest":
|
|
2351
|
+
throw await de_BadRequestRes(parsedOutput, context);
|
|
2352
|
+
case "IncorrectMountTargetState":
|
|
2353
|
+
case "com.amazonaws.efs#IncorrectMountTargetState":
|
|
2354
|
+
throw await de_IncorrectMountTargetStateRes(parsedOutput, context);
|
|
2355
|
+
case "InternalServerError":
|
|
2356
|
+
case "com.amazonaws.efs#InternalServerError":
|
|
2357
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2358
|
+
case "MountTargetNotFound":
|
|
2359
|
+
case "com.amazonaws.efs#MountTargetNotFound":
|
|
2360
|
+
throw await de_MountTargetNotFoundRes(parsedOutput, context);
|
|
2361
|
+
case "SecurityGroupLimitExceeded":
|
|
2362
|
+
case "com.amazonaws.efs#SecurityGroupLimitExceeded":
|
|
2363
|
+
throw await de_SecurityGroupLimitExceededRes(parsedOutput, context);
|
|
2364
|
+
case "SecurityGroupNotFound":
|
|
2365
|
+
case "com.amazonaws.efs#SecurityGroupNotFound":
|
|
2366
|
+
throw await de_SecurityGroupNotFoundRes(parsedOutput, context);
|
|
2367
|
+
default:
|
|
2368
|
+
const parsedBody = parsedOutput.body;
|
|
2369
|
+
return throwDefaultError({
|
|
2370
|
+
output,
|
|
2371
|
+
parsedBody,
|
|
2372
|
+
errorCode
|
|
2373
|
+
});
|
|
2374
|
+
}
|
|
2375
|
+
}, "de_ModifyMountTargetSecurityGroupsCommandError");
|
|
2376
|
+
var de_PutAccountPreferencesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2377
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2378
|
+
return de_PutAccountPreferencesCommandError(output, context);
|
|
2379
|
+
}
|
|
2380
|
+
const contents = (0, import_smithy_client.map)({
|
|
2381
|
+
$metadata: deserializeMetadata(output)
|
|
2382
|
+
});
|
|
2383
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2384
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2385
|
+
ResourceIdPreference: import_smithy_client._json
|
|
2386
|
+
});
|
|
2387
|
+
Object.assign(contents, doc);
|
|
2388
|
+
return contents;
|
|
2389
|
+
}, "de_PutAccountPreferencesCommand");
|
|
2390
|
+
var de_PutAccountPreferencesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2391
|
+
const parsedOutput = {
|
|
2392
|
+
...output,
|
|
2393
|
+
body: await parseErrorBody(output.body, context)
|
|
2394
|
+
};
|
|
2395
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2396
|
+
switch (errorCode) {
|
|
2397
|
+
case "BadRequest":
|
|
2398
|
+
case "com.amazonaws.efs#BadRequest":
|
|
2399
|
+
throw await de_BadRequestRes(parsedOutput, context);
|
|
2400
|
+
case "InternalServerError":
|
|
2401
|
+
case "com.amazonaws.efs#InternalServerError":
|
|
2402
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2403
|
+
default:
|
|
2404
|
+
const parsedBody = parsedOutput.body;
|
|
2405
|
+
return throwDefaultError({
|
|
2406
|
+
output,
|
|
2407
|
+
parsedBody,
|
|
2408
|
+
errorCode
|
|
2409
|
+
});
|
|
2410
|
+
}
|
|
2411
|
+
}, "de_PutAccountPreferencesCommandError");
|
|
2412
|
+
var de_PutBackupPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2413
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2414
|
+
return de_PutBackupPolicyCommandError(output, context);
|
|
2415
|
+
}
|
|
2416
|
+
const contents = (0, import_smithy_client.map)({
|
|
2417
|
+
$metadata: deserializeMetadata(output)
|
|
2418
|
+
});
|
|
2419
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2420
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2421
|
+
BackupPolicy: import_smithy_client._json
|
|
2422
|
+
});
|
|
2423
|
+
Object.assign(contents, doc);
|
|
2424
|
+
return contents;
|
|
2425
|
+
}, "de_PutBackupPolicyCommand");
|
|
2426
|
+
var de_PutBackupPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2427
|
+
const parsedOutput = {
|
|
2428
|
+
...output,
|
|
2429
|
+
body: await parseErrorBody(output.body, context)
|
|
2430
|
+
};
|
|
2431
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2432
|
+
switch (errorCode) {
|
|
2433
|
+
case "BadRequest":
|
|
2434
|
+
case "com.amazonaws.efs#BadRequest":
|
|
2435
|
+
throw await de_BadRequestRes(parsedOutput, context);
|
|
2436
|
+
case "FileSystemNotFound":
|
|
2437
|
+
case "com.amazonaws.efs#FileSystemNotFound":
|
|
2438
|
+
throw await de_FileSystemNotFoundRes(parsedOutput, context);
|
|
2439
|
+
case "IncorrectFileSystemLifeCycleState":
|
|
2440
|
+
case "com.amazonaws.efs#IncorrectFileSystemLifeCycleState":
|
|
2441
|
+
throw await de_IncorrectFileSystemLifeCycleStateRes(parsedOutput, context);
|
|
2442
|
+
case "InternalServerError":
|
|
2443
|
+
case "com.amazonaws.efs#InternalServerError":
|
|
2444
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2445
|
+
case "ValidationException":
|
|
2446
|
+
case "com.amazonaws.efs#ValidationException":
|
|
2447
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2448
|
+
default:
|
|
2449
|
+
const parsedBody = parsedOutput.body;
|
|
2450
|
+
return throwDefaultError({
|
|
2451
|
+
output,
|
|
2452
|
+
parsedBody,
|
|
2453
|
+
errorCode
|
|
2454
|
+
});
|
|
2455
|
+
}
|
|
2456
|
+
}, "de_PutBackupPolicyCommandError");
|
|
2457
|
+
var de_PutFileSystemPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2458
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2459
|
+
return de_PutFileSystemPolicyCommandError(output, context);
|
|
2460
|
+
}
|
|
2461
|
+
const contents = (0, import_smithy_client.map)({
|
|
2462
|
+
$metadata: deserializeMetadata(output)
|
|
2463
|
+
});
|
|
2464
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2465
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2466
|
+
FileSystemId: import_smithy_client.expectString,
|
|
2467
|
+
Policy: import_smithy_client.expectString
|
|
2468
|
+
});
|
|
2469
|
+
Object.assign(contents, doc);
|
|
2470
|
+
return contents;
|
|
2471
|
+
}, "de_PutFileSystemPolicyCommand");
|
|
2472
|
+
var de_PutFileSystemPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2473
|
+
const parsedOutput = {
|
|
2474
|
+
...output,
|
|
2475
|
+
body: await parseErrorBody(output.body, context)
|
|
2476
|
+
};
|
|
2477
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2478
|
+
switch (errorCode) {
|
|
2479
|
+
case "BadRequest":
|
|
2480
|
+
case "com.amazonaws.efs#BadRequest":
|
|
2481
|
+
throw await de_BadRequestRes(parsedOutput, context);
|
|
2482
|
+
case "FileSystemNotFound":
|
|
2483
|
+
case "com.amazonaws.efs#FileSystemNotFound":
|
|
2484
|
+
throw await de_FileSystemNotFoundRes(parsedOutput, context);
|
|
2485
|
+
case "IncorrectFileSystemLifeCycleState":
|
|
2486
|
+
case "com.amazonaws.efs#IncorrectFileSystemLifeCycleState":
|
|
2487
|
+
throw await de_IncorrectFileSystemLifeCycleStateRes(parsedOutput, context);
|
|
2488
|
+
case "InternalServerError":
|
|
2489
|
+
case "com.amazonaws.efs#InternalServerError":
|
|
2490
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2491
|
+
case "InvalidPolicyException":
|
|
2492
|
+
case "com.amazonaws.efs#InvalidPolicyException":
|
|
2493
|
+
throw await de_InvalidPolicyExceptionRes(parsedOutput, context);
|
|
2494
|
+
default:
|
|
2495
|
+
const parsedBody = parsedOutput.body;
|
|
2496
|
+
return throwDefaultError({
|
|
2497
|
+
output,
|
|
2498
|
+
parsedBody,
|
|
2499
|
+
errorCode
|
|
2500
|
+
});
|
|
2501
|
+
}
|
|
2502
|
+
}, "de_PutFileSystemPolicyCommandError");
|
|
2503
|
+
var de_PutLifecycleConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2504
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2505
|
+
return de_PutLifecycleConfigurationCommandError(output, context);
|
|
2506
|
+
}
|
|
2507
|
+
const contents = (0, import_smithy_client.map)({
|
|
2508
|
+
$metadata: deserializeMetadata(output)
|
|
2509
|
+
});
|
|
2510
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2511
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2512
|
+
LifecyclePolicies: import_smithy_client._json
|
|
2513
|
+
});
|
|
2514
|
+
Object.assign(contents, doc);
|
|
2515
|
+
return contents;
|
|
2516
|
+
}, "de_PutLifecycleConfigurationCommand");
|
|
2517
|
+
var de_PutLifecycleConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2518
|
+
const parsedOutput = {
|
|
2519
|
+
...output,
|
|
2520
|
+
body: await parseErrorBody(output.body, context)
|
|
2521
|
+
};
|
|
2522
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2523
|
+
switch (errorCode) {
|
|
2524
|
+
case "BadRequest":
|
|
2525
|
+
case "com.amazonaws.efs#BadRequest":
|
|
2526
|
+
throw await de_BadRequestRes(parsedOutput, context);
|
|
2527
|
+
case "FileSystemNotFound":
|
|
2528
|
+
case "com.amazonaws.efs#FileSystemNotFound":
|
|
2529
|
+
throw await de_FileSystemNotFoundRes(parsedOutput, context);
|
|
2530
|
+
case "IncorrectFileSystemLifeCycleState":
|
|
2531
|
+
case "com.amazonaws.efs#IncorrectFileSystemLifeCycleState":
|
|
2532
|
+
throw await de_IncorrectFileSystemLifeCycleStateRes(parsedOutput, context);
|
|
2533
|
+
case "InternalServerError":
|
|
2534
|
+
case "com.amazonaws.efs#InternalServerError":
|
|
2535
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2536
|
+
default:
|
|
2537
|
+
const parsedBody = parsedOutput.body;
|
|
2538
|
+
return throwDefaultError({
|
|
2539
|
+
output,
|
|
2540
|
+
parsedBody,
|
|
2541
|
+
errorCode
|
|
2542
|
+
});
|
|
2543
|
+
}
|
|
2544
|
+
}, "de_PutLifecycleConfigurationCommandError");
|
|
2545
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2546
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2547
|
+
return de_TagResourceCommandError(output, context);
|
|
2548
|
+
}
|
|
2549
|
+
const contents = (0, import_smithy_client.map)({
|
|
2550
|
+
$metadata: deserializeMetadata(output)
|
|
2551
|
+
});
|
|
2552
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2553
|
+
return contents;
|
|
2554
|
+
}, "de_TagResourceCommand");
|
|
2555
|
+
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2556
|
+
const parsedOutput = {
|
|
2557
|
+
...output,
|
|
2558
|
+
body: await parseErrorBody(output.body, context)
|
|
2559
|
+
};
|
|
2560
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2561
|
+
switch (errorCode) {
|
|
2562
|
+
case "AccessPointNotFound":
|
|
2563
|
+
case "com.amazonaws.efs#AccessPointNotFound":
|
|
2564
|
+
throw await de_AccessPointNotFoundRes(parsedOutput, context);
|
|
2565
|
+
case "BadRequest":
|
|
2566
|
+
case "com.amazonaws.efs#BadRequest":
|
|
2567
|
+
throw await de_BadRequestRes(parsedOutput, context);
|
|
2568
|
+
case "FileSystemNotFound":
|
|
2569
|
+
case "com.amazonaws.efs#FileSystemNotFound":
|
|
2570
|
+
throw await de_FileSystemNotFoundRes(parsedOutput, context);
|
|
2571
|
+
case "InternalServerError":
|
|
2572
|
+
case "com.amazonaws.efs#InternalServerError":
|
|
2573
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2574
|
+
default:
|
|
2575
|
+
const parsedBody = parsedOutput.body;
|
|
2576
|
+
return throwDefaultError({
|
|
2577
|
+
output,
|
|
2578
|
+
parsedBody,
|
|
2579
|
+
errorCode
|
|
2580
|
+
});
|
|
2581
|
+
}
|
|
2582
|
+
}, "de_TagResourceCommandError");
|
|
2583
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2584
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2585
|
+
return de_UntagResourceCommandError(output, context);
|
|
2586
|
+
}
|
|
2587
|
+
const contents = (0, import_smithy_client.map)({
|
|
2588
|
+
$metadata: deserializeMetadata(output)
|
|
2589
|
+
});
|
|
2590
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2591
|
+
return contents;
|
|
2592
|
+
}, "de_UntagResourceCommand");
|
|
2593
|
+
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2594
|
+
const parsedOutput = {
|
|
2595
|
+
...output,
|
|
2596
|
+
body: await parseErrorBody(output.body, context)
|
|
2597
|
+
};
|
|
2598
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2599
|
+
switch (errorCode) {
|
|
2600
|
+
case "AccessPointNotFound":
|
|
2601
|
+
case "com.amazonaws.efs#AccessPointNotFound":
|
|
2602
|
+
throw await de_AccessPointNotFoundRes(parsedOutput, context);
|
|
2603
|
+
case "BadRequest":
|
|
2604
|
+
case "com.amazonaws.efs#BadRequest":
|
|
2605
|
+
throw await de_BadRequestRes(parsedOutput, context);
|
|
2606
|
+
case "FileSystemNotFound":
|
|
2607
|
+
case "com.amazonaws.efs#FileSystemNotFound":
|
|
2608
|
+
throw await de_FileSystemNotFoundRes(parsedOutput, context);
|
|
2609
|
+
case "InternalServerError":
|
|
2610
|
+
case "com.amazonaws.efs#InternalServerError":
|
|
2611
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2612
|
+
default:
|
|
2613
|
+
const parsedBody = parsedOutput.body;
|
|
2614
|
+
return throwDefaultError({
|
|
2615
|
+
output,
|
|
2616
|
+
parsedBody,
|
|
2617
|
+
errorCode
|
|
2618
|
+
});
|
|
2619
|
+
}
|
|
2620
|
+
}, "de_UntagResourceCommandError");
|
|
2621
|
+
var de_UpdateFileSystemCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2622
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
2623
|
+
return de_UpdateFileSystemCommandError(output, context);
|
|
2624
|
+
}
|
|
2625
|
+
const contents = (0, import_smithy_client.map)({
|
|
2626
|
+
$metadata: deserializeMetadata(output)
|
|
2627
|
+
});
|
|
2628
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2629
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2630
|
+
AvailabilityZoneId: import_smithy_client.expectString,
|
|
2631
|
+
AvailabilityZoneName: import_smithy_client.expectString,
|
|
2632
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2633
|
+
CreationToken: import_smithy_client.expectString,
|
|
2634
|
+
Encrypted: import_smithy_client.expectBoolean,
|
|
2635
|
+
FileSystemArn: import_smithy_client.expectString,
|
|
2636
|
+
FileSystemId: import_smithy_client.expectString,
|
|
2637
|
+
FileSystemProtection: import_smithy_client._json,
|
|
2638
|
+
KmsKeyId: import_smithy_client.expectString,
|
|
2639
|
+
LifeCycleState: import_smithy_client.expectString,
|
|
2640
|
+
Name: import_smithy_client.expectString,
|
|
2641
|
+
NumberOfMountTargets: import_smithy_client.expectInt32,
|
|
2642
|
+
OwnerId: import_smithy_client.expectString,
|
|
2643
|
+
PerformanceMode: import_smithy_client.expectString,
|
|
2644
|
+
ProvisionedThroughputInMibps: import_smithy_client.limitedParseDouble,
|
|
2645
|
+
SizeInBytes: (_) => de_FileSystemSize(_, context),
|
|
2646
|
+
Tags: import_smithy_client._json,
|
|
2647
|
+
ThroughputMode: import_smithy_client.expectString
|
|
2648
|
+
});
|
|
2649
|
+
Object.assign(contents, doc);
|
|
2650
|
+
return contents;
|
|
2651
|
+
}, "de_UpdateFileSystemCommand");
|
|
2652
|
+
var de_UpdateFileSystemCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2653
|
+
const parsedOutput = {
|
|
2654
|
+
...output,
|
|
2655
|
+
body: await parseErrorBody(output.body, context)
|
|
2656
|
+
};
|
|
2657
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2658
|
+
switch (errorCode) {
|
|
2659
|
+
case "BadRequest":
|
|
2660
|
+
case "com.amazonaws.efs#BadRequest":
|
|
2661
|
+
throw await de_BadRequestRes(parsedOutput, context);
|
|
2662
|
+
case "FileSystemNotFound":
|
|
2663
|
+
case "com.amazonaws.efs#FileSystemNotFound":
|
|
2664
|
+
throw await de_FileSystemNotFoundRes(parsedOutput, context);
|
|
2665
|
+
case "IncorrectFileSystemLifeCycleState":
|
|
2666
|
+
case "com.amazonaws.efs#IncorrectFileSystemLifeCycleState":
|
|
2667
|
+
throw await de_IncorrectFileSystemLifeCycleStateRes(parsedOutput, context);
|
|
2668
|
+
case "InsufficientThroughputCapacity":
|
|
2669
|
+
case "com.amazonaws.efs#InsufficientThroughputCapacity":
|
|
2670
|
+
throw await de_InsufficientThroughputCapacityRes(parsedOutput, context);
|
|
2671
|
+
case "InternalServerError":
|
|
2672
|
+
case "com.amazonaws.efs#InternalServerError":
|
|
2673
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2674
|
+
case "ThroughputLimitExceeded":
|
|
2675
|
+
case "com.amazonaws.efs#ThroughputLimitExceeded":
|
|
2676
|
+
throw await de_ThroughputLimitExceededRes(parsedOutput, context);
|
|
2677
|
+
case "TooManyRequests":
|
|
2678
|
+
case "com.amazonaws.efs#TooManyRequests":
|
|
2679
|
+
throw await de_TooManyRequestsRes(parsedOutput, context);
|
|
2680
|
+
default:
|
|
2681
|
+
const parsedBody = parsedOutput.body;
|
|
2682
|
+
return throwDefaultError({
|
|
2683
|
+
output,
|
|
2684
|
+
parsedBody,
|
|
2685
|
+
errorCode
|
|
2686
|
+
});
|
|
2687
|
+
}
|
|
2688
|
+
}, "de_UpdateFileSystemCommandError");
|
|
2689
|
+
var de_UpdateFileSystemProtectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2690
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2691
|
+
return de_UpdateFileSystemProtectionCommandError(output, context);
|
|
2692
|
+
}
|
|
2693
|
+
const contents = (0, import_smithy_client.map)({
|
|
2694
|
+
$metadata: deserializeMetadata(output)
|
|
2695
|
+
});
|
|
2696
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2697
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2698
|
+
ReplicationOverwriteProtection: import_smithy_client.expectString
|
|
2699
|
+
});
|
|
2700
|
+
Object.assign(contents, doc);
|
|
2701
|
+
return contents;
|
|
2702
|
+
}, "de_UpdateFileSystemProtectionCommand");
|
|
2703
|
+
var de_UpdateFileSystemProtectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2704
|
+
const parsedOutput = {
|
|
2705
|
+
...output,
|
|
2706
|
+
body: await parseErrorBody(output.body, context)
|
|
2707
|
+
};
|
|
2708
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2709
|
+
switch (errorCode) {
|
|
2710
|
+
case "BadRequest":
|
|
2711
|
+
case "com.amazonaws.efs#BadRequest":
|
|
2712
|
+
throw await de_BadRequestRes(parsedOutput, context);
|
|
2713
|
+
case "FileSystemNotFound":
|
|
2714
|
+
case "com.amazonaws.efs#FileSystemNotFound":
|
|
2715
|
+
throw await de_FileSystemNotFoundRes(parsedOutput, context);
|
|
2716
|
+
case "IncorrectFileSystemLifeCycleState":
|
|
2717
|
+
case "com.amazonaws.efs#IncorrectFileSystemLifeCycleState":
|
|
2718
|
+
throw await de_IncorrectFileSystemLifeCycleStateRes(parsedOutput, context);
|
|
2719
|
+
case "InsufficientThroughputCapacity":
|
|
2720
|
+
case "com.amazonaws.efs#InsufficientThroughputCapacity":
|
|
2721
|
+
throw await de_InsufficientThroughputCapacityRes(parsedOutput, context);
|
|
2722
|
+
case "InternalServerError":
|
|
2723
|
+
case "com.amazonaws.efs#InternalServerError":
|
|
2724
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2725
|
+
case "ReplicationAlreadyExists":
|
|
2726
|
+
case "com.amazonaws.efs#ReplicationAlreadyExists":
|
|
2727
|
+
throw await de_ReplicationAlreadyExistsRes(parsedOutput, context);
|
|
2728
|
+
case "ThroughputLimitExceeded":
|
|
2729
|
+
case "com.amazonaws.efs#ThroughputLimitExceeded":
|
|
2730
|
+
throw await de_ThroughputLimitExceededRes(parsedOutput, context);
|
|
2731
|
+
case "TooManyRequests":
|
|
2732
|
+
case "com.amazonaws.efs#TooManyRequests":
|
|
2733
|
+
throw await de_TooManyRequestsRes(parsedOutput, context);
|
|
2734
|
+
default:
|
|
2735
|
+
const parsedBody = parsedOutput.body;
|
|
2736
|
+
return throwDefaultError({
|
|
2737
|
+
output,
|
|
2738
|
+
parsedBody,
|
|
2739
|
+
errorCode
|
|
2740
|
+
});
|
|
2741
|
+
}
|
|
2742
|
+
}, "de_UpdateFileSystemProtectionCommandError");
|
|
2743
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(EFSServiceException);
|
|
2744
|
+
var de_AccessPointAlreadyExistsRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2745
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2746
|
+
const data = parsedOutput.body;
|
|
2747
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2748
|
+
AccessPointId: import_smithy_client.expectString,
|
|
2749
|
+
ErrorCode: import_smithy_client.expectString,
|
|
2750
|
+
Message: import_smithy_client.expectString
|
|
2751
|
+
});
|
|
2752
|
+
Object.assign(contents, doc);
|
|
2753
|
+
const exception = new AccessPointAlreadyExists({
|
|
2754
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2755
|
+
...contents
|
|
2756
|
+
});
|
|
2757
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2758
|
+
}, "de_AccessPointAlreadyExistsRes");
|
|
2759
|
+
var de_AccessPointLimitExceededRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2760
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2761
|
+
const data = parsedOutput.body;
|
|
2762
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2763
|
+
ErrorCode: import_smithy_client.expectString,
|
|
2764
|
+
Message: import_smithy_client.expectString
|
|
2765
|
+
});
|
|
2766
|
+
Object.assign(contents, doc);
|
|
2767
|
+
const exception = new AccessPointLimitExceeded({
|
|
2768
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2769
|
+
...contents
|
|
2770
|
+
});
|
|
2771
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2772
|
+
}, "de_AccessPointLimitExceededRes");
|
|
2773
|
+
var de_AccessPointNotFoundRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2774
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2775
|
+
const data = parsedOutput.body;
|
|
2776
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2777
|
+
ErrorCode: import_smithy_client.expectString,
|
|
2778
|
+
Message: import_smithy_client.expectString
|
|
2779
|
+
});
|
|
2780
|
+
Object.assign(contents, doc);
|
|
2781
|
+
const exception = new AccessPointNotFound({
|
|
2782
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2783
|
+
...contents
|
|
2784
|
+
});
|
|
2785
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2786
|
+
}, "de_AccessPointNotFoundRes");
|
|
2787
|
+
var de_AvailabilityZonesMismatchRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2788
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2789
|
+
const data = parsedOutput.body;
|
|
2790
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2791
|
+
ErrorCode: import_smithy_client.expectString,
|
|
2792
|
+
Message: import_smithy_client.expectString
|
|
2793
|
+
});
|
|
2794
|
+
Object.assign(contents, doc);
|
|
2795
|
+
const exception = new AvailabilityZonesMismatch({
|
|
2796
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2797
|
+
...contents
|
|
2798
|
+
});
|
|
2799
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2800
|
+
}, "de_AvailabilityZonesMismatchRes");
|
|
2801
|
+
var de_BadRequestRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2802
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2803
|
+
const data = parsedOutput.body;
|
|
2804
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2805
|
+
ErrorCode: import_smithy_client.expectString,
|
|
2806
|
+
Message: import_smithy_client.expectString
|
|
2807
|
+
});
|
|
2808
|
+
Object.assign(contents, doc);
|
|
2809
|
+
const exception = new BadRequest({
|
|
2810
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2811
|
+
...contents
|
|
2812
|
+
});
|
|
2813
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2814
|
+
}, "de_BadRequestRes");
|
|
2815
|
+
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2816
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2817
|
+
const data = parsedOutput.body;
|
|
2818
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2819
|
+
ErrorCode: import_smithy_client.expectString,
|
|
2820
|
+
Message: import_smithy_client.expectString
|
|
2821
|
+
});
|
|
2822
|
+
Object.assign(contents, doc);
|
|
2823
|
+
const exception = new ConflictException({
|
|
2824
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2825
|
+
...contents
|
|
2826
|
+
});
|
|
2827
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2828
|
+
}, "de_ConflictExceptionRes");
|
|
2829
|
+
var de_DependencyTimeoutRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2830
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2831
|
+
const data = parsedOutput.body;
|
|
2832
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2833
|
+
ErrorCode: import_smithy_client.expectString,
|
|
2834
|
+
Message: import_smithy_client.expectString
|
|
2835
|
+
});
|
|
2836
|
+
Object.assign(contents, doc);
|
|
2837
|
+
const exception = new DependencyTimeout({
|
|
2838
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2839
|
+
...contents
|
|
2840
|
+
});
|
|
2841
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2842
|
+
}, "de_DependencyTimeoutRes");
|
|
2843
|
+
var de_FileSystemAlreadyExistsRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2844
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2845
|
+
const data = parsedOutput.body;
|
|
2846
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2847
|
+
ErrorCode: import_smithy_client.expectString,
|
|
2848
|
+
FileSystemId: import_smithy_client.expectString,
|
|
2849
|
+
Message: import_smithy_client.expectString
|
|
2850
|
+
});
|
|
2851
|
+
Object.assign(contents, doc);
|
|
2852
|
+
const exception = new FileSystemAlreadyExists({
|
|
2853
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2854
|
+
...contents
|
|
2855
|
+
});
|
|
2856
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2857
|
+
}, "de_FileSystemAlreadyExistsRes");
|
|
2858
|
+
var de_FileSystemInUseRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2859
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2860
|
+
const data = parsedOutput.body;
|
|
2861
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2862
|
+
ErrorCode: import_smithy_client.expectString,
|
|
2863
|
+
Message: import_smithy_client.expectString
|
|
2864
|
+
});
|
|
2865
|
+
Object.assign(contents, doc);
|
|
2866
|
+
const exception = new FileSystemInUse({
|
|
2867
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2868
|
+
...contents
|
|
2869
|
+
});
|
|
2870
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2871
|
+
}, "de_FileSystemInUseRes");
|
|
2872
|
+
var de_FileSystemLimitExceededRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2873
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2874
|
+
const data = parsedOutput.body;
|
|
2875
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2876
|
+
ErrorCode: import_smithy_client.expectString,
|
|
2877
|
+
Message: import_smithy_client.expectString
|
|
2878
|
+
});
|
|
2879
|
+
Object.assign(contents, doc);
|
|
2880
|
+
const exception = new FileSystemLimitExceeded({
|
|
2881
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2882
|
+
...contents
|
|
2883
|
+
});
|
|
2884
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2885
|
+
}, "de_FileSystemLimitExceededRes");
|
|
2886
|
+
var de_FileSystemNotFoundRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2887
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2888
|
+
const data = parsedOutput.body;
|
|
2889
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2890
|
+
ErrorCode: import_smithy_client.expectString,
|
|
2891
|
+
Message: import_smithy_client.expectString
|
|
2892
|
+
});
|
|
2893
|
+
Object.assign(contents, doc);
|
|
2894
|
+
const exception = new FileSystemNotFound({
|
|
2895
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2896
|
+
...contents
|
|
2897
|
+
});
|
|
2898
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2899
|
+
}, "de_FileSystemNotFoundRes");
|
|
2900
|
+
var de_IncorrectFileSystemLifeCycleStateRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2901
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2902
|
+
const data = parsedOutput.body;
|
|
2903
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2904
|
+
ErrorCode: import_smithy_client.expectString,
|
|
2905
|
+
Message: import_smithy_client.expectString
|
|
2906
|
+
});
|
|
2907
|
+
Object.assign(contents, doc);
|
|
2908
|
+
const exception = new IncorrectFileSystemLifeCycleState({
|
|
2909
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2910
|
+
...contents
|
|
2911
|
+
});
|
|
2912
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2913
|
+
}, "de_IncorrectFileSystemLifeCycleStateRes");
|
|
2914
|
+
var de_IncorrectMountTargetStateRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2915
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2916
|
+
const data = parsedOutput.body;
|
|
2917
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2918
|
+
ErrorCode: import_smithy_client.expectString,
|
|
2919
|
+
Message: import_smithy_client.expectString
|
|
2920
|
+
});
|
|
2921
|
+
Object.assign(contents, doc);
|
|
2922
|
+
const exception = new IncorrectMountTargetState({
|
|
2923
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2924
|
+
...contents
|
|
2925
|
+
});
|
|
2926
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2927
|
+
}, "de_IncorrectMountTargetStateRes");
|
|
2928
|
+
var de_InsufficientThroughputCapacityRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2929
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2930
|
+
const data = parsedOutput.body;
|
|
2931
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2932
|
+
ErrorCode: import_smithy_client.expectString,
|
|
2933
|
+
Message: import_smithy_client.expectString
|
|
2934
|
+
});
|
|
2935
|
+
Object.assign(contents, doc);
|
|
2936
|
+
const exception = new InsufficientThroughputCapacity({
|
|
2937
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2938
|
+
...contents
|
|
2939
|
+
});
|
|
2940
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2941
|
+
}, "de_InsufficientThroughputCapacityRes");
|
|
2942
|
+
var de_InternalServerErrorRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2943
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2944
|
+
const data = parsedOutput.body;
|
|
2945
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2946
|
+
ErrorCode: import_smithy_client.expectString,
|
|
2947
|
+
Message: import_smithy_client.expectString
|
|
2948
|
+
});
|
|
2949
|
+
Object.assign(contents, doc);
|
|
2950
|
+
const exception = new InternalServerError({
|
|
2951
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2952
|
+
...contents
|
|
2953
|
+
});
|
|
2954
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2955
|
+
}, "de_InternalServerErrorRes");
|
|
2956
|
+
var de_InvalidPolicyExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2957
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2958
|
+
const data = parsedOutput.body;
|
|
2959
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2960
|
+
ErrorCode: import_smithy_client.expectString,
|
|
2961
|
+
Message: import_smithy_client.expectString
|
|
2962
|
+
});
|
|
2963
|
+
Object.assign(contents, doc);
|
|
2964
|
+
const exception = new InvalidPolicyException({
|
|
2965
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2966
|
+
...contents
|
|
2967
|
+
});
|
|
2968
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2969
|
+
}, "de_InvalidPolicyExceptionRes");
|
|
2970
|
+
var de_IpAddressInUseRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2971
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2972
|
+
const data = parsedOutput.body;
|
|
2973
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2974
|
+
ErrorCode: import_smithy_client.expectString,
|
|
2975
|
+
Message: import_smithy_client.expectString
|
|
2976
|
+
});
|
|
2977
|
+
Object.assign(contents, doc);
|
|
2978
|
+
const exception = new IpAddressInUse({
|
|
2979
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2980
|
+
...contents
|
|
2981
|
+
});
|
|
2982
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2983
|
+
}, "de_IpAddressInUseRes");
|
|
2984
|
+
var de_MountTargetConflictRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2985
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2986
|
+
const data = parsedOutput.body;
|
|
2987
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2988
|
+
ErrorCode: import_smithy_client.expectString,
|
|
2989
|
+
Message: import_smithy_client.expectString
|
|
2990
|
+
});
|
|
2991
|
+
Object.assign(contents, doc);
|
|
2992
|
+
const exception = new MountTargetConflict({
|
|
2993
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2994
|
+
...contents
|
|
2995
|
+
});
|
|
2996
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2997
|
+
}, "de_MountTargetConflictRes");
|
|
2998
|
+
var de_MountTargetNotFoundRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2999
|
+
const contents = (0, import_smithy_client.map)({});
|
|
3000
|
+
const data = parsedOutput.body;
|
|
3001
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3002
|
+
ErrorCode: import_smithy_client.expectString,
|
|
3003
|
+
Message: import_smithy_client.expectString
|
|
3004
|
+
});
|
|
3005
|
+
Object.assign(contents, doc);
|
|
3006
|
+
const exception = new MountTargetNotFound({
|
|
3007
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3008
|
+
...contents
|
|
3009
|
+
});
|
|
3010
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
3011
|
+
}, "de_MountTargetNotFoundRes");
|
|
3012
|
+
var de_NetworkInterfaceLimitExceededRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3013
|
+
const contents = (0, import_smithy_client.map)({});
|
|
3014
|
+
const data = parsedOutput.body;
|
|
3015
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3016
|
+
ErrorCode: import_smithy_client.expectString,
|
|
3017
|
+
Message: import_smithy_client.expectString
|
|
3018
|
+
});
|
|
3019
|
+
Object.assign(contents, doc);
|
|
3020
|
+
const exception = new NetworkInterfaceLimitExceeded({
|
|
3021
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3022
|
+
...contents
|
|
3023
|
+
});
|
|
3024
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
3025
|
+
}, "de_NetworkInterfaceLimitExceededRes");
|
|
3026
|
+
var de_NoFreeAddressesInSubnetRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3027
|
+
const contents = (0, import_smithy_client.map)({});
|
|
3028
|
+
const data = parsedOutput.body;
|
|
3029
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3030
|
+
ErrorCode: import_smithy_client.expectString,
|
|
3031
|
+
Message: import_smithy_client.expectString
|
|
3032
|
+
});
|
|
3033
|
+
Object.assign(contents, doc);
|
|
3034
|
+
const exception = new NoFreeAddressesInSubnet({
|
|
3035
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3036
|
+
...contents
|
|
3037
|
+
});
|
|
3038
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
3039
|
+
}, "de_NoFreeAddressesInSubnetRes");
|
|
3040
|
+
var de_PolicyNotFoundRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3041
|
+
const contents = (0, import_smithy_client.map)({});
|
|
3042
|
+
const data = parsedOutput.body;
|
|
3043
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3044
|
+
ErrorCode: import_smithy_client.expectString,
|
|
3045
|
+
Message: import_smithy_client.expectString
|
|
3046
|
+
});
|
|
3047
|
+
Object.assign(contents, doc);
|
|
3048
|
+
const exception = new PolicyNotFound({
|
|
3049
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3050
|
+
...contents
|
|
3051
|
+
});
|
|
3052
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
3053
|
+
}, "de_PolicyNotFoundRes");
|
|
3054
|
+
var de_ReplicationAlreadyExistsRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3055
|
+
const contents = (0, import_smithy_client.map)({});
|
|
3056
|
+
const data = parsedOutput.body;
|
|
3057
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3058
|
+
ErrorCode: import_smithy_client.expectString,
|
|
3059
|
+
Message: import_smithy_client.expectString
|
|
3060
|
+
});
|
|
3061
|
+
Object.assign(contents, doc);
|
|
3062
|
+
const exception = new ReplicationAlreadyExists({
|
|
3063
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3064
|
+
...contents
|
|
3065
|
+
});
|
|
3066
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
3067
|
+
}, "de_ReplicationAlreadyExistsRes");
|
|
3068
|
+
var de_ReplicationNotFoundRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3069
|
+
const contents = (0, import_smithy_client.map)({});
|
|
3070
|
+
const data = parsedOutput.body;
|
|
3071
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3072
|
+
ErrorCode: import_smithy_client.expectString,
|
|
3073
|
+
Message: import_smithy_client.expectString
|
|
3074
|
+
});
|
|
3075
|
+
Object.assign(contents, doc);
|
|
3076
|
+
const exception = new ReplicationNotFound({
|
|
3077
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3078
|
+
...contents
|
|
3079
|
+
});
|
|
3080
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
3081
|
+
}, "de_ReplicationNotFoundRes");
|
|
3082
|
+
var de_SecurityGroupLimitExceededRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3083
|
+
const contents = (0, import_smithy_client.map)({});
|
|
3084
|
+
const data = parsedOutput.body;
|
|
3085
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3086
|
+
ErrorCode: import_smithy_client.expectString,
|
|
3087
|
+
Message: import_smithy_client.expectString
|
|
3088
|
+
});
|
|
3089
|
+
Object.assign(contents, doc);
|
|
3090
|
+
const exception = new SecurityGroupLimitExceeded({
|
|
3091
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3092
|
+
...contents
|
|
3093
|
+
});
|
|
3094
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
3095
|
+
}, "de_SecurityGroupLimitExceededRes");
|
|
3096
|
+
var de_SecurityGroupNotFoundRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3097
|
+
const contents = (0, import_smithy_client.map)({});
|
|
3098
|
+
const data = parsedOutput.body;
|
|
3099
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3100
|
+
ErrorCode: import_smithy_client.expectString,
|
|
3101
|
+
Message: import_smithy_client.expectString
|
|
3102
|
+
});
|
|
3103
|
+
Object.assign(contents, doc);
|
|
3104
|
+
const exception = new SecurityGroupNotFound({
|
|
3105
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3106
|
+
...contents
|
|
3107
|
+
});
|
|
3108
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
3109
|
+
}, "de_SecurityGroupNotFoundRes");
|
|
3110
|
+
var de_SubnetNotFoundRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3111
|
+
const contents = (0, import_smithy_client.map)({});
|
|
3112
|
+
const data = parsedOutput.body;
|
|
3113
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3114
|
+
ErrorCode: import_smithy_client.expectString,
|
|
3115
|
+
Message: import_smithy_client.expectString
|
|
3116
|
+
});
|
|
3117
|
+
Object.assign(contents, doc);
|
|
3118
|
+
const exception = new SubnetNotFound({
|
|
3119
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3120
|
+
...contents
|
|
3121
|
+
});
|
|
3122
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
3123
|
+
}, "de_SubnetNotFoundRes");
|
|
3124
|
+
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3125
|
+
const contents = (0, import_smithy_client.map)({});
|
|
3126
|
+
const data = parsedOutput.body;
|
|
3127
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3128
|
+
ErrorCode: import_smithy_client.expectString,
|
|
3129
|
+
Message: import_smithy_client.expectString
|
|
3130
|
+
});
|
|
3131
|
+
Object.assign(contents, doc);
|
|
3132
|
+
const exception = new ThrottlingException({
|
|
3133
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3134
|
+
...contents
|
|
3135
|
+
});
|
|
3136
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
3137
|
+
}, "de_ThrottlingExceptionRes");
|
|
3138
|
+
var de_ThroughputLimitExceededRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3139
|
+
const contents = (0, import_smithy_client.map)({});
|
|
3140
|
+
const data = parsedOutput.body;
|
|
3141
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3142
|
+
ErrorCode: import_smithy_client.expectString,
|
|
3143
|
+
Message: import_smithy_client.expectString
|
|
3144
|
+
});
|
|
3145
|
+
Object.assign(contents, doc);
|
|
3146
|
+
const exception = new ThroughputLimitExceeded({
|
|
3147
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3148
|
+
...contents
|
|
3149
|
+
});
|
|
3150
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
3151
|
+
}, "de_ThroughputLimitExceededRes");
|
|
3152
|
+
var de_TooManyRequestsRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3153
|
+
const contents = (0, import_smithy_client.map)({});
|
|
3154
|
+
const data = parsedOutput.body;
|
|
3155
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3156
|
+
ErrorCode: import_smithy_client.expectString,
|
|
3157
|
+
Message: import_smithy_client.expectString
|
|
3158
|
+
});
|
|
3159
|
+
Object.assign(contents, doc);
|
|
3160
|
+
const exception = new TooManyRequests({
|
|
3161
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3162
|
+
...contents
|
|
3163
|
+
});
|
|
3164
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
3165
|
+
}, "de_TooManyRequestsRes");
|
|
3166
|
+
var de_UnsupportedAvailabilityZoneRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3167
|
+
const contents = (0, import_smithy_client.map)({});
|
|
3168
|
+
const data = parsedOutput.body;
|
|
3169
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3170
|
+
ErrorCode: import_smithy_client.expectString,
|
|
3171
|
+
Message: import_smithy_client.expectString
|
|
3172
|
+
});
|
|
3173
|
+
Object.assign(contents, doc);
|
|
3174
|
+
const exception = new UnsupportedAvailabilityZone({
|
|
3175
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3176
|
+
...contents
|
|
3177
|
+
});
|
|
3178
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
3179
|
+
}, "de_UnsupportedAvailabilityZoneRes");
|
|
3180
|
+
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3181
|
+
const contents = (0, import_smithy_client.map)({});
|
|
3182
|
+
const data = parsedOutput.body;
|
|
3183
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3184
|
+
ErrorCode: import_smithy_client.expectString,
|
|
3185
|
+
Message: import_smithy_client.expectString
|
|
3186
|
+
});
|
|
3187
|
+
Object.assign(contents, doc);
|
|
3188
|
+
const exception = new ValidationException({
|
|
3189
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3190
|
+
...contents
|
|
3191
|
+
});
|
|
3192
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
3193
|
+
}, "de_ValidationExceptionRes");
|
|
3194
|
+
var de_Destination = /* @__PURE__ */ __name((output, context) => {
|
|
3195
|
+
return (0, import_smithy_client.take)(output, {
|
|
3196
|
+
FileSystemId: import_smithy_client.expectString,
|
|
3197
|
+
LastReplicatedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3198
|
+
Region: import_smithy_client.expectString,
|
|
3199
|
+
Status: import_smithy_client.expectString
|
|
3200
|
+
});
|
|
3201
|
+
}, "de_Destination");
|
|
3202
|
+
var de_Destinations = /* @__PURE__ */ __name((output, context) => {
|
|
3203
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3204
|
+
return de_Destination(entry, context);
|
|
3205
|
+
});
|
|
3206
|
+
return retVal;
|
|
3207
|
+
}, "de_Destinations");
|
|
3208
|
+
var de_FileSystemDescription = /* @__PURE__ */ __name((output, context) => {
|
|
3209
|
+
return (0, import_smithy_client.take)(output, {
|
|
3210
|
+
AvailabilityZoneId: import_smithy_client.expectString,
|
|
3211
|
+
AvailabilityZoneName: import_smithy_client.expectString,
|
|
3212
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3213
|
+
CreationToken: import_smithy_client.expectString,
|
|
3214
|
+
Encrypted: import_smithy_client.expectBoolean,
|
|
3215
|
+
FileSystemArn: import_smithy_client.expectString,
|
|
3216
|
+
FileSystemId: import_smithy_client.expectString,
|
|
3217
|
+
FileSystemProtection: import_smithy_client._json,
|
|
3218
|
+
KmsKeyId: import_smithy_client.expectString,
|
|
3219
|
+
LifeCycleState: import_smithy_client.expectString,
|
|
3220
|
+
Name: import_smithy_client.expectString,
|
|
3221
|
+
NumberOfMountTargets: import_smithy_client.expectInt32,
|
|
3222
|
+
OwnerId: import_smithy_client.expectString,
|
|
3223
|
+
PerformanceMode: import_smithy_client.expectString,
|
|
3224
|
+
ProvisionedThroughputInMibps: import_smithy_client.limitedParseDouble,
|
|
3225
|
+
SizeInBytes: (_) => de_FileSystemSize(_, context),
|
|
3226
|
+
Tags: import_smithy_client._json,
|
|
3227
|
+
ThroughputMode: import_smithy_client.expectString
|
|
3228
|
+
});
|
|
3229
|
+
}, "de_FileSystemDescription");
|
|
3230
|
+
var de_FileSystemDescriptions = /* @__PURE__ */ __name((output, context) => {
|
|
3231
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3232
|
+
return de_FileSystemDescription(entry, context);
|
|
3233
|
+
});
|
|
3234
|
+
return retVal;
|
|
3235
|
+
}, "de_FileSystemDescriptions");
|
|
3236
|
+
var de_FileSystemSize = /* @__PURE__ */ __name((output, context) => {
|
|
3237
|
+
return (0, import_smithy_client.take)(output, {
|
|
3238
|
+
Timestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3239
|
+
Value: import_smithy_client.expectLong,
|
|
3240
|
+
ValueInArchive: import_smithy_client.expectLong,
|
|
3241
|
+
ValueInIA: import_smithy_client.expectLong,
|
|
3242
|
+
ValueInStandard: import_smithy_client.expectLong
|
|
3243
|
+
});
|
|
3244
|
+
}, "de_FileSystemSize");
|
|
3245
|
+
var de_ReplicationConfigurationDescription = /* @__PURE__ */ __name((output, context) => {
|
|
3246
|
+
return (0, import_smithy_client.take)(output, {
|
|
3247
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3248
|
+
Destinations: (_) => de_Destinations(_, context),
|
|
3249
|
+
OriginalSourceFileSystemArn: import_smithy_client.expectString,
|
|
3250
|
+
SourceFileSystemArn: import_smithy_client.expectString,
|
|
3251
|
+
SourceFileSystemId: import_smithy_client.expectString,
|
|
3252
|
+
SourceFileSystemRegion: import_smithy_client.expectString
|
|
3253
|
+
});
|
|
3254
|
+
}, "de_ReplicationConfigurationDescription");
|
|
3255
|
+
var de_ReplicationConfigurationDescriptions = /* @__PURE__ */ __name((output, context) => {
|
|
3256
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3257
|
+
return de_ReplicationConfigurationDescription(entry, context);
|
|
3258
|
+
});
|
|
3259
|
+
return retVal;
|
|
3260
|
+
}, "de_ReplicationConfigurationDescriptions");
|
|
3261
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
3262
|
+
httpStatusCode: output.statusCode,
|
|
3263
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
3264
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
3265
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
3266
|
+
}), "deserializeMetadata");
|
|
3267
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
3268
|
+
var _API = "AccessPointId";
|
|
3269
|
+
var _CT = "CreationToken";
|
|
3270
|
+
var _FSI = "FileSystemId";
|
|
3271
|
+
var _M = "Marker";
|
|
3272
|
+
var _MI = "MaxItems";
|
|
3273
|
+
var _MR = "MaxResults";
|
|
3274
|
+
var _MTI = "MountTargetId";
|
|
3275
|
+
var _NT = "NextToken";
|
|
3276
|
+
var _TK = "TagKeys";
|
|
3277
|
+
var _tK = "tagKeys";
|
|
3278
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
3279
|
+
if (encoded.length) {
|
|
3280
|
+
return JSON.parse(encoded);
|
|
3281
|
+
}
|
|
3282
|
+
return {};
|
|
3283
|
+
}), "parseBody");
|
|
3284
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
3285
|
+
const value = await parseBody(errorBody, context);
|
|
3286
|
+
value.message = value.message ?? value.Message;
|
|
3287
|
+
return value;
|
|
3288
|
+
}, "parseErrorBody");
|
|
3289
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
3290
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
3291
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
3292
|
+
let cleanValue = rawValue;
|
|
3293
|
+
if (typeof cleanValue === "number") {
|
|
3294
|
+
cleanValue = cleanValue.toString();
|
|
3295
|
+
}
|
|
3296
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
3297
|
+
cleanValue = cleanValue.split(",")[0];
|
|
3298
|
+
}
|
|
3299
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
3300
|
+
cleanValue = cleanValue.split(":")[0];
|
|
3301
|
+
}
|
|
3302
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
3303
|
+
cleanValue = cleanValue.split("#")[1];
|
|
3304
|
+
}
|
|
3305
|
+
return cleanValue;
|
|
3306
|
+
}, "sanitizeErrorCode");
|
|
3307
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
3308
|
+
if (headerKey !== void 0) {
|
|
3309
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
3310
|
+
}
|
|
3311
|
+
if (data.code !== void 0) {
|
|
3312
|
+
return sanitizeErrorCode(data.code);
|
|
3313
|
+
}
|
|
3314
|
+
if (data["__type"] !== void 0) {
|
|
3315
|
+
return sanitizeErrorCode(data["__type"]);
|
|
3316
|
+
}
|
|
3317
|
+
}, "loadRestJsonErrorCode");
|
|
3318
|
+
|
|
3319
|
+
// src/commands/CreateAccessPointCommand.ts
|
|
3320
|
+
var _CreateAccessPointCommand = class _CreateAccessPointCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3321
|
+
...commonParams
|
|
3322
|
+
}).m(function(Command, cs, config, o) {
|
|
3323
|
+
return [
|
|
3324
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3325
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3326
|
+
];
|
|
3327
|
+
}).s("MagnolioAPIService_v20150201", "CreateAccessPoint", {}).n("EFSClient", "CreateAccessPointCommand").f(void 0, void 0).ser(se_CreateAccessPointCommand).de(de_CreateAccessPointCommand).build() {
|
|
3328
|
+
};
|
|
3329
|
+
__name(_CreateAccessPointCommand, "CreateAccessPointCommand");
|
|
3330
|
+
var CreateAccessPointCommand = _CreateAccessPointCommand;
|
|
3331
|
+
|
|
3332
|
+
// src/commands/CreateFileSystemCommand.ts
|
|
3333
|
+
|
|
3334
|
+
|
|
3335
|
+
|
|
3336
|
+
|
|
3337
|
+
var _CreateFileSystemCommand = class _CreateFileSystemCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3338
|
+
...commonParams
|
|
3339
|
+
}).m(function(Command, cs, config, o) {
|
|
3340
|
+
return [
|
|
3341
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3342
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3343
|
+
];
|
|
3344
|
+
}).s("MagnolioAPIService_v20150201", "CreateFileSystem", {}).n("EFSClient", "CreateFileSystemCommand").f(void 0, void 0).ser(se_CreateFileSystemCommand).de(de_CreateFileSystemCommand).build() {
|
|
3345
|
+
};
|
|
3346
|
+
__name(_CreateFileSystemCommand, "CreateFileSystemCommand");
|
|
3347
|
+
var CreateFileSystemCommand = _CreateFileSystemCommand;
|
|
3348
|
+
|
|
3349
|
+
// src/commands/CreateMountTargetCommand.ts
|
|
3350
|
+
|
|
3351
|
+
|
|
3352
|
+
|
|
3353
|
+
|
|
3354
|
+
var _CreateMountTargetCommand = class _CreateMountTargetCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3355
|
+
...commonParams
|
|
3356
|
+
}).m(function(Command, cs, config, o) {
|
|
3357
|
+
return [
|
|
3358
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3359
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3360
|
+
];
|
|
3361
|
+
}).s("MagnolioAPIService_v20150201", "CreateMountTarget", {}).n("EFSClient", "CreateMountTargetCommand").f(void 0, void 0).ser(se_CreateMountTargetCommand).de(de_CreateMountTargetCommand).build() {
|
|
3362
|
+
};
|
|
3363
|
+
__name(_CreateMountTargetCommand, "CreateMountTargetCommand");
|
|
3364
|
+
var CreateMountTargetCommand = _CreateMountTargetCommand;
|
|
3365
|
+
|
|
3366
|
+
// src/commands/CreateReplicationConfigurationCommand.ts
|
|
3367
|
+
|
|
3368
|
+
|
|
3369
|
+
|
|
3370
|
+
|
|
3371
|
+
var _CreateReplicationConfigurationCommand = class _CreateReplicationConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3372
|
+
...commonParams
|
|
3373
|
+
}).m(function(Command, cs, config, o) {
|
|
3374
|
+
return [
|
|
3375
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3376
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3377
|
+
];
|
|
3378
|
+
}).s("MagnolioAPIService_v20150201", "CreateReplicationConfiguration", {}).n("EFSClient", "CreateReplicationConfigurationCommand").f(void 0, void 0).ser(se_CreateReplicationConfigurationCommand).de(de_CreateReplicationConfigurationCommand).build() {
|
|
3379
|
+
};
|
|
3380
|
+
__name(_CreateReplicationConfigurationCommand, "CreateReplicationConfigurationCommand");
|
|
3381
|
+
var CreateReplicationConfigurationCommand = _CreateReplicationConfigurationCommand;
|
|
3382
|
+
|
|
3383
|
+
// src/commands/CreateTagsCommand.ts
|
|
3384
|
+
|
|
3385
|
+
|
|
3386
|
+
|
|
3387
|
+
|
|
3388
|
+
var _CreateTagsCommand = class _CreateTagsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3389
|
+
...commonParams
|
|
3390
|
+
}).m(function(Command, cs, config, o) {
|
|
3391
|
+
return [
|
|
3392
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3393
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3394
|
+
];
|
|
3395
|
+
}).s("MagnolioAPIService_v20150201", "CreateTags", {}).n("EFSClient", "CreateTagsCommand").f(void 0, void 0).ser(se_CreateTagsCommand).de(de_CreateTagsCommand).build() {
|
|
3396
|
+
};
|
|
3397
|
+
__name(_CreateTagsCommand, "CreateTagsCommand");
|
|
3398
|
+
var CreateTagsCommand = _CreateTagsCommand;
|
|
3399
|
+
|
|
3400
|
+
// src/commands/DeleteAccessPointCommand.ts
|
|
3401
|
+
|
|
3402
|
+
|
|
3403
|
+
|
|
3404
|
+
|
|
3405
|
+
var _DeleteAccessPointCommand = class _DeleteAccessPointCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3406
|
+
...commonParams
|
|
3407
|
+
}).m(function(Command, cs, config, o) {
|
|
3408
|
+
return [
|
|
3409
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3410
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3411
|
+
];
|
|
3412
|
+
}).s("MagnolioAPIService_v20150201", "DeleteAccessPoint", {}).n("EFSClient", "DeleteAccessPointCommand").f(void 0, void 0).ser(se_DeleteAccessPointCommand).de(de_DeleteAccessPointCommand).build() {
|
|
3413
|
+
};
|
|
3414
|
+
__name(_DeleteAccessPointCommand, "DeleteAccessPointCommand");
|
|
3415
|
+
var DeleteAccessPointCommand = _DeleteAccessPointCommand;
|
|
3416
|
+
|
|
3417
|
+
// src/commands/DeleteFileSystemCommand.ts
|
|
3418
|
+
|
|
3419
|
+
|
|
3420
|
+
|
|
3421
|
+
|
|
3422
|
+
var _DeleteFileSystemCommand = class _DeleteFileSystemCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3423
|
+
...commonParams
|
|
3424
|
+
}).m(function(Command, cs, config, o) {
|
|
3425
|
+
return [
|
|
3426
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3427
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3428
|
+
];
|
|
3429
|
+
}).s("MagnolioAPIService_v20150201", "DeleteFileSystem", {}).n("EFSClient", "DeleteFileSystemCommand").f(void 0, void 0).ser(se_DeleteFileSystemCommand).de(de_DeleteFileSystemCommand).build() {
|
|
3430
|
+
};
|
|
3431
|
+
__name(_DeleteFileSystemCommand, "DeleteFileSystemCommand");
|
|
3432
|
+
var DeleteFileSystemCommand = _DeleteFileSystemCommand;
|
|
3433
|
+
|
|
3434
|
+
// src/commands/DeleteFileSystemPolicyCommand.ts
|
|
3435
|
+
|
|
3436
|
+
|
|
3437
|
+
|
|
3438
|
+
|
|
3439
|
+
var _DeleteFileSystemPolicyCommand = class _DeleteFileSystemPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3440
|
+
...commonParams
|
|
3441
|
+
}).m(function(Command, cs, config, o) {
|
|
3442
|
+
return [
|
|
3443
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3444
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3445
|
+
];
|
|
3446
|
+
}).s("MagnolioAPIService_v20150201", "DeleteFileSystemPolicy", {}).n("EFSClient", "DeleteFileSystemPolicyCommand").f(void 0, void 0).ser(se_DeleteFileSystemPolicyCommand).de(de_DeleteFileSystemPolicyCommand).build() {
|
|
3447
|
+
};
|
|
3448
|
+
__name(_DeleteFileSystemPolicyCommand, "DeleteFileSystemPolicyCommand");
|
|
3449
|
+
var DeleteFileSystemPolicyCommand = _DeleteFileSystemPolicyCommand;
|
|
3450
|
+
|
|
3451
|
+
// src/commands/DeleteMountTargetCommand.ts
|
|
3452
|
+
|
|
3453
|
+
|
|
3454
|
+
|
|
3455
|
+
|
|
3456
|
+
var _DeleteMountTargetCommand = class _DeleteMountTargetCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3457
|
+
...commonParams
|
|
3458
|
+
}).m(function(Command, cs, config, o) {
|
|
3459
|
+
return [
|
|
3460
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3461
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3462
|
+
];
|
|
3463
|
+
}).s("MagnolioAPIService_v20150201", "DeleteMountTarget", {}).n("EFSClient", "DeleteMountTargetCommand").f(void 0, void 0).ser(se_DeleteMountTargetCommand).de(de_DeleteMountTargetCommand).build() {
|
|
3464
|
+
};
|
|
3465
|
+
__name(_DeleteMountTargetCommand, "DeleteMountTargetCommand");
|
|
3466
|
+
var DeleteMountTargetCommand = _DeleteMountTargetCommand;
|
|
3467
|
+
|
|
3468
|
+
// src/commands/DeleteReplicationConfigurationCommand.ts
|
|
3469
|
+
|
|
3470
|
+
|
|
3471
|
+
|
|
3472
|
+
|
|
3473
|
+
var _DeleteReplicationConfigurationCommand = class _DeleteReplicationConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3474
|
+
...commonParams
|
|
3475
|
+
}).m(function(Command, cs, config, o) {
|
|
3476
|
+
return [
|
|
3477
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3478
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3479
|
+
];
|
|
3480
|
+
}).s("MagnolioAPIService_v20150201", "DeleteReplicationConfiguration", {}).n("EFSClient", "DeleteReplicationConfigurationCommand").f(void 0, void 0).ser(se_DeleteReplicationConfigurationCommand).de(de_DeleteReplicationConfigurationCommand).build() {
|
|
3481
|
+
};
|
|
3482
|
+
__name(_DeleteReplicationConfigurationCommand, "DeleteReplicationConfigurationCommand");
|
|
3483
|
+
var DeleteReplicationConfigurationCommand = _DeleteReplicationConfigurationCommand;
|
|
3484
|
+
|
|
3485
|
+
// src/commands/DeleteTagsCommand.ts
|
|
3486
|
+
|
|
3487
|
+
|
|
3488
|
+
|
|
3489
|
+
|
|
3490
|
+
var _DeleteTagsCommand = class _DeleteTagsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3491
|
+
...commonParams
|
|
3492
|
+
}).m(function(Command, cs, config, o) {
|
|
3493
|
+
return [
|
|
3494
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3495
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3496
|
+
];
|
|
3497
|
+
}).s("MagnolioAPIService_v20150201", "DeleteTags", {}).n("EFSClient", "DeleteTagsCommand").f(void 0, void 0).ser(se_DeleteTagsCommand).de(de_DeleteTagsCommand).build() {
|
|
3498
|
+
};
|
|
3499
|
+
__name(_DeleteTagsCommand, "DeleteTagsCommand");
|
|
3500
|
+
var DeleteTagsCommand = _DeleteTagsCommand;
|
|
3501
|
+
|
|
3502
|
+
// src/commands/DescribeAccessPointsCommand.ts
|
|
3503
|
+
|
|
3504
|
+
|
|
3505
|
+
|
|
3506
|
+
|
|
3507
|
+
var _DescribeAccessPointsCommand = class _DescribeAccessPointsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3508
|
+
...commonParams
|
|
3509
|
+
}).m(function(Command, cs, config, o) {
|
|
3510
|
+
return [
|
|
3511
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3512
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3513
|
+
];
|
|
3514
|
+
}).s("MagnolioAPIService_v20150201", "DescribeAccessPoints", {}).n("EFSClient", "DescribeAccessPointsCommand").f(void 0, void 0).ser(se_DescribeAccessPointsCommand).de(de_DescribeAccessPointsCommand).build() {
|
|
3515
|
+
};
|
|
3516
|
+
__name(_DescribeAccessPointsCommand, "DescribeAccessPointsCommand");
|
|
3517
|
+
var DescribeAccessPointsCommand = _DescribeAccessPointsCommand;
|
|
3518
|
+
|
|
3519
|
+
// src/commands/DescribeAccountPreferencesCommand.ts
|
|
3520
|
+
|
|
3521
|
+
|
|
3522
|
+
|
|
3523
|
+
|
|
3524
|
+
var _DescribeAccountPreferencesCommand = class _DescribeAccountPreferencesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3525
|
+
...commonParams
|
|
3526
|
+
}).m(function(Command, cs, config, o) {
|
|
3527
|
+
return [
|
|
3528
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3529
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3530
|
+
];
|
|
3531
|
+
}).s("MagnolioAPIService_v20150201", "DescribeAccountPreferences", {}).n("EFSClient", "DescribeAccountPreferencesCommand").f(void 0, void 0).ser(se_DescribeAccountPreferencesCommand).de(de_DescribeAccountPreferencesCommand).build() {
|
|
3532
|
+
};
|
|
3533
|
+
__name(_DescribeAccountPreferencesCommand, "DescribeAccountPreferencesCommand");
|
|
3534
|
+
var DescribeAccountPreferencesCommand = _DescribeAccountPreferencesCommand;
|
|
3535
|
+
|
|
3536
|
+
// src/commands/DescribeBackupPolicyCommand.ts
|
|
3537
|
+
|
|
3538
|
+
|
|
3539
|
+
|
|
3540
|
+
|
|
3541
|
+
var _DescribeBackupPolicyCommand = class _DescribeBackupPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3542
|
+
...commonParams
|
|
3543
|
+
}).m(function(Command, cs, config, o) {
|
|
3544
|
+
return [
|
|
3545
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3546
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3547
|
+
];
|
|
3548
|
+
}).s("MagnolioAPIService_v20150201", "DescribeBackupPolicy", {}).n("EFSClient", "DescribeBackupPolicyCommand").f(void 0, void 0).ser(se_DescribeBackupPolicyCommand).de(de_DescribeBackupPolicyCommand).build() {
|
|
3549
|
+
};
|
|
3550
|
+
__name(_DescribeBackupPolicyCommand, "DescribeBackupPolicyCommand");
|
|
3551
|
+
var DescribeBackupPolicyCommand = _DescribeBackupPolicyCommand;
|
|
3552
|
+
|
|
3553
|
+
// src/commands/DescribeFileSystemPolicyCommand.ts
|
|
3554
|
+
|
|
3555
|
+
|
|
3556
|
+
|
|
3557
|
+
|
|
3558
|
+
var _DescribeFileSystemPolicyCommand = class _DescribeFileSystemPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3559
|
+
...commonParams
|
|
3560
|
+
}).m(function(Command, cs, config, o) {
|
|
3561
|
+
return [
|
|
3562
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3563
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3564
|
+
];
|
|
3565
|
+
}).s("MagnolioAPIService_v20150201", "DescribeFileSystemPolicy", {}).n("EFSClient", "DescribeFileSystemPolicyCommand").f(void 0, void 0).ser(se_DescribeFileSystemPolicyCommand).de(de_DescribeFileSystemPolicyCommand).build() {
|
|
3566
|
+
};
|
|
3567
|
+
__name(_DescribeFileSystemPolicyCommand, "DescribeFileSystemPolicyCommand");
|
|
3568
|
+
var DescribeFileSystemPolicyCommand = _DescribeFileSystemPolicyCommand;
|
|
3569
|
+
|
|
3570
|
+
// src/commands/DescribeFileSystemsCommand.ts
|
|
3571
|
+
|
|
3572
|
+
|
|
3573
|
+
|
|
3574
|
+
|
|
3575
|
+
var _DescribeFileSystemsCommand = class _DescribeFileSystemsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3576
|
+
...commonParams
|
|
3577
|
+
}).m(function(Command, cs, config, o) {
|
|
3578
|
+
return [
|
|
3579
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3580
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3581
|
+
];
|
|
3582
|
+
}).s("MagnolioAPIService_v20150201", "DescribeFileSystems", {}).n("EFSClient", "DescribeFileSystemsCommand").f(void 0, void 0).ser(se_DescribeFileSystemsCommand).de(de_DescribeFileSystemsCommand).build() {
|
|
3583
|
+
};
|
|
3584
|
+
__name(_DescribeFileSystemsCommand, "DescribeFileSystemsCommand");
|
|
3585
|
+
var DescribeFileSystemsCommand = _DescribeFileSystemsCommand;
|
|
3586
|
+
|
|
3587
|
+
// src/commands/DescribeLifecycleConfigurationCommand.ts
|
|
3588
|
+
|
|
3589
|
+
|
|
3590
|
+
|
|
3591
|
+
|
|
3592
|
+
var _DescribeLifecycleConfigurationCommand = class _DescribeLifecycleConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3593
|
+
...commonParams
|
|
3594
|
+
}).m(function(Command, cs, config, o) {
|
|
3595
|
+
return [
|
|
3596
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3597
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3598
|
+
];
|
|
3599
|
+
}).s("MagnolioAPIService_v20150201", "DescribeLifecycleConfiguration", {}).n("EFSClient", "DescribeLifecycleConfigurationCommand").f(void 0, void 0).ser(se_DescribeLifecycleConfigurationCommand).de(de_DescribeLifecycleConfigurationCommand).build() {
|
|
3600
|
+
};
|
|
3601
|
+
__name(_DescribeLifecycleConfigurationCommand, "DescribeLifecycleConfigurationCommand");
|
|
3602
|
+
var DescribeLifecycleConfigurationCommand = _DescribeLifecycleConfigurationCommand;
|
|
3603
|
+
|
|
3604
|
+
// src/commands/DescribeMountTargetsCommand.ts
|
|
3605
|
+
|
|
3606
|
+
|
|
3607
|
+
|
|
3608
|
+
|
|
3609
|
+
var _DescribeMountTargetsCommand = class _DescribeMountTargetsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3610
|
+
...commonParams
|
|
3611
|
+
}).m(function(Command, cs, config, o) {
|
|
3612
|
+
return [
|
|
3613
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3614
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3615
|
+
];
|
|
3616
|
+
}).s("MagnolioAPIService_v20150201", "DescribeMountTargets", {}).n("EFSClient", "DescribeMountTargetsCommand").f(void 0, void 0).ser(se_DescribeMountTargetsCommand).de(de_DescribeMountTargetsCommand).build() {
|
|
3617
|
+
};
|
|
3618
|
+
__name(_DescribeMountTargetsCommand, "DescribeMountTargetsCommand");
|
|
3619
|
+
var DescribeMountTargetsCommand = _DescribeMountTargetsCommand;
|
|
3620
|
+
|
|
3621
|
+
// src/commands/DescribeMountTargetSecurityGroupsCommand.ts
|
|
3622
|
+
|
|
3623
|
+
|
|
3624
|
+
|
|
3625
|
+
|
|
3626
|
+
var _DescribeMountTargetSecurityGroupsCommand = class _DescribeMountTargetSecurityGroupsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3627
|
+
...commonParams
|
|
3628
|
+
}).m(function(Command, cs, config, o) {
|
|
3629
|
+
return [
|
|
3630
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3631
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3632
|
+
];
|
|
3633
|
+
}).s("MagnolioAPIService_v20150201", "DescribeMountTargetSecurityGroups", {}).n("EFSClient", "DescribeMountTargetSecurityGroupsCommand").f(void 0, void 0).ser(se_DescribeMountTargetSecurityGroupsCommand).de(de_DescribeMountTargetSecurityGroupsCommand).build() {
|
|
3634
|
+
};
|
|
3635
|
+
__name(_DescribeMountTargetSecurityGroupsCommand, "DescribeMountTargetSecurityGroupsCommand");
|
|
3636
|
+
var DescribeMountTargetSecurityGroupsCommand = _DescribeMountTargetSecurityGroupsCommand;
|
|
3637
|
+
|
|
3638
|
+
// src/commands/DescribeReplicationConfigurationsCommand.ts
|
|
3639
|
+
|
|
3640
|
+
|
|
3641
|
+
|
|
3642
|
+
|
|
3643
|
+
var _DescribeReplicationConfigurationsCommand = class _DescribeReplicationConfigurationsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3644
|
+
...commonParams
|
|
3645
|
+
}).m(function(Command, cs, config, o) {
|
|
3646
|
+
return [
|
|
3647
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3648
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3649
|
+
];
|
|
3650
|
+
}).s("MagnolioAPIService_v20150201", "DescribeReplicationConfigurations", {}).n("EFSClient", "DescribeReplicationConfigurationsCommand").f(void 0, void 0).ser(se_DescribeReplicationConfigurationsCommand).de(de_DescribeReplicationConfigurationsCommand).build() {
|
|
3651
|
+
};
|
|
3652
|
+
__name(_DescribeReplicationConfigurationsCommand, "DescribeReplicationConfigurationsCommand");
|
|
3653
|
+
var DescribeReplicationConfigurationsCommand = _DescribeReplicationConfigurationsCommand;
|
|
3654
|
+
|
|
3655
|
+
// src/commands/DescribeTagsCommand.ts
|
|
3656
|
+
|
|
3657
|
+
|
|
3658
|
+
|
|
3659
|
+
|
|
3660
|
+
var _DescribeTagsCommand = class _DescribeTagsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3661
|
+
...commonParams
|
|
3662
|
+
}).m(function(Command, cs, config, o) {
|
|
3663
|
+
return [
|
|
3664
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3665
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3666
|
+
];
|
|
3667
|
+
}).s("MagnolioAPIService_v20150201", "DescribeTags", {}).n("EFSClient", "DescribeTagsCommand").f(void 0, void 0).ser(se_DescribeTagsCommand).de(de_DescribeTagsCommand).build() {
|
|
3668
|
+
};
|
|
3669
|
+
__name(_DescribeTagsCommand, "DescribeTagsCommand");
|
|
3670
|
+
var DescribeTagsCommand = _DescribeTagsCommand;
|
|
3671
|
+
|
|
3672
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
3673
|
+
|
|
3674
|
+
|
|
3675
|
+
|
|
3676
|
+
|
|
3677
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3678
|
+
...commonParams
|
|
3679
|
+
}).m(function(Command, cs, config, o) {
|
|
3680
|
+
return [
|
|
3681
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3682
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3683
|
+
];
|
|
3684
|
+
}).s("MagnolioAPIService_v20150201", "ListTagsForResource", {}).n("EFSClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
3685
|
+
};
|
|
3686
|
+
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
3687
|
+
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
3688
|
+
|
|
3689
|
+
// src/commands/ModifyMountTargetSecurityGroupsCommand.ts
|
|
3690
|
+
|
|
3691
|
+
|
|
3692
|
+
|
|
3693
|
+
|
|
3694
|
+
var _ModifyMountTargetSecurityGroupsCommand = class _ModifyMountTargetSecurityGroupsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3695
|
+
...commonParams
|
|
3696
|
+
}).m(function(Command, cs, config, o) {
|
|
3697
|
+
return [
|
|
3698
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3699
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3700
|
+
];
|
|
3701
|
+
}).s("MagnolioAPIService_v20150201", "ModifyMountTargetSecurityGroups", {}).n("EFSClient", "ModifyMountTargetSecurityGroupsCommand").f(void 0, void 0).ser(se_ModifyMountTargetSecurityGroupsCommand).de(de_ModifyMountTargetSecurityGroupsCommand).build() {
|
|
3702
|
+
};
|
|
3703
|
+
__name(_ModifyMountTargetSecurityGroupsCommand, "ModifyMountTargetSecurityGroupsCommand");
|
|
3704
|
+
var ModifyMountTargetSecurityGroupsCommand = _ModifyMountTargetSecurityGroupsCommand;
|
|
3705
|
+
|
|
3706
|
+
// src/commands/PutAccountPreferencesCommand.ts
|
|
3707
|
+
|
|
3708
|
+
|
|
3709
|
+
|
|
3710
|
+
|
|
3711
|
+
var _PutAccountPreferencesCommand = class _PutAccountPreferencesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3712
|
+
...commonParams
|
|
3713
|
+
}).m(function(Command, cs, config, o) {
|
|
3714
|
+
return [
|
|
3715
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3716
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3717
|
+
];
|
|
3718
|
+
}).s("MagnolioAPIService_v20150201", "PutAccountPreferences", {}).n("EFSClient", "PutAccountPreferencesCommand").f(void 0, void 0).ser(se_PutAccountPreferencesCommand).de(de_PutAccountPreferencesCommand).build() {
|
|
3719
|
+
};
|
|
3720
|
+
__name(_PutAccountPreferencesCommand, "PutAccountPreferencesCommand");
|
|
3721
|
+
var PutAccountPreferencesCommand = _PutAccountPreferencesCommand;
|
|
3722
|
+
|
|
3723
|
+
// src/commands/PutBackupPolicyCommand.ts
|
|
3724
|
+
|
|
3725
|
+
|
|
3726
|
+
|
|
3727
|
+
|
|
3728
|
+
var _PutBackupPolicyCommand = class _PutBackupPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3729
|
+
...commonParams
|
|
3730
|
+
}).m(function(Command, cs, config, o) {
|
|
3731
|
+
return [
|
|
3732
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3733
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3734
|
+
];
|
|
3735
|
+
}).s("MagnolioAPIService_v20150201", "PutBackupPolicy", {}).n("EFSClient", "PutBackupPolicyCommand").f(void 0, void 0).ser(se_PutBackupPolicyCommand).de(de_PutBackupPolicyCommand).build() {
|
|
3736
|
+
};
|
|
3737
|
+
__name(_PutBackupPolicyCommand, "PutBackupPolicyCommand");
|
|
3738
|
+
var PutBackupPolicyCommand = _PutBackupPolicyCommand;
|
|
3739
|
+
|
|
3740
|
+
// src/commands/PutFileSystemPolicyCommand.ts
|
|
3741
|
+
|
|
3742
|
+
|
|
3743
|
+
|
|
3744
|
+
|
|
3745
|
+
var _PutFileSystemPolicyCommand = class _PutFileSystemPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3746
|
+
...commonParams
|
|
3747
|
+
}).m(function(Command, cs, config, o) {
|
|
3748
|
+
return [
|
|
3749
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3750
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3751
|
+
];
|
|
3752
|
+
}).s("MagnolioAPIService_v20150201", "PutFileSystemPolicy", {}).n("EFSClient", "PutFileSystemPolicyCommand").f(void 0, void 0).ser(se_PutFileSystemPolicyCommand).de(de_PutFileSystemPolicyCommand).build() {
|
|
3753
|
+
};
|
|
3754
|
+
__name(_PutFileSystemPolicyCommand, "PutFileSystemPolicyCommand");
|
|
3755
|
+
var PutFileSystemPolicyCommand = _PutFileSystemPolicyCommand;
|
|
3756
|
+
|
|
3757
|
+
// src/commands/PutLifecycleConfigurationCommand.ts
|
|
3758
|
+
|
|
3759
|
+
|
|
3760
|
+
|
|
3761
|
+
|
|
3762
|
+
var _PutLifecycleConfigurationCommand = class _PutLifecycleConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3763
|
+
...commonParams
|
|
3764
|
+
}).m(function(Command, cs, config, o) {
|
|
3765
|
+
return [
|
|
3766
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3767
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3768
|
+
];
|
|
3769
|
+
}).s("MagnolioAPIService_v20150201", "PutLifecycleConfiguration", {}).n("EFSClient", "PutLifecycleConfigurationCommand").f(void 0, void 0).ser(se_PutLifecycleConfigurationCommand).de(de_PutLifecycleConfigurationCommand).build() {
|
|
3770
|
+
};
|
|
3771
|
+
__name(_PutLifecycleConfigurationCommand, "PutLifecycleConfigurationCommand");
|
|
3772
|
+
var PutLifecycleConfigurationCommand = _PutLifecycleConfigurationCommand;
|
|
3773
|
+
|
|
3774
|
+
// src/commands/TagResourceCommand.ts
|
|
3775
|
+
|
|
3776
|
+
|
|
3777
|
+
|
|
3778
|
+
|
|
3779
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3780
|
+
...commonParams
|
|
3781
|
+
}).m(function(Command, cs, config, o) {
|
|
3782
|
+
return [
|
|
3783
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3784
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3785
|
+
];
|
|
3786
|
+
}).s("MagnolioAPIService_v20150201", "TagResource", {}).n("EFSClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
3787
|
+
};
|
|
3788
|
+
__name(_TagResourceCommand, "TagResourceCommand");
|
|
3789
|
+
var TagResourceCommand = _TagResourceCommand;
|
|
3790
|
+
|
|
3791
|
+
// src/commands/UntagResourceCommand.ts
|
|
3792
|
+
|
|
3793
|
+
|
|
3794
|
+
|
|
3795
|
+
|
|
3796
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3797
|
+
...commonParams
|
|
3798
|
+
}).m(function(Command, cs, config, o) {
|
|
3799
|
+
return [
|
|
3800
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3801
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3802
|
+
];
|
|
3803
|
+
}).s("MagnolioAPIService_v20150201", "UntagResource", {}).n("EFSClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
3804
|
+
};
|
|
3805
|
+
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
3806
|
+
var UntagResourceCommand = _UntagResourceCommand;
|
|
3807
|
+
|
|
3808
|
+
// src/commands/UpdateFileSystemCommand.ts
|
|
3809
|
+
|
|
3810
|
+
|
|
3811
|
+
|
|
3812
|
+
|
|
3813
|
+
var _UpdateFileSystemCommand = class _UpdateFileSystemCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3814
|
+
...commonParams
|
|
3815
|
+
}).m(function(Command, cs, config, o) {
|
|
3816
|
+
return [
|
|
3817
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3818
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3819
|
+
];
|
|
3820
|
+
}).s("MagnolioAPIService_v20150201", "UpdateFileSystem", {}).n("EFSClient", "UpdateFileSystemCommand").f(void 0, void 0).ser(se_UpdateFileSystemCommand).de(de_UpdateFileSystemCommand).build() {
|
|
3821
|
+
};
|
|
3822
|
+
__name(_UpdateFileSystemCommand, "UpdateFileSystemCommand");
|
|
3823
|
+
var UpdateFileSystemCommand = _UpdateFileSystemCommand;
|
|
3824
|
+
|
|
3825
|
+
// src/commands/UpdateFileSystemProtectionCommand.ts
|
|
3826
|
+
|
|
3827
|
+
|
|
3828
|
+
|
|
3829
|
+
|
|
3830
|
+
var _UpdateFileSystemProtectionCommand = class _UpdateFileSystemProtectionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3831
|
+
...commonParams
|
|
3832
|
+
}).m(function(Command, cs, config, o) {
|
|
3833
|
+
return [
|
|
3834
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3835
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3836
|
+
];
|
|
3837
|
+
}).s("MagnolioAPIService_v20150201", "UpdateFileSystemProtection", {}).n("EFSClient", "UpdateFileSystemProtectionCommand").f(void 0, void 0).ser(se_UpdateFileSystemProtectionCommand).de(de_UpdateFileSystemProtectionCommand).build() {
|
|
3838
|
+
};
|
|
3839
|
+
__name(_UpdateFileSystemProtectionCommand, "UpdateFileSystemProtectionCommand");
|
|
3840
|
+
var UpdateFileSystemProtectionCommand = _UpdateFileSystemProtectionCommand;
|
|
3841
|
+
|
|
3842
|
+
// src/EFS.ts
|
|
3843
|
+
var commands = {
|
|
3844
|
+
CreateAccessPointCommand,
|
|
3845
|
+
CreateFileSystemCommand,
|
|
3846
|
+
CreateMountTargetCommand,
|
|
3847
|
+
CreateReplicationConfigurationCommand,
|
|
3848
|
+
CreateTagsCommand,
|
|
3849
|
+
DeleteAccessPointCommand,
|
|
3850
|
+
DeleteFileSystemCommand,
|
|
3851
|
+
DeleteFileSystemPolicyCommand,
|
|
3852
|
+
DeleteMountTargetCommand,
|
|
3853
|
+
DeleteReplicationConfigurationCommand,
|
|
3854
|
+
DeleteTagsCommand,
|
|
3855
|
+
DescribeAccessPointsCommand,
|
|
3856
|
+
DescribeAccountPreferencesCommand,
|
|
3857
|
+
DescribeBackupPolicyCommand,
|
|
3858
|
+
DescribeFileSystemPolicyCommand,
|
|
3859
|
+
DescribeFileSystemsCommand,
|
|
3860
|
+
DescribeLifecycleConfigurationCommand,
|
|
3861
|
+
DescribeMountTargetsCommand,
|
|
3862
|
+
DescribeMountTargetSecurityGroupsCommand,
|
|
3863
|
+
DescribeReplicationConfigurationsCommand,
|
|
3864
|
+
DescribeTagsCommand,
|
|
3865
|
+
ListTagsForResourceCommand,
|
|
3866
|
+
ModifyMountTargetSecurityGroupsCommand,
|
|
3867
|
+
PutAccountPreferencesCommand,
|
|
3868
|
+
PutBackupPolicyCommand,
|
|
3869
|
+
PutFileSystemPolicyCommand,
|
|
3870
|
+
PutLifecycleConfigurationCommand,
|
|
3871
|
+
TagResourceCommand,
|
|
3872
|
+
UntagResourceCommand,
|
|
3873
|
+
UpdateFileSystemCommand,
|
|
3874
|
+
UpdateFileSystemProtectionCommand
|
|
3875
|
+
};
|
|
3876
|
+
var _EFS = class _EFS extends EFSClient {
|
|
3877
|
+
};
|
|
3878
|
+
__name(_EFS, "EFS");
|
|
3879
|
+
var EFS = _EFS;
|
|
3880
|
+
(0, import_smithy_client.createAggregatedClient)(commands, EFS);
|
|
3881
|
+
|
|
3882
|
+
// src/pagination/DescribeAccessPointsPaginator.ts
|
|
3883
|
+
|
|
3884
|
+
var paginateDescribeAccessPoints = (0, import_core.createPaginator)(EFSClient, DescribeAccessPointsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3885
|
+
|
|
3886
|
+
// src/pagination/DescribeFileSystemsPaginator.ts
|
|
3887
|
+
|
|
3888
|
+
var paginateDescribeFileSystems = (0, import_core.createPaginator)(EFSClient, DescribeFileSystemsCommand, "Marker", "NextMarker", "MaxItems");
|
|
3889
|
+
|
|
3890
|
+
// src/pagination/DescribeMountTargetsPaginator.ts
|
|
3891
|
+
|
|
3892
|
+
var paginateDescribeMountTargets = (0, import_core.createPaginator)(EFSClient, DescribeMountTargetsCommand, "Marker", "NextMarker", "MaxItems");
|
|
3893
|
+
|
|
3894
|
+
// src/pagination/DescribeReplicationConfigurationsPaginator.ts
|
|
3895
|
+
|
|
3896
|
+
var paginateDescribeReplicationConfigurations = (0, import_core.createPaginator)(EFSClient, DescribeReplicationConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3897
|
+
|
|
3898
|
+
// src/pagination/DescribeTagsPaginator.ts
|
|
3899
|
+
|
|
3900
|
+
var paginateDescribeTags = (0, import_core.createPaginator)(EFSClient, DescribeTagsCommand, "Marker", "NextMarker", "MaxItems");
|
|
3901
|
+
|
|
3902
|
+
// src/pagination/ListTagsForResourcePaginator.ts
|
|
3903
|
+
|
|
3904
|
+
var paginateListTagsForResource = (0, import_core.createPaginator)(EFSClient, ListTagsForResourceCommand, "NextToken", "NextToken", "MaxResults");
|
|
3905
|
+
|
|
3906
|
+
// src/index.ts
|
|
3907
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
3908
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
3909
|
+
0 && (module.exports = {
|
|
3910
|
+
AccessPointAlreadyExists,
|
|
3911
|
+
AccessPointLimitExceeded,
|
|
3912
|
+
AccessPointNotFound,
|
|
3913
|
+
AvailabilityZonesMismatch,
|
|
3914
|
+
BadRequest,
|
|
3915
|
+
ConflictException,
|
|
3916
|
+
CreateAccessPointCommand,
|
|
3917
|
+
CreateFileSystemCommand,
|
|
3918
|
+
CreateMountTargetCommand,
|
|
3919
|
+
CreateReplicationConfigurationCommand,
|
|
3920
|
+
CreateTagsCommand,
|
|
3921
|
+
DeleteAccessPointCommand,
|
|
3922
|
+
DeleteFileSystemCommand,
|
|
3923
|
+
DeleteFileSystemPolicyCommand,
|
|
3924
|
+
DeleteMountTargetCommand,
|
|
3925
|
+
DeleteReplicationConfigurationCommand,
|
|
3926
|
+
DeleteTagsCommand,
|
|
3927
|
+
DependencyTimeout,
|
|
3928
|
+
DescribeAccessPointsCommand,
|
|
3929
|
+
DescribeAccountPreferencesCommand,
|
|
3930
|
+
DescribeBackupPolicyCommand,
|
|
3931
|
+
DescribeFileSystemPolicyCommand,
|
|
3932
|
+
DescribeFileSystemsCommand,
|
|
3933
|
+
DescribeLifecycleConfigurationCommand,
|
|
3934
|
+
DescribeMountTargetSecurityGroupsCommand,
|
|
3935
|
+
DescribeMountTargetsCommand,
|
|
3936
|
+
DescribeReplicationConfigurationsCommand,
|
|
3937
|
+
DescribeTagsCommand,
|
|
3938
|
+
EFS,
|
|
3939
|
+
EFSClient,
|
|
3940
|
+
EFSServiceException,
|
|
3941
|
+
FileSystemAlreadyExists,
|
|
3942
|
+
FileSystemInUse,
|
|
3943
|
+
FileSystemLimitExceeded,
|
|
3944
|
+
FileSystemNotFound,
|
|
3945
|
+
IncorrectFileSystemLifeCycleState,
|
|
3946
|
+
IncorrectMountTargetState,
|
|
3947
|
+
InsufficientThroughputCapacity,
|
|
3948
|
+
InternalServerError,
|
|
3949
|
+
InvalidPolicyException,
|
|
3950
|
+
IpAddressInUse,
|
|
3951
|
+
LifeCycleState,
|
|
3952
|
+
ListTagsForResourceCommand,
|
|
3953
|
+
ModifyMountTargetSecurityGroupsCommand,
|
|
3954
|
+
MountTargetConflict,
|
|
3955
|
+
MountTargetNotFound,
|
|
3956
|
+
NetworkInterfaceLimitExceeded,
|
|
3957
|
+
NoFreeAddressesInSubnet,
|
|
3958
|
+
PerformanceMode,
|
|
3959
|
+
PolicyNotFound,
|
|
3960
|
+
PutAccountPreferencesCommand,
|
|
3961
|
+
PutBackupPolicyCommand,
|
|
3962
|
+
PutFileSystemPolicyCommand,
|
|
3963
|
+
PutLifecycleConfigurationCommand,
|
|
3964
|
+
ReplicationAlreadyExists,
|
|
3965
|
+
ReplicationNotFound,
|
|
3966
|
+
ReplicationOverwriteProtection,
|
|
3967
|
+
ReplicationStatus,
|
|
3968
|
+
Resource,
|
|
3969
|
+
ResourceIdType,
|
|
3970
|
+
SecurityGroupLimitExceeded,
|
|
3971
|
+
SecurityGroupNotFound,
|
|
3972
|
+
Status,
|
|
3973
|
+
SubnetNotFound,
|
|
3974
|
+
TagResourceCommand,
|
|
3975
|
+
ThrottlingException,
|
|
3976
|
+
ThroughputLimitExceeded,
|
|
3977
|
+
ThroughputMode,
|
|
3978
|
+
TooManyRequests,
|
|
3979
|
+
TransitionToArchiveRules,
|
|
3980
|
+
TransitionToIARules,
|
|
3981
|
+
TransitionToPrimaryStorageClassRules,
|
|
3982
|
+
UnsupportedAvailabilityZone,
|
|
3983
|
+
UntagResourceCommand,
|
|
3984
|
+
UpdateFileSystemCommand,
|
|
3985
|
+
UpdateFileSystemProtectionCommand,
|
|
3986
|
+
ValidationException,
|
|
3987
|
+
__Client,
|
|
3988
|
+
paginateDescribeAccessPoints,
|
|
3989
|
+
paginateDescribeFileSystems,
|
|
3990
|
+
paginateDescribeMountTargets,
|
|
3991
|
+
paginateDescribeReplicationConfigurations,
|
|
3992
|
+
paginateDescribeTags,
|
|
3993
|
+
paginateListTagsForResource
|
|
3994
|
+
});
|