@aws-sdk/client-cloudhsm-v2 3.987.0 → 3.989.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.
@@ -73,7 +73,7 @@ const _K = "Key";
73
73
  const _LT = "ListTags";
74
74
  const _LTR = "ListTagsRequest";
75
75
  const _LTRi = "ListTagsResponse";
76
- const _M = "Mode";
76
+ const _M = "Message";
77
77
  const _MBA = "ModifyBackupAttributes";
78
78
  const _MBAR = "ModifyBackupAttributesRequest";
79
79
  const _MBARo = "ModifyBackupAttributesResponse";
@@ -82,7 +82,7 @@ const _MCR = "ModifyClusterRequest";
82
82
  const _MCRo = "ModifyClusterResponse";
83
83
  const _MHC = "ManufacturerHardwareCertificate";
84
84
  const _MR = "MaxResults";
85
- const _Me = "Message";
85
+ const _Mo = "Mode";
86
86
  const _NE = "NeverExpires";
87
87
  const _NT = "NetworkType";
88
88
  const _NTe = "NextToken";
@@ -124,72 +124,80 @@ const _V = "Value";
124
124
  const _VI = "VpcId";
125
125
  const _c = "client";
126
126
  const _e = "error";
127
- const _s = "server";
128
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.cloudhsmv2";
127
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.cloudhsmv2";
128
+ const _se = "server";
129
129
  const n0 = "com.amazonaws.cloudhsmv2";
130
130
  import { TypeRegistry } from "@smithy/core/schema";
131
131
  import { CloudHSMV2ServiceException } from "../models/CloudHSMV2ServiceException";
132
132
  import { CloudHsmAccessDeniedException, CloudHsmInternalFailureException, CloudHsmInvalidRequestException, CloudHsmResourceLimitExceededException, CloudHsmResourceNotFoundException, CloudHsmServiceException, CloudHsmTagException, } from "../models/errors";
133
- export var Backup$ = [3, n0, _B,
134
- 0,
135
- [_BI, _BA, _BS, _CI, _CT, _CTo, _NE, _SR, _SB, _SC, _DT, _TL, _HT, _M],
136
- [0, 0, 0, 0, 4, 4, 2, 0, 0, 0, 4, () => TagList, 0, 0], 1
137
- ];
138
- export var BackupRetentionPolicy$ = [3, n0, _BRP,
139
- 0,
140
- [_T, _V],
141
- [0, 0]
142
- ];
143
- export var Certificates$ = [3, n0, _C,
144
- 0,
145
- [_CC, _HC, _AHC, _MHC, _CCl],
146
- [0, 0, 0, 0, 0]
147
- ];
133
+ const _s_registry = TypeRegistry.for(_s);
134
+ export var CloudHSMV2ServiceException$ = [-3, _s, "CloudHSMV2ServiceException", 0, [], []];
135
+ _s_registry.registerError(CloudHSMV2ServiceException$, CloudHSMV2ServiceException);
136
+ const n0_registry = TypeRegistry.for(n0);
148
137
  export var CloudHsmAccessDeniedException$ = [-3, n0, _CHADE,
149
138
  { [_e]: _c },
150
- [_Me],
139
+ [_M],
151
140
  [0]
152
141
  ];
153
- TypeRegistry.for(n0).registerError(CloudHsmAccessDeniedException$, CloudHsmAccessDeniedException);
142
+ n0_registry.registerError(CloudHsmAccessDeniedException$, CloudHsmAccessDeniedException);
154
143
  export var CloudHsmInternalFailureException$ = [-3, n0, _CHIFE,
155
- { [_e]: _s },
156
- [_Me],
144
+ { [_e]: _se },
145
+ [_M],
157
146
  [0]
158
147
  ];
159
- TypeRegistry.for(n0).registerError(CloudHsmInternalFailureException$, CloudHsmInternalFailureException);
148
+ n0_registry.registerError(CloudHsmInternalFailureException$, CloudHsmInternalFailureException);
160
149
  export var CloudHsmInvalidRequestException$ = [-3, n0, _CHIRE,
161
150
  { [_e]: _c },
162
- [_Me],
151
+ [_M],
163
152
  [0]
164
153
  ];
165
- TypeRegistry.for(n0).registerError(CloudHsmInvalidRequestException$, CloudHsmInvalidRequestException);
154
+ n0_registry.registerError(CloudHsmInvalidRequestException$, CloudHsmInvalidRequestException);
166
155
  export var CloudHsmResourceLimitExceededException$ = [-3, n0, _CHRLEE,
167
156
  { [_e]: _c },
168
- [_Me],
157
+ [_M],
169
158
  [0]
170
159
  ];
