@aws-sdk/client-cloudhsm-v2 3.35.0 → 3.38.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 (188) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/CloudHSMV2.js +0 -5
  3. package/dist-cjs/CloudHSMV2Client.js +0 -10
  4. package/dist-cjs/commands/CopyBackupToRegionCommand.js +0 -25
  5. package/dist-cjs/commands/CreateClusterCommand.js +0 -25
  6. package/dist-cjs/commands/CreateHsmCommand.js +0 -26
  7. package/dist-cjs/commands/DeleteBackupCommand.js +0 -27
  8. package/dist-cjs/commands/DeleteClusterCommand.js +0 -26
  9. package/dist-cjs/commands/DeleteHsmCommand.js +0 -27
  10. package/dist-cjs/commands/DescribeBackupsCommand.js +0 -30
  11. package/dist-cjs/commands/DescribeClustersCommand.js +0 -30
  12. package/dist-cjs/commands/InitializeClusterCommand.js +0 -28
  13. package/dist-cjs/commands/ListTagsCommand.js +0 -30
  14. package/dist-cjs/commands/ModifyBackupAttributesCommand.js +0 -25
  15. package/dist-cjs/commands/ModifyClusterCommand.js +0 -25
  16. package/dist-cjs/commands/RestoreBackupCommand.js +0 -27
  17. package/dist-cjs/commands/TagResourceCommand.js +0 -25
  18. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  19. package/dist-cjs/commands/index.js +18 -0
  20. package/dist-cjs/endpoints.js +1 -2
  21. package/dist-cjs/index.js +4 -22
  22. package/dist-cjs/models/index.js +0 -1
  23. package/dist-cjs/models/models_0.js +0 -130
  24. package/dist-cjs/pagination/DescribeBackupsPaginator.js +0 -11
  25. package/dist-cjs/pagination/DescribeClustersPaginator.js +0 -11
  26. package/dist-cjs/pagination/Interfaces.js +0 -1
  27. package/dist-cjs/pagination/ListTagsPaginator.js +0 -11
  28. package/dist-cjs/pagination/index.js +7 -0
  29. package/dist-cjs/protocols/Aws_json1_1.js +0 -6
  30. package/dist-cjs/runtimeConfig.browser.js +1 -6
  31. package/dist-cjs/runtimeConfig.js +2 -7
  32. package/dist-cjs/runtimeConfig.native.js +0 -4
  33. package/dist-cjs/runtimeConfig.shared.js +0 -4
  34. package/dist-es/CloudHSMV2.js +0 -1
  35. package/dist-es/CloudHSMV2Client.js +0 -1
  36. package/dist-es/commands/CopyBackupToRegionCommand.js +0 -1
  37. package/dist-es/commands/CreateClusterCommand.js +0 -1
  38. package/dist-es/commands/CreateHsmCommand.js +0 -1
  39. package/dist-es/commands/DeleteBackupCommand.js +0 -1
  40. package/dist-es/commands/DeleteClusterCommand.js +0 -1
  41. package/dist-es/commands/DeleteHsmCommand.js +0 -1
  42. package/dist-es/commands/DescribeBackupsCommand.js +0 -1
  43. package/dist-es/commands/DescribeClustersCommand.js +0 -1
  44. package/dist-es/commands/InitializeClusterCommand.js +0 -1
  45. package/dist-es/commands/ListTagsCommand.js +0 -1
  46. package/dist-es/commands/ModifyBackupAttributesCommand.js +0 -1
  47. package/dist-es/commands/ModifyClusterCommand.js +0 -1
  48. package/dist-es/commands/RestoreBackupCommand.js +0 -1
  49. package/dist-es/commands/TagResourceCommand.js +0 -1
  50. package/dist-es/commands/UntagResourceCommand.js +0 -1
  51. package/dist-es/commands/index.js +15 -0
  52. package/dist-es/endpoints.js +1 -2
  53. package/dist-es/index.js +4 -22
  54. package/dist-es/models/index.js +0 -1
  55. package/dist-es/models/models_0.js +0 -1
  56. package/dist-es/pagination/DescribeBackupsPaginator.js +0 -1
  57. package/dist-es/pagination/DescribeClustersPaginator.js +0 -1
  58. package/dist-es/pagination/Interfaces.js +0 -1
  59. package/dist-es/pagination/ListTagsPaginator.js +0 -1
  60. package/dist-es/pagination/index.js +4 -0
  61. package/dist-es/protocols/Aws_json1_1.js +0 -1
  62. package/dist-es/runtimeConfig.browser.js +1 -2
  63. package/dist-es/runtimeConfig.js +2 -3
  64. package/dist-es/runtimeConfig.native.js +0 -1
  65. package/dist-es/runtimeConfig.shared.js +0 -1
  66. package/dist-types/commands/index.d.ts +15 -0
  67. package/dist-types/index.d.ts +4 -21
  68. package/dist-types/pagination/index.d.ts +4 -0
  69. package/dist-types/ts3.4/CloudHSMV2.d.ts +16 -75
  70. package/dist-types/ts3.4/CloudHSMV2Client.d.ts +24 -90
  71. package/dist-types/ts3.4/commands/CopyBackupToRegionCommand.d.ts +2 -20
  72. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +2 -20
  73. package/dist-types/ts3.4/commands/CreateHsmCommand.d.ts +2 -21
  74. package/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts +2 -22
  75. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +2 -21
  76. package/dist-types/ts3.4/commands/DeleteHsmCommand.d.ts +2 -22
  77. package/dist-types/ts3.4/commands/DescribeBackupsCommand.d.ts +2 -25
  78. package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +2 -25
  79. package/dist-types/ts3.4/commands/InitializeClusterCommand.d.ts +2 -23
  80. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +2 -25
  81. package/dist-types/ts3.4/commands/ModifyBackupAttributesCommand.d.ts +2 -20
  82. package/dist-types/ts3.4/commands/ModifyClusterCommand.d.ts +2 -20
  83. package/dist-types/ts3.4/commands/RestoreBackupCommand.d.ts +2 -22
  84. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
  85. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  86. package/dist-types/ts3.4/commands/index.d.ts +15 -0
  87. package/dist-types/ts3.4/index.d.ts +4 -21
  88. package/dist-types/ts3.4/models/models_0.d.ts +159 -565
  89. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  90. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  91. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  92. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  93. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  94. package/package.json +33 -30
  95. package/dist-cjs/CloudHSMV2.js.map +0 -1
  96. package/dist-cjs/CloudHSMV2Client.js.map +0 -1
  97. package/dist-cjs/commands/CopyBackupToRegionCommand.js.map +0 -1
  98. package/dist-cjs/commands/CreateClusterCommand.js.map +0 -1
  99. package/dist-cjs/commands/CreateHsmCommand.js.map +0 -1
  100. package/dist-cjs/commands/DeleteBackupCommand.js.map +0 -1
  101. package/dist-cjs/commands/DeleteClusterCommand.js.map +0 -1
  102. package/dist-cjs/commands/DeleteHsmCommand.js.map +0 -1
  103. package/dist-cjs/commands/DescribeBackupsCommand.js.map +0 -1
  104. package/dist-cjs/commands/DescribeClustersCommand.js.map +0 -1
  105. package/dist-cjs/commands/InitializeClusterCommand.js.map +0 -1
  106. package/dist-cjs/commands/ListTagsCommand.js.map +0 -1
  107. package/dist-cjs/commands/ModifyBackupAttributesCommand.js.map +0 -1
  108. package/dist-cjs/commands/ModifyClusterCommand.js.map +0 -1
  109. package/dist-cjs/commands/RestoreBackupCommand.js.map +0 -1
  110. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  111. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  112. package/dist-cjs/endpoints.js.map +0 -1
  113. package/dist-cjs/index.js.map +0 -1
  114. package/dist-cjs/models/index.js.map +0 -1
  115. package/dist-cjs/models/models_0.js.map +0 -1
  116. package/dist-cjs/pagination/DescribeBackupsPaginator.js.map +0 -1
  117. package/dist-cjs/pagination/DescribeClustersPaginator.js.map +0 -1
  118. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  119. package/dist-cjs/pagination/ListTagsPaginator.js.map +0 -1
  120. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  121. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  122. package/dist-cjs/runtimeConfig.js.map +0 -1
  123. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  124. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  125. package/dist-es/CloudHSMV2.js.map +0 -1
  126. package/dist-es/CloudHSMV2Client.js.map +0 -1
  127. package/dist-es/commands/CopyBackupToRegionCommand.js.map +0 -1
  128. package/dist-es/commands/CreateClusterCommand.js.map +0 -1
  129. package/dist-es/commands/CreateHsmCommand.js.map +0 -1
  130. package/dist-es/commands/DeleteBackupCommand.js.map +0 -1
  131. package/dist-es/commands/DeleteClusterCommand.js.map +0 -1
  132. package/dist-es/commands/DeleteHsmCommand.js.map +0 -1
  133. package/dist-es/commands/DescribeBackupsCommand.js.map +0 -1
  134. package/dist-es/commands/DescribeClustersCommand.js.map +0 -1
  135. package/dist-es/commands/InitializeClusterCommand.js.map +0 -1
  136. package/dist-es/commands/ListTagsCommand.js.map +0 -1
  137. package/dist-es/commands/ModifyBackupAttributesCommand.js.map +0 -1
  138. package/dist-es/commands/ModifyClusterCommand.js.map +0 -1
  139. package/dist-es/commands/RestoreBackupCommand.js.map +0 -1
  140. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  141. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  142. package/dist-es/endpoints.js.map +0 -1
  143. package/dist-es/index.js.map +0 -1
  144. package/dist-es/models/index.js.map +0 -1
  145. package/dist-es/models/models_0.js.map +0 -1
  146. package/dist-es/pagination/DescribeBackupsPaginator.js.map +0 -1
  147. package/dist-es/pagination/DescribeClustersPaginator.js.map +0 -1
  148. package/dist-es/pagination/Interfaces.js.map +0 -1
  149. package/dist-es/pagination/ListTagsPaginator.js.map +0 -1
  150. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  151. package/dist-es/runtimeConfig.browser.js.map +0 -1
  152. package/dist-es/runtimeConfig.js.map +0 -1
  153. package/dist-es/runtimeConfig.native.js.map +0 -1
  154. package/dist-es/runtimeConfig.shared.js.map +0 -1
  155. package/jest.config.js +0 -4
  156. package/src/CloudHSMV2.ts +0 -547
  157. package/src/CloudHSMV2Client.ts +0 -285
  158. package/src/commands/CopyBackupToRegionCommand.ts +0 -95
  159. package/src/commands/CreateClusterCommand.ts +0 -95
  160. package/src/commands/CreateHsmCommand.ts +0 -93
  161. package/src/commands/DeleteBackupCommand.ts +0 -97
  162. package/src/commands/DeleteClusterCommand.ts +0 -96
  163. package/src/commands/DeleteHsmCommand.ts +0 -94
  164. package/src/commands/DescribeBackupsCommand.ts +0 -100
  165. package/src/commands/DescribeClustersCommand.ts +0 -100
  166. package/src/commands/InitializeClusterCommand.ts +0 -98
  167. package/src/commands/ListTagsCommand.ts +0 -97
  168. package/src/commands/ModifyBackupAttributesCommand.ts +0 -95
  169. package/src/commands/ModifyClusterCommand.ts +0 -95
  170. package/src/commands/RestoreBackupCommand.ts +0 -97
  171. package/src/commands/TagResourceCommand.ts +0 -95
  172. package/src/commands/UntagResourceCommand.ts +0 -95
  173. package/src/endpoints.ts +0 -57
  174. package/src/index.ts +0 -22
  175. package/src/models/index.ts +0 -1
  176. package/src/models/models_0.ts +0 -1175
  177. package/src/pagination/DescribeBackupsPaginator.ts +0 -59
  178. package/src/pagination/DescribeClustersPaginator.ts +0 -59
  179. package/src/pagination/Interfaces.ts +0 -8
  180. package/src/pagination/ListTagsPaginator.ts +0 -55
  181. package/src/protocols/Aws_json1_1.ts +0 -2363
  182. package/src/runtimeConfig.browser.ts +0 -41
  183. package/src/runtimeConfig.native.ts +0 -17
  184. package/src/runtimeConfig.shared.ts +0 -17
  185. package/src/runtimeConfig.ts +0 -46
  186. package/tsconfig.es.json +0 -10
  187. package/tsconfig.json +0 -33
  188. package/tsconfig.types.json +0 -9
