@aws-sdk/client-cloudhsm 3.36.0 → 3.39.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 (67) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/CloudHSM.js +0 -13
  3. package/dist-cjs/CloudHSMClient.js +0 -18
  4. package/dist-cjs/commands/AddTagsToResourceCommand.js +0 -36
  5. package/dist-cjs/commands/CreateHapgCommand.js +0 -35
  6. package/dist-cjs/commands/CreateHsmCommand.js +0 -43
  7. package/dist-cjs/commands/CreateLunaClientCommand.js +0 -34
  8. package/dist-cjs/commands/DeleteHapgCommand.js +0 -34
  9. package/dist-cjs/commands/DeleteHsmCommand.js +0 -35
  10. package/dist-cjs/commands/DeleteLunaClientCommand.js +0 -34
  11. package/dist-cjs/commands/DescribeHapgCommand.js +0 -34
  12. package/dist-cjs/commands/DescribeHsmCommand.js +0 -35
  13. package/dist-cjs/commands/DescribeLunaClientCommand.js +0 -34
  14. package/dist-cjs/commands/GetConfigCommand.js +0 -35
  15. package/dist-cjs/commands/ListAvailableZonesCommand.js +0 -34
  16. package/dist-cjs/commands/ListHapgsCommand.js +0 -38
  17. package/dist-cjs/commands/ListHsmsCommand.js +0 -39
  18. package/dist-cjs/commands/ListLunaClientsCommand.js +0 -38
  19. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -34
  20. package/dist-cjs/commands/ModifyHapgCommand.js +0 -34
  21. package/dist-cjs/commands/ModifyHsmCommand.js +0 -40
  22. package/dist-cjs/commands/ModifyLunaClientCommand.js +0 -36
  23. package/dist-cjs/commands/RemoveTagsFromResourceCommand.js +0 -36
  24. package/dist-cjs/commands/index.js +23 -0
  25. package/dist-cjs/endpoints.js +6 -1
  26. package/dist-cjs/index.js +3 -22
  27. package/dist-cjs/models/models_0.js +0 -132
  28. package/dist-cjs/protocols/Aws_json1_1.js +0 -5
  29. package/dist-cjs/runtimeConfig.browser.js +1 -5
  30. package/dist-cjs/runtimeConfig.js +1 -5
  31. package/dist-cjs/runtimeConfig.native.js +0 -3
  32. package/dist-cjs/runtimeConfig.shared.js +0 -3
  33. package/dist-es/commands/index.js +20 -0
  34. package/dist-es/endpoints.js +6 -1
  35. package/dist-es/index.js +3 -22
  36. package/dist-types/commands/index.d.ts +20 -0
  37. package/dist-types/index.d.ts +3 -22
  38. package/dist-types/ts3.4/CloudHSM.d.ts +21 -311
  39. package/dist-types/ts3.4/CloudHSMClient.d.ts +24 -99
  40. package/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts +2 -32
  41. package/dist-types/ts3.4/commands/CreateHapgCommand.d.ts +2 -31
  42. package/dist-types/ts3.4/commands/CreateHsmCommand.d.ts +2 -39
  43. package/dist-types/ts3.4/commands/CreateLunaClientCommand.d.ts +2 -30
  44. package/dist-types/ts3.4/commands/DeleteHapgCommand.d.ts +2 -30
  45. package/dist-types/ts3.4/commands/DeleteHsmCommand.d.ts +2 -31
  46. package/dist-types/ts3.4/commands/DeleteLunaClientCommand.d.ts +2 -30
  47. package/dist-types/ts3.4/commands/DescribeHapgCommand.d.ts +2 -30
  48. package/dist-types/ts3.4/commands/DescribeHsmCommand.d.ts +2 -31
  49. package/dist-types/ts3.4/commands/DescribeLunaClientCommand.d.ts +2 -30
  50. package/dist-types/ts3.4/commands/GetConfigCommand.d.ts +2 -31
  51. package/dist-types/ts3.4/commands/ListAvailableZonesCommand.d.ts +2 -30
  52. package/dist-types/ts3.4/commands/ListHapgsCommand.d.ts +2 -34
  53. package/dist-types/ts3.4/commands/ListHsmsCommand.d.ts +2 -35
  54. package/dist-types/ts3.4/commands/ListLunaClientsCommand.d.ts +2 -34
  55. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -30
  56. package/dist-types/ts3.4/commands/ModifyHapgCommand.d.ts +2 -30
  57. package/dist-types/ts3.4/commands/ModifyHsmCommand.d.ts +2 -36
  58. package/dist-types/ts3.4/commands/ModifyLunaClientCommand.d.ts +2 -32
  59. package/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +2 -32
  60. package/dist-types/ts3.4/commands/index.d.ts +20 -0
  61. package/dist-types/ts3.4/index.d.ts +3 -22
  62. package/dist-types/ts3.4/models/models_0.d.ts +172 -565
  63. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  64. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  65. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  66. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  67. package/package.json +32 -32
