@aws-sdk/client-cloudhsm 3.478.0 → 3.481.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 (85) hide show
  1. package/dist-cjs/commands/AddTagsToResourceCommand.js +18 -41
  2. package/dist-cjs/commands/CreateHapgCommand.js +18 -41
  3. package/dist-cjs/commands/CreateHsmCommand.js +18 -41
  4. package/dist-cjs/commands/CreateLunaClientCommand.js +18 -41
  5. package/dist-cjs/commands/DeleteHapgCommand.js +18 -41
  6. package/dist-cjs/commands/DeleteHsmCommand.js +18 -41
  7. package/dist-cjs/commands/DeleteLunaClientCommand.js +18 -41
  8. package/dist-cjs/commands/DescribeHapgCommand.js +18 -41
  9. package/dist-cjs/commands/DescribeHsmCommand.js +18 -41
  10. package/dist-cjs/commands/DescribeLunaClientCommand.js +18 -41
  11. package/dist-cjs/commands/GetConfigCommand.js +18 -41
  12. package/dist-cjs/commands/ListAvailableZonesCommand.js +18 -41
  13. package/dist-cjs/commands/ListHapgsCommand.js +18 -41
  14. package/dist-cjs/commands/ListHsmsCommand.js +18 -41
  15. package/dist-cjs/commands/ListLunaClientsCommand.js +18 -41
  16. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  17. package/dist-cjs/commands/ModifyHapgCommand.js +18 -41
  18. package/dist-cjs/commands/ModifyHsmCommand.js +18 -41
  19. package/dist-cjs/commands/ModifyLunaClientCommand.js +18 -41
  20. package/dist-cjs/commands/RemoveTagsFromResourceCommand.js +18 -41
  21. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  22. package/dist-es/commands/AddTagsToResourceCommand.js +18 -41
  23. package/dist-es/commands/CreateHapgCommand.js +18 -41
  24. package/dist-es/commands/CreateHsmCommand.js +18 -41
  25. package/dist-es/commands/CreateLunaClientCommand.js +18 -41
  26. package/dist-es/commands/DeleteHapgCommand.js +18 -41
  27. package/dist-es/commands/DeleteHsmCommand.js +18 -41
  28. package/dist-es/commands/DeleteLunaClientCommand.js +18 -41
  29. package/dist-es/commands/DescribeHapgCommand.js +18 -41
  30. package/dist-es/commands/DescribeHsmCommand.js +18 -41
  31. package/dist-es/commands/DescribeLunaClientCommand.js +18 -41
  32. package/dist-es/commands/GetConfigCommand.js +18 -41
  33. package/dist-es/commands/ListAvailableZonesCommand.js +18 -41
  34. package/dist-es/commands/ListHapgsCommand.js +18 -41
  35. package/dist-es/commands/ListHsmsCommand.js +18 -41
  36. package/dist-es/commands/ListLunaClientsCommand.js +18 -41
  37. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  38. package/dist-es/commands/ModifyHapgCommand.js +18 -41
  39. package/dist-es/commands/ModifyHsmCommand.js +18 -41
  40. package/dist-es/commands/ModifyLunaClientCommand.js +18 -41
  41. package/dist-es/commands/RemoveTagsFromResourceCommand.js +18 -41
  42. package/dist-es/endpoint/EndpointParameters.js +6 -0
  43. package/dist-types/commands/AddTagsToResourceCommand.d.ts +6 -21
  44. package/dist-types/commands/CreateHapgCommand.d.ts +6 -21
  45. package/dist-types/commands/CreateHsmCommand.d.ts +6 -21
  46. package/dist-types/commands/CreateLunaClientCommand.d.ts +6 -21
  47. package/dist-types/commands/DeleteHapgCommand.d.ts +6 -21
  48. package/dist-types/commands/DeleteHsmCommand.d.ts +6 -21
  49. package/dist-types/commands/DeleteLunaClientCommand.d.ts +6 -21
  50. package/dist-types/commands/DescribeHapgCommand.d.ts +6 -21
  51. package/dist-types/commands/DescribeHsmCommand.d.ts +6 -21
  52. package/dist-types/commands/DescribeLunaClientCommand.d.ts +6 -21
  53. package/dist-types/commands/GetConfigCommand.d.ts +6 -21
  54. package/dist-types/commands/ListAvailableZonesCommand.d.ts +6 -21
  55. package/dist-types/commands/ListHapgsCommand.d.ts +6 -21
  56. package/dist-types/commands/ListHsmsCommand.d.ts +6 -21
  57. package/dist-types/commands/ListLunaClientsCommand.d.ts +6 -21
  58. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  59. package/dist-types/commands/ModifyHapgCommand.d.ts +6 -21
  60. package/dist-types/commands/ModifyHsmCommand.d.ts +6 -21
  61. package/dist-types/commands/ModifyLunaClientCommand.d.ts +6 -21
  62. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +6 -21
  63. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  64. package/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts +14 -23
  65. package/dist-types/ts3.4/commands/CreateHapgCommand.d.ts +14 -23
  66. package/dist-types/ts3.4/commands/CreateHsmCommand.d.ts +14 -23
  67. package/dist-types/ts3.4/commands/CreateLunaClientCommand.d.ts +14 -23
  68. package/dist-types/ts3.4/commands/DeleteHapgCommand.d.ts +14 -23
  69. package/dist-types/ts3.4/commands/DeleteHsmCommand.d.ts +14 -23
  70. package/dist-types/ts3.4/commands/DeleteLunaClientCommand.d.ts +14 -23
  71. package/dist-types/ts3.4/commands/DescribeHapgCommand.d.ts +14 -23
  72. package/dist-types/ts3.4/commands/DescribeHsmCommand.d.ts +14 -23
  73. package/dist-types/ts3.4/commands/DescribeLunaClientCommand.d.ts +14 -23
  74. package/dist-types/ts3.4/commands/GetConfigCommand.d.ts +14 -23
  75. package/dist-types/ts3.4/commands/ListAvailableZonesCommand.d.ts +14 -23
  76. package/dist-types/ts3.4/commands/ListHapgsCommand.d.ts +14 -23
  77. package/dist-types/ts3.4/commands/ListHsmsCommand.d.ts +14 -23
  78. package/dist-types/ts3.4/commands/ListLunaClientsCommand.d.ts +14 -23
  79. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  80. package/dist-types/ts3.4/commands/ModifyHapgCommand.d.ts +14 -23
  81. package/dist-types/ts3.4/commands/ModifyHsmCommand.d.ts +14 -23
  82. package/dist-types/ts3.4/commands/ModifyLunaClientCommand.d.ts +14 -23
  83. package/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +12 -24
  84. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  85. package/package.json +8 -8
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  CloudHSMClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -17,19 +11,16 @@ export interface ModifyHapgCommandInput extends ModifyHapgRequest {}
17
11
  export interface ModifyHapgCommandOutput
18
12
  extends ModifyHapgResponse,
19
13
  __MetadataBearer {}
20
- export declare class ModifyHapgCommand extends $Command<
21
- ModifyHapgCommandInput,
22
- ModifyHapgCommandOutput,
23
- CloudHSMClientResolvedConfig
24
- > {
25
- readonly input: ModifyHapgCommandInput;
26
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
- constructor(input: ModifyHapgCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: CloudHSMClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<ModifyHapgCommandInput, ModifyHapgCommandOutput>;
33
- private serialize;
34
- private deserialize;
35
- }
14
+ declare const ModifyHapgCommand_base: {
15
+ new (
16
+ input: ModifyHapgCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ ModifyHapgCommandInput,
19
+ ModifyHapgCommandOutput,
20
+ CloudHSMClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ };
26
+ export declare class ModifyHapgCommand extends ModifyHapgCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  CloudHSMClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -17,19 +11,16 @@ export interface ModifyHsmCommandInput extends ModifyHsmRequest {}
17
11
  export interface ModifyHsmCommandOutput
18
12
  extends ModifyHsmResponse,
19
13
  __MetadataBearer {}
20
- export declare class ModifyHsmCommand extends $Command<
21
- ModifyHsmCommandInput,
22
- ModifyHsmCommandOutput,
23
- CloudHSMClientResolvedConfig
24
- > {
25
- readonly input: ModifyHsmCommandInput;
26
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
- constructor(input: ModifyHsmCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: CloudHSMClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<ModifyHsmCommandInput, ModifyHsmCommandOutput>;
33
- private serialize;
34
- private deserialize;
35
- }
14
+ declare const ModifyHsmCommand_base: {
15
+ new (
16
+ input: ModifyHsmCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ ModifyHsmCommandInput,
19
+ ModifyHsmCommandOutput,
20
+ CloudHSMClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ };
26
+ export declare class ModifyHsmCommand extends ModifyHsmCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  CloudHSMClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -20,19 +14,16 @@ export interface ModifyLunaClientCommandInput extends ModifyLunaClientRequest {}
20
14
  export interface ModifyLunaClientCommandOutput
21
15
  extends ModifyLunaClientResponse,
22
16
  __MetadataBearer {}
23
- export declare class ModifyLunaClientCommand extends $Command<
24
- ModifyLunaClientCommandInput,
25
- ModifyLunaClientCommandOutput,
26
- CloudHSMClientResolvedConfig
27
- > {
28
- readonly input: ModifyLunaClientCommandInput;
29
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
- constructor(input: ModifyLunaClientCommandInput);
31
- resolveMiddleware(
32
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
- configuration: CloudHSMClientResolvedConfig,
34
- options?: __HttpHandlerOptions
35
- ): Handler<ModifyLunaClientCommandInput, ModifyLunaClientCommandOutput>;
36
- private serialize;
37
- private deserialize;
38
- }
17
+ declare const ModifyLunaClientCommand_base: {
18
+ new (
19
+ input: ModifyLunaClientCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ ModifyLunaClientCommandInput,
22
+ ModifyLunaClientCommandOutput,
23
+ CloudHSMClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ export declare class ModifyLunaClientCommand extends ModifyLunaClientCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  CloudHSMClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -21,22 +15,16 @@ export interface RemoveTagsFromResourceCommandInput
21
15
  export interface RemoveTagsFromResourceCommandOutput
22
16
  extends RemoveTagsFromResourceResponse,
23
17
  __MetadataBearer {}
24
- export declare class RemoveTagsFromResourceCommand extends $Command<
25
- RemoveTagsFromResourceCommandInput,
26
- RemoveTagsFromResourceCommandOutput,
27
- CloudHSMClientResolvedConfig
28
- > {
29
- readonly input: RemoveTagsFromResourceCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: RemoveTagsFromResourceCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: CloudHSMClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<
18
+ declare const RemoveTagsFromResourceCommand_base: {
19
+ new (
20
+ input: RemoveTagsFromResourceCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
37
22
  RemoveTagsFromResourceCommandInput,
38
- RemoveTagsFromResourceCommandOutput
23
+ RemoveTagsFromResourceCommandOutput,
24
+ CloudHSMClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
39
27
  >;
40
- private serialize;
41
- private deserialize;
42
- }
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class RemoveTagsFromResourceCommand extends RemoveTagsFromResourceCommand_base {}
@@ -25,6 +25,24 @@ export declare const resolveClientEndpointParameters: <T>(
25
25
  ClientInputEndpointParameters & {
26
26
  defaultSigningName: string;
27
27
  };
28
+ export declare const commonParams: {
29
+ readonly UseFIPS: {
30
+ readonly type: "builtInParams";
31
+ readonly name: "useFipsEndpoint";
32
+ };
33
+ readonly Endpoint: {
34
+ readonly type: "builtInParams";
35
+ readonly name: "endpoint";
36
+ };
37
+ readonly Region: {
38
+ readonly type: "builtInParams";
39
+ readonly name: "region";
40
+ };
41
+ readonly UseDualStack: {
42
+ readonly type: "builtInParams";
43
+ readonly name: "useDualstackEndpoint";
44
+ };
45
+ };
28
46
  export interface EndpointParameters extends __EndpointParameters {
29
47
  Region?: string;
30
48
  UseDualStack?: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudhsm",
3
3
  "description": "AWS SDK for JavaScript Cloudhsm Client for Node.js, Browser and React Native",
4
- "version": "3.478.0",
4
+ "version": "3.481.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.478.0",
24
- "@aws-sdk/core": "3.477.0",
25
- "@aws-sdk/credential-provider-node": "3.478.0",
23
+ "@aws-sdk/client-sts": "3.481.0",
24
+ "@aws-sdk/core": "3.481.0",
25
+ "@aws-sdk/credential-provider-node": "3.481.0",
26
26
  "@aws-sdk/middleware-host-header": "3.468.0",
27
27
  "@aws-sdk/middleware-logger": "3.468.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.468.0",
@@ -39,20 +39,20 @@
39
39
  "@smithy/invalid-dependency": "^2.0.15",
40
40
  "@smithy/middleware-content-length": "^2.0.17",
41
41
  "@smithy/middleware-endpoint": "^2.2.3",
42
- "@smithy/middleware-retry": "^2.0.24",
42
+ "@smithy/middleware-retry": "^2.0.25",
43
43
  "@smithy/middleware-serde": "^2.0.15",
44
44
  "@smithy/middleware-stack": "^2.0.9",
45
45
  "@smithy/node-config-provider": "^2.1.8",
46
46
  "@smithy/node-http-handler": "^2.2.1",
47
47
  "@smithy/protocol-http": "^3.0.11",
48
- "@smithy/smithy-client": "^2.1.18",
48
+ "@smithy/smithy-client": "^2.2.0",
49
49
  "@smithy/types": "^2.7.0",
50
50
  "@smithy/url-parser": "^2.0.15",
51
51
  "@smithy/util-base64": "^2.0.1",
52
52
  "@smithy/util-body-length-browser": "^2.0.1",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.22",
55
- "@smithy/util-defaults-mode-node": "^2.0.29",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.23",
55
+ "@smithy/util-defaults-mode-node": "^2.0.30",
56
56
  "@smithy/util-endpoints": "^1.0.7",
57
57
  "@smithy/util-retry": "^2.0.8",
58
58
  "@smithy/util-utf8": "^2.0.2",