package/CHANGELOG.md CHANGED
@@ -3,6 +3,53 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
7
+
8
+
9
+ ### Features
10
+
11
+ * **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
12
+ * **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
13
+
14
+
15
+
16
+
17
+
18
+ # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
19
+
20
+
21
+ ### Features
22
+
23
+ * **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
24
+
25
+
26
+
27
+
28
+
29
+ ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
30
+
31
+
32
+ ### Bug Fixes
33
+
34
+ * **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
35
+
36
+
37
+
38
+
39
+
40
+ # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
41
+
42
+
43
+ ### Features
44
+
45
+ * publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
46
+ * **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
47
+ * **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
48
+
49
+
50
+
51
+
52
+
6
53
  # [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
7
54
 
8
55
 
@@ -17,10 +17,6 @@ const ModifyClusterCommand_1 = require("./commands/ModifyClusterCommand");
17
17
  const RestoreBackupCommand_1 = require("./commands/RestoreBackupCommand");
18
18
  const TagResourceCommand_1 = require("./commands/TagResourceCommand");
19
19
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
20
- /**
21
- * <p>For more information about AWS CloudHSM, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a> and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS
22
- * CloudHSM User Guide</a>.</p>
23
- */
24
20
  class CloudHSMV2 extends CloudHSMV2Client_1.CloudHSMV2Client {
25
21
  copyBackupToRegion(args, optionsOrCb, cb) {
26
22
  const command = new CopyBackupToRegionCommand_1.CopyBackupToRegionCommand(args);
@@ -234,4 +230,3 @@ class CloudHSMV2 extends CloudHSMV2Client_1.CloudHSMV2Client {
234
230
  }
235
231
  }
236
232
  exports.CloudHSMV2 = CloudHSMV2;
237
- //# sourceMappingURL=CloudHSMV2.js.map
@@ -10,10 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
10
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
11
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
- /**
14
- * <p>For more information about AWS CloudHSM, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a> and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS
15
- * CloudHSM User Guide</a>.</p>
16
- */
17
13
  class CloudHSMV2Client extends smithy_client_1.Client {
18
14
  constructor(configuration) {
19
15
  const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
@@ -32,14 +28,8 @@ class CloudHSMV2Client extends smithy_client_1.Client {
32
28
  this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
33
29
  this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
34
30
  }
35
- /**
36
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
37
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
38
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
39
- */
40
31
  destroy() {
41
32
  super.destroy();
42
33
  }
43
34
  }
44
35
  exports.CloudHSMV2Client = CloudHSMV2Client;
45
- //# sourceMappingURL=CloudHSMV2Client.js.map
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Copy an AWS CloudHSM cluster backup to a different region.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CloudHSMV2Client, CopyBackupToRegionCommand } from "@aws-sdk/client-cloudhsm-v2"; // ES Modules import
14
- * // const { CloudHSMV2Client, CopyBackupToRegionCommand } = require("@aws-sdk/client-cloudhsm-v2"); // CommonJS import
15
- * const client = new CloudHSMV2Client(config);
16
- * const command = new CopyBackupToRegionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CopyBackupToRegionCommandInput} for command's `input` shape.
21
- * @see {@link CopyBackupToRegionCommandOutput} for command's `response` shape.
22
- * @see {@link CloudHSMV2ClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class CopyBackupToRegionCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class CopyBackupToRegionCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.CopyBackupToRegionCommand = CopyBackupToRegionCommand;
61
- //# sourceMappingURL=CopyBackupToRegionCommand.js.map
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Creates a new AWS CloudHSM cluster.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CloudHSMV2Client, CreateClusterCommand } from "@aws-sdk/client-cloudhsm-v2"; // ES Modules import
14
- * // const { CloudHSMV2Client, CreateClusterCommand } = require("@aws-sdk/client-cloudhsm-v2"); // CommonJS import
15
- * const client = new CloudHSMV2Client(config);
16
- * const command = new CreateClusterCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CreateClusterCommandInput} for command's `input` shape.
21
- * @see {@link CreateClusterCommandOutput} for command's `response` shape.
22
- * @see {@link CloudHSMV2ClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class CreateClusterCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class CreateClusterCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.CreateClusterCommand = CreateClusterCommand;
61
- //# sourceMappingURL=CreateClusterCommand.js.map
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Creates a new hardware security module (HSM) in the specified AWS CloudHSM
10
- * cluster.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CloudHSMV2Client, CreateHsmCommand } from "@aws-sdk/client-cloudhsm-v2"; // ES Modules import
15
- * // const { CloudHSMV2Client, CreateHsmCommand } = require("@aws-sdk/client-cloudhsm-v2"); // CommonJS import
16
- * const client = new CloudHSMV2Client(config);
17
- * const command = new CreateHsmCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link CreateHsmCommandInput} for command's `input` shape.
22
- * @see {@link CreateHsmCommandOutput} for command's `response` shape.
23
- * @see {@link CloudHSMV2ClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class CreateHsmCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class CreateHsmCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.CreateHsmCommand = CreateHsmCommand;
62
- //# sourceMappingURL=CreateHsmCommand.js.map
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Deletes a specified AWS CloudHSM backup. A backup can be restored up to 7 days
10
- * after the DeleteBackup request is made. For more information on restoring a backup, see
11
- * <a>RestoreBackup</a>.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { CloudHSMV2Client, DeleteBackupCommand } from "@aws-sdk/client-cloudhsm-v2"; // ES Modules import
16
- * // const { CloudHSMV2Client, DeleteBackupCommand } = require("@aws-sdk/client-cloudhsm-v2"); // CommonJS import
17
- * const client = new CloudHSMV2Client(config);
18
- * const command = new DeleteBackupCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DeleteBackupCommandInput} for command's `input` shape.
23
- * @see {@link DeleteBackupCommandOutput} for command's `response` shape.
24
- * @see {@link CloudHSMV2ClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class DeleteBackupCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -60,4 +34,3 @@ class DeleteBackupCommand extends smithy_client_1.Command {
60
34
  }
61
35
  }
