@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
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
15
|
-
import { DescribeLunaClientRequest, DescribeLunaClientResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1DescribeLunaClientCommand,
|
|
18
|
-
serializeAws_json1_1DescribeLunaClientCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface DescribeLunaClientCommandInput extends DescribeLunaClientRequest {}
|
|
22
|
-
export interface DescribeLunaClientCommandOutput extends DescribeLunaClientResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
26
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
27
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
28
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
29
|
-
* <p>
|
|
30
|
-
* <b>For information about the current version of AWS
|
|
31
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
32
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
33
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
34
|
-
* Reference</a>.</p>
|
|
35
|
-
* <p>Retrieves information about an HSM client.</p>
|
|
36
|
-
* @example
|
|
37
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
38
|
-
* ```javascript
|
|
39
|
-
* import { CloudHSMClient, DescribeLunaClientCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
|
|
40
|
-
* // const { CloudHSMClient, DescribeLunaClientCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
|
|
41
|
-
* const client = new CloudHSMClient(config);
|
|
42
|
-
* const command = new DescribeLunaClientCommand(input);
|
|
43
|
-
* const response = await client.send(command);
|
|
44
|
-
* ```
|
|
45
|
-
*
|
|
46
|
-
* @see {@link DescribeLunaClientCommandInput} for command's `input` shape.
|
|
47
|
-
* @see {@link DescribeLunaClientCommandOutput} for command's `response` shape.
|
|
48
|
-
* @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
|
|
49
|
-
*
|
|
50
|
-
*/
|
|
51
|
-
export class DescribeLunaClientCommand extends $Command<
|
|
52
|
-
DescribeLunaClientCommandInput,
|
|
53
|
-
DescribeLunaClientCommandOutput,
|
|
54
|
-
CloudHSMClientResolvedConfig
|
|
55
|
-
> {
|
|
56
|
-
// Start section: command_properties
|
|
57
|
-
// End section: command_properties
|
|
58
|
-
|
|
59
|
-
constructor(readonly input: DescribeLunaClientCommandInput) {
|
|
60
|
-
// Start section: command_constructor
|
|
61
|
-
super();
|
|
62
|
-
// End section: command_constructor
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* @internal
|
|
67
|
-
*/
|
|
68
|
-
resolveMiddleware(
|
|
69
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
70
|
-
configuration: CloudHSMClientResolvedConfig,
|
|
71
|
-
options?: __HttpHandlerOptions
|
|
72
|
-
): Handler<DescribeLunaClientCommandInput, DescribeLunaClientCommandOutput> {
|
|
73
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
74
|
-
|
|
75
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
76
|
-
|
|
77
|
-
const { logger } = configuration;
|
|
78
|
-
const clientName = "CloudHSMClient";
|
|
79
|
-
const commandName = "DescribeLunaClientCommand";
|
|
80
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
81
|
-
logger,
|
|
82
|
-
clientName,
|
|
83
|
-
commandName,
|
|
84
|
-
inputFilterSensitiveLog: DescribeLunaClientRequest.filterSensitiveLog,
|
|
85
|
-
outputFilterSensitiveLog: DescribeLunaClientResponse.filterSensitiveLog,
|
|
86
|
-
};
|
|
87
|
-
const { requestHandler } = configuration;
|
|
88
|
-
return stack.resolve(
|
|
89
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
90
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
91
|
-
handlerExecutionContext
|
|
92
|
-
);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private serialize(input: DescribeLunaClientCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
96
|
-
return serializeAws_json1_1DescribeLunaClientCommand(input, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeLunaClientCommandOutput> {
|
|
100
|
-
return deserializeAws_json1_1DescribeLunaClientCommand(output, context);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
// Start section: command_body_extra
|
|
104
|
-
// End section: command_body_extra
|
|
105
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
15
|
-
import { GetConfigRequest, GetConfigResponse } from "../models/models_0";
|
|
16
|
-
import { deserializeAws_json1_1GetConfigCommand, serializeAws_json1_1GetConfigCommand } from "../protocols/Aws_json1_1";
|
|
17
|
-
|
|
18
|
-
export interface GetConfigCommandInput extends GetConfigRequest {}
|
|
19
|
-
export interface GetConfigCommandOutput extends GetConfigResponse, __MetadataBearer {}
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
23
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
24
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
25
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
26
|
-
* <p>
|
|
27
|
-
* <b>For information about the current version of AWS
|
|
28
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
29
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
30
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
31
|
-
* Reference</a>.</p>
|
|
32
|
-
* <p>Gets the configuration files necessary to connect to all high availability partition
|
|
33
|
-
* groups the client is associated with.</p>
|
|
34
|
-
* @example
|
|
35
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
-
* ```javascript
|
|
37
|
-
* import { CloudHSMClient, GetConfigCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
|
|
38
|
-
* // const { CloudHSMClient, GetConfigCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
|
|
39
|
-
* const client = new CloudHSMClient(config);
|
|
40
|
-
* const command = new GetConfigCommand(input);
|
|
41
|
-
* const response = await client.send(command);
|
|
42
|
-
* ```
|
|
43
|
-
*
|
|
44
|
-
* @see {@link GetConfigCommandInput} for command's `input` shape.
|
|
45
|
-
* @see {@link GetConfigCommandOutput} for command's `response` shape.
|
|
46
|
-
* @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
49
|
-
export class GetConfigCommand extends $Command<
|
|
50
|
-
GetConfigCommandInput,
|
|
51
|
-
GetConfigCommandOutput,
|
|
52
|
-
CloudHSMClientResolvedConfig
|
|
53
|
-
> {
|
|
54
|
-
// Start section: command_properties
|
|
55
|
-
// End section: command_properties
|
|
56
|
-
|
|
57
|
-
constructor(readonly input: GetConfigCommandInput) {
|
|
58
|
-
// Start section: command_constructor
|
|
59
|
-
super();
|
|
60
|
-
// End section: command_constructor
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
66
|
-
resolveMiddleware(
|
|
67
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
68
|
-
configuration: CloudHSMClientResolvedConfig,
|
|
69
|
-
options?: __HttpHandlerOptions
|
|
70
|
-
): Handler<GetConfigCommandInput, GetConfigCommandOutput> {
|
|
71
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
72
|
-
|
|
73
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
74
|
-
|
|
75
|
-
const { logger } = configuration;
|
|
76
|
-
const clientName = "CloudHSMClient";
|
|
77
|
-
const commandName = "GetConfigCommand";
|
|
78
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
79
|
-
logger,
|
|
80
|
-
clientName,
|
|
81
|
-
commandName,
|
|
82
|
-
inputFilterSensitiveLog: GetConfigRequest.filterSensitiveLog,
|
|
83
|
-
outputFilterSensitiveLog: GetConfigResponse.filterSensitiveLog,
|
|
84
|
-
};
|
|
85
|
-
const { requestHandler } = configuration;
|
|
86
|
-
return stack.resolve(
|
|
87
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
88
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
89
|
-
handlerExecutionContext
|
|
90
|
-
);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private serialize(input: GetConfigCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
94
|
-
return serializeAws_json1_1GetConfigCommand(input, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetConfigCommandOutput> {
|
|
98
|
-
return deserializeAws_json1_1GetConfigCommand(output, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// Start section: command_body_extra
|
|
102
|
-
// End section: command_body_extra
|
|
103
|
-
}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
15
|
-
import { ListAvailableZonesRequest, ListAvailableZonesResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1ListAvailableZonesCommand,
|
|
18
|
-
serializeAws_json1_1ListAvailableZonesCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface ListAvailableZonesCommandInput extends ListAvailableZonesRequest {}
|
|
22
|
-
export interface ListAvailableZonesCommandOutput extends ListAvailableZonesResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
26
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
27
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
28
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
29
|
-
* <p>
|
|
30
|
-
* <b>For information about the current version of AWS
|
|
31
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
32
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
33
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
34
|
-
* Reference</a>.</p>
|
|
35
|
-
* <p>Lists the Availability Zones that have available AWS CloudHSM capacity.</p>
|
|
36
|
-
* @example
|
|
37
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
38
|
-
* ```javascript
|
|
39
|
-
* import { CloudHSMClient, ListAvailableZonesCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
|
|
40
|
-
* // const { CloudHSMClient, ListAvailableZonesCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
|
|
41
|
-
* const client = new CloudHSMClient(config);
|
|
42
|
-
* const command = new ListAvailableZonesCommand(input);
|
|
43
|
-
* const response = await client.send(command);
|
|
44
|
-
* ```
|
|
45
|
-
*
|
|
46
|
-
* @see {@link ListAvailableZonesCommandInput} for command's `input` shape.
|
|
47
|
-
* @see {@link ListAvailableZonesCommandOutput} for command's `response` shape.
|
|
48
|
-
* @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
|
|
49
|
-
*
|
|
50
|
-
*/
|
|
51
|
-
export class ListAvailableZonesCommand extends $Command<
|
|
52
|
-
ListAvailableZonesCommandInput,
|
|
53
|
-
ListAvailableZonesCommandOutput,
|
|
54
|
-
CloudHSMClientResolvedConfig
|
|
55
|
-
> {
|
|
56
|
-
// Start section: command_properties
|
|
57
|
-
// End section: command_properties
|
|
58
|
-
|
|
59
|
-
constructor(readonly input: ListAvailableZonesCommandInput) {
|
|
60
|
-
// Start section: command_constructor
|
|
61
|
-
super();
|
|
62
|
-
// End section: command_constructor
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* @internal
|
|
67
|
-
*/
|
|
68
|
-
resolveMiddleware(
|
|
69
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
70
|
-
configuration: CloudHSMClientResolvedConfig,
|
|
71
|
-
options?: __HttpHandlerOptions
|
|
72
|
-
): Handler<ListAvailableZonesCommandInput, ListAvailableZonesCommandOutput> {
|
|
73
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
74
|
-
|
|
75
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
76
|
-
|
|
77
|
-
const { logger } = configuration;
|
|
78
|
-
const clientName = "CloudHSMClient";
|
|
79
|
-
const commandName = "ListAvailableZonesCommand";
|
|
80
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
81
|
-
logger,
|
|
82
|
-
clientName,
|
|
83
|
-
commandName,
|
|
84
|
-
inputFilterSensitiveLog: ListAvailableZonesRequest.filterSensitiveLog,
|
|
85
|
-
outputFilterSensitiveLog: ListAvailableZonesResponse.filterSensitiveLog,
|
|
86
|
-
};
|
|
87
|
-
const { requestHandler } = configuration;
|
|
88
|
-
return stack.resolve(
|
|
89
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
90
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
91
|
-
handlerExecutionContext
|
|
92
|
-
);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private serialize(input: ListAvailableZonesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
96
|
-
return serializeAws_json1_1ListAvailableZonesCommand(input, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListAvailableZonesCommandOutput> {
|
|
100
|
-
return deserializeAws_json1_1ListAvailableZonesCommand(output, context);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
// Start section: command_body_extra
|
|
104
|
-
// End section: command_body_extra
|
|
105
|
-
}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
15
|
-
import { ListHapgsRequest, ListHapgsResponse } from "../models/models_0";
|
|
16
|
-
import { deserializeAws_json1_1ListHapgsCommand, serializeAws_json1_1ListHapgsCommand } from "../protocols/Aws_json1_1";
|
|
17
|
-
|
|
18
|
-
export interface ListHapgsCommandInput extends ListHapgsRequest {}
|
|
19
|
-
export interface ListHapgsCommandOutput extends ListHapgsResponse, __MetadataBearer {}
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
23
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
24
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
25
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
26
|
-
* <p>
|
|
27
|
-
* <b>For information about the current version of AWS
|
|
28
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
29
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
30
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
31
|
-
* Reference</a>.</p>
|
|
32
|
-
* <p>Lists the high-availability partition groups for the account.</p>
|
|
33
|
-
* <p>This operation supports pagination with the use of the <code>NextToken</code> member.
|
|
34
|
-
* If more results are available, the <code>NextToken</code> member of the response contains a
|
|
35
|
-
* token that you pass in the next call to <code>ListHapgs</code> to retrieve the next set of
|
|
36
|
-
* items.</p>
|
|
37
|
-
* @example
|
|
38
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
39
|
-
* ```javascript
|
|
40
|
-
* import { CloudHSMClient, ListHapgsCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
|
|
41
|
-
* // const { CloudHSMClient, ListHapgsCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
|
|
42
|
-
* const client = new CloudHSMClient(config);
|
|
43
|
-
* const command = new ListHapgsCommand(input);
|
|
44
|
-
* const response = await client.send(command);
|
|
45
|
-
* ```
|
|
46
|
-
*
|
|
47
|
-
* @see {@link ListHapgsCommandInput} for command's `input` shape.
|
|
48
|
-
* @see {@link ListHapgsCommandOutput} for command's `response` shape.
|
|
49
|
-
* @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
|
|
50
|
-
*
|
|
51
|
-
*/
|
|
52
|
-
export class ListHapgsCommand extends $Command<
|
|
53
|
-
ListHapgsCommandInput,
|
|
54
|
-
ListHapgsCommandOutput,
|
|
55
|
-
CloudHSMClientResolvedConfig
|
|
56
|
-
> {
|
|
57
|
-
// Start section: command_properties
|
|
58
|
-
// End section: command_properties
|
|
59
|
-
|
|
60
|
-
constructor(readonly input: ListHapgsCommandInput) {
|
|
61
|
-
// Start section: command_constructor
|
|
62
|
-
super();
|
|
63
|
-
// End section: command_constructor
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* @internal
|
|
68
|
-
*/
|
|
69
|
-
resolveMiddleware(
|
|
70
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
71
|
-
configuration: CloudHSMClientResolvedConfig,
|
|
72
|
-
options?: __HttpHandlerOptions
|
|
73
|
-
): Handler<ListHapgsCommandInput, ListHapgsCommandOutput> {
|
|
74
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
75
|
-
|
|
76
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
77
|
-
|
|
78
|
-
const { logger } = configuration;
|
|
79
|
-
const clientName = "CloudHSMClient";
|
|
80
|
-
const commandName = "ListHapgsCommand";
|
|
81
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
82
|
-
logger,
|
|
83
|
-
clientName,
|
|
84
|
-
commandName,
|
|
85
|
-
inputFilterSensitiveLog: ListHapgsRequest.filterSensitiveLog,
|
|
86
|
-
outputFilterSensitiveLog: ListHapgsResponse.filterSensitiveLog,
|
|
87
|
-
};
|
|
88
|
-
const { requestHandler } = configuration;
|
|
89
|
-
return stack.resolve(
|
|
90
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
91
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
92
|
-
handlerExecutionContext
|
|
93
|
-
);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
private serialize(input: ListHapgsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
97
|
-
return serializeAws_json1_1ListHapgsCommand(input, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListHapgsCommandOutput> {
|
|
101
|
-
return deserializeAws_json1_1ListHapgsCommand(output, context);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// Start section: command_body_extra
|
|
105
|
-
// End section: command_body_extra
|
|
106
|
-
}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
15
|
-
import { ListHsmsRequest, ListHsmsResponse } from "../models/models_0";
|
|
16
|
-
import { deserializeAws_json1_1ListHsmsCommand, serializeAws_json1_1ListHsmsCommand } from "../protocols/Aws_json1_1";
|
|
17
|
-
|
|
18
|
-
export interface ListHsmsCommandInput extends ListHsmsRequest {}
|
|
19
|
-
export interface ListHsmsCommandOutput extends ListHsmsResponse, __MetadataBearer {}
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
23
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
24
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
25
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
26
|
-
* <p>
|
|
27
|
-
* <b>For information about the current version of AWS
|
|
28
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
29
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
30
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
31
|
-
* Reference</a>.</p>
|
|
32
|
-
* <p>Retrieves the identifiers of all of the HSMs provisioned for the current
|
|
33
|
-
* customer.</p>
|
|
34
|
-
* <p>This operation supports pagination with the use of the <code>NextToken</code> member.
|
|
35
|
-
* If more results are available, the <code>NextToken</code> member of the response contains a
|
|
36
|
-
* token that you pass in the next call to <code>ListHsms</code> to retrieve the next set of
|
|
37
|
-
* items.</p>
|
|
38
|
-
* @example
|
|
39
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
40
|
-
* ```javascript
|
|
41
|
-
* import { CloudHSMClient, ListHsmsCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
|
|
42
|
-
* // const { CloudHSMClient, ListHsmsCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
|
|
43
|
-
* const client = new CloudHSMClient(config);
|
|
44
|
-
* const command = new ListHsmsCommand(input);
|
|
45
|
-
* const response = await client.send(command);
|
|
46
|
-
* ```
|
|
47
|
-
*
|
|
48
|
-
* @see {@link ListHsmsCommandInput} for command's `input` shape.
|
|
49
|
-
* @see {@link ListHsmsCommandOutput} for command's `response` shape.
|
|
50
|
-
* @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
|
|
51
|
-
*
|
|
52
|
-
*/
|
|
53
|
-
export class ListHsmsCommand extends $Command<
|
|
54
|
-
ListHsmsCommandInput,
|
|
55
|
-
ListHsmsCommandOutput,
|
|
56
|
-
CloudHSMClientResolvedConfig
|
|
57
|
-
> {
|
|
58
|
-
// Start section: command_properties
|
|
59
|
-
// End section: command_properties
|
|
60
|
-
|
|
61
|
-
constructor(readonly input: ListHsmsCommandInput) {
|
|
62
|
-
// Start section: command_constructor
|
|
63
|
-
super();
|
|
64
|
-
// End section: command_constructor
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* @internal
|
|
69
|
-
*/
|
|
70
|
-
resolveMiddleware(
|
|
71
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
72
|
-
configuration: CloudHSMClientResolvedConfig,
|
|
73
|
-
options?: __HttpHandlerOptions
|
|
74
|
-
): Handler<ListHsmsCommandInput, ListHsmsCommandOutput> {
|
|
75
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
76
|
-
|
|
77
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
78
|
-
|
|
79
|
-
const { logger } = configuration;
|
|
80
|
-
const clientName = "CloudHSMClient";
|
|
81
|
-
const commandName = "ListHsmsCommand";
|
|
82
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
83
|
-
logger,
|
|
84
|
-
clientName,
|
|
85
|
-
commandName,
|
|
86
|
-
inputFilterSensitiveLog: ListHsmsRequest.filterSensitiveLog,
|
|
87
|
-
outputFilterSensitiveLog: ListHsmsResponse.filterSensitiveLog,
|
|
88
|
-
};
|
|
89
|
-
const { requestHandler } = configuration;
|
|
90
|
-
return stack.resolve(
|
|
91
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
92
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
93
|
-
handlerExecutionContext
|
|
94
|
-
);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private serialize(input: ListHsmsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
98
|
-
return serializeAws_json1_1ListHsmsCommand(input, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListHsmsCommandOutput> {
|
|
102
|
-
return deserializeAws_json1_1ListHsmsCommand(output, context);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
// Start section: command_body_extra
|
|
106
|
-
// End section: command_body_extra
|
|
107
|
-
}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
15
|
-
import { ListLunaClientsRequest, ListLunaClientsResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1ListLunaClientsCommand,
|
|
18
|
-
serializeAws_json1_1ListLunaClientsCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface ListLunaClientsCommandInput extends ListLunaClientsRequest {}
|
|
22
|
-
export interface ListLunaClientsCommandOutput extends ListLunaClientsResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
26
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
27
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
28
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
29
|
-
* <p>
|
|
30
|
-
* <b>For information about the current version of AWS
|
|
31
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
32
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
33
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
34
|
-
* Reference</a>.</p>
|
|
35
|
-
* <p>Lists all of the clients.</p>
|
|
36
|
-
* <p>This operation supports pagination with the use of the <code>NextToken</code> member.
|
|
37
|
-
* If more results are available, the <code>NextToken</code> member of the response contains a
|
|
38
|
-
* token that you pass in the next call to <code>ListLunaClients</code> to retrieve the next set
|
|
39
|
-
* of items.</p>
|
|
40
|
-
* @example
|
|
41
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
42
|
-
* ```javascript
|
|
43
|
-
* import { CloudHSMClient, ListLunaClientsCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
|
|
44
|
-
* // const { CloudHSMClient, ListLunaClientsCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
|
|
45
|
-
* const client = new CloudHSMClient(config);
|
|
46
|
-
* const command = new ListLunaClientsCommand(input);
|
|
47
|
-
* const response = await client.send(command);
|
|
48
|
-
* ```
|
|
49
|
-
*
|
|
50
|
-
* @see {@link ListLunaClientsCommandInput} for command's `input` shape.
|
|
51
|
-
* @see {@link ListLunaClientsCommandOutput} for command's `response` shape.
|
|
52
|
-
* @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
|
|
53
|
-
*
|
|
54
|
-
*/
|
|
55
|
-
export class ListLunaClientsCommand extends $Command<
|
|
56
|
-
ListLunaClientsCommandInput,
|
|
57
|
-
ListLunaClientsCommandOutput,
|
|
58
|
-
CloudHSMClientResolvedConfig
|
|
59
|
-
> {
|
|
60
|
-
// Start section: command_properties
|
|
61
|
-
// End section: command_properties
|
|
62
|
-
|
|
63
|
-
constructor(readonly input: ListLunaClientsCommandInput) {
|
|
64
|
-
// Start section: command_constructor
|
|
65
|
-
super();
|
|
66
|
-
// End section: command_constructor
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* @internal
|
|
71
|
-
*/
|
|
72
|
-
resolveMiddleware(
|
|
73
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
74
|
-
configuration: CloudHSMClientResolvedConfig,
|
|
75
|
-
options?: __HttpHandlerOptions
|
|
76
|
-
): Handler<ListLunaClientsCommandInput, ListLunaClientsCommandOutput> {
|
|
77
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
78
|
-
|
|
79
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
80
|
-
|
|
81
|
-
const { logger } = configuration;
|
|
82
|
-
const clientName = "CloudHSMClient";
|
|
83
|
-
const commandName = "ListLunaClientsCommand";
|
|
84
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
85
|
-
logger,
|
|
86
|
-
clientName,
|
|
87
|
-
commandName,
|
|
88
|
-
inputFilterSensitiveLog: ListLunaClientsRequest.filterSensitiveLog,
|
|
89
|
-
outputFilterSensitiveLog: ListLunaClientsResponse.filterSensitiveLog,
|
|
90
|
-
};
|
|
91
|
-
const { requestHandler } = configuration;
|
|
92
|
-
return stack.resolve(
|
|
93
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
94
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
95
|
-
handlerExecutionContext
|
|
96
|
-
);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
private serialize(input: ListLunaClientsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
100
|
-
return serializeAws_json1_1ListLunaClientsCommand(input, context);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListLunaClientsCommandOutput> {
|
|
104
|
-
return deserializeAws_json1_1ListLunaClientsCommand(output, context);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
// Start section: command_body_extra
|
|
108
|
-
// End section: command_body_extra
|
|
109
|
-
}
|