@aws-sdk/client-fsx 3.183.0 → 3.185.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 (64) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/FSx.js +173 -166
  4. package/dist-es/FSxClient.js +28 -22
  5. package/dist-es/commands/AssociateFileSystemAliasesCommand.js +28 -21
  6. package/dist-es/commands/CancelDataRepositoryTaskCommand.js +28 -21
  7. package/dist-es/commands/CopyBackupCommand.js +28 -21
  8. package/dist-es/commands/CreateBackupCommand.js +28 -21
  9. package/dist-es/commands/CreateDataRepositoryAssociationCommand.js +28 -21
  10. package/dist-es/commands/CreateDataRepositoryTaskCommand.js +28 -21
  11. package/dist-es/commands/CreateFileCacheCommand.js +28 -21
  12. package/dist-es/commands/CreateFileSystemCommand.js +28 -21
  13. package/dist-es/commands/CreateFileSystemFromBackupCommand.js +28 -21
  14. package/dist-es/commands/CreateSnapshotCommand.js +28 -21
  15. package/dist-es/commands/CreateStorageVirtualMachineCommand.js +28 -21
  16. package/dist-es/commands/CreateVolumeCommand.js +28 -21
  17. package/dist-es/commands/CreateVolumeFromBackupCommand.js +28 -21
  18. package/dist-es/commands/DeleteBackupCommand.js +28 -21
  19. package/dist-es/commands/DeleteDataRepositoryAssociationCommand.js +28 -21
  20. package/dist-es/commands/DeleteFileCacheCommand.js +28 -21
  21. package/dist-es/commands/DeleteFileSystemCommand.js +28 -21
  22. package/dist-es/commands/DeleteSnapshotCommand.js +28 -21
  23. package/dist-es/commands/DeleteStorageVirtualMachineCommand.js +28 -21
  24. package/dist-es/commands/DeleteVolumeCommand.js +28 -21
  25. package/dist-es/commands/DescribeBackupsCommand.js +28 -21
  26. package/dist-es/commands/DescribeDataRepositoryAssociationsCommand.js +28 -21
  27. package/dist-es/commands/DescribeDataRepositoryTasksCommand.js +28 -21
  28. package/dist-es/commands/DescribeFileCachesCommand.js +28 -21
  29. package/dist-es/commands/DescribeFileSystemAliasesCommand.js +28 -21
  30. package/dist-es/commands/DescribeFileSystemsCommand.js +28 -21
  31. package/dist-es/commands/DescribeSnapshotsCommand.js +28 -21
  32. package/dist-es/commands/DescribeStorageVirtualMachinesCommand.js +28 -21
  33. package/dist-es/commands/DescribeVolumesCommand.js +28 -21
  34. package/dist-es/commands/DisassociateFileSystemAliasesCommand.js +28 -21
  35. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  36. package/dist-es/commands/ReleaseFileSystemNfsV3LocksCommand.js +28 -21
  37. package/dist-es/commands/RestoreVolumeFromSnapshotCommand.js +28 -21
  38. package/dist-es/commands/TagResourceCommand.js +28 -21
  39. package/dist-es/commands/UntagResourceCommand.js +28 -21
  40. package/dist-es/commands/UpdateDataRepositoryAssociationCommand.js +28 -21
  41. package/dist-es/commands/UpdateFileCacheCommand.js +28 -21
  42. package/dist-es/commands/UpdateFileSystemCommand.js +28 -21
  43. package/dist-es/commands/UpdateSnapshotCommand.js +28 -21
  44. package/dist-es/commands/UpdateStorageVirtualMachineCommand.js +28 -21
  45. package/dist-es/commands/UpdateVolumeCommand.js +28 -21
  46. package/dist-es/endpoints.js +8 -8
  47. package/dist-es/models/FSxServiceException.js +10 -5
  48. package/dist-es/models/models_0.js +661 -1017
  49. package/dist-es/pagination/DescribeBackupsPaginator.js +68 -25
  50. package/dist-es/pagination/DescribeDataRepositoryAssociationsPaginator.js +68 -25
  51. package/dist-es/pagination/DescribeDataRepositoryTasksPaginator.js +68 -25
  52. package/dist-es/pagination/DescribeFileCachesPaginator.js +68 -25
  53. package/dist-es/pagination/DescribeFileSystemAliasesPaginator.js +68 -25
  54. package/dist-es/pagination/DescribeFileSystemsPaginator.js +68 -25
  55. package/dist-es/pagination/DescribeSnapshotsPaginator.js +68 -25
  56. package/dist-es/pagination/DescribeStorageVirtualMachinesPaginator.js +68 -25
  57. package/dist-es/pagination/DescribeVolumesPaginator.js +68 -25
  58. package/dist-es/pagination/ListTagsForResourcePaginator.js +68 -25
  59. package/dist-es/protocols/Aws_json1_1.js +4380 -3779
  60. package/dist-es/runtimeConfig.browser.js +12 -26
  61. package/dist-es/runtimeConfig.js +12 -30
  62. package/dist-es/runtimeConfig.native.js +5 -8
  63. package/dist-es/runtimeConfig.shared.js +11 -8
  64. package/package.json +5 -5