package/CHANGELOG.md CHANGED
@@ -3,6 +3,48 @@
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.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-cloudhsm
9
+
10
+
11
+
12
+
13
+
14
+ # [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
15
+
16
+
17
+ ### Features
18
+
19
+ * **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))
20
+ * **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))
21
+
22
+
23
+
24
+
25
+
26
+ # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
27
+
28
+
29
+ ### Features
30
+
31
+ * **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))
32
+
33
+
34
+
35
+
36
+
37
+ ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
38
+
39
+
40
+ ### Bug Fixes
41
+
42
+ * **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))
43
+
44
+
45
+
46
+
47
+
6
48
  # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
7
49
 
8
50
 
@@ -22,19 +22,6 @@ const ModifyHapgCommand_1 = require("./commands/ModifyHapgCommand");
22
22
  const ModifyHsmCommand_1 = require("./commands/ModifyHsmCommand");
23
23
  const ModifyLunaClientCommand_1 = require("./commands/ModifyLunaClientCommand");
24
24
  const RemoveTagsFromResourceCommand_1 = require("./commands/RemoveTagsFromResourceCommand");
25
- /**
26
- * <fullname>AWS CloudHSM Service</fullname>
27
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
28
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
29
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
30
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
31
- * <p>
32
- * <b>For information about the current version of AWS
33
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
34
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
35
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
36
- * Reference</a>.</p>
37
- */
38
25
  class CloudHSM extends CloudHSMClient_1.CloudHSMClient {
39
26
  addTagsToResource(args, optionsOrCb, cb) {
40
27
  const command = new AddTagsToResourceCommand_1.AddTagsToResourceCommand(args);
@@ -10,19 +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
- * <fullname>AWS CloudHSM Service</fullname>
15
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
16
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
17
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
18
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
19
- * <p>
20
- * <b>For information about the current version of AWS
21
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
22
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
23
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
24
- * Reference</a>.</p>
25
- */
26
13
  class CloudHSMClient extends smithy_client_1.Client {
27
14
  constructor(configuration) {
28
15
  const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
@@ -41,11 +28,6 @@ class CloudHSMClient extends smithy_client_1.Client {
41
28
  this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
42
29
  this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
43
30
  }
44
- /**
45
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
46
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
47
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
48
- */
49
31
  destroy() {
50
32
  super.destroy();
51
33
  }
@@ -5,47 +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>This is documentation for <b>AWS CloudHSM Classic</b>. For
10
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
11
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
12
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
13
- * <p>
14
- * <b>For information about the current version of AWS
15
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
16
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
17
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
18
- * Reference</a>.</p>
19
- * <p>Adds or overwrites one or more tags for the specified AWS CloudHSM resource.</p>
20
- * <p>Each tag consists of a key and a value. Tag keys must be unique to each
21
- * resource.</p>
22
- * @example
23
- * Use a bare-bones client and the command you need to make an API call.
24
- * ```javascript
25
- * import { CloudHSMClient, AddTagsToResourceCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
26
- * // const { CloudHSMClient, AddTagsToResourceCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
27
- * const client = new CloudHSMClient(config);
28
- * const command = new AddTagsToResourceCommand(input);
29
- * const response = await client.send(command);
30
- * ```
31
- *
32
- * @see {@link AddTagsToResourceCommandInput} for command's `input` shape.
33
- * @see {@link AddTagsToResourceCommandOutput} for command's `response` shape.
34
- * @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
35
- *
36
- */
37
8
  class AddTagsToResourceCommand extends smithy_client_1.Command {
38
- // Start section: command_properties
39
- // End section: command_properties
40
9
  constructor(input) {
41
- // Start section: command_constructor
42
10
  super();
43
11
  this.input = input;
44
- // End section: command_constructor
45
12
  }
46
- /**
47
- * @internal
48
- */
49
13
  resolveMiddleware(clientStack, configuration, options) {
50
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
51
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,46 +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>This is documentation for <b>AWS CloudHSM Classic</b>. For
10
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
11
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
12
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
13
- * <p>
14
- * <b>For information about the current version of AWS
15
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
16
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
17
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
18
- * Reference</a>.</p>
19
- * <p>Creates a high-availability partition group. A high-availability partition group is a
20
- * group of partitions that spans multiple physical HSMs.</p>
21
- * @example
22
- * Use a bare-bones client and the command you need to make an API call.
23
- * ```javascript
24
- * import { CloudHSMClient, CreateHapgCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
25
- * // const { CloudHSMClient, CreateHapgCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
26
- * const client = new CloudHSMClient(config);
27
- * const command = new CreateHapgCommand(input);
28
- * const response = await client.send(command);
29
- * ```
30
- *
31
- * @see {@link CreateHapgCommandInput} for command's `input` shape.
32
- * @see {@link CreateHapgCommandOutput} for command's `response` shape.
33
- * @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
34
- *
35
- */
36
8
  class CreateHapgCommand extends smithy_client_1.Command {
37
- // Start section: command_properties
38
- // End section: command_properties
39
9
  constructor(input) {
40
- // Start section: command_constructor
41
10
  super();
42
11
  this.input = input;
43
- // End section: command_constructor
44
12
  }
45
- /**
46
- * @internal
47
- */
48
13
  resolveMiddleware(clientStack, configuration, options) {
49
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
50
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,54 +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>This is documentation for <b>AWS CloudHSM Classic</b>. For
10
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
11
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
12
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
13
- * <p>
14
- * <b>For information about the current version of AWS
15
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
16
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
17
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
18
- * Reference</a>.</p>
19
- * <p>Creates an uninitialized HSM instance.</p>
20
- * <p>There is an upfront fee charged for each HSM instance that you create with the
21
- * <code>CreateHsm</code> operation. If you accidentally provision an HSM and want to request a
22
- * refund, delete the instance using the <a>DeleteHsm</a> operation, go to the <a href="https://console.aws.amazon.com/support/home">AWS Support Center</a>, create a new case, and select
23
- * <b>Account and Billing Support</b>.</p>
24
- * <important>
25
- * <p>It can take up to 20 minutes to create and provision an HSM. You can monitor the
26
- * status of the HSM with the <a>DescribeHsm</a> operation. The HSM is ready to be
27
- * initialized when the status changes to <code>RUNNING</code>.</p>
28
- * </important>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { CloudHSMClient, CreateHsmCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
33
- * // const { CloudHSMClient, CreateHsmCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
34
- * const client = new CloudHSMClient(config);
35
- * const command = new CreateHsmCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link CreateHsmCommandInput} for command's `input` shape.
40
- * @see {@link CreateHsmCommandOutput} for command's `response` shape.
41
- * @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
8
  class CreateHsmCommand extends smithy_client_1.Command {
45
- // Start section: command_properties
46
- // End section: command_properties
47
9
  constructor(input) {
48
- // Start section: command_constructor
49
10
  super();
50
11
  this.input = input;
51
- // End section: command_constructor
52
12
  }
53
- /**
54
- * @internal
55
- */
56
13
  resolveMiddleware(clientStack, configuration, options) {
57
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
58
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,45 +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>This is documentation for <b>AWS CloudHSM Classic</b>. For
10
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
11
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
12
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
13
- * <p>
14
- * <b>For information about the current version of AWS
15
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
16
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
17
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
18
- * Reference</a>.</p>
19
- * <p>Creates an HSM client.</p>
20
- * @example
21
- * Use a bare-bones client and the command you need to make an API call.
22
- * ```javascript
23
- * import { CloudHSMClient, CreateLunaClientCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
24
- * // const { CloudHSMClient, CreateLunaClientCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
25
- * const client = new CloudHSMClient(config);
26
- * const command = new CreateLunaClientCommand(input);
27
- * const response = await client.send(command);
28
- * ```
29
- *
30
- * @see {@link CreateLunaClientCommandInput} for command's `input` shape.
31
- * @see {@link CreateLunaClientCommandOutput} for command's `response` shape.
32
- * @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
33
- *
34
- */
35
8
  class CreateLunaClientCommand extends smithy_client_1.Command {
36
- // Start section: command_properties
37
- // End section: command_properties
38
9
  constructor(input) {
39
- // Start section: command_constructor
40
10
  super();
41
11
  this.input = input;
42
- // End section: command_constructor
43
12
  }
44
- /**
45
- * @internal
46
- */
47
13
  resolveMiddleware(clientStack, configuration, options) {
48
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
49
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,45 +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>This is documentation for <b>AWS CloudHSM Classic</b>. For
10
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
11
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
12
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
13
- * <p>
14
- * <b>For information about the current version of AWS
15
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
16
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
17
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
18
- * Reference</a>.</p>
19
- * <p>Deletes a high-availability partition group.</p>
20
- * @example
21
- * Use a bare-bones client and the command you need to make an API call.
22
- * ```javascript
23
- * import { CloudHSMClient, DeleteHapgCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
24
- * // const { CloudHSMClient, DeleteHapgCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
25
- * const client = new CloudHSMClient(config);
26
- * const command = new DeleteHapgCommand(input);
27
- * const response = await client.send(command);
28
- * ```
29
- *
30
- * @see {@link DeleteHapgCommandInput} for command's `input` shape.
31
- * @see {@link DeleteHapgCommandOutput} for command's `response` shape.
32
- * @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
33
- *
34
- */
35
8
  class DeleteHapgCommand extends smithy_client_1.Command {
36
- // Start section: command_properties
37
- // End section: command_properties
38
9
  constructor(input) {
39
- // Start section: command_constructor
40
10
  super();
41
11
  this.input = input;
42
- // End section: command_constructor
43
12
  }
44
- /**
45
- * @internal
46
- */
47
13
  resolveMiddleware(clientStack, configuration, options) {
48
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
49
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,46 +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>This is documentation for <b>AWS CloudHSM Classic</b>. For
10
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
11
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
12
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
13
- * <p>
14
- * <b>For information about the current version of AWS
15
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
16
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
17
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
18
- * Reference</a>.</p>
19
- * <p>Deletes an HSM. After completion, this operation cannot be undone and your key material
20
- * cannot be recovered.</p>
21
- * @example
22
- * Use a bare-bones client and the command you need to make an API call.
23
- * ```javascript
24
- * import { CloudHSMClient, DeleteHsmCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
25
- * // const { CloudHSMClient, DeleteHsmCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
26
- * const client = new CloudHSMClient(config);
27
- * const command = new DeleteHsmCommand(input);
28
- * const response = await client.send(command);
29
- * ```
30
- *
31
- * @see {@link DeleteHsmCommandInput} for command's `input` shape.
32
- * @see {@link DeleteHsmCommandOutput} for command's `response` shape.
33
- * @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
34
- *
35
- */
36
8
  class DeleteHsmCommand extends smithy_client_1.Command {
37
- // Start section: command_properties
38
- // End section: command_properties
39
9
  constructor(input) {
40
- // Start section: command_constructor
41
10
  super();
42
11
  this.input = input;
43
- // End section: command_constructor
44
12
  }
45
- /**
46
- * @internal
47
- */
48
13
  resolveMiddleware(clientStack, configuration, options) {
49
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
50
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,45 +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>This is documentation for <b>AWS CloudHSM Classic</b>. For
10
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
11
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
12
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
13
- * <p>
14
- * <b>For information about the current version of AWS
15
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
16
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
17
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
18
- * Reference</a>.</p>
19
- * <p>Deletes a client.</p>
20
- * @example
21
- * Use a bare-bones client and the command you need to make an API call.
22
- * ```javascript
23
- * import { CloudHSMClient, DeleteLunaClientCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
24
- * // const { CloudHSMClient, DeleteLunaClientCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
25
- * const client = new CloudHSMClient(config);
26
- * const command = new DeleteLunaClientCommand(input);
27
- * const response = await client.send(command);
28
- * ```
29
- *
30
- * @see {@link DeleteLunaClientCommandInput} for command's `input` shape.
31
- * @see {@link DeleteLunaClientCommandOutput} for command's `response` shape.
32
- * @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
33
- *
34
- */
35
8
  class DeleteLunaClientCommand extends smithy_client_1.Command {
36
- // Start section: command_properties
37
- // End section: command_properties
38
9
  constructor(input) {
39
- // Start section: command_constructor
40
10
  super();
41
11
  this.input = input;
42
- // End section: command_constructor
43
12
  }
44
- /**
45
- * @internal
46
- */
47
13
  resolveMiddleware(clientStack, configuration, options) {
48
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
49
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,45 +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>This is documentation for <b>AWS CloudHSM Classic</b>. For
10
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
11
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
12
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
13
- * <p>
14
- * <b>For information about the current version of AWS
15
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
16
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
17
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
18
- * Reference</a>.</p>
19
- * <p>Retrieves information about a high-availability partition group.</p>
20
- * @example
21
- * Use a bare-bones client and the command you need to make an API call.
22
- * ```javascript
23
- * import { CloudHSMClient, DescribeHapgCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
24
- * // const { CloudHSMClient, DescribeHapgCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
25
- * const client = new CloudHSMClient(config);
26
- * const command = new DescribeHapgCommand(input);
27
- * const response = await client.send(command);
28
- * ```
29
- *
30
- * @see {@link DescribeHapgCommandInput} for command's `input` shape.
31
- * @see {@link DescribeHapgCommandOutput} for command's `response` shape.
32
- * @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
33
- *
34
- */
35
8
  class DescribeHapgCommand extends smithy_client_1.Command {
36
- // Start section: command_properties
37
- // End section: command_properties
38
9
  constructor(input) {
39
- // Start section: command_constructor
40
10
  super();
41
11
  this.input = input;
42
- // End section: command_constructor
43
12
  }
44
- /**
45
- * @internal
46
- */
47
13
  resolveMiddleware(clientStack, configuration, options) {
48
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
49
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,46 +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>This is documentation for <b>AWS CloudHSM Classic</b>. For
10
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
11
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
12
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
13
- * <p>
14
- * <b>For information about the current version of AWS
15
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
16
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
17
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
18
- * Reference</a>.</p>
19
- * <p>Retrieves information about an HSM. You can identify the HSM by its ARN or its serial
20
- * number.</p>
21
- * @example
22
- * Use a bare-bones client and the command you need to make an API call.
23
- * ```javascript
24
- * import { CloudHSMClient, DescribeHsmCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
25
- * // const { CloudHSMClient, DescribeHsmCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
26
- * const client = new CloudHSMClient(config);
27
- * const command = new DescribeHsmCommand(input);
28
- * const response = await client.send(command);
29
- * ```
30
- *
31
- * @see {@link DescribeHsmCommandInput} for command's `input` shape.
32
- * @see {@link DescribeHsmCommandOutput} for command's `response` shape.
33
- * @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
34
- *
35
- */
36
8
  class DescribeHsmCommand extends smithy_client_1.Command {
37
- // Start section: command_properties
38
- // End section: command_properties
39
9
  constructor(input) {
40
- // Start section: command_constructor
41
10
  super();
42
11
  this.input = input;
43
- // End section: command_constructor
44
12
  }
45
- /**
46
- * @internal
47
- */
48
13
  resolveMiddleware(clientStack, configuration, options) {
49
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
50
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,45 +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>This is documentation for <b>AWS CloudHSM Classic</b>. For
10
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
11
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
12
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
13
- * <p>
14
- * <b>For information about the current version of AWS
15
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
16
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
17
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
18
- * Reference</a>.</p>
19
- * <p>Retrieves information about an HSM client.</p>
20
- * @example
21
- * Use a bare-bones client and the command you need to make an API call.
22
- * ```javascript
23
- * import { CloudHSMClient, DescribeLunaClientCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
24
- * // const { CloudHSMClient, DescribeLunaClientCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
25
- * const client = new CloudHSMClient(config);
26
- * const command = new DescribeLunaClientCommand(input);
27
- * const response = await client.send(command);
28
- * ```
29
- *
30
- * @see {@link DescribeLunaClientCommandInput} for command's `input` shape.
31
- * @see {@link DescribeLunaClientCommandOutput} for command's `response` shape.
32
- * @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
33
- *
34
- */
35
8
  class DescribeLunaClientCommand extends smithy_client_1.Command {
36
- // Start section: command_properties
37
- // End section: command_properties
38
9
  constructor(input) {
39
- // Start section: command_constructor
40
10
  super();
41
11
  this.input = input;
42
- // End section: command_constructor
43
12
  }
44
- /**
45
- * @internal
46
- */
47
13
  resolveMiddleware(clientStack, configuration, options) {
48
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
49
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,46 +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>This is documentation for <b>AWS CloudHSM Classic</b>. For
10
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
11
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
12
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
13
- * <p>
14
- * <b>For information about the current version of AWS
15
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
16
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
17
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
18
- * Reference</a>.</p>
19
- * <p>Gets the configuration files necessary to connect to all high availability partition
20
- * groups the client is associated with.</p>
21
- * @example
22
- * Use a bare-bones client and the command you need to make an API call.
23
- * ```javascript
24
- * import { CloudHSMClient, GetConfigCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
25
- * // const { CloudHSMClient, GetConfigCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
26
- * const client = new CloudHSMClient(config);
27
- * const command = new GetConfigCommand(input);
28
- * const response = await client.send(command);
29
- * ```
30
- *
31
- * @see {@link GetConfigCommandInput} for command's `input` shape.
32
- * @see {@link GetConfigCommandOutput} for command's `response` shape.
33
- * @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
34
- *
35
- */
36
8
  class GetConfigCommand extends smithy_client_1.Command {
37
- // Start section: command_properties
38
- // End section: command_properties
39
9
  constructor(input) {
40
- // Start section: command_constructor
41
10
  super();
42
11
  this.input = input;
43
- // End section: command_constructor
44
12
  }
45
- /**
46
- * @internal
47
- */
48
13
  resolveMiddleware(clientStack, configuration, options) {
49
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
50
15
  const stack = clientStack.concat(this.middlewareStack);