@aws-sdk/client-fsx 3.43.0 → 3.47.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 (98) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/dist-cjs/FSx.js +150 -0
  3. package/dist-cjs/commands/CreateDataRepositoryAssociationCommand.js +36 -0
  4. package/dist-cjs/commands/CreateSnapshotCommand.js +36 -0
  5. package/dist-cjs/commands/DeleteDataRepositoryAssociationCommand.js +36 -0
  6. package/dist-cjs/commands/DeleteSnapshotCommand.js +36 -0
  7. package/dist-cjs/commands/DescribeDataRepositoryAssociationsCommand.js +36 -0
  8. package/dist-cjs/commands/DescribeSnapshotsCommand.js +36 -0
  9. package/dist-cjs/commands/ReleaseFileSystemNfsV3LocksCommand.js +36 -0
  10. package/dist-cjs/commands/RestoreVolumeFromSnapshotCommand.js +36 -0
  11. package/dist-cjs/commands/UpdateDataRepositoryAssociationCommand.js +36 -0
  12. package/dist-cjs/commands/UpdateSnapshotCommand.js +36 -0
  13. package/dist-cjs/commands/index.js +10 -0
  14. package/dist-cjs/endpoints.js +1 -28
  15. package/dist-cjs/models/models_0.js +351 -208
  16. package/dist-cjs/pagination/DescribeDataRepositoryAssociationsPaginator.js +35 -0
  17. package/dist-cjs/pagination/DescribeSnapshotsPaginator.js +35 -0
  18. package/dist-cjs/pagination/index.js +2 -0
  19. package/dist-cjs/protocols/Aws_json1_1.js +1745 -131
  20. package/dist-cjs/runtimeConfig.browser.js +7 -2
  21. package/dist-cjs/runtimeConfig.js +9 -3
  22. package/dist-es/FSx.js +150 -0
  23. package/dist-es/commands/CreateDataRepositoryAssociationCommand.js +39 -0
  24. package/dist-es/commands/CreateSnapshotCommand.js +39 -0
  25. package/dist-es/commands/DeleteDataRepositoryAssociationCommand.js +39 -0
  26. package/dist-es/commands/DeleteSnapshotCommand.js +39 -0
  27. package/dist-es/commands/DescribeDataRepositoryAssociationsCommand.js +39 -0
  28. package/dist-es/commands/DescribeSnapshotsCommand.js +39 -0
  29. package/dist-es/commands/ReleaseFileSystemNfsV3LocksCommand.js +39 -0
  30. package/dist-es/commands/RestoreVolumeFromSnapshotCommand.js +39 -0
  31. package/dist-es/commands/UpdateDataRepositoryAssociationCommand.js +39 -0
  32. package/dist-es/commands/UpdateSnapshotCommand.js +39 -0
  33. package/dist-es/commands/index.js +10 -0
  34. package/dist-es/endpoints.js +1 -28
  35. package/dist-es/models/models_0.js +265 -148
  36. package/dist-es/pagination/DescribeDataRepositoryAssociationsPaginator.js +74 -0
  37. package/dist-es/pagination/DescribeSnapshotsPaginator.js +74 -0
  38. package/dist-es/pagination/index.js +2 -0
  39. package/dist-es/protocols/Aws_json1_1.js +1653 -74
  40. package/dist-es/runtimeConfig.browser.js +12 -3
  41. package/dist-es/runtimeConfig.js +13 -6
  42. package/dist-types/FSx.d.ts +406 -146
  43. package/dist-types/FSxClient.d.ts +17 -3
  44. package/dist-types/commands/CopyBackupCommand.d.ts +12 -12
  45. package/dist-types/commands/CreateBackupCommand.d.ts +27 -25
  46. package/dist-types/commands/CreateDataRepositoryAssociationCommand.d.ts +45 -0
  47. package/dist-types/commands/CreateDataRepositoryTaskCommand.d.ts +6 -5
  48. package/dist-types/commands/CreateFileSystemCommand.d.ts +36 -16
  49. package/dist-types/commands/CreateFileSystemFromBackupCommand.d.ts +14 -14
  50. package/dist-types/commands/CreateSnapshotCommand.d.ts +62 -0
  51. package/dist-types/commands/CreateVolumeCommand.d.ts +2 -1
  52. package/dist-types/commands/DeleteBackupCommand.d.ts +4 -3
  53. package/dist-types/commands/DeleteDataRepositoryAssociationCommand.d.ts +41 -0
  54. package/dist-types/commands/DeleteFileSystemCommand.d.ts +14 -15
  55. package/dist-types/commands/DeleteSnapshotCommand.d.ts +39 -0
  56. package/dist-types/commands/DeleteVolumeCommand.d.ts +2 -4
  57. package/dist-types/commands/DescribeBackupsCommand.d.ts +17 -18
  58. package/dist-types/commands/DescribeDataRepositoryAssociationsCommand.d.ts +53 -0
  59. package/dist-types/commands/DescribeFileSystemsCommand.d.ts +9 -9
  60. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +61 -0
  61. package/dist-types/commands/DescribeVolumesCommand.d.ts +2 -1
  62. package/dist-types/commands/ReleaseFileSystemNfsV3LocksCommand.d.ts +36 -0
  63. package/dist-types/commands/RestoreVolumeFromSnapshotCommand.d.ts +36 -0
  64. package/dist-types/commands/UpdateDataRepositoryAssociationCommand.d.ts +37 -0
  65. package/dist-types/commands/UpdateFileSystemCommand.d.ts +95 -22
  66. package/dist-types/commands/UpdateSnapshotCommand.d.ts +35 -0
  67. package/dist-types/commands/UpdateVolumeCommand.d.ts +1 -1
  68. package/dist-types/commands/index.d.ts +10 -0
  69. package/dist-types/models/models_0.d.ts +2666 -808
  70. package/dist-types/pagination/DescribeDataRepositoryAssociationsPaginator.d.ts +4 -0
  71. package/dist-types/pagination/DescribeSnapshotsPaginator.d.ts +4 -0
  72. package/dist-types/pagination/index.d.ts +2 -0
  73. package/dist-types/protocols/Aws_json1_1.d.ts +30 -0
  74. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  75. package/dist-types/runtimeConfig.d.ts +4 -3
  76. package/dist-types/runtimeConfig.native.d.ts +1 -0
  77. package/dist-types/ts3.4/FSx.d.ts +50 -0
  78. package/dist-types/ts3.4/FSxClient.d.ts +15 -3
  79. package/dist-types/ts3.4/commands/CreateDataRepositoryAssociationCommand.d.ts +17 -0
  80. package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +17 -0
  81. package/dist-types/ts3.4/commands/DeleteDataRepositoryAssociationCommand.d.ts +17 -0
  82. package/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +17 -0
  83. package/dist-types/ts3.4/commands/DescribeDataRepositoryAssociationsCommand.d.ts +17 -0
  84. package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +17 -0
  85. package/dist-types/ts3.4/commands/ReleaseFileSystemNfsV3LocksCommand.d.ts +17 -0
  86. package/dist-types/ts3.4/commands/RestoreVolumeFromSnapshotCommand.d.ts +17 -0
  87. package/dist-types/ts3.4/commands/UpdateDataRepositoryAssociationCommand.d.ts +17 -0
  88. package/dist-types/ts3.4/commands/UpdateSnapshotCommand.d.ts +17 -0
  89. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  90. package/dist-types/ts3.4/models/models_0.d.ts +768 -191
  91. package/dist-types/ts3.4/pagination/DescribeDataRepositoryAssociationsPaginator.d.ts +4 -0
  92. package/dist-types/ts3.4/pagination/DescribeSnapshotsPaginator.d.ts +4 -0
  93. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  94. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +30 -0
  95. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  96. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  97. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  98. package/package.json +38 -45
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UpdateDataRepositoryAssociationRequest, UpdateDataRepositoryAssociationResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1UpdateDataRepositoryAssociationCommand, serializeAws_json1_1UpdateDataRepositoryAssociationCommand, } from "../protocols/Aws_json1_1";
6
+ var UpdateDataRepositoryAssociationCommand = (function (_super) {
7
+ __extends(UpdateDataRepositoryAssociationCommand, _super);
8
+ function UpdateDataRepositoryAssociationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ UpdateDataRepositoryAssociationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ 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 = "UpdateDataRepositoryAssociationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: UpdateDataRepositoryAssociationRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: UpdateDataRepositoryAssociationResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateDataRepositoryAssociationCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1UpdateDataRepositoryAssociationCommand(input, context);
33
+ };
34
+ UpdateDataRepositoryAssociationCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1UpdateDataRepositoryAssociationCommand(output, context);
36
+ };
37
+ return UpdateDataRepositoryAssociationCommand;
38
+ }($Command));
39
+ export { UpdateDataRepositoryAssociationCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UpdateSnapshotRequest, UpdateSnapshotResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1UpdateSnapshotCommand, serializeAws_json1_1UpdateSnapshotCommand, } from "../protocols/Aws_json1_1";
6
+ var UpdateSnapshotCommand = (function (_super) {
7
+ __extends(UpdateSnapshotCommand, _super);
8
+ function UpdateSnapshotCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ UpdateSnapshotCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ 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 = "UpdateSnapshotCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: UpdateSnapshotRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: UpdateSnapshotResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateSnapshotCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1UpdateSnapshotCommand(input, context);
33
+ };
34
+ UpdateSnapshotCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1UpdateSnapshotCommand(output, context);
36
+ };
37
+ return UpdateSnapshotCommand;
38
+ }($Command));
39
+ export { UpdateSnapshotCommand };
@@ -2,26 +2,36 @@ export * from "./AssociateFileSystemAliasesCommand";
2
2
  export * from "./CancelDataRepositoryTaskCommand";
