@aws-sdk/client-cloudhsm 3.1137.0 → 3.1138.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/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1136.0";
72
+ var version = "3.1137.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -305,10 +305,10 @@ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.cloudhsm";
305
305
  const _se = "server";
306
306
  const _xN = "xmlName";
307
307
  const n0 = "com.amazonaws.cloudhsm";
308
- const _s_registry = TypeRegistry.for(_s);
308
+ const _s_registry = new TypeRegistry(_s);
309
309
  var CloudHSMServiceException$ = [-3, _s, "CloudHSMServiceException", 0, [], []];
310
310
  _s_registry.registerError(CloudHSMServiceException$, CloudHSMServiceException);
311
- const n0_registry = TypeRegistry.for(n0);
311
+ const n0_registry = new TypeRegistry(n0);
312
312
  var CloudHsmInternalException$ = [-3, n0, _CHIE,
313
313
  { [_e]: _se },
314
314
  [_m, _r],
@@ -125,10 +125,10 @@ const n0 = "com.amazonaws.cloudhsm";
125
125
  import { TypeRegistry } from "@smithy/core/schema";
126
126
  import { CloudHSMServiceException } from "../models/CloudHSMServiceException";
127
127
  import { CloudHsmInternalException, CloudHsmServiceException, InvalidRequestException } from "../models/errors";
128
- const _s_registry = TypeRegistry.for(_s);
128
+ const _s_registry = new TypeRegistry(_s);
129
129
  export var CloudHSMServiceException$ = [-3, _s, "CloudHSMServiceException", 0, [], []];
130
130
  _s_registry.registerError(CloudHSMServiceException$, CloudHSMServiceException);
131
- const n0_registry = TypeRegistry.for(n0);
131
+ const n0_registry = new TypeRegistry(n0);
132
132
  export var CloudHsmInternalException$ = [-3, n0, _CHIE,
133
133
  { [_e]: _se },
134
134
  [_m, _r],
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder } from "@smithy/types";
2
2
  import { CloudHSMClient } from "./CloudHSMClient";
3
3
  import { type AddTagsToResourceCommandInput, type AddTagsToResourceCommandOutput } from "./commands/AddTagsToResourceCommand";
4
4
  import { type CreateHapgCommandInput, type CreateHapgCommandOutput } from "./commands/CreateHapgCommand";
@@ -20,133 +20,139 @@ import { type ModifyHapgCommandInput, type ModifyHapgCommandOutput } from "./com
20
20
  import { type ModifyHsmCommandInput, type ModifyHsmCommandOutput } from "./commands/ModifyHsmCommand";
21
21
  import { type ModifyLunaClientCommandInput, type ModifyLunaClientCommandOutput } from "./commands/ModifyLunaClientCommand";
22
22
  import { type RemoveTagsFromResourceCommandInput, type RemoveTagsFromResourceCommandOutput } from "./commands/RemoveTagsFromResourceCommand";
23
+ /**
24
+ * @public
25
+ */
26
+ export interface CloudHSMRequestOptions extends __HttpHandlerOptions {
27
+ metricsRecorder?: __MetricsRecorder<unknown>;
28
+ }
23
29
  export interface CloudHSM {
24
30
  /**
25
31
  * @see {@link AddTagsToResourceCommand}
26
32
  */
27
- addTagsToResource(args: AddTagsToResourceCommandInput, options?: __HttpHandlerOptions): Promise<AddTagsToResourceCommandOutput>;
33
+ addTagsToResource(args: AddTagsToResourceCommandInput, options?: CloudHSMRequestOptions): Promise<AddTagsToResourceCommandOutput>;
28
34
  addTagsToResource(args: AddTagsToResourceCommandInput, cb: (err: any, data?: AddTagsToResourceCommandOutput) => void): void;
29
- addTagsToResource(args: AddTagsToResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddTagsToResourceCommandOutput) => void): void;
35
+ addTagsToResource(args: AddTagsToResourceCommandInput, options: CloudHSMRequestOptions, cb: (err: any, data?: AddTagsToResourceCommandOutput) => void): void;
30
36
  /**
31
37
  * @see {@link CreateHapgCommand}
32
38
  */
33
- createHapg(args: CreateHapgCommandInput, options?: __HttpHandlerOptions): Promise<CreateHapgCommandOutput>;
39
+ createHapg(args: CreateHapgCommandInput, options?: CloudHSMRequestOptions): Promise<CreateHapgCommandOutput>;
34
40
  createHapg(args: CreateHapgCommandInput, cb: (err: any, data?: CreateHapgCommandOutput) => void): void;
35
- createHapg(args: CreateHapgCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateHapgCommandOutput) => void): void;
41
+ createHapg(args: CreateHapgCommandInput, options: CloudHSMRequestOptions, cb: (err: any, data?: CreateHapgCommandOutput) => void): void;
36
42
  /**
37
43
  * @see {@link CreateHsmCommand}
38
44
  */
39
- createHsm(args: CreateHsmCommandInput, options?: __HttpHandlerOptions): Promise<CreateHsmCommandOutput>;
45
+ createHsm(args: CreateHsmCommandInput, options?: CloudHSMRequestOptions): Promise<CreateHsmCommandOutput>;
40
46
  createHsm(args: CreateHsmCommandInput, cb: (err: any, data?: CreateHsmCommandOutput) => void): void;
41
- createHsm(args: CreateHsmCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateHsmCommandOutput) => void): void;
47
+ createHsm(args: CreateHsmCommandInput, options: CloudHSMRequestOptions, cb: (err: any, data?: CreateHsmCommandOutput) => void): void;
42
48
  /**
43
49
  * @see {@link CreateLunaClientCommand}
44
50
  */
45
- createLunaClient(args: CreateLunaClientCommandInput, options?: __HttpHandlerOptions): Promise<CreateLunaClientCommandOutput>;
51
+ createLunaClient(args: CreateLunaClientCommandInput, options?: CloudHSMRequestOptions): Promise<CreateLunaClientCommandOutput>;
46
52
  createLunaClient(args: CreateLunaClientCommandInput, cb: (err: any, data?: CreateLunaClientCommandOutput) => void): void;
47
- createLunaClient(args: CreateLunaClientCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLunaClientCommandOutput) => void): void;
53
+ createLunaClient(args: CreateLunaClientCommandInput, options: CloudHSMRequestOptions, cb: (err: any, data?: CreateLunaClientCommandOutput) => void): void;
48
54
  /**
49
55
  * @see {@link DeleteHapgCommand}
50
56
  */
51
- deleteHapg(args: DeleteHapgCommandInput, options?: __HttpHandlerOptions): Promise<DeleteHapgCommandOutput>;
57
+ deleteHapg(args: DeleteHapgCommandInput, options?: CloudHSMRequestOptions): Promise<DeleteHapgCommandOutput>;
52
58
  deleteHapg(args: DeleteHapgCommandInput, cb: (err: any, data?: DeleteHapgCommandOutput) => void): void;
53
- deleteHapg(args: DeleteHapgCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteHapgCommandOutput) => void): void;
59
+ deleteHapg(args: DeleteHapgCommandInput, options: CloudHSMRequestOptions, cb: (err: any, data?: DeleteHapgCommandOutput) => void): void;
54
60
  /**
55
61
  * @see {@link DeleteHsmCommand}
56
62
  */
57
- deleteHsm(args: DeleteHsmCommandInput, options?: __HttpHandlerOptions): Promise<DeleteHsmCommandOutput>;
63
+ deleteHsm(args: DeleteHsmCommandInput, options?: CloudHSMRequestOptions): Promise<DeleteHsmCommandOutput>;
58
64
  deleteHsm(args: DeleteHsmCommandInput, cb: (err: any, data?: DeleteHsmCommandOutput) => void): void;
59
- deleteHsm(args: DeleteHsmCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteHsmCommandOutput) => void): void;
65
+ deleteHsm(args: DeleteHsmCommandInput, options: CloudHSMRequestOptions, cb: (err: any, data?: DeleteHsmCommandOutput) => void): void;
60
66
  /**
61
67
  * @see {@link DeleteLunaClientCommand}
62
68
  */
63
- deleteLunaClient(args: DeleteLunaClientCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLunaClientCommandOutput>;
69
+ deleteLunaClient(args: DeleteLunaClientCommandInput, options?: CloudHSMRequestOptions): Promise<DeleteLunaClientCommandOutput>;
64
70
  deleteLunaClient(args: DeleteLunaClientCommandInput, cb: (err: any, data?: DeleteLunaClientCommandOutput) => void): void;
65
- deleteLunaClient(args: DeleteLunaClientCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLunaClientCommandOutput) => void): void;
71
+ deleteLunaClient(args: DeleteLunaClientCommandInput, options: CloudHSMRequestOptions, cb: (err: any, data?: DeleteLunaClientCommandOutput) => void): void;
66
72
  /**
67
73
  * @see {@link DescribeHapgCommand}
68
74
  */
69
- describeHapg(args: DescribeHapgCommandInput, options?: __HttpHandlerOptions): Promise<DescribeHapgCommandOutput>;
75
+ describeHapg(args: DescribeHapgCommandInput, options?: CloudHSMRequestOptions): Promise<DescribeHapgCommandOutput>;
70
76
  describeHapg(args: DescribeHapgCommandInput, cb: (err: any, data?: DescribeHapgCommandOutput) => void): void;
71
- describeHapg(args: DescribeHapgCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeHapgCommandOutput) => void): void;
77
+ describeHapg(args: DescribeHapgCommandInput, options: CloudHSMRequestOptions, cb: (err: any, data?: DescribeHapgCommandOutput) => void): void;
72
78
  /**
73
79
  * @see {@link DescribeHsmCommand}
74
80
  */
75
81
  describeHsm(): Promise<DescribeHsmCommandOutput>;
76
- describeHsm(args: DescribeHsmCommandInput, options?: __HttpHandlerOptions): Promise<DescribeHsmCommandOutput>;
82
+ describeHsm(args: DescribeHsmCommandInput, options?: CloudHSMRequestOptions): Promise<DescribeHsmCommandOutput>;
77
83
  describeHsm(args: DescribeHsmCommandInput, cb: (err: any, data?: DescribeHsmCommandOutput) => void): void;
78
- describeHsm(args: DescribeHsmCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeHsmCommandOutput) => void): void;
84
+ describeHsm(args: DescribeHsmCommandInput, options: CloudHSMRequestOptions, cb: (err: any, data?: DescribeHsmCommandOutput) => void): void;
79
85
  /**
80
86
  * @see {@link DescribeLunaClientCommand}
81
87
  */
82
88
  describeLunaClient(): Promise<DescribeLunaClientCommandOutput>;
83
- describeLunaClient(args: DescribeLunaClientCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLunaClientCommandOutput>;
89
+ describeLunaClient(args: DescribeLunaClientCommandInput, options?: CloudHSMRequestOptions): Promise<DescribeLunaClientCommandOutput>;
84
90
  describeLunaClient(args: DescribeLunaClientCommandInput, cb: (err: any, data?: DescribeLunaClientCommandOutput) => void): void;
85
- describeLunaClient(args: DescribeLunaClientCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLunaClientCommandOutput) => void): void;
91
+ describeLunaClient(args: DescribeLunaClientCommandInput, options: CloudHSMRequestOptions, cb: (err: any, data?: DescribeLunaClientCommandOutput) => void): void;
86
92
  /**
87
93
  * @see {@link GetConfigCommand}
88
94
  */
89
- getConfig(args: GetConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetConfigCommandOutput>;
95
+ getConfig(args: GetConfigCommandInput, options?: CloudHSMRequestOptions): Promise<GetConfigCommandOutput>;
90
96
  getConfig(args: GetConfigCommandInput, cb: (err: any, data?: GetConfigCommandOutput) => void): void;
91
- getConfig(args: GetConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConfigCommandOutput) => void): void;
97
+ getConfig(args: GetConfigCommandInput, options: CloudHSMRequestOptions, cb: (err: any, data?: GetConfigCommandOutput) => void): void;
92
98
  /**
93
99
  * @see {@link ListAvailableZonesCommand}
94
100
  */
95
101
  listAvailableZones(): Promise<ListAvailableZonesCommandOutput>;
96
- listAvailableZones(args: ListAvailableZonesCommandInput, options?: __HttpHandlerOptions): Promise<ListAvailableZonesCommandOutput>;
102
+ listAvailableZones(args: ListAvailableZonesCommandInput, options?: CloudHSMRequestOptions): Promise<ListAvailableZonesCommandOutput>;
97
103
  listAvailableZones(args: ListAvailableZonesCommandInput, cb: (err: any, data?: ListAvailableZonesCommandOutput) => void): void;
98
- listAvailableZones(args: ListAvailableZonesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAvailableZonesCommandOutput) => void): void;
104
+ listAvailableZones(args: ListAvailableZonesCommandInput, options: CloudHSMRequestOptions, cb: (err: any, data?: ListAvailableZonesCommandOutput) => void): void;
99
105
  /**
100
106
  * @see {@link ListHapgsCommand}
101
107
  */
102
108
  listHapgs(): Promise<ListHapgsCommandOutput>;
103
- listHapgs(args: ListHapgsCommandInput, options?: __HttpHandlerOptions): Promise<ListHapgsCommandOutput>;
109
+ listHapgs(args: ListHapgsCommandInput, options?: CloudHSMRequestOptions): Promise<ListHapgsCommandOutput>;
104
110
  listHapgs(args: ListHapgsCommandInput, cb: (err: any, data?: ListHapgsCommandOutput) => void): void;
105
- listHapgs(args: ListHapgsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListHapgsCommandOutput) => void): void;
111
+ listHapgs(args: ListHapgsCommandInput, options: CloudHSMRequestOptions, cb: (err: any, data?: ListHapgsCommandOutput) => void): void;
106
112
  /**
107
113
  * @see {@link ListHsmsCommand}
108
114
  */
109
115
  listHsms(): Promise<ListHsmsCommandOutput>;
110
- listHsms(args: ListHsmsCommandInput, options?: __HttpHandlerOptions): Promise<ListHsmsCommandOutput>;
116
+ listHsms(args: ListHsmsCommandInput, options?: CloudHSMRequestOptions): Promise<ListHsmsCommandOutput>;
111
117
  listHsms(args: ListHsmsCommandInput, cb: (err: any, data?: ListHsmsCommandOutput) => void): void;
112
- listHsms(args: ListHsmsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListHsmsCommandOutput) => void): void;
118
+ listHsms(args: ListHsmsCommandInput, options: CloudHSMRequestOptions, cb: (err: any, data?: ListHsmsCommandOutput) => void): void;
113
119
  /**
114
120
  * @see {@link ListLunaClientsCommand}
115
121
  */
116
122
  listLunaClients(): Promise<ListLunaClientsCommandOutput>;
117
- listLunaClients(args: ListLunaClientsCommandInput, options?: __HttpHandlerOptions): Promise<ListLunaClientsCommandOutput>;
123
+ listLunaClients(args: ListLunaClientsCommandInput, options?: CloudHSMRequestOptions): Promise<ListLunaClientsCommandOutput>;
118
124
  listLunaClients(args: ListLunaClientsCommandInput, cb: (err: any, data?: ListLunaClientsCommandOutput) => void): void;
119
- listLunaClients(args: ListLunaClientsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLunaClientsCommandOutput) => void): void;
125
+ listLunaClients(args: ListLunaClientsCommandInput, options: CloudHSMRequestOptions, cb: (err: any, data?: ListLunaClientsCommandOutput) => void): void;
120
126
  /**
121
127
  * @see {@link ListTagsForResourceCommand}
122
128
  */
123
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
129
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: CloudHSMRequestOptions): Promise<ListTagsForResourceCommandOutput>;
124
130
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
125
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
131
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: CloudHSMRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
126
132
  /**
127
133
  * @see {@link ModifyHapgCommand}
128
134
  */
129
- modifyHapg(args: ModifyHapgCommandInput, options?: __HttpHandlerOptions): Promise<ModifyHapgCommandOutput>;
135
+ modifyHapg(args: ModifyHapgCommandInput, options?: CloudHSMRequestOptions): Promise<ModifyHapgCommandOutput>;
130
136
  modifyHapg(args: ModifyHapgCommandInput, cb: (err: any, data?: ModifyHapgCommandOutput) => void): void;
131
- modifyHapg(args: ModifyHapgCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyHapgCommandOutput) => void): void;
137
+ modifyHapg(args: ModifyHapgCommandInput, options: CloudHSMRequestOptions, cb: (err: any, data?: ModifyHapgCommandOutput) => void): void;
132
138
  /**
133
139
  * @see {@link ModifyHsmCommand}
134
140
  */
135
- modifyHsm(args: ModifyHsmCommandInput, options?: __HttpHandlerOptions): Promise<ModifyHsmCommandOutput>;
141
+ modifyHsm(args: ModifyHsmCommandInput, options?: CloudHSMRequestOptions): Promise<ModifyHsmCommandOutput>;
136
142
  modifyHsm(args: ModifyHsmCommandInput, cb: (err: any, data?: ModifyHsmCommandOutput) => void): void;
137
- modifyHsm(args: ModifyHsmCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyHsmCommandOutput) => void): void;
143
+ modifyHsm(args: ModifyHsmCommandInput, options: CloudHSMRequestOptions, cb: (err: any, data?: ModifyHsmCommandOutput) => void): void;
138
144
  /**
139
145
  * @see {@link ModifyLunaClientCommand}
140
146
  */
141
- modifyLunaClient(args: ModifyLunaClientCommandInput, options?: __HttpHandlerOptions): Promise<ModifyLunaClientCommandOutput>;
147
+ modifyLunaClient(args: ModifyLunaClientCommandInput, options?: CloudHSMRequestOptions): Promise<ModifyLunaClientCommandOutput>;
142
148
  modifyLunaClient(args: ModifyLunaClientCommandInput, cb: (err: any, data?: ModifyLunaClientCommandOutput) => void): void;
143
- modifyLunaClient(args: ModifyLunaClientCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyLunaClientCommandOutput) => void): void;
149
+ modifyLunaClient(args: ModifyLunaClientCommandInput, options: CloudHSMRequestOptions, cb: (err: any, data?: ModifyLunaClientCommandOutput) => void): void;
144
150
  /**
145
151
  * @see {@link RemoveTagsFromResourceCommand}
146
152
  */
147
- removeTagsFromResource(args: RemoveTagsFromResourceCommandInput, options?: __HttpHandlerOptions): Promise<RemoveTagsFromResourceCommandOutput>;
153
+ removeTagsFromResource(args: RemoveTagsFromResourceCommandInput, options?: CloudHSMRequestOptions): Promise<RemoveTagsFromResourceCommandOutput>;
148
154
  removeTagsFromResource(args: RemoveTagsFromResourceCommandInput, cb: (err: any, data?: RemoveTagsFromResourceCommandOutput) => void): void;
149
- removeTagsFromResource(args: RemoveTagsFromResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveTagsFromResourceCommandOutput) => void): void;
155
+ removeTagsFromResource(args: RemoveTagsFromResourceCommandInput, options: CloudHSMRequestOptions, cb: (err: any, data?: RemoveTagsFromResourceCommandOutput) => void): void;
150
156
  }
151
157
  /**
152
158
  * <fullname>AWS CloudHSM Service</fullname>
@@ -1,4 +1,7 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
4
+ } from "@smithy/types";
2
5
  import { CloudHSMClient } from "./CloudHSMClient";
3
6
  import {
4
7
  AddTagsToResourceCommandInput,
@@ -50,10 +53,13 @@ import {
50
53
  RemoveTagsFromResourceCommandInput,
51
54
  RemoveTagsFromResourceCommandOutput,
52
55
  } from "./commands/RemoveTagsFromResourceCommand";
56
+ export interface CloudHSMRequestOptions extends __HttpHandlerOptions {
57
+ metricsRecorder?: __MetricsRecorder<unknown>;
58
+ }
53
59
  export interface CloudHSM {
54
60
  addTagsToResource(
55
61
  args: AddTagsToResourceCommandInput,
56
- options?: __HttpHandlerOptions,
62
+ options?: CloudHSMRequestOptions,
57
63
  ): Promise<AddTagsToResourceCommandOutput>;
58
64
  addTagsToResource(
59
65
  args: AddTagsToResourceCommandInput,
@@ -61,12 +67,12 @@ export interface CloudHSM {
61
67
  ): void;
62
68
  addTagsToResource(
63
69
  args: AddTagsToResourceCommandInput,
64
- options: __HttpHandlerOptions,
70
+ options: CloudHSMRequestOptions,
65
71
  cb: (err: any, data?: AddTagsToResourceCommandOutput) => void,
66
72
  ): void;
67
73
  createHapg(
68
74
  args: CreateHapgCommandInput,
69
- options?: __HttpHandlerOptions,
75
+ options?: CloudHSMRequestOptions,
70
76
  ): Promise<CreateHapgCommandOutput>;
71
77
  createHapg(
72
78
  args: CreateHapgCommandInput,
@@ -74,12 +80,12 @@ export interface CloudHSM {
74
80
  ): void;
75
81
  createHapg(
76
82
  args: CreateHapgCommandInput,
77
- options: __HttpHandlerOptions,
83
+ options: CloudHSMRequestOptions,
78
84
  cb: (err: any, data?: CreateHapgCommandOutput) => void,
79
85
  ): void;
80
86
  createHsm(
81
87
  args: CreateHsmCommandInput,
82
- options?: __HttpHandlerOptions,
88
+ options?: CloudHSMRequestOptions,
83
89
  ): Promise<CreateHsmCommandOutput>;
84
90
  createHsm(
85
91
  args: CreateHsmCommandInput,
@@ -87,12 +93,12 @@ export interface CloudHSM {
87
93
  ): void;
88
94
  createHsm(
89
95
  args: CreateHsmCommandInput,
90
- options: __HttpHandlerOptions,
96
+ options: CloudHSMRequestOptions,
91
97
  cb: (err: any, data?: CreateHsmCommandOutput) => void,
92
98
  ): void;
93
99
  createLunaClient(
94
100
  args: CreateLunaClientCommandInput,
95
- options?: __HttpHandlerOptions,
101
+ options?: CloudHSMRequestOptions,
96
102
  ): Promise<CreateLunaClientCommandOutput>;
97
103
  createLunaClient(
98
104
  args: CreateLunaClientCommandInput,
@@ -100,12 +106,12 @@ export interface CloudHSM {
100
106
  ): void;
101
107
  createLunaClient(
102
108
  args: CreateLunaClientCommandInput,
103
- options: __HttpHandlerOptions,
109
+ options: CloudHSMRequestOptions,
104
110
  cb: (err: any, data?: CreateLunaClientCommandOutput) => void,
105
111
  ): void;
106
112
  deleteHapg(
107
113
  args: DeleteHapgCommandInput,
108
- options?: __HttpHandlerOptions,
114
+ options?: CloudHSMRequestOptions,
109
115
  ): Promise<DeleteHapgCommandOutput>;
110
116
  deleteHapg(
111
117
  args: DeleteHapgCommandInput,
@@ -113,12 +119,12 @@ export interface CloudHSM {
113
119
  ): void;
114
120
  deleteHapg(
115
121
  args: DeleteHapgCommandInput,
116
- options: __HttpHandlerOptions,
122
+ options: CloudHSMRequestOptions,
117
123
  cb: (err: any, data?: DeleteHapgCommandOutput) => void,
118
124
  ): void;
119
125
  deleteHsm(
120
126
  args: DeleteHsmCommandInput,
121
- options?: __HttpHandlerOptions,
127
+ options?: CloudHSMRequestOptions,
122
128
  ): Promise<DeleteHsmCommandOutput>;
123
129
  deleteHsm(
124
130
  args: DeleteHsmCommandInput,
@@ -126,12 +132,12 @@ export interface CloudHSM {
126
132
  ): void;
127
133
  deleteHsm(
128
134
  args: DeleteHsmCommandInput,
129
- options: __HttpHandlerOptions,
135
+ options: CloudHSMRequestOptions,
130
136
  cb: (err: any, data?: DeleteHsmCommandOutput) => void,
131
137
  ): void;
132
138
  deleteLunaClient(
133
139
  args: DeleteLunaClientCommandInput,
134
- options?: __HttpHandlerOptions,
140
+ options?: CloudHSMRequestOptions,
135
141
  ): Promise<DeleteLunaClientCommandOutput>;
136
142
  deleteLunaClient(
137
143
  args: DeleteLunaClientCommandInput,
@@ -139,12 +145,12 @@ export interface CloudHSM {
139
145
  ): void;
140
146
  deleteLunaClient(
141
147
  args: DeleteLunaClientCommandInput,
142
- options: __HttpHandlerOptions,
148
+ options: CloudHSMRequestOptions,
143
149
  cb: (err: any, data?: DeleteLunaClientCommandOutput) => void,
144
150
  ): void;
145
151
  describeHapg(
146
152
  args: DescribeHapgCommandInput,
147
- options?: __HttpHandlerOptions,
153
+ options?: CloudHSMRequestOptions,
148
154
  ): Promise<DescribeHapgCommandOutput>;
149
155
  describeHapg(
150
156
  args: DescribeHapgCommandInput,
@@ -152,13 +158,13 @@ export interface CloudHSM {
152
158
  ): void;
153
159
  describeHapg(
154
160
  args: DescribeHapgCommandInput,
155
- options: __HttpHandlerOptions,
161
+ options: CloudHSMRequestOptions,
156
162
  cb: (err: any, data?: DescribeHapgCommandOutput) => void,
157
163
  ): void;
158
164
  describeHsm(): Promise<DescribeHsmCommandOutput>;
159
165
  describeHsm(
160
166
  args: DescribeHsmCommandInput,
161
- options?: __HttpHandlerOptions,
167
+ options?: CloudHSMRequestOptions,
162
168
  ): Promise<DescribeHsmCommandOutput>;
163
169
  describeHsm(
164
170
  args: DescribeHsmCommandInput,
@@ -166,13 +172,13 @@ export interface CloudHSM {
166
172
  ): void;
167
173
  describeHsm(
168
174
  args: DescribeHsmCommandInput,
169
- options: __HttpHandlerOptions,
175
+ options: CloudHSMRequestOptions,
170
176
  cb: (err: any, data?: DescribeHsmCommandOutput) => void,
171
177
  ): void;
172
178
  describeLunaClient(): Promise<DescribeLunaClientCommandOutput>;
173
179
  describeLunaClient(
174
180
  args: DescribeLunaClientCommandInput,
175
- options?: __HttpHandlerOptions,
181
+ options?: CloudHSMRequestOptions,
176
182
  ): Promise<DescribeLunaClientCommandOutput>;
177
183
  describeLunaClient(
178
184
  args: DescribeLunaClientCommandInput,
@@ -180,12 +186,12 @@ export interface CloudHSM {
180
186
  ): void;
181
187
  describeLunaClient(
182
188
  args: DescribeLunaClientCommandInput,
183
- options: __HttpHandlerOptions,
189
+ options: CloudHSMRequestOptions,
184
190
  cb: (err: any, data?: DescribeLunaClientCommandOutput) => void,
185
191
  ): void;
186
192
  getConfig(
187
193
  args: GetConfigCommandInput,
188
- options?: __HttpHandlerOptions,
194
+ options?: CloudHSMRequestOptions,
189
195
  ): Promise<GetConfigCommandOutput>;
190
196
  getConfig(
191
197
  args: GetConfigCommandInput,
@@ -193,13 +199,13 @@ export interface CloudHSM {
193
199
  ): void;
194
200
  getConfig(
195
201
  args: GetConfigCommandInput,
196
- options: __HttpHandlerOptions,
202
+ options: CloudHSMRequestOptions,
197
203
  cb: (err: any, data?: GetConfigCommandOutput) => void,
198
204
  ): void;
199
205
  listAvailableZones(): Promise<ListAvailableZonesCommandOutput>;
200
206
  listAvailableZones(
201
207
  args: ListAvailableZonesCommandInput,
202
- options?: __HttpHandlerOptions,
208
+ options?: CloudHSMRequestOptions,
203
209
  ): Promise<ListAvailableZonesCommandOutput>;
204
210
  listAvailableZones(
205
211
  args: ListAvailableZonesCommandInput,
@@ -207,13 +213,13 @@ export interface CloudHSM {
207
213
  ): void;
208
214
  listAvailableZones(
209
215
  args: ListAvailableZonesCommandInput,
210
- options: __HttpHandlerOptions,
216
+ options: CloudHSMRequestOptions,
211
217
  cb: (err: any, data?: ListAvailableZonesCommandOutput) => void,
212
218
  ): void;
213
219
  listHapgs(): Promise<ListHapgsCommandOutput>;
214
220
  listHapgs(
215
221
  args: ListHapgsCommandInput,
216
- options?: __HttpHandlerOptions,
222
+ options?: CloudHSMRequestOptions,
217
223
  ): Promise<ListHapgsCommandOutput>;
218
224
  listHapgs(
219
225
  args: ListHapgsCommandInput,
@@ -221,24 +227,24 @@ export interface CloudHSM {
221
227
  ): void;
222
228
  listHapgs(
223
229
  args: ListHapgsCommandInput,
224
- options: __HttpHandlerOptions,
230
+ options: CloudHSMRequestOptions,
225
231
  cb: (err: any, data?: ListHapgsCommandOutput) => void,
226
232
  ): void;
227
233
  listHsms(): Promise<ListHsmsCommandOutput>;
228
234
  listHsms(
229
235
  args: ListHsmsCommandInput,
230
- options?: __HttpHandlerOptions,
236
+ options?: CloudHSMRequestOptions,
231
237
  ): Promise<ListHsmsCommandOutput>;
232
238
  listHsms(args: ListHsmsCommandInput, cb: (err: any, data?: ListHsmsCommandOutput) => void): void;
233
239
  listHsms(
234
240
  args: ListHsmsCommandInput,
235
- options: __HttpHandlerOptions,
241
+ options: CloudHSMRequestOptions,
236
242
  cb: (err: any, data?: ListHsmsCommandOutput) => void,
237
243
  ): void;
238
244
  listLunaClients(): Promise<ListLunaClientsCommandOutput>;
239
245
  listLunaClients(
240
246
  args: ListLunaClientsCommandInput,
241
- options?: __HttpHandlerOptions,
247
+ options?: CloudHSMRequestOptions,
242
248
  ): Promise<ListLunaClientsCommandOutput>;
243
249
  listLunaClients(
244
250
  args: ListLunaClientsCommandInput,
@@ -246,12 +252,12 @@ export interface CloudHSM {
246
252
  ): void;
247
253
  listLunaClients(
248
254
  args: ListLunaClientsCommandInput,
249
- options: __HttpHandlerOptions,
255
+ options: CloudHSMRequestOptions,
250
256
  cb: (err: any, data?: ListLunaClientsCommandOutput) => void,
251
257
  ): void;
252
258
  listTagsForResource(
253
259
  args: ListTagsForResourceCommandInput,
254
- options?: __HttpHandlerOptions,
260
+ options?: CloudHSMRequestOptions,
255
261
  ): Promise<ListTagsForResourceCommandOutput>;
256
262
  listTagsForResource(
257
263
  args: ListTagsForResourceCommandInput,
@@ -259,12 +265,12 @@ export interface CloudHSM {
259
265
  ): void;
260
266
  listTagsForResource(
261
267
  args: ListTagsForResourceCommandInput,
262
- options: __HttpHandlerOptions,
268
+ options: CloudHSMRequestOptions,
263
269
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
264
270
  ): void;
265
271
  modifyHapg(
266
272
  args: ModifyHapgCommandInput,
267
- options?: __HttpHandlerOptions,
273
+ options?: CloudHSMRequestOptions,
268
274
  ): Promise<ModifyHapgCommandOutput>;
269
275
  modifyHapg(
270
276
  args: ModifyHapgCommandInput,
@@ -272,12 +278,12 @@ export interface CloudHSM {
272
278
  ): void;
273
279
  modifyHapg(
274
280
  args: ModifyHapgCommandInput,
275
- options: __HttpHandlerOptions,
281
+ options: CloudHSMRequestOptions,
276
282
  cb: (err: any, data?: ModifyHapgCommandOutput) => void,
277
283
  ): void;
278
284
  modifyHsm(
279
285
  args: ModifyHsmCommandInput,
280
- options?: __HttpHandlerOptions,
286
+ options?: CloudHSMRequestOptions,
281
287
  ): Promise<ModifyHsmCommandOutput>;
282
288
  modifyHsm(
283
289
  args: ModifyHsmCommandInput,
@@ -285,12 +291,12 @@ export interface CloudHSM {
285
291
  ): void;
286
292
  modifyHsm(
287
293
  args: ModifyHsmCommandInput,
288
- options: __HttpHandlerOptions,
294
+ options: CloudHSMRequestOptions,
289
295
  cb: (err: any, data?: ModifyHsmCommandOutput) => void,
290
296
  ): void;
291
297
  modifyLunaClient(
292
298
  args: ModifyLunaClientCommandInput,
293
- options?: __HttpHandlerOptions,
299
+ options?: CloudHSMRequestOptions,
294
300
  ): Promise<ModifyLunaClientCommandOutput>;
295
301
  modifyLunaClient(
296
302
  args: ModifyLunaClientCommandInput,
@@ -298,12 +304,12 @@ export interface CloudHSM {
298
304
  ): void;
299
305
  modifyLunaClient(
300
306
  args: ModifyLunaClientCommandInput,
301
- options: __HttpHandlerOptions,
307
+ options: CloudHSMRequestOptions,
302
308
  cb: (err: any, data?: ModifyLunaClientCommandOutput) => void,
303
309
  ): void;
304
310
  removeTagsFromResource(
305
311
  args: RemoveTagsFromResourceCommandInput,
306
- options?: __HttpHandlerOptions,
312
+ options?: CloudHSMRequestOptions,
307
313
  ): Promise<RemoveTagsFromResourceCommandOutput>;
308
314
  removeTagsFromResource(
309
315
  args: RemoveTagsFromResourceCommandInput,
@@ -311,7 +317,7 @@ export interface CloudHSM {
311
317
  ): void;
312
318
  removeTagsFromResource(
313
319
  args: RemoveTagsFromResourceCommandInput,
314
- options: __HttpHandlerOptions,
320
+ options: CloudHSMRequestOptions,
315
321
  cb: (err: any, data?: RemoveTagsFromResourceCommandOutput) => void,
316
322
  ): void;
317
323
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudhsm",
3
- "version": "3.1137.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Cloudhsm Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cloudhsm",
6
6
  "license": "Apache-2.0",
@@ -46,13 +46,13 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.83",
51
- "@aws-sdk/types": "^3.974.5",
52
- "@smithy/core": "^3.33.3",
53
- "@smithy/fetch-http-handler": "^5.7.2",
54
- "@smithy/node-http-handler": "^4.11.3",
55
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/types": "^3.974.6",
52
+ "@smithy/core": "^3.35.0",
53
+ "@smithy/fetch-http-handler": "^5.8.0",
54
+ "@smithy/node-http-handler": "^4.12.1",
55
+ "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {