@aws-sdk/client-efs 3.181.0 → 3.183.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.
Files changed (46) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/EFS.js +122 -129
  3. package/dist-es/EFSClient.js +22 -28
  4. package/dist-es/commands/CreateAccessPointCommand.js +21 -28
  5. package/dist-es/commands/CreateFileSystemCommand.js +21 -28
  6. package/dist-es/commands/CreateMountTargetCommand.js +21 -28
  7. package/dist-es/commands/CreateReplicationConfigurationCommand.js +21 -28
  8. package/dist-es/commands/CreateTagsCommand.js +22 -29
  9. package/dist-es/commands/DeleteAccessPointCommand.js +22 -29
  10. package/dist-es/commands/DeleteFileSystemCommand.js +22 -29
  11. package/dist-es/commands/DeleteFileSystemPolicyCommand.js +22 -29
  12. package/dist-es/commands/DeleteMountTargetCommand.js +22 -29
  13. package/dist-es/commands/DeleteReplicationConfigurationCommand.js +22 -29
  14. package/dist-es/commands/DeleteTagsCommand.js +22 -29
  15. package/dist-es/commands/DescribeAccessPointsCommand.js +21 -28
  16. package/dist-es/commands/DescribeAccountPreferencesCommand.js +21 -28
  17. package/dist-es/commands/DescribeBackupPolicyCommand.js +21 -28
  18. package/dist-es/commands/DescribeFileSystemPolicyCommand.js +21 -28
  19. package/dist-es/commands/DescribeFileSystemsCommand.js +21 -28
  20. package/dist-es/commands/DescribeLifecycleConfigurationCommand.js +21 -28
  21. package/dist-es/commands/DescribeMountTargetSecurityGroupsCommand.js +21 -28
  22. package/dist-es/commands/DescribeMountTargetsCommand.js +21 -28
  23. package/dist-es/commands/DescribeReplicationConfigurationsCommand.js +21 -28
  24. package/dist-es/commands/DescribeTagsCommand.js +21 -28
  25. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  26. package/dist-es/commands/ModifyMountTargetSecurityGroupsCommand.js +22 -29
  27. package/dist-es/commands/PutAccountPreferencesCommand.js +21 -28
  28. package/dist-es/commands/PutBackupPolicyCommand.js +21 -28
  29. package/dist-es/commands/PutFileSystemPolicyCommand.js +21 -28
  30. package/dist-es/commands/PutLifecycleConfigurationCommand.js +21 -28
  31. package/dist-es/commands/TagResourceCommand.js +22 -29
  32. package/dist-es/commands/UntagResourceCommand.js +22 -29
  33. package/dist-es/commands/UpdateFileSystemCommand.js +21 -28
  34. package/dist-es/endpoints.js +8 -8
  35. package/dist-es/models/EFSServiceException.js +5 -10
  36. package/dist-es/models/models_0.js +560 -449
  37. package/dist-es/pagination/DescribeAccessPointsPaginator.js +25 -68
  38. package/dist-es/pagination/DescribeFileSystemsPaginator.js +25 -68
  39. package/dist-es/pagination/DescribeTagsPaginator.js +25 -68
  40. package/dist-es/pagination/ListTagsForResourcePaginator.js +25 -68
  41. package/dist-es/protocols/Aws_restJson1.js +2631 -3543
  42. package/dist-es/runtimeConfig.browser.js +26 -12
  43. package/dist-es/runtimeConfig.js +30 -12
  44. package/dist-es/runtimeConfig.native.js +8 -5
  45. package/dist-es/runtimeConfig.shared.js +8 -11
  46. package/package.json +33 -33
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { AccessPointDescriptionFilterSensitiveLog, CreateAccessPointRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateAccessPointCommand, serializeAws_restJson1CreateAccessPointCommand, } from "../protocols/Aws_restJson1";
6
- var CreateAccessPointCommand = (function (_super) {
7
- __extends(CreateAccessPointCommand, _super);
8
- function CreateAccessPointCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateAccessPointCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateAccessPointCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  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 = "CreateAccessPointCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "EFSClient";
15
+ const commandName = "CreateAccessPointCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateAccessPointRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AccessPointDescriptionFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateAccessPointCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1CreateAccessPointCommand(input, context);
33
- };
34
- CreateAccessPointCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateAccessPointCommand(output, context);
36
- };
37
- return CreateAccessPointCommand;
38
- }($Command));
39
- export { CreateAccessPointCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateFileSystemRequestFilterSensitiveLog, FileSystemDescriptionFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateFileSystemCommand, serializeAws_restJson1CreateFileSystemCommand, } from "../protocols/Aws_restJson1";
6
- var CreateFileSystemCommand = (function (_super) {
7
- __extends(CreateFileSystemCommand, _super);
8
- function CreateFileSystemCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateFileSystemCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateFileSystemCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  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 = "CreateFileSystemCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "EFSClient";
15
+ const commandName = "CreateFileSystemCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateFileSystemRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: FileSystemDescriptionFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateFileSystemCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1CreateFileSystemCommand(input, context);
33
- };
34
- CreateFileSystemCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateFileSystemCommand(output, context);
36
- };
37
- return CreateFileSystemCommand;
38
- }($Command));
39
- export { CreateFileSystemCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateMountTargetRequestFilterSensitiveLog, MountTargetDescriptionFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateMountTargetCommand, serializeAws_restJson1CreateMountTargetCommand, } from "../protocols/Aws_restJson1";
6
- var CreateMountTargetCommand = (function (_super) {
7
- __extends(CreateMountTargetCommand, _super);
8
- function CreateMountTargetCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateMountTargetCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateMountTargetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  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 = "CreateMountTargetCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "EFSClient";
15
+ const commandName = "CreateMountTargetCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateMountTargetRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: MountTargetDescriptionFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateMountTargetCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1CreateMountTargetCommand(input, context);
33
- };
34
- CreateMountTargetCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateMountTargetCommand(output, context);
36
- };
37
- return CreateMountTargetCommand;
38
- }($Command));
39
- export { CreateMountTargetCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateReplicationConfigurationRequestFilterSensitiveLog, ReplicationConfigurationDescriptionFilterSensitiveLog, } from "../models/models_0";
5
4
  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;
5
+ export class CreateReplicationConfigurationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateReplicationConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  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,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "EFSClient";
15
+ const commandName = "CreateReplicationConfigurationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateReplicationConfigurationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ReplicationConfigurationDescriptionFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1CreateReplicationConfigurationCommand(input, context);
33
- };
34
- CreateReplicationConfigurationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateReplicationConfigurationCommand(output, context);
36
- };
37
- return CreateReplicationConfigurationCommand;
38
- }($Command));
39
- export { CreateReplicationConfigurationCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateTagsRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateTagsCommand, serializeAws_restJson1CreateTagsCommand, } from "../protocols/Aws_restJson1";
6
- var CreateTagsCommand = (function (_super) {
7
- __extends(CreateTagsCommand, _super);
8
- function CreateTagsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateTagsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateTagsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  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 = "CreateTagsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "EFSClient";
15
+ const commandName = "CreateTagsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateTagsRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateTagsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1CreateTagsCommand(input, context);
33
- };
34
- CreateTagsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateTagsCommand(output, context);
36
- };
37
- return CreateTagsCommand;
38
- }($Command));
39
- export { CreateTagsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteAccessPointRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteAccessPointCommand, serializeAws_restJson1DeleteAccessPointCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteAccessPointCommand = (function (_super) {
7
- __extends(DeleteAccessPointCommand, _super);
8
- function DeleteAccessPointCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteAccessPointCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteAccessPointCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  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 = "DeleteAccessPointCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "EFSClient";
15
+ const commandName = "DeleteAccessPointCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteAccessPointRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteAccessPointCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteAccessPointCommand(input, context);
33
- };
34
- DeleteAccessPointCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteAccessPointCommand(output, context);
36
- };
37
- return DeleteAccessPointCommand;
38
- }($Command));
39
- export { DeleteAccessPointCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteFileSystemRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteFileSystemCommand, serializeAws_restJson1DeleteFileSystemCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteFileSystemCommand = (function (_super) {
7
- __extends(DeleteFileSystemCommand, _super);
8
- function DeleteFileSystemCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteFileSystemCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteFileSystemCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  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 = "DeleteFileSystemCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "EFSClient";
15
+ const commandName = "DeleteFileSystemCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteFileSystemRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteFileSystemCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteFileSystemCommand(input, context);
33
- };
34
- DeleteFileSystemCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteFileSystemCommand(output, context);
36
- };
37
- return DeleteFileSystemCommand;
38
- }($Command));
39
- export { DeleteFileSystemCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteFileSystemPolicyRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteFileSystemPolicyCommand, serializeAws_restJson1DeleteFileSystemPolicyCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteFileSystemPolicyCommand = (function (_super) {
7
- __extends(DeleteFileSystemPolicyCommand, _super);
8
- function DeleteFileSystemPolicyCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteFileSystemPolicyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteFileSystemPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  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 = "DeleteFileSystemPolicyCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "EFSClient";
15
+ const commandName = "DeleteFileSystemPolicyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteFileSystemPolicyRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteFileSystemPolicyCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteFileSystemPolicyCommand(input, context);
33
- };
34
- DeleteFileSystemPolicyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteFileSystemPolicyCommand(output, context);
36
- };
37
- return DeleteFileSystemPolicyCommand;
38
- }($Command));
39
- export { DeleteFileSystemPolicyCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteMountTargetRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteMountTargetCommand, serializeAws_restJson1DeleteMountTargetCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteMountTargetCommand = (function (_super) {
7
- __extends(DeleteMountTargetCommand, _super);
8
- function DeleteMountTargetCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteMountTargetCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteMountTargetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  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 = "DeleteMountTargetCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "EFSClient";
15
+ const commandName = "DeleteMountTargetCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteMountTargetRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteMountTargetCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteMountTargetCommand(input, context);
33
- };
34
- DeleteMountTargetCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteMountTargetCommand(output, context);
36
- };
37
- return DeleteMountTargetCommand;
38
- }($Command));
39
- export { DeleteMountTargetCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteReplicationConfigurationRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  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;
5
+ export class DeleteReplicationConfigurationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteReplicationConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  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,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "EFSClient";
15
+ const commandName = "DeleteReplicationConfigurationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteReplicationConfigurationRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteReplicationConfigurationCommand(input, context);
33
- };
34
- DeleteReplicationConfigurationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteReplicationConfigurationCommand(output, context);
36
- };
37
- return DeleteReplicationConfigurationCommand;
38
- }($Command));
39
- export { DeleteReplicationConfigurationCommand };
31
+ }
32
+ }