3
3
  export * from "./CopyBackupCommand";
4
4
  export * from "./CreateBackupCommand";
5
+ export * from "./CreateDataRepositoryAssociationCommand";
5
6
  export * from "./CreateDataRepositoryTaskCommand";
6
7
  export * from "./CreateFileSystemCommand";
7
8
  export * from "./CreateFileSystemFromBackupCommand";
9
+ export * from "./CreateSnapshotCommand";
8
10
  export * from "./CreateStorageVirtualMachineCommand";
9
11
  export * from "./CreateVolumeCommand";
10
12
  export * from "./CreateVolumeFromBackupCommand";
11
13
  export * from "./DeleteBackupCommand";
14
+ export * from "./DeleteDataRepositoryAssociationCommand";
12
15
  export * from "./DeleteFileSystemCommand";
16
+ export * from "./DeleteSnapshotCommand";
13
17
  export * from "./DeleteStorageVirtualMachineCommand";
14
18
  export * from "./DeleteVolumeCommand";
15
19
  export * from "./DescribeBackupsCommand";
20
+ export * from "./DescribeDataRepositoryAssociationsCommand";
16
21
  export * from "./DescribeDataRepositoryTasksCommand";
17
22
  export * from "./DescribeFileSystemAliasesCommand";
18
23
  export * from "./DescribeFileSystemsCommand";
