@aws-sdk/client-fsx 3.181.0 → 3.183.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/FSx.js +166 -173
  3. package/dist-es/FSxClient.js +22 -28
  4. package/dist-es/commands/AssociateFileSystemAliasesCommand.js +21 -28
  5. package/dist-es/commands/CancelDataRepositoryTaskCommand.js +21 -28
  6. package/dist-es/commands/CopyBackupCommand.js +21 -28
  7. package/dist-es/commands/CreateBackupCommand.js +21 -28
  8. package/dist-es/commands/CreateDataRepositoryAssociationCommand.js +21 -28
  9. package/dist-es/commands/CreateDataRepositoryTaskCommand.js +21 -28
  10. package/dist-es/commands/CreateFileCacheCommand.js +21 -28
  11. package/dist-es/commands/CreateFileSystemCommand.js +21 -28
  12. package/dist-es/commands/CreateFileSystemFromBackupCommand.js +21 -28
  13. package/dist-es/commands/CreateSnapshotCommand.js +21 -28
  14. package/dist-es/commands/CreateStorageVirtualMachineCommand.js +21 -28
  15. package/dist-es/commands/CreateVolumeCommand.js +21 -28
  16. package/dist-es/commands/CreateVolumeFromBackupCommand.js +21 -28
  17. package/dist-es/commands/DeleteBackupCommand.js +21 -28
  18. package/dist-es/commands/DeleteDataRepositoryAssociationCommand.js +21 -28
  19. package/dist-es/commands/DeleteFileCacheCommand.js +21 -28
  20. package/dist-es/commands/DeleteFileSystemCommand.js +21 -28
  21. package/dist-es/commands/DeleteSnapshotCommand.js +21 -28
  22. package/dist-es/commands/DeleteStorageVirtualMachineCommand.js +21 -28
  23. package/dist-es/commands/DeleteVolumeCommand.js +21 -28
  24. package/dist-es/commands/DescribeBackupsCommand.js +21 -28
  25. package/dist-es/commands/DescribeDataRepositoryAssociationsCommand.js +21 -28
  26. package/dist-es/commands/DescribeDataRepositoryTasksCommand.js +21 -28
  27. package/dist-es/commands/DescribeFileCachesCommand.js +21 -28
  28. package/dist-es/commands/DescribeFileSystemAliasesCommand.js +21 -28
  29. package/dist-es/commands/DescribeFileSystemsCommand.js +21 -28
  30. package/dist-es/commands/DescribeSnapshotsCommand.js +21 -28
  31. package/dist-es/commands/DescribeStorageVirtualMachinesCommand.js +21 -28
  32. package/dist-es/commands/DescribeVolumesCommand.js +21 -28
  33. package/dist-es/commands/DisassociateFileSystemAliasesCommand.js +21 -28
  34. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  35. package/dist-es/commands/ReleaseFileSystemNfsV3LocksCommand.js +21 -28
  36. package/dist-es/commands/RestoreVolumeFromSnapshotCommand.js +21 -28
  37. package/dist-es/commands/TagResourceCommand.js +21 -28
  38. package/dist-es/commands/UntagResourceCommand.js +21 -28
  39. package/dist-es/commands/UpdateDataRepositoryAssociationCommand.js +21 -28
  40. package/dist-es/commands/UpdateFileCacheCommand.js +21 -28
  41. package/dist-es/commands/UpdateFileSystemCommand.js +21 -28
  42. package/dist-es/commands/UpdateSnapshotCommand.js +21 -28
  43. package/dist-es/commands/UpdateStorageVirtualMachineCommand.js +21 -28
  44. package/dist-es/commands/UpdateVolumeCommand.js +21 -28
  45. package/dist-es/endpoints.js +8 -8
  46. package/dist-es/models/FSxServiceException.js +5 -10
  47. package/dist-es/models/models_0.js +1017 -661
  48. package/dist-es/pagination/DescribeBackupsPaginator.js +25 -68
  49. package/dist-es/pagination/DescribeDataRepositoryAssociationsPaginator.js +25 -68
  50. package/dist-es/pagination/DescribeDataRepositoryTasksPaginator.js +25 -68
  51. package/dist-es/pagination/DescribeFileCachesPaginator.js +25 -68
  52. package/dist-es/pagination/DescribeFileSystemAliasesPaginator.js +25 -68
  53. package/dist-es/pagination/DescribeFileSystemsPaginator.js +25 -68
  54. package/dist-es/pagination/DescribeSnapshotsPaginator.js +25 -68
  55. package/dist-es/pagination/DescribeStorageVirtualMachinesPaginator.js +25 -68
  56. package/dist-es/pagination/DescribeVolumesPaginator.js +25 -68
  57. package/dist-es/pagination/ListTagsForResourcePaginator.js +25 -68
  58. package/dist-es/protocols/Aws_json1_1.js +3779 -4380
  59. package/dist-es/runtimeConfig.browser.js +26 -12
  60. package/dist-es/runtimeConfig.js +30 -12
  61. package/dist-es/runtimeConfig.native.js +8 -5
  62. package/dist-es/runtimeConfig.shared.js +8 -11
  63. package/package.json +33 -33
