@aws-sdk/client-efs 3.216.0 → 3.218.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.
@@ -163,6 +163,7 @@ var PerformanceMode;
163
163
  var ThroughputMode;
164
164
  (function (ThroughputMode) {
165
165
  ThroughputMode["BURSTING"] = "bursting";
166
+ ThroughputMode["ELASTIC"] = "elastic";
166
167
  ThroughputMode["PROVISIONED"] = "provisioned";
167
168
  })(ThroughputMode = exports.ThroughputMode || (exports.ThroughputMode = {}));
168
169
  class FileSystemAlreadyExists extends EFSServiceException_1.EFSServiceException {
@@ -456,6 +457,7 @@ exports.PolicyNotFound = PolicyNotFound;
456
457
  var TransitionToIARules;
457
458
  (function (TransitionToIARules) {
458
459
  TransitionToIARules["AFTER_14_DAYS"] = "AFTER_14_DAYS";
460
+ TransitionToIARules["AFTER_1_DAY"] = "AFTER_1_DAY";
459
461
  TransitionToIARules["AFTER_30_DAYS"] = "AFTER_30_DAYS";
460
462
  TransitionToIARules["AFTER_60_DAYS"] = "AFTER_60_DAYS";
461
463
  TransitionToIARules["AFTER_7_DAYS"] = "AFTER_7_DAYS";
@@ -628,7 +628,10 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
628
628
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2015-02-01/resource-tags/{ResourceId}";
629
629
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceId", () => input.ResourceId, "{ResourceId}", false);
630
630
  const query = map({
631
- tagKeys: [() => input.TagKeys !== void 0, () => (input.TagKeys || []).map((_entry) => _entry)],
631
+ tagKeys: [
632
+ (0, smithy_client_1.expectNonNull)(input.TagKeys, `TagKeys`) != null,
633
+ () => (input.TagKeys || []).map((_entry) => _entry),
634
+ ],
632
635
  });
633
636
  let body;
634
637
  return new protocol_http_1.HttpRequest({
@@ -150,6 +150,7 @@ export var PerformanceMode;
150
150
  export var ThroughputMode;
151
151
  (function (ThroughputMode) {
152
152
  ThroughputMode["BURSTING"] = "bursting";
153
+ ThroughputMode["ELASTIC"] = "elastic";
153
154
  ThroughputMode["PROVISIONED"] = "provisioned";
154
155
  })(ThroughputMode || (ThroughputMode = {}));
155
156
  export class FileSystemAlreadyExists extends __BaseException {
@@ -425,6 +426,7 @@ export class PolicyNotFound extends __BaseException {
425
426
  export var TransitionToIARules;
426
427
  (function (TransitionToIARules) {
427
428
  TransitionToIARules["AFTER_14_DAYS"] = "AFTER_14_DAYS";
429
+ TransitionToIARules["AFTER_1_DAY"] = "AFTER_1_DAY";
428
430
  TransitionToIARules["AFTER_30_DAYS"] = "AFTER_30_DAYS";
429
431
  TransitionToIARules["AFTER_60_DAYS"] = "AFTER_60_DAYS";
430
432
  TransitionToIARules["AFTER_7_DAYS"] = "AFTER_7_DAYS";
@@ -596,7 +596,10 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
596
596
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2015-02-01/resource-tags/{ResourceId}";
597
597
  resolvedPath = __resolvedPath(resolvedPath, input, "ResourceId", () => input.ResourceId, "{ResourceId}", false);
598
598
  const query = map({
599
- tagKeys: [() => input.TagKeys !== void 0, () => (input.TagKeys || []).map((_entry) => _entry)],
599
+ tagKeys: [
600
+ __expectNonNull(input.TagKeys, `TagKeys`) != null,
601
+ () => (input.TagKeys || []).map((_entry) => _entry),
602
+ ],
600
603
  });
601
604
  let body;
602
605
  return new __HttpRequest({
@@ -46,6 +46,11 @@ export declare class EFS extends EFSClient {
46
46
  * as the access point's root directory. Applications using the access point can only access data in
47
47
  * 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
48
48
  * points</a>.</p>
49
+ * <note>
50
+ * <p>If multiple requests to create access points on the same file system are sent in quick succession, and the file system is
51
+ * near the limit of 120 access points, you may experience a throttling response for these requests. This
52
+ * is to ensure that the file system does not exceed the stated access point limit.</p>
53
+ * </note>
49
54
  * <p>This operation requires permissions for the <code>elasticfilesystem:CreateAccessPoint</code> action.</p>
50
55
  */
51
56
  createAccessPoint(args: CreateAccessPointCommandInput, options?: __HttpHandlerOptions): Promise<CreateAccessPointCommandOutput>;
@@ -15,6 +15,11 @@ export interface CreateAccessPointCommandOutput extends AccessPointDescription,
15
15
  * as the access point's root directory. Applications using the access point can only access data in
16
16
  * 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
17
17
  * points</a>.</p>
18
+ * <note>
19
+ * <p>If multiple requests to create access points on the same file system are sent in quick succession, and the file system is
20
+ * near the limit of 120 access points, you may experience a throttling response for these requests. This
21
+ * is to ensure that the file system does not exceed the stated access point limit.</p>
22
+ * </note>
18
23
  * <p>This operation requires permissions for the <code>elasticfilesystem:CreateAccessPoint</code> action.</p>
19
24
  * @example
20
25
  * Use a bare-bones client and the command you need to make an API call.
@@ -427,7 +427,8 @@ export declare class InternalServerError extends __BaseException {
427
427
  }
428
428
  /**
429
429
  * <p>Returned when the <code>CreateAccessPoint</code> API action is called too quickly and
430
- * the number of Access Points in the account is nearing the limit of 120.</p>
430
+ * the number of Access Points on the file system is nearing the
431
+ * <a href="https://docs.aws.amazon.com/efs/latest/ug/limits.html#limits-efs-resources-per-account-per-region">limit of 120</a>.</p>
431
432
  */
432
433
  export declare class ThrottlingException extends __BaseException {
433
434
  readonly name: "ThrottlingException";
@@ -456,6 +457,7 @@ export declare enum PerformanceMode {
456
457
  }
457
458
  export declare enum ThroughputMode {
458
459
  BURSTING = "bursting",
460
+ ELASTIC = "elastic",
459
461
  PROVISIONED = "provisioned"
460
462
  }
461
463
  export interface CreateFileSystemRequest {
@@ -514,14 +516,14 @@ export interface CreateFileSystemRequest {
514
516
  */
515
517
  KmsKeyId?: string;
516
518
  /**
517
- * <p>Specifies the throughput mode for the file system, either <code>bursting</code> or
518
- * <code>provisioned</code>. If you set <code>ThroughputMode</code> to
519
- * <code>provisioned</code>, you must also set a value for
519
+ * <p>Specifies the throughput mode for the file system. The mode can be <code>bursting</code>,
520
+ * <code>provisioned</code>, or <code>elastic</code>. If you set <code>ThroughputMode</code> to
521
+ * <code>provisioned</code>, you must also set a value for
520
522
  * <code>ProvisionedThroughputInMibps</code>. After you create the file system, you can
521
523
  * decrease your file system's throughput in Provisioned Throughput mode or change between
522
- * the throughput modes, as long as it’s been more than 24 hours since the last decrease or
523
- * throughput mode change. For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/performance.html#provisioned-throughput">Specifying throughput with
524
- * provisioned mode</a> in the <i>Amazon EFS User Guide</i>. </p>
524
+ * 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
525
+ * throughput with provisioned mode</a> in the <i>Amazon EFS User
526
+ * Guide</i>. </p>
525
527
  * <p>Default is <code>bursting</code>.</p>
526
528
  */
527
529
  ThroughputMode?: ThroughputMode | string;
@@ -1544,6 +1546,7 @@ export interface DescribeLifecycleConfigurationRequest {
1544
1546
  }
1545
1547
  export declare enum TransitionToIARules {
1546
1548
  AFTER_14_DAYS = "AFTER_14_DAYS",
1549
+ AFTER_1_DAY = "AFTER_1_DAY",
1547
1550
  AFTER_30_DAYS = "AFTER_30_DAYS",
1548
1551
  AFTER_60_DAYS = "AFTER_60_DAYS",
1549
1552
  AFTER_7_DAYS = "AFTER_7_DAYS",
@@ -144,6 +144,7 @@ export declare enum PerformanceMode {
144
144
  }
145
145
  export declare enum ThroughputMode {
146
146
  BURSTING = "bursting",
147
+ ELASTIC = "elastic",
147
148
  PROVISIONED = "provisioned",
148
149
  }
149
150
  export interface CreateFileSystemRequest {
@@ -461,6 +462,7 @@ export interface DescribeLifecycleConfigurationRequest {
461
462
  }
462
463
  export declare enum TransitionToIARules {
463
464
  AFTER_14_DAYS = "AFTER_14_DAYS",
465
+ AFTER_1_DAY = "AFTER_1_DAY",
464
466
  AFTER_30_DAYS = "AFTER_30_DAYS",
465
467
  AFTER_60_DAYS = "AFTER_60_DAYS",
466
468
  AFTER_7_DAYS = "AFTER_7_DAYS",
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.216.0",
4
+ "version": "3.218.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",
@@ -19,9 +19,9 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.216.0",
22
+ "@aws-sdk/client-sts": "3.218.0",
23
23
  "@aws-sdk/config-resolver": "3.215.0",
24
- "@aws-sdk/credential-provider-node": "3.216.0",
24
+ "@aws-sdk/credential-provider-node": "3.218.0",
25
25
  "@aws-sdk/fetch-http-handler": "3.215.0",
26
26
  "@aws-sdk/hash-node": "3.215.0",
27
27
  "@aws-sdk/invalid-dependency": "3.215.0",