24
+ export * from "./DescribeSnapshotsCommand";
19
25
  export * from "./DescribeStorageVirtualMachinesCommand";
20
26
  export * from "./DescribeVolumesCommand";
21
27
  export * from "./DisassociateFileSystemAliasesCommand";
22
28
  export * from "./ListTagsForResourceCommand";
29
+ export * from "./ReleaseFileSystemNfsV3LocksCommand";
30
+ export * from "./RestoreVolumeFromSnapshotCommand";
23
31
  export * from "./TagResourceCommand";
24
32
  export * from "./UntagResourceCommand";
33
+ export * from "./UpdateDataRepositoryAssociationCommand";
25
34
  export * from "./UpdateFileSystemCommand";
35
+ export * from "./UpdateSnapshotCommand";
26
36
  export * from "./UpdateStorageVirtualMachineCommand";
27
37
  export * from "./UpdateVolumeCommand";
@@ -3,10 +3,6 @@ import { getRegionInfo } from "@aws-sdk/config-resolver";
3
3
  var regionHash = {
4
4
  "ca-central-1": {
5
5
  variants: [
6
- {
7
- hostname: "fsx.ca-central-1.amazonaws.com",
8
- tags: [],
9
- },
10
6
  {
11
7
  hostname: "fsx-fips.ca-central-1.amazonaws.com",
12
8
  tags: ["fips"],
@@ -15,10 +11,6 @@ var regionHash = {
15
11
  },
16
12
  "us-east-1": {
17
13
  variants: [
18
- {
19
- hostname: "fsx.us-east-1.amazonaws.com",
20
- tags: [],
21
- },
22
14
  {
23
15
  hostname: "fsx-fips.us-east-1.amazonaws.com",
24
16
  tags: ["fips"],
@@ -27,10 +19,6 @@ var regionHash = {
27
19
  },
28
20
  "us-east-2": {
29
21
  variants: [
30
- {
31
- hostname: "fsx.us-east-2.amazonaws.com",
32
- tags: [],
33
- },
34
22
  {
35
23
  hostname: "fsx-fips.us-east-2.amazonaws.com",
36
24
  tags: ["fips"],
@@ -39,10 +27,6 @@ var regionHash = {
39
27
  },
40
28
  "us-gov-east-1": {
41
29
  variants: [
42
- {
43
- hostname: "fsx.us-gov-east-1.amazonaws.com",
44
- tags: [],
45
- },
46
30
  {
47
31
  hostname: "fsx-fips.us-gov-east-1.amazonaws.com",
48
32
  tags: ["fips"],
@@ -51,10 +35,6 @@ var regionHash = {
51
35
  },
52
36
  "us-gov-west-1": {
53
37
  variants: [
54
- {
55
- hostname: "fsx.us-gov-west-1.amazonaws.com",
56
- tags: [],
57
- },
58
38
  {
59
39
  hostname: "fsx-fips.us-gov-west-1.amazonaws.com",
60
40
  tags: ["fips"],
@@ -63,10 +43,6 @@ var regionHash = {
63
43
  },
64
44
  "us-west-1": {
65
45
  variants: [
66
- {
67
- hostname: "fsx.us-west-1.amazonaws.com",
68
- tags: [],
69
- },
70
46
  {
71
47
  hostname: "fsx-fips.us-west-1.amazonaws.com",
72
48
  tags: ["fips"],
@@ -75,10 +51,6 @@ var regionHash = {
75
51
  },
76
52
  "us-west-2": {
77
53
  variants: [
78
- {
79
- hostname: "fsx.us-west-2.amazonaws.com",
80
- tags: [],
81
- },
82
54
  {
83
55
  hostname: "fsx-fips.us-west-2.amazonaws.com",
84
56
  tags: ["fips"],
@@ -97,6 +69,7 @@ var partitionHash = {
97
69
  "ap-south-1",
98
70
  "ap-southeast-1",
99
71
  "ap-southeast-2",
72
+ "ap-southeast-3",
100
73
  "ca-central-1",
101
74
  "eu-central-1",
102
75
  "eu-north-1",