@aws-sdk/client-cloudhsm-v2 3.600.0 → 3.607.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 (41) hide show
  1. package/README.md +25 -1
  2. package/dist-cjs/index.js +115 -0
  3. package/dist-es/CloudHSMV2.js +6 -0
  4. package/dist-es/commands/DeleteResourcePolicyCommand.js +24 -0
  5. package/dist-es/commands/GetResourcePolicyCommand.js +24 -0
  6. package/dist-es/commands/PutResourcePolicyCommand.js +24 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/protocols/Aws_json1_1.js +58 -0
  9. package/dist-types/CloudHSMV2.d.ts +25 -1
  10. package/dist-types/CloudHSMV2Client.d.ts +6 -3
  11. package/dist-types/commands/CopyBackupToRegionCommand.d.ts +4 -2
  12. package/dist-types/commands/CreateClusterCommand.d.ts +5 -2
  13. package/dist-types/commands/CreateHsmCommand.d.ts +4 -2
  14. package/dist-types/commands/DeleteBackupCommand.d.ts +5 -2
  15. package/dist-types/commands/DeleteClusterCommand.d.ts +4 -2
  16. package/dist-types/commands/DeleteHsmCommand.d.ts +3 -1
  17. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +83 -0
  18. package/dist-types/commands/DescribeBackupsCommand.d.ts +6 -2
  19. package/dist-types/commands/DescribeClustersCommand.d.ts +4 -2
  20. package/dist-types/commands/GetResourcePolicyCommand.d.ts +80 -0
  21. package/dist-types/commands/InitializeClusterCommand.d.ts +4 -2
  22. package/dist-types/commands/ListTagsCommand.d.ts +4 -2
  23. package/dist-types/commands/ModifyBackupAttributesCommand.d.ts +5 -2
  24. package/dist-types/commands/ModifyClusterCommand.d.ts +4 -2
  25. package/dist-types/commands/PutResourcePolicyCommand.d.ts +99 -0
  26. package/dist-types/commands/RestoreBackupCommand.d.ts +6 -3
  27. package/dist-types/commands/TagResourceCommand.d.ts +4 -2
  28. package/dist-types/commands/UntagResourceCommand.d.ts +4 -2
  29. package/dist-types/commands/index.d.ts +3 -0
  30. package/dist-types/index.d.ts +1 -1
  31. package/dist-types/models/models_0.d.ts +104 -10
  32. package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
  33. package/dist-types/ts3.4/CloudHSMV2.d.ts +54 -0
  34. package/dist-types/ts3.4/CloudHSMV2Client.d.ts +18 -0
  35. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +40 -0
  36. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +40 -0
  37. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +40 -0
  38. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  39. package/dist-types/ts3.4/models/models_0.d.ts +23 -0
  40. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
  41. package/package.json +3 -3
@@ -27,6 +27,10 @@ import {
27
27
  DeleteHsmCommandInput,
28
28
  DeleteHsmCommandOutput,
29
29
  } from "../commands/DeleteHsmCommand";
30
+ import {
31
+ DeleteResourcePolicyCommandInput,
32
+ DeleteResourcePolicyCommandOutput,
33
+ } from "../commands/DeleteResourcePolicyCommand";
30
34
  import {
31
35
  DescribeBackupsCommandInput,
32
36
  DescribeBackupsCommandOutput,
@@ -35,6 +39,10 @@ import {
35
39
  DescribeClustersCommandInput,
36
40
  DescribeClustersCommandOutput,
37
41
  } from "../commands/DescribeClustersCommand";
42
+ import {
43
+ GetResourcePolicyCommandInput,
44
+ GetResourcePolicyCommandOutput,
45
+ } from "../commands/GetResourcePolicyCommand";
38
46
  import {
39
47
  InitializeClusterCommandInput,
40
48
  InitializeClusterCommandOutput,
@@ -51,6 +59,10 @@ import {
51
59
  ModifyClusterCommandInput,
52
60
  ModifyClusterCommandOutput,
53
61
  } from "../commands/ModifyClusterCommand";
62
+ import {
63
+ PutResourcePolicyCommandInput,
64
+ PutResourcePolicyCommandOutput,
65
+ } from "../commands/PutResourcePolicyCommand";
54
66
  import {
55
67
  RestoreBackupCommandInput,
56
68
  RestoreBackupCommandOutput,
@@ -87,6 +99,10 @@ export declare const se_DeleteHsmCommand: (
87
99
  input: DeleteHsmCommandInput,
88
100
  context: __SerdeContext
89
101
  ) => Promise<__HttpRequest>;
102
+ export declare const se_DeleteResourcePolicyCommand: (
103
+ input: DeleteResourcePolicyCommandInput,
104
+ context: __SerdeContext
105
+ ) => Promise<__HttpRequest>;
90
106
  export declare const se_DescribeBackupsCommand: (
91
107
  input: DescribeBackupsCommandInput,
92
108
  context: __SerdeContext
@@ -95,6 +111,10 @@ export declare const se_DescribeClustersCommand: (
95
111
  input: DescribeClustersCommandInput,
96
112
  context: __SerdeContext
97
113
  ) => Promise<__HttpRequest>;
114
+ export declare const se_GetResourcePolicyCommand: (
115
+ input: GetResourcePolicyCommandInput,
116
+ context: __SerdeContext
117
+ ) => Promise<__HttpRequest>;
98
118
  export declare const se_InitializeClusterCommand: (
99
119
  input: InitializeClusterCommandInput,
100
120
  context: __SerdeContext
@@ -111,6 +131,10 @@ export declare const se_ModifyClusterCommand: (
111
131
  input: ModifyClusterCommandInput,
112
132
  context: __SerdeContext
113
133
  ) => Promise<__HttpRequest>;
134
+ export declare const se_PutResourcePolicyCommand: (
135
+ input: PutResourcePolicyCommandInput,
136
+ context: __SerdeContext
137
+ ) => Promise<__HttpRequest>;
114
138
  export declare const se_RestoreBackupCommand: (
115
139
  input: RestoreBackupCommandInput,
116
140
  context: __SerdeContext
@@ -147,6 +171,10 @@ export declare const de_DeleteHsmCommand: (
147
171
  output: __HttpResponse,
148
172
  context: __SerdeContext
149
173
  ) => Promise<DeleteHsmCommandOutput>;
174
+ export declare const de_DeleteResourcePolicyCommand: (
175
+ output: __HttpResponse,
176
+ context: __SerdeContext
177
+ ) => Promise<DeleteResourcePolicyCommandOutput>;
150
178
  export declare const de_DescribeBackupsCommand: (
151
179
  output: __HttpResponse,
152
180
  context: __SerdeContext
@@ -155,6 +183,10 @@ export declare const de_DescribeClustersCommand: (
155
183
  output: __HttpResponse,
156
184
  context: __SerdeContext
157
185
  ) => Promise<DescribeClustersCommandOutput>;
186
+ export declare const de_GetResourcePolicyCommand: (
187
+ output: __HttpResponse,
188
+ context: __SerdeContext
189
+ ) => Promise<GetResourcePolicyCommandOutput>;
158
190
  export declare const de_InitializeClusterCommand: (
159
191
  output: __HttpResponse,
160
192
  context: __SerdeContext
@@ -171,6 +203,10 @@ export declare const de_ModifyClusterCommand: (
171
203
  output: __HttpResponse,
172
204
  context: __SerdeContext
173
205
  ) => Promise<ModifyClusterCommandOutput>;
206
+ export declare const de_PutResourcePolicyCommand: (
207
+ output: __HttpResponse,
208
+ context: __SerdeContext
209
+ ) => Promise<PutResourcePolicyCommandOutput>;
174
210
  export declare const de_RestoreBackupCommand: (
175
211
  output: __HttpResponse,
176
212
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudhsm-v2",
3
3
  "description": "AWS SDK for JavaScript Cloudhsm V2 Client for Node.js, Browser and React Native",
4
- "version": "3.600.0",
4
+ "version": "3.607.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cloudhsm-v2",
@@ -20,8 +20,8 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.600.0",
24
- "@aws-sdk/client-sts": "3.600.0",
23
+ "@aws-sdk/client-sso-oidc": "3.606.0",
24
+ "@aws-sdk/client-sts": "3.606.0",
25
25
  "@aws-sdk/core": "3.598.0",
26
26
  "@aws-sdk/credential-provider-node": "3.600.0",
27
27
  "@aws-sdk/middleware-host-header": "3.598.0",