171
- TypeRegistry.for(n0).registerError(CloudHsmResourceLimitExceededException$, CloudHsmResourceLimitExceededException);
160
+ n0_registry.registerError(CloudHsmResourceLimitExceededException$, CloudHsmResourceLimitExceededException);
172
161
  export var CloudHsmResourceNotFoundException$ = [-3, n0, _CHRNFE,
173
162
  { [_e]: _c },
174
- [_Me],
163
+ [_M],
175
164
  [0]
176
165
  ];
177
- TypeRegistry.for(n0).registerError(CloudHsmResourceNotFoundException$, CloudHsmResourceNotFoundException);
166
+ n0_registry.registerError(CloudHsmResourceNotFoundException$, CloudHsmResourceNotFoundException);
178
167
  export var CloudHsmServiceException$ = [-3, n0, _CHSE,
179
168
  { [_e]: _c },
180
- [_Me],
169
+ [_M],
181
170
  [0]
182
171
  ];
183
- TypeRegistry.for(n0).registerError(CloudHsmServiceException$, CloudHsmServiceException);
172
+ n0_registry.registerError(CloudHsmServiceException$, CloudHsmServiceException);
184
173
  export var CloudHsmTagException$ = [-3, n0, _CHTE,
185
174
  { [_e]: _c },
186
- [_Me],
175
+ [_M],
187
176
  [0]
188
177
  ];
189
- TypeRegistry.for(n0).registerError(CloudHsmTagException$, CloudHsmTagException);
178
+ n0_registry.registerError(CloudHsmTagException$, CloudHsmTagException);
179
+ export const errorTypeRegistries = [
180
+ _s_registry,
181
+ n0_registry,
182
+ ];
183
+ export var Backup$ = [3, n0, _B,
184
+ 0,
185
+ [_BI, _BA, _BS, _CI, _CT, _CTo, _NE, _SR, _SB, _SC, _DT, _TL, _HT, _Mo],
186
+ [0, 0, 0, 0, 4, 4, 2, 0, 0, 0, 4, () => TagList, 0, 0], 1
187
+ ];
188
+ export var BackupRetentionPolicy$ = [3, n0, _BRP,
189
+ 0,
190
+ [_T, _V],
191
+ [0, 0]
192
+ ];
193
+ export var Certificates$ = [3, n0, _C,
194
+ 0,
195
+ [_CC, _HC, _AHC, _MHC, _CCl],
196
+ [0, 0, 0, 0, 0]
197
+ ];
190
198
  export var Cluster$ = [3, n0, _Cl,
191
199
  0,
192
- [_BP, _BRP, _CI, _CT, _H, _HT, _HTRE, _PCP, _SG, _SBI, _S, _SM, _SMu, _VI, _NT, _C, _TL, _M],
200
+ [_BP, _BRP, _CI, _CT, _H, _HT, _HTRE, _PCP, _SG, _SBI, _S, _SM, _SMu, _VI, _NT, _C, _TL, _Mo],
193
201
  [0, () => BackupRetentionPolicy$, 0, 4, () => Hsms, 0, 4, 0, 0, 0, 0, 0, 128 | 0, 0, 0, () => Certificates$, () => TagList, 0]
194
202
  ];
