@aws-sdk/client-cloudhsm-v2 3.300.0 → 3.301.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.
- package/dist-types/commands/CopyBackupToRegionCommand.d.ts +3 -3
- package/dist-types/commands/CreateClusterCommand.d.ts +5 -5
- package/dist-types/commands/CreateHsmCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBackupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteClusterCommand.d.ts +1 -1
- package/dist-types/commands/DeleteHsmCommand.d.ts +1 -1
- package/dist-types/commands/DescribeBackupsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeClustersCommand.d.ts +3 -3
- package/dist-types/commands/InitializeClusterCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsCommand.d.ts +1 -1
- package/dist-types/commands/ModifyBackupAttributesCommand.d.ts +1 -1
- package/dist-types/commands/ModifyClusterCommand.d.ts +2 -2
- package/dist-types/commands/RestoreBackupCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/package.json +3 -3
|
@@ -26,11 +26,11 @@ export interface CopyBackupToRegionCommandOutput extends CopyBackupToRegionRespo
|
|
|
26
26
|
* import { CloudHSMV2Client, CopyBackupToRegionCommand } from "@aws-sdk/client-cloudhsm-v2"; // ES Modules import
|
|
27
27
|
* // const { CloudHSMV2Client, CopyBackupToRegionCommand } = require("@aws-sdk/client-cloudhsm-v2"); // CommonJS import
|
|
28
28
|
* const client = new CloudHSMV2Client(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CopyBackupToRegionRequest
|
|
30
30
|
* DestinationRegion: "STRING_VALUE", // required
|
|
31
31
|
* BackupId: "STRING_VALUE", // required
|
|
32
|
-
* TagList: [
|
|
33
|
-
* {
|
|
32
|
+
* TagList: [ // TagList
|
|
33
|
+
* { // Tag
|
|
34
34
|
* Key: "STRING_VALUE", // required
|
|
35
35
|
* Value: "STRING_VALUE", // required
|
|
36
36
|
* },
|
|
@@ -26,18 +26,18 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
|
|
|
26
26
|
* import { CloudHSMV2Client, CreateClusterCommand } from "@aws-sdk/client-cloudhsm-v2"; // ES Modules import
|
|
27
27
|
* // const { CloudHSMV2Client, CreateClusterCommand } = require("@aws-sdk/client-cloudhsm-v2"); // CommonJS import
|
|
28
28
|
* const client = new CloudHSMV2Client(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* BackupRetentionPolicy: {
|
|
29
|
+
* const input = { // CreateClusterRequest
|
|
30
|
+
* BackupRetentionPolicy: { // BackupRetentionPolicy
|
|
31
31
|
* Type: "STRING_VALUE",
|
|
32
32
|
* Value: "STRING_VALUE",
|
|
33
33
|
* },
|
|
34
34
|
* HsmType: "STRING_VALUE", // required
|
|
35
35
|
* SourceBackupId: "STRING_VALUE",
|
|
36
|
-
* SubnetIds: [ // required
|
|
36
|
+
* SubnetIds: [ // SubnetIds // required
|
|
37
37
|
* "STRING_VALUE",
|
|
38
38
|
* ],
|
|
39
|
-
* TagList: [
|
|
40
|
-
* {
|
|
39
|
+
* TagList: [ // TagList
|
|
40
|
+
* { // Tag
|
|
41
41
|
* Key: "STRING_VALUE", // required
|
|
42
42
|
* Value: "STRING_VALUE", // required
|
|
43
43
|
* },
|
|
@@ -27,7 +27,7 @@ export interface CreateHsmCommandOutput extends CreateHsmResponse, __MetadataBea
|
|
|
27
27
|
* import { CloudHSMV2Client, CreateHsmCommand } from "@aws-sdk/client-cloudhsm-v2"; // ES Modules import
|
|
28
28
|
* // const { CloudHSMV2Client, CreateHsmCommand } = require("@aws-sdk/client-cloudhsm-v2"); // CommonJS import
|
|
29
29
|
* const client = new CloudHSMV2Client(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // CreateHsmRequest
|
|
31
31
|
* ClusterId: "STRING_VALUE", // required
|
|
32
32
|
* AvailabilityZone: "STRING_VALUE", // required
|
|
33
33
|
* IpAddress: "STRING_VALUE",
|
|
@@ -28,7 +28,7 @@ export interface DeleteBackupCommandOutput extends DeleteBackupResponse, __Metad
|
|
|
28
28
|
* import { CloudHSMV2Client, DeleteBackupCommand } from "@aws-sdk/client-cloudhsm-v2"; // ES Modules import
|
|
29
29
|
* // const { CloudHSMV2Client, DeleteBackupCommand } = require("@aws-sdk/client-cloudhsm-v2"); // CommonJS import
|
|
30
30
|
* const client = new CloudHSMV2Client(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // DeleteBackupRequest
|
|
32
32
|
* BackupId: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
34
34
|
* const command = new DeleteBackupCommand(input);
|
|
@@ -27,7 +27,7 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
|
|
|
27
27
|
* import { CloudHSMV2Client, DeleteClusterCommand } from "@aws-sdk/client-cloudhsm-v2"; // ES Modules import
|
|
28
28
|
* // const { CloudHSMV2Client, DeleteClusterCommand } = require("@aws-sdk/client-cloudhsm-v2"); // CommonJS import
|
|
29
29
|
* const client = new CloudHSMV2Client(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DeleteClusterRequest
|
|
31
31
|
* ClusterId: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DeleteClusterCommand(input);
|
|
@@ -28,7 +28,7 @@ export interface DeleteHsmCommandOutput extends DeleteHsmResponse, __MetadataBea
|
|
|
28
28
|
* import { CloudHSMV2Client, DeleteHsmCommand } from "@aws-sdk/client-cloudhsm-v2"; // ES Modules import
|
|
29
29
|
* // const { CloudHSMV2Client, DeleteHsmCommand } = require("@aws-sdk/client-cloudhsm-v2"); // CommonJS import
|
|
30
30
|
* const client = new CloudHSMV2Client(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // DeleteHsmRequest
|
|
32
32
|
* ClusterId: "STRING_VALUE", // required
|
|
33
33
|
* HsmId: "STRING_VALUE",
|
|
34
34
|
* EniId: "STRING_VALUE",
|
|
@@ -31,11 +31,11 @@ export interface DescribeBackupsCommandOutput extends DescribeBackupsResponse, _
|
|
|
31
31
|
* import { CloudHSMV2Client, DescribeBackupsCommand } from "@aws-sdk/client-cloudhsm-v2"; // ES Modules import
|
|
32
32
|
* // const { CloudHSMV2Client, DescribeBackupsCommand } = require("@aws-sdk/client-cloudhsm-v2"); // CommonJS import
|
|
33
33
|
* const client = new CloudHSMV2Client(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // DescribeBackupsRequest
|
|
35
35
|
* NextToken: "STRING_VALUE",
|
|
36
36
|
* MaxResults: Number("int"),
|
|
37
|
-
* Filters: {
|
|
38
|
-
* "<keys>": [
|
|
37
|
+
* Filters: { // Filters
|
|
38
|
+
* "<keys>": [ // Strings
|
|
39
39
|
* "STRING_VALUE",
|
|
40
40
|
* ],
|
|
41
41
|
* },
|
|
@@ -31,9 +31,9 @@ export interface DescribeClustersCommandOutput extends DescribeClustersResponse,
|
|
|
31
31
|
* import { CloudHSMV2Client, DescribeClustersCommand } from "@aws-sdk/client-cloudhsm-v2"; // ES Modules import
|
|
32
32
|
* // const { CloudHSMV2Client, DescribeClustersCommand } = require("@aws-sdk/client-cloudhsm-v2"); // CommonJS import
|
|
33
33
|
* const client = new CloudHSMV2Client(config);
|
|
34
|
-
* const input = {
|
|
35
|
-
* Filters: {
|
|
36
|
-
* "<keys>": [
|
|
34
|
+
* const input = { // DescribeClustersRequest
|
|
35
|
+
* Filters: { // Filters
|
|
36
|
+
* "<keys>": [ // Strings
|
|
37
37
|
* "STRING_VALUE",
|
|
38
38
|
* ],
|
|
39
39
|
* },
|
|
@@ -29,7 +29,7 @@ export interface InitializeClusterCommandOutput extends InitializeClusterRespons
|
|
|
29
29
|
* import { CloudHSMV2Client, InitializeClusterCommand } from "@aws-sdk/client-cloudhsm-v2"; // ES Modules import
|
|
30
30
|
* // const { CloudHSMV2Client, InitializeClusterCommand } = require("@aws-sdk/client-cloudhsm-v2"); // CommonJS import
|
|
31
31
|
* const client = new CloudHSMV2Client(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // InitializeClusterRequest
|
|
33
33
|
* ClusterId: "STRING_VALUE", // required
|
|
34
34
|
* SignedCert: "STRING_VALUE", // required
|
|
35
35
|
* TrustAnchor: "STRING_VALUE", // required
|
|
@@ -31,7 +31,7 @@ export interface ListTagsCommandOutput extends ListTagsResponse, __MetadataBeare
|
|
|
31
31
|
* import { CloudHSMV2Client, ListTagsCommand } from "@aws-sdk/client-cloudhsm-v2"; // ES Modules import
|
|
32
32
|
* // const { CloudHSMV2Client, ListTagsCommand } = require("@aws-sdk/client-cloudhsm-v2"); // CommonJS import
|
|
33
33
|
* const client = new CloudHSMV2Client(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // ListTagsRequest
|
|
35
35
|
* ResourceId: "STRING_VALUE", // required
|
|
36
36
|
* NextToken: "STRING_VALUE",
|
|
37
37
|
* MaxResults: Number("int"),
|
|
@@ -26,7 +26,7 @@ export interface ModifyBackupAttributesCommandOutput extends ModifyBackupAttribu
|
|
|
26
26
|
* import { CloudHSMV2Client, ModifyBackupAttributesCommand } from "@aws-sdk/client-cloudhsm-v2"; // ES Modules import
|
|
27
27
|
* // const { CloudHSMV2Client, ModifyBackupAttributesCommand } = require("@aws-sdk/client-cloudhsm-v2"); // CommonJS import
|
|
28
28
|
* const client = new CloudHSMV2Client(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ModifyBackupAttributesRequest
|
|
30
30
|
* BackupId: "STRING_VALUE", // required
|
|
31
31
|
* NeverExpires: true || false, // required
|
|
32
32
|
* };
|
|
@@ -26,8 +26,8 @@ export interface ModifyClusterCommandOutput extends ModifyClusterResponse, __Met
|
|
|
26
26
|
* import { CloudHSMV2Client, ModifyClusterCommand } from "@aws-sdk/client-cloudhsm-v2"; // ES Modules import
|
|
27
27
|
* // const { CloudHSMV2Client, ModifyClusterCommand } = require("@aws-sdk/client-cloudhsm-v2"); // CommonJS import
|
|
28
28
|
* const client = new CloudHSMV2Client(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* BackupRetentionPolicy: {
|
|
29
|
+
* const input = { // ModifyClusterRequest
|
|
30
|
+
* BackupRetentionPolicy: { // BackupRetentionPolicy
|
|
31
31
|
* Type: "STRING_VALUE",
|
|
32
32
|
* Value: "STRING_VALUE",
|
|
33
33
|
* },
|
|
@@ -28,7 +28,7 @@ export interface RestoreBackupCommandOutput extends RestoreBackupResponse, __Met
|
|
|
28
28
|
* import { CloudHSMV2Client, RestoreBackupCommand } from "@aws-sdk/client-cloudhsm-v2"; // ES Modules import
|
|
29
29
|
* // const { CloudHSMV2Client, RestoreBackupCommand } = require("@aws-sdk/client-cloudhsm-v2"); // CommonJS import
|
|
30
30
|
* const client = new CloudHSMV2Client(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // RestoreBackupRequest
|
|
32
32
|
* BackupId: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
34
34
|
* const command = new RestoreBackupCommand(input);
|
|
@@ -26,10 +26,10 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
26
26
|
* import { CloudHSMV2Client, TagResourceCommand } from "@aws-sdk/client-cloudhsm-v2"; // ES Modules import
|
|
27
27
|
* // const { CloudHSMV2Client, TagResourceCommand } = require("@aws-sdk/client-cloudhsm-v2"); // CommonJS import
|
|
28
28
|
* const client = new CloudHSMV2Client(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // TagResourceRequest
|
|
30
30
|
* ResourceId: "STRING_VALUE", // required
|
|
31
|
-
* TagList: [ // required
|
|
32
|
-
* {
|
|
31
|
+
* TagList: [ // TagList // required
|
|
32
|
+
* { // Tag
|
|
33
33
|
* Key: "STRING_VALUE", // required
|
|
34
34
|
* Value: "STRING_VALUE", // required
|
|
35
35
|
* },
|
|
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { CloudHSMV2Client, UntagResourceCommand } from "@aws-sdk/client-cloudhsm-v2"; // ES Modules import
|
|
27
27
|
* // const { CloudHSMV2Client, UntagResourceCommand } = require("@aws-sdk/client-cloudhsm-v2"); // CommonJS import
|
|
28
28
|
* const client = new CloudHSMV2Client(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UntagResourceRequest
|
|
30
30
|
* ResourceId: "STRING_VALUE", // required
|
|
31
|
-
* TagKeyList: [ // required
|
|
31
|
+
* TagKeyList: [ // TagKeyList // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
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.
|
|
4
|
+
"version": "3.301.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",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|