@aws-sdk/client-cloudhsm-v2 3.312.0 → 3.316.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.
@@ -15,141 +15,102 @@ import { ModifyClusterCommandInput, ModifyClusterCommandOutput } from "./command
15
15
  import { RestoreBackupCommandInput, RestoreBackupCommandOutput } from "./commands/RestoreBackupCommand";
16
16
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
17
17
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
18
- /**
19
- * @public
20
- * <p>For more information about AWS CloudHSM, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a> and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS
21
- * CloudHSM User Guide</a>.</p>
22
- */
23
- export declare class CloudHSMV2 extends CloudHSMV2Client {
18
+ export interface CloudHSMV2 {
24
19
  /**
25
- * @public
26
- * <p>Copy an AWS CloudHSM cluster backup to a different region.</p>
20
+ * @see {@link CopyBackupToRegionCommand}
27
21
  */
28
22
  copyBackupToRegion(args: CopyBackupToRegionCommandInput, options?: __HttpHandlerOptions): Promise<CopyBackupToRegionCommandOutput>;
29
23
  copyBackupToRegion(args: CopyBackupToRegionCommandInput, cb: (err: any, data?: CopyBackupToRegionCommandOutput) => void): void;
30
24
  copyBackupToRegion(args: CopyBackupToRegionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CopyBackupToRegionCommandOutput) => void): void;
31
25
  /**
32
- * @public
33
- * <p>Creates a new AWS CloudHSM cluster.</p>
26
+ * @see {@link CreateClusterCommand}
34
27
  */
35
28
  createCluster(args: CreateClusterCommandInput, options?: __HttpHandlerOptions): Promise<CreateClusterCommandOutput>;
36
29
  createCluster(args: CreateClusterCommandInput, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
37
30
  createCluster(args: CreateClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
38
31
  /**
39
- * @public
40
- * <p>Creates a new hardware security module (HSM) in the specified AWS CloudHSM
41
- * cluster.</p>
32
+ * @see {@link CreateHsmCommand}
42
33
  */
43
34
  createHsm(args: CreateHsmCommandInput, options?: __HttpHandlerOptions): Promise<CreateHsmCommandOutput>;
44
35
  createHsm(args: CreateHsmCommandInput, cb: (err: any, data?: CreateHsmCommandOutput) => void): void;
45
36
  createHsm(args: CreateHsmCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateHsmCommandOutput) => void): void;
46
37
  /**
47
- * @public
48
- * <p>Deletes a specified AWS CloudHSM backup. A backup can be restored up to 7 days
49
- * after the DeleteBackup request is made. For more information on restoring a backup, see
50
- * <a>RestoreBackup</a>.</p>
38
+ * @see {@link DeleteBackupCommand}
51
39
  */
52
40
  deleteBackup(args: DeleteBackupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBackupCommandOutput>;
53
41
  deleteBackup(args: DeleteBackupCommandInput, cb: (err: any, data?: DeleteBackupCommandOutput) => void): void;
54
42
  deleteBackup(args: DeleteBackupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBackupCommandOutput) => void): void;
55
43
  /**
56
- * @public
57
- * <p>Deletes the specified AWS CloudHSM cluster. Before you can delete a cluster, you must
58
- * delete all HSMs in the cluster. To see if the cluster contains any HSMs, use <a>DescribeClusters</a>. To delete an HSM, use <a>DeleteHsm</a>.</p>
44
+ * @see {@link DeleteClusterCommand}
59
45
  */
60
46
  deleteCluster(args: DeleteClusterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteClusterCommandOutput>;
61
47
  deleteCluster(args: DeleteClusterCommandInput, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
62
48
  deleteCluster(args: DeleteClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
63
49
  /**
64
- * @public
65
- * <p>Deletes the specified HSM. To specify an HSM, you can use its identifier (ID), the IP
66
- * address of the HSM's elastic network interface (ENI), or the ID of the HSM's ENI. You need to
67
- * specify only one of these values. To find these values, use <a>DescribeClusters</a>.</p>
50
+ * @see {@link DeleteHsmCommand}
68
51
  */
69
52
  deleteHsm(args: DeleteHsmCommandInput, options?: __HttpHandlerOptions): Promise<DeleteHsmCommandOutput>;
70
53
  deleteHsm(args: DeleteHsmCommandInput, cb: (err: any, data?: DeleteHsmCommandOutput) => void): void;
71
54
  deleteHsm(args: DeleteHsmCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteHsmCommandOutput) => void): void;
72
55
  /**
73
- * @public
74
- * <p>Gets information about backups of AWS CloudHSM clusters.</p>
75
- * <p>This is a paginated operation, which means that each response might contain only a
76
- * subset of all the backups. When the response contains only a subset of backups, it includes a
77
- * <code>NextToken</code> value. Use this value in a subsequent <code>DescribeBackups</code>
78
- * request to get more backups. When you receive a response with no <code>NextToken</code> (or an
79
- * empty or null value), that means there are no more backups to get.</p>
56
+ * @see {@link DescribeBackupsCommand}
80
57
  */
81
58
  describeBackups(args: DescribeBackupsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeBackupsCommandOutput>;
82
59
  describeBackups(args: DescribeBackupsCommandInput, cb: (err: any, data?: DescribeBackupsCommandOutput) => void): void;
83
60
  describeBackups(args: DescribeBackupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBackupsCommandOutput) => void): void;
84
61
  /**
85
- * @public
86
- * <p>Gets information about AWS CloudHSM clusters.</p>
87
- * <p>This is a paginated operation, which means that each response might contain only a
88
- * subset of all the clusters. When the response contains only a subset of clusters, it includes
89
- * a <code>NextToken</code> value. Use this value in a subsequent <code>DescribeClusters</code>
90
- * request to get more clusters. When you receive a response with no <code>NextToken</code> (or
91
- * an empty or null value), that means there are no more clusters to get.</p>
62
+ * @see {@link DescribeClustersCommand}
92
63
  */
93
64
  describeClusters(args: DescribeClustersCommandInput, options?: __HttpHandlerOptions): Promise<DescribeClustersCommandOutput>;
94
65
  describeClusters(args: DescribeClustersCommandInput, cb: (err: any, data?: DescribeClustersCommandOutput) => void): void;
95
66
  describeClusters(args: DescribeClustersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeClustersCommandOutput) => void): void;
96
67
  /**
97
- * @public
98
- * <p>Claims an AWS CloudHSM cluster by submitting the cluster certificate issued by your
99
- * issuing certificate authority (CA) and the CA's root certificate. Before you can claim a
100
- * cluster, you must sign the cluster's certificate signing request (CSR) with your issuing CA.
101
- * To get the cluster's CSR, use <a>DescribeClusters</a>.</p>
68
+ * @see {@link InitializeClusterCommand}
102
69
  */
103
70
  initializeCluster(args: InitializeClusterCommandInput, options?: __HttpHandlerOptions): Promise<InitializeClusterCommandOutput>;
104
71
  initializeCluster(args: InitializeClusterCommandInput, cb: (err: any, data?: InitializeClusterCommandOutput) => void): void;
105
72
  initializeCluster(args: InitializeClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InitializeClusterCommandOutput) => void): void;
106
73
  /**
107
- * @public
108
- * <p>Gets a list of tags for the specified AWS CloudHSM cluster.</p>
109
- * <p>This is a paginated operation, which means that each response might contain only a
110
- * subset of all the tags. When the response contains only a subset of tags, it includes a
111
- * <code>NextToken</code> value. Use this value in a subsequent <code>ListTags</code> request to
112
- * get more tags. When you receive a response with no <code>NextToken</code> (or an empty or null
113
- * value), that means there are no more tags to get.</p>
74
+ * @see {@link ListTagsCommand}
114
75
  */
115
76
  listTags(args: ListTagsCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsCommandOutput>;
116
77
  listTags(args: ListTagsCommandInput, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
117
78
  listTags(args: ListTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
118
79
  /**
119
- * @public
120
- * <p>Modifies attributes for AWS CloudHSM backup.</p>
80
+ * @see {@link ModifyBackupAttributesCommand}
121
81
  */
122
82
  modifyBackupAttributes(args: ModifyBackupAttributesCommandInput, options?: __HttpHandlerOptions): Promise<ModifyBackupAttributesCommandOutput>;
123
83
  modifyBackupAttributes(args: ModifyBackupAttributesCommandInput, cb: (err: any, data?: ModifyBackupAttributesCommandOutput) => void): void;
124
84
  modifyBackupAttributes(args: ModifyBackupAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyBackupAttributesCommandOutput) => void): void;
125
85
  /**
126
- * @public
127
- * <p>Modifies AWS CloudHSM cluster.</p>
86
+ * @see {@link ModifyClusterCommand}
128
87
  */
129
88
  modifyCluster(args: ModifyClusterCommandInput, options?: __HttpHandlerOptions): Promise<ModifyClusterCommandOutput>;
130
89
  modifyCluster(args: ModifyClusterCommandInput, cb: (err: any, data?: ModifyClusterCommandOutput) => void): void;
131
90
  modifyCluster(args: ModifyClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyClusterCommandOutput) => void): void;
132
91
  /**
133
- * @public
134
- * <p>Restores a specified AWS CloudHSM backup that is in the
135
- * <code>PENDING_DELETION</code> state. For mor information on deleting a backup, see
136
- * <a>DeleteBackup</a>.</p>
92
+ * @see {@link RestoreBackupCommand}
137
93
  */
138
94
  restoreBackup(args: RestoreBackupCommandInput, options?: __HttpHandlerOptions): Promise<RestoreBackupCommandOutput>;
139
95
  restoreBackup(args: RestoreBackupCommandInput, cb: (err: any, data?: RestoreBackupCommandOutput) => void): void;
140
96
  restoreBackup(args: RestoreBackupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RestoreBackupCommandOutput) => void): void;
141
97
  /**
142
- * @public
143
- * <p>Adds or overwrites one or more tags for the specified AWS CloudHSM cluster.</p>
98
+ * @see {@link TagResourceCommand}
144
99
  */
145
100
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
146
101
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
147
102
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
148
103
  /**
149
- * @public
150
- * <p>Removes the specified tag or tags from the specified AWS CloudHSM cluster.</p>
104
+ * @see {@link UntagResourceCommand}
151
105
  */
152
106
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
153
107
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
154
108
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
155
109
  }
110
+ /**
111
+ * @public
112
+ * <p>For more information about AWS CloudHSM, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a> and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS
113
+ * CloudHSM User Guide</a>.</p>
114
+ */
115
+ export declare class CloudHSMV2 extends CloudHSMV2Client implements CloudHSMV2 {
116
+ }
@@ -60,7 +60,7 @@ import {
60
60
  UntagResourceCommandInput,
61
61
  UntagResourceCommandOutput,
62
62
  } from "./commands/UntagResourceCommand";
63
- export declare class CloudHSMV2 extends CloudHSMV2Client {
63
+ export interface CloudHSMV2 {
64
64
  copyBackupToRegion(
65
65
  args: CopyBackupToRegionCommandInput,
66
66
  options?: __HttpHandlerOptions
@@ -257,3 +257,6 @@ export declare class CloudHSMV2 extends CloudHSMV2Client {
257
257
  cb: (err: any, data?: UntagResourceCommandOutput) => void
258
258
  ): void;
259
259
  }
260
+ export declare class CloudHSMV2
261
+ extends CloudHSMV2Client
262
+ implements CloudHSMV2 {}
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.312.0",
4
+ "version": "3.316.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.312.0",
24
+ "@aws-sdk/client-sts": "3.316.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.310.0",
26
+ "@aws-sdk/credential-provider-node": "3.316.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -40,14 +40,14 @@
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.310.0",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.310.0",
43
+ "@aws-sdk/smithy-client": "3.316.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.310.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.310.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.316.0",
51
51
  "@aws-sdk/util-endpoints": "3.310.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",