@@ -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 FSxClient 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 FSxClient = (function (_super) {
13
+ __extends(FSxClient, _super);
14
+ function FSxClient(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
+ FSxClient.prototype.destroy = function () {
35
+ _super.prototype.destroy.call(this);
36
+ };
37
+ return FSxClient;
38
+ }(__Client));
39
+ export { FSxClient };
@@ -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 { AssociateFileSystemAliasesRequestFilterSensitiveLog, AssociateFileSystemAliasesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1AssociateFileSystemAliasesCommand, serializeAws_json1_1AssociateFileSystemAliasesCommand, } from "../protocols/Aws_json1_1";
5
- export class AssociateFileSystemAliasesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AssociateFileSystemAliasesCommand = (function (_super) {
7
+ __extends(AssociateFileSystemAliasesCommand, _super);
8
+ function AssociateFileSystemAliasesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AssociateFileSystemAliasesCommand.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 = "FSxClient";
15
- const commandName = "AssociateFileSystemAliasesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FSxClient";
18
+ var commandName = "AssociateFileSystemAliasesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AssociateFileSystemAliasesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AssociateFileSystemAliasesResponseFilterSensitiveLog,
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
+ AssociateFileSystemAliasesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1AssociateFileSystemAliasesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AssociateFileSystemAliasesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1AssociateFileSystemAliasesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AssociateFileSystemAliasesCommand;
38
+ }($Command));
39
+ export { AssociateFileSystemAliasesCommand };
@@ -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 { CancelDataRepositoryTaskRequestFilterSensitiveLog, CancelDataRepositoryTaskResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CancelDataRepositoryTaskCommand, serializeAws_json1_1CancelDataRepositoryTaskCommand, } from "../protocols/Aws_json1_1";
5
- export class CancelDataRepositoryTaskCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CancelDataRepositoryTaskCommand = (function (_super) {
7
+ __extends(CancelDataRepositoryTaskCommand, _super);
8
+ function CancelDataRepositoryTaskCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CancelDataRepositoryTaskCommand.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 = "FSxClient";
15
- const commandName = "CancelDataRepositoryTaskCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FSxClient";
18
+ var commandName = "CancelDataRepositoryTaskCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CancelDataRepositoryTaskRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CancelDataRepositoryTaskResponseFilterSensitiveLog,
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
+ CancelDataRepositoryTaskCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CancelDataRepositoryTaskCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CancelDataRepositoryTaskCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CancelDataRepositoryTaskCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CancelDataRepositoryTaskCommand;
38
+ }($Command));
39
+ export { CancelDataRepositoryTaskCommand };
@@ -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 { CopyBackupRequestFilterSensitiveLog, CopyBackupResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CopyBackupCommand, serializeAws_json1_1CopyBackupCommand, } from "../protocols/Aws_json1_1";
5
- export class CopyBackupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CopyBackupCommand = (function (_super) {
7
+ __extends(CopyBackupCommand, _super);
8
+ function CopyBackupCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CopyBackupCommand.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 = "FSxClient";
15
- const commandName = "CopyBackupCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FSxClient";
18
+ var commandName = "CopyBackupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CopyBackupRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CopyBackupResponseFilterSensitiveLog,
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
+ CopyBackupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CopyBackupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CopyBackupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CopyBackupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CopyBackupCommand;
38
+ }($Command));
39
+ export { CopyBackupCommand };
@@ -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 { CreateBackupRequestFilterSensitiveLog, CreateBackupResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateBackupCommand, serializeAws_json1_1CreateBackupCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateBackupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateBackupCommand = (function (_super) {
7
+ __extends(CreateBackupCommand, _super);
8
+ function CreateBackupCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateBackupCommand.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 = "FSxClient";
15
- const commandName = "CreateBackupCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FSxClient";
18
+ var commandName = "CreateBackupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateBackupRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateBackupResponseFilterSensitiveLog,
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
+ CreateBackupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateBackupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateBackupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateBackupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateBackupCommand;
38
+ }($Command));
39
+ export { CreateBackupCommand };
@@ -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 { CreateDataRepositoryAssociationRequestFilterSensitiveLog, CreateDataRepositoryAssociationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateDataRepositoryAssociationCommand, serializeAws_json1_1CreateDataRepositoryAssociationCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateDataRepositoryAssociationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateDataRepositoryAssociationCommand = (function (_super) {
7
+ __extends(CreateDataRepositoryAssociationCommand, _super);
8
+ function CreateDataRepositoryAssociationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateDataRepositoryAssociationCommand.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 = "FSxClient";
15
- const commandName = "CreateDataRepositoryAssociationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FSxClient";
18
+ var commandName = "CreateDataRepositoryAssociationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateDataRepositoryAssociationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateDataRepositoryAssociationResponseFilterSensitiveLog,
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
+ CreateDataRepositoryAssociationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateDataRepositoryAssociationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateDataRepositoryAssociationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateDataRepositoryAssociationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateDataRepositoryAssociationCommand;
38
+ }($Command));
39
+ export { CreateDataRepositoryAssociationCommand };
@@ -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 { CreateDataRepositoryTaskRequestFilterSensitiveLog, CreateDataRepositoryTaskResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateDataRepositoryTaskCommand, serializeAws_json1_1CreateDataRepositoryTaskCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateDataRepositoryTaskCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateDataRepositoryTaskCommand = (function (_super) {
7
+ __extends(CreateDataRepositoryTaskCommand, _super);
8
+ function CreateDataRepositoryTaskCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateDataRepositoryTaskCommand.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 = "FSxClient";
15
- const commandName = "CreateDataRepositoryTaskCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FSxClient";
18
+ var commandName = "CreateDataRepositoryTaskCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateDataRepositoryTaskRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateDataRepositoryTaskResponseFilterSensitiveLog,
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
+ CreateDataRepositoryTaskCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateDataRepositoryTaskCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateDataRepositoryTaskCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateDataRepositoryTaskCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateDataRepositoryTaskCommand;
38
+ }($Command));
39
+ export { CreateDataRepositoryTaskCommand };
@@ -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 { CreateFileCacheRequestFilterSensitiveLog, CreateFileCacheResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateFileCacheCommand, serializeAws_json1_1CreateFileCacheCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateFileCacheCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateFileCacheCommand = (function (_super) {
7
+ __extends(CreateFileCacheCommand, _super);
8
+ function CreateFileCacheCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateFileCacheCommand.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 = "FSxClient";
15
- const commandName = "CreateFileCacheCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FSxClient";
18
+ var commandName = "CreateFileCacheCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateFileCacheRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateFileCacheResponseFilterSensitiveLog,
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
+ CreateFileCacheCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateFileCacheCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateFileCacheCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateFileCacheCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateFileCacheCommand;
38
+ }($Command));
39
+ export { CreateFileCacheCommand };
@@ -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, CreateFileSystemResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateFileSystemCommand, serializeAws_json1_1CreateFileSystemCommand, } from "../protocols/Aws_json1_1";
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 = "FSxClient";
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 = "FSxClient";
18
+ var commandName = "CreateFileSystemCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateFileSystemRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateFileSystemResponseFilterSensitiveLog,
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_json1_1CreateFileSystemCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateFileSystemCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateFileSystemCommand(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 { CreateFileSystemFromBackupRequestFilterSensitiveLog, CreateFileSystemFromBackupResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateFileSystemFromBackupCommand, serializeAws_json1_1CreateFileSystemFromBackupCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateFileSystemFromBackupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateFileSystemFromBackupCommand = (function (_super) {
7
+ __extends(CreateFileSystemFromBackupCommand, _super);
8
+ function CreateFileSystemFromBackupCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateFileSystemFromBackupCommand.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 = "FSxClient";
15
- const commandName = "CreateFileSystemFromBackupCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FSxClient";
18
+ var commandName = "CreateFileSystemFromBackupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateFileSystemFromBackupRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateFileSystemFromBackupResponseFilterSensitiveLog,
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
+ CreateFileSystemFromBackupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateFileSystemFromBackupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateFileSystemFromBackupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateFileSystemFromBackupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateFileSystemFromBackupCommand;
38
+ }($Command));
39
+ export { CreateFileSystemFromBackupCommand };