@aws-sdk/client-efs 3.216.0 → 3.222.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/models/models_0.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +4 -1
- package/dist-es/models/models_0.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +4 -1
- package/dist-types/EFS.d.ts +5 -0
- package/dist-types/commands/CreateAccessPointCommand.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +10 -7
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +29 -28
|
@@ -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: [
|
|
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: [
|
|
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({
|
package/dist-types/EFS.d.ts
CHANGED
|
@@ -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
|
|
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
|
|
518
|
-
* <code>provisioned</code>. If you set <code>ThroughputMode</code> to
|
|
519
|
-
*
|
|
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,
|
|
523
|
-
*
|
|
524
|
-
*
|
|
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.
|
|
4
|
+
"version": "3.222.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,36 +19,37 @@
|
|
|
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.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.222.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.222.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.222.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.222.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.222.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.222.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.222.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.222.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.222.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.222.0",
|
|
32
|
+
"@aws-sdk/middleware-recursion-detection": "3.222.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.222.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.222.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.222.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.222.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.222.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.222.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.222.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.222.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.222.0",
|
|
42
|
+
"@aws-sdk/types": "3.222.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.222.0",
|
|
44
44
|
"@aws-sdk/util-base64": "3.208.0",
|
|
45
45
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
46
46
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
47
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
-
"@aws-sdk/util-endpoints": "3.
|
|
50
|
-
"@aws-sdk/util-
|
|
51
|
-
"@aws-sdk/util-user-agent-
|
|
47
|
+
"@aws-sdk/util-defaults-mode-browser": "3.222.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.222.0",
|
|
49
|
+
"@aws-sdk/util-endpoints": "3.222.0",
|
|
50
|
+
"@aws-sdk/util-retry": "3.222.0",
|
|
51
|
+
"@aws-sdk/util-user-agent-browser": "3.222.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-node": "3.222.0",
|
|
52
53
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
53
54
|
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
54
55
|
"tslib": "^2.3.1",
|