@@ -1,4 +1,3 @@
1
- import { __extends } from "tslib";
2
1
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
3
2
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
3
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -9,31 +8,26 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
10
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
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;
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));
33
29
  }
34
- FSxClient.prototype.destroy = function () {
35
- _super.prototype.destroy.call(this);
36
- };
37
- return FSxClient;
38
- }(__Client));
39
- export { FSxClient };
30
+ destroy() {
31
+ super.destroy();
32
+ }
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 { AssociateFileSystemAliasesRequestFilterSensitiveLog, AssociateFileSystemAliasesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1AssociateFileSystemAliasesCommand, serializeAws_json1_1AssociateFileSystemAliasesCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class AssociateFileSystemAliasesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AssociateFileSystemAliasesCommand.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 = "FSxClient";
18
- var commandName = "AssociateFileSystemAliasesCommand";
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 = "FSxClient";
15
+ const commandName = "AssociateFileSystemAliasesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AssociateFileSystemAliasesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AssociateFileSystemAliasesResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1AssociateFileSystemAliasesCommand(input, context);
33
- };
34
- AssociateFileSystemAliasesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1AssociateFileSystemAliasesCommand(output, context);
36
- };
37
- return AssociateFileSystemAliasesCommand;
38
- }($Command));
39
- export { AssociateFileSystemAliasesCommand };
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 { CancelDataRepositoryTaskRequestFilterSensitiveLog, CancelDataRepositoryTaskResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CancelDataRepositoryTaskCommand, serializeAws_json1_1CancelDataRepositoryTaskCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class CancelDataRepositoryTaskCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CancelDataRepositoryTaskCommand.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 = "FSxClient";
18
- var commandName = "CancelDataRepositoryTaskCommand";
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 = "FSxClient";
15
+ const commandName = "CancelDataRepositoryTaskCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CancelDataRepositoryTaskRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CancelDataRepositoryTaskResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1CancelDataRepositoryTaskCommand(input, context);
33
- };
34
- CancelDataRepositoryTaskCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CancelDataRepositoryTaskCommand(output, context);
36
- };
37
- return CancelDataRepositoryTaskCommand;
38
- }($Command));
39
- export { CancelDataRepositoryTaskCommand };
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 { CopyBackupRequestFilterSensitiveLog, CopyBackupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CopyBackupCommand, serializeAws_json1_1CopyBackupCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class CopyBackupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CopyBackupCommand.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 = "FSxClient";
18
- var commandName = "CopyBackupCommand";
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 = "FSxClient";
15
+ const commandName = "CopyBackupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CopyBackupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CopyBackupResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1CopyBackupCommand(input, context);
33
- };
34
- CopyBackupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CopyBackupCommand(output, context);
36
- };
37
- return CopyBackupCommand;
38
- }($Command));
39
- export { CopyBackupCommand };
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 { CreateBackupRequestFilterSensitiveLog, CreateBackupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateBackupCommand, serializeAws_json1_1CreateBackupCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class CreateBackupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateBackupCommand.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 = "FSxClient";
18
- var commandName = "CreateBackupCommand";
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 = "FSxClient";
15
+ const commandName = "CreateBackupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateBackupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateBackupResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1CreateBackupCommand(input, context);
33
- };
34
- CreateBackupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateBackupCommand(output, context);
36
- };
37
- return CreateBackupCommand;
38
- }($Command));
39
- export { CreateBackupCommand };
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 { CreateDataRepositoryAssociationRequestFilterSensitiveLog, CreateDataRepositoryAssociationResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateDataRepositoryAssociationCommand, serializeAws_json1_1CreateDataRepositoryAssociationCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class CreateDataRepositoryAssociationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateDataRepositoryAssociationCommand.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 = "FSxClient";
18
- var commandName = "CreateDataRepositoryAssociationCommand";
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 = "FSxClient";
15
+ const commandName = "CreateDataRepositoryAssociationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateDataRepositoryAssociationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateDataRepositoryAssociationResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1CreateDataRepositoryAssociationCommand(input, context);
33
- };
34
- CreateDataRepositoryAssociationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateDataRepositoryAssociationCommand(output, context);
36
- };
37
- return CreateDataRepositoryAssociationCommand;
38
- }($Command));
39
- export { CreateDataRepositoryAssociationCommand };
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 { CreateDataRepositoryTaskRequestFilterSensitiveLog, CreateDataRepositoryTaskResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateDataRepositoryTaskCommand, serializeAws_json1_1CreateDataRepositoryTaskCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class CreateDataRepositoryTaskCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateDataRepositoryTaskCommand.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 = "FSxClient";
18
- var commandName = "CreateDataRepositoryTaskCommand";
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 = "FSxClient";
15
+ const commandName = "CreateDataRepositoryTaskCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateDataRepositoryTaskRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateDataRepositoryTaskResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1CreateDataRepositoryTaskCommand(input, context);
33
- };
34
- CreateDataRepositoryTaskCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateDataRepositoryTaskCommand(output, context);
36
- };
37
- return CreateDataRepositoryTaskCommand;
38
- }($Command));
39
- export { CreateDataRepositoryTaskCommand };
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 { CreateFileCacheRequestFilterSensitiveLog, CreateFileCacheResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateFileCacheCommand, serializeAws_json1_1CreateFileCacheCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class CreateFileCacheCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateFileCacheCommand.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 = "FSxClient";
18
- var commandName = "CreateFileCacheCommand";
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 = "FSxClient";
15
+ const commandName = "CreateFileCacheCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateFileCacheRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateFileCacheResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1CreateFileCacheCommand(input, context);
33
- };
34
- CreateFileCacheCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateFileCacheCommand(output, context);
36
- };
37
- return CreateFileCacheCommand;
38
- }($Command));
39
- export { CreateFileCacheCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateFileSystemRequestFilterSensitiveLog, CreateFileSystemResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateFileSystemCommand, serializeAws_json1_1CreateFileSystemCommand, } from "../protocols/Aws_json1_1";
6
- var CreateFileSystemCommand = (function (_super) {
7
- __extends(CreateFileSystemCommand, _super);
8
- function CreateFileSystemCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateFileSystemCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateFileSystemCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "FSxClient";
18
- var commandName = "CreateFileSystemCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "FSxClient";
15
+ const commandName = "CreateFileSystemCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateFileSystemRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateFileSystemResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateFileSystemCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1CreateFileSystemCommand(input, context);
33
- };
34
- CreateFileSystemCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateFileSystemCommand(output, context);
36
- };
37
- return CreateFileSystemCommand;
38
- }($Command));
39
- export { CreateFileSystemCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateFileSystemFromBackupRequestFilterSensitiveLog, CreateFileSystemFromBackupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateFileSystemFromBackupCommand, serializeAws_json1_1CreateFileSystemFromBackupCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class CreateFileSystemFromBackupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateFileSystemFromBackupCommand.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 = "FSxClient";
18
- var commandName = "CreateFileSystemFromBackupCommand";
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 = "FSxClient";
15
+ const commandName = "CreateFileSystemFromBackupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateFileSystemFromBackupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateFileSystemFromBackupResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1CreateFileSystemFromBackupCommand(input, context);
33
- };
34
- CreateFileSystemFromBackupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateFileSystemFromBackupCommand(output, context);
36
- };
37
- return CreateFileSystemFromBackupCommand;
38
- }($Command));
39
- export { CreateFileSystemFromBackupCommand };
31
+ }
32
+ }