@aws-sdk/client-efs 3.35.0 → 3.38.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/CHANGELOG.md +48 -0
- package/dist-cjs/EFS.js +0 -8
- package/dist-cjs/EFSClient.js +0 -13
- package/dist-cjs/commands/CreateAccessPointCommand.js +0 -32
- package/dist-cjs/commands/CreateFileSystemCommand.js +0 -78
- package/dist-cjs/commands/CreateMountTargetCommand.js +0 -166
- package/dist-cjs/commands/CreateTagsCommand.js +0 -36
- package/dist-cjs/commands/DeleteAccessPointCommand.js +0 -28
- package/dist-cjs/commands/DeleteFileSystemCommand.js +0 -39
- package/dist-cjs/commands/DeleteFileSystemPolicyCommand.js +0 -28
- package/dist-cjs/commands/DeleteMountTargetCommand.js +0 -58
- package/dist-cjs/commands/DeleteTagsCommand.js +0 -37
- package/dist-cjs/commands/DescribeAccessPointsCommand.js +0 -28
- package/dist-cjs/commands/DescribeAccountPreferencesCommand.js +0 -26
- package/dist-cjs/commands/DescribeBackupPolicyCommand.js +0 -25
- package/dist-cjs/commands/DescribeFileSystemPolicyCommand.js +0 -26
- package/dist-cjs/commands/DescribeFileSystemsCommand.js +0 -47
- package/dist-cjs/commands/DescribeLifecycleConfigurationCommand.js +0 -32
- package/dist-cjs/commands/DescribeMountTargetSecurityGroupsCommand.js +0 -40
- package/dist-cjs/commands/DescribeMountTargetsCommand.js +0 -32
- package/dist-cjs/commands/DescribeTagsCommand.js +0 -35
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -26
- package/dist-cjs/commands/ModifyMountTargetSecurityGroupsCommand.js +0 -44
- package/dist-cjs/commands/PutAccountPreferencesCommand.js +0 -28
- package/dist-cjs/commands/PutBackupPolicyCommand.js +0 -25
- package/dist-cjs/commands/PutFileSystemPolicyCommand.js +0 -34
- package/dist-cjs/commands/PutLifecycleConfigurationCommand.js +0 -55
- package/dist-cjs/commands/TagResourceCommand.js +0 -26
- package/dist-cjs/commands/UntagResourceCommand.js +0 -26
- package/dist-cjs/commands/UpdateFileSystemCommand.js +0 -26
- package/dist-cjs/commands/index.js +30 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -35
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -232
- package/dist-cjs/pagination/DescribeAccessPointsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeFileSystemsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeTagsPaginator.js +0 -11
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +0 -11
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_restJson1.js +8 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/EFS.js +0 -1
- package/dist-es/EFSClient.js +0 -1
- package/dist-es/commands/CreateAccessPointCommand.js +0 -1
- package/dist-es/commands/CreateFileSystemCommand.js +0 -1
- package/dist-es/commands/CreateMountTargetCommand.js +0 -1
- package/dist-es/commands/CreateTagsCommand.js +0 -1
- package/dist-es/commands/DeleteAccessPointCommand.js +0 -1
- package/dist-es/commands/DeleteFileSystemCommand.js +0 -1
- package/dist-es/commands/DeleteFileSystemPolicyCommand.js +0 -1
- package/dist-es/commands/DeleteMountTargetCommand.js +0 -1
- package/dist-es/commands/DeleteTagsCommand.js +0 -1
- package/dist-es/commands/DescribeAccessPointsCommand.js +0 -1
- package/dist-es/commands/DescribeAccountPreferencesCommand.js +0 -1
- package/dist-es/commands/DescribeBackupPolicyCommand.js +0 -1
- package/dist-es/commands/DescribeFileSystemPolicyCommand.js +0 -1
- package/dist-es/commands/DescribeFileSystemsCommand.js +0 -1
- package/dist-es/commands/DescribeLifecycleConfigurationCommand.js +0 -1
- package/dist-es/commands/DescribeMountTargetSecurityGroupsCommand.js +0 -1
- package/dist-es/commands/DescribeMountTargetsCommand.js +0 -1
- package/dist-es/commands/DescribeTagsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/ModifyMountTargetSecurityGroupsCommand.js +0 -1
- package/dist-es/commands/PutAccountPreferencesCommand.js +0 -1
- package/dist-es/commands/PutBackupPolicyCommand.js +0 -1
- package/dist-es/commands/PutFileSystemPolicyCommand.js +0 -1
- package/dist-es/commands/PutLifecycleConfigurationCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateFileSystemCommand.js +0 -1
- package/dist-es/commands/index.js +27 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -35
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/DescribeAccessPointsPaginator.js +0 -1
- package/dist-es/pagination/DescribeFileSystemsPaginator.js +0 -1
- package/dist-es/pagination/DescribeTagsPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListTagsForResourcePaginator.js +0 -1
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +22 -15
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/EFS.d.ts +15 -8
- package/dist-types/commands/PutAccountPreferencesCommand.d.ts +7 -3
- package/dist-types/commands/PutFileSystemPolicyCommand.d.ts +3 -1
- package/dist-types/commands/PutLifecycleConfigurationCommand.d.ts +5 -4
- package/dist-types/commands/index.d.ts +27 -0
- package/dist-types/index.d.ts +4 -34
- package/dist-types/models/models_0.d.ts +34 -6
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/EFS.d.ts +28 -496
- package/dist-types/ts3.4/EFSClient.d.ts +24 -93
- package/dist-types/ts3.4/commands/CreateAccessPointCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/CreateFileSystemCommand.d.ts +2 -73
- package/dist-types/ts3.4/commands/CreateMountTargetCommand.d.ts +2 -161
- package/dist-types/ts3.4/commands/CreateTagsCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/DeleteAccessPointCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteFileSystemCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/DeleteFileSystemPolicyCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteMountTargetCommand.d.ts +2 -53
- package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/DescribeAccessPointsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeAccountPreferencesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeBackupPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeFileSystemPolicyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeFileSystemsCommand.d.ts +2 -42
- package/dist-types/ts3.4/commands/DescribeLifecycleConfigurationCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/DescribeMountTargetSecurityGroupsCommand.d.ts +2 -35
- package/dist-types/ts3.4/commands/DescribeMountTargetsCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ModifyMountTargetSecurityGroupsCommand.d.ts +2 -39
- package/dist-types/ts3.4/commands/PutAccountPreferencesCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/PutBackupPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutFileSystemPolicyCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/PutLifecycleConfigurationCommand.d.ts +2 -50
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdateFileSystemCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/index.d.ts +27 -0
- package/dist-types/ts3.4/index.d.ts +4 -34
- package/dist-types/ts3.4/models/models_0.d.ts +273 -1088
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/EFS.js.map +0 -1
- package/dist-cjs/EFSClient.js.map +0 -1
- package/dist-cjs/commands/CreateAccessPointCommand.js.map +0 -1
- package/dist-cjs/commands/CreateFileSystemCommand.js.map +0 -1
- package/dist-cjs/commands/CreateMountTargetCommand.js.map +0 -1
- package/dist-cjs/commands/CreateTagsCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteAccessPointCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteFileSystemCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteFileSystemPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteMountTargetCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteTagsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeAccessPointsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeAccountPreferencesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeBackupPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeFileSystemPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeFileSystemsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeLifecycleConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeMountTargetSecurityGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeMountTargetsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeTagsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyMountTargetSecurityGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/PutAccountPreferencesCommand.js.map +0 -1
- package/dist-cjs/commands/PutBackupPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/PutFileSystemPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/PutLifecycleConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateFileSystemCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/DescribeAccessPointsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeFileSystemsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeTagsPaginator.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/EFS.js.map +0 -1
- package/dist-es/EFSClient.js.map +0 -1
- package/dist-es/commands/CreateAccessPointCommand.js.map +0 -1
- package/dist-es/commands/CreateFileSystemCommand.js.map +0 -1
- package/dist-es/commands/CreateMountTargetCommand.js.map +0 -1
- package/dist-es/commands/CreateTagsCommand.js.map +0 -1
- package/dist-es/commands/DeleteAccessPointCommand.js.map +0 -1
- package/dist-es/commands/DeleteFileSystemCommand.js.map +0 -1
- package/dist-es/commands/DeleteFileSystemPolicyCommand.js.map +0 -1
- package/dist-es/commands/DeleteMountTargetCommand.js.map +0 -1
- package/dist-es/commands/DeleteTagsCommand.js.map +0 -1
- package/dist-es/commands/DescribeAccessPointsCommand.js.map +0 -1
- package/dist-es/commands/DescribeAccountPreferencesCommand.js.map +0 -1
- package/dist-es/commands/DescribeBackupPolicyCommand.js.map +0 -1
- package/dist-es/commands/DescribeFileSystemPolicyCommand.js.map +0 -1
- package/dist-es/commands/DescribeFileSystemsCommand.js.map +0 -1
- package/dist-es/commands/DescribeLifecycleConfigurationCommand.js.map +0 -1
- package/dist-es/commands/DescribeMountTargetSecurityGroupsCommand.js.map +0 -1
- package/dist-es/commands/DescribeMountTargetsCommand.js.map +0 -1
- package/dist-es/commands/DescribeTagsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/ModifyMountTargetSecurityGroupsCommand.js.map +0 -1
- package/dist-es/commands/PutAccountPreferencesCommand.js.map +0 -1
- package/dist-es/commands/PutBackupPolicyCommand.js.map +0 -1
- package/dist-es/commands/PutFileSystemPolicyCommand.js.map +0 -1
- package/dist-es/commands/PutLifecycleConfigurationCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateFileSystemCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/DescribeAccessPointsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeFileSystemsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeTagsPaginator.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/EFS.ts +0 -1386
- package/src/EFSClient.ts +0 -363
- package/src/commands/CreateAccessPointCommand.ts +0 -102
- package/src/commands/CreateFileSystemCommand.ts +0 -148
- package/src/commands/CreateMountTargetCommand.ts +0 -236
- package/src/commands/CreateTagsCommand.ts +0 -106
- package/src/commands/DeleteAccessPointCommand.ts +0 -98
- package/src/commands/DeleteFileSystemCommand.ts +0 -109
- package/src/commands/DeleteFileSystemPolicyCommand.ts +0 -98
- package/src/commands/DeleteMountTargetCommand.ts +0 -128
- package/src/commands/DeleteTagsCommand.ts +0 -107
- package/src/commands/DescribeAccessPointsCommand.ts +0 -98
- package/src/commands/DescribeAccountPreferencesCommand.ts +0 -99
- package/src/commands/DescribeBackupPolicyCommand.ts +0 -95
- package/src/commands/DescribeFileSystemPolicyCommand.ts +0 -96
- package/src/commands/DescribeFileSystemsCommand.ts +0 -117
- package/src/commands/DescribeLifecycleConfigurationCommand.ts +0 -110
- package/src/commands/DescribeMountTargetSecurityGroupsCommand.ts +0 -121
- package/src/commands/DescribeMountTargetsCommand.ts +0 -102
- package/src/commands/DescribeTagsCommand.ts +0 -105
- package/src/commands/ListTagsForResourceCommand.ts +0 -96
- package/src/commands/ModifyMountTargetSecurityGroupsCommand.ts +0 -120
- package/src/commands/PutAccountPreferencesCommand.ts +0 -98
- package/src/commands/PutBackupPolicyCommand.ts +0 -95
- package/src/commands/PutFileSystemPolicyCommand.ts +0 -104
- package/src/commands/PutLifecycleConfigurationCommand.ts +0 -128
- package/src/commands/TagResourceCommand.ts +0 -96
- package/src/commands/UntagResourceCommand.ts +0 -96
- package/src/commands/UpdateFileSystemCommand.ts +0 -96
- package/src/endpoints.ts +0 -183
- package/src/index.ts +0 -35
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -2185
- package/src/pagination/DescribeAccessPointsPaginator.ts +0 -59
- package/src/pagination/DescribeFileSystemsPaginator.ts +0 -59
- package/src/pagination/DescribeTagsPaginator.ts +0 -59
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListTagsForResourcePaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -4420
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -2785,36 +2785,44 @@ export var deserializeAws_restJson1PutAccountPreferencesCommand = function (outp
|
|
|
2785
2785
|
});
|
|
2786
2786
|
}); };
|
|
2787
2787
|
var deserializeAws_restJson1PutAccountPreferencesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2788
|
-
var parsedOutput, _a, response, errorCode, _b, _c, parsedBody, message;
|
|
2789
|
-
var
|
|
2790
|
-
return __generator(this, function (
|
|
2791
|
-
switch (
|
|
2788
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, parsedBody, message;
|
|
2789
|
+
var _e;
|
|
2790
|
+
return __generator(this, function (_f) {
|
|
2791
|
+
switch (_f.label) {
|
|
2792
2792
|
case 0:
|
|
2793
2793
|
_a = [__assign({}, output)];
|
|
2794
|
-
|
|
2794
|
+
_e = {};
|
|
2795
2795
|
return [4, parseBody(output.body, context)];
|
|
2796
2796
|
case 1:
|
|
2797
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
2797
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_e.body = _f.sent(), _e)]));
|
|
2798
2798
|
errorCode = "UnknownError";
|
|
2799
2799
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2800
2800
|
_b = errorCode;
|
|
2801
2801
|
switch (_b) {
|
|
2802
|
-
case "
|
|
2803
|
-
case "com.amazonaws.efs#
|
|
2802
|
+
case "BadRequest": return [3, 2];
|
|
2803
|
+
case "com.amazonaws.efs#BadRequest": return [3, 2];
|
|
2804
|
+
case "InternalServerError": return [3, 4];
|
|
2805
|
+
case "com.amazonaws.efs#InternalServerError": return [3, 4];
|
|
2804
2806
|
}
|
|
2805
|
-
return [3,
|
|
2807
|
+
return [3, 6];
|
|
2806
2808
|
case 2:
|
|
2807
2809
|
_c = [{}];
|
|
2808
|
-
return [4,
|
|
2810
|
+
return [4, deserializeAws_restJson1BadRequestResponse(parsedOutput, context)];
|
|
2809
2811
|
case 3:
|
|
2810
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(
|
|
2811
|
-
return [3,
|
|
2812
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2813
|
+
return [3, 7];
|
|
2812
2814
|
case 4:
|
|
2815
|
+
_d = [{}];
|
|
2816
|
+
return [4, deserializeAws_restJson1InternalServerErrorResponse(parsedOutput, context)];
|
|
2817
|
+
case 5:
|
|
2818
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2819
|
+
return [3, 7];
|
|
2820
|
+
case 6:
|
|
2813
2821
|
parsedBody = parsedOutput.body;
|
|
2814
2822
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
2815
2823
|
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
2816
|
-
|
|
2817
|
-
case
|
|
2824
|
+
_f.label = 7;
|
|
2825
|
+
case 7:
|
|
2818
2826
|
message = response.message || response.Message || errorCode;
|
|
2819
2827
|
response.message = message;
|
|
2820
2828
|
delete response.Message;
|
|
@@ -4328,4 +4336,3 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
4328
4336
|
}
|
|
4329
4337
|
return "";
|
|
4330
4338
|
};
|
|
4331
|
-
//# sourceMappingURL=Aws_restJson1.js.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
+
import packageInfo from "../package.json";
|
|
2
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
4
|
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
4
5
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
@@ -7,11 +8,9 @@ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
|
7
8
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
8
9
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
9
10
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
10
|
-
import packageInfo from "../package.json";
|
|
11
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
12
12
|
export var getRuntimeConfig = function (config) {
|
|
13
13
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
14
14
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
15
15
|
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=runtimeConfig.browser.js.map
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
+
import packageInfo from "../package.json";
|
|
2
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
3
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
|
|
4
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
@@ -6,17 +7,15 @@ import { Hash } from "@aws-sdk/hash-node";
|
|
|
6
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
8
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
8
9
|
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
-
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
10
10
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
11
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
|
-
import packageInfo from "../package.json";
|
|
15
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
+
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
16
16
|
export var getRuntimeConfig = function (config) {
|
|
17
17
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
18
18
|
emitWarningIfUnsupportedVersion(process.version);
|
|
19
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
20
|
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=runtimeConfig.js.map
|
|
@@ -6,4 +6,3 @@ export var getRuntimeConfig = function (config) {
|
|
|
6
6
|
var browserDefaults = getBrowserRuntimeConfig(config);
|
|
7
7
|
return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
|
|
8
8
|
};
|
|
9
|
-
//# sourceMappingURL=runtimeConfig.native.js.map
|
package/dist-types/EFS.d.ts
CHANGED
|
@@ -519,10 +519,14 @@ export declare class EFS extends EFSClient {
|
|
|
519
519
|
modifyMountTargetSecurityGroups(args: ModifyMountTargetSecurityGroupsCommandInput, cb: (err: any, data?: ModifyMountTargetSecurityGroupsCommandOutput) => void): void;
|
|
520
520
|
modifyMountTargetSecurityGroups(args: ModifyMountTargetSecurityGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyMountTargetSecurityGroupsCommandOutput) => void): void;
|
|
521
521
|
/**
|
|
522
|
-
* <p>Use this operation to set the account preference in the current Amazon Web Services Region to use
|
|
523
|
-
* new EFS file
|
|
522
|
+
* <p>Use this operation to set the account preference in the current Amazon Web Services Region to use long 17 character (63 bit) or short 8 character (32 bit) resource IDs for
|
|
523
|
+
* new EFS file system and mount target resources. All existing resource IDs are not affected by any changes you make. You can set the ID preference during the
|
|
524
524
|
* opt-in period as EFS transitions to long resource IDs. For more information,
|
|
525
|
-
* see <a href="efs/latest/ug/manage-efs-resource-ids.html">Managing Amazon EFS resource IDs</a>.</p>
|
|
525
|
+
* see <a href="https://docs.aws.amazon.com/efs/latest/ug/manage-efs-resource-ids.html">Managing Amazon EFS resource IDs</a>.</p>
|
|
526
|
+
* <note>
|
|
527
|
+
* <p>Starting in October, 2021, you will receive an error if you try to set the account preference to use the short 8 character format resource ID.
|
|
528
|
+
* Contact Amazon Web Services support if you receive an error and need to use short IDs for file system and mount target resources.</p>
|
|
529
|
+
* </note>
|
|
526
530
|
*/
|
|
527
531
|
putAccountPreferences(args: PutAccountPreferencesCommandInput, options?: __HttpHandlerOptions): Promise<PutAccountPreferencesCommandOutput>;
|
|
528
532
|
putAccountPreferences(args: PutAccountPreferencesCommandInput, cb: (err: any, data?: PutAccountPreferencesCommandOutput) => void): void;
|
|
@@ -542,7 +546,9 @@ export declare class EFS extends EFSClient {
|
|
|
542
546
|
* When an explicit policy is set, it overrides the default policy. For more information about the default file system policy, see
|
|
543
547
|
* <a href="https://docs.aws.amazon.com/efs/latest/ug/iam-access-control-nfs-efs.html#default-filesystempolicy">Default EFS File System Policy</a>.
|
|
544
548
|
* </p>
|
|
545
|
-
* <
|
|
549
|
+
* <note>
|
|
550
|
+
* <p>EFS file system policies have a 20,000 character limit.</p>
|
|
551
|
+
* </note>
|
|
546
552
|
* <p>This operation requires permissions for the <code>elasticfilesystem:PutFileSystemPolicy</code> action.</p>
|
|
547
553
|
*/
|
|
548
554
|
putFileSystemPolicy(args: PutFileSystemPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutFileSystemPolicyCommandOutput>;
|
|
@@ -554,13 +560,13 @@ export declare class EFS extends EFSClient {
|
|
|
554
560
|
* system are automatically transitioned to the lower-cost EFS Infrequent Access (IA) storage class.
|
|
555
561
|
* To enable EFS Intelligent Tiering, set the value of <code>TransitionToPrimaryStorageClass</code> to <code>AFTER_1_ACCESS</code>.
|
|
556
562
|
* For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/lifecycle-management-efs.html">EFS Lifecycle Management</a>.</p>
|
|
557
|
-
*
|
|
563
|
+
*
|
|
558
564
|
* <p>Each Amazon EFS file system supports one lifecycle configuration, which applies to all files in the file system. If a
|
|
559
565
|
* <code>LifecycleConfiguration</code> object already exists for the specified file system, a
|
|
560
566
|
* <code>PutLifecycleConfiguration</code> call modifies the existing configuration. A
|
|
561
567
|
* <code>PutLifecycleConfiguration</code> call with an empty <code>LifecyclePolicies</code>
|
|
562
568
|
* array in the request body deletes any existing <code>LifecycleConfiguration</code> and
|
|
563
|
-
*
|
|
569
|
+
* turns off lifecycle management for the file system.</p>
|
|
564
570
|
*
|
|
565
571
|
*
|
|
566
572
|
* <p>In the request, specify the following: </p>
|
|
@@ -570,8 +576,9 @@ export declare class EFS extends EFSClient {
|
|
|
570
576
|
* </li>
|
|
571
577
|
* <li>
|
|
572
578
|
* <p>A <code>LifecyclePolicies</code> array of <code>LifecyclePolicy</code> objects that
|
|
573
|
-
* define when files are moved to the IA storage class.
|
|
574
|
-
*
|
|
579
|
+
* define when files are moved to the IA storage class. Amazon EFS requires that each <code>LifecyclePolicy</code>
|
|
580
|
+
* object have only have a single transition, so the <code>LifecyclePolicies</code> array needs to be structured with separate
|
|
581
|
+
* <code>LifecyclePolicy</code> objects. See the example requests in the following section for more information.</p>
|
|
575
582
|
* </li>
|
|
576
583
|
* </ul>
|
|
577
584
|
*
|
|
@@ -7,10 +7,14 @@ export interface PutAccountPreferencesCommandInput extends PutAccountPreferences
|
|
|
7
7
|
export interface PutAccountPreferencesCommandOutput extends PutAccountPreferencesResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Use this operation to set the account preference in the current Amazon Web Services Region to use
|
|
11
|
-
* new EFS file
|
|
10
|
+
* <p>Use this operation to set the account preference in the current Amazon Web Services Region to use long 17 character (63 bit) or short 8 character (32 bit) resource IDs for
|
|
11
|
+
* new EFS file system and mount target resources. All existing resource IDs are not affected by any changes you make. You can set the ID preference during the
|
|
12
12
|
* opt-in period as EFS transitions to long resource IDs. For more information,
|
|
13
|
-
* see <a href="efs/latest/ug/manage-efs-resource-ids.html">Managing Amazon EFS resource IDs</a>.</p>
|
|
13
|
+
* see <a href="https://docs.aws.amazon.com/efs/latest/ug/manage-efs-resource-ids.html">Managing Amazon EFS resource IDs</a>.</p>
|
|
14
|
+
* <note>
|
|
15
|
+
* <p>Starting in October, 2021, you will receive an error if you try to set the account preference to use the short 8 character format resource ID.
|
|
16
|
+
* Contact Amazon Web Services support if you receive an error and need to use short IDs for file system and mount target resources.</p>
|
|
17
|
+
* </note>
|
|
14
18
|
* @example
|
|
15
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
20
|
* ```javascript
|
|
@@ -15,7 +15,9 @@ export interface PutFileSystemPolicyCommandOutput extends FileSystemPolicyDescri
|
|
|
15
15
|
* When an explicit policy is set, it overrides the default policy. For more information about the default file system policy, see
|
|
16
16
|
* <a href="https://docs.aws.amazon.com/efs/latest/ug/iam-access-control-nfs-efs.html#default-filesystempolicy">Default EFS File System Policy</a>.
|
|
17
17
|
* </p>
|
|
18
|
-
* <
|
|
18
|
+
* <note>
|
|
19
|
+
* <p>EFS file system policies have a 20,000 character limit.</p>
|
|
20
|
+
* </note>
|
|
19
21
|
* <p>This operation requires permissions for the <code>elasticfilesystem:PutFileSystemPolicy</code> action.</p>
|
|
20
22
|
* @example
|
|
21
23
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -12,13 +12,13 @@ export interface PutLifecycleConfigurationCommandOutput extends LifecycleConfigu
|
|
|
12
12
|
* system are automatically transitioned to the lower-cost EFS Infrequent Access (IA) storage class.
|
|
13
13
|
* To enable EFS Intelligent Tiering, set the value of <code>TransitionToPrimaryStorageClass</code> to <code>AFTER_1_ACCESS</code>.
|
|
14
14
|
* For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/lifecycle-management-efs.html">EFS Lifecycle Management</a>.</p>
|
|
15
|
-
*
|
|
15
|
+
*
|
|
16
16
|
* <p>Each Amazon EFS file system supports one lifecycle configuration, which applies to all files in the file system. If a
|
|
17
17
|
* <code>LifecycleConfiguration</code> object already exists for the specified file system, a
|
|
18
18
|
* <code>PutLifecycleConfiguration</code> call modifies the existing configuration. A
|
|
19
19
|
* <code>PutLifecycleConfiguration</code> call with an empty <code>LifecyclePolicies</code>
|
|
20
20
|
* array in the request body deletes any existing <code>LifecycleConfiguration</code> and
|
|
21
|
-
*
|
|
21
|
+
* turns off lifecycle management for the file system.</p>
|
|
22
22
|
*
|
|
23
23
|
*
|
|
24
24
|
* <p>In the request, specify the following: </p>
|
|
@@ -28,8 +28,9 @@ export interface PutLifecycleConfigurationCommandOutput extends LifecycleConfigu
|
|
|
28
28
|
* </li>
|
|
29
29
|
* <li>
|
|
30
30
|
* <p>A <code>LifecyclePolicies</code> array of <code>LifecyclePolicy</code> objects that
|
|
31
|
-
* define when files are moved to the IA storage class.
|
|
32
|
-
*
|
|
31
|
+
* define when files are moved to the IA storage class. Amazon EFS requires that each <code>LifecyclePolicy</code>
|
|
32
|
+
* object have only have a single transition, so the <code>LifecyclePolicies</code> array needs to be structured with separate
|
|
33
|
+
* <code>LifecyclePolicy</code> objects. See the example requests in the following section for more information.</p>
|
|
33
34
|
* </li>
|
|
34
35
|
* </ul>
|
|
35
36
|
*
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export * from "./CreateAccessPointCommand";
|
|
2
|
+
export * from "./CreateFileSystemCommand";
|
|
3
|
+
export * from "./CreateMountTargetCommand";
|
|
4
|
+
export * from "./CreateTagsCommand";
|
|
5
|
+
export * from "./DeleteAccessPointCommand";
|
|
6
|
+
export * from "./DeleteFileSystemCommand";
|
|
7
|
+
export * from "./DeleteFileSystemPolicyCommand";
|
|
8
|
+
export * from "./DeleteMountTargetCommand";
|
|
9
|
+
export * from "./DeleteTagsCommand";
|
|
10
|
+
export * from "./DescribeAccessPointsCommand";
|
|
11
|
+
export * from "./DescribeAccountPreferencesCommand";
|
|
12
|
+
export * from "./DescribeBackupPolicyCommand";
|
|
13
|
+
export * from "./DescribeFileSystemPolicyCommand";
|
|
14
|
+
export * from "./DescribeFileSystemsCommand";
|
|
15
|
+
export * from "./DescribeLifecycleConfigurationCommand";
|
|
16
|
+
export * from "./DescribeMountTargetSecurityGroupsCommand";
|
|
17
|
+
export * from "./DescribeMountTargetsCommand";
|
|
18
|
+
export * from "./DescribeTagsCommand";
|
|
19
|
+
export * from "./ListTagsForResourceCommand";
|
|
20
|
+
export * from "./ModifyMountTargetSecurityGroupsCommand";
|
|
21
|
+
export * from "./PutAccountPreferencesCommand";
|
|
22
|
+
export * from "./PutBackupPolicyCommand";
|
|
23
|
+
export * from "./PutFileSystemPolicyCommand";
|
|
24
|
+
export * from "./PutLifecycleConfigurationCommand";
|
|
25
|
+
export * from "./TagResourceCommand";
|
|
26
|
+
export * from "./UntagResourceCommand";
|
|
27
|
+
export * from "./UpdateFileSystemCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,35 +1,5 @@
|
|
|
1
|
-
export * from "./EFSClient";
|
|
2
1
|
export * from "./EFS";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./commands
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./commands/DeleteAccessPointCommand";
|
|
8
|
-
export * from "./commands/DeleteFileSystemCommand";
|
|
9
|
-
export * from "./commands/DeleteFileSystemPolicyCommand";
|
|
10
|
-
export * from "./commands/DeleteMountTargetCommand";
|
|
11
|
-
export * from "./commands/DeleteTagsCommand";
|
|
12
|
-
export * from "./commands/DescribeAccessPointsCommand";
|
|
13
|
-
export * from "./pagination/DescribeAccessPointsPaginator";
|
|
14
|
-
export * from "./commands/DescribeAccountPreferencesCommand";
|
|
15
|
-
export * from "./commands/DescribeBackupPolicyCommand";
|
|
16
|
-
export * from "./commands/DescribeFileSystemPolicyCommand";
|
|
17
|
-
export * from "./commands/DescribeFileSystemsCommand";
|
|
18
|
-
export * from "./pagination/DescribeFileSystemsPaginator";
|
|
19
|
-
export * from "./commands/DescribeLifecycleConfigurationCommand";
|
|
20
|
-
export * from "./commands/DescribeMountTargetsCommand";
|
|
21
|
-
export * from "./commands/DescribeMountTargetSecurityGroupsCommand";
|
|
22
|
-
export * from "./commands/DescribeTagsCommand";
|
|
23
|
-
export * from "./pagination/DescribeTagsPaginator";
|
|
24
|
-
export * from "./commands/ListTagsForResourceCommand";
|
|
25
|
-
export * from "./pagination/ListTagsForResourcePaginator";
|
|
26
|
-
export * from "./commands/ModifyMountTargetSecurityGroupsCommand";
|
|
27
|
-
export * from "./commands/PutAccountPreferencesCommand";
|
|
28
|
-
export * from "./commands/PutBackupPolicyCommand";
|
|
29
|
-
export * from "./commands/PutFileSystemPolicyCommand";
|
|
30
|
-
export * from "./commands/PutLifecycleConfigurationCommand";
|
|
31
|
-
export * from "./commands/TagResourceCommand";
|
|
32
|
-
export * from "./commands/UntagResourceCommand";
|
|
33
|
-
export * from "./commands/UpdateFileSystemCommand";
|
|
34
|
-
export * from "./pagination/Interfaces";
|
|
35
|
-
export * from "./models/index";
|
|
2
|
+
export * from "./EFSClient";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./models";
|
|
5
|
+
export * from "./pagination";
|
|
@@ -1336,19 +1336,29 @@ export declare enum TransitionToPrimaryStorageClassRules {
|
|
|
1336
1336
|
AFTER_1_ACCESS = "AFTER_1_ACCESS"
|
|
1337
1337
|
}
|
|
1338
1338
|
/**
|
|
1339
|
-
* <p>Describes a policy used by EFS lifecycle management
|
|
1340
|
-
* Access (IA) storage class
|
|
1339
|
+
* <p>Describes a policy used by EFS lifecycle management and EFS intelligent tiering that specifies when to transition
|
|
1340
|
+
* files into and out of the file system's Infrequent Access (IA) storage class. For more information, see
|
|
1341
|
+
* <a href="https://docs.aws.amazon.com/efs/latest/ug/lifecycle-management-efs.html">EFS Intelligent‐Tiering and EFS Lifecycle Management</a>.</p>
|
|
1342
|
+
* <note>
|
|
1343
|
+
* <p>When using the <code>put-lifecycle-configuration</code> CLI command or the <code>PutLifecycleConfiguration</code> API action,
|
|
1344
|
+
* Amazon EFS requires that each <code>LifecyclePolicy</code>
|
|
1345
|
+
* object have only a single transition. This means that in a request body, <code>LifecyclePolicies</code> needs to be structured as
|
|
1346
|
+
* an array of <code>LifecyclePolicy</code> objects, one object for each transition, <code>TransitionToIA</code>,
|
|
1347
|
+
* <code>TransitionToPrimaryStorageClass</code>. For more information, see the request examples in <a>PutLifecycleConfiguration</a>.</p>
|
|
1348
|
+
* </note>
|
|
1341
1349
|
*/
|
|
1342
1350
|
export interface LifecyclePolicy {
|
|
1343
1351
|
/**
|
|
1344
1352
|
* <p>
|
|
1345
|
-
* Describes the period of time that a file is not accessed, after which it transitions to
|
|
1353
|
+
* Describes the period of time that a file is not accessed, after which it transitions to IA storage. Metadata
|
|
1346
1354
|
* operations such as listing the contents of a directory don't count as file access
|
|
1347
1355
|
* events.</p>
|
|
1348
1356
|
*/
|
|
1349
1357
|
TransitionToIA?: TransitionToIARules | string;
|
|
1350
1358
|
/**
|
|
1351
|
-
* <p>Describes
|
|
1359
|
+
* <p>Describes when to transition a file from IA storage to primary storage. Metadata
|
|
1360
|
+
* operations such as listing the contents of a directory don't count as file access
|
|
1361
|
+
* events.</p>
|
|
1352
1362
|
*/
|
|
1353
1363
|
TransitionToPrimaryStorageClass?: TransitionToPrimaryStorageClassRules | string;
|
|
1354
1364
|
}
|
|
@@ -1609,6 +1619,10 @@ export interface PutAccountPreferencesRequest {
|
|
|
1609
1619
|
/**
|
|
1610
1620
|
* <p>Specifies the EFS resource ID preference to set for the user's Amazon Web Services account, in the current Amazon Web Services Region,
|
|
1611
1621
|
* either <code>LONG_ID</code> (17 characters), or <code>SHORT_ID</code> (8 characters).</p>
|
|
1622
|
+
* <note>
|
|
1623
|
+
* <p>Starting in October, 2021, you will receive an error when setting the account preference to <code>SHORT_ID</code>.
|
|
1624
|
+
* Contact Amazon Web Services support if you receive an error and need to use short IDs for file system and mount target resources.</p>
|
|
1625
|
+
* </note>
|
|
1612
1626
|
*/
|
|
1613
1627
|
ResourceIdType: ResourceIdType | string | undefined;
|
|
1614
1628
|
}
|
|
@@ -1684,8 +1698,22 @@ export interface PutLifecycleConfigurationRequest {
|
|
|
1684
1698
|
/**
|
|
1685
1699
|
* <p>An array of <code>LifecyclePolicy</code> objects that define the file system's
|
|
1686
1700
|
* <code>LifecycleConfiguration</code> object. A <code>LifecycleConfiguration</code> object
|
|
1687
|
-
*
|
|
1688
|
-
*
|
|
1701
|
+
* informs EFS lifecycle management and intelligent tiering of the following:</p>
|
|
1702
|
+
* <ul>
|
|
1703
|
+
* <li>
|
|
1704
|
+
* <p>When to move files in the file system from primary storage to the IA storage class.</p>
|
|
1705
|
+
* </li>
|
|
1706
|
+
* <li>
|
|
1707
|
+
* <p>When to move files that are in IA storage to primary storage.</p>
|
|
1708
|
+
* </li>
|
|
1709
|
+
* </ul>
|
|
1710
|
+
* <note>
|
|
1711
|
+
* <p>When using the <code>put-lifecycle-configuration</code> CLI command or the <code>PutLifecycleConfiguration</code> API action,
|
|
1712
|
+
* Amazon EFS requires that each <code>LifecyclePolicy</code>
|
|
1713
|
+
* object have only a single transition. This means that in a request body, <code>LifecyclePolicies</code> needs to be structured as
|
|
1714
|
+
* an array of <code>LifecyclePolicy</code> objects, one object for each transition, <code>TransitionToIA</code>, <code>TransitionToPrimaryStorageClass</code>.
|
|
1715
|
+
* See the example requests in the following section for more information.</p>
|
|
1716
|
+
* </note>
|
|
1689
1717
|
*/
|
|
1690
1718
|
LifecyclePolicies: LifecyclePolicy[] | undefined;
|
|
1691
1719
|
}
|