@aws-sdk/client-efs 3.427.0 → 3.429.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.
@@ -200,7 +200,7 @@ export interface AccessPointDescription {
200
200
  * @public
201
201
  * <p>Identifies the lifecycle phase of the access point.</p>
202
202
  */
203
- LifeCycleState?: LifeCycleState | string;
203
+ LifeCycleState?: LifeCycleState;
204
204
  }
205
205
  /**
206
206
  * @public
@@ -338,7 +338,7 @@ export interface BackupPolicy {
338
338
  * </li>
339
339
  * </ul>
340
340
  */
341
- Status: Status | string | undefined;
341
+ Status: Status | undefined;
342
342
  }
343
343
  /**
344
344
  * @public
@@ -580,7 +580,7 @@ export interface CreateFileSystemRequest {
580
580
  * </note>
581
581
  * <p>Default is <code>generalPurpose</code>.</p>
582
582
  */
583
- PerformanceMode?: PerformanceMode | string;
583
+ PerformanceMode?: PerformanceMode;
584
584
  /**
585
585
  * @public
586
586
  * <p>A Boolean value that, if true, creates an encrypted file system. When creating an
@@ -633,7 +633,7 @@ export interface CreateFileSystemRequest {
633
633
  * Guide</i>. </p>
634
634
  * <p>Default is <code>bursting</code>.</p>
635
635
  */
636
- ThroughputMode?: ThroughputMode | string;
636
+ ThroughputMode?: ThroughputMode;
637
637
  /**
638
638
  * @public
639
639
  * <p>The throughput, measured in mebibytes per second (MiBps), that you want to provision for a
@@ -783,7 +783,7 @@ export interface FileSystemDescription {
783
783
  * @public
784
784
  * <p>The lifecycle phase of the file system.</p>
785
785
  */
786
- LifeCycleState: LifeCycleState | string | undefined;
786
+ LifeCycleState: LifeCycleState | undefined;
787
787
  /**
788
788
  * @public
789
789
  * <p>You can add tags to a file system, including a <code>Name</code> tag. For more
@@ -813,7 +813,7 @@ export interface FileSystemDescription {
813
813
  * @public
814
814
  * <p>The performance mode of the file system.</p>
815
815
  */
816
- PerformanceMode: PerformanceMode | string | undefined;
816
+ PerformanceMode: PerformanceMode | undefined;
817
817
  /**
818
818
  * @public
819
819
  * <p>A Boolean value that, if true, indicates that the file system is encrypted.</p>
@@ -831,7 +831,7 @@ export interface FileSystemDescription {
831
831
  * in the <i>Amazon EFS User Guide</i>.
832
832
  * </p>
833
833
  */
834
- ThroughputMode?: ThroughputMode | string;
834
+ ThroughputMode?: ThroughputMode;
835
835
  /**
836
836
  * @public
837
837
  * <p>The amount of provisioned throughput, measured in MiBps, for the file system. Valid for
@@ -1086,7 +1086,7 @@ export interface MountTargetDescription {
1086
1086
  * @public
1087
1087
  * <p>Lifecycle state of the mount target.</p>
1088
1088
  */
1089
- LifeCycleState: LifeCycleState | string | undefined;
1089
+ LifeCycleState: LifeCycleState | undefined;
1090
1090
  /**
1091
1091
  * @public
1092
1092
  * <p>Address at which the file system can be mounted by using the mount target.</p>
@@ -1362,7 +1362,7 @@ export interface Destination {
1362
1362
  * </li>
1363
1363
  * </ul>
1364
1364
  */
1365
- Status: ReplicationStatus | string | undefined;
1365
+ Status: ReplicationStatus | undefined;
1366
1366
  /**
1367
1367
  * @public
1368
1368
  * <p>The ID of the destination Amazon EFS file system.</p>
@@ -1738,12 +1738,12 @@ export interface ResourceIdPreference {
1738
1738
  * @public
1739
1739
  * <p>Identifies the EFS resource ID preference, either <code>LONG_ID</code> (17 characters) or <code>SHORT_ID</code> (8 characters).</p>
1740
1740
  */
1741
- ResourceIdType?: ResourceIdType | string;
1741
+ ResourceIdType?: ResourceIdType;
1742
1742
  /**
1743
1743
  * @public
1744
1744
  * <p>Identifies the Amazon EFS resources to which the ID preference setting applies, <code>FILE_SYSTEM</code> and <code>MOUNT_TARGET</code>.</p>
1745
1745
  */
1746
- Resources?: (Resource | string)[];
1746
+ Resources?: Resource[];
1747
1747
  }
1748
1748
  /**
1749
1749
  * @public
@@ -1938,14 +1938,14 @@ export interface LifecyclePolicy {
1938
1938
  * operations such as listing the contents of a directory don't count as file access
1939
1939
  * events.</p>
1940
1940
  */
1941
- TransitionToIA?: TransitionToIARules | string;
1941
+ TransitionToIA?: TransitionToIARules;
1942
1942
  /**
1943
1943
  * @public
1944
1944
  * <p>Describes when to transition a file from IA storage to primary storage. Metadata
1945
1945
  * operations such as listing the contents of a directory don't count as file access
1946
1946
  * events.</p>
1947
1947
  */
1948
- TransitionToPrimaryStorageClass?: TransitionToPrimaryStorageClassRules | string;
1948
+ TransitionToPrimaryStorageClass?: TransitionToPrimaryStorageClassRules;
1949
1949
  }
1950
1950
  /**
1951
1951
  * @public
@@ -2257,7 +2257,7 @@ export interface PutAccountPreferencesRequest {
2257
2257
  * use short IDs for file system and mount target resources.</p>
2258
2258
  * </note>
2259
2259
  */
2260
- ResourceIdType: ResourceIdType | string | undefined;
2260
+ ResourceIdType: ResourceIdType | undefined;
2261
2261
  }
2262
2262
  /**
2263
2263
  * @public
@@ -2424,7 +2424,7 @@ export interface UpdateFileSystemRequest {
2424
2424
  * request. If you are changing the <code>ThroughputMode</code> to <code>provisioned</code>,
2425
2425
  * you must also set a value for <code>ProvisionedThroughputInMibps</code>.</p>
2426
2426
  */
2427
- ThroughputMode?: ThroughputMode | string;
2427
+ ThroughputMode?: ThroughputMode;
2428
2428
  /**
2429
2429
  * @public
2430
2430
  * <p>(Optional) The throughput, measured in mebibytes per second (MiBps), that you want to
@@ -48,7 +48,7 @@ export interface AccessPointDescription {
48
48
  PosixUser?: PosixUser;
49
49
  RootDirectory?: RootDirectory;
50
50
  OwnerId?: string;
51
- LifeCycleState?: LifeCycleState | string;
51
+ LifeCycleState?: LifeCycleState;
52
52
  }
53
53
  export declare class AccessPointLimitExceeded extends __BaseException {
54
54
  readonly name: "AccessPointLimitExceeded";
@@ -85,7 +85,7 @@ export declare const Status: {
85
85
  };
86
86
  export type Status = (typeof Status)[keyof typeof Status];
87
87
  export interface BackupPolicy {
88
- Status: Status | string | undefined;
88
+ Status: Status | undefined;
89
89
  }
90
90
  export interface BackupPolicyDescription {
91
91
  BackupPolicy?: BackupPolicy;
@@ -156,10 +156,10 @@ export type ThroughputMode =
156
156
  (typeof ThroughputMode)[keyof typeof ThroughputMode];
157
157
  export interface CreateFileSystemRequest {
158
158
  CreationToken?: string;
159
- PerformanceMode?: PerformanceMode | string;
159
+ PerformanceMode?: PerformanceMode;
160
160
  Encrypted?: boolean;
161
161
  KmsKeyId?: string;
162
- ThroughputMode?: ThroughputMode | string;
162
+ ThroughputMode?: ThroughputMode;
163
163
  ProvisionedThroughputInMibps?: number;
164
164
  AvailabilityZoneName?: string;
165
165
  Backup?: boolean;
@@ -187,14 +187,14 @@ export interface FileSystemDescription {
187
187
  FileSystemId: string | undefined;
188
188
  FileSystemArn?: string;
189
189
  CreationTime: Date | undefined;
190
- LifeCycleState: LifeCycleState | string | undefined;
190
+ LifeCycleState: LifeCycleState | undefined;
191
191
  Name?: string;
192
192
  NumberOfMountTargets: number | undefined;
193
193
  SizeInBytes: FileSystemSize | undefined;
194
- PerformanceMode: PerformanceMode | string | undefined;
194
+ PerformanceMode: PerformanceMode | undefined;
195
195
  Encrypted?: boolean;
196
196
  KmsKeyId?: string;
197
- ThroughputMode?: ThroughputMode | string;
197
+ ThroughputMode?: ThroughputMode;
198
198
  ProvisionedThroughputInMibps?: number;
199
199
  AvailabilityZoneName?: string;
200
200
  AvailabilityZoneId?: string;
@@ -263,7 +263,7 @@ export interface MountTargetDescription {
263
263
  MountTargetId: string | undefined;
264
264
  FileSystemId: string | undefined;
265
265
  SubnetId: string | undefined;
266
- LifeCycleState: LifeCycleState | string | undefined;
266
+ LifeCycleState: LifeCycleState | undefined;
267
267
  IpAddress?: string;
268
268
  NetworkInterfaceId?: string;
269
269
  AvailabilityZoneId?: string;
@@ -333,7 +333,7 @@ export declare const ReplicationStatus: {
333
333
  export type ReplicationStatus =
334
334
  (typeof ReplicationStatus)[keyof typeof ReplicationStatus];
335
335
  export interface Destination {
336
- Status: ReplicationStatus | string | undefined;
336
+ Status: ReplicationStatus | undefined;
337
337
  FileSystemId: string | undefined;
338
338
  Region: string | undefined;
339
339
  LastReplicatedTimestamp?: Date;
@@ -436,8 +436,8 @@ export declare const Resource: {
436
436
  };
437
437
  export type Resource = (typeof Resource)[keyof typeof Resource];
438
438
  export interface ResourceIdPreference {
439
- ResourceIdType?: ResourceIdType | string;
440
- Resources?: (Resource | string)[];
439
+ ResourceIdType?: ResourceIdType;
440
+ Resources?: Resource[];
441
441
  }
442
442
  export interface DescribeAccountPreferencesResponse {
443
443
  ResourceIdPreference?: ResourceIdPreference;
@@ -490,10 +490,8 @@ export declare const TransitionToPrimaryStorageClassRules: {
490
490
  export type TransitionToPrimaryStorageClassRules =
491
491
  (typeof TransitionToPrimaryStorageClassRules)[keyof typeof TransitionToPrimaryStorageClassRules];
492
492
  export interface LifecyclePolicy {
493
- TransitionToIA?: TransitionToIARules | string;
494
- TransitionToPrimaryStorageClass?:
495
- | TransitionToPrimaryStorageClassRules
496
- | string;
493
+ TransitionToIA?: TransitionToIARules;
494
+ TransitionToPrimaryStorageClass?: TransitionToPrimaryStorageClassRules;
497
495
  }
498
496
  export interface LifecycleConfigurationDescription {
499
497
  LifecyclePolicies?: LifecyclePolicy[];
@@ -567,7 +565,7 @@ export interface ModifyMountTargetSecurityGroupsRequest {
567
565
  SecurityGroups?: string[];
568
566
  }
569
567
  export interface PutAccountPreferencesRequest {
570
- ResourceIdType: ResourceIdType | string | undefined;
568
+ ResourceIdType: ResourceIdType | undefined;
571
569
  }
572
570
  export interface PutAccountPreferencesResponse {
573
571
  ResourceIdPreference?: ResourceIdPreference;
@@ -602,6 +600,6 @@ export declare class TooManyRequests extends __BaseException {
602
600
  }
603
601
  export interface UpdateFileSystemRequest {
604
602
  FileSystemId: string | undefined;
605
- ThroughputMode?: ThroughputMode | string;
603
+ ThroughputMode?: ThroughputMode;
606
604
  ProvisionedThroughputInMibps?: number;
607
605
  }
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.427.0",
4
+ "version": "3.429.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,39 +21,39 @@
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.427.0",
25
- "@aws-sdk/credential-provider-node": "3.427.0",
26
- "@aws-sdk/middleware-host-header": "3.425.0",
27
- "@aws-sdk/middleware-logger": "3.425.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.425.0",
29
- "@aws-sdk/middleware-signing": "3.425.0",
30
- "@aws-sdk/middleware-user-agent": "3.427.0",
31
- "@aws-sdk/region-config-resolver": "3.425.0",
32
- "@aws-sdk/types": "3.425.0",
33
- "@aws-sdk/util-endpoints": "3.427.0",
34
- "@aws-sdk/util-user-agent-browser": "3.425.0",
35
- "@aws-sdk/util-user-agent-node": "3.425.0",
36
- "@smithy/config-resolver": "^2.0.11",
37
- "@smithy/fetch-http-handler": "^2.2.1",
38
- "@smithy/hash-node": "^2.0.10",
39
- "@smithy/invalid-dependency": "^2.0.10",
40
- "@smithy/middleware-content-length": "^2.0.12",
41
- "@smithy/middleware-endpoint": "^2.0.10",
42
- "@smithy/middleware-retry": "^2.0.13",
43
- "@smithy/middleware-serde": "^2.0.10",
44
- "@smithy/middleware-stack": "^2.0.4",
45
- "@smithy/node-config-provider": "^2.0.13",
46
- "@smithy/node-http-handler": "^2.1.6",
47
- "@smithy/protocol-http": "^3.0.6",
48
- "@smithy/smithy-client": "^2.1.9",
49
- "@smithy/types": "^2.3.4",
50
- "@smithy/url-parser": "^2.0.10",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
+ "@aws-sdk/middleware-logger": "3.428.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
+ "@aws-sdk/middleware-signing": "3.428.0",
30
+ "@aws-sdk/middleware-user-agent": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.428.0",
32
+ "@aws-sdk/types": "3.428.0",
33
+ "@aws-sdk/util-endpoints": "3.428.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.428.0",
35
+ "@aws-sdk/util-user-agent-node": "3.428.0",
36
+ "@smithy/config-resolver": "^2.0.14",
37
+ "@smithy/fetch-http-handler": "^2.2.3",
38
+ "@smithy/hash-node": "^2.0.11",
39
+ "@smithy/invalid-dependency": "^2.0.11",
40
+ "@smithy/middleware-content-length": "^2.0.13",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
+ "@smithy/middleware-retry": "^2.0.16",
43
+ "@smithy/middleware-serde": "^2.0.11",
44
+ "@smithy/middleware-stack": "^2.0.5",
45
+ "@smithy/node-config-provider": "^2.1.1",
46
+ "@smithy/node-http-handler": "^2.1.7",
47
+ "@smithy/protocol-http": "^3.0.7",
48
+ "@smithy/smithy-client": "^2.1.11",
49
+ "@smithy/types": "^2.3.5",
50
+ "@smithy/url-parser": "^2.0.11",
51
51
  "@smithy/util-base64": "^2.0.0",
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.13",
55
- "@smithy/util-defaults-mode-node": "^2.0.15",
56
- "@smithy/util-retry": "^2.0.3",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.15",
55
+ "@smithy/util-defaults-mode-node": "^2.0.19",
56
+ "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0",
59
59
  "uuid": "^8.3.2"