@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
@@ -6,39 +6,11 @@ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequ
6
6
  }
7
7
  export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
11
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
12
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
13
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
14
- * <p>
15
- * <b>For information about the current version of AWS
16
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
17
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
18
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
19
- * Reference</a>.</p>
20
- * <p>Returns a list of all tags for the specified AWS CloudHSM resource.</p>
21
- * @example
22
- * Use a bare-bones client and the command you need to make an API call.
23
- * ```javascript
24
- * import { CloudHSMClient, ListTagsForResourceCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
25
- * // const { CloudHSMClient, ListTagsForResourceCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
26
- * const client = new CloudHSMClient(config);
27
- * const command = new ListTagsForResourceCommand(input);
28
- * const response = await client.send(command);
29
- * ```
30
- *
31
- * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
32
- * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
33
- * @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
34
- *
35
- */
9
+
36
10
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CloudHSMClientResolvedConfig> {
37
11
  readonly input: ListTagsForResourceCommandInput;
38
12
  constructor(input: ListTagsForResourceCommandInput);
39
- /**
40
- * @internal
41
- */
13
+
42
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudHSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
43
15
  private serialize;
44
16
  private deserialize;
@@ -6,39 +6,11 @@ export interface ModifyHapgCommandInput extends ModifyHapgRequest {
6
6
  }
7
7
  export interface ModifyHapgCommandOutput extends ModifyHapgResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
11
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
12
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
13
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
14
- * <p>
15
- * <b>For information about the current version of AWS
16
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
17
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
18
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
19
- * Reference</a>.</p>
20
- * <p>Modifies an existing high-availability partition group.</p>
21
- * @example
22
- * Use a bare-bones client and the command you need to make an API call.
23
- * ```javascript
24
- * import { CloudHSMClient, ModifyHapgCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
25
- * // const { CloudHSMClient, ModifyHapgCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
26
- * const client = new CloudHSMClient(config);
27
- * const command = new ModifyHapgCommand(input);
28
- * const response = await client.send(command);
29
- * ```
30
- *
31
- * @see {@link ModifyHapgCommandInput} for command's `input` shape.
32
- * @see {@link ModifyHapgCommandOutput} for command's `response` shape.
33
- * @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
34
- *
35
- */
9
+
36
10
  export declare class ModifyHapgCommand extends $Command<ModifyHapgCommandInput, ModifyHapgCommandOutput, CloudHSMClientResolvedConfig> {
37
11
  readonly input: ModifyHapgCommandInput;
38
12
  constructor(input: ModifyHapgCommandInput);
39
- /**
40
- * @internal
41
- */
13
+
42
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudHSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ModifyHapgCommandInput, ModifyHapgCommandOutput>;
43
15
  private serialize;
44
16
  private deserialize;
@@ -6,45 +6,11 @@ export interface ModifyHsmCommandInput extends ModifyHsmRequest {
6
6
  }
7
7
  export interface ModifyHsmCommandOutput extends ModifyHsmResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
11
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
12
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
13
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
14
- * <p>
15
- * <b>For information about the current version of AWS
16
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
17
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
18
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
19
- * Reference</a>.</p>
20
- * <p>Modifies an HSM.</p>
21
- * <important>
22
- * <p>This operation can result in the HSM being offline for up to 15 minutes while the AWS
23
- * CloudHSM service is reconfigured. If you are modifying a production HSM, you should ensure
24
- * that your AWS CloudHSM service is configured for high availability, and consider executing this
25
- * operation during a maintenance window.</p>
26
- * </important>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { CloudHSMClient, ModifyHsmCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
31
- * // const { CloudHSMClient, ModifyHsmCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
32
- * const client = new CloudHSMClient(config);
33
- * const command = new ModifyHsmCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link ModifyHsmCommandInput} for command's `input` shape.
38
- * @see {@link ModifyHsmCommandOutput} for command's `response` shape.
39
- * @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
9
+
42
10
  export declare class ModifyHsmCommand extends $Command<ModifyHsmCommandInput, ModifyHsmCommandOutput, CloudHSMClientResolvedConfig> {
43
11
  readonly input: ModifyHsmCommandInput;
44
12
  constructor(input: ModifyHsmCommandInput);
45
- /**
46
- * @internal
47
- */
13
+
48
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudHSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ModifyHsmCommandInput, ModifyHsmCommandOutput>;
49
15
  private serialize;
50
16
  private deserialize;
@@ -6,41 +6,11 @@ export interface ModifyLunaClientCommandInput extends ModifyLunaClientRequest {
6
6
  }
7
7
  export interface ModifyLunaClientCommandOutput extends ModifyLunaClientResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
11
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
12
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
13
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
14
- * <p>
15
- * <b>For information about the current version of AWS
16
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
17
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
18
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
19
- * Reference</a>.</p>
20
- * <p>Modifies the certificate used by the client.</p>
21
- * <p>This action can potentially start a workflow to install the new certificate on the
22
- * client's HSMs.</p>
23
- * @example
24
- * Use a bare-bones client and the command you need to make an API call.
25
- * ```javascript
26
- * import { CloudHSMClient, ModifyLunaClientCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
27
- * // const { CloudHSMClient, ModifyLunaClientCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
28
- * const client = new CloudHSMClient(config);
29
- * const command = new ModifyLunaClientCommand(input);
30
- * const response = await client.send(command);
31
- * ```
32
- *
33
- * @see {@link ModifyLunaClientCommandInput} for command's `input` shape.
34
- * @see {@link ModifyLunaClientCommandOutput} for command's `response` shape.
35
- * @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
36
- *
37
- */
9
+
38
10
  export declare class ModifyLunaClientCommand extends $Command<ModifyLunaClientCommandInput, ModifyLunaClientCommandOutput, CloudHSMClientResolvedConfig> {
39
11
  readonly input: ModifyLunaClientCommandInput;
40
12
  constructor(input: ModifyLunaClientCommandInput);
41
- /**
42
- * @internal
43
- */
13
+
44
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudHSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ModifyLunaClientCommandInput, ModifyLunaClientCommandOutput>;
45
15
  private serialize;
46
16
  private deserialize;
@@ -6,41 +6,11 @@ export interface RemoveTagsFromResourceCommandInput extends RemoveTagsFromResour
6
6
  }
7
7
  export interface RemoveTagsFromResourceCommandOutput extends RemoveTagsFromResourceResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
11
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
12
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
13
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
14
- * <p>
15
- * <b>For information about the current version of AWS
16
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
17
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
18
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
19
- * Reference</a>.</p>
20
- * <p>Removes one or more tags from the specified AWS CloudHSM resource.</p>
21
- * <p>To remove a tag, specify only the tag key to remove (not the value). To overwrite the
22
- * value for an existing tag, use <a>AddTagsToResource</a>.</p>
23
- * @example
24
- * Use a bare-bones client and the command you need to make an API call.
25
- * ```javascript
26
- * import { CloudHSMClient, RemoveTagsFromResourceCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
27
- * // const { CloudHSMClient, RemoveTagsFromResourceCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
28
- * const client = new CloudHSMClient(config);
29
- * const command = new RemoveTagsFromResourceCommand(input);
30
- * const response = await client.send(command);
31
- * ```
32
- *
33
- * @see {@link RemoveTagsFromResourceCommandInput} for command's `input` shape.
34
- * @see {@link RemoveTagsFromResourceCommandOutput} for command's `response` shape.
35
- * @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
36
- *
37
- */
9
+
38
10
  export declare class RemoveTagsFromResourceCommand extends $Command<RemoveTagsFromResourceCommandInput, RemoveTagsFromResourceCommandOutput, CloudHSMClientResolvedConfig> {
39
11
  readonly input: RemoveTagsFromResourceCommandInput;
40
12
  constructor(input: RemoveTagsFromResourceCommandInput);
41
- /**
42
- * @internal
43
- */
13
+
44
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudHSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RemoveTagsFromResourceCommandInput, RemoveTagsFromResourceCommandOutput>;
45
15
  private serialize;
46
16
  private deserialize;
@@ -0,0 +1,20 @@
1
+ export * from "./AddTagsToResourceCommand";
2
+ export * from "./CreateHapgCommand";
3
+ export * from "./CreateHsmCommand";
4
+ export * from "./CreateLunaClientCommand";
5
+ export * from "./DeleteHapgCommand";
6
+ export * from "./DeleteHsmCommand";
7
+ export * from "./DeleteLunaClientCommand";
8
+ export * from "./DescribeHapgCommand";
9
+ export * from "./DescribeHsmCommand";
10
+ export * from "./DescribeLunaClientCommand";
11
+ export * from "./GetConfigCommand";
12
+ export * from "./ListAvailableZonesCommand";
13
+ export * from "./ListHapgsCommand";
14
+ export * from "./ListHsmsCommand";
15
+ export * from "./ListLunaClientsCommand";
16
+ export * from "./ListTagsForResourceCommand";
17
+ export * from "./ModifyHapgCommand";
18
+ export * from "./ModifyHsmCommand";
19
+ export * from "./ModifyLunaClientCommand";
20
+ export * from "./RemoveTagsFromResourceCommand";
@@ -1,23 +1,4 @@
1
- export * from "./CloudHSMClient";
2
1
  export * from "./CloudHSM";
3
- export * from "./commands/AddTagsToResourceCommand";
4
- export * from "./commands/CreateHapgCommand";
5
- export * from "./commands/CreateHsmCommand";
6
- export * from "./commands/CreateLunaClientCommand";
7
- export * from "./commands/DeleteHapgCommand";
8
- export * from "./commands/DeleteHsmCommand";
9
- export * from "./commands/DeleteLunaClientCommand";
10
- export * from "./commands/DescribeHapgCommand";
11
- export * from "./commands/DescribeHsmCommand";
12
- export * from "./commands/DescribeLunaClientCommand";
13
- export * from "./commands/GetConfigCommand";
14
- export * from "./commands/ListAvailableZonesCommand";
15
- export * from "./commands/ListHapgsCommand";
16
- export * from "./commands/ListHsmsCommand";
17
- export * from "./commands/ListLunaClientsCommand";
18
- export * from "./commands/ListTagsForResourceCommand";
19
- export * from "./commands/ModifyHapgCommand";
20
- export * from "./commands/ModifyHsmCommand";
21
- export * from "./commands/ModifyLunaClientCommand";
22
- export * from "./commands/RemoveTagsFromResourceCommand";
23
- export * from "./models/index";
2
+ export * from "./CloudHSMClient";
3
+ export * from "./commands";
4
+ export * from "./models";