@aws-sdk/client-cloudhsm-v2 3.299.0 → 3.300.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.
@@ -26,6 +26,16 @@ 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 = {
30
+ * DestinationRegion: "STRING_VALUE", // required
31
+ * BackupId: "STRING_VALUE", // required
32
+ * TagList: [
33
+ * {
34
+ * Key: "STRING_VALUE", // required
35
+ * Value: "STRING_VALUE", // required
36
+ * },
37
+ * ],
38
+ * };
29
39
  * const command = new CopyBackupToRegionCommand(input);
30
40
  * const response = await client.send(command);
31
41
  * ```
@@ -26,6 +26,23 @@ 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: {
31
+ * Type: "STRING_VALUE",
32
+ * Value: "STRING_VALUE",
33
+ * },
34
+ * HsmType: "STRING_VALUE", // required
35
+ * SourceBackupId: "STRING_VALUE",
36
+ * SubnetIds: [ // required
37
+ * "STRING_VALUE",
38
+ * ],
39
+ * TagList: [
40
+ * {
41
+ * Key: "STRING_VALUE", // required
42
+ * Value: "STRING_VALUE", // required
43
+ * },
44
+ * ],
45
+ * };
29
46
  * const command = new CreateClusterCommand(input);
30
47
  * const response = await client.send(command);
31
48
  * ```
@@ -27,6 +27,11 @@ 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 = {
31
+ * ClusterId: "STRING_VALUE", // required
32
+ * AvailabilityZone: "STRING_VALUE", // required
33
+ * IpAddress: "STRING_VALUE",
34
+ * };
30
35
  * const command = new CreateHsmCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -28,6 +28,9 @@ 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 = {
32
+ * BackupId: "STRING_VALUE", // required
33
+ * };
31
34
  * const command = new DeleteBackupCommand(input);
32
35
  * const response = await client.send(command);
33
36
  * ```
@@ -27,6 +27,9 @@ 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 = {
31
+ * ClusterId: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new DeleteClusterCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -28,6 +28,12 @@ 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 = {
32
+ * ClusterId: "STRING_VALUE", // required
33
+ * HsmId: "STRING_VALUE",
34
+ * EniId: "STRING_VALUE",
35
+ * EniIp: "STRING_VALUE",
36
+ * };
31
37
  * const command = new DeleteHsmCommand(input);
32
38
  * const response = await client.send(command);
33
39
  * ```
@@ -31,6 +31,16 @@ 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 = {
35
+ * NextToken: "STRING_VALUE",
36
+ * MaxResults: Number("int"),
37
+ * Filters: {
38
+ * "<keys>": [
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * },
42
+ * SortAscending: true || false,
43
+ * };
34
44
  * const command = new DescribeBackupsCommand(input);
35
45
  * const response = await client.send(command);
36
46
  * ```
@@ -31,6 +31,15 @@ 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>": [
37
+ * "STRING_VALUE",
38
+ * ],
39
+ * },
40
+ * NextToken: "STRING_VALUE",
41
+ * MaxResults: Number("int"),
42
+ * };
34
43
  * const command = new DescribeClustersCommand(input);
35
44
  * const response = await client.send(command);
36
45
  * ```
@@ -29,6 +29,11 @@ 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 = {
33
+ * ClusterId: "STRING_VALUE", // required
34
+ * SignedCert: "STRING_VALUE", // required
35
+ * TrustAnchor: "STRING_VALUE", // required
36
+ * };
32
37
  * const command = new InitializeClusterCommand(input);
33
38
  * const response = await client.send(command);
34
39
  * ```
@@ -31,6 +31,11 @@ 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 = {
35
+ * ResourceId: "STRING_VALUE", // required
36
+ * NextToken: "STRING_VALUE",
37
+ * MaxResults: Number("int"),
38
+ * };
34
39
  * const command = new ListTagsCommand(input);
35
40
  * const response = await client.send(command);
36
41
  * ```
@@ -26,6 +26,10 @@ 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 = {
30
+ * BackupId: "STRING_VALUE", // required
31
+ * NeverExpires: true || false, // required
32
+ * };
29
33
  * const command = new ModifyBackupAttributesCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,13 @@ 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: {
31
+ * Type: "STRING_VALUE",
32
+ * Value: "STRING_VALUE",
33
+ * },
34
+ * ClusterId: "STRING_VALUE", // required
35
+ * };
29
36
  * const command = new ModifyClusterCommand(input);
30
37
  * const response = await client.send(command);
31
38
  * ```
@@ -28,6 +28,9 @@ 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 = {
32
+ * BackupId: "STRING_VALUE", // required
33
+ * };
31
34
  * const command = new RestoreBackupCommand(input);
32
35
  * const response = await client.send(command);
33
36
  * ```
@@ -26,6 +26,15 @@ 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 = {
30
+ * ResourceId: "STRING_VALUE", // required
31
+ * TagList: [ // required
32
+ * {
33
+ * Key: "STRING_VALUE", // required
34
+ * Value: "STRING_VALUE", // required
35
+ * },
36
+ * ],
37
+ * };
29
38
  * const command = new TagResourceCommand(input);
30
39
  * const response = await client.send(command);
31
40
  * ```
@@ -26,6 +26,12 @@ 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 = {
30
+ * ResourceId: "STRING_VALUE", // required
31
+ * TagKeyList: [ // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UntagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
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.299.0",
4
+ "version": "3.300.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.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.300.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.300.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",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0"
57
57
  },