@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,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 { CreateSnapshotRequestFilterSensitiveLog, CreateSnapshotResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateSnapshotCommand, serializeAws_json1_1CreateSnapshotCommand, } from "../protocols/Aws_json1_1";
6
- var CreateSnapshotCommand = (function (_super) {
7
- __extends(CreateSnapshotCommand, _super);
8
- function CreateSnapshotCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateSnapshotCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateSnapshotCommand.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 = "CreateSnapshotCommand";
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 = "CreateSnapshotCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateSnapshotRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateSnapshotResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateSnapshotCommand.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_1CreateSnapshotCommand(input, context);
33
- };
34
- CreateSnapshotCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateSnapshotCommand(output, context);
36
- };
37
- return CreateSnapshotCommand;
38
- }($Command));
39
- export { CreateSnapshotCommand };
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 { CreateStorageVirtualMachineRequestFilterSensitiveLog, CreateStorageVirtualMachineResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateStorageVirtualMachineCommand, serializeAws_json1_1CreateStorageVirtualMachineCommand, } from "../protocols/Aws_json1_1";
6
- var CreateStorageVirtualMachineCommand = (function (_super) {
7
- __extends(CreateStorageVirtualMachineCommand, _super);
8
- function CreateStorageVirtualMachineCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateStorageVirtualMachineCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateStorageVirtualMachineCommand.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 = "CreateStorageVirtualMachineCommand";
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 = "CreateStorageVirtualMachineCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateStorageVirtualMachineRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateStorageVirtualMachineResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateStorageVirtualMachineCommand.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_1CreateStorageVirtualMachineCommand(input, context);
33
- };
34
- CreateStorageVirtualMachineCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateStorageVirtualMachineCommand(output, context);
36
- };
37
- return CreateStorageVirtualMachineCommand;
38
- }($Command));
39
- export { CreateStorageVirtualMachineCommand };
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 { CreateVolumeRequestFilterSensitiveLog, CreateVolumeResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateVolumeCommand, serializeAws_json1_1CreateVolumeCommand, } from "../protocols/Aws_json1_1";
6
- var CreateVolumeCommand = (function (_super) {
7
- __extends(CreateVolumeCommand, _super);
8
- function CreateVolumeCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateVolumeCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateVolumeCommand.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 = "CreateVolumeCommand";
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 = "CreateVolumeCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateVolumeRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateVolumeResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateVolumeCommand.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_1CreateVolumeCommand(input, context);
33
- };
34
- CreateVolumeCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateVolumeCommand(output, context);
36
- };
37
- return CreateVolumeCommand;
38
- }($Command));
39
- export { CreateVolumeCommand };
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 { CreateVolumeFromBackupRequestFilterSensitiveLog, CreateVolumeFromBackupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateVolumeFromBackupCommand, serializeAws_json1_1CreateVolumeFromBackupCommand, } from "../protocols/Aws_json1_1";
6
- var CreateVolumeFromBackupCommand = (function (_super) {
7
- __extends(CreateVolumeFromBackupCommand, _super);
8
- function CreateVolumeFromBackupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateVolumeFromBackupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateVolumeFromBackupCommand.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 = "CreateVolumeFromBackupCommand";
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 = "CreateVolumeFromBackupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateVolumeFromBackupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateVolumeFromBackupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateVolumeFromBackupCommand.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_1CreateVolumeFromBackupCommand(input, context);
33
- };
34
- CreateVolumeFromBackupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateVolumeFromBackupCommand(output, context);
36
- };
37
- return CreateVolumeFromBackupCommand;
38
- }($Command));
39
- export { CreateVolumeFromBackupCommand };
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 { DeleteBackupRequestFilterSensitiveLog, DeleteBackupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteBackupCommand, serializeAws_json1_1DeleteBackupCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteBackupCommand = (function (_super) {
7
- __extends(DeleteBackupCommand, _super);
8
- function DeleteBackupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteBackupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteBackupCommand.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 = "DeleteBackupCommand";
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 = "DeleteBackupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteBackupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteBackupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteBackupCommand.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_1DeleteBackupCommand(input, context);
33
- };
34
- DeleteBackupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteBackupCommand(output, context);
36
- };
37
- return DeleteBackupCommand;
38
- }($Command));
39
- export { DeleteBackupCommand };
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 { DeleteDataRepositoryAssociationRequestFilterSensitiveLog, DeleteDataRepositoryAssociationResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteDataRepositoryAssociationCommand, serializeAws_json1_1DeleteDataRepositoryAssociationCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteDataRepositoryAssociationCommand = (function (_super) {
7
- __extends(DeleteDataRepositoryAssociationCommand, _super);
8
- function DeleteDataRepositoryAssociationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteDataRepositoryAssociationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteDataRepositoryAssociationCommand.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 = "DeleteDataRepositoryAssociationCommand";
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 = "DeleteDataRepositoryAssociationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteDataRepositoryAssociationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteDataRepositoryAssociationResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteDataRepositoryAssociationCommand.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_1DeleteDataRepositoryAssociationCommand(input, context);
33
- };
34
- DeleteDataRepositoryAssociationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteDataRepositoryAssociationCommand(output, context);
36
- };
37
- return DeleteDataRepositoryAssociationCommand;
38
- }($Command));
39
- export { DeleteDataRepositoryAssociationCommand };
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 { DeleteFileCacheRequestFilterSensitiveLog, DeleteFileCacheResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteFileCacheCommand, serializeAws_json1_1DeleteFileCacheCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteFileCacheCommand = (function (_super) {
7
- __extends(DeleteFileCacheCommand, _super);
8
- function DeleteFileCacheCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteFileCacheCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteFileCacheCommand.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 = "DeleteFileCacheCommand";
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 = "DeleteFileCacheCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteFileCacheRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteFileCacheResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteFileCacheCommand.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_1DeleteFileCacheCommand(input, context);
33
- };
34
- DeleteFileCacheCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteFileCacheCommand(output, context);
36
- };
37
- return DeleteFileCacheCommand;
38
- }($Command));
39
- export { DeleteFileCacheCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteFileSystemRequestFilterSensitiveLog, DeleteFileSystemResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteFileSystemCommand, serializeAws_json1_1DeleteFileSystemCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteFileSystemCommand = (function (_super) {
7
- __extends(DeleteFileSystemCommand, _super);
8
- function DeleteFileSystemCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteFileSystemCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteFileSystemCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "FSxClient";
18
- var commandName = "DeleteFileSystemCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "FSxClient";
15
+ const commandName = "DeleteFileSystemCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteFileSystemRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteFileSystemResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteFileSystemCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DeleteFileSystemCommand(input, context);
33
- };
34
- DeleteFileSystemCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteFileSystemCommand(output, context);
36
- };
37
- return DeleteFileSystemCommand;
38
- }($Command));
39
- export { DeleteFileSystemCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteSnapshotRequestFilterSensitiveLog, DeleteSnapshotResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteSnapshotCommand, serializeAws_json1_1DeleteSnapshotCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteSnapshotCommand = (function (_super) {
7
- __extends(DeleteSnapshotCommand, _super);
8
- function DeleteSnapshotCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteSnapshotCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteSnapshotCommand.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 = "DeleteSnapshotCommand";
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 = "DeleteSnapshotCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteSnapshotRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteSnapshotResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteSnapshotCommand.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_1DeleteSnapshotCommand(input, context);
33
- };
34
- DeleteSnapshotCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteSnapshotCommand(output, context);
36
- };
37
- return DeleteSnapshotCommand;
38
- }($Command));
39
- export { DeleteSnapshotCommand };
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 { DeleteStorageVirtualMachineRequestFilterSensitiveLog, DeleteStorageVirtualMachineResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteStorageVirtualMachineCommand, serializeAws_json1_1DeleteStorageVirtualMachineCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteStorageVirtualMachineCommand = (function (_super) {
7
- __extends(DeleteStorageVirtualMachineCommand, _super);
8
- function DeleteStorageVirtualMachineCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteStorageVirtualMachineCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteStorageVirtualMachineCommand.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 = "DeleteStorageVirtualMachineCommand";
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 = "DeleteStorageVirtualMachineCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteStorageVirtualMachineRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteStorageVirtualMachineResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteStorageVirtualMachineCommand.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_1DeleteStorageVirtualMachineCommand(input, context);
33
- };
34
- DeleteStorageVirtualMachineCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteStorageVirtualMachineCommand(output, context);
36
- };
37
- return DeleteStorageVirtualMachineCommand;
38
- }($Command));
39
- export { DeleteStorageVirtualMachineCommand };
31
+ }
32
+ }