@aws-sdk/client-cloudhsm 3.32.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 +44 -0
- package/{dist/cjs → dist-cjs}/CloudHSM.js +0 -1
- package/{dist/cjs → dist-cjs}/CloudHSMClient.js +8 -9
- package/{dist/cjs → dist-cjs}/commands/AddTagsToResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateHapgCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateHsmCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateLunaClientCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteHapgCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteHsmCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteLunaClientCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeHapgCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeHsmCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeLunaClientCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetConfigCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListAvailableZonesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListHapgsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListHsmsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListLunaClientsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ModifyHapgCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ModifyHsmCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ModifyLunaClientCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/RemoveTagsFromResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
- package/{dist/es → dist-es}/CloudHSM.js +1 -15
- package/{dist/es → dist-es}/CloudHSMClient.js +2 -21
- package/dist-es/commands/AddTagsToResourceCommand.js +39 -0
- package/dist-es/commands/CreateHapgCommand.js +39 -0
- package/dist-es/commands/CreateHsmCommand.js +39 -0
- package/dist-es/commands/CreateLunaClientCommand.js +39 -0
- package/dist-es/commands/DeleteHapgCommand.js +39 -0
- package/dist-es/commands/DeleteHsmCommand.js +39 -0
- package/dist-es/commands/DeleteLunaClientCommand.js +39 -0
- package/dist-es/commands/DescribeHapgCommand.js +39 -0
- package/dist-es/commands/DescribeHsmCommand.js +39 -0
- package/dist-es/commands/DescribeLunaClientCommand.js +39 -0
- package/dist-es/commands/GetConfigCommand.js +39 -0
- package/dist-es/commands/ListAvailableZonesCommand.js +39 -0
- package/dist-es/commands/ListHapgsCommand.js +39 -0
- package/dist-es/commands/ListHsmsCommand.js +39 -0
- package/dist-es/commands/ListLunaClientsCommand.js +39 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
- package/dist-es/commands/ModifyHapgCommand.js +39 -0
- package/dist-es/commands/ModifyHsmCommand.js +39 -0
- package/dist-es/commands/ModifyLunaClientCommand.js +39 -0
- package/dist-es/commands/RemoveTagsFromResourceCommand.js +39 -0
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -133
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +377 -383
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/CloudHSM.d.ts +1 -1
- package/{dist/types → dist-types}/CloudHSMClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/AddTagsToResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateHapgCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateHsmCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateLunaClientCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteHapgCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteHsmCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteLunaClientCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeHapgCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeHsmCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeLunaClientCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetConfigCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListAvailableZonesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListHapgsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListHsmsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListLunaClientsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ModifyHapgCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ModifyHsmCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ModifyLunaClientCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RemoveTagsFromResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.browser.d.ts +37 -36
- package/{dist/types → dist-types}/runtimeConfig.d.ts +2 -1
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/CloudHSM.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/CloudHSMClient.d.ts +8 -8
- package/{dist/types → dist-types}/ts3.4/commands/AddTagsToResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateHapgCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateHsmCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateLunaClientCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteHapgCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteHsmCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteLunaClientCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeHapgCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeHsmCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeLunaClientCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetConfigCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListAvailableZonesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListHapgsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListHsmsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListLunaClientsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ModifyHapgCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ModifyHsmCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ModifyLunaClientCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.browser.d.ts +37 -36
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -1
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +52 -49
- package/CloudHSM.ts +0 -892
- package/CloudHSMClient.ts +0 -311
- package/commands/AddTagsToResourceCommand.ts +0 -106
- package/commands/CreateHapgCommand.ts +0 -105
- package/commands/CreateHsmCommand.ts +0 -110
- package/commands/CreateLunaClientCommand.ts +0 -104
- package/commands/DeleteHapgCommand.ts +0 -104
- package/commands/DeleteHsmCommand.ts +0 -102
- package/commands/DeleteLunaClientCommand.ts +0 -104
- package/commands/DescribeHapgCommand.ts +0 -104
- package/commands/DescribeHsmCommand.ts +0 -105
- package/commands/DescribeLunaClientCommand.ts +0 -104
- package/commands/GetConfigCommand.ts +0 -102
- package/commands/ListAvailableZonesCommand.ts +0 -104
- package/commands/ListHapgsCommand.ts +0 -105
- package/commands/ListHsmsCommand.ts +0 -106
- package/commands/ListLunaClientsCommand.ts +0 -108
- package/commands/ListTagsForResourceCommand.ts +0 -104
- package/commands/ModifyHapgCommand.ts +0 -104
- package/commands/ModifyHsmCommand.ts +0 -107
- package/commands/ModifyLunaClientCommand.ts +0 -106
- package/commands/RemoveTagsFromResourceCommand.ts +0 -106
- 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/package.json +0 -91
- 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 +0 -77
- package/dist/es/commands/AddTagsToResourceCommand.js.map +0 -1
- package/dist/es/commands/CreateHapgCommand.js +0 -76
- package/dist/es/commands/CreateHapgCommand.js.map +0 -1
- package/dist/es/commands/CreateHsmCommand.js +0 -84
- package/dist/es/commands/CreateHsmCommand.js.map +0 -1
- package/dist/es/commands/CreateLunaClientCommand.js +0 -75
- package/dist/es/commands/CreateLunaClientCommand.js.map +0 -1
- package/dist/es/commands/DeleteHapgCommand.js +0 -75
- package/dist/es/commands/DeleteHapgCommand.js.map +0 -1
- package/dist/es/commands/DeleteHsmCommand.js +0 -76
- package/dist/es/commands/DeleteHsmCommand.js.map +0 -1
- package/dist/es/commands/DeleteLunaClientCommand.js +0 -75
- package/dist/es/commands/DeleteLunaClientCommand.js.map +0 -1
- package/dist/es/commands/DescribeHapgCommand.js +0 -75
- package/dist/es/commands/DescribeHapgCommand.js.map +0 -1
- package/dist/es/commands/DescribeHsmCommand.js +0 -76
- package/dist/es/commands/DescribeHsmCommand.js.map +0 -1
- package/dist/es/commands/DescribeLunaClientCommand.js +0 -75
- package/dist/es/commands/DescribeLunaClientCommand.js.map +0 -1
- package/dist/es/commands/GetConfigCommand.js +0 -76
- package/dist/es/commands/GetConfigCommand.js.map +0 -1
- package/dist/es/commands/ListAvailableZonesCommand.js +0 -75
- package/dist/es/commands/ListAvailableZonesCommand.js.map +0 -1
- package/dist/es/commands/ListHapgsCommand.js +0 -79
- package/dist/es/commands/ListHapgsCommand.js.map +0 -1
- package/dist/es/commands/ListHsmsCommand.js +0 -80
- package/dist/es/commands/ListHsmsCommand.js.map +0 -1
- package/dist/es/commands/ListLunaClientsCommand.js +0 -79
- package/dist/es/commands/ListLunaClientsCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js +0 -75
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/ModifyHapgCommand.js +0 -75
- package/dist/es/commands/ModifyHapgCommand.js.map +0 -1
- package/dist/es/commands/ModifyHsmCommand.js +0 -81
- package/dist/es/commands/ModifyHsmCommand.js.map +0 -1
- package/dist/es/commands/ModifyLunaClientCommand.js +0 -77
- package/dist/es/commands/ModifyLunaClientCommand.js.map +0 -1
- package/dist/es/commands/RemoveTagsFromResourceCommand.js +0 -77
- package/dist/es/commands/RemoveTagsFromResourceCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -24
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- 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/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -1161
- package/protocols/Aws_json1_1.ts +0 -2399
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { CreateHsmRequest, CreateHsmResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1CreateHsmCommand, serializeAws_json1_1CreateHsmCommand } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
/**
|
|
7
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
8
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
9
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
10
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
11
|
-
* <p>
|
|
12
|
-
* <b>For information about the current version of AWS
|
|
13
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
14
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
15
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
16
|
-
* Reference</a>.</p>
|
|
17
|
-
* <p>Creates an uninitialized HSM instance.</p>
|
|
18
|
-
* <p>There is an upfront fee charged for each HSM instance that you create with the
|
|
19
|
-
* <code>CreateHsm</code> operation. If you accidentally provision an HSM and want to request a
|
|
20
|
-
* 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
|
|
21
|
-
* <b>Account and Billing Support</b>.</p>
|
|
22
|
-
* <important>
|
|
23
|
-
* <p>It can take up to 20 minutes to create and provision an HSM. You can monitor the
|
|
24
|
-
* status of the HSM with the <a>DescribeHsm</a> operation. The HSM is ready to be
|
|
25
|
-
* initialized when the status changes to <code>RUNNING</code>.</p>
|
|
26
|
-
* </important>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { CloudHSMClient, CreateHsmCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
|
|
31
|
-
* // const { CloudHSMClient, CreateHsmCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
|
|
32
|
-
* const client = new CloudHSMClient(config);
|
|
33
|
-
* const command = new CreateHsmCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link CreateHsmCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link CreateHsmCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
var CreateHsmCommand = /** @class */ (function (_super) {
|
|
43
|
-
__extends(CreateHsmCommand, _super);
|
|
44
|
-
// Start section: command_properties
|
|
45
|
-
// End section: command_properties
|
|
46
|
-
function CreateHsmCommand(input) {
|
|
47
|
-
var _this =
|
|
48
|
-
// Start section: command_constructor
|
|
49
|
-
_super.call(this) || this;
|
|
50
|
-
_this.input = input;
|
|
51
|
-
return _this;
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
CreateHsmCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
58
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
59
|
-
var stack = clientStack.concat(this.middlewareStack);
|
|
60
|
-
var logger = configuration.logger;
|
|
61
|
-
var clientName = "CloudHSMClient";
|
|
62
|
-
var commandName = "CreateHsmCommand";
|
|
63
|
-
var handlerExecutionContext = {
|
|
64
|
-
logger: logger,
|
|
65
|
-
clientName: clientName,
|
|
66
|
-
commandName: commandName,
|
|
67
|
-
inputFilterSensitiveLog: CreateHsmRequest.filterSensitiveLog,
|
|
68
|
-
outputFilterSensitiveLog: CreateHsmResponse.filterSensitiveLog,
|
|
69
|
-
};
|
|
70
|
-
var requestHandler = configuration.requestHandler;
|
|
71
|
-
return stack.resolve(function (request) {
|
|
72
|
-
return requestHandler.handle(request.request, options || {});
|
|
73
|
-
}, handlerExecutionContext);
|
|
74
|
-
};
|
|
75
|
-
CreateHsmCommand.prototype.serialize = function (input, context) {
|
|
76
|
-
return serializeAws_json1_1CreateHsmCommand(input, context);
|
|
77
|
-
};
|
|
78
|
-
CreateHsmCommand.prototype.deserialize = function (output, context) {
|
|
79
|
-
return deserializeAws_json1_1CreateHsmCommand(output, context);
|
|
80
|
-
};
|
|
81
|
-
return CreateHsmCommand;
|
|
82
|
-
}($Command));
|
|
83
|
-
export { CreateHsmCommand };
|
|
84
|
-
//# sourceMappingURL=CreateHsmCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CreateHsmCommand.js","sourceRoot":"","sources":["../../../commands/CreateHsmCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,EAAE,sCAAsC,EAAE,oCAAoC,EAAE,MAAM,0BAA0B,CAAC;AACxH,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH;IAAsC,oCAIrC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,0BAAqB,KAA4B;QAAjD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAuB;;QAG/C,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,4CAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,IAAM,WAAW,GAAG,kBAAkB,CAAC;QACvC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,gBAAgB,CAAC,kBAAkB;YAC5D,wBAAwB,EAAE,iBAAiB,CAAC,kBAAkB;SAC/D,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,oCAAS,GAAjB,UAAkB,KAA4B,EAAE,OAAuB;QACrE,OAAO,oCAAoC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;IAEO,sCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,sCAAsC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAIH,uBAAC;AAAD,CAAC,AAtDD,CAAsC,QAAQ,GAsD7C"}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { CreateLunaClientRequest, CreateLunaClientResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1CreateLunaClientCommand, serializeAws_json1_1CreateLunaClientCommand, } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
/**
|
|
7
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
8
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
9
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
10
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
11
|
-
* <p>
|
|
12
|
-
* <b>For information about the current version of AWS
|
|
13
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
14
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
15
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
16
|
-
* Reference</a>.</p>
|
|
17
|
-
* <p>Creates an HSM client.</p>
|
|
18
|
-
* @example
|
|
19
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
-
* ```javascript
|
|
21
|
-
* import { CloudHSMClient, CreateLunaClientCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
|
|
22
|
-
* // const { CloudHSMClient, CreateLunaClientCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
|
|
23
|
-
* const client = new CloudHSMClient(config);
|
|
24
|
-
* const command = new CreateLunaClientCommand(input);
|
|
25
|
-
* const response = await client.send(command);
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @see {@link CreateLunaClientCommandInput} for command's `input` shape.
|
|
29
|
-
* @see {@link CreateLunaClientCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
|
-
var CreateLunaClientCommand = /** @class */ (function (_super) {
|
|
34
|
-
__extends(CreateLunaClientCommand, _super);
|
|
35
|
-
// Start section: command_properties
|
|
36
|
-
// End section: command_properties
|
|
37
|
-
function CreateLunaClientCommand(input) {
|
|
38
|
-
var _this =
|
|
39
|
-
// Start section: command_constructor
|
|
40
|
-
_super.call(this) || this;
|
|
41
|
-
_this.input = input;
|
|
42
|
-
return _this;
|
|
43
|
-
// End section: command_constructor
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* @internal
|
|
47
|
-
*/
|
|
48
|
-
CreateLunaClientCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
49
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
50
|
-
var stack = clientStack.concat(this.middlewareStack);
|
|
51
|
-
var logger = configuration.logger;
|
|
52
|
-
var clientName = "CloudHSMClient";
|
|
53
|
-
var commandName = "CreateLunaClientCommand";
|
|
54
|
-
var handlerExecutionContext = {
|
|
55
|
-
logger: logger,
|
|
56
|
-
clientName: clientName,
|
|
57
|
-
commandName: commandName,
|
|
58
|
-
inputFilterSensitiveLog: CreateLunaClientRequest.filterSensitiveLog,
|
|
59
|
-
outputFilterSensitiveLog: CreateLunaClientResponse.filterSensitiveLog,
|
|
60
|
-
};
|
|
61
|
-
var requestHandler = configuration.requestHandler;
|
|
62
|
-
return stack.resolve(function (request) {
|
|
63
|
-
return requestHandler.handle(request.request, options || {});
|
|
64
|
-
}, handlerExecutionContext);
|
|
65
|
-
};
|
|
66
|
-
CreateLunaClientCommand.prototype.serialize = function (input, context) {
|
|
67
|
-
return serializeAws_json1_1CreateLunaClientCommand(input, context);
|
|
68
|
-
};
|
|
69
|
-
CreateLunaClientCommand.prototype.deserialize = function (output, context) {
|
|
70
|
-
return deserializeAws_json1_1CreateLunaClientCommand(output, context);
|
|
71
|
-
};
|
|
72
|
-
return CreateLunaClientCommand;
|
|
73
|
-
}($Command));
|
|
74
|
-
export { CreateLunaClientCommand };
|
|
75
|
-
//# sourceMappingURL=CreateLunaClientCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CreateLunaClientCommand.js","sourceRoot":"","sources":["../../../commands/CreateLunaClientCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AACvF,OAAO,EACL,6CAA6C,EAC7C,2CAA2C,GAC5C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH;IAA6C,2CAI5C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,iCAAqB,KAAmC;QAAxD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA8B;;QAGtD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,mDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,IAAM,WAAW,GAAG,yBAAyB,CAAC;QAC9C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,uBAAuB,CAAC,kBAAkB;YACnE,wBAAwB,EAAE,wBAAwB,CAAC,kBAAkB;SACtE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,2CAAS,GAAjB,UAAkB,KAAmC,EAAE,OAAuB;QAC5E,OAAO,2CAA2C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAEO,6CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,6CAA6C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAIH,8BAAC;AAAD,CAAC,AAtDD,CAA6C,QAAQ,GAsDpD"}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { DeleteHapgRequest, DeleteHapgResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1DeleteHapgCommand, serializeAws_json1_1DeleteHapgCommand, } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
/**
|
|
7
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
8
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
9
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
10
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
11
|
-
* <p>
|
|
12
|
-
* <b>For information about the current version of AWS
|
|
13
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
14
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
15
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
16
|
-
* Reference</a>.</p>
|
|
17
|
-
* <p>Deletes a high-availability partition group.</p>
|
|
18
|
-
* @example
|
|
19
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
-
* ```javascript
|
|
21
|
-
* import { CloudHSMClient, DeleteHapgCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
|
|
22
|
-
* // const { CloudHSMClient, DeleteHapgCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
|
|
23
|
-
* const client = new CloudHSMClient(config);
|
|
24
|
-
* const command = new DeleteHapgCommand(input);
|
|
25
|
-
* const response = await client.send(command);
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @see {@link DeleteHapgCommandInput} for command's `input` shape.
|
|
29
|
-
* @see {@link DeleteHapgCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
|
-
var DeleteHapgCommand = /** @class */ (function (_super) {
|
|
34
|
-
__extends(DeleteHapgCommand, _super);
|
|
35
|
-
// Start section: command_properties
|
|
36
|
-
// End section: command_properties
|
|
37
|
-
function DeleteHapgCommand(input) {
|
|
38
|
-
var _this =
|
|
39
|
-
// Start section: command_constructor
|
|
40
|
-
_super.call(this) || this;
|
|
41
|
-
_this.input = input;
|
|
42
|
-
return _this;
|
|
43
|
-
// End section: command_constructor
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* @internal
|
|
47
|
-
*/
|
|
48
|
-
DeleteHapgCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
49
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
50
|
-
var stack = clientStack.concat(this.middlewareStack);
|
|
51
|
-
var logger = configuration.logger;
|
|
52
|
-
var clientName = "CloudHSMClient";
|
|
53
|
-
var commandName = "DeleteHapgCommand";
|
|
54
|
-
var handlerExecutionContext = {
|
|
55
|
-
logger: logger,
|
|
56
|
-
clientName: clientName,
|
|
57
|
-
commandName: commandName,
|
|
58
|
-
inputFilterSensitiveLog: DeleteHapgRequest.filterSensitiveLog,
|
|
59
|
-
outputFilterSensitiveLog: DeleteHapgResponse.filterSensitiveLog,
|
|
60
|
-
};
|
|
61
|
-
var requestHandler = configuration.requestHandler;
|
|
62
|
-
return stack.resolve(function (request) {
|
|
63
|
-
return requestHandler.handle(request.request, options || {});
|
|
64
|
-
}, handlerExecutionContext);
|
|
65
|
-
};
|
|
66
|
-
DeleteHapgCommand.prototype.serialize = function (input, context) {
|
|
67
|
-
return serializeAws_json1_1DeleteHapgCommand(input, context);
|
|
68
|
-
};
|
|
69
|
-
DeleteHapgCommand.prototype.deserialize = function (output, context) {
|
|
70
|
-
return deserializeAws_json1_1DeleteHapgCommand(output, context);
|
|
71
|
-
};
|
|
72
|
-
return DeleteHapgCommand;
|
|
73
|
-
}($Command));
|
|
74
|
-
export { DeleteHapgCommand };
|
|
75
|
-
//# sourceMappingURL=DeleteHapgCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteHapgCommand.js","sourceRoot":"","sources":["../../../commands/DeleteHapgCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,EACL,uCAAuC,EACvC,qCAAqC,GACtC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH;IAAuC,qCAItC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,2BAAqB,KAA6B;QAAlD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAwB;;QAGhD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,6CAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,IAAM,WAAW,GAAG,mBAAmB,CAAC;QACxC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,iBAAiB,CAAC,kBAAkB;YAC7D,wBAAwB,EAAE,kBAAkB,CAAC,kBAAkB;SAChE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,qCAAS,GAAjB,UAAkB,KAA6B,EAAE,OAAuB;QACtE,OAAO,qCAAqC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAEO,uCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,uCAAuC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAIH,wBAAC;AAAD,CAAC,AAtDD,CAAuC,QAAQ,GAsD9C"}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { DeleteHsmRequest, DeleteHsmResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1DeleteHsmCommand, serializeAws_json1_1DeleteHsmCommand } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
/**
|
|
7
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
8
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
9
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
10
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
11
|
-
* <p>
|
|
12
|
-
* <b>For information about the current version of AWS
|
|
13
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
14
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
15
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
16
|
-
* Reference</a>.</p>
|
|
17
|
-
* <p>Deletes an HSM. After completion, this operation cannot be undone and your key material
|
|
18
|
-
* cannot be recovered.</p>
|
|
19
|
-
* @example
|
|
20
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
21
|
-
* ```javascript
|
|
22
|
-
* import { CloudHSMClient, DeleteHsmCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
|
|
23
|
-
* // const { CloudHSMClient, DeleteHsmCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
|
|
24
|
-
* const client = new CloudHSMClient(config);
|
|
25
|
-
* const command = new DeleteHsmCommand(input);
|
|
26
|
-
* const response = await client.send(command);
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* @see {@link DeleteHsmCommandInput} for command's `input` shape.
|
|
30
|
-
* @see {@link DeleteHsmCommandOutput} for command's `response` shape.
|
|
31
|
-
* @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
|
-
var DeleteHsmCommand = /** @class */ (function (_super) {
|
|
35
|
-
__extends(DeleteHsmCommand, _super);
|
|
36
|
-
// Start section: command_properties
|
|
37
|
-
// End section: command_properties
|
|
38
|
-
function DeleteHsmCommand(input) {
|
|
39
|
-
var _this =
|
|
40
|
-
// Start section: command_constructor
|
|
41
|
-
_super.call(this) || this;
|
|
42
|
-
_this.input = input;
|
|
43
|
-
return _this;
|
|
44
|
-
// End section: command_constructor
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* @internal
|
|
48
|
-
*/
|
|
49
|
-
DeleteHsmCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
50
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
51
|
-
var stack = clientStack.concat(this.middlewareStack);
|
|
52
|
-
var logger = configuration.logger;
|
|
53
|
-
var clientName = "CloudHSMClient";
|
|
54
|
-
var commandName = "DeleteHsmCommand";
|
|
55
|
-
var handlerExecutionContext = {
|
|
56
|
-
logger: logger,
|
|
57
|
-
clientName: clientName,
|
|
58
|
-
commandName: commandName,
|
|
59
|
-
inputFilterSensitiveLog: DeleteHsmRequest.filterSensitiveLog,
|
|
60
|
-
outputFilterSensitiveLog: DeleteHsmResponse.filterSensitiveLog,
|
|
61
|
-
};
|
|
62
|
-
var requestHandler = configuration.requestHandler;
|
|
63
|
-
return stack.resolve(function (request) {
|
|
64
|
-
return requestHandler.handle(request.request, options || {});
|
|
65
|
-
}, handlerExecutionContext);
|
|
66
|
-
};
|
|
67
|
-
DeleteHsmCommand.prototype.serialize = function (input, context) {
|
|
68
|
-
return serializeAws_json1_1DeleteHsmCommand(input, context);
|
|
69
|
-
};
|
|
70
|
-
DeleteHsmCommand.prototype.deserialize = function (output, context) {
|
|
71
|
-
return deserializeAws_json1_1DeleteHsmCommand(output, context);
|
|
72
|
-
};
|
|
73
|
-
return DeleteHsmCommand;
|
|
74
|
-
}($Command));
|
|
75
|
-
export { DeleteHsmCommand };
|
|
76
|
-
//# sourceMappingURL=DeleteHsmCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteHsmCommand.js","sourceRoot":"","sources":["../../../commands/DeleteHsmCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,EAAE,sCAAsC,EAAE,oCAAoC,EAAE,MAAM,0BAA0B,CAAC;AACxH,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH;IAAsC,oCAIrC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,0BAAqB,KAA4B;QAAjD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAuB;;QAG/C,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,4CAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,IAAM,WAAW,GAAG,kBAAkB,CAAC;QACvC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,gBAAgB,CAAC,kBAAkB;YAC5D,wBAAwB,EAAE,iBAAiB,CAAC,kBAAkB;SAC/D,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,oCAAS,GAAjB,UAAkB,KAA4B,EAAE,OAAuB;QACrE,OAAO,oCAAoC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;IAEO,sCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,sCAAsC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAIH,uBAAC;AAAD,CAAC,AAtDD,CAAsC,QAAQ,GAsD7C"}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { DeleteLunaClientRequest, DeleteLunaClientResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1DeleteLunaClientCommand, serializeAws_json1_1DeleteLunaClientCommand, } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
/**
|
|
7
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
8
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
9
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
10
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
11
|
-
* <p>
|
|
12
|
-
* <b>For information about the current version of AWS
|
|
13
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
14
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
15
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
16
|
-
* Reference</a>.</p>
|
|
17
|
-
* <p>Deletes a client.</p>
|
|
18
|
-
* @example
|
|
19
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
-
* ```javascript
|
|
21
|
-
* import { CloudHSMClient, DeleteLunaClientCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
|
|
22
|
-
* // const { CloudHSMClient, DeleteLunaClientCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
|
|
23
|
-
* const client = new CloudHSMClient(config);
|
|
24
|
-
* const command = new DeleteLunaClientCommand(input);
|
|
25
|
-
* const response = await client.send(command);
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @see {@link DeleteLunaClientCommandInput} for command's `input` shape.
|
|
29
|
-
* @see {@link DeleteLunaClientCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
|
-
var DeleteLunaClientCommand = /** @class */ (function (_super) {
|
|
34
|
-
__extends(DeleteLunaClientCommand, _super);
|
|
35
|
-
// Start section: command_properties
|
|
36
|
-
// End section: command_properties
|
|
37
|
-
function DeleteLunaClientCommand(input) {
|
|
38
|
-
var _this =
|
|
39
|
-
// Start section: command_constructor
|
|
40
|
-
_super.call(this) || this;
|
|
41
|
-
_this.input = input;
|
|
42
|
-
return _this;
|
|
43
|
-
// End section: command_constructor
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* @internal
|
|
47
|
-
*/
|
|
48
|
-
DeleteLunaClientCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
49
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
50
|
-
var stack = clientStack.concat(this.middlewareStack);
|
|
51
|
-
var logger = configuration.logger;
|
|
52
|
-
var clientName = "CloudHSMClient";
|
|
53
|
-
var commandName = "DeleteLunaClientCommand";
|
|
54
|
-
var handlerExecutionContext = {
|
|
55
|
-
logger: logger,
|
|
56
|
-
clientName: clientName,
|
|
57
|
-
commandName: commandName,
|
|
58
|
-
inputFilterSensitiveLog: DeleteLunaClientRequest.filterSensitiveLog,
|
|
59
|
-
outputFilterSensitiveLog: DeleteLunaClientResponse.filterSensitiveLog,
|
|
60
|
-
};
|
|
61
|
-
var requestHandler = configuration.requestHandler;
|
|
62
|
-
return stack.resolve(function (request) {
|
|
63
|
-
return requestHandler.handle(request.request, options || {});
|
|
64
|
-
}, handlerExecutionContext);
|
|
65
|
-
};
|
|
66
|
-
DeleteLunaClientCommand.prototype.serialize = function (input, context) {
|
|
67
|
-
return serializeAws_json1_1DeleteLunaClientCommand(input, context);
|
|
68
|
-
};
|
|
69
|
-
DeleteLunaClientCommand.prototype.deserialize = function (output, context) {
|
|
70
|
-
return deserializeAws_json1_1DeleteLunaClientCommand(output, context);
|
|
71
|
-
};
|
|
72
|
-
return DeleteLunaClientCommand;
|
|
73
|
-
}($Command));
|
|
74
|
-
export { DeleteLunaClientCommand };
|
|
75
|
-
//# sourceMappingURL=DeleteLunaClientCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteLunaClientCommand.js","sourceRoot":"","sources":["../../../commands/DeleteLunaClientCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AACvF,OAAO,EACL,6CAA6C,EAC7C,2CAA2C,GAC5C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH;IAA6C,2CAI5C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,iCAAqB,KAAmC;QAAxD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA8B;;QAGtD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,mDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,IAAM,WAAW,GAAG,yBAAyB,CAAC;QAC9C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,uBAAuB,CAAC,kBAAkB;YACnE,wBAAwB,EAAE,wBAAwB,CAAC,kBAAkB;SACtE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,2CAAS,GAAjB,UAAkB,KAAmC,EAAE,OAAuB;QAC5E,OAAO,2CAA2C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAEO,6CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,6CAA6C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAIH,8BAAC;AAAD,CAAC,AAtDD,CAA6C,QAAQ,GAsDpD"}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { DescribeHapgRequest, DescribeHapgResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1DescribeHapgCommand, serializeAws_json1_1DescribeHapgCommand, } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
/**
|
|
7
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
8
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
9
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
10
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
11
|
-
* <p>
|
|
12
|
-
* <b>For information about the current version of AWS
|
|
13
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
14
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
15
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
16
|
-
* Reference</a>.</p>
|
|
17
|
-
* <p>Retrieves information about a high-availability partition group.</p>
|
|
18
|
-
* @example
|
|
19
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
-
* ```javascript
|
|
21
|
-
* import { CloudHSMClient, DescribeHapgCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
|
|
22
|
-
* // const { CloudHSMClient, DescribeHapgCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
|
|
23
|
-
* const client = new CloudHSMClient(config);
|
|
24
|
-
* const command = new DescribeHapgCommand(input);
|
|
25
|
-
* const response = await client.send(command);
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @see {@link DescribeHapgCommandInput} for command's `input` shape.
|
|
29
|
-
* @see {@link DescribeHapgCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
|
-
var DescribeHapgCommand = /** @class */ (function (_super) {
|
|
34
|
-
__extends(DescribeHapgCommand, _super);
|
|
35
|
-
// Start section: command_properties
|
|
36
|
-
// End section: command_properties
|
|
37
|
-
function DescribeHapgCommand(input) {
|
|
38
|
-
var _this =
|
|
39
|
-
// Start section: command_constructor
|
|
40
|
-
_super.call(this) || this;
|
|
41
|
-
_this.input = input;
|
|
42
|
-
return _this;
|
|
43
|
-
// End section: command_constructor
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* @internal
|
|
47
|
-
*/
|
|
48
|
-
DescribeHapgCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
49
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
50
|
-
var stack = clientStack.concat(this.middlewareStack);
|
|
51
|
-
var logger = configuration.logger;
|
|
52
|
-
var clientName = "CloudHSMClient";
|
|
53
|
-
var commandName = "DescribeHapgCommand";
|
|
54
|
-
var handlerExecutionContext = {
|
|
55
|
-
logger: logger,
|
|
56
|
-
clientName: clientName,
|
|
57
|
-
commandName: commandName,
|
|
58
|
-
inputFilterSensitiveLog: DescribeHapgRequest.filterSensitiveLog,
|
|
59
|
-
outputFilterSensitiveLog: DescribeHapgResponse.filterSensitiveLog,
|
|
60
|
-
};
|
|
61
|
-
var requestHandler = configuration.requestHandler;
|
|
62
|
-
return stack.resolve(function (request) {
|
|
63
|
-
return requestHandler.handle(request.request, options || {});
|
|
64
|
-
}, handlerExecutionContext);
|
|
65
|
-
};
|
|
66
|
-
DescribeHapgCommand.prototype.serialize = function (input, context) {
|
|
67
|
-
return serializeAws_json1_1DescribeHapgCommand(input, context);
|
|
68
|
-
};
|
|
69
|
-
DescribeHapgCommand.prototype.deserialize = function (output, context) {
|
|
70
|
-
return deserializeAws_json1_1DescribeHapgCommand(output, context);
|
|
71
|
-
};
|
|
72
|
-
return DescribeHapgCommand;
|
|
73
|
-
}($Command));
|
|
74
|
-
export { DescribeHapgCommand };
|
|
75
|
-
//# sourceMappingURL=DescribeHapgCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DescribeHapgCommand.js","sourceRoot":"","sources":["../../../commands/DescribeHapgCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EACL,yCAAyC,EACzC,uCAAuC,GACxC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH;IAAyC,uCAIxC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,6BAAqB,KAA+B;QAApD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA0B;;QAGlD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,+CAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,IAAM,WAAW,GAAG,qBAAqB,CAAC;QAC1C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,mBAAmB,CAAC,kBAAkB;YAC/D,wBAAwB,EAAE,oBAAoB,CAAC,kBAAkB;SAClE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,uCAAS,GAAjB,UAAkB,KAA+B,EAAE,OAAuB;QACxE,OAAO,uCAAuC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAEO,yCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,yCAAyC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAIH,0BAAC;AAAD,CAAC,AAtDD,CAAyC,QAAQ,GAsDhD"}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { DescribeHsmRequest, DescribeHsmResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1DescribeHsmCommand, serializeAws_json1_1DescribeHsmCommand, } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
/**
|
|
7
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
8
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
9
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
10
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
11
|
-
* <p>
|
|
12
|
-
* <b>For information about the current version of AWS
|
|
13
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
14
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
15
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
16
|
-
* Reference</a>.</p>
|
|
17
|
-
* <p>Retrieves information about an HSM. You can identify the HSM by its ARN or its serial
|
|
18
|
-
* number.</p>
|
|
19
|
-
* @example
|
|
20
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
21
|
-
* ```javascript
|
|
22
|
-
* import { CloudHSMClient, DescribeHsmCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
|
|
23
|
-
* // const { CloudHSMClient, DescribeHsmCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
|
|
24
|
-
* const client = new CloudHSMClient(config);
|
|
25
|
-
* const command = new DescribeHsmCommand(input);
|
|
26
|
-
* const response = await client.send(command);
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* @see {@link DescribeHsmCommandInput} for command's `input` shape.
|
|
30
|
-
* @see {@link DescribeHsmCommandOutput} for command's `response` shape.
|
|
31
|
-
* @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
|
-
var DescribeHsmCommand = /** @class */ (function (_super) {
|
|
35
|
-
__extends(DescribeHsmCommand, _super);
|
|
36
|
-
// Start section: command_properties
|
|
37
|
-
// End section: command_properties
|
|
38
|
-
function DescribeHsmCommand(input) {
|
|
39
|
-
var _this =
|
|
40
|
-
// Start section: command_constructor
|
|
41
|
-
_super.call(this) || this;
|
|
42
|
-
_this.input = input;
|
|
43
|
-
return _this;
|
|
44
|
-
// End section: command_constructor
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* @internal
|
|
48
|
-
*/
|
|
49
|
-
DescribeHsmCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
50
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
51
|
-
var stack = clientStack.concat(this.middlewareStack);
|
|
52
|
-
var logger = configuration.logger;
|
|
53
|
-
var clientName = "CloudHSMClient";
|
|
54
|
-
var commandName = "DescribeHsmCommand";
|
|
55
|
-
var handlerExecutionContext = {
|
|
56
|
-
logger: logger,
|
|
57
|
-
clientName: clientName,
|
|
58
|
-
commandName: commandName,
|
|
59
|
-
inputFilterSensitiveLog: DescribeHsmRequest.filterSensitiveLog,
|
|
60
|
-
outputFilterSensitiveLog: DescribeHsmResponse.filterSensitiveLog,
|
|
61
|
-
};
|
|
62
|
-
var requestHandler = configuration.requestHandler;
|
|
63
|
-
return stack.resolve(function (request) {
|
|
64
|
-
return requestHandler.handle(request.request, options || {});
|
|
65
|
-
}, handlerExecutionContext);
|
|
66
|
-
};
|
|
67
|
-
DescribeHsmCommand.prototype.serialize = function (input, context) {
|
|
68
|
-
return serializeAws_json1_1DescribeHsmCommand(input, context);
|
|
69
|
-
};
|
|
70
|
-
DescribeHsmCommand.prototype.deserialize = function (output, context) {
|
|
71
|
-
return deserializeAws_json1_1DescribeHsmCommand(output, context);
|
|
72
|
-
};
|
|
73
|
-
return DescribeHsmCommand;
|
|
74
|
-
}($Command));
|
|
75
|
-
export { DescribeHsmCommand };
|
|
76
|
-
//# sourceMappingURL=DescribeHsmCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DescribeHsmCommand.js","sourceRoot":"","sources":["../../../commands/DescribeHsmCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EACL,wCAAwC,EACxC,sCAAsC,GACvC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH;IAAwC,sCAIvC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,4BAAqB,KAA8B;QAAnD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAyB;;QAGjD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,8CAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,IAAM,WAAW,GAAG,oBAAoB,CAAC;QACzC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,kBAAkB,CAAC,kBAAkB;YAC9D,wBAAwB,EAAE,mBAAmB,CAAC,kBAAkB;SACjE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,sCAAS,GAAjB,UAAkB,KAA8B,EAAE,OAAuB;QACvE,OAAO,sCAAsC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAEO,wCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,wCAAwC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAIH,yBAAC;AAAD,CAAC,AAtDD,CAAwC,QAAQ,GAsD/C"}
|