62
36
  exports.DeleteBackupCommand = DeleteBackupCommand;
63
- //# sourceMappingURL=DeleteBackupCommand.js.map
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Deletes the specified AWS CloudHSM cluster. Before you can delete a cluster, you must
10
- * delete all HSMs in the cluster. To see if the cluster contains any HSMs, use <a>DescribeClusters</a>. To delete an HSM, use <a>DeleteHsm</a>.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CloudHSMV2Client, DeleteClusterCommand } from "@aws-sdk/client-cloudhsm-v2"; // ES Modules import
15
- * // const { CloudHSMV2Client, DeleteClusterCommand } = require("@aws-sdk/client-cloudhsm-v2"); // CommonJS import
16
- * const client = new CloudHSMV2Client(config);
17
- * const command = new DeleteClusterCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DeleteClusterCommandInput} for command's `input` shape.
22
- * @see {@link DeleteClusterCommandOutput} for command's `response` shape.
23
- * @see {@link CloudHSMV2ClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class DeleteClusterCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class DeleteClusterCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.DeleteClusterCommand = DeleteClusterCommand;
62
- //# sourceMappingURL=DeleteClusterCommand.js.map
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Deletes the specified HSM. To specify an HSM, you can use its identifier (ID), the IP
10
- * address of the HSM's elastic network interface (ENI), or the ID of the HSM's ENI. You need to
11
- * specify only one of these values. To find these values, use <a>DescribeClusters</a>.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { CloudHSMV2Client, DeleteHsmCommand } from "@aws-sdk/client-cloudhsm-v2"; // ES Modules import
16
- * // const { CloudHSMV2Client, DeleteHsmCommand } = require("@aws-sdk/client-cloudhsm-v2"); // CommonJS import
17
- * const client = new CloudHSMV2Client(config);
18
- * const command = new DeleteHsmCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DeleteHsmCommandInput} for command's `input` shape.
23
- * @see {@link DeleteHsmCommandOutput} for command's `response` shape.
24
- * @see {@link CloudHSMV2ClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class DeleteHsmCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -60,4 +34,3 @@ class DeleteHsmCommand extends smithy_client_1.Command {
60
34
  }
61
35
  }