195
203
  export var CopyBackupToRegionRequest$ = [3, n0, _CBTRR,
@@ -204,7 +212,7 @@ export var CopyBackupToRegionResponse$ = [3, n0, _CBTRRo,
204
212
  ];
205
213
  export var CreateClusterRequest$ = [3, n0, _CCR,
206
214
  0,
207
- [_HT, _SI, _BRP, _SBI, _NT, _TL, _M],
215
+ [_HT, _SI, _BRP, _SBI, _NT, _TL, _Mo],
208
216
  [0, 64 | 0, () => BackupRetentionPolicy$, 0, 0, () => TagList, 0], 2
209
217
  ];
210
218
  export var CreateClusterResponse$ = [3, n0, _CCRr,
@@ -387,8 +395,6 @@ export var UntagResourceResponse$ = [3, n0, _URRn,
387
395
  [],
388
396
  []
389
397
  ];
390
- export var CloudHSMV2ServiceException$ = [-3, _sm, "CloudHSMV2ServiceException", 0, [], []];
391
- TypeRegistry.for(_sm).registerError(CloudHSMV2ServiceException$, CloudHSMV2ServiceException);
392
398
  var Backups = [1, n0, _Ba,
393
399
  0, () => Backup$
394
400
  ];
@@ -1,7 +1,6 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
- export declare var Backup$: StaticStructureSchema;
3
- export declare var BackupRetentionPolicy$: StaticStructureSchema;
4
- export declare var Certificates$: StaticStructureSchema;
3
+ export declare var CloudHSMV2ServiceException$: StaticErrorSchema;
5
4
  export declare var CloudHsmAccessDeniedException$: StaticErrorSchema;
6
5
  export declare var CloudHsmInternalFailureException$: StaticErrorSchema;
7
6
  export declare var CloudHsmInvalidRequestException$: StaticErrorSchema;
@@ -9,6 +8,15 @@ export declare var CloudHsmResourceLimitExceededException$: StaticErrorSchema;
9
8
  export declare var CloudHsmResourceNotFoundException$: StaticErrorSchema;
10
9
  export declare var CloudHsmServiceException$: StaticErrorSchema;
11
10
  export declare var CloudHsmTagException$: StaticErrorSchema;
11
+ /**
12
+ * TypeRegistry instances containing modeled errors.
13
+ * @internal
14
+ *
15
+ */
16
+ export declare const errorTypeRegistries: TypeRegistry[];
17
+ export declare var Backup$: StaticStructureSchema;
18
+ export declare var BackupRetentionPolicy$: StaticStructureSchema;
19
+ export declare var Certificates$: StaticStructureSchema;
12
20
  export declare var Cluster$: StaticStructureSchema;
13
21
  export declare var CopyBackupToRegionRequest$: StaticStructureSchema;
14
22
  export declare var CopyBackupToRegionResponse$: StaticStructureSchema;
@@ -49,7 +57,6 @@ export declare var TagResourceRequest$: StaticStructureSchema;
49
57
  export declare var TagResourceResponse$: StaticStructureSchema;
50
58
  export declare var UntagResourceRequest$: StaticStructureSchema;
51
59
  export declare var UntagResourceResponse$: StaticStructureSchema;
52
- export declare var CloudHSMV2ServiceException$: StaticErrorSchema;
53
60
  export declare var CopyBackupToRegion$: StaticOperationSchema;
54
61
  export declare var CreateCluster$: StaticOperationSchema;
55
62
  export declare var CreateHsm$: StaticOperationSchema;
@@ -1,11 +1,10 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  } from "@smithy/types";
6
- export declare var Backup$: StaticStructureSchema;
7
- export declare var BackupRetentionPolicy$: StaticStructureSchema;
8
- export declare var Certificates$: StaticStructureSchema;
7
+ export declare var CloudHSMV2ServiceException$: StaticErrorSchema;
9
8
  export declare var CloudHsmAccessDeniedException$: StaticErrorSchema;
10
9
  export declare var CloudHsmInternalFailureException$: StaticErrorSchema;
11
10
  export declare var CloudHsmInvalidRequestException$: StaticErrorSchema;
@@ -13,6 +12,10 @@ export declare var CloudHsmResourceLimitExceededException$: StaticErrorSchema;
13
12
  export declare var CloudHsmResourceNotFoundException$: StaticErrorSchema;
14
13
  export declare var CloudHsmServiceException$: StaticErrorSchema;
15
14
  export declare var CloudHsmTagException$: StaticErrorSchema;
15
+ export declare const errorTypeRegistries: TypeRegistry[];
16
+ export declare var Backup$: StaticStructureSchema;
17
+ export declare var BackupRetentionPolicy$: StaticStructureSchema;
18
+ export declare var Certificates$: StaticStructureSchema;
16
19
  export declare var Cluster$: StaticStructureSchema;
17
20
  export declare var CopyBackupToRegionRequest$: StaticStructureSchema;
18
21
  export declare var CopyBackupToRegionResponse$: StaticStructureSchema;
@@ -53,7 +56,6 @@ export declare var TagResourceRequest$: StaticStructureSchema;
53
56
  export declare var TagResourceResponse$: StaticStructureSchema;
54
57
  export declare var UntagResourceRequest$: StaticStructureSchema;
55
58
  export declare var UntagResourceResponse$: StaticStructureSchema;
56
- export declare var CloudHSMV2ServiceException$: StaticErrorSchema;
57
59
  export declare var CopyBackupToRegion$: StaticOperationSchema;
58
60
  export declare var CreateCluster$: StaticOperationSchema;
59
61
  export declare var CreateHsm$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudhsm-v2",
3
3
  "description": "AWS SDK for JavaScript Cloudhsm V2 Client for Node.js, Browser and React Native",
4
- "version": "3.987.0",
4
+ "version": "3.989.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cloudhsm-v2",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.7",
25
- "@aws-sdk/credential-provider-node": "^3.972.6",
24
+ "@aws-sdk/core": "^3.973.9",
25
+ "@aws-sdk/credential-provider-node": "^3.972.8",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.9",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.987.0",
32
+ "@aws-sdk/util-endpoints": "3.989.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.5",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.7",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.22.1",
36
+ "@smithy/core": "^3.23.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.13",
42
- "@smithy/middleware-retry": "^4.4.30",
41
+ "@smithy/middleware-endpoint": "^4.4.14",
42
+ "@smithy/middleware-retry": "^4.4.31",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
- "@smithy/node-http-handler": "^4.4.9",
46
+ "@smithy/node-http-handler": "^4.4.10",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.11.2",
48
+ "@smithy/smithy-client": "^4.11.3",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.29",
55
- "@smithy/util-defaults-mode-node": "^4.2.32",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
55
+ "@smithy/util-defaults-mode-node": "^4.2.33",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",