@aws-sdk/client-efs 3.183.0 → 3.186.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 (47) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/EFS.js +129 -122
  4. package/dist-es/EFSClient.js +28 -22
  5. package/dist-es/commands/CreateAccessPointCommand.js +28 -21
  6. package/dist-es/commands/CreateFileSystemCommand.js +28 -21
  7. package/dist-es/commands/CreateMountTargetCommand.js +28 -21
  8. package/dist-es/commands/CreateReplicationConfigurationCommand.js +28 -21
  9. package/dist-es/commands/CreateTagsCommand.js +29 -22
  10. package/dist-es/commands/DeleteAccessPointCommand.js +29 -22
  11. package/dist-es/commands/DeleteFileSystemCommand.js +29 -22
  12. package/dist-es/commands/DeleteFileSystemPolicyCommand.js +29 -22
  13. package/dist-es/commands/DeleteMountTargetCommand.js +29 -22
  14. package/dist-es/commands/DeleteReplicationConfigurationCommand.js +29 -22
  15. package/dist-es/commands/DeleteTagsCommand.js +29 -22
  16. package/dist-es/commands/DescribeAccessPointsCommand.js +28 -21
  17. package/dist-es/commands/DescribeAccountPreferencesCommand.js +28 -21
  18. package/dist-es/commands/DescribeBackupPolicyCommand.js +28 -21
  19. package/dist-es/commands/DescribeFileSystemPolicyCommand.js +28 -21
  20. package/dist-es/commands/DescribeFileSystemsCommand.js +28 -21
  21. package/dist-es/commands/DescribeLifecycleConfigurationCommand.js +28 -21
  22. package/dist-es/commands/DescribeMountTargetSecurityGroupsCommand.js +28 -21
  23. package/dist-es/commands/DescribeMountTargetsCommand.js +28 -21
  24. package/dist-es/commands/DescribeReplicationConfigurationsCommand.js +28 -21
  25. package/dist-es/commands/DescribeTagsCommand.js +28 -21
  26. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  27. package/dist-es/commands/ModifyMountTargetSecurityGroupsCommand.js +29 -22
  28. package/dist-es/commands/PutAccountPreferencesCommand.js +28 -21
  29. package/dist-es/commands/PutBackupPolicyCommand.js +28 -21
  30. package/dist-es/commands/PutFileSystemPolicyCommand.js +28 -21
  31. package/dist-es/commands/PutLifecycleConfigurationCommand.js +28 -21
  32. package/dist-es/commands/TagResourceCommand.js +29 -22
  33. package/dist-es/commands/UntagResourceCommand.js +29 -22
  34. package/dist-es/commands/UpdateFileSystemCommand.js +28 -21
  35. package/dist-es/endpoints.js +8 -8
  36. package/dist-es/models/EFSServiceException.js +10 -5
  37. package/dist-es/models/models_0.js +449 -560
  38. package/dist-es/pagination/DescribeAccessPointsPaginator.js +68 -25
  39. package/dist-es/pagination/DescribeFileSystemsPaginator.js +68 -25
  40. package/dist-es/pagination/DescribeTagsPaginator.js +68 -25
  41. package/dist-es/pagination/ListTagsForResourcePaginator.js +68 -25
  42. package/dist-es/protocols/Aws_restJson1.js +3544 -2632
  43. package/dist-es/runtimeConfig.browser.js +12 -26
  44. package/dist-es/runtimeConfig.js +12 -30
  45. package/dist-es/runtimeConfig.native.js +5 -8
  46. package/dist-es/runtimeConfig.shared.js +11 -8
  47. package/package.json +33 -33
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
2
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
9
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
11
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
- export class EFSClient extends __Client {
12
- constructor(configuration) {
13
- const _config_0 = __getRuntimeConfig(configuration);
14
- const _config_1 = resolveRegionConfig(_config_0);
15
- const _config_2 = resolveEndpointsConfig(_config_1);
16
- const _config_3 = resolveRetryConfig(_config_2);
17
- const _config_4 = resolveHostHeaderConfig(_config_3);
18
- const _config_5 = resolveAwsAuthConfig(_config_4);
19
- const _config_6 = resolveUserAgentConfig(_config_5);
20
- super(_config_6);
21
- this.config = _config_6;
22
- this.middlewareStack.use(getRetryPlugin(this.config));
23
- this.middlewareStack.use(getContentLengthPlugin(this.config));
24
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
- this.middlewareStack.use(getLoggerPlugin(this.config));
26
- this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
- this.middlewareStack.use(getUserAgentPlugin(this.config));
12
+ var EFSClient = (function (_super) {
13
+ __extends(EFSClient, _super);
14
+ function EFSClient(configuration) {
15
+ var _this = this;
16
+ var _config_0 = __getRuntimeConfig(configuration);
17
+ var _config_1 = resolveRegionConfig(_config_0);
18
+ var _config_2 = resolveEndpointsConfig(_config_1);
19
+ var _config_3 = resolveRetryConfig(_config_2);
20
+ var _config_4 = resolveHostHeaderConfig(_config_3);
21
+ var _config_5 = resolveAwsAuthConfig(_config_4);
22
+ var _config_6 = resolveUserAgentConfig(_config_5);
23
+ _this = _super.call(this, _config_6) || this;
24
+ _this.config = _config_6;
25
+ _this.middlewareStack.use(getRetryPlugin(_this.config));
26
+ _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
+ _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
+ _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
+ _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
+ _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
+ return _this;
29
33
  }
30
- destroy() {
31
- super.destroy();
32
- }
33
- }
34
+ EFSClient.prototype.destroy = function () {
35
+ _super.prototype.destroy.call(this);
36
+ };
37
+ return EFSClient;
38
+ }(__Client));
39
+ export { EFSClient };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AccessPointDescriptionFilterSensitiveLog, CreateAccessPointRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateAccessPointCommand, serializeAws_restJson1CreateAccessPointCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateAccessPointCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateAccessPointCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: CreateAccessPointRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AccessPointDescriptionFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1CreateAccessPointCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateAccessPointCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateAccessPointCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateAccessPointCommand;
38
+ }($Command));
39
+ export { CreateAccessPointCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateFileSystemRequestFilterSensitiveLog, FileSystemDescriptionFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateFileSystemCommand, serializeAws_restJson1CreateFileSystemCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateFileSystemCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateFileSystemCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: CreateFileSystemRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: FileSystemDescriptionFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1CreateFileSystemCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateFileSystemCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateFileSystemCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateFileSystemCommand;
38
+ }($Command));
39
+ export { CreateFileSystemCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateMountTargetRequestFilterSensitiveLog, MountTargetDescriptionFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateMountTargetCommand, serializeAws_restJson1CreateMountTargetCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateMountTargetCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateMountTargetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: CreateMountTargetRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: MountTargetDescriptionFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1CreateMountTargetCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateMountTargetCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateMountTargetCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateMountTargetCommand;
38
+ }($Command));
39
+ export { CreateMountTargetCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateReplicationConfigurationRequestFilterSensitiveLog, ReplicationConfigurationDescriptionFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateReplicationConfigurationCommand, serializeAws_restJson1CreateReplicationConfigurationCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateReplicationConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateReplicationConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: CreateReplicationConfigurationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ReplicationConfigurationDescriptionFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1CreateReplicationConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateReplicationConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateReplicationConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateReplicationConfigurationCommand;
38
+ }($Command));
39
+ export { CreateReplicationConfigurationCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateTagsRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateTagsCommand, serializeAws_restJson1CreateTagsCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateTagsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateTagsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: CreateTagsRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1CreateTagsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateTagsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateTagsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateTagsCommand;
38
+ }($Command));
39
+ export { CreateTagsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteAccessPointRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteAccessPointCommand, serializeAws_restJson1DeleteAccessPointCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteAccessPointCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteAccessPointCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: DeleteAccessPointRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1DeleteAccessPointCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteAccessPointCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteAccessPointCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteAccessPointCommand;
38
+ }($Command));
39
+ export { DeleteAccessPointCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteFileSystemRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteFileSystemCommand, serializeAws_restJson1DeleteFileSystemCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteFileSystemCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteFileSystemCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: DeleteFileSystemRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1DeleteFileSystemCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteFileSystemCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteFileSystemCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteFileSystemCommand;
38
+ }($Command));
39
+ export { DeleteFileSystemCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteFileSystemPolicyRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteFileSystemPolicyCommand, serializeAws_restJson1DeleteFileSystemPolicyCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteFileSystemPolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteFileSystemPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: DeleteFileSystemPolicyRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1DeleteFileSystemPolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteFileSystemPolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteFileSystemPolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteFileSystemPolicyCommand;
38
+ }($Command));
39
+ export { DeleteFileSystemPolicyCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteMountTargetRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteMountTargetCommand, serializeAws_restJson1DeleteMountTargetCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteMountTargetCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteMountTargetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: DeleteMountTargetRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1DeleteMountTargetCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteMountTargetCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteMountTargetCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteMountTargetCommand;
38
+ }($Command));
39
+ export { DeleteMountTargetCommand };