62
36
  exports.DeleteHsmCommand = DeleteHsmCommand;
63
- //# sourceMappingURL=DeleteHsmCommand.js.map
@@ -5,40 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Gets information about backups of AWS CloudHSM clusters.</p>
10
- * <p>This is a paginated operation, which means that each response might contain only a
11
- * subset of all the backups. When the response contains only a subset of backups, it includes a
12
- * <code>NextToken</code> value. Use this value in a subsequent <code>DescribeBackups</code>
13
- * request to get more backups. When you receive a response with no <code>NextToken</code> (or an
14
- * empty or null value), that means there are no more backups to get.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { CloudHSMV2Client, DescribeBackupsCommand } from "@aws-sdk/client-cloudhsm-v2"; // ES Modules import
19
- * // const { CloudHSMV2Client, DescribeBackupsCommand } = require("@aws-sdk/client-cloudhsm-v2"); // CommonJS import
20
- * const client = new CloudHSMV2Client(config);
21
- * const command = new DescribeBackupsCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link DescribeBackupsCommandInput} for command's `input` shape.
26
- * @see {@link DescribeBackupsCommandOutput} for command's `response` shape.
27
- * @see {@link CloudHSMV2ClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
8
  class DescribeBackupsCommand extends smithy_client_1.Command {
31
- // Start section: command_properties
32
- // End section: command_properties
33
9
  constructor(input) {
34
- // Start section: command_constructor
35
10
  super();
36
11
  this.input = input;
37
- // End section: command_constructor
38
12
  }
39
- /**
40
- * @internal
41
- */
42
13
  resolveMiddleware(clientStack, configuration, options) {
43
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
44
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -63,4 +34,3 @@ class DescribeBackupsCommand extends smithy_client_1.Command {
63
34
  }
64
35
  }
65
36
  exports.DescribeBackupsCommand = DescribeBackupsCommand;
66
- //# sourceMappingURL=DescribeBackupsCommand.js.map
@@ -5,40 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Gets information about AWS CloudHSM clusters.</p>
10
- * <p>This is a paginated operation, which means that each response might contain only a
11
- * subset of all the clusters. When the response contains only a subset of clusters, it includes
12
- * a <code>NextToken</code> value. Use this value in a subsequent <code>DescribeClusters</code>
13
- * request to get more clusters. When you receive a response with no <code>NextToken</code> (or
14
- * an empty or null value), that means there are no more clusters to get.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { CloudHSMV2Client, DescribeClustersCommand } from "@aws-sdk/client-cloudhsm-v2"; // ES Modules import
19
- * // const { CloudHSMV2Client, DescribeClustersCommand } = require("@aws-sdk/client-cloudhsm-v2"); // CommonJS import
20
- * const client = new CloudHSMV2Client(config);
21
- * const command = new DescribeClustersCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link DescribeClustersCommandInput} for command's `input` shape.
26
- * @see {@link DescribeClustersCommandOutput} for command's `response` shape.
27
- * @see {@link CloudHSMV2ClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
8
  class DescribeClustersCommand extends smithy_client_1.Command {
31
- // Start section: command_properties
32
- // End section: command_properties
33
9
  constructor(input) {
34
- // Start section: command_constructor
35
10
  super();
36
11
  this.input = input;
37
- // End section: command_constructor
38
12
  }
39
- /**
40
- * @internal
41
- */
42
13
  resolveMiddleware(clientStack, configuration, options) {
43
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
44
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -63,4 +34,3 @@ class DescribeClustersCommand extends smithy_client_1.Command {
63
34
  }
64
35
  }
65
36
  exports.DescribeClustersCommand = DescribeClustersCommand;
66
- //# sourceMappingURL=DescribeClustersCommand.js.map
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Claims an AWS CloudHSM cluster by submitting the cluster certificate issued by your
10
- * issuing certificate authority (CA) and the CA's root certificate. Before you can claim a
11
- * cluster, you must sign the cluster's certificate signing request (CSR) with your issuing CA.
12
- * To get the cluster's CSR, use <a>DescribeClusters</a>.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { CloudHSMV2Client, InitializeClusterCommand } from "@aws-sdk/client-cloudhsm-v2"; // ES Modules import
17
- * // const { CloudHSMV2Client, InitializeClusterCommand } = require("@aws-sdk/client-cloudhsm-v2"); // CommonJS import
18
- * const client = new CloudHSMV2Client(config);
19
- * const command = new InitializeClusterCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link InitializeClusterCommandInput} for command's `input` shape.
24
- * @see {@link InitializeClusterCommandOutput} for command's `response` shape.
25
- * @see {@link CloudHSMV2ClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class InitializeClusterCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -61,4 +34,3 @@ class InitializeClusterCommand extends smithy_client_1.Command {
61
34
  }
62
35
  }
63
36
  exports.InitializeClusterCommand = InitializeClusterCommand;
64
- //# sourceMappingURL=InitializeClusterCommand.js.map
@@ -5,40 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Gets a list of tags for the specified AWS CloudHSM cluster.</p>
10
- * <p>This is a paginated operation, which means that each response might contain only a
11
- * subset of all the tags. When the response contains only a subset of tags, it includes a
12
- * <code>NextToken</code> value. Use this value in a subsequent <code>ListTags</code> request to
13
- * get more tags. When you receive a response with no <code>NextToken</code> (or an empty or null
14
- * value), that means there are no more tags to get.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { CloudHSMV2Client, ListTagsCommand } from "@aws-sdk/client-cloudhsm-v2"; // ES Modules import
19
- * // const { CloudHSMV2Client, ListTagsCommand } = require("@aws-sdk/client-cloudhsm-v2"); // CommonJS import
20
- * const client = new CloudHSMV2Client(config);
21
- * const command = new ListTagsCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link ListTagsCommandInput} for command's `input` shape.
26
- * @see {@link ListTagsCommandOutput} for command's `response` shape.
27
- * @see {@link CloudHSMV2ClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
8
  class ListTagsCommand extends smithy_client_1.Command {
31
- // Start section: command_properties
32
- // End section: command_properties
33
9
  constructor(input) {
34
- // Start section: command_constructor
35
10
  super();
36
11
  this.input = input;
37
- // End section: command_constructor
38
12
  }
39
- /**
40
- * @internal
41
- */
42
13
  resolveMiddleware(clientStack, configuration, options) {
43
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
44
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -63,4 +34,3 @@ class ListTagsCommand extends smithy_client_1.Command {
63
34
  }
64
35
  }
65
36
  exports.ListTagsCommand = ListTagsCommand;
66
- //# sourceMappingURL=ListTagsCommand.js.map
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Modifies attributes for AWS CloudHSM backup.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CloudHSMV2Client, ModifyBackupAttributesCommand } from "@aws-sdk/client-cloudhsm-v2"; // ES Modules import
14
- * // const { CloudHSMV2Client, ModifyBackupAttributesCommand } = require("@aws-sdk/client-cloudhsm-v2"); // CommonJS import
15
- * const client = new CloudHSMV2Client(config);
16
- * const command = new ModifyBackupAttributesCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ModifyBackupAttributesCommandInput} for command's `input` shape.
21
- * @see {@link ModifyBackupAttributesCommandOutput} for command's `response` shape.
22
- * @see {@link CloudHSMV2ClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ModifyBackupAttributesCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class ModifyBackupAttributesCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.ModifyBackupAttributesCommand = ModifyBackupAttributesCommand;
61
- //# sourceMappingURL=ModifyBackupAttributesCommand.js.map
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Modifies AWS CloudHSM cluster.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CloudHSMV2Client, ModifyClusterCommand } from "@aws-sdk/client-cloudhsm-v2"; // ES Modules import
14
- * // const { CloudHSMV2Client, ModifyClusterCommand } = require("@aws-sdk/client-cloudhsm-v2"); // CommonJS import
15
- * const client = new CloudHSMV2Client(config);
16
- * const command = new ModifyClusterCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ModifyClusterCommandInput} for command's `input` shape.
21
- * @see {@link ModifyClusterCommandOutput} for command's `response` shape.
22
- * @see {@link CloudHSMV2ClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ModifyClusterCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class ModifyClusterCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.ModifyClusterCommand = ModifyClusterCommand;
61
- //# sourceMappingURL=ModifyClusterCommand.js.map
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Restores a specified AWS CloudHSM backup that is in the
10
- * <code>PENDING_DELETION</code> state. For mor information on deleting a backup, see
11
- * <a>DeleteBackup</a>.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { CloudHSMV2Client, RestoreBackupCommand } from "@aws-sdk/client-cloudhsm-v2"; // ES Modules import
16
- * // const { CloudHSMV2Client, RestoreBackupCommand } = require("@aws-sdk/client-cloudhsm-v2"); // CommonJS import
17
- * const client = new CloudHSMV2Client(config);
18
- * const command = new RestoreBackupCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link RestoreBackupCommandInput} for command's `input` shape.
23
- * @see {@link RestoreBackupCommandOutput} for command's `response` shape.
24
- * @see {@link CloudHSMV2ClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class RestoreBackupCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -60,4 +34,3 @@ class RestoreBackupCommand extends smithy_client_1.Command {
60
34
  }
61
35
  }
62
36
  exports.RestoreBackupCommand = RestoreBackupCommand;
63
- //# sourceMappingURL=RestoreBackupCommand.js.map