@aws-sdk/client-efs 3.47.2 → 3.51.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 +35 -0
- package/README.md +1 -1
- package/dist-cjs/EFS.js +45 -0
- package/dist-cjs/commands/CreateReplicationConfigurationCommand.js +36 -0
- package/dist-cjs/commands/DeleteReplicationConfigurationCommand.js +36 -0
- package/dist-cjs/commands/DescribeReplicationConfigurationsCommand.js +36 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/endpoints.js +9 -0
- package/dist-cjs/models/models_0.js +51 -2
- package/dist-cjs/protocols/Aws_restJson1.js +482 -2
- package/dist-es/EFS.js +45 -0
- package/dist-es/commands/CreateReplicationConfigurationCommand.js +39 -0
- package/dist-es/commands/DeleteReplicationConfigurationCommand.js +39 -0
- package/dist-es/commands/DescribeReplicationConfigurationsCommand.js +39 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoints.js +9 -0
- package/dist-es/models/models_0.js +35 -0
- package/dist-es/protocols/Aws_restJson1.js +606 -78
- package/dist-types/EFS.d.ts +106 -3
- package/dist-types/EFSClient.d.ts +6 -3
- package/dist-types/commands/CreateReplicationConfigurationCommand.d.ts +110 -0
- package/dist-types/commands/DeleteReplicationConfigurationCommand.d.ts +39 -0
- package/dist-types/commands/DescribeReplicationConfigurationsCommand.d.ts +36 -0
- package/dist-types/commands/PutAccountPreferencesCommand.d.ts +4 -2
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +538 -24
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/EFS.d.ts +15 -0
- package/dist-types/ts3.4/EFSClient.d.ts +5 -2
- package/dist-types/ts3.4/commands/CreateReplicationConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteReplicationConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeReplicationConfigurationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +164 -7
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +9 -0
- package/package.json +39 -33
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateReplicationConfigurationRequest, ReplicationConfigurationDescription } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CreateReplicationConfigurationCommand, serializeAws_restJson1CreateReplicationConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var CreateReplicationConfigurationCommand = (function (_super) {
|
|
7
|
+
__extends(CreateReplicationConfigurationCommand, _super);
|
|
8
|
+
function CreateReplicationConfigurationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
CreateReplicationConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "EFSClient";
|
|
18
|
+
var commandName = "CreateReplicationConfigurationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: CreateReplicationConfigurationRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ReplicationConfigurationDescription.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateReplicationConfigurationCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1CreateReplicationConfigurationCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
CreateReplicationConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1CreateReplicationConfigurationCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return CreateReplicationConfigurationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateReplicationConfigurationCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteReplicationConfigurationRequest } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DeleteReplicationConfigurationCommand, serializeAws_restJson1DeleteReplicationConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DeleteReplicationConfigurationCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteReplicationConfigurationCommand, _super);
|
|
8
|
+
function DeleteReplicationConfigurationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DeleteReplicationConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "EFSClient";
|
|
18
|
+
var commandName = "DeleteReplicationConfigurationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DeleteReplicationConfigurationRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteReplicationConfigurationCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1DeleteReplicationConfigurationCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DeleteReplicationConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1DeleteReplicationConfigurationCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DeleteReplicationConfigurationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteReplicationConfigurationCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DescribeReplicationConfigurationsRequest, DescribeReplicationConfigurationsResponse, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DescribeReplicationConfigurationsCommand, serializeAws_restJson1DescribeReplicationConfigurationsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DescribeReplicationConfigurationsCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeReplicationConfigurationsCommand, _super);
|
|
8
|
+
function DescribeReplicationConfigurationsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DescribeReplicationConfigurationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "EFSClient";
|
|
18
|
+
var commandName = "DescribeReplicationConfigurationsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DescribeReplicationConfigurationsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeReplicationConfigurationsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeReplicationConfigurationsCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1DescribeReplicationConfigurationsCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DescribeReplicationConfigurationsCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1DescribeReplicationConfigurationsCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DescribeReplicationConfigurationsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeReplicationConfigurationsCommand };
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
export * from "./CreateAccessPointCommand";
|
|
2
2
|
export * from "./CreateFileSystemCommand";
|
|
3
3
|
export * from "./CreateMountTargetCommand";
|
|
4
|
+
export * from "./CreateReplicationConfigurationCommand";
|
|
4
5
|
export * from "./CreateTagsCommand";
|
|
5
6
|
export * from "./DeleteAccessPointCommand";
|
|
6
7
|
export * from "./DeleteFileSystemCommand";
|
|
7
8
|
export * from "./DeleteFileSystemPolicyCommand";
|
|
8
9
|
export * from "./DeleteMountTargetCommand";
|
|
10
|
+
export * from "./DeleteReplicationConfigurationCommand";
|
|
9
11
|
export * from "./DeleteTagsCommand";
|
|
10
12
|
export * from "./DescribeAccessPointsCommand";
|
|
11
13
|
export * from "./DescribeAccountPreferencesCommand";
|
|
@@ -15,6 +17,7 @@ export * from "./DescribeFileSystemsCommand";
|
|
|
15
17
|
export * from "./DescribeLifecycleConfigurationCommand";
|
|
16
18
|
export * from "./DescribeMountTargetSecurityGroupsCommand";
|
|
17
19
|
export * from "./DescribeMountTargetsCommand";
|
|
20
|
+
export * from "./DescribeReplicationConfigurationsCommand";
|
|
18
21
|
export * from "./DescribeTagsCommand";
|
|
19
22
|
export * from "./ListTagsForResourceCommand";
|
|
20
23
|
export * from "./ModifyMountTargetSecurityGroupsCommand";
|
package/dist-es/endpoints.js
CHANGED
|
@@ -65,6 +65,14 @@ var regionHash = {
|
|
|
65
65
|
},
|
|
66
66
|
],
|
|
67
67
|
},
|
|
68
|
+
"ap-southeast-3": {
|
|
69
|
+
variants: [
|
|
70
|
+
{
|
|
71
|
+
hostname: "elasticfilesystem-fips.ap-southeast-3.amazonaws.com",
|
|
72
|
+
tags: ["fips"],
|
|
73
|
+
},
|
|
74
|
+
],
|
|
75
|
+
},
|
|
68
76
|
"ca-central-1": {
|
|
69
77
|
variants: [
|
|
70
78
|
{
|
|
@@ -237,6 +245,7 @@ var partitionHash = {
|
|
|
237
245
|
"fips-ap-south-1",
|
|
238
246
|
"fips-ap-southeast-1",
|
|
239
247
|
"fips-ap-southeast-2",
|
|
248
|
+
"fips-ap-southeast-3",
|
|
240
249
|
"fips-ca-central-1",
|
|
241
250
|
"fips-eu-central-1",
|
|
242
251
|
"fips-eu-north-1",
|
|
@@ -77,6 +77,29 @@ export var MountTargetDescription;
|
|
|
77
77
|
(function (MountTargetDescription) {
|
|
78
78
|
MountTargetDescription.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
79
79
|
})(MountTargetDescription || (MountTargetDescription = {}));
|
|
80
|
+
export var DestinationToCreate;
|
|
81
|
+
(function (DestinationToCreate) {
|
|
82
|
+
DestinationToCreate.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
83
|
+
})(DestinationToCreate || (DestinationToCreate = {}));
|
|
84
|
+
export var CreateReplicationConfigurationRequest;
|
|
85
|
+
(function (CreateReplicationConfigurationRequest) {
|
|
86
|
+
CreateReplicationConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
87
|
+
})(CreateReplicationConfigurationRequest || (CreateReplicationConfigurationRequest = {}));
|
|
88
|
+
export var ReplicationStatus;
|
|
89
|
+
(function (ReplicationStatus) {
|
|
90
|
+
ReplicationStatus["DELETING"] = "DELETING";
|
|
91
|
+
ReplicationStatus["ENABLED"] = "ENABLED";
|
|
92
|
+
ReplicationStatus["ENABLING"] = "ENABLING";
|
|
93
|
+
ReplicationStatus["ERROR"] = "ERROR";
|
|
94
|
+
})(ReplicationStatus || (ReplicationStatus = {}));
|
|
95
|
+
export var Destination;
|
|
96
|
+
(function (Destination) {
|
|
97
|
+
Destination.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
98
|
+
})(Destination || (Destination = {}));
|
|
99
|
+
export var ReplicationConfigurationDescription;
|
|
100
|
+
(function (ReplicationConfigurationDescription) {
|
|
101
|
+
ReplicationConfigurationDescription.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
102
|
+
})(ReplicationConfigurationDescription || (ReplicationConfigurationDescription = {}));
|
|
80
103
|
export var CreateTagsRequest;
|
|
81
104
|
(function (CreateTagsRequest) {
|
|
82
105
|
CreateTagsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -97,6 +120,10 @@ export var DeleteMountTargetRequest;
|
|
|
97
120
|
(function (DeleteMountTargetRequest) {
|
|
98
121
|
DeleteMountTargetRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
99
122
|
})(DeleteMountTargetRequest || (DeleteMountTargetRequest = {}));
|
|
123
|
+
export var DeleteReplicationConfigurationRequest;
|
|
124
|
+
(function (DeleteReplicationConfigurationRequest) {
|
|
125
|
+
DeleteReplicationConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
126
|
+
})(DeleteReplicationConfigurationRequest || (DeleteReplicationConfigurationRequest = {}));
|
|
100
127
|
export var DeleteTagsRequest;
|
|
101
128
|
(function (DeleteTagsRequest) {
|
|
102
129
|
DeleteTagsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -191,6 +218,14 @@ export var DescribeMountTargetSecurityGroupsResponse;
|
|
|
191
218
|
(function (DescribeMountTargetSecurityGroupsResponse) {
|
|
192
219
|
DescribeMountTargetSecurityGroupsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
193
220
|
})(DescribeMountTargetSecurityGroupsResponse || (DescribeMountTargetSecurityGroupsResponse = {}));
|
|
221
|
+
export var DescribeReplicationConfigurationsRequest;
|
|
222
|
+
(function (DescribeReplicationConfigurationsRequest) {
|
|
223
|
+
DescribeReplicationConfigurationsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
224
|
+
})(DescribeReplicationConfigurationsRequest || (DescribeReplicationConfigurationsRequest = {}));
|
|
225
|
+
export var DescribeReplicationConfigurationsResponse;
|
|
226
|
+
(function (DescribeReplicationConfigurationsResponse) {
|
|
227
|
+
DescribeReplicationConfigurationsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
228
|
+
})(DescribeReplicationConfigurationsResponse || (DescribeReplicationConfigurationsResponse = {}));
|
|
194
229
|
export var DescribeTagsRequest;
|
|
195
230
|
(function (DescribeTagsRequest) {
|
|
196
231
|
DescribeTagsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|