@aws-sdk/client-efs 3.300.0 → 3.303.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.
Files changed (35) hide show
  1. package/dist-cjs/models/models_0.js +48 -57
  2. package/dist-es/models/models_0.js +48 -57
  3. package/dist-types/commands/CreateAccessPointCommand.d.ts +7 -7
  4. package/dist-types/commands/CreateFileSystemCommand.d.ts +3 -3
  5. package/dist-types/commands/CreateMountTargetCommand.d.ts +2 -2
  6. package/dist-types/commands/CreateReplicationConfigurationCommand.d.ts +3 -3
  7. package/dist-types/commands/CreateTagsCommand.d.ts +3 -3
  8. package/dist-types/commands/DeleteAccessPointCommand.d.ts +1 -1
  9. package/dist-types/commands/DeleteFileSystemCommand.d.ts +1 -1
  10. package/dist-types/commands/DeleteFileSystemPolicyCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteMountTargetCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteReplicationConfigurationCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteTagsCommand.d.ts +2 -2
  14. package/dist-types/commands/DescribeAccessPointsCommand.d.ts +1 -1
  15. package/dist-types/commands/DescribeAccountPreferencesCommand.d.ts +1 -1
  16. package/dist-types/commands/DescribeBackupPolicyCommand.d.ts +1 -1
  17. package/dist-types/commands/DescribeFileSystemPolicyCommand.d.ts +1 -1
  18. package/dist-types/commands/DescribeFileSystemsCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeLifecycleConfigurationCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeMountTargetSecurityGroupsCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeMountTargetsCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeReplicationConfigurationsCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
  24. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  25. package/dist-types/commands/ModifyMountTargetSecurityGroupsCommand.d.ts +2 -2
  26. package/dist-types/commands/PutAccountPreferencesCommand.d.ts +1 -1
  27. package/dist-types/commands/PutBackupPolicyCommand.d.ts +2 -2
  28. package/dist-types/commands/PutFileSystemPolicyCommand.d.ts +1 -1
  29. package/dist-types/commands/PutLifecycleConfigurationCommand.d.ts +3 -3
  30. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  31. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  32. package/dist-types/commands/UpdateFileSystemCommand.d.ts +1 -1
  33. package/dist-types/models/models_0.d.ts +93 -48
  34. package/dist-types/ts3.4/models/models_0.d.ts +64 -48
  35. package/package.json +34 -34
@@ -18,15 +18,14 @@ class AccessPointAlreadyExists extends EFSServiceException_1.EFSServiceException
18
18
  }
19
19
  }
20
20
  exports.AccessPointAlreadyExists = AccessPointAlreadyExists;
21
- var LifeCycleState;
22
- (function (LifeCycleState) {
23
- LifeCycleState["AVAILABLE"] = "available";
24
- LifeCycleState["CREATING"] = "creating";
25
- LifeCycleState["DELETED"] = "deleted";
26
- LifeCycleState["DELETING"] = "deleting";
27
- LifeCycleState["ERROR"] = "error";
28
- LifeCycleState["UPDATING"] = "updating";
29
- })(LifeCycleState = exports.LifeCycleState || (exports.LifeCycleState = {}));
21
+ exports.LifeCycleState = {
22
+ AVAILABLE: "available",
23
+ CREATING: "creating",
24
+ DELETED: "deleted",
25
+ DELETING: "deleting",
26
+ ERROR: "error",
27
+ UPDATING: "updating",
28
+ };
30
29
  class AccessPointLimitExceeded extends EFSServiceException_1.EFSServiceException {
31
30
  constructor(opts) {
32
31
  super({
@@ -72,13 +71,12 @@ class AvailabilityZonesMismatch extends EFSServiceException_1.EFSServiceExceptio
72
71
  }
73
72
  }
74
73
  exports.AvailabilityZonesMismatch = AvailabilityZonesMismatch;
75
- var Status;
76
- (function (Status) {
77
- Status["DISABLED"] = "DISABLED";
78
- Status["DISABLING"] = "DISABLING";
79
- Status["ENABLED"] = "ENABLED";
80
- Status["ENABLING"] = "ENABLING";
81
- })(Status = exports.Status || (exports.Status = {}));
74
+ exports.Status = {
75
+ DISABLED: "DISABLED",
76
+ DISABLING: "DISABLING",
77
+ ENABLED: "ENABLED",
78
+ ENABLING: "ENABLING",
79
+ };
82
80
  class BadRequest extends EFSServiceException_1.EFSServiceException {
83
81
  constructor(opts) {
84
82
  super({
@@ -154,17 +152,15 @@ class ThrottlingException extends EFSServiceException_1.EFSServiceException {
154
152
  }
155
153
  }
156
154
  exports.ThrottlingException = ThrottlingException;
157
- var PerformanceMode;
158
- (function (PerformanceMode) {
159
- PerformanceMode["GENERAL_PURPOSE"] = "generalPurpose";
160
- PerformanceMode["MAX_IO"] = "maxIO";
161
- })(PerformanceMode = exports.PerformanceMode || (exports.PerformanceMode = {}));
162
- var ThroughputMode;
163
- (function (ThroughputMode) {
164
- ThroughputMode["BURSTING"] = "bursting";
165
- ThroughputMode["ELASTIC"] = "elastic";
166
- ThroughputMode["PROVISIONED"] = "provisioned";
167
- })(ThroughputMode = exports.ThroughputMode || (exports.ThroughputMode = {}));
155
+ exports.PerformanceMode = {
156
+ GENERAL_PURPOSE: "generalPurpose",
157
+ MAX_IO: "maxIO",
158
+ };
159
+ exports.ThroughputMode = {
160
+ BURSTING: "bursting",
161
+ ELASTIC: "elastic",
162
+ PROVISIONED: "provisioned",
163
+ };
168
164
  class FileSystemAlreadyExists extends EFSServiceException_1.EFSServiceException {
169
165
  constructor(opts) {
170
166
  super({
@@ -346,13 +342,12 @@ class SubnetNotFound extends EFSServiceException_1.EFSServiceException {
346
342
  }
347
343
  }
348
344
  exports.SubnetNotFound = SubnetNotFound;
349
- var ReplicationStatus;
350
- (function (ReplicationStatus) {
351
- ReplicationStatus["DELETING"] = "DELETING";
352
- ReplicationStatus["ENABLED"] = "ENABLED";
353
- ReplicationStatus["ENABLING"] = "ENABLING";
354
- ReplicationStatus["ERROR"] = "ERROR";
355
- })(ReplicationStatus = exports.ReplicationStatus || (exports.ReplicationStatus = {}));
345
+ exports.ReplicationStatus = {
346
+ DELETING: "DELETING",
347
+ ENABLED: "ENABLED",
348
+ ENABLING: "ENABLING",
349
+ ERROR: "ERROR",
350
+ };
356
351
  class ReplicationNotFound extends EFSServiceException_1.EFSServiceException {
357
352
  constructor(opts) {
358
353
  super({
@@ -428,16 +423,14 @@ class MountTargetNotFound extends EFSServiceException_1.EFSServiceException {
428
423
  }
429
424
  }
430
425
  exports.MountTargetNotFound = MountTargetNotFound;
431
- var ResourceIdType;
432
- (function (ResourceIdType) {
433
- ResourceIdType["LongId"] = "LONG_ID";
434
- ResourceIdType["ShortId"] = "SHORT_ID";
435
- })(ResourceIdType = exports.ResourceIdType || (exports.ResourceIdType = {}));
436
- var Resource;
437
- (function (Resource) {
438
- Resource["FileSystem"] = "FILE_SYSTEM";
439
- Resource["MountTarget"] = "MOUNT_TARGET";
440
- })(Resource = exports.Resource || (exports.Resource = {}));
426
+ exports.ResourceIdType = {
427
+ LongId: "LONG_ID",
428
+ ShortId: "SHORT_ID",
429
+ };
430
+ exports.Resource = {
431
+ FileSystem: "FILE_SYSTEM",
432
+ MountTarget: "MOUNT_TARGET",
433
+ };
441
434
  class PolicyNotFound extends EFSServiceException_1.EFSServiceException {
442
435
  constructor(opts) {
443
436
  super({
@@ -453,19 +446,17 @@ class PolicyNotFound extends EFSServiceException_1.EFSServiceException {
453
446
  }
454
447
  }
455
448
  exports.PolicyNotFound = PolicyNotFound;
456
- var TransitionToIARules;
457
- (function (TransitionToIARules) {
458
- TransitionToIARules["AFTER_14_DAYS"] = "AFTER_14_DAYS";
459
- TransitionToIARules["AFTER_1_DAY"] = "AFTER_1_DAY";
460
- TransitionToIARules["AFTER_30_DAYS"] = "AFTER_30_DAYS";
461
- TransitionToIARules["AFTER_60_DAYS"] = "AFTER_60_DAYS";
462
- TransitionToIARules["AFTER_7_DAYS"] = "AFTER_7_DAYS";
463
- TransitionToIARules["AFTER_90_DAYS"] = "AFTER_90_DAYS";
464
- })(TransitionToIARules = exports.TransitionToIARules || (exports.TransitionToIARules = {}));
465
- var TransitionToPrimaryStorageClassRules;
466
- (function (TransitionToPrimaryStorageClassRules) {
467
- TransitionToPrimaryStorageClassRules["AFTER_1_ACCESS"] = "AFTER_1_ACCESS";
468
- })(TransitionToPrimaryStorageClassRules = exports.TransitionToPrimaryStorageClassRules || (exports.TransitionToPrimaryStorageClassRules = {}));
449
+ exports.TransitionToIARules = {
450
+ AFTER_14_DAYS: "AFTER_14_DAYS",
451
+ AFTER_1_DAY: "AFTER_1_DAY",
452
+ AFTER_30_DAYS: "AFTER_30_DAYS",
453
+ AFTER_60_DAYS: "AFTER_60_DAYS",
454
+ AFTER_7_DAYS: "AFTER_7_DAYS",
455
+ AFTER_90_DAYS: "AFTER_90_DAYS",
456
+ };
457
+ exports.TransitionToPrimaryStorageClassRules = {
458
+ AFTER_1_ACCESS: "AFTER_1_ACCESS",
459
+ };
469
460
  class IncorrectMountTargetState extends EFSServiceException_1.EFSServiceException {
470
461
  constructor(opts) {
471
462
  super({
@@ -14,15 +14,14 @@ export class AccessPointAlreadyExists extends __BaseException {
14
14
  this.AccessPointId = opts.AccessPointId;
15
15
  }
16
16
  }
17
- export var LifeCycleState;
18
- (function (LifeCycleState) {
19
- LifeCycleState["AVAILABLE"] = "available";
20
- LifeCycleState["CREATING"] = "creating";
21
- LifeCycleState["DELETED"] = "deleted";
22
- LifeCycleState["DELETING"] = "deleting";
23
- LifeCycleState["ERROR"] = "error";
24
- LifeCycleState["UPDATING"] = "updating";
25
- })(LifeCycleState || (LifeCycleState = {}));
17
+ export const LifeCycleState = {
18
+ AVAILABLE: "available",
19
+ CREATING: "creating",
20
+ DELETED: "deleted",
21
+ DELETING: "deleting",
22
+ ERROR: "error",
23
+ UPDATING: "updating",
24
+ };
26
25
  export class AccessPointLimitExceeded extends __BaseException {
27
26
  constructor(opts) {
28
27
  super({
@@ -65,13 +64,12 @@ export class AvailabilityZonesMismatch extends __BaseException {
65
64
  this.Message = opts.Message;
66
65
  }
67
66
  }
68
- export var Status;
69
- (function (Status) {
70
- Status["DISABLED"] = "DISABLED";
71
- Status["DISABLING"] = "DISABLING";
72
- Status["ENABLED"] = "ENABLED";
73
- Status["ENABLING"] = "ENABLING";
74
- })(Status || (Status = {}));
67
+ export const Status = {
68
+ DISABLED: "DISABLED",
69
+ DISABLING: "DISABLING",
70
+ ENABLED: "ENABLED",
71
+ ENABLING: "ENABLING",
72
+ };
75
73
  export class BadRequest extends __BaseException {
76
74
  constructor(opts) {
77
75
  super({
@@ -142,17 +140,15 @@ export class ThrottlingException extends __BaseException {
142
140
  this.Message = opts.Message;
143
141
  }
144
142
  }
145
- export var PerformanceMode;
146
- (function (PerformanceMode) {
147
- PerformanceMode["GENERAL_PURPOSE"] = "generalPurpose";
148
- PerformanceMode["MAX_IO"] = "maxIO";
149
- })(PerformanceMode || (PerformanceMode = {}));
150
- export var ThroughputMode;
151
- (function (ThroughputMode) {
152
- ThroughputMode["BURSTING"] = "bursting";
153
- ThroughputMode["ELASTIC"] = "elastic";
154
- ThroughputMode["PROVISIONED"] = "provisioned";
155
- })(ThroughputMode || (ThroughputMode = {}));
143
+ export const PerformanceMode = {
144
+ GENERAL_PURPOSE: "generalPurpose",
145
+ MAX_IO: "maxIO",
146
+ };
147
+ export const ThroughputMode = {
148
+ BURSTING: "bursting",
149
+ ELASTIC: "elastic",
150
+ PROVISIONED: "provisioned",
151
+ };
156
152
  export class FileSystemAlreadyExists extends __BaseException {
157
153
  constructor(opts) {
158
154
  super({
@@ -322,13 +318,12 @@ export class SubnetNotFound extends __BaseException {
322
318
  this.Message = opts.Message;
323
319
  }
324
320
  }
325
- export var ReplicationStatus;
326
- (function (ReplicationStatus) {
327
- ReplicationStatus["DELETING"] = "DELETING";
328
- ReplicationStatus["ENABLED"] = "ENABLED";
329
- ReplicationStatus["ENABLING"] = "ENABLING";
330
- ReplicationStatus["ERROR"] = "ERROR";
331
- })(ReplicationStatus || (ReplicationStatus = {}));
321
+ export const ReplicationStatus = {
322
+ DELETING: "DELETING",
323
+ ENABLED: "ENABLED",
324
+ ENABLING: "ENABLING",
325
+ ERROR: "ERROR",
326
+ };
332
327
  export class ReplicationNotFound extends __BaseException {
333
328
  constructor(opts) {
334
329
  super({
@@ -399,16 +394,14 @@ export class MountTargetNotFound extends __BaseException {
399
394
  this.Message = opts.Message;
400
395
  }
401
396
  }
402
- export var ResourceIdType;
403
- (function (ResourceIdType) {
404
- ResourceIdType["LongId"] = "LONG_ID";
405
- ResourceIdType["ShortId"] = "SHORT_ID";
406
- })(ResourceIdType || (ResourceIdType = {}));
407
- export var Resource;
408
- (function (Resource) {
409
- Resource["FileSystem"] = "FILE_SYSTEM";
410
- Resource["MountTarget"] = "MOUNT_TARGET";
411
- })(Resource || (Resource = {}));
397
+ export const ResourceIdType = {
398
+ LongId: "LONG_ID",
399
+ ShortId: "SHORT_ID",
400
+ };
401
+ export const Resource = {
402
+ FileSystem: "FILE_SYSTEM",
403
+ MountTarget: "MOUNT_TARGET",
404
+ };
412
405
  export class PolicyNotFound extends __BaseException {
413
406
  constructor(opts) {
414
407
  super({
@@ -423,19 +416,17 @@ export class PolicyNotFound extends __BaseException {
423
416
  this.Message = opts.Message;
424
417
  }
425
418
  }
426
- export var TransitionToIARules;
427
- (function (TransitionToIARules) {
428
- TransitionToIARules["AFTER_14_DAYS"] = "AFTER_14_DAYS";
429
- TransitionToIARules["AFTER_1_DAY"] = "AFTER_1_DAY";
430
- TransitionToIARules["AFTER_30_DAYS"] = "AFTER_30_DAYS";
431
- TransitionToIARules["AFTER_60_DAYS"] = "AFTER_60_DAYS";
432
- TransitionToIARules["AFTER_7_DAYS"] = "AFTER_7_DAYS";
433
- TransitionToIARules["AFTER_90_DAYS"] = "AFTER_90_DAYS";
434
- })(TransitionToIARules || (TransitionToIARules = {}));
435
- export var TransitionToPrimaryStorageClassRules;
436
- (function (TransitionToPrimaryStorageClassRules) {
437
- TransitionToPrimaryStorageClassRules["AFTER_1_ACCESS"] = "AFTER_1_ACCESS";
438
- })(TransitionToPrimaryStorageClassRules || (TransitionToPrimaryStorageClassRules = {}));
419
+ export const TransitionToIARules = {
420
+ AFTER_14_DAYS: "AFTER_14_DAYS",
421
+ AFTER_1_DAY: "AFTER_1_DAY",
422
+ AFTER_30_DAYS: "AFTER_30_DAYS",
423
+ AFTER_60_DAYS: "AFTER_60_DAYS",
424
+ AFTER_7_DAYS: "AFTER_7_DAYS",
425
+ AFTER_90_DAYS: "AFTER_90_DAYS",
426
+ };
427
+ export const TransitionToPrimaryStorageClassRules = {
428
+ AFTER_1_ACCESS: "AFTER_1_ACCESS",
429
+ };
439
430
  export class IncorrectMountTargetState extends __BaseException {
440
431
  constructor(opts) {
441
432
  super({
@@ -39,25 +39,25 @@ export interface CreateAccessPointCommandOutput extends AccessPointDescription,
39
39
  * import { EFSClient, CreateAccessPointCommand } from "@aws-sdk/client-efs"; // ES Modules import
40
40
  * // const { EFSClient, CreateAccessPointCommand } = require("@aws-sdk/client-efs"); // CommonJS import
41
41
  * const client = new EFSClient(config);
42
- * const input = {
42
+ * const input = { // CreateAccessPointRequest
43
43
  * ClientToken: "STRING_VALUE", // required
44
- * Tags: [
45
- * {
44
+ * Tags: [ // Tags
45
+ * { // Tag
46
46
  * Key: "STRING_VALUE", // required
47
47
  * Value: "STRING_VALUE", // required
48
48
  * },
49
49
  * ],
50
50
  * FileSystemId: "STRING_VALUE", // required
51
- * PosixUser: {
51
+ * PosixUser: { // PosixUser
52
52
  * Uid: Number("long"), // required
53
53
  * Gid: Number("long"), // required
54
- * SecondaryGids: [
54
+ * SecondaryGids: [ // SecondaryGids
55
55
  * Number("long"),
56
56
  * ],
57
57
  * },
58
- * RootDirectory: {
58
+ * RootDirectory: { // RootDirectory
59
59
  * Path: "STRING_VALUE",
60
- * CreationInfo: {
60
+ * CreationInfo: { // CreationInfo
61
61
  * OwnerUid: Number("long"), // required
62
62
  * OwnerGid: Number("long"), // required
63
63
  * Permissions: "STRING_VALUE", // required
@@ -74,7 +74,7 @@ export interface CreateFileSystemCommandOutput extends FileSystemDescription, __
74
74
  * import { EFSClient, CreateFileSystemCommand } from "@aws-sdk/client-efs"; // ES Modules import
75
75
  * // const { EFSClient, CreateFileSystemCommand } = require("@aws-sdk/client-efs"); // CommonJS import
76
76
  * const client = new EFSClient(config);
77
- * const input = {
77
+ * const input = { // CreateFileSystemRequest
78
78
  * CreationToken: "STRING_VALUE", // required
79
79
  * PerformanceMode: "generalPurpose" || "maxIO",
80
80
  * Encrypted: true || false,
@@ -83,8 +83,8 @@ export interface CreateFileSystemCommandOutput extends FileSystemDescription, __
83
83
  * ProvisionedThroughputInMibps: Number("double"),
84
84
  * AvailabilityZoneName: "STRING_VALUE",
85
85
  * Backup: true || false,
86
- * Tags: [
87
- * {
86
+ * Tags: [ // Tags
87
+ * { // Tag
88
88
  * Key: "STRING_VALUE", // required
89
89
  * Value: "STRING_VALUE", // required
90
90
  * },
@@ -165,11 +165,11 @@ export interface CreateMountTargetCommandOutput extends MountTargetDescription,
165
165
  * import { EFSClient, CreateMountTargetCommand } from "@aws-sdk/client-efs"; // ES Modules import
166
166
  * // const { EFSClient, CreateMountTargetCommand } = require("@aws-sdk/client-efs"); // CommonJS import
167
167
  * const client = new EFSClient(config);
168
- * const input = {
168
+ * const input = { // CreateMountTargetRequest
169
169
  * FileSystemId: "STRING_VALUE", // required
170
170
  * SubnetId: "STRING_VALUE", // required
171
171
  * IpAddress: "STRING_VALUE",
172
- * SecurityGroups: [
172
+ * SecurityGroups: [ // SecurityGroups
173
173
  * "STRING_VALUE",
174
174
  * ],
175
175
  * };
@@ -107,10 +107,10 @@ export interface CreateReplicationConfigurationCommandOutput extends Replication
107
107
  * import { EFSClient, CreateReplicationConfigurationCommand } from "@aws-sdk/client-efs"; // ES Modules import
108
108
  * // const { EFSClient, CreateReplicationConfigurationCommand } = require("@aws-sdk/client-efs"); // CommonJS import
109
109
  * const client = new EFSClient(config);
110
- * const input = {
110
+ * const input = { // CreateReplicationConfigurationRequest
111
111
  * SourceFileSystemId: "STRING_VALUE", // required
112
- * Destinations: [ // required
113
- * {
112
+ * Destinations: [ // DestinationsToCreate // required
113
+ * { // DestinationToCreate
114
114
  * Region: "STRING_VALUE",
115
115
  * AvailabilityZoneName: "STRING_VALUE",
116
116
  * KmsKeyId: "STRING_VALUE",
@@ -37,10 +37,10 @@ export interface CreateTagsCommandOutput extends __MetadataBearer {
37
37
  * import { EFSClient, CreateTagsCommand } from "@aws-sdk/client-efs"; // ES Modules import
38
38
  * // const { EFSClient, CreateTagsCommand } = require("@aws-sdk/client-efs"); // CommonJS import
39
39
  * const client = new EFSClient(config);
40
- * const input = {
40
+ * const input = { // CreateTagsRequest
41
41
  * FileSystemId: "STRING_VALUE", // required
42
- * Tags: [ // required
43
- * {
42
+ * Tags: [ // Tags // required
43
+ * { // Tag
44
44
  * Key: "STRING_VALUE", // required
45
45
  * Value: "STRING_VALUE", // required
46
46
  * },
@@ -29,7 +29,7 @@ export interface DeleteAccessPointCommandOutput extends __MetadataBearer {
29
29
  * import { EFSClient, DeleteAccessPointCommand } from "@aws-sdk/client-efs"; // ES Modules import
30
30
  * // const { EFSClient, DeleteAccessPointCommand } = require("@aws-sdk/client-efs"); // CommonJS import
31
31
  * const client = new EFSClient(config);
32
- * const input = {
32
+ * const input = { // DeleteAccessPointRequest
33
33
  * AccessPointId: "STRING_VALUE", // required
34
34
  * };
35
35
  * const command = new DeleteAccessPointCommand(input);
@@ -45,7 +45,7 @@ export interface DeleteFileSystemCommandOutput extends __MetadataBearer {
45
45
  * import { EFSClient, DeleteFileSystemCommand } from "@aws-sdk/client-efs"; // ES Modules import
46
46
  * // const { EFSClient, DeleteFileSystemCommand } = require("@aws-sdk/client-efs"); // CommonJS import
47
47
  * const client = new EFSClient(config);
48
- * const input = {
48
+ * const input = { // DeleteFileSystemRequest
49
49
  * FileSystemId: "STRING_VALUE", // required
50
50
  * };
51
51
  * const command = new DeleteFileSystemCommand(input);
@@ -29,7 +29,7 @@ export interface DeleteFileSystemPolicyCommandOutput extends __MetadataBearer {
29
29
  * import { EFSClient, DeleteFileSystemPolicyCommand } from "@aws-sdk/client-efs"; // ES Modules import
30
30
  * // const { EFSClient, DeleteFileSystemPolicyCommand } = require("@aws-sdk/client-efs"); // CommonJS import
31
31
  * const client = new EFSClient(config);
32
- * const input = {
32
+ * const input = { // DeleteFileSystemPolicyRequest
33
33
  * FileSystemId: "STRING_VALUE", // required
34
34
  * };
35
35
  * const command = new DeleteFileSystemPolicyCommand(input);
@@ -56,7 +56,7 @@ export interface DeleteMountTargetCommandOutput extends __MetadataBearer {
56
56
  * import { EFSClient, DeleteMountTargetCommand } from "@aws-sdk/client-efs"; // ES Modules import
57
57
  * // const { EFSClient, DeleteMountTargetCommand } = require("@aws-sdk/client-efs"); // CommonJS import
58
58
  * const client = new EFSClient(config);
59
- * const input = {
59
+ * const input = { // DeleteMountTargetRequest
60
60
  * MountTargetId: "STRING_VALUE", // required
61
61
  * };
62
62
  * const command = new DeleteMountTargetCommand(input);
@@ -31,7 +31,7 @@ export interface DeleteReplicationConfigurationCommandOutput extends __MetadataB
31
31
  * import { EFSClient, DeleteReplicationConfigurationCommand } from "@aws-sdk/client-efs"; // ES Modules import
32
32
  * // const { EFSClient, DeleteReplicationConfigurationCommand } = require("@aws-sdk/client-efs"); // CommonJS import
33
33
  * const client = new EFSClient(config);
34
- * const input = {
34
+ * const input = { // DeleteReplicationConfigurationRequest
35
35
  * SourceFileSystemId: "STRING_VALUE", // required
36
36
  * };
37
37
  * const command = new DeleteReplicationConfigurationCommand(input);
@@ -37,9 +37,9 @@ export interface DeleteTagsCommandOutput extends __MetadataBearer {
37
37
  * import { EFSClient, DeleteTagsCommand } from "@aws-sdk/client-efs"; // ES Modules import
38
38
  * // const { EFSClient, DeleteTagsCommand } = require("@aws-sdk/client-efs"); // CommonJS import
39
39
  * const client = new EFSClient(config);
40
- * const input = {
40
+ * const input = { // DeleteTagsRequest
41
41
  * FileSystemId: "STRING_VALUE", // required
42
- * TagKeys: [ // required
42
+ * TagKeys: [ // TagKeys // required
43
43
  * "STRING_VALUE",
44
44
  * ],
45
45
  * };
@@ -29,7 +29,7 @@ export interface DescribeAccessPointsCommandOutput extends DescribeAccessPointsR
29
29
  * import { EFSClient, DescribeAccessPointsCommand } from "@aws-sdk/client-efs"; // ES Modules import
30
30
  * // const { EFSClient, DescribeAccessPointsCommand } = require("@aws-sdk/client-efs"); // CommonJS import
31
31
  * const client = new EFSClient(config);
32
- * const input = {
32
+ * const input = { // DescribeAccessPointsRequest
33
33
  * MaxResults: Number("int"),
34
34
  * NextToken: "STRING_VALUE",
35
35
  * AccessPointId: "STRING_VALUE",
@@ -27,7 +27,7 @@ export interface DescribeAccountPreferencesCommandOutput extends DescribeAccount
27
27
  * import { EFSClient, DescribeAccountPreferencesCommand } from "@aws-sdk/client-efs"; // ES Modules import
28
28
  * // const { EFSClient, DescribeAccountPreferencesCommand } = require("@aws-sdk/client-efs"); // CommonJS import
29
29
  * const client = new EFSClient(config);
30
- * const input = {
30
+ * const input = { // DescribeAccountPreferencesRequest
31
31
  * NextToken: "STRING_VALUE",
32
32
  * MaxResults: Number("int"),
33
33
  * };
@@ -26,7 +26,7 @@ export interface DescribeBackupPolicyCommandOutput extends BackupPolicyDescripti
26
26
  * import { EFSClient, DescribeBackupPolicyCommand } from "@aws-sdk/client-efs"; // ES Modules import
27
27
  * // const { EFSClient, DescribeBackupPolicyCommand } = require("@aws-sdk/client-efs"); // CommonJS import
28
28
  * const client = new EFSClient(config);
29
- * const input = {
29
+ * const input = { // DescribeBackupPolicyRequest
30
30
  * FileSystemId: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DescribeBackupPolicyCommand(input);
@@ -27,7 +27,7 @@ export interface DescribeFileSystemPolicyCommandOutput extends FileSystemPolicyD
27
27
  * import { EFSClient, DescribeFileSystemPolicyCommand } from "@aws-sdk/client-efs"; // ES Modules import
28
28
  * // const { EFSClient, DescribeFileSystemPolicyCommand } = require("@aws-sdk/client-efs"); // CommonJS import
29
29
  * const client = new EFSClient(config);
30
- * const input = {
30
+ * const input = { // DescribeFileSystemPolicyRequest
31
31
  * FileSystemId: "STRING_VALUE", // required
32
32
  * };
33
33
  * const command = new DescribeFileSystemPolicyCommand(input);
@@ -45,7 +45,7 @@ export interface DescribeFileSystemsCommandOutput extends DescribeFileSystemsRes
45
45
  * import { EFSClient, DescribeFileSystemsCommand } from "@aws-sdk/client-efs"; // ES Modules import
46
46
  * // const { EFSClient, DescribeFileSystemsCommand } = require("@aws-sdk/client-efs"); // CommonJS import
47
47
  * const client = new EFSClient(config);
48
- * const input = {
48
+ * const input = { // DescribeFileSystemsRequest
49
49
  * MaxItems: Number("int"),
50
50
  * Marker: "STRING_VALUE",
51
51
  * CreationToken: "STRING_VALUE",
@@ -34,7 +34,7 @@ export interface DescribeLifecycleConfigurationCommandOutput extends LifecycleCo
34
34
  * import { EFSClient, DescribeLifecycleConfigurationCommand } from "@aws-sdk/client-efs"; // ES Modules import
35
35
  * // const { EFSClient, DescribeLifecycleConfigurationCommand } = require("@aws-sdk/client-efs"); // CommonJS import
36
36
  * const client = new EFSClient(config);
37
- * const input = {
37
+ * const input = { // DescribeLifecycleConfigurationRequest
38
38
  * FileSystemId: "STRING_VALUE", // required
39
39
  * };
40
40
  * const command = new DescribeLifecycleConfigurationCommand(input);
@@ -41,7 +41,7 @@ export interface DescribeMountTargetSecurityGroupsCommandOutput extends Describe
41
41
  * import { EFSClient, DescribeMountTargetSecurityGroupsCommand } from "@aws-sdk/client-efs"; // ES Modules import
42
42
  * // const { EFSClient, DescribeMountTargetSecurityGroupsCommand } = require("@aws-sdk/client-efs"); // CommonJS import
43
43
  * const client = new EFSClient(config);
44
- * const input = {
44
+ * const input = { // DescribeMountTargetSecurityGroupsRequest
45
45
  * MountTargetId: "STRING_VALUE", // required
46
46
  * };
47
47
  * const command = new DescribeMountTargetSecurityGroupsCommand(input);
@@ -32,7 +32,7 @@ export interface DescribeMountTargetsCommandOutput extends DescribeMountTargetsR
32
32
  * import { EFSClient, DescribeMountTargetsCommand } from "@aws-sdk/client-efs"; // ES Modules import
33
33
  * // const { EFSClient, DescribeMountTargetsCommand } = require("@aws-sdk/client-efs"); // CommonJS import
34
34
  * const client = new EFSClient(config);
35
- * const input = {
35
+ * const input = { // DescribeMountTargetsRequest
36
36
  * MaxItems: Number("int"),
37
37
  * Marker: "STRING_VALUE",
38
38
  * FileSystemId: "STRING_VALUE",
@@ -28,7 +28,7 @@ export interface DescribeReplicationConfigurationsCommandOutput extends Describe
28
28
  * import { EFSClient, DescribeReplicationConfigurationsCommand } from "@aws-sdk/client-efs"; // ES Modules import
29
29
  * // const { EFSClient, DescribeReplicationConfigurationsCommand } = require("@aws-sdk/client-efs"); // CommonJS import
30
30
  * const client = new EFSClient(config);
31
- * const input = {
31
+ * const input = { // DescribeReplicationConfigurationsRequest
32
32
  * FileSystemId: "STRING_VALUE",
33
33
  * NextToken: "STRING_VALUE",
34
34
  * MaxResults: Number("int"),
@@ -37,7 +37,7 @@ export interface DescribeTagsCommandOutput extends DescribeTagsResponse, __Metad
37
37
  * import { EFSClient, DescribeTagsCommand } from "@aws-sdk/client-efs"; // ES Modules import
38
38
  * // const { EFSClient, DescribeTagsCommand } = require("@aws-sdk/client-efs"); // CommonJS import
39
39
  * const client = new EFSClient(config);
40
- * const input = {
40
+ * const input = { // DescribeTagsRequest
41
41
  * MaxItems: Number("int"),
42
42
  * Marker: "STRING_VALUE",
43
43
  * FileSystemId: "STRING_VALUE", // required
@@ -27,7 +27,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
27
27
  * import { EFSClient, ListTagsForResourceCommand } from "@aws-sdk/client-efs"; // ES Modules import
28
28
  * // const { EFSClient, ListTagsForResourceCommand } = require("@aws-sdk/client-efs"); // CommonJS import
29
29
  * const client = new EFSClient(config);
30
- * const input = {
30
+ * const input = { // ListTagsForResourceRequest
31
31
  * ResourceId: "STRING_VALUE", // required
32
32
  * MaxResults: Number("int"),
33
33
  * NextToken: "STRING_VALUE",
@@ -45,9 +45,9 @@ export interface ModifyMountTargetSecurityGroupsCommandOutput extends __Metadata
45
45
  * import { EFSClient, ModifyMountTargetSecurityGroupsCommand } from "@aws-sdk/client-efs"; // ES Modules import
46
46
  * // const { EFSClient, ModifyMountTargetSecurityGroupsCommand } = require("@aws-sdk/client-efs"); // CommonJS import
47
47
  * const client = new EFSClient(config);
48
- * const input = {
48
+ * const input = { // ModifyMountTargetSecurityGroupsRequest
49
49
  * MountTargetId: "STRING_VALUE", // required
50
- * SecurityGroups: [
50
+ * SecurityGroups: [ // SecurityGroups
51
51
  * "STRING_VALUE",
52
52
  * ],
53
53
  * };
@@ -36,7 +36,7 @@ export interface PutAccountPreferencesCommandOutput extends PutAccountPreference
36
36
  * import { EFSClient, PutAccountPreferencesCommand } from "@aws-sdk/client-efs"; // ES Modules import
37
37
  * // const { EFSClient, PutAccountPreferencesCommand } = require("@aws-sdk/client-efs"); // CommonJS import
38
38
  * const client = new EFSClient(config);
39
- * const input = {
39
+ * const input = { // PutAccountPreferencesRequest
40
40
  * ResourceIdType: "LONG_ID" || "SHORT_ID", // required
41
41
  * };
42
42
  * const command = new PutAccountPreferencesCommand(input);
@@ -26,9 +26,9 @@ export interface PutBackupPolicyCommandOutput extends BackupPolicyDescription, _
26
26
  * import { EFSClient, PutBackupPolicyCommand } from "@aws-sdk/client-efs"; // ES Modules import
27
27
  * // const { EFSClient, PutBackupPolicyCommand } = require("@aws-sdk/client-efs"); // CommonJS import
28
28
  * const client = new EFSClient(config);
29
- * const input = {
29
+ * const input = { // PutBackupPolicyRequest
30
30
  * FileSystemId: "STRING_VALUE", // required
31
- * BackupPolicy: {
31
+ * BackupPolicy: { // BackupPolicy
32
32
  * Status: "ENABLED" || "ENABLING" || "DISABLED" || "DISABLING", // required
33
33
  * },
34
34
  * };
@@ -37,7 +37,7 @@ export interface PutFileSystemPolicyCommandOutput extends FileSystemPolicyDescri
37
37
  * import { EFSClient, PutFileSystemPolicyCommand } from "@aws-sdk/client-efs"; // ES Modules import
38
38
  * // const { EFSClient, PutFileSystemPolicyCommand } = require("@aws-sdk/client-efs"); // CommonJS import
39
39
  * const client = new EFSClient(config);
40
- * const input = {
40
+ * const input = { // PutFileSystemPolicyRequest
41
41
  * FileSystemId: "STRING_VALUE", // required
42
42
  * Policy: "STRING_VALUE", // required
43
43
  * BypassPolicyLockoutSafetyCheck: true || false,
@@ -72,10 +72,10 @@ export interface PutLifecycleConfigurationCommandOutput extends LifecycleConfigu
72
72
  * import { EFSClient, PutLifecycleConfigurationCommand } from "@aws-sdk/client-efs"; // ES Modules import
73
73
  * // const { EFSClient, PutLifecycleConfigurationCommand } = require("@aws-sdk/client-efs"); // CommonJS import
74
74
  * const client = new EFSClient(config);
75
- * const input = {
75
+ * const input = { // PutLifecycleConfigurationRequest
76
76
  * FileSystemId: "STRING_VALUE", // required
77
- * LifecyclePolicies: [ // required
78
- * {
77
+ * LifecyclePolicies: [ // LifecyclePolicies // required
78
+ * { // LifecyclePolicy
79
79
  * TransitionToIA: "AFTER_7_DAYS" || "AFTER_14_DAYS" || "AFTER_30_DAYS" || "AFTER_60_DAYS" || "AFTER_90_DAYS" || "AFTER_1_DAY",
80
80
  * TransitionToPrimaryStorageClass: "AFTER_1_ACCESS",
81
81
  * },
@@ -27,10 +27,10 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
27
27
  * import { EFSClient, TagResourceCommand } from "@aws-sdk/client-efs"; // ES Modules import
28
28
  * // const { EFSClient, TagResourceCommand } = require("@aws-sdk/client-efs"); // CommonJS import
29
29
  * const client = new EFSClient(config);
30
- * const input = {
30
+ * const input = { // TagResourceRequest
31
31
  * ResourceId: "STRING_VALUE", // required
32
- * Tags: [ // required
33
- * {
32
+ * Tags: [ // Tags // required
33
+ * { // Tag
34
34
  * Key: "STRING_VALUE", // required
35
35
  * Value: "STRING_VALUE", // required
36
36
  * },
@@ -27,9 +27,9 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
27
27
  * import { EFSClient, UntagResourceCommand } from "@aws-sdk/client-efs"; // ES Modules import
28
28
  * // const { EFSClient, UntagResourceCommand } = require("@aws-sdk/client-efs"); // CommonJS import
29
29
  * const client = new EFSClient(config);
30
- * const input = {
30
+ * const input = { // UntagResourceRequest
31
31
  * ResourceId: "STRING_VALUE", // required
32
- * TagKeys: [ // required
32
+ * TagKeys: [ // TagKeys // required
33
33
  * "STRING_VALUE",
34
34
  * ],
35
35
  * };
@@ -27,7 +27,7 @@ export interface UpdateFileSystemCommandOutput extends FileSystemDescription, __
27
27
  * import { EFSClient, UpdateFileSystemCommand } from "@aws-sdk/client-efs"; // ES Modules import
28
28
  * // const { EFSClient, UpdateFileSystemCommand } = require("@aws-sdk/client-efs"); // CommonJS import
29
29
  * const client = new EFSClient(config);
30
- * const input = {
30
+ * const input = { // UpdateFileSystemRequest
31
31
  * FileSystemId: "STRING_VALUE", // required
32
32
  * ThroughputMode: "bursting" || "provisioned" || "elastic",
33
33
  * ProvisionedThroughputInMibps: Number("double"),
@@ -29,15 +29,20 @@ export declare class AccessPointAlreadyExists extends __BaseException {
29
29
  }
30
30
  /**
31
31
  * @public
32
+ * @enum
32
33
  */
33
- export declare enum LifeCycleState {
34
- AVAILABLE = "available",
35
- CREATING = "creating",
36
- DELETED = "deleted",
37
- DELETING = "deleting",
38
- ERROR = "error",
39
- UPDATING = "updating"
40
- }
34
+ export declare const LifeCycleState: {
35
+ readonly AVAILABLE: "available";
36
+ readonly CREATING: "creating";
37
+ readonly DELETED: "deleted";
38
+ readonly DELETING: "deleting";
39
+ readonly ERROR: "error";
40
+ readonly UPDATING: "updating";
41
+ };
42
+ /**
43
+ * @public
44
+ */
45
+ export type LifeCycleState = (typeof LifeCycleState)[keyof typeof LifeCycleState];
41
46
  /**
42
47
  * @public
43
48
  * <p>The full POSIX identity, including the user ID, group ID, and any secondary group IDs, on the access point that is used for all file system operations performed by
@@ -256,13 +261,18 @@ export declare class AvailabilityZonesMismatch extends __BaseException {
256
261
  }
257
262
  /**
258
263
  * @public
264
+ * @enum
259
265
  */
260
- export declare enum Status {
261
- DISABLED = "DISABLED",
262
- DISABLING = "DISABLING",
263
- ENABLED = "ENABLED",
264
- ENABLING = "ENABLING"
265
- }
266
+ export declare const Status: {
267
+ readonly DISABLED: "DISABLED";
268
+ readonly DISABLING: "DISABLING";
269
+ readonly ENABLED: "ENABLED";
270
+ readonly ENABLING: "ENABLING";
271
+ };
272
+ /**
273
+ * @public
274
+ */
275
+ export type Status = (typeof Status)[keyof typeof Status];
266
276
  /**
267
277
  * @public
268
278
  * <p>The backup policy for the file system used to create automatic daily backups. If status has a value of
@@ -480,19 +490,29 @@ export declare class ThrottlingException extends __BaseException {
480
490
  }
481
491
  /**
482
492
  * @public
493
+ * @enum
483
494
  */
484
- export declare enum PerformanceMode {
485
- GENERAL_PURPOSE = "generalPurpose",
486
- MAX_IO = "maxIO"
487
- }
495
+ export declare const PerformanceMode: {
496
+ readonly GENERAL_PURPOSE: "generalPurpose";
497
+ readonly MAX_IO: "maxIO";
498
+ };
488
499
  /**
489
500
  * @public
490
501
  */
491
- export declare enum ThroughputMode {
492
- BURSTING = "bursting",
493
- ELASTIC = "elastic",
494
- PROVISIONED = "provisioned"
495
- }
502
+ export type PerformanceMode = (typeof PerformanceMode)[keyof typeof PerformanceMode];
503
+ /**
504
+ * @public
505
+ * @enum
506
+ */
507
+ export declare const ThroughputMode: {
508
+ readonly BURSTING: "bursting";
509
+ readonly ELASTIC: "elastic";
510
+ readonly PROVISIONED: "provisioned";
511
+ };
512
+ /**
513
+ * @public
514
+ */
515
+ export type ThroughputMode = (typeof ThroughputMode)[keyof typeof ThroughputMode];
496
516
  /**
497
517
  * @public
498
518
  */
@@ -1183,13 +1203,18 @@ export interface CreateReplicationConfigurationRequest {
1183
1203
  }
1184
1204
  /**
1185
1205
  * @public
1206
+ * @enum
1186
1207
  */
1187
- export declare enum ReplicationStatus {
1188
- DELETING = "DELETING",
1189
- ENABLED = "ENABLED",
1190
- ENABLING = "ENABLING",
1191
- ERROR = "ERROR"
1192
- }
1208
+ export declare const ReplicationStatus: {
1209
+ readonly DELETING: "DELETING";
1210
+ readonly ENABLED: "ENABLED";
1211
+ readonly ENABLING: "ENABLING";
1212
+ readonly ERROR: "ERROR";
1213
+ };
1214
+ /**
1215
+ * @public
1216
+ */
1217
+ export type ReplicationStatus = (typeof ReplicationStatus)[keyof typeof ReplicationStatus];
1193
1218
  /**
1194
1219
  * @public
1195
1220
  * <p>Describes the destination file system in the replication configuration.</p>
@@ -1509,18 +1534,28 @@ export interface DescribeAccountPreferencesRequest {
1509
1534
  }
1510
1535
  /**
1511
1536
  * @public
1537
+ * @enum
1512
1538
  */
1513
- export declare enum ResourceIdType {
1514
- LongId = "LONG_ID",
1515
- ShortId = "SHORT_ID"
1516
- }
1539
+ export declare const ResourceIdType: {
1540
+ readonly LongId: "LONG_ID";
1541
+ readonly ShortId: "SHORT_ID";
1542
+ };
1517
1543
  /**
1518
1544
  * @public
1519
1545
  */
1520
- export declare enum Resource {
1521
- FileSystem = "FILE_SYSTEM",
1522
- MountTarget = "MOUNT_TARGET"
1523
- }
1546
+ export type ResourceIdType = (typeof ResourceIdType)[keyof typeof ResourceIdType];
1547
+ /**
1548
+ * @public
1549
+ * @enum
1550
+ */
1551
+ export declare const Resource: {
1552
+ readonly FileSystem: "FILE_SYSTEM";
1553
+ readonly MountTarget: "MOUNT_TARGET";
1554
+ };
1555
+ /**
1556
+ * @public
1557
+ */
1558
+ export type Resource = (typeof Resource)[keyof typeof Resource];
1524
1559
  /**
1525
1560
  * @public
1526
1561
  * <p>Describes the resource type and its ID preference for the user's Amazon Web Services account, in the current Amazon Web Services Region.</p>
@@ -1663,21 +1698,31 @@ export interface DescribeLifecycleConfigurationRequest {
1663
1698
  }
1664
1699
  /**
1665
1700
  * @public
1701
+ * @enum
1666
1702
  */
1667
- export declare enum TransitionToIARules {
1668
- AFTER_14_DAYS = "AFTER_14_DAYS",
1669
- AFTER_1_DAY = "AFTER_1_DAY",
1670
- AFTER_30_DAYS = "AFTER_30_DAYS",
1671
- AFTER_60_DAYS = "AFTER_60_DAYS",
1672
- AFTER_7_DAYS = "AFTER_7_DAYS",
1673
- AFTER_90_DAYS = "AFTER_90_DAYS"
1674
- }
1703
+ export declare const TransitionToIARules: {
1704
+ readonly AFTER_14_DAYS: "AFTER_14_DAYS";
1705
+ readonly AFTER_1_DAY: "AFTER_1_DAY";
1706
+ readonly AFTER_30_DAYS: "AFTER_30_DAYS";
1707
+ readonly AFTER_60_DAYS: "AFTER_60_DAYS";
1708
+ readonly AFTER_7_DAYS: "AFTER_7_DAYS";
1709
+ readonly AFTER_90_DAYS: "AFTER_90_DAYS";
1710
+ };
1675
1711
  /**
1676
1712
  * @public
1677
1713
  */
1678
- export declare enum TransitionToPrimaryStorageClassRules {
1679
- AFTER_1_ACCESS = "AFTER_1_ACCESS"
1680
- }
1714
+ export type TransitionToIARules = (typeof TransitionToIARules)[keyof typeof TransitionToIARules];
1715
+ /**
1716
+ * @public
1717
+ * @enum
1718
+ */
1719
+ export declare const TransitionToPrimaryStorageClassRules: {
1720
+ readonly AFTER_1_ACCESS: "AFTER_1_ACCESS";
1721
+ };
1722
+ /**
1723
+ * @public
1724
+ */
1725
+ export type TransitionToPrimaryStorageClassRules = (typeof TransitionToPrimaryStorageClassRules)[keyof typeof TransitionToPrimaryStorageClassRules];
1681
1726
  /**
1682
1727
  * @public
1683
1728
  * <p>Describes a policy used by EFS lifecycle management and EFS Intelligent-Tiering that
@@ -10,14 +10,16 @@ export declare class AccessPointAlreadyExists extends __BaseException {
10
10
  opts: __ExceptionOptionType<AccessPointAlreadyExists, __BaseException>
11
11
  );
12
12
  }
13
- export declare enum LifeCycleState {
14
- AVAILABLE = "available",
15
- CREATING = "creating",
16
- DELETED = "deleted",
17
- DELETING = "deleting",
18
- ERROR = "error",
19
- UPDATING = "updating",
20
- }
13
+ export declare const LifeCycleState: {
14
+ readonly AVAILABLE: "available";
15
+ readonly CREATING: "creating";
16
+ readonly DELETED: "deleted";
17
+ readonly DELETING: "deleting";
18
+ readonly ERROR: "error";
19
+ readonly UPDATING: "updating";
20
+ };
21
+ export type LifeCycleState =
22
+ (typeof LifeCycleState)[keyof typeof LifeCycleState];
21
23
  export interface PosixUser {
22
24
  Uid: number | undefined;
23
25
  Gid: number | undefined;
@@ -75,12 +77,13 @@ export declare class AvailabilityZonesMismatch extends __BaseException {
75
77
  opts: __ExceptionOptionType<AvailabilityZonesMismatch, __BaseException>
76
78
  );
77
79
  }
78
- export declare enum Status {
79
- DISABLED = "DISABLED",
80
- DISABLING = "DISABLING",
81
- ENABLED = "ENABLED",
82
- ENABLING = "ENABLING",
83
- }
80
+ export declare const Status: {
81
+ readonly DISABLED: "DISABLED";
82
+ readonly DISABLING: "DISABLING";
83
+ readonly ENABLED: "ENABLED";
84
+ readonly ENABLING: "ENABLING";
85
+ };
86
+ export type Status = (typeof Status)[keyof typeof Status];
84
87
  export interface BackupPolicy {
85
88
  Status: Status | string | undefined;
86
89
  }
@@ -138,15 +141,19 @@ export declare class ThrottlingException extends __BaseException {
138
141
  opts: __ExceptionOptionType<ThrottlingException, __BaseException>
139
142
  );
140
143
  }
141
- export declare enum PerformanceMode {
142
- GENERAL_PURPOSE = "generalPurpose",
143
- MAX_IO = "maxIO",
144
- }
145
- export declare enum ThroughputMode {
146
- BURSTING = "bursting",
147
- ELASTIC = "elastic",
148
- PROVISIONED = "provisioned",
149
- }
144
+ export declare const PerformanceMode: {
145
+ readonly GENERAL_PURPOSE: "generalPurpose";
146
+ readonly MAX_IO: "maxIO";
147
+ };
148
+ export type PerformanceMode =
149
+ (typeof PerformanceMode)[keyof typeof PerformanceMode];
150
+ export declare const ThroughputMode: {
151
+ readonly BURSTING: "bursting";
152
+ readonly ELASTIC: "elastic";
153
+ readonly PROVISIONED: "provisioned";
154
+ };
155
+ export type ThroughputMode =
156
+ (typeof ThroughputMode)[keyof typeof ThroughputMode];
150
157
  export interface CreateFileSystemRequest {
151
158
  CreationToken?: string;
152
159
  PerformanceMode?: PerformanceMode | string;
@@ -315,12 +322,14 @@ export interface CreateReplicationConfigurationRequest {
315
322
  SourceFileSystemId: string | undefined;
316
323
  Destinations: DestinationToCreate[] | undefined;
317
324
  }
318
- export declare enum ReplicationStatus {
319
- DELETING = "DELETING",
320
- ENABLED = "ENABLED",
321
- ENABLING = "ENABLING",
322
- ERROR = "ERROR",
323
- }
325
+ export declare const ReplicationStatus: {
326
+ readonly DELETING: "DELETING";
327
+ readonly ENABLED: "ENABLED";
328
+ readonly ENABLING: "ENABLING";
329
+ readonly ERROR: "ERROR";
330
+ };
331
+ export type ReplicationStatus =
332
+ (typeof ReplicationStatus)[keyof typeof ReplicationStatus];
324
333
  export interface Destination {
325
334
  Status: ReplicationStatus | string | undefined;
326
335
  FileSystemId: string | undefined;
@@ -413,14 +422,17 @@ export interface DescribeAccountPreferencesRequest {
413
422
  NextToken?: string;
414
423
  MaxResults?: number;
415
424
  }
416
- export declare enum ResourceIdType {
417
- LongId = "LONG_ID",
418
- ShortId = "SHORT_ID",
419
- }
420
- export declare enum Resource {
421
- FileSystem = "FILE_SYSTEM",
422
- MountTarget = "MOUNT_TARGET",
423
- }
425
+ export declare const ResourceIdType: {
426
+ readonly LongId: "LONG_ID";
427
+ readonly ShortId: "SHORT_ID";
428
+ };
429
+ export type ResourceIdType =
430
+ (typeof ResourceIdType)[keyof typeof ResourceIdType];
431
+ export declare const Resource: {
432
+ readonly FileSystem: "FILE_SYSTEM";
433
+ readonly MountTarget: "MOUNT_TARGET";
434
+ };
435
+ export type Resource = (typeof Resource)[keyof typeof Resource];
424
436
  export interface ResourceIdPreference {
425
437
  ResourceIdType?: ResourceIdType | string;
426
438
  Resources?: (Resource | string)[];
@@ -460,17 +472,21 @@ export interface DescribeFileSystemsResponse {
460
472
  export interface DescribeLifecycleConfigurationRequest {
461
473
  FileSystemId: string | undefined;
462
474
  }
463
- export declare enum TransitionToIARules {
464
- AFTER_14_DAYS = "AFTER_14_DAYS",
465
- AFTER_1_DAY = "AFTER_1_DAY",
466
- AFTER_30_DAYS = "AFTER_30_DAYS",
467
- AFTER_60_DAYS = "AFTER_60_DAYS",
468
- AFTER_7_DAYS = "AFTER_7_DAYS",
469
- AFTER_90_DAYS = "AFTER_90_DAYS",
470
- }
471
- export declare enum TransitionToPrimaryStorageClassRules {
472
- AFTER_1_ACCESS = "AFTER_1_ACCESS",
473
- }
475
+ export declare const TransitionToIARules: {
476
+ readonly AFTER_14_DAYS: "AFTER_14_DAYS";
477
+ readonly AFTER_1_DAY: "AFTER_1_DAY";
478
+ readonly AFTER_30_DAYS: "AFTER_30_DAYS";
479
+ readonly AFTER_60_DAYS: "AFTER_60_DAYS";
480
+ readonly AFTER_7_DAYS: "AFTER_7_DAYS";
481
+ readonly AFTER_90_DAYS: "AFTER_90_DAYS";
482
+ };
483
+ export type TransitionToIARules =
484
+ (typeof TransitionToIARules)[keyof typeof TransitionToIARules];
485
+ export declare const TransitionToPrimaryStorageClassRules: {
486
+ readonly AFTER_1_ACCESS: "AFTER_1_ACCESS";
487
+ };
488
+ export type TransitionToPrimaryStorageClassRules =
489
+ (typeof TransitionToPrimaryStorageClassRules)[keyof typeof TransitionToPrimaryStorageClassRules];
474
490
  export interface LifecyclePolicy {
475
491
  TransitionToIA?: TransitionToIARules | string;
476
492
  TransitionToPrimaryStorageClass?:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-efs",
3
3
  "description": "AWS SDK for JavaScript Efs Client for Node.js, Browser and React Native",
4
- "version": "3.300.0",
4
+ "version": "3.303.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,43 +21,43 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"
58
58
  },
59
59
  "devDependencies": {
60
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
60
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
61
61
  "@tsconfig/node14": "1.0.3",
62
62
  "@types/node": "^14.14.31",
63
63
  "@types/uuid": "^8.3.0",