@aws-sdk/client-cloudhsm-v2 3.478.0 → 3.484.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/dist-cjs/commands/CopyBackupToRegionCommand.js +18 -41
  2. package/dist-cjs/commands/CreateClusterCommand.js +18 -41
  3. package/dist-cjs/commands/CreateHsmCommand.js +18 -41
  4. package/dist-cjs/commands/DeleteBackupCommand.js +18 -41
  5. package/dist-cjs/commands/DeleteClusterCommand.js +18 -41
  6. package/dist-cjs/commands/DeleteHsmCommand.js +18 -41
  7. package/dist-cjs/commands/DescribeBackupsCommand.js +18 -41
  8. package/dist-cjs/commands/DescribeClustersCommand.js +18 -41
  9. package/dist-cjs/commands/InitializeClusterCommand.js +18 -41
  10. package/dist-cjs/commands/ListTagsCommand.js +18 -41
  11. package/dist-cjs/commands/ModifyBackupAttributesCommand.js +18 -41
  12. package/dist-cjs/commands/ModifyClusterCommand.js +18 -41
  13. package/dist-cjs/commands/RestoreBackupCommand.js +18 -41
  14. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  15. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  16. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  17. package/dist-es/commands/CopyBackupToRegionCommand.js +18 -41
  18. package/dist-es/commands/CreateClusterCommand.js +18 -41
  19. package/dist-es/commands/CreateHsmCommand.js +18 -41
  20. package/dist-es/commands/DeleteBackupCommand.js +18 -41
  21. package/dist-es/commands/DeleteClusterCommand.js +18 -41
  22. package/dist-es/commands/DeleteHsmCommand.js +18 -41
  23. package/dist-es/commands/DescribeBackupsCommand.js +18 -41
  24. package/dist-es/commands/DescribeClustersCommand.js +18 -41
  25. package/dist-es/commands/InitializeClusterCommand.js +18 -41
  26. package/dist-es/commands/ListTagsCommand.js +18 -41
  27. package/dist-es/commands/ModifyBackupAttributesCommand.js +18 -41
  28. package/dist-es/commands/ModifyClusterCommand.js +18 -41
  29. package/dist-es/commands/RestoreBackupCommand.js +18 -41
  30. package/dist-es/commands/TagResourceCommand.js +18 -41
  31. package/dist-es/commands/UntagResourceCommand.js +18 -41
  32. package/dist-es/endpoint/EndpointParameters.js +6 -0
  33. package/dist-types/commands/CopyBackupToRegionCommand.d.ts +6 -21
  34. package/dist-types/commands/CreateClusterCommand.d.ts +6 -21
  35. package/dist-types/commands/CreateHsmCommand.d.ts +6 -21
  36. package/dist-types/commands/DeleteBackupCommand.d.ts +6 -21
  37. package/dist-types/commands/DeleteClusterCommand.d.ts +6 -21
  38. package/dist-types/commands/DeleteHsmCommand.d.ts +6 -21
  39. package/dist-types/commands/DescribeBackupsCommand.d.ts +6 -21
  40. package/dist-types/commands/DescribeClustersCommand.d.ts +6 -21
  41. package/dist-types/commands/InitializeClusterCommand.d.ts +6 -21
  42. package/dist-types/commands/ListTagsCommand.d.ts +6 -21
  43. package/dist-types/commands/ModifyBackupAttributesCommand.d.ts +6 -21
  44. package/dist-types/commands/ModifyClusterCommand.d.ts +6 -21
  45. package/dist-types/commands/RestoreBackupCommand.d.ts +6 -21
  46. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  47. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  48. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  49. package/dist-types/ts3.4/commands/CopyBackupToRegionCommand.d.ts +14 -23
  50. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +14 -23
  51. package/dist-types/ts3.4/commands/CreateHsmCommand.d.ts +14 -23
  52. package/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts +14 -23
  53. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +14 -23
  54. package/dist-types/ts3.4/commands/DeleteHsmCommand.d.ts +14 -23
  55. package/dist-types/ts3.4/commands/DescribeBackupsCommand.d.ts +14 -23
  56. package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +14 -23
  57. package/dist-types/ts3.4/commands/InitializeClusterCommand.d.ts +14 -23
  58. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +14 -23
  59. package/dist-types/ts3.4/commands/ModifyBackupAttributesCommand.d.ts +12 -24
  60. package/dist-types/ts3.4/commands/ModifyClusterCommand.d.ts +14 -23
  61. package/dist-types/ts3.4/commands/RestoreBackupCommand.d.ts +14 -23
  62. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  63. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  64. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  65. package/package.json +11 -11
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_RestoreBackupCommand, se_RestoreBackupCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class RestoreBackupCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, RestoreBackupCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudHSMV2Client";
26
- const commandName = "RestoreBackupCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "BaldrApiService",
35
- operation: "RestoreBackup",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_RestoreBackupCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_RestoreBackupCommand(output, context);
46
- }
7
+ export class RestoreBackupCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("BaldrApiService", "RestoreBackup", {})
19
+ .n("CloudHSMV2Client", "RestoreBackupCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_RestoreBackupCommand)
22
+ .de(de_RestoreBackupCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class TagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudHSMV2Client";
26
- const commandName = "TagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "BaldrApiService",
35
- operation: "TagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_TagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_TagResourceCommand(output, context);
46
- }
7
+ export class TagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("BaldrApiService", "TagResource", {})
19
+ .n("CloudHSMV2Client", "TagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_TagResourceCommand)
22
+ .de(de_TagResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UntagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudHSMV2Client";
26
- const commandName = "UntagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "BaldrApiService",
35
- operation: "UntagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UntagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UntagResourceCommand(output, context);
46
- }
7
+ export class UntagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("BaldrApiService", "UntagResource", {})
19
+ .n("CloudHSMV2Client", "UntagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagResourceCommand)
22
+ .de(de_UntagResourceCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "cloudhsm",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudHSMV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMV2Client";
5
4
  import { CopyBackupToRegionRequest, CopyBackupToRegionResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CopyBackupToRegionCommandInput extends CopyBackupToRegionReques
21
20
  */
22
21
  export interface CopyBackupToRegionCommandOutput extends CopyBackupToRegionResponse, __MetadataBearer {
23
22
  }
23
+ declare const CopyBackupToRegionCommand_base: {
24
+ new (input: CopyBackupToRegionCommandInput): import("@smithy/smithy-client").CommandImpl<CopyBackupToRegionCommandInput, CopyBackupToRegionCommandOutput, CloudHSMV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Copy an AWS CloudHSM cluster backup to a different region.</p>
@@ -84,23 +87,5 @@ export interface CopyBackupToRegionCommandOutput extends CopyBackupToRegionRespo
84
87
  * <p>Base exception class for all service exceptions from CloudHSMV2 service.</p>
85
88
  *
86
89
  */
87
- export declare class CopyBackupToRegionCommand extends $Command<CopyBackupToRegionCommandInput, CopyBackupToRegionCommandOutput, CloudHSMV2ClientResolvedConfig> {
88
- readonly input: CopyBackupToRegionCommandInput;
89
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
90
- /**
91
- * @public
92
- */
93
- constructor(input: CopyBackupToRegionCommandInput);
94
- /**
95
- * @internal
96
- */
97
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudHSMV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CopyBackupToRegionCommandInput, CopyBackupToRegionCommandOutput>;
98
- /**
99
- * @internal
100
- */
101
- private serialize;
102
- /**
103
- * @internal
104
- */
105
- private deserialize;
90
+ export declare class CopyBackupToRegionCommand extends CopyBackupToRegionCommand_base {
106
91
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudHSMV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMV2Client";
5
4
  import { CreateClusterRequest, CreateClusterResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateClusterCommandInput extends CreateClusterRequest {
21
20
  */
22
21
  export interface CreateClusterCommandOutput extends CreateClusterResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateClusterCommand_base: {
24
+ new (input: CreateClusterCommandInput): import("@smithy/smithy-client").CommandImpl<CreateClusterCommandInput, CreateClusterCommandOutput, CloudHSMV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a new AWS CloudHSM cluster.</p>
@@ -129,23 +132,5 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
129
132
  * <p>Base exception class for all service exceptions from CloudHSMV2 service.</p>
130
133
  *
131
134
  */
132
- export declare class CreateClusterCommand extends $Command<CreateClusterCommandInput, CreateClusterCommandOutput, CloudHSMV2ClientResolvedConfig> {
133
- readonly input: CreateClusterCommandInput;
134
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
135
- /**
136
- * @public
137
- */
138
- constructor(input: CreateClusterCommandInput);
139
- /**
140
- * @internal
141
- */
142
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudHSMV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateClusterCommandInput, CreateClusterCommandOutput>;
143
- /**
144
- * @internal
145
- */
146
- private serialize;
147
- /**
148
- * @internal
149
- */
150
- private deserialize;
135
+ export declare class CreateClusterCommand extends CreateClusterCommand_base {
151
136
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudHSMV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMV2Client";
5
4
  import { CreateHsmRequest, CreateHsmResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateHsmCommandInput extends CreateHsmRequest {
21
20
  */
22
21
  export interface CreateHsmCommandOutput extends CreateHsmResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateHsmCommand_base: {
24
+ new (input: CreateHsmCommandInput): import("@smithy/smithy-client").CommandImpl<CreateHsmCommandInput, CreateHsmCommandOutput, CloudHSMV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a new hardware security module (HSM) in the specified AWS CloudHSM
@@ -81,23 +84,5 @@ export interface CreateHsmCommandOutput extends CreateHsmResponse, __MetadataBea
81
84
  * <p>Base exception class for all service exceptions from CloudHSMV2 service.</p>
82
85
  *
83
86
  */
84
- export declare class CreateHsmCommand extends $Command<CreateHsmCommandInput, CreateHsmCommandOutput, CloudHSMV2ClientResolvedConfig> {
85
- readonly input: CreateHsmCommandInput;
86
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
87
- /**
88
- * @public
89
- */
90
- constructor(input: CreateHsmCommandInput);
91
- /**
92
- * @internal
93
- */
94
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudHSMV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateHsmCommandInput, CreateHsmCommandOutput>;
95
- /**
96
- * @internal
97
- */
98
- private serialize;
99
- /**
100
- * @internal
101
- */
102
- private deserialize;
87
+ export declare class CreateHsmCommand extends CreateHsmCommand_base {
103
88
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudHSMV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMV2Client";
5
4
  import { DeleteBackupRequest, DeleteBackupResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteBackupCommandInput extends DeleteBackupRequest {
21
20
  */
22
21
  export interface DeleteBackupCommandOutput extends DeleteBackupResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteBackupCommand_base: {
24
+ new (input: DeleteBackupCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBackupCommandInput, DeleteBackupCommandOutput, CloudHSMV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes a specified AWS CloudHSM backup. A backup can be restored up to 7 days
@@ -88,23 +91,5 @@ export interface DeleteBackupCommandOutput extends DeleteBackupResponse, __Metad
88
91
  * <p>Base exception class for all service exceptions from CloudHSMV2 service.</p>
89
92
  *
90
93
  */
91
- export declare class DeleteBackupCommand extends $Command<DeleteBackupCommandInput, DeleteBackupCommandOutput, CloudHSMV2ClientResolvedConfig> {
92
- readonly input: DeleteBackupCommandInput;
93
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
94
- /**
95
- * @public
96
- */
97
- constructor(input: DeleteBackupCommandInput);
98
- /**
99
- * @internal
100
- */
101
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudHSMV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteBackupCommandInput, DeleteBackupCommandOutput>;
102
- /**
103
- * @internal
104
- */
105
- private serialize;
106
- /**
107
- * @internal
108
- */
109
- private deserialize;
94
+ export declare class DeleteBackupCommand extends DeleteBackupCommand_base {
110
95
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudHSMV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMV2Client";
5
4
  import { DeleteClusterRequest, DeleteClusterResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteClusterCommandInput extends DeleteClusterRequest {
21
20
  */
22
21
  export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteClusterCommand_base: {
24
+ new (input: DeleteClusterCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteClusterCommandInput, DeleteClusterCommandOutput, CloudHSMV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes the specified AWS CloudHSM cluster. Before you can delete a cluster, you must
@@ -116,23 +119,5 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
116
119
  * <p>Base exception class for all service exceptions from CloudHSMV2 service.</p>
117
120
  *
118
121
  */
119
- export declare class DeleteClusterCommand extends $Command<DeleteClusterCommandInput, DeleteClusterCommandOutput, CloudHSMV2ClientResolvedConfig> {
120
- readonly input: DeleteClusterCommandInput;
121
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
122
- /**
123
- * @public
124
- */
125
- constructor(input: DeleteClusterCommandInput);
126
- /**
127
- * @internal
128
- */
129
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudHSMV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteClusterCommandInput, DeleteClusterCommandOutput>;
130
- /**
131
- * @internal
132
- */
133
- private serialize;
134
- /**
135
- * @internal
136
- */
137
- private deserialize;
122
+ export declare class DeleteClusterCommand extends DeleteClusterCommand_base {
138
123
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudHSMV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMV2Client";
5
4
  import { DeleteHsmRequest, DeleteHsmResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteHsmCommandInput extends DeleteHsmRequest {
21
20
  */
22
21
  export interface DeleteHsmCommandOutput extends DeleteHsmResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteHsmCommand_base: {
24
+ new (input: DeleteHsmCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteHsmCommandInput, DeleteHsmCommandOutput, CloudHSMV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes the specified HSM. To specify an HSM, you can use its identifier (ID), the IP
@@ -74,23 +77,5 @@ export interface DeleteHsmCommandOutput extends DeleteHsmResponse, __MetadataBea
74
77
  * <p>Base exception class for all service exceptions from CloudHSMV2 service.</p>
75
78
  *
76
79
  */
77
- export declare class DeleteHsmCommand extends $Command<DeleteHsmCommandInput, DeleteHsmCommandOutput, CloudHSMV2ClientResolvedConfig> {
78
- readonly input: DeleteHsmCommandInput;
79
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
80
- /**
81
- * @public
82
- */
83
- constructor(input: DeleteHsmCommandInput);
84
- /**
85
- * @internal
86
- */
87
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudHSMV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteHsmCommandInput, DeleteHsmCommandOutput>;
88
- /**
89
- * @internal
90
- */
91
- private serialize;
92
- /**
93
- * @internal
94
- */
95
- private deserialize;
80
+ export declare class DeleteHsmCommand extends DeleteHsmCommand_base {
96
81
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudHSMV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMV2Client";
5
4
  import { DescribeBackupsRequest, DescribeBackupsResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeBackupsCommandInput extends DescribeBackupsRequest {
21
20
  */
22
21
  export interface DescribeBackupsCommandOutput extends DescribeBackupsResponse, __MetadataBearer {
23
22
  }
23
+ declare const DescribeBackupsCommand_base: {
24
+ new (input: DescribeBackupsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeBackupsCommandInput, DescribeBackupsCommandOutput, CloudHSMV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets information about backups of AWS CloudHSM clusters.</p>
@@ -104,23 +107,5 @@ export interface DescribeBackupsCommandOutput extends DescribeBackupsResponse, _
104
107
  * <p>Base exception class for all service exceptions from CloudHSMV2 service.</p>
105
108
  *
106
109
  */
107
- export declare class DescribeBackupsCommand extends $Command<DescribeBackupsCommandInput, DescribeBackupsCommandOutput, CloudHSMV2ClientResolvedConfig> {
108
- readonly input: DescribeBackupsCommandInput;
109
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
110
- /**
111
- * @public
112
- */
113
- constructor(input: DescribeBackupsCommandInput);
114
- /**
115
- * @internal
116
- */
117
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudHSMV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeBackupsCommandInput, DescribeBackupsCommandOutput>;
118
- /**
119
- * @internal
120
- */
121
- private serialize;
122
- /**
123
- * @internal
124
- */
125
- private deserialize;
110
+ export declare class DescribeBackupsCommand extends DescribeBackupsCommand_base {
126
111
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudHSMV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMV2Client";
5
4
  import { DescribeClustersRequest, DescribeClustersResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeClustersCommandInput extends DescribeClustersRequest {
21
20
  */
22
21
  export interface DescribeClustersCommandOutput extends DescribeClustersResponse, __MetadataBearer {
23
22
  }
23
+ declare const DescribeClustersCommand_base: {
24
+ new (input: DescribeClustersCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeClustersCommandInput, DescribeClustersCommandOutput, CloudHSMV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets information about AWS CloudHSM clusters.</p>
@@ -125,23 +128,5 @@ export interface DescribeClustersCommandOutput extends DescribeClustersResponse,
125
128
  * <p>Base exception class for all service exceptions from CloudHSMV2 service.</p>
126
129
  *
127
130
  */
128
- export declare class DescribeClustersCommand extends $Command<DescribeClustersCommandInput, DescribeClustersCommandOutput, CloudHSMV2ClientResolvedConfig> {
129
- readonly input: DescribeClustersCommandInput;
130
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
131
- /**
132
- * @public
133
- */
134
- constructor(input: DescribeClustersCommandInput);
135
- /**
136
- * @internal
137
- */
138
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudHSMV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeClustersCommandInput, DescribeClustersCommandOutput>;
139
- /**
140
- * @internal
141
- */
142
- private serialize;
143
- /**
144
- * @internal
145
- */
146
- private deserialize;
131
+ export declare class DescribeClustersCommand extends DescribeClustersCommand_base {
147
132
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudHSMV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMV2Client";
5
4
  import { InitializeClusterRequest, InitializeClusterResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface InitializeClusterCommandInput extends InitializeClusterRequest
21
20
  */
22
21
  export interface InitializeClusterCommandOutput extends InitializeClusterResponse, __MetadataBearer {
23
22
  }
23
+ declare const InitializeClusterCommand_base: {
24
+ new (input: InitializeClusterCommandInput): import("@smithy/smithy-client").CommandImpl<InitializeClusterCommandInput, InitializeClusterCommandOutput, CloudHSMV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Claims an AWS CloudHSM cluster by submitting the cluster certificate issued by your
@@ -75,23 +78,5 @@ export interface InitializeClusterCommandOutput extends InitializeClusterRespons
75
78
  * <p>Base exception class for all service exceptions from CloudHSMV2 service.</p>
76
79
  *
77
80
  */
78
- export declare class InitializeClusterCommand extends $Command<InitializeClusterCommandInput, InitializeClusterCommandOutput, CloudHSMV2ClientResolvedConfig> {
79
- readonly input: InitializeClusterCommandInput;
80
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
81
- /**
82
- * @public
83
- */
84
- constructor(input: InitializeClusterCommandInput);
85
- /**
86
- * @internal
87
- */
88
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudHSMV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<InitializeClusterCommandInput, InitializeClusterCommandOutput>;
89
- /**
90
- * @internal
91
- */
92
- private serialize;
93
- /**
94
- * @internal
95
- */
96
- private deserialize;
81
+ export declare class InitializeClusterCommand extends InitializeClusterCommand_base {
97
82
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudHSMV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMV2Client";
5
4
  import { ListTagsRequest, ListTagsResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListTagsCommandInput extends ListTagsRequest {
21
20
  */
22
21
  export interface ListTagsCommandOutput extends ListTagsResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListTagsCommand_base: {
24
+ new (input: ListTagsCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsCommandInput, ListTagsCommandOutput, CloudHSMV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets a list of tags for the specified AWS CloudHSM cluster.</p>
@@ -85,23 +88,5 @@ export interface ListTagsCommandOutput extends ListTagsResponse, __MetadataBeare
85
88
  * <p>Base exception class for all service exceptions from CloudHSMV2 service.</p>
86
89
  *
87
90
  */
88
- export declare class ListTagsCommand extends $Command<ListTagsCommandInput, ListTagsCommandOutput, CloudHSMV2ClientResolvedConfig> {
89
- readonly input: ListTagsCommandInput;
90
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
91
- /**
92
- * @public
93
- */
94
- constructor(input: ListTagsCommandInput);
95
- /**
96
- * @internal
97
- */
98
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudHSMV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsCommandInput, ListTagsCommandOutput>;
99
- /**
100
- * @internal
101
- */
102
- private serialize;
103
- /**
104
- * @internal
105
- */
106
- private deserialize;
91
+ export declare class ListTagsCommand extends ListTagsCommand_base {
107
92
  }