@aws-sdk/client-efs 3.185.0 → 3.188.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 +16 -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 { DeleteTagsRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteTagsCommand, serializeAws_restJson1DeleteTagsCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteTagsCommand = (function (_super) {
7
- __extends(DeleteTagsCommand, _super);
8
- function DeleteTagsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteTagsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteTagsCommand.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 = "DeleteTagsCommand";
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 = "DeleteTagsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteTagsRequestFilterSensitiveLog,
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
- DeleteTagsCommand.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_restJson1DeleteTagsCommand(input, context);
33
- };
34
- DeleteTagsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteTagsCommand(output, context);
36
- };
37
- return DeleteTagsCommand;
38
- }($Command));
39
- export { DeleteTagsCommand };
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 { DescribeAccessPointsRequestFilterSensitiveLog, DescribeAccessPointsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeAccessPointsCommand, serializeAws_restJson1DescribeAccessPointsCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeAccessPointsCommand = (function (_super) {
7
- __extends(DescribeAccessPointsCommand, _super);
8
- function DescribeAccessPointsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeAccessPointsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeAccessPointsCommand.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 = "DescribeAccessPointsCommand";
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 = "DescribeAccessPointsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeAccessPointsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeAccessPointsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeAccessPointsCommand.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_restJson1DescribeAccessPointsCommand(input, context);
33
- };
34
- DescribeAccessPointsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeAccessPointsCommand(output, context);
36
- };
37
- return DescribeAccessPointsCommand;
38
- }($Command));
39
- export { DescribeAccessPointsCommand };
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 { DescribeAccountPreferencesRequestFilterSensitiveLog, DescribeAccountPreferencesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeAccountPreferencesCommand, serializeAws_restJson1DescribeAccountPreferencesCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeAccountPreferencesCommand = (function (_super) {
7
- __extends(DescribeAccountPreferencesCommand, _super);
8
- function DescribeAccountPreferencesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeAccountPreferencesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeAccountPreferencesCommand.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 = "DescribeAccountPreferencesCommand";
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 = "DescribeAccountPreferencesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeAccountPreferencesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeAccountPreferencesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeAccountPreferencesCommand.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_restJson1DescribeAccountPreferencesCommand(input, context);
33
- };
34
- DescribeAccountPreferencesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeAccountPreferencesCommand(output, context);
36
- };
37
- return DescribeAccountPreferencesCommand;
38
- }($Command));
39
- export { DescribeAccountPreferencesCommand };
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 { BackupPolicyDescriptionFilterSensitiveLog, DescribeBackupPolicyRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeBackupPolicyCommand, serializeAws_restJson1DescribeBackupPolicyCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeBackupPolicyCommand = (function (_super) {
7
- __extends(DescribeBackupPolicyCommand, _super);
8
- function DescribeBackupPolicyCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeBackupPolicyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeBackupPolicyCommand.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 = "DescribeBackupPolicyCommand";
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 = "DescribeBackupPolicyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeBackupPolicyRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: BackupPolicyDescriptionFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeBackupPolicyCommand.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_restJson1DescribeBackupPolicyCommand(input, context);
33
- };
34
- DescribeBackupPolicyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeBackupPolicyCommand(output, context);
36
- };
37
- return DescribeBackupPolicyCommand;
38
- }($Command));
39
- export { DescribeBackupPolicyCommand };
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 { DescribeFileSystemPolicyRequestFilterSensitiveLog, FileSystemPolicyDescriptionFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeFileSystemPolicyCommand, serializeAws_restJson1DescribeFileSystemPolicyCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeFileSystemPolicyCommand = (function (_super) {
7
- __extends(DescribeFileSystemPolicyCommand, _super);
8
- function DescribeFileSystemPolicyCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeFileSystemPolicyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeFileSystemPolicyCommand.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 = "DescribeFileSystemPolicyCommand";
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 = "DescribeFileSystemPolicyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeFileSystemPolicyRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: FileSystemPolicyDescriptionFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeFileSystemPolicyCommand.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_restJson1DescribeFileSystemPolicyCommand(input, context);
33
- };
34
- DescribeFileSystemPolicyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeFileSystemPolicyCommand(output, context);
36
- };
37
- return DescribeFileSystemPolicyCommand;
38
- }($Command));
39
- export { DescribeFileSystemPolicyCommand };
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 { DescribeFileSystemsRequestFilterSensitiveLog, DescribeFileSystemsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeFileSystemsCommand, serializeAws_restJson1DescribeFileSystemsCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeFileSystemsCommand = (function (_super) {
7
- __extends(DescribeFileSystemsCommand, _super);
8
- function DescribeFileSystemsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeFileSystemsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeFileSystemsCommand.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 = "DescribeFileSystemsCommand";
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 = "DescribeFileSystemsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeFileSystemsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeFileSystemsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeFileSystemsCommand.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_restJson1DescribeFileSystemsCommand(input, context);
33
- };
34
- DescribeFileSystemsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeFileSystemsCommand(output, context);
36
- };
37
- return DescribeFileSystemsCommand;
38
- }($Command));
39
- export { DescribeFileSystemsCommand };
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 { DescribeLifecycleConfigurationRequestFilterSensitiveLog, LifecycleConfigurationDescriptionFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeLifecycleConfigurationCommand, serializeAws_restJson1DescribeLifecycleConfigurationCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeLifecycleConfigurationCommand = (function (_super) {
7
- __extends(DescribeLifecycleConfigurationCommand, _super);
8
- function DescribeLifecycleConfigurationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeLifecycleConfigurationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeLifecycleConfigurationCommand.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 = "DescribeLifecycleConfigurationCommand";
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 = "DescribeLifecycleConfigurationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeLifecycleConfigurationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: LifecycleConfigurationDescriptionFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeLifecycleConfigurationCommand.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_restJson1DescribeLifecycleConfigurationCommand(input, context);
33
- };
34
- DescribeLifecycleConfigurationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeLifecycleConfigurationCommand(output, context);
36
- };
37
- return DescribeLifecycleConfigurationCommand;
38
- }($Command));
39
- export { DescribeLifecycleConfigurationCommand };
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 { DescribeMountTargetSecurityGroupsRequestFilterSensitiveLog, DescribeMountTargetSecurityGroupsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeMountTargetSecurityGroupsCommand, serializeAws_restJson1DescribeMountTargetSecurityGroupsCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeMountTargetSecurityGroupsCommand = (function (_super) {
7
- __extends(DescribeMountTargetSecurityGroupsCommand, _super);
8
- function DescribeMountTargetSecurityGroupsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeMountTargetSecurityGroupsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeMountTargetSecurityGroupsCommand.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 = "DescribeMountTargetSecurityGroupsCommand";
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 = "DescribeMountTargetSecurityGroupsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeMountTargetSecurityGroupsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeMountTargetSecurityGroupsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeMountTargetSecurityGroupsCommand.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_restJson1DescribeMountTargetSecurityGroupsCommand(input, context);
33
- };
34
- DescribeMountTargetSecurityGroupsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeMountTargetSecurityGroupsCommand(output, context);
36
- };
37
- return DescribeMountTargetSecurityGroupsCommand;
38
- }($Command));
39
- export { DescribeMountTargetSecurityGroupsCommand };
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 { DescribeMountTargetsRequestFilterSensitiveLog, DescribeMountTargetsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeMountTargetsCommand, serializeAws_restJson1DescribeMountTargetsCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeMountTargetsCommand = (function (_super) {
7
- __extends(DescribeMountTargetsCommand, _super);
8
- function DescribeMountTargetsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeMountTargetsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeMountTargetsCommand.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 = "DescribeMountTargetsCommand";
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 = "DescribeMountTargetsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeMountTargetsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeMountTargetsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeMountTargetsCommand.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_restJson1DescribeMountTargetsCommand(input, context);
33
- };
34
- DescribeMountTargetsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeMountTargetsCommand(output, context);
36
- };
37
- return DescribeMountTargetsCommand;
38
- }($Command));
39
- export { DescribeMountTargetsCommand };
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 { DescribeReplicationConfigurationsRequestFilterSensitiveLog, DescribeReplicationConfigurationsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  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;
5
+ export class DescribeReplicationConfigurationsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeReplicationConfigurationsCommand.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 = "DescribeReplicationConfigurationsCommand";
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 = "DescribeReplicationConfigurationsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeReplicationConfigurationsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeReplicationConfigurationsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeReplicationConfigurationsCommand(input, context);
33
- };
34
- DescribeReplicationConfigurationsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeReplicationConfigurationsCommand(output, context);
36
- };
37
- return DescribeReplicationConfigurationsCommand;
38
- }($Command));
39
- export { DescribeReplicationConfigurationsCommand };
31
+ }
32
+ }