@aws-sdk/client-efs 3.927.0 → 3.929.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/index.js +1480 -1835
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/EFSClient.js +2 -0
- package/dist-es/commands/CreateAccessPointCommand.js +3 -9
- package/dist-es/commands/CreateFileSystemCommand.js +3 -9
- package/dist-es/commands/CreateMountTargetCommand.js +3 -9
- package/dist-es/commands/CreateReplicationConfigurationCommand.js +3 -9
- package/dist-es/commands/CreateTagsCommand.js +3 -9
- package/dist-es/commands/DeleteAccessPointCommand.js +3 -9
- package/dist-es/commands/DeleteFileSystemCommand.js +3 -9
- package/dist-es/commands/DeleteFileSystemPolicyCommand.js +3 -9
- package/dist-es/commands/DeleteMountTargetCommand.js +3 -9
- package/dist-es/commands/DeleteReplicationConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteTagsCommand.js +3 -9
- package/dist-es/commands/DescribeAccessPointsCommand.js +3 -9
- package/dist-es/commands/DescribeAccountPreferencesCommand.js +3 -9
- package/dist-es/commands/DescribeBackupPolicyCommand.js +3 -9
- package/dist-es/commands/DescribeFileSystemPolicyCommand.js +3 -9
- package/dist-es/commands/DescribeFileSystemsCommand.js +3 -9
- package/dist-es/commands/DescribeLifecycleConfigurationCommand.js +3 -9
- package/dist-es/commands/DescribeMountTargetSecurityGroupsCommand.js +3 -9
- package/dist-es/commands/DescribeMountTargetsCommand.js +3 -9
- package/dist-es/commands/DescribeReplicationConfigurationsCommand.js +3 -9
- package/dist-es/commands/DescribeTagsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ModifyMountTargetSecurityGroupsCommand.js +3 -9
- package/dist-es/commands/PutAccountPreferencesCommand.js +3 -9
- package/dist-es/commands/PutBackupPolicyCommand.js +3 -9
- package/dist-es/commands/PutFileSystemPolicyCommand.js +3 -9
- package/dist-es/commands/PutLifecycleConfigurationCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateFileSystemCommand.js +3 -9
- package/dist-es/commands/UpdateFileSystemProtectionCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +1334 -0
- package/dist-types/EFSClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +136 -0
- package/dist-types/ts3.4/EFSClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +141 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_restJson1.js +0 -1533
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -281
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -377
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ModifyMountTargetSecurityGroups } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ModifyMountTargetSecurityGroupsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("MagnolioAPIService_v20150201", "ModifyMountTargetSecurityGroups", {})
|
|
17
13
|
.n("EFSClient", "ModifyMountTargetSecurityGroupsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ModifyMountTargetSecurityGroupsCommand)
|
|
20
|
-
.de(de_ModifyMountTargetSecurityGroupsCommand)
|
|
14
|
+
.sc(ModifyMountTargetSecurityGroups)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { PutAccountPreferences } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class PutAccountPreferencesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("MagnolioAPIService_v20150201", "PutAccountPreferences", {})
|
|
17
13
|
.n("EFSClient", "PutAccountPreferencesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_PutAccountPreferencesCommand)
|
|
20
|
-
.de(de_PutAccountPreferencesCommand)
|
|
14
|
+
.sc(PutAccountPreferences)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { PutBackupPolicy } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class PutBackupPolicyCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("MagnolioAPIService_v20150201", "PutBackupPolicy", {})
|
|
17
13
|
.n("EFSClient", "PutBackupPolicyCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_PutBackupPolicyCommand)
|
|
20
|
-
.de(de_PutBackupPolicyCommand)
|
|
14
|
+
.sc(PutBackupPolicy)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { PutFileSystemPolicy } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class PutFileSystemPolicyCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("MagnolioAPIService_v20150201", "PutFileSystemPolicy", {})
|
|
17
13
|
.n("EFSClient", "PutFileSystemPolicyCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_PutFileSystemPolicyCommand)
|
|
20
|
-
.de(de_PutFileSystemPolicyCommand)
|
|
14
|
+
.sc(PutFileSystemPolicy)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { PutLifecycleConfiguration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class PutLifecycleConfigurationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("MagnolioAPIService_v20150201", "PutLifecycleConfiguration", {})
|
|
17
13
|
.n("EFSClient", "PutLifecycleConfigurationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_PutLifecycleConfigurationCommand)
|
|
20
|
-
.de(de_PutLifecycleConfigurationCommand)
|
|
14
|
+
.sc(PutLifecycleConfiguration)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { TagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class TagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("MagnolioAPIService_v20150201", "TagResource", {})
|
|
17
13
|
.n("EFSClient", "TagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_TagResourceCommand)
|
|
20
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("MagnolioAPIService_v20150201", "UntagResource", {})
|
|
17
13
|
.n("EFSClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateFileSystem } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateFileSystemCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("MagnolioAPIService_v20150201", "UpdateFileSystem", {})
|
|
17
13
|
.n("EFSClient", "UpdateFileSystemCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateFileSystemCommand)
|
|
20
|
-
.de(de_UpdateFileSystemCommand)
|
|
14
|
+
.sc(UpdateFileSystem)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateFileSystemProtection } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateFileSystemProtectionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("MagnolioAPIService_v20150201", "UpdateFileSystemProtection", {})
|
|
17
13
|
.n("EFSClient", "UpdateFileSystemProtectionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateFileSystemProtectionCommand)
|
|
20
|
-
.de(de_UpdateFileSystemProtectionCommand)
|
|
14
|
+
.sc(UpdateFileSystemProtection)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.efs" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "EFS",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|