@aws-sdk/client-cloudhsm-v2 3.296.0 → 3.298.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 (57) hide show
  1. package/dist-cjs/commands/CopyBackupToRegionCommand.js +2 -3
  2. package/dist-cjs/commands/CreateClusterCommand.js +2 -3
  3. package/dist-cjs/commands/CreateHsmCommand.js +2 -3
  4. package/dist-cjs/commands/DeleteBackupCommand.js +2 -3
  5. package/dist-cjs/commands/DeleteClusterCommand.js +2 -3
  6. package/dist-cjs/commands/DeleteHsmCommand.js +2 -3
  7. package/dist-cjs/commands/DescribeBackupsCommand.js +2 -3
  8. package/dist-cjs/commands/DescribeClustersCommand.js +2 -3
  9. package/dist-cjs/commands/InitializeClusterCommand.js +2 -3
  10. package/dist-cjs/commands/ListTagsCommand.js +2 -3
  11. package/dist-cjs/commands/ModifyBackupAttributesCommand.js +2 -3
  12. package/dist-cjs/commands/ModifyClusterCommand.js +2 -3
  13. package/dist-cjs/commands/RestoreBackupCommand.js +2 -3
  14. package/dist-cjs/commands/TagResourceCommand.js +2 -3
  15. package/dist-cjs/commands/UntagResourceCommand.js +2 -3
  16. package/dist-cjs/models/models_0.js +1 -149
  17. package/dist-es/commands/CopyBackupToRegionCommand.js +2 -3
  18. package/dist-es/commands/CreateClusterCommand.js +2 -3
  19. package/dist-es/commands/CreateHsmCommand.js +2 -3
  20. package/dist-es/commands/DeleteBackupCommand.js +2 -3
  21. package/dist-es/commands/DeleteClusterCommand.js +2 -3
  22. package/dist-es/commands/DeleteHsmCommand.js +2 -3
  23. package/dist-es/commands/DescribeBackupsCommand.js +2 -3
  24. package/dist-es/commands/DescribeClustersCommand.js +2 -3
  25. package/dist-es/commands/InitializeClusterCommand.js +2 -3
  26. package/dist-es/commands/ListTagsCommand.js +2 -3
  27. package/dist-es/commands/ModifyBackupAttributesCommand.js +2 -3
  28. package/dist-es/commands/ModifyClusterCommand.js +2 -3
  29. package/dist-es/commands/RestoreBackupCommand.js +2 -3
  30. package/dist-es/commands/TagResourceCommand.js +2 -3
  31. package/dist-es/commands/UntagResourceCommand.js +2 -3
  32. package/dist-es/models/models_0.js +0 -111
  33. package/dist-types/CloudHSMV2.d.ts +16 -0
  34. package/dist-types/CloudHSMV2Client.d.ts +24 -4
  35. package/dist-types/commands/CopyBackupToRegionCommand.d.ts +16 -0
  36. package/dist-types/commands/CreateClusterCommand.d.ts +16 -0
  37. package/dist-types/commands/CreateHsmCommand.d.ts +16 -0
  38. package/dist-types/commands/DeleteBackupCommand.d.ts +16 -0
  39. package/dist-types/commands/DeleteClusterCommand.d.ts +16 -0
  40. package/dist-types/commands/DeleteHsmCommand.d.ts +16 -0
  41. package/dist-types/commands/DescribeBackupsCommand.d.ts +16 -0
  42. package/dist-types/commands/DescribeClustersCommand.d.ts +16 -0
  43. package/dist-types/commands/InitializeClusterCommand.d.ts +16 -0
  44. package/dist-types/commands/ListTagsCommand.d.ts +16 -0
  45. package/dist-types/commands/ModifyBackupAttributesCommand.d.ts +16 -0
  46. package/dist-types/commands/ModifyClusterCommand.d.ts +16 -0
  47. package/dist-types/commands/RestoreBackupCommand.d.ts +16 -0
  48. package/dist-types/commands/TagResourceCommand.d.ts +16 -0
  49. package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
  50. package/dist-types/models/CloudHSMV2ServiceException.d.ts +2 -0
  51. package/dist-types/models/models_0.d.ts +118 -148
  52. package/dist-types/pagination/DescribeBackupsPaginator.d.ts +3 -0
  53. package/dist-types/pagination/DescribeClustersPaginator.d.ts +3 -0
  54. package/dist-types/pagination/Interfaces.d.ts +3 -0
  55. package/dist-types/pagination/ListTagsPaginator.d.ts +3 -0
  56. package/dist-types/ts3.4/models/models_0.d.ts +0 -101
  57. package/package.json +4 -3
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ListTagsRequestFilterSensitiveLog, ListTagsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListTagsCommand, serializeAws_json1_1ListTagsCommand } from "../protocols/Aws_json1_1";
6
5
  export class ListTagsCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class ListTagsCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: ListTagsRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: ListTagsResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ModifyBackupAttributesRequestFilterSensitiveLog, ModifyBackupAttributesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ModifyBackupAttributesCommand, serializeAws_json1_1ModifyBackupAttributesCommand, } from "../protocols/Aws_json1_1";
6
5
  export class ModifyBackupAttributesCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class ModifyBackupAttributesCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: ModifyBackupAttributesRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: ModifyBackupAttributesResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ModifyClusterRequestFilterSensitiveLog, ModifyClusterResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ModifyClusterCommand, serializeAws_json1_1ModifyClusterCommand, } from "../protocols/Aws_json1_1";
6
5
  export class ModifyClusterCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class ModifyClusterCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: ModifyClusterRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: ModifyClusterResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { RestoreBackupRequestFilterSensitiveLog, RestoreBackupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1RestoreBackupCommand, serializeAws_json1_1RestoreBackupCommand, } from "../protocols/Aws_json1_1";
6
5
  export class RestoreBackupCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class RestoreBackupCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: RestoreBackupRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: RestoreBackupResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1TagResourceCommand, serializeAws_json1_1TagResourceCommand, } from "../protocols/Aws_json1_1";
6
5
  export class TagResourceCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class TagResourceCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1UntagResourceCommand, serializeAws_json1_1UntagResourceCommand, } from "../protocols/Aws_json1_1";
6
5
  export class UntagResourceCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class UntagResourceCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -112,114 +112,3 @@ export var ClusterState;
112
112
  ClusterState["UNINITIALIZED"] = "UNINITIALIZED";
113
113
  ClusterState["UPDATE_IN_PROGRESS"] = "UPDATE_IN_PROGRESS";
114
114
  })(ClusterState || (ClusterState = {}));
115
- export const TagFilterSensitiveLog = (obj) => ({
116
- ...obj,
117
- });
118
- export const BackupFilterSensitiveLog = (obj) => ({
119
- ...obj,
120
- });
121
- export const BackupRetentionPolicyFilterSensitiveLog = (obj) => ({
122
- ...obj,
123
- });
124
- export const CopyBackupToRegionRequestFilterSensitiveLog = (obj) => ({
125
- ...obj,
126
- });
127
- export const DestinationBackupFilterSensitiveLog = (obj) => ({
128
- ...obj,
129
- });
130
- export const CopyBackupToRegionResponseFilterSensitiveLog = (obj) => ({
131
- ...obj,
132
- });
133
- export const CreateClusterRequestFilterSensitiveLog = (obj) => ({
134
- ...obj,
135
- });
136
- export const CertificatesFilterSensitiveLog = (obj) => ({
137
- ...obj,
138
- });
139
- export const HsmFilterSensitiveLog = (obj) => ({
140
- ...obj,
141
- });
142
- export const ClusterFilterSensitiveLog = (obj) => ({
143
- ...obj,
144
- });
145
- export const CreateClusterResponseFilterSensitiveLog = (obj) => ({
146
- ...obj,
147
- });
148
- export const CreateHsmRequestFilterSensitiveLog = (obj) => ({
149
- ...obj,
150
- });
151
- export const CreateHsmResponseFilterSensitiveLog = (obj) => ({
152
- ...obj,
153
- });
154
- export const DeleteBackupRequestFilterSensitiveLog = (obj) => ({
155
- ...obj,
156
- });
157
- export const DeleteBackupResponseFilterSensitiveLog = (obj) => ({
158
- ...obj,
159
- });
160
- export const DeleteClusterRequestFilterSensitiveLog = (obj) => ({
161
- ...obj,
162
- });
163
- export const DeleteClusterResponseFilterSensitiveLog = (obj) => ({
164
- ...obj,
165
- });
166
- export const DeleteHsmRequestFilterSensitiveLog = (obj) => ({
167
- ...obj,
168
- });
169
- export const DeleteHsmResponseFilterSensitiveLog = (obj) => ({
170
- ...obj,
171
- });
172
- export const DescribeBackupsRequestFilterSensitiveLog = (obj) => ({
173
- ...obj,
174
- });
175
- export const DescribeBackupsResponseFilterSensitiveLog = (obj) => ({
176
- ...obj,
177
- });
178
- export const DescribeClustersRequestFilterSensitiveLog = (obj) => ({
179
- ...obj,
180
- });
181
- export const DescribeClustersResponseFilterSensitiveLog = (obj) => ({
182
- ...obj,
183
- });
184
- export const InitializeClusterRequestFilterSensitiveLog = (obj) => ({
185
- ...obj,
186
- });
187
- export const InitializeClusterResponseFilterSensitiveLog = (obj) => ({
188
- ...obj,
189
- });
190
- export const ListTagsRequestFilterSensitiveLog = (obj) => ({
191
- ...obj,
192
- });
193
- export const ListTagsResponseFilterSensitiveLog = (obj) => ({
194
- ...obj,
195
- });
196
- export const ModifyBackupAttributesRequestFilterSensitiveLog = (obj) => ({
197
- ...obj,
198
- });
199
- export const ModifyBackupAttributesResponseFilterSensitiveLog = (obj) => ({
200
- ...obj,
201
- });
202
- export const ModifyClusterRequestFilterSensitiveLog = (obj) => ({
203
- ...obj,
204
- });
205
- export const ModifyClusterResponseFilterSensitiveLog = (obj) => ({
206
- ...obj,
207
- });
208
- export const RestoreBackupRequestFilterSensitiveLog = (obj) => ({
209
- ...obj,
210
- });
211
- export const RestoreBackupResponseFilterSensitiveLog = (obj) => ({
212
- ...obj,
213
- });
214
- export const TagResourceRequestFilterSensitiveLog = (obj) => ({
215
- ...obj,
216
- });
217
- export const TagResourceResponseFilterSensitiveLog = (obj) => ({
218
- ...obj,
219
- });
220
- export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
221
- ...obj,
222
- });
223
- export const UntagResourceResponseFilterSensitiveLog = (obj) => ({
224
- ...obj,
225
- });
@@ -16,23 +16,27 @@ import { RestoreBackupCommandInput, RestoreBackupCommandOutput } from "./command
16
16
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
17
17
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
18
18
  /**
19
+ * @public
19
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
20
21
  * CloudHSM User Guide</a>.</p>
21
22
  */
22
23
  export declare class CloudHSMV2 extends CloudHSMV2Client {
23
24
  /**
25
+ * @public
24
26
  * <p>Copy an AWS CloudHSM cluster backup to a different region.</p>
25
27
  */
26
28
  copyBackupToRegion(args: CopyBackupToRegionCommandInput, options?: __HttpHandlerOptions): Promise<CopyBackupToRegionCommandOutput>;
27
29
  copyBackupToRegion(args: CopyBackupToRegionCommandInput, cb: (err: any, data?: CopyBackupToRegionCommandOutput) => void): void;
28
30
  copyBackupToRegion(args: CopyBackupToRegionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CopyBackupToRegionCommandOutput) => void): void;
29
31
  /**
32
+ * @public
30
33
  * <p>Creates a new AWS CloudHSM cluster.</p>
31
34
  */
32
35
  createCluster(args: CreateClusterCommandInput, options?: __HttpHandlerOptions): Promise<CreateClusterCommandOutput>;
33
36
  createCluster(args: CreateClusterCommandInput, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
34
37
  createCluster(args: CreateClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
35
38
  /**
39
+ * @public
36
40
  * <p>Creates a new hardware security module (HSM) in the specified AWS CloudHSM
37
41
  * cluster.</p>
38
42
  */
@@ -40,6 +44,7 @@ export declare class CloudHSMV2 extends CloudHSMV2Client {
40
44
  createHsm(args: CreateHsmCommandInput, cb: (err: any, data?: CreateHsmCommandOutput) => void): void;
41
45
  createHsm(args: CreateHsmCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateHsmCommandOutput) => void): void;
42
46
  /**
47
+ * @public
43
48
  * <p>Deletes a specified AWS CloudHSM backup. A backup can be restored up to 7 days
44
49
  * after the DeleteBackup request is made. For more information on restoring a backup, see
45
50
  * <a>RestoreBackup</a>.</p>
@@ -48,6 +53,7 @@ export declare class CloudHSMV2 extends CloudHSMV2Client {
48
53
  deleteBackup(args: DeleteBackupCommandInput, cb: (err: any, data?: DeleteBackupCommandOutput) => void): void;
49
54
  deleteBackup(args: DeleteBackupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBackupCommandOutput) => void): void;
50
55
  /**
56
+ * @public
51
57
  * <p>Deletes the specified AWS CloudHSM cluster. Before you can delete a cluster, you must
52
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>
53
59
  */
@@ -55,6 +61,7 @@ export declare class CloudHSMV2 extends CloudHSMV2Client {
55
61
  deleteCluster(args: DeleteClusterCommandInput, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
56
62
  deleteCluster(args: DeleteClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
57
63
  /**
64
+ * @public
58
65
  * <p>Deletes the specified HSM. To specify an HSM, you can use its identifier (ID), the IP
59
66
  * address of the HSM's elastic network interface (ENI), or the ID of the HSM's ENI. You need to
60
67
  * specify only one of these values. To find these values, use <a>DescribeClusters</a>.</p>
@@ -63,6 +70,7 @@ export declare class CloudHSMV2 extends CloudHSMV2Client {
63
70
  deleteHsm(args: DeleteHsmCommandInput, cb: (err: any, data?: DeleteHsmCommandOutput) => void): void;
64
71
  deleteHsm(args: DeleteHsmCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteHsmCommandOutput) => void): void;
65
72
  /**
73
+ * @public
66
74
  * <p>Gets information about backups of AWS CloudHSM clusters.</p>
67
75
  * <p>This is a paginated operation, which means that each response might contain only a
68
76
  * subset of all the backups. When the response contains only a subset of backups, it includes a
@@ -74,6 +82,7 @@ export declare class CloudHSMV2 extends CloudHSMV2Client {
74
82
  describeBackups(args: DescribeBackupsCommandInput, cb: (err: any, data?: DescribeBackupsCommandOutput) => void): void;
75
83
  describeBackups(args: DescribeBackupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBackupsCommandOutput) => void): void;
76
84
  /**
85
+ * @public
77
86
  * <p>Gets information about AWS CloudHSM clusters.</p>
78
87
  * <p>This is a paginated operation, which means that each response might contain only a
79
88
  * subset of all the clusters. When the response contains only a subset of clusters, it includes
@@ -85,6 +94,7 @@ export declare class CloudHSMV2 extends CloudHSMV2Client {
85
94
  describeClusters(args: DescribeClustersCommandInput, cb: (err: any, data?: DescribeClustersCommandOutput) => void): void;
86
95
  describeClusters(args: DescribeClustersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeClustersCommandOutput) => void): void;
87
96
  /**
97
+ * @public
88
98
  * <p>Claims an AWS CloudHSM cluster by submitting the cluster certificate issued by your
89
99
  * issuing certificate authority (CA) and the CA's root certificate. Before you can claim a
90
100
  * cluster, you must sign the cluster's certificate signing request (CSR) with your issuing CA.
@@ -94,6 +104,7 @@ export declare class CloudHSMV2 extends CloudHSMV2Client {
94
104
  initializeCluster(args: InitializeClusterCommandInput, cb: (err: any, data?: InitializeClusterCommandOutput) => void): void;
95
105
  initializeCluster(args: InitializeClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InitializeClusterCommandOutput) => void): void;
96
106
  /**
107
+ * @public
97
108
  * <p>Gets a list of tags for the specified AWS CloudHSM cluster.</p>
98
109
  * <p>This is a paginated operation, which means that each response might contain only a
99
110
  * subset of all the tags. When the response contains only a subset of tags, it includes a
@@ -105,18 +116,21 @@ export declare class CloudHSMV2 extends CloudHSMV2Client {
105
116
  listTags(args: ListTagsCommandInput, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
106
117
  listTags(args: ListTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
107
118
  /**
119
+ * @public
108
120
  * <p>Modifies attributes for AWS CloudHSM backup.</p>
109
121
  */
110
122
  modifyBackupAttributes(args: ModifyBackupAttributesCommandInput, options?: __HttpHandlerOptions): Promise<ModifyBackupAttributesCommandOutput>;
111
123
  modifyBackupAttributes(args: ModifyBackupAttributesCommandInput, cb: (err: any, data?: ModifyBackupAttributesCommandOutput) => void): void;
112
124
  modifyBackupAttributes(args: ModifyBackupAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyBackupAttributesCommandOutput) => void): void;
113
125
  /**
126
+ * @public
114
127
  * <p>Modifies AWS CloudHSM cluster.</p>
115
128
  */
116
129
  modifyCluster(args: ModifyClusterCommandInput, options?: __HttpHandlerOptions): Promise<ModifyClusterCommandOutput>;
117
130
  modifyCluster(args: ModifyClusterCommandInput, cb: (err: any, data?: ModifyClusterCommandOutput) => void): void;
118
131
  modifyCluster(args: ModifyClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyClusterCommandOutput) => void): void;
119
132
  /**
133
+ * @public
120
134
  * <p>Restores a specified AWS CloudHSM backup that is in the
121
135
  * <code>PENDING_DELETION</code> state. For mor information on deleting a backup, see
122
136
  * <a>DeleteBackup</a>.</p>
@@ -125,12 +139,14 @@ export declare class CloudHSMV2 extends CloudHSMV2Client {
125
139
  restoreBackup(args: RestoreBackupCommandInput, cb: (err: any, data?: RestoreBackupCommandOutput) => void): void;
126
140
  restoreBackup(args: RestoreBackupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RestoreBackupCommandOutput) => void): void;
127
141
  /**
142
+ * @public
128
143
  * <p>Adds or overwrites one or more tags for the specified AWS CloudHSM cluster.</p>
129
144
  */
130
145
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
131
146
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
132
147
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
133
148
  /**
149
+ * @public
134
150
  * <p>Removes the specified tag or tags from the specified AWS CloudHSM cluster.</p>
135
151
  */
136
152
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
@@ -23,15 +23,24 @@ import { RestoreBackupCommandInput, RestoreBackupCommandOutput } from "./command
23
23
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
24
24
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
25
25
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
26
+ /**
27
+ * @public
28
+ */
26
29
  export type ServiceInputTypes = CopyBackupToRegionCommandInput | CreateClusterCommandInput | CreateHsmCommandInput | DeleteBackupCommandInput | DeleteClusterCommandInput | DeleteHsmCommandInput | DescribeBackupsCommandInput | DescribeClustersCommandInput | InitializeClusterCommandInput | ListTagsCommandInput | ModifyBackupAttributesCommandInput | ModifyClusterCommandInput | RestoreBackupCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
30
+ /**
31
+ * @public
32
+ */
27
33
  export type ServiceOutputTypes = CopyBackupToRegionCommandOutput | CreateClusterCommandOutput | CreateHsmCommandOutput | DeleteBackupCommandOutput | DeleteClusterCommandOutput | DeleteHsmCommandOutput | DescribeBackupsCommandOutput | DescribeClustersCommandOutput | InitializeClusterCommandOutput | ListTagsCommandOutput | ModifyBackupAttributesCommandOutput | ModifyClusterCommandOutput | RestoreBackupCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
34
+ /**
35
+ * @public
36
+ */
28
37
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
29
38
  /**
30
39
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
31
40
  */
32
41
  requestHandler?: __HttpHandler;
33
42
  /**
34
- * A constructor for a class implementing the {@link __Checksum} interface
43
+ * A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
35
44
  * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
36
45
  * @internal
37
46
  */
@@ -121,23 +130,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
121
130
  */
122
131
  logger?: __Logger;
123
132
  /**
124
- * The {@link __DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
133
+ * The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
125
134
  */
126
135
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
127
136
  }
137
+ /**
138
+ * @public
139
+ */
128
140
  type CloudHSMV2ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
129
141
  /**
130
- * The configuration interface of CloudHSMV2Client class constructor that set the region, credentials and other options.
142
+ * @public
143
+ *
144
+ * The configuration interface of CloudHSMV2Client class constructor that set the region, credentials and other options.
131
145
  */
132
146
  export interface CloudHSMV2ClientConfig extends CloudHSMV2ClientConfigType {
133
147
  }
148
+ /**
149
+ * @public
150
+ */
134
151
  type CloudHSMV2ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
135
152
  /**
136
- * The resolved configuration interface of CloudHSMV2Client class. This is resolved and normalized from the {@link CloudHSMV2ClientConfig | constructor configuration interface}.
153
+ * @public
154
+ *
155
+ * The resolved configuration interface of CloudHSMV2Client class. This is resolved and normalized from the {@link CloudHSMV2ClientConfig | constructor configuration interface}.
137
156
  */
138
157
  export interface CloudHSMV2ClientResolvedConfig extends CloudHSMV2ClientResolvedConfigType {
139
158
  }
140
159
  /**
160
+ * @public
141
161
  * <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
142
162
  * CloudHSM User Guide</a>.</p>
143
163
  */
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { CloudHSMV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMV2Client";
5
5
  import { CopyBackupToRegionRequest, CopyBackupToRegionResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link CopyBackupToRegionCommand}.
8
10
  */
9
11
  export interface CopyBackupToRegionCommandInput extends CopyBackupToRegionRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link CopyBackupToRegionCommand}.
13
17
  */
14
18
  export interface CopyBackupToRegionCommandOutput extends CopyBackupToRegionResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Copy an AWS CloudHSM cluster backup to a different region.</p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface CopyBackupToRegionCommandOutput extends CopyBackupToRegionRespo
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param CopyBackupToRegionCommandInput - {@link CopyBackupToRegionCommandInput}
34
+ * @returns {@link CopyBackupToRegionCommandOutput}
28
35
  * @see {@link CopyBackupToRegionCommandInput} for command's `input` shape.
29
36
  * @see {@link CopyBackupToRegionCommandOutput} for command's `response` shape.
30
37
  * @see {@link CloudHSMV2ClientResolvedConfig | config} for CloudHSMV2Client's `config` shape.
@@ -55,11 +62,20 @@ export interface CopyBackupToRegionCommandOutput extends CopyBackupToRegionRespo
55
62
  export declare class CopyBackupToRegionCommand extends $Command<CopyBackupToRegionCommandInput, CopyBackupToRegionCommandOutput, CloudHSMV2ClientResolvedConfig> {
56
63
  readonly input: CopyBackupToRegionCommandInput;
57
64
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
65
+ /**
66
+ * @public
67
+ */
58
68
  constructor(input: CopyBackupToRegionCommandInput);
59
69
  /**
60
70
  * @internal
61
71
  */
62
72
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudHSMV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CopyBackupToRegionCommandInput, CopyBackupToRegionCommandOutput>;
73
+ /**
74
+ * @internal
75
+ */
63
76
  private serialize;
77
+ /**
78
+ * @internal
79
+ */
64
80
  private deserialize;
65
81
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { CloudHSMV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMV2Client";
5
5
  import { CreateClusterRequest, CreateClusterResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link CreateClusterCommand}.
8
10
  */
9
11
  export interface CreateClusterCommandInput extends CreateClusterRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link CreateClusterCommand}.
13
17
  */
14
18
  export interface CreateClusterCommandOutput extends CreateClusterResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Creates a new AWS CloudHSM cluster.</p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param CreateClusterCommandInput - {@link CreateClusterCommandInput}
34
+ * @returns {@link CreateClusterCommandOutput}
28
35
  * @see {@link CreateClusterCommandInput} for command's `input` shape.
29
36
  * @see {@link CreateClusterCommandOutput} for command's `response` shape.
30
37
  * @see {@link CloudHSMV2ClientResolvedConfig | config} for CloudHSMV2Client's `config` shape.
@@ -55,11 +62,20 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
55
62
  export declare class CreateClusterCommand extends $Command<CreateClusterCommandInput, CreateClusterCommandOutput, CloudHSMV2ClientResolvedConfig> {
56
63
  readonly input: CreateClusterCommandInput;
57
64
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
65
+ /**
66
+ * @public
67
+ */
58
68
  constructor(input: CreateClusterCommandInput);
59
69
  /**
60
70
  * @internal
61
71
  */
62
72
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudHSMV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateClusterCommandInput, CreateClusterCommandOutput>;
73
+ /**
74
+ * @internal
75
+ */
63
76
  private serialize;
77
+ /**
78
+ * @internal
79
+ */
64
80
  private deserialize;
65
81
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { CloudHSMV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMV2Client";
5
5
  import { CreateHsmRequest, CreateHsmResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link CreateHsmCommand}.
8
10
  */
9
11
  export interface CreateHsmCommandInput extends CreateHsmRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link CreateHsmCommand}.
13
17
  */
14
18
  export interface CreateHsmCommandOutput extends CreateHsmResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Creates a new hardware security module (HSM) in the specified AWS CloudHSM
18
23
  * cluster.</p>
19
24
  * @example
@@ -26,6 +31,8 @@ export interface CreateHsmCommandOutput extends CreateHsmResponse, __MetadataBea
26
31
  * const response = await client.send(command);
27
32
  * ```
28
33
  *
34
+ * @param CreateHsmCommandInput - {@link CreateHsmCommandInput}
35
+ * @returns {@link CreateHsmCommandOutput}
29
36
  * @see {@link CreateHsmCommandInput} for command's `input` shape.
30
37
  * @see {@link CreateHsmCommandOutput} for command's `response` shape.
31
38
  * @see {@link CloudHSMV2ClientResolvedConfig | config} for CloudHSMV2Client's `config` shape.
@@ -53,11 +60,20 @@ export interface CreateHsmCommandOutput extends CreateHsmResponse, __MetadataBea
53
60
  export declare class CreateHsmCommand extends $Command<CreateHsmCommandInput, CreateHsmCommandOutput, CloudHSMV2ClientResolvedConfig> {
54
61
  readonly input: CreateHsmCommandInput;
55
62
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
63
+ /**
64
+ * @public
65
+ */
56
66
  constructor(input: CreateHsmCommandInput);
57
67
  /**
58
68
  * @internal
59
69
  */
60
70
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudHSMV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateHsmCommandInput, CreateHsmCommandOutput>;
71
+ /**
72
+ * @internal
73
+ */
61
74
  private serialize;
75
+ /**
76
+ * @internal
77
+ */
62
78
  private deserialize;
63
79
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { CloudHSMV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMV2Client";
5
5
  import { DeleteBackupRequest, DeleteBackupResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link DeleteBackupCommand}.
8
10
  */
9
11
  export interface DeleteBackupCommandInput extends DeleteBackupRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link DeleteBackupCommand}.
13
17
  */
14
18
  export interface DeleteBackupCommandOutput extends DeleteBackupResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Deletes a specified AWS CloudHSM backup. A backup can be restored up to 7 days
18
23
  * after the DeleteBackup request is made. For more information on restoring a backup, see
19
24
  * <a>RestoreBackup</a>.</p>
@@ -27,6 +32,8 @@ export interface DeleteBackupCommandOutput extends DeleteBackupResponse, __Metad
27
32
  * const response = await client.send(command);
28
33
  * ```
29
34
  *
35
+ * @param DeleteBackupCommandInput - {@link DeleteBackupCommandInput}
36
+ * @returns {@link DeleteBackupCommandOutput}
30
37
  * @see {@link DeleteBackupCommandInput} for command's `input` shape.
31
38
  * @see {@link DeleteBackupCommandOutput} for command's `response` shape.
32
39
  * @see {@link CloudHSMV2ClientResolvedConfig | config} for CloudHSMV2Client's `config` shape.
@@ -54,11 +61,20 @@ export interface DeleteBackupCommandOutput extends DeleteBackupResponse, __Metad
54
61
  export declare class DeleteBackupCommand extends $Command<DeleteBackupCommandInput, DeleteBackupCommandOutput, CloudHSMV2ClientResolvedConfig> {
55
62
  readonly input: DeleteBackupCommandInput;
56
63
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
64
+ /**
65
+ * @public
66
+ */
57
67
  constructor(input: DeleteBackupCommandInput);
58
68
  /**
59
69
  * @internal
60
70
  */
61
71
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudHSMV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteBackupCommandInput, DeleteBackupCommandOutput>;
72
+ /**
73
+ * @internal
74
+ */
62
75
  private serialize;
76
+ /**
77
+ * @internal
78
+ */
63
79
  private deserialize;
64
80
  }