Skip to content

Commit 6d5410c

Browse files
author
awstools
committed
feat(client-efs): This release adds elastic as a new ThroughputMode value for EFS file systems and adds AFTER_1_DAY as a value for TransitionToIARules.
1 parent be0312b commit 6d5410c

File tree

4 files changed

+567
-396
lines changed

4 files changed

+567
-396
lines changed

clients/client-efs/src/EFS.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,11 @@ export class EFS extends EFSClient {
157157
* as the access point's root directory. Applications using the access point can only access data in
158158
* the application's own directory and any subdirectories. To learn more, see <a href="https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html">Mounting a file system using EFS access
159159
* points</a>.</p>
160+
* <note>
161+
* <p>If multiple requests to create access points on the same file system are sent in quick succession, and the file system is
162+
* near the limit of 120 access points, you may experience a throttling response for these requests. This
163+
* is to ensure that the file system does not exceed the stated access point limit.</p>
164+
* </note>
160165
* <p>This operation requires permissions for the <code>elasticfilesystem:CreateAccessPoint</code> action.</p>
161166
*/
162167
public createAccessPoint(

clients/client-efs/src/commands/CreateAccessPointCommand.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ export interface CreateAccessPointCommandOutput extends AccessPointDescription,
3636
* as the access point's root directory. Applications using the access point can only access data in
3737
* the application's own directory and any subdirectories. To learn more, see <a href="https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html">Mounting a file system using EFS access
3838
* points</a>.</p>
39+
* <note>
40+
* <p>If multiple requests to create access points on the same file system are sent in quick succession, and the file system is
41+
* near the limit of 120 access points, you may experience a throttling response for these requests. This
42+
* is to ensure that the file system does not exceed the stated access point limit.</p>
43+
* </note>
3944
* <p>This operation requires permissions for the <code>elasticfilesystem:CreateAccessPoint</code> action.</p>
4045
* @example
4146
* Use a bare-bones client and the command you need to make an API call.

clients/client-efs/src/models/models_0.ts

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,8 @@ export class InternalServerError extends __BaseException {
549549

550550
/**
551551
* <p>Returned when the <code>CreateAccessPoint</code> API action is called too quickly and
552-
* the number of Access Points in the account is nearing the limit of 120.</p>
552+
* the number of Access Points on the file system is nearing the
553+
* <a href="https://docs.aws.amazon.com/efs/latest/ug/limits.html#limits-efs-resources-per-account-per-region">limit of 120</a>.</p>
553554
*/
554555
export class ThrottlingException extends __BaseException {
555556
readonly name: "ThrottlingException" = "ThrottlingException";
@@ -590,6 +591,7 @@ export enum PerformanceMode {
590591

591592
export enum ThroughputMode {
592593
BURSTING = "bursting",
594+
ELASTIC = "elastic",
593595
PROVISIONED = "provisioned",
594596
}
595597

@@ -653,14 +655,14 @@ export interface CreateFileSystemRequest {
653655
KmsKeyId?: string;
654656

655657
/**
656-
* <p>Specifies the throughput mode for the file system, either <code>bursting</code> or
657-
* <code>provisioned</code>. If you set <code>ThroughputMode</code> to
658-
* <code>provisioned</code>, you must also set a value for
658+
* <p>Specifies the throughput mode for the file system. The mode can be <code>bursting</code>,
659+
* <code>provisioned</code>, or <code>elastic</code>. If you set <code>ThroughputMode</code> to
660+
* <code>provisioned</code>, you must also set a value for
659661
* <code>ProvisionedThroughputInMibps</code>. After you create the file system, you can
660662
* decrease your file system's throughput in Provisioned Throughput mode or change between
661-
* the throughput modes, as long as it’s been more than 24 hours since the last decrease or
662-
* throughput mode change. For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/performance.html#provisioned-throughput">Specifying throughput with
663-
* provisioned mode</a> in the <i>Amazon EFS User Guide</i>. </p>
663+
* the throughput modes, with certain time restrictions. For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/performance.html#provisioned-throughput">Specifying
664+
* throughput with provisioned mode</a> in the <i>Amazon EFS User
665+
* Guide</i>. </p>
664666
* <p>Default is <code>bursting</code>.</p>
665667
*/
666668
ThroughputMode?: ThroughputMode | string;
@@ -1974,6 +1976,7 @@ export interface DescribeLifecycleConfigurationRequest {
19741976

19751977
export enum TransitionToIARules {
19761978
AFTER_14_DAYS = "AFTER_14_DAYS",
1979+
AFTER_1_DAY = "AFTER_1_DAY",
19771980
AFTER_30_DAYS = "AFTER_30_DAYS",
19781981
AFTER_60_DAYS = "AFTER_60_DAYS",
19791982
AFTER_7_DAYS = "AFTER_7_DAYS",

0 commit comments

Comments
 (0)