@aws-sdk/client-cloudhsm 3.35.0 → 3.36.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/CHANGELOG.md +13 -0
- package/dist-cjs/CloudHSM.js +0 -1
- package/dist-cjs/CloudHSMClient.js +0 -1
- package/dist-cjs/commands/AddTagsToResourceCommand.js +0 -1
- package/dist-cjs/commands/CreateHapgCommand.js +0 -1
- package/dist-cjs/commands/CreateHsmCommand.js +0 -1
- package/dist-cjs/commands/CreateLunaClientCommand.js +0 -1
- package/dist-cjs/commands/DeleteHapgCommand.js +0 -1
- package/dist-cjs/commands/DeleteHsmCommand.js +0 -1
- package/dist-cjs/commands/DeleteLunaClientCommand.js +0 -1
- package/dist-cjs/commands/DescribeHapgCommand.js +0 -1
- package/dist-cjs/commands/DescribeHsmCommand.js +0 -1
- package/dist-cjs/commands/DescribeLunaClientCommand.js +0 -1
- package/dist-cjs/commands/GetConfigCommand.js +0 -1
- package/dist-cjs/commands/ListAvailableZonesCommand.js +0 -1
- package/dist-cjs/commands/ListHapgsCommand.js +0 -1
- package/dist-cjs/commands/ListHsmsCommand.js +0 -1
- package/dist-cjs/commands/ListLunaClientsCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/ModifyHapgCommand.js +0 -1
- package/dist-cjs/commands/ModifyHsmCommand.js +0 -1
- package/dist-cjs/commands/ModifyLunaClientCommand.js +0 -1
- package/dist-cjs/commands/RemoveTagsFromResourceCommand.js +0 -1
- package/dist-cjs/endpoints.js +0 -1
- package/dist-cjs/index.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js +0 -1
- package/dist-cjs/runtimeConfig.browser.js +2 -3
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-cjs/runtimeConfig.native.js +0 -1
- package/dist-cjs/runtimeConfig.shared.js +0 -1
- package/dist-es/CloudHSM.js +0 -1
- package/dist-es/CloudHSMClient.js +0 -1
- package/dist-es/commands/AddTagsToResourceCommand.js +0 -1
- package/dist-es/commands/CreateHapgCommand.js +0 -1
- package/dist-es/commands/CreateHsmCommand.js +0 -1
- package/dist-es/commands/CreateLunaClientCommand.js +0 -1
- package/dist-es/commands/DeleteHapgCommand.js +0 -1
- package/dist-es/commands/DeleteHsmCommand.js +0 -1
- package/dist-es/commands/DeleteLunaClientCommand.js +0 -1
- package/dist-es/commands/DescribeHapgCommand.js +0 -1
- package/dist-es/commands/DescribeHsmCommand.js +0 -1
- package/dist-es/commands/DescribeLunaClientCommand.js +0 -1
- package/dist-es/commands/GetConfigCommand.js +0 -1
- package/dist-es/commands/ListAvailableZonesCommand.js +0 -1
- package/dist-es/commands/ListHapgsCommand.js +0 -1
- package/dist-es/commands/ListHsmsCommand.js +0 -1
- package/dist-es/commands/ListLunaClientsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/ModifyHapgCommand.js +0 -1
- package/dist-es/commands/ModifyHsmCommand.js +0 -1
- package/dist-es/commands/ModifyLunaClientCommand.js +0 -1
- package/dist-es/commands/RemoveTagsFromResourceCommand.js +0 -1
- package/dist-es/endpoints.js +0 -1
- package/dist-es/index.js +0 -1
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/protocols/Aws_json1_1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/package.json +33 -30
- package/dist-cjs/CloudHSM.js.map +0 -1
- package/dist-cjs/CloudHSMClient.js.map +0 -1
- package/dist-cjs/commands/AddTagsToResourceCommand.js.map +0 -1
- package/dist-cjs/commands/CreateHapgCommand.js.map +0 -1
- package/dist-cjs/commands/CreateHsmCommand.js.map +0 -1
- package/dist-cjs/commands/CreateLunaClientCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteHapgCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteHsmCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteLunaClientCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeHapgCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeHsmCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeLunaClientCommand.js.map +0 -1
- package/dist-cjs/commands/GetConfigCommand.js.map +0 -1
- package/dist-cjs/commands/ListAvailableZonesCommand.js.map +0 -1
- package/dist-cjs/commands/ListHapgsCommand.js.map +0 -1
- package/dist-cjs/commands/ListHsmsCommand.js.map +0 -1
- package/dist-cjs/commands/ListLunaClientsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyHapgCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyHsmCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyLunaClientCommand.js.map +0 -1
- package/dist-cjs/commands/RemoveTagsFromResourceCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/CloudHSM.js.map +0 -1
- package/dist-es/CloudHSMClient.js.map +0 -1
- package/dist-es/commands/AddTagsToResourceCommand.js.map +0 -1
- package/dist-es/commands/CreateHapgCommand.js.map +0 -1
- package/dist-es/commands/CreateHsmCommand.js.map +0 -1
- package/dist-es/commands/CreateLunaClientCommand.js.map +0 -1
- package/dist-es/commands/DeleteHapgCommand.js.map +0 -1
- package/dist-es/commands/DeleteHsmCommand.js.map +0 -1
- package/dist-es/commands/DeleteLunaClientCommand.js.map +0 -1
- package/dist-es/commands/DescribeHapgCommand.js.map +0 -1
- package/dist-es/commands/DescribeHsmCommand.js.map +0 -1
- package/dist-es/commands/DescribeLunaClientCommand.js.map +0 -1
- package/dist-es/commands/GetConfigCommand.js.map +0 -1
- package/dist-es/commands/ListAvailableZonesCommand.js.map +0 -1
- package/dist-es/commands/ListHapgsCommand.js.map +0 -1
- package/dist-es/commands/ListHsmsCommand.js.map +0 -1
- package/dist-es/commands/ListLunaClientsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/ModifyHapgCommand.js.map +0 -1
- package/dist-es/commands/ModifyHsmCommand.js.map +0 -1
- package/dist-es/commands/ModifyLunaClientCommand.js.map +0 -1
- package/dist-es/commands/RemoveTagsFromResourceCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/protocols/Aws_json1_1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/CloudHSM.ts +0 -893
- package/src/CloudHSMClient.ts +0 -312
- package/src/commands/AddTagsToResourceCommand.ts +0 -107
- package/src/commands/CreateHapgCommand.ts +0 -106
- package/src/commands/CreateHsmCommand.ts +0 -111
- package/src/commands/CreateLunaClientCommand.ts +0 -105
- package/src/commands/DeleteHapgCommand.ts +0 -105
- package/src/commands/DeleteHsmCommand.ts +0 -103
- package/src/commands/DeleteLunaClientCommand.ts +0 -105
- package/src/commands/DescribeHapgCommand.ts +0 -105
- package/src/commands/DescribeHsmCommand.ts +0 -106
- package/src/commands/DescribeLunaClientCommand.ts +0 -105
- package/src/commands/GetConfigCommand.ts +0 -103
- package/src/commands/ListAvailableZonesCommand.ts +0 -105
- package/src/commands/ListHapgsCommand.ts +0 -106
- package/src/commands/ListHsmsCommand.ts +0 -107
- package/src/commands/ListLunaClientsCommand.ts +0 -109
- package/src/commands/ListTagsForResourceCommand.ts +0 -105
- package/src/commands/ModifyHapgCommand.ts +0 -105
- package/src/commands/ModifyHsmCommand.ts +0 -108
- package/src/commands/ModifyLunaClientCommand.ts +0 -107
- package/src/commands/RemoveTagsFromResourceCommand.ts +0 -107
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -23
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -1161
- package/src/protocols/Aws_json1_1.ts +0 -2400
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
package/src/CloudHSM.ts
DELETED
|
@@ -1,893 +0,0 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { CloudHSMClient } from "./CloudHSMClient";
|
|
4
|
-
import {
|
|
5
|
-
AddTagsToResourceCommand,
|
|
6
|
-
AddTagsToResourceCommandInput,
|
|
7
|
-
AddTagsToResourceCommandOutput,
|
|
8
|
-
} from "./commands/AddTagsToResourceCommand";
|
|
9
|
-
import { CreateHapgCommand, CreateHapgCommandInput, CreateHapgCommandOutput } from "./commands/CreateHapgCommand";
|
|
10
|
-
import { CreateHsmCommand, CreateHsmCommandInput, CreateHsmCommandOutput } from "./commands/CreateHsmCommand";
|
|
11
|
-
import {
|
|
12
|
-
CreateLunaClientCommand,
|
|
13
|
-
CreateLunaClientCommandInput,
|
|
14
|
-
CreateLunaClientCommandOutput,
|
|
15
|
-
} from "./commands/CreateLunaClientCommand";
|
|
16
|
-
import { DeleteHapgCommand, DeleteHapgCommandInput, DeleteHapgCommandOutput } from "./commands/DeleteHapgCommand";
|
|
17
|
-
import { DeleteHsmCommand, DeleteHsmCommandInput, DeleteHsmCommandOutput } from "./commands/DeleteHsmCommand";
|
|
18
|
-
import {
|
|
19
|
-
DeleteLunaClientCommand,
|
|
20
|
-
DeleteLunaClientCommandInput,
|
|
21
|
-
DeleteLunaClientCommandOutput,
|
|
22
|
-
} from "./commands/DeleteLunaClientCommand";
|
|
23
|
-
import {
|
|
24
|
-
DescribeHapgCommand,
|
|
25
|
-
DescribeHapgCommandInput,
|
|
26
|
-
DescribeHapgCommandOutput,
|
|
27
|
-
} from "./commands/DescribeHapgCommand";
|
|
28
|
-
import { DescribeHsmCommand, DescribeHsmCommandInput, DescribeHsmCommandOutput } from "./commands/DescribeHsmCommand";
|
|
29
|
-
import {
|
|
30
|
-
DescribeLunaClientCommand,
|
|
31
|
-
DescribeLunaClientCommandInput,
|
|
32
|
-
DescribeLunaClientCommandOutput,
|
|
33
|
-
} from "./commands/DescribeLunaClientCommand";
|
|
34
|
-
import { GetConfigCommand, GetConfigCommandInput, GetConfigCommandOutput } from "./commands/GetConfigCommand";
|
|
35
|
-
import {
|
|
36
|
-
ListAvailableZonesCommand,
|
|
37
|
-
ListAvailableZonesCommandInput,
|
|
38
|
-
ListAvailableZonesCommandOutput,
|
|
39
|
-
} from "./commands/ListAvailableZonesCommand";
|
|
40
|
-
import { ListHapgsCommand, ListHapgsCommandInput, ListHapgsCommandOutput } from "./commands/ListHapgsCommand";
|
|
41
|
-
import { ListHsmsCommand, ListHsmsCommandInput, ListHsmsCommandOutput } from "./commands/ListHsmsCommand";
|
|
42
|
-
import {
|
|
43
|
-
ListLunaClientsCommand,
|
|
44
|
-
ListLunaClientsCommandInput,
|
|
45
|
-
ListLunaClientsCommandOutput,
|
|
46
|
-
} from "./commands/ListLunaClientsCommand";
|
|
47
|
-
import {
|
|
48
|
-
ListTagsForResourceCommand,
|
|
49
|
-
ListTagsForResourceCommandInput,
|
|
50
|
-
ListTagsForResourceCommandOutput,
|
|
51
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
52
|
-
import { ModifyHapgCommand, ModifyHapgCommandInput, ModifyHapgCommandOutput } from "./commands/ModifyHapgCommand";
|
|
53
|
-
import { ModifyHsmCommand, ModifyHsmCommandInput, ModifyHsmCommandOutput } from "./commands/ModifyHsmCommand";
|
|
54
|
-
import {
|
|
55
|
-
ModifyLunaClientCommand,
|
|
56
|
-
ModifyLunaClientCommandInput,
|
|
57
|
-
ModifyLunaClientCommandOutput,
|
|
58
|
-
} from "./commands/ModifyLunaClientCommand";
|
|
59
|
-
import {
|
|
60
|
-
RemoveTagsFromResourceCommand,
|
|
61
|
-
RemoveTagsFromResourceCommandInput,
|
|
62
|
-
RemoveTagsFromResourceCommandOutput,
|
|
63
|
-
} from "./commands/RemoveTagsFromResourceCommand";
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* <fullname>AWS CloudHSM Service</fullname>
|
|
67
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
68
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
69
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
70
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
71
|
-
* <p>
|
|
72
|
-
* <b>For information about the current version of AWS
|
|
73
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
74
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
75
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
76
|
-
* Reference</a>.</p>
|
|
77
|
-
*/
|
|
78
|
-
export class CloudHSM extends CloudHSMClient {
|
|
79
|
-
/**
|
|
80
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
81
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
82
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
83
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
84
|
-
* <p>
|
|
85
|
-
* <b>For information about the current version of AWS
|
|
86
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
87
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
88
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
89
|
-
* Reference</a>.</p>
|
|
90
|
-
* <p>Adds or overwrites one or more tags for the specified AWS CloudHSM resource.</p>
|
|
91
|
-
* <p>Each tag consists of a key and a value. Tag keys must be unique to each
|
|
92
|
-
* resource.</p>
|
|
93
|
-
*/
|
|
94
|
-
public addTagsToResource(
|
|
95
|
-
args: AddTagsToResourceCommandInput,
|
|
96
|
-
options?: __HttpHandlerOptions
|
|
97
|
-
): Promise<AddTagsToResourceCommandOutput>;
|
|
98
|
-
public addTagsToResource(
|
|
99
|
-
args: AddTagsToResourceCommandInput,
|
|
100
|
-
cb: (err: any, data?: AddTagsToResourceCommandOutput) => void
|
|
101
|
-
): void;
|
|
102
|
-
public addTagsToResource(
|
|
103
|
-
args: AddTagsToResourceCommandInput,
|
|
104
|
-
options: __HttpHandlerOptions,
|
|
105
|
-
cb: (err: any, data?: AddTagsToResourceCommandOutput) => void
|
|
106
|
-
): void;
|
|
107
|
-
public addTagsToResource(
|
|
108
|
-
args: AddTagsToResourceCommandInput,
|
|
109
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AddTagsToResourceCommandOutput) => void),
|
|
110
|
-
cb?: (err: any, data?: AddTagsToResourceCommandOutput) => void
|
|
111
|
-
): Promise<AddTagsToResourceCommandOutput> | void {
|
|
112
|
-
const command = new AddTagsToResourceCommand(args);
|
|
113
|
-
if (typeof optionsOrCb === "function") {
|
|
114
|
-
this.send(command, optionsOrCb);
|
|
115
|
-
} else if (typeof cb === "function") {
|
|
116
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
117
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
118
|
-
} else {
|
|
119
|
-
return this.send(command, optionsOrCb);
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
125
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
126
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
127
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
128
|
-
* <p>
|
|
129
|
-
* <b>For information about the current version of AWS
|
|
130
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
131
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
132
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
133
|
-
* Reference</a>.</p>
|
|
134
|
-
* <p>Creates a high-availability partition group. A high-availability partition group is a
|
|
135
|
-
* group of partitions that spans multiple physical HSMs.</p>
|
|
136
|
-
*/
|
|
137
|
-
public createHapg(args: CreateHapgCommandInput, options?: __HttpHandlerOptions): Promise<CreateHapgCommandOutput>;
|
|
138
|
-
public createHapg(args: CreateHapgCommandInput, cb: (err: any, data?: CreateHapgCommandOutput) => void): void;
|
|
139
|
-
public createHapg(
|
|
140
|
-
args: CreateHapgCommandInput,
|
|
141
|
-
options: __HttpHandlerOptions,
|
|
142
|
-
cb: (err: any, data?: CreateHapgCommandOutput) => void
|
|
143
|
-
): void;
|
|
144
|
-
public createHapg(
|
|
145
|
-
args: CreateHapgCommandInput,
|
|
146
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateHapgCommandOutput) => void),
|
|
147
|
-
cb?: (err: any, data?: CreateHapgCommandOutput) => void
|
|
148
|
-
): Promise<CreateHapgCommandOutput> | void {
|
|
149
|
-
const command = new CreateHapgCommand(args);
|
|
150
|
-
if (typeof optionsOrCb === "function") {
|
|
151
|
-
this.send(command, optionsOrCb);
|
|
152
|
-
} else if (typeof cb === "function") {
|
|
153
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
154
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
155
|
-
} else {
|
|
156
|
-
return this.send(command, optionsOrCb);
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
162
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
163
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
164
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
165
|
-
* <p>
|
|
166
|
-
* <b>For information about the current version of AWS
|
|
167
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
168
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
169
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
170
|
-
* Reference</a>.</p>
|
|
171
|
-
* <p>Creates an uninitialized HSM instance.</p>
|
|
172
|
-
* <p>There is an upfront fee charged for each HSM instance that you create with the
|
|
173
|
-
* <code>CreateHsm</code> operation. If you accidentally provision an HSM and want to request a
|
|
174
|
-
* refund, delete the instance using the <a>DeleteHsm</a> operation, go to the <a href="https://console.aws.amazon.com/support/home">AWS Support Center</a>, create a new case, and select
|
|
175
|
-
* <b>Account and Billing Support</b>.</p>
|
|
176
|
-
* <important>
|
|
177
|
-
* <p>It can take up to 20 minutes to create and provision an HSM. You can monitor the
|
|
178
|
-
* status of the HSM with the <a>DescribeHsm</a> operation. The HSM is ready to be
|
|
179
|
-
* initialized when the status changes to <code>RUNNING</code>.</p>
|
|
180
|
-
* </important>
|
|
181
|
-
*/
|
|
182
|
-
public createHsm(args: CreateHsmCommandInput, options?: __HttpHandlerOptions): Promise<CreateHsmCommandOutput>;
|
|
183
|
-
public createHsm(args: CreateHsmCommandInput, cb: (err: any, data?: CreateHsmCommandOutput) => void): void;
|
|
184
|
-
public createHsm(
|
|
185
|
-
args: CreateHsmCommandInput,
|
|
186
|
-
options: __HttpHandlerOptions,
|
|
187
|
-
cb: (err: any, data?: CreateHsmCommandOutput) => void
|
|
188
|
-
): void;
|
|
189
|
-
public createHsm(
|
|
190
|
-
args: CreateHsmCommandInput,
|
|
191
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateHsmCommandOutput) => void),
|
|
192
|
-
cb?: (err: any, data?: CreateHsmCommandOutput) => void
|
|
193
|
-
): Promise<CreateHsmCommandOutput> | void {
|
|
194
|
-
const command = new CreateHsmCommand(args);
|
|
195
|
-
if (typeof optionsOrCb === "function") {
|
|
196
|
-
this.send(command, optionsOrCb);
|
|
197
|
-
} else if (typeof cb === "function") {
|
|
198
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
199
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
200
|
-
} else {
|
|
201
|
-
return this.send(command, optionsOrCb);
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
/**
|
|
206
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
207
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
208
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
209
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
210
|
-
* <p>
|
|
211
|
-
* <b>For information about the current version of AWS
|
|
212
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
213
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
214
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
215
|
-
* Reference</a>.</p>
|
|
216
|
-
* <p>Creates an HSM client.</p>
|
|
217
|
-
*/
|
|
218
|
-
public createLunaClient(
|
|
219
|
-
args: CreateLunaClientCommandInput,
|
|
220
|
-
options?: __HttpHandlerOptions
|
|
221
|
-
): Promise<CreateLunaClientCommandOutput>;
|
|
222
|
-
public createLunaClient(
|
|
223
|
-
args: CreateLunaClientCommandInput,
|
|
224
|
-
cb: (err: any, data?: CreateLunaClientCommandOutput) => void
|
|
225
|
-
): void;
|
|
226
|
-
public createLunaClient(
|
|
227
|
-
args: CreateLunaClientCommandInput,
|
|
228
|
-
options: __HttpHandlerOptions,
|
|
229
|
-
cb: (err: any, data?: CreateLunaClientCommandOutput) => void
|
|
230
|
-
): void;
|
|
231
|
-
public createLunaClient(
|
|
232
|
-
args: CreateLunaClientCommandInput,
|
|
233
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateLunaClientCommandOutput) => void),
|
|
234
|
-
cb?: (err: any, data?: CreateLunaClientCommandOutput) => void
|
|
235
|
-
): Promise<CreateLunaClientCommandOutput> | void {
|
|
236
|
-
const command = new CreateLunaClientCommand(args);
|
|
237
|
-
if (typeof optionsOrCb === "function") {
|
|
238
|
-
this.send(command, optionsOrCb);
|
|
239
|
-
} else if (typeof cb === "function") {
|
|
240
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
241
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
242
|
-
} else {
|
|
243
|
-
return this.send(command, optionsOrCb);
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
/**
|
|
248
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
249
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
250
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
251
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
252
|
-
* <p>
|
|
253
|
-
* <b>For information about the current version of AWS
|
|
254
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
255
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
256
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
257
|
-
* Reference</a>.</p>
|
|
258
|
-
* <p>Deletes a high-availability partition group.</p>
|
|
259
|
-
*/
|
|
260
|
-
public deleteHapg(args: DeleteHapgCommandInput, options?: __HttpHandlerOptions): Promise<DeleteHapgCommandOutput>;
|
|
261
|
-
public deleteHapg(args: DeleteHapgCommandInput, cb: (err: any, data?: DeleteHapgCommandOutput) => void): void;
|
|
262
|
-
public deleteHapg(
|
|
263
|
-
args: DeleteHapgCommandInput,
|
|
264
|
-
options: __HttpHandlerOptions,
|
|
265
|
-
cb: (err: any, data?: DeleteHapgCommandOutput) => void
|
|
266
|
-
): void;
|
|
267
|
-
public deleteHapg(
|
|
268
|
-
args: DeleteHapgCommandInput,
|
|
269
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteHapgCommandOutput) => void),
|
|
270
|
-
cb?: (err: any, data?: DeleteHapgCommandOutput) => void
|
|
271
|
-
): Promise<DeleteHapgCommandOutput> | void {
|
|
272
|
-
const command = new DeleteHapgCommand(args);
|
|
273
|
-
if (typeof optionsOrCb === "function") {
|
|
274
|
-
this.send(command, optionsOrCb);
|
|
275
|
-
} else if (typeof cb === "function") {
|
|
276
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
277
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
278
|
-
} else {
|
|
279
|
-
return this.send(command, optionsOrCb);
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
/**
|
|
284
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
285
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
286
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
287
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
288
|
-
* <p>
|
|
289
|
-
* <b>For information about the current version of AWS
|
|
290
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
291
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
292
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
293
|
-
* Reference</a>.</p>
|
|
294
|
-
* <p>Deletes an HSM. After completion, this operation cannot be undone and your key material
|
|
295
|
-
* cannot be recovered.</p>
|
|
296
|
-
*/
|
|
297
|
-
public deleteHsm(args: DeleteHsmCommandInput, options?: __HttpHandlerOptions): Promise<DeleteHsmCommandOutput>;
|
|
298
|
-
public deleteHsm(args: DeleteHsmCommandInput, cb: (err: any, data?: DeleteHsmCommandOutput) => void): void;
|
|
299
|
-
public deleteHsm(
|
|
300
|
-
args: DeleteHsmCommandInput,
|
|
301
|
-
options: __HttpHandlerOptions,
|
|
302
|
-
cb: (err: any, data?: DeleteHsmCommandOutput) => void
|
|
303
|
-
): void;
|
|
304
|
-
public deleteHsm(
|
|
305
|
-
args: DeleteHsmCommandInput,
|
|
306
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteHsmCommandOutput) => void),
|
|
307
|
-
cb?: (err: any, data?: DeleteHsmCommandOutput) => void
|
|
308
|
-
): Promise<DeleteHsmCommandOutput> | void {
|
|
309
|
-
const command = new DeleteHsmCommand(args);
|
|
310
|
-
if (typeof optionsOrCb === "function") {
|
|
311
|
-
this.send(command, optionsOrCb);
|
|
312
|
-
} else if (typeof cb === "function") {
|
|
313
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
314
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
315
|
-
} else {
|
|
316
|
-
return this.send(command, optionsOrCb);
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
/**
|
|
321
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
322
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
323
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
324
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
325
|
-
* <p>
|
|
326
|
-
* <b>For information about the current version of AWS
|
|
327
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
328
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
329
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
330
|
-
* Reference</a>.</p>
|
|
331
|
-
* <p>Deletes a client.</p>
|
|
332
|
-
*/
|
|
333
|
-
public deleteLunaClient(
|
|
334
|
-
args: DeleteLunaClientCommandInput,
|
|
335
|
-
options?: __HttpHandlerOptions
|
|
336
|
-
): Promise<DeleteLunaClientCommandOutput>;
|
|
337
|
-
public deleteLunaClient(
|
|
338
|
-
args: DeleteLunaClientCommandInput,
|
|
339
|
-
cb: (err: any, data?: DeleteLunaClientCommandOutput) => void
|
|
340
|
-
): void;
|
|
341
|
-
public deleteLunaClient(
|
|
342
|
-
args: DeleteLunaClientCommandInput,
|
|
343
|
-
options: __HttpHandlerOptions,
|
|
344
|
-
cb: (err: any, data?: DeleteLunaClientCommandOutput) => void
|
|
345
|
-
): void;
|
|
346
|
-
public deleteLunaClient(
|
|
347
|
-
args: DeleteLunaClientCommandInput,
|
|
348
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteLunaClientCommandOutput) => void),
|
|
349
|
-
cb?: (err: any, data?: DeleteLunaClientCommandOutput) => void
|
|
350
|
-
): Promise<DeleteLunaClientCommandOutput> | void {
|
|
351
|
-
const command = new DeleteLunaClientCommand(args);
|
|
352
|
-
if (typeof optionsOrCb === "function") {
|
|
353
|
-
this.send(command, optionsOrCb);
|
|
354
|
-
} else if (typeof cb === "function") {
|
|
355
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
356
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
357
|
-
} else {
|
|
358
|
-
return this.send(command, optionsOrCb);
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
/**
|
|
363
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
364
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
365
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
366
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
367
|
-
* <p>
|
|
368
|
-
* <b>For information about the current version of AWS
|
|
369
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
370
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
371
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
372
|
-
* Reference</a>.</p>
|
|
373
|
-
* <p>Retrieves information about a high-availability partition group.</p>
|
|
374
|
-
*/
|
|
375
|
-
public describeHapg(
|
|
376
|
-
args: DescribeHapgCommandInput,
|
|
377
|
-
options?: __HttpHandlerOptions
|
|
378
|
-
): Promise<DescribeHapgCommandOutput>;
|
|
379
|
-
public describeHapg(args: DescribeHapgCommandInput, cb: (err: any, data?: DescribeHapgCommandOutput) => void): void;
|
|
380
|
-
public describeHapg(
|
|
381
|
-
args: DescribeHapgCommandInput,
|
|
382
|
-
options: __HttpHandlerOptions,
|
|
383
|
-
cb: (err: any, data?: DescribeHapgCommandOutput) => void
|
|
384
|
-
): void;
|
|
385
|
-
public describeHapg(
|
|
386
|
-
args: DescribeHapgCommandInput,
|
|
387
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeHapgCommandOutput) => void),
|
|
388
|
-
cb?: (err: any, data?: DescribeHapgCommandOutput) => void
|
|
389
|
-
): Promise<DescribeHapgCommandOutput> | void {
|
|
390
|
-
const command = new DescribeHapgCommand(args);
|
|
391
|
-
if (typeof optionsOrCb === "function") {
|
|
392
|
-
this.send(command, optionsOrCb);
|
|
393
|
-
} else if (typeof cb === "function") {
|
|
394
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
395
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
396
|
-
} else {
|
|
397
|
-
return this.send(command, optionsOrCb);
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
/**
|
|
402
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
403
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
404
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
405
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
406
|
-
* <p>
|
|
407
|
-
* <b>For information about the current version of AWS
|
|
408
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
409
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
410
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
411
|
-
* Reference</a>.</p>
|
|
412
|
-
* <p>Retrieves information about an HSM. You can identify the HSM by its ARN or its serial
|
|
413
|
-
* number.</p>
|
|
414
|
-
*/
|
|
415
|
-
public describeHsm(args: DescribeHsmCommandInput, options?: __HttpHandlerOptions): Promise<DescribeHsmCommandOutput>;
|
|
416
|
-
public describeHsm(args: DescribeHsmCommandInput, cb: (err: any, data?: DescribeHsmCommandOutput) => void): void;
|
|
417
|
-
public describeHsm(
|
|
418
|
-
args: DescribeHsmCommandInput,
|
|
419
|
-
options: __HttpHandlerOptions,
|
|
420
|
-
cb: (err: any, data?: DescribeHsmCommandOutput) => void
|
|
421
|
-
): void;
|
|
422
|
-
public describeHsm(
|
|
423
|
-
args: DescribeHsmCommandInput,
|
|
424
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeHsmCommandOutput) => void),
|
|
425
|
-
cb?: (err: any, data?: DescribeHsmCommandOutput) => void
|
|
426
|
-
): Promise<DescribeHsmCommandOutput> | void {
|
|
427
|
-
const command = new DescribeHsmCommand(args);
|
|
428
|
-
if (typeof optionsOrCb === "function") {
|
|
429
|
-
this.send(command, optionsOrCb);
|
|
430
|
-
} else if (typeof cb === "function") {
|
|
431
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
432
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
433
|
-
} else {
|
|
434
|
-
return this.send(command, optionsOrCb);
|
|
435
|
-
}
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
/**
|
|
439
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
440
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
441
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
442
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
443
|
-
* <p>
|
|
444
|
-
* <b>For information about the current version of AWS
|
|
445
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
446
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
447
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
448
|
-
* Reference</a>.</p>
|
|
449
|
-
* <p>Retrieves information about an HSM client.</p>
|
|
450
|
-
*/
|
|
451
|
-
public describeLunaClient(
|
|
452
|
-
args: DescribeLunaClientCommandInput,
|
|
453
|
-
options?: __HttpHandlerOptions
|
|
454
|
-
): Promise<DescribeLunaClientCommandOutput>;
|
|
455
|
-
public describeLunaClient(
|
|
456
|
-
args: DescribeLunaClientCommandInput,
|
|
457
|
-
cb: (err: any, data?: DescribeLunaClientCommandOutput) => void
|
|
458
|
-
): void;
|
|
459
|
-
public describeLunaClient(
|
|
460
|
-
args: DescribeLunaClientCommandInput,
|
|
461
|
-
options: __HttpHandlerOptions,
|
|
462
|
-
cb: (err: any, data?: DescribeLunaClientCommandOutput) => void
|
|
463
|
-
): void;
|
|
464
|
-
public describeLunaClient(
|
|
465
|
-
args: DescribeLunaClientCommandInput,
|
|
466
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeLunaClientCommandOutput) => void),
|
|
467
|
-
cb?: (err: any, data?: DescribeLunaClientCommandOutput) => void
|
|
468
|
-
): Promise<DescribeLunaClientCommandOutput> | void {
|
|
469
|
-
const command = new DescribeLunaClientCommand(args);
|
|
470
|
-
if (typeof optionsOrCb === "function") {
|
|
471
|
-
this.send(command, optionsOrCb);
|
|
472
|
-
} else if (typeof cb === "function") {
|
|
473
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
474
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
475
|
-
} else {
|
|
476
|
-
return this.send(command, optionsOrCb);
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
/**
|
|
481
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
482
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
483
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
484
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
485
|
-
* <p>
|
|
486
|
-
* <b>For information about the current version of AWS
|
|
487
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
488
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
489
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
490
|
-
* Reference</a>.</p>
|
|
491
|
-
* <p>Gets the configuration files necessary to connect to all high availability partition
|
|
492
|
-
* groups the client is associated with.</p>
|
|
493
|
-
*/
|
|
494
|
-
public getConfig(args: GetConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetConfigCommandOutput>;
|
|
495
|
-
public getConfig(args: GetConfigCommandInput, cb: (err: any, data?: GetConfigCommandOutput) => void): void;
|
|
496
|
-
public getConfig(
|
|
497
|
-
args: GetConfigCommandInput,
|
|
498
|
-
options: __HttpHandlerOptions,
|
|
499
|
-
cb: (err: any, data?: GetConfigCommandOutput) => void
|
|
500
|
-
): void;
|
|
501
|
-
public getConfig(
|
|
502
|
-
args: GetConfigCommandInput,
|
|
503
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetConfigCommandOutput) => void),
|
|
504
|
-
cb?: (err: any, data?: GetConfigCommandOutput) => void
|
|
505
|
-
): Promise<GetConfigCommandOutput> | void {
|
|
506
|
-
const command = new GetConfigCommand(args);
|
|
507
|
-
if (typeof optionsOrCb === "function") {
|
|
508
|
-
this.send(command, optionsOrCb);
|
|
509
|
-
} else if (typeof cb === "function") {
|
|
510
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
511
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
512
|
-
} else {
|
|
513
|
-
return this.send(command, optionsOrCb);
|
|
514
|
-
}
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
/**
|
|
518
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
519
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
520
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
521
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
522
|
-
* <p>
|
|
523
|
-
* <b>For information about the current version of AWS
|
|
524
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
525
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
526
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
527
|
-
* Reference</a>.</p>
|
|
528
|
-
* <p>Lists the Availability Zones that have available AWS CloudHSM capacity.</p>
|
|
529
|
-
*/
|
|
530
|
-
public listAvailableZones(
|
|
531
|
-
args: ListAvailableZonesCommandInput,
|
|
532
|
-
options?: __HttpHandlerOptions
|
|
533
|
-
): Promise<ListAvailableZonesCommandOutput>;
|
|
534
|
-
public listAvailableZones(
|
|
535
|
-
args: ListAvailableZonesCommandInput,
|
|
536
|
-
cb: (err: any, data?: ListAvailableZonesCommandOutput) => void
|
|
537
|
-
): void;
|
|
538
|
-
public listAvailableZones(
|
|
539
|
-
args: ListAvailableZonesCommandInput,
|
|
540
|
-
options: __HttpHandlerOptions,
|
|
541
|
-
cb: (err: any, data?: ListAvailableZonesCommandOutput) => void
|
|
542
|
-
): void;
|
|
543
|
-
public listAvailableZones(
|
|
544
|
-
args: ListAvailableZonesCommandInput,
|
|
545
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAvailableZonesCommandOutput) => void),
|
|
546
|
-
cb?: (err: any, data?: ListAvailableZonesCommandOutput) => void
|
|
547
|
-
): Promise<ListAvailableZonesCommandOutput> | void {
|
|
548
|
-
const command = new ListAvailableZonesCommand(args);
|
|
549
|
-
if (typeof optionsOrCb === "function") {
|
|
550
|
-
this.send(command, optionsOrCb);
|
|
551
|
-
} else if (typeof cb === "function") {
|
|
552
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
553
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
554
|
-
} else {
|
|
555
|
-
return this.send(command, optionsOrCb);
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
/**
|
|
560
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
561
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
562
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
563
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
564
|
-
* <p>
|
|
565
|
-
* <b>For information about the current version of AWS
|
|
566
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
567
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
568
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
569
|
-
* Reference</a>.</p>
|
|
570
|
-
* <p>Lists the high-availability partition groups for the account.</p>
|
|
571
|
-
* <p>This operation supports pagination with the use of the <code>NextToken</code> member.
|
|
572
|
-
* If more results are available, the <code>NextToken</code> member of the response contains a
|
|
573
|
-
* token that you pass in the next call to <code>ListHapgs</code> to retrieve the next set of
|
|
574
|
-
* items.</p>
|
|
575
|
-
*/
|
|
576
|
-
public listHapgs(args: ListHapgsCommandInput, options?: __HttpHandlerOptions): Promise<ListHapgsCommandOutput>;
|
|
577
|
-
public listHapgs(args: ListHapgsCommandInput, cb: (err: any, data?: ListHapgsCommandOutput) => void): void;
|
|
578
|
-
public listHapgs(
|
|
579
|
-
args: ListHapgsCommandInput,
|
|
580
|
-
options: __HttpHandlerOptions,
|
|
581
|
-
cb: (err: any, data?: ListHapgsCommandOutput) => void
|
|
582
|
-
): void;
|
|
583
|
-
public listHapgs(
|
|
584
|
-
args: ListHapgsCommandInput,
|
|
585
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListHapgsCommandOutput) => void),
|
|
586
|
-
cb?: (err: any, data?: ListHapgsCommandOutput) => void
|
|
587
|
-
): Promise<ListHapgsCommandOutput> | void {
|
|
588
|
-
const command = new ListHapgsCommand(args);
|
|
589
|
-
if (typeof optionsOrCb === "function") {
|
|
590
|
-
this.send(command, optionsOrCb);
|
|
591
|
-
} else if (typeof cb === "function") {
|
|
592
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
593
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
594
|
-
} else {
|
|
595
|
-
return this.send(command, optionsOrCb);
|
|
596
|
-
}
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
/**
|
|
600
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
601
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
602
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
603
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
604
|
-
* <p>
|
|
605
|
-
* <b>For information about the current version of AWS
|
|
606
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
607
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
608
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
609
|
-
* Reference</a>.</p>
|
|
610
|
-
* <p>Retrieves the identifiers of all of the HSMs provisioned for the current
|
|
611
|
-
* customer.</p>
|
|
612
|
-
* <p>This operation supports pagination with the use of the <code>NextToken</code> member.
|
|
613
|
-
* If more results are available, the <code>NextToken</code> member of the response contains a
|
|
614
|
-
* token that you pass in the next call to <code>ListHsms</code> to retrieve the next set of
|
|
615
|
-
* items.</p>
|
|
616
|
-
*/
|
|
617
|
-
public listHsms(args: ListHsmsCommandInput, options?: __HttpHandlerOptions): Promise<ListHsmsCommandOutput>;
|
|
618
|
-
public listHsms(args: ListHsmsCommandInput, cb: (err: any, data?: ListHsmsCommandOutput) => void): void;
|
|
619
|
-
public listHsms(
|
|
620
|
-
args: ListHsmsCommandInput,
|
|
621
|
-
options: __HttpHandlerOptions,
|
|
622
|
-
cb: (err: any, data?: ListHsmsCommandOutput) => void
|
|
623
|
-
): void;
|
|
624
|
-
public listHsms(
|
|
625
|
-
args: ListHsmsCommandInput,
|
|
626
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListHsmsCommandOutput) => void),
|
|
627
|
-
cb?: (err: any, data?: ListHsmsCommandOutput) => void
|
|
628
|
-
): Promise<ListHsmsCommandOutput> | void {
|
|
629
|
-
const command = new ListHsmsCommand(args);
|
|
630
|
-
if (typeof optionsOrCb === "function") {
|
|
631
|
-
this.send(command, optionsOrCb);
|
|
632
|
-
} else if (typeof cb === "function") {
|
|
633
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
634
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
635
|
-
} else {
|
|
636
|
-
return this.send(command, optionsOrCb);
|
|
637
|
-
}
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
/**
|
|
641
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
642
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
643
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
644
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
645
|
-
* <p>
|
|
646
|
-
* <b>For information about the current version of AWS
|
|
647
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
648
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
649
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
650
|
-
* Reference</a>.</p>
|
|
651
|
-
* <p>Lists all of the clients.</p>
|
|
652
|
-
* <p>This operation supports pagination with the use of the <code>NextToken</code> member.
|
|
653
|
-
* If more results are available, the <code>NextToken</code> member of the response contains a
|
|
654
|
-
* token that you pass in the next call to <code>ListLunaClients</code> to retrieve the next set
|
|
655
|
-
* of items.</p>
|
|
656
|
-
*/
|
|
657
|
-
public listLunaClients(
|
|
658
|
-
args: ListLunaClientsCommandInput,
|
|
659
|
-
options?: __HttpHandlerOptions
|
|
660
|
-
): Promise<ListLunaClientsCommandOutput>;
|
|
661
|
-
public listLunaClients(
|
|
662
|
-
args: ListLunaClientsCommandInput,
|
|
663
|
-
cb: (err: any, data?: ListLunaClientsCommandOutput) => void
|
|
664
|
-
): void;
|
|
665
|
-
public listLunaClients(
|
|
666
|
-
args: ListLunaClientsCommandInput,
|
|
667
|
-
options: __HttpHandlerOptions,
|
|
668
|
-
cb: (err: any, data?: ListLunaClientsCommandOutput) => void
|
|
669
|
-
): void;
|
|
670
|
-
public listLunaClients(
|
|
671
|
-
args: ListLunaClientsCommandInput,
|
|
672
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListLunaClientsCommandOutput) => void),
|
|
673
|
-
cb?: (err: any, data?: ListLunaClientsCommandOutput) => void
|
|
674
|
-
): Promise<ListLunaClientsCommandOutput> | void {
|
|
675
|
-
const command = new ListLunaClientsCommand(args);
|
|
676
|
-
if (typeof optionsOrCb === "function") {
|
|
677
|
-
this.send(command, optionsOrCb);
|
|
678
|
-
} else if (typeof cb === "function") {
|
|
679
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
680
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
681
|
-
} else {
|
|
682
|
-
return this.send(command, optionsOrCb);
|
|
683
|
-
}
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
/**
|
|
687
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
688
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
689
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
690
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
691
|
-
* <p>
|
|
692
|
-
* <b>For information about the current version of AWS
|
|
693
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
694
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
695
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
696
|
-
* Reference</a>.</p>
|
|
697
|
-
* <p>Returns a list of all tags for the specified AWS CloudHSM resource.</p>
|
|
698
|
-
*/
|
|
699
|
-
public listTagsForResource(
|
|
700
|
-
args: ListTagsForResourceCommandInput,
|
|
701
|
-
options?: __HttpHandlerOptions
|
|
702
|
-
): Promise<ListTagsForResourceCommandOutput>;
|
|
703
|
-
public listTagsForResource(
|
|
704
|
-
args: ListTagsForResourceCommandInput,
|
|
705
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
706
|
-
): void;
|
|
707
|
-
public listTagsForResource(
|
|
708
|
-
args: ListTagsForResourceCommandInput,
|
|
709
|
-
options: __HttpHandlerOptions,
|
|
710
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
711
|
-
): void;
|
|
712
|
-
public listTagsForResource(
|
|
713
|
-
args: ListTagsForResourceCommandInput,
|
|
714
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
|
|
715
|
-
cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
716
|
-
): Promise<ListTagsForResourceCommandOutput> | void {
|
|
717
|
-
const command = new ListTagsForResourceCommand(args);
|
|
718
|
-
if (typeof optionsOrCb === "function") {
|
|
719
|
-
this.send(command, optionsOrCb);
|
|
720
|
-
} else if (typeof cb === "function") {
|
|
721
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
722
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
723
|
-
} else {
|
|
724
|
-
return this.send(command, optionsOrCb);
|
|
725
|
-
}
|
|
726
|
-
}
|
|
727
|
-
|
|
728
|
-
/**
|
|
729
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
730
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
731
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
732
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
733
|
-
* <p>
|
|
734
|
-
* <b>For information about the current version of AWS
|
|
735
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
736
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
737
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
738
|
-
* Reference</a>.</p>
|
|
739
|
-
* <p>Modifies an existing high-availability partition group.</p>
|
|
740
|
-
*/
|
|
741
|
-
public modifyHapg(args: ModifyHapgCommandInput, options?: __HttpHandlerOptions): Promise<ModifyHapgCommandOutput>;
|
|
742
|
-
public modifyHapg(args: ModifyHapgCommandInput, cb: (err: any, data?: ModifyHapgCommandOutput) => void): void;
|
|
743
|
-
public modifyHapg(
|
|
744
|
-
args: ModifyHapgCommandInput,
|
|
745
|
-
options: __HttpHandlerOptions,
|
|
746
|
-
cb: (err: any, data?: ModifyHapgCommandOutput) => void
|
|
747
|
-
): void;
|
|
748
|
-
public modifyHapg(
|
|
749
|
-
args: ModifyHapgCommandInput,
|
|
750
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyHapgCommandOutput) => void),
|
|
751
|
-
cb?: (err: any, data?: ModifyHapgCommandOutput) => void
|
|
752
|
-
): Promise<ModifyHapgCommandOutput> | void {
|
|
753
|
-
const command = new ModifyHapgCommand(args);
|
|
754
|
-
if (typeof optionsOrCb === "function") {
|
|
755
|
-
this.send(command, optionsOrCb);
|
|
756
|
-
} else if (typeof cb === "function") {
|
|
757
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
758
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
759
|
-
} else {
|
|
760
|
-
return this.send(command, optionsOrCb);
|
|
761
|
-
}
|
|
762
|
-
}
|
|
763
|
-
|
|
764
|
-
/**
|
|
765
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
766
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
767
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
768
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
769
|
-
* <p>
|
|
770
|
-
* <b>For information about the current version of AWS
|
|
771
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
772
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
773
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
774
|
-
* Reference</a>.</p>
|
|
775
|
-
* <p>Modifies an HSM.</p>
|
|
776
|
-
* <important>
|
|
777
|
-
* <p>This operation can result in the HSM being offline for up to 15 minutes while the AWS
|
|
778
|
-
* CloudHSM service is reconfigured. If you are modifying a production HSM, you should ensure
|
|
779
|
-
* that your AWS CloudHSM service is configured for high availability, and consider executing this
|
|
780
|
-
* operation during a maintenance window.</p>
|
|
781
|
-
* </important>
|
|
782
|
-
*/
|
|
783
|
-
public modifyHsm(args: ModifyHsmCommandInput, options?: __HttpHandlerOptions): Promise<ModifyHsmCommandOutput>;
|
|
784
|
-
public modifyHsm(args: ModifyHsmCommandInput, cb: (err: any, data?: ModifyHsmCommandOutput) => void): void;
|
|
785
|
-
public modifyHsm(
|
|
786
|
-
args: ModifyHsmCommandInput,
|
|
787
|
-
options: __HttpHandlerOptions,
|
|
788
|
-
cb: (err: any, data?: ModifyHsmCommandOutput) => void
|
|
789
|
-
): void;
|
|
790
|
-
public modifyHsm(
|
|
791
|
-
args: ModifyHsmCommandInput,
|
|
792
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyHsmCommandOutput) => void),
|
|
793
|
-
cb?: (err: any, data?: ModifyHsmCommandOutput) => void
|
|
794
|
-
): Promise<ModifyHsmCommandOutput> | void {
|
|
795
|
-
const command = new ModifyHsmCommand(args);
|
|
796
|
-
if (typeof optionsOrCb === "function") {
|
|
797
|
-
this.send(command, optionsOrCb);
|
|
798
|
-
} else if (typeof cb === "function") {
|
|
799
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
800
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
801
|
-
} else {
|
|
802
|
-
return this.send(command, optionsOrCb);
|
|
803
|
-
}
|
|
804
|
-
}
|
|
805
|
-
|
|
806
|
-
/**
|
|
807
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
808
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
809
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
810
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
811
|
-
* <p>
|
|
812
|
-
* <b>For information about the current version of AWS
|
|
813
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
814
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
815
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
816
|
-
* Reference</a>.</p>
|
|
817
|
-
* <p>Modifies the certificate used by the client.</p>
|
|
818
|
-
* <p>This action can potentially start a workflow to install the new certificate on the
|
|
819
|
-
* client's HSMs.</p>
|
|
820
|
-
*/
|
|
821
|
-
public modifyLunaClient(
|
|
822
|
-
args: ModifyLunaClientCommandInput,
|
|
823
|
-
options?: __HttpHandlerOptions
|
|
824
|
-
): Promise<ModifyLunaClientCommandOutput>;
|
|
825
|
-
public modifyLunaClient(
|
|
826
|
-
args: ModifyLunaClientCommandInput,
|
|
827
|
-
cb: (err: any, data?: ModifyLunaClientCommandOutput) => void
|
|
828
|
-
): void;
|
|
829
|
-
public modifyLunaClient(
|
|
830
|
-
args: ModifyLunaClientCommandInput,
|
|
831
|
-
options: __HttpHandlerOptions,
|
|
832
|
-
cb: (err: any, data?: ModifyLunaClientCommandOutput) => void
|
|
833
|
-
): void;
|
|
834
|
-
public modifyLunaClient(
|
|
835
|
-
args: ModifyLunaClientCommandInput,
|
|
836
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyLunaClientCommandOutput) => void),
|
|
837
|
-
cb?: (err: any, data?: ModifyLunaClientCommandOutput) => void
|
|
838
|
-
): Promise<ModifyLunaClientCommandOutput> | void {
|
|
839
|
-
const command = new ModifyLunaClientCommand(args);
|
|
840
|
-
if (typeof optionsOrCb === "function") {
|
|
841
|
-
this.send(command, optionsOrCb);
|
|
842
|
-
} else if (typeof cb === "function") {
|
|
843
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
844
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
845
|
-
} else {
|
|
846
|
-
return this.send(command, optionsOrCb);
|
|
847
|
-
}
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
/**
|
|
851
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
852
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
853
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
854
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
855
|
-
* <p>
|
|
856
|
-
* <b>For information about the current version of AWS
|
|
857
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
858
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
859
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
860
|
-
* Reference</a>.</p>
|
|
861
|
-
* <p>Removes one or more tags from the specified AWS CloudHSM resource.</p>
|
|
862
|
-
* <p>To remove a tag, specify only the tag key to remove (not the value). To overwrite the
|
|
863
|
-
* value for an existing tag, use <a>AddTagsToResource</a>.</p>
|
|
864
|
-
*/
|
|
865
|
-
public removeTagsFromResource(
|
|
866
|
-
args: RemoveTagsFromResourceCommandInput,
|
|
867
|
-
options?: __HttpHandlerOptions
|
|
868
|
-
): Promise<RemoveTagsFromResourceCommandOutput>;
|
|
869
|
-
public removeTagsFromResource(
|
|
870
|
-
args: RemoveTagsFromResourceCommandInput,
|
|
871
|
-
cb: (err: any, data?: RemoveTagsFromResourceCommandOutput) => void
|
|
872
|
-
): void;
|
|
873
|
-
public removeTagsFromResource(
|
|
874
|
-
args: RemoveTagsFromResourceCommandInput,
|
|
875
|
-
options: __HttpHandlerOptions,
|
|
876
|
-
cb: (err: any, data?: RemoveTagsFromResourceCommandOutput) => void
|
|
877
|
-
): void;
|
|
878
|
-
public removeTagsFromResource(
|
|
879
|
-
args: RemoveTagsFromResourceCommandInput,
|
|
880
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RemoveTagsFromResourceCommandOutput) => void),
|
|
881
|
-
cb?: (err: any, data?: RemoveTagsFromResourceCommandOutput) => void
|
|
882
|
-
): Promise<RemoveTagsFromResourceCommandOutput> | void {
|
|
883
|
-
const command = new RemoveTagsFromResourceCommand(args);
|
|
884
|
-
if (typeof optionsOrCb === "function") {
|
|
885
|
-
this.send(command, optionsOrCb);
|
|
886
|
-
} else if (typeof cb === "function") {
|
|
887
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
888
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
889
|
-
} else {
|
|
890
|
-
return this.send(command, optionsOrCb);
|
|
891
|
-
}
|
|
892
|
-
}
|
|
893
|
-
}
|