@aws-sdk/client-managedblockchain-query 3.934.0 → 3.935.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
@@ -129,21 +129,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends ManagedBlockch
129
129
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
130
  }
131
131
  };
132
- const QueryNetwork = {
133
- BITCOIN_MAINNET: "BITCOIN_MAINNET",
134
- BITCOIN_TESTNET: "BITCOIN_TESTNET",
135
- ETHEREUM_MAINNET: "ETHEREUM_MAINNET",
136
- ETHEREUM_SEPOLIA_TESTNET: "ETHEREUM_SEPOLIA_TESTNET",
137
- };
138
- const QueryTokenStandard = {
139
- ERC1155: "ERC1155",
140
- ERC20: "ERC20",
141
- ERC721: "ERC721",
142
- };
143
- const ErrorType = {
144
- RESOURCE_NOT_FOUND_EXCEPTION: "RESOURCE_NOT_FOUND_EXCEPTION",
145
- VALIDATION_EXCEPTION: "VALIDATION_EXCEPTION",
146
- };
147
132
  let InternalServerException$1 = class InternalServerException extends ManagedBlockchainQueryServiceException$1 {
148
133
  name = "InternalServerException";
149
134
  $fault = "server";
@@ -159,9 +144,6 @@ let InternalServerException$1 = class InternalServerException extends ManagedBlo
159
144
  this.retryAfterSeconds = opts.retryAfterSeconds;
160
145
  }
161
146
  };
162
- const ResourceType = {
163
- COLLECTION: "collection",
164
- };
165
147
  let ResourceNotFoundException$1 = class ResourceNotFoundException extends ManagedBlockchainQueryServiceException$1 {
166
148
  name = "ResourceNotFoundException";
167
149
  $fault = "client";
@@ -219,12 +201,6 @@ let ThrottlingException$1 = class ThrottlingException extends ManagedBlockchainQ
219
201
  this.retryAfterSeconds = opts.retryAfterSeconds;
220
202
  }
221
203
  };
222
- const ValidationExceptionReason = {
223
- CANNOT_PARSE: "cannotParse",
224
- FIELD_VALIDATION_FAILED: "fieldValidationFailed",
225
- OTHER: "other",
226
- UNKNOWN_OPERATION: "unknownOperation",
227
- };
228
204
  let ValidationException$1 = class ValidationException extends ManagedBlockchainQueryServiceException$1 {
229
205
  name = "ValidationException";
230
206
  $fault = "client";
@@ -241,37 +217,6 @@ let ValidationException$1 = class ValidationException extends ManagedBlockchainQ
241
217
  this.fieldList = opts.fieldList;
242
218
  }
243
219
  };
244
- const ConfirmationStatus = {
245
- FINAL: "FINAL",
246
- NONFINAL: "NONFINAL",
247
- };
248
- const ExecutionStatus = {
249
- FAILED: "FAILED",
250
- SUCCEEDED: "SUCCEEDED",
251
- };
252
- const ListFilteredTransactionEventsSortBy = {
253
- blockchainInstant: "blockchainInstant",
254
- };
255
- const SortOrder = {
256
- ASCENDING: "ASCENDING",
257
- DESCENDING: "DESCENDING",
258
- };
259
- const QueryTransactionEventType = {
260
- BITCOIN_VIN: "BITCOIN_VIN",
261
- BITCOIN_VOUT: "BITCOIN_VOUT",
262
- ERC1155_TRANSFER: "ERC1155_TRANSFER",
263
- ERC20_BURN: "ERC20_BURN",
264
- ERC20_DEPOSIT: "ERC20_DEPOSIT",
265
- ERC20_MINT: "ERC20_MINT",
266
- ERC20_TRANSFER: "ERC20_TRANSFER",
267
- ERC20_WITHDRAWAL: "ERC20_WITHDRAWAL",
268
- ERC721_TRANSFER: "ERC721_TRANSFER",
269
- ETH_TRANSFER: "ETH_TRANSFER",
270
- INTERNAL_ETH_TRANSFER: "INTERNAL_ETH_TRANSFER",
271
- };
272
- const ListTransactionsSortBy = {
273
- TRANSACTION_TIMESTAMP: "TRANSACTION_TIMESTAMP",
274
- };
275
220
 
276
221
  const _AC = "AssetContract";
277
222
  const _ACL = "AssetContractList";
@@ -970,33 +915,22 @@ Object.defineProperty(exports, "__Client", {
970
915
  });
971
916
  exports.AccessDeniedException = AccessDeniedException$1;
972
917
  exports.BatchGetTokenBalanceCommand = BatchGetTokenBalanceCommand;
973
- exports.ConfirmationStatus = ConfirmationStatus;
974
- exports.ErrorType = ErrorType;
975
- exports.ExecutionStatus = ExecutionStatus;
976
918
  exports.GetAssetContractCommand = GetAssetContractCommand;
977
919
  exports.GetTokenBalanceCommand = GetTokenBalanceCommand;
978
920
  exports.GetTransactionCommand = GetTransactionCommand;
979
921
  exports.InternalServerException = InternalServerException$1;
980
922
  exports.ListAssetContractsCommand = ListAssetContractsCommand;
981
923
  exports.ListFilteredTransactionEventsCommand = ListFilteredTransactionEventsCommand;
982
- exports.ListFilteredTransactionEventsSortBy = ListFilteredTransactionEventsSortBy;
983
924
  exports.ListTokenBalancesCommand = ListTokenBalancesCommand;
984
925
  exports.ListTransactionEventsCommand = ListTransactionEventsCommand;
985
926
  exports.ListTransactionsCommand = ListTransactionsCommand;
986
- exports.ListTransactionsSortBy = ListTransactionsSortBy;
987
927
  exports.ManagedBlockchainQuery = ManagedBlockchainQuery;
988
928
  exports.ManagedBlockchainQueryClient = ManagedBlockchainQueryClient;
989
929
  exports.ManagedBlockchainQueryServiceException = ManagedBlockchainQueryServiceException$1;
990
- exports.QueryNetwork = QueryNetwork;
991
- exports.QueryTokenStandard = QueryTokenStandard;
992
- exports.QueryTransactionEventType = QueryTransactionEventType;
993
930
  exports.ResourceNotFoundException = ResourceNotFoundException$1;
994
- exports.ResourceType = ResourceType;
995
931
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
996
- exports.SortOrder = SortOrder;
997
932
  exports.ThrottlingException = ThrottlingException$1;
998
933
  exports.ValidationException = ValidationException$1;
999
- exports.ValidationExceptionReason = ValidationExceptionReason;
1000
934
  exports.paginateListAssetContracts = paginateListAssetContracts;
1001
935
  exports.paginateListFilteredTransactionEvents = paginateListFilteredTransactionEvents;
1002
936
  exports.paginateListTokenBalances = paginateListTokenBalances;
package/dist-es/index.js CHANGED
@@ -2,5 +2,5 @@ export * from "./ManagedBlockchainQueryClient";
2
2
  export * from "./ManagedBlockchainQuery";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/errors";
6
6
  export { ManagedBlockchainQueryServiceException } from "./models/ManagedBlockchainQueryServiceException";
@@ -0,0 +1,101 @@
1
+ import { ManagedBlockchainQueryServiceException as __BaseException } from "./ManagedBlockchainQueryServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "AccessDeniedException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
+ }
13
+ }
14
+ export class InternalServerException extends __BaseException {
15
+ name = "InternalServerException";
16
+ $fault = "server";
17
+ $retryable = {};
18
+ retryAfterSeconds;
19
+ constructor(opts) {
20
+ super({
21
+ name: "InternalServerException",
22
+ $fault: "server",
23
+ ...opts,
24
+ });
25
+ Object.setPrototypeOf(this, InternalServerException.prototype);
26
+ this.retryAfterSeconds = opts.retryAfterSeconds;
27
+ }
28
+ }
29
+ export class ResourceNotFoundException extends __BaseException {
30
+ name = "ResourceNotFoundException";
31
+ $fault = "client";
32
+ resourceId;
33
+ resourceType;
34
+ constructor(opts) {
35
+ super({
36
+ name: "ResourceNotFoundException",
37
+ $fault: "client",
38
+ ...opts,
39
+ });
40
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
41
+ this.resourceId = opts.resourceId;
42
+ this.resourceType = opts.resourceType;
43
+ }
44
+ }
45
+ export class ServiceQuotaExceededException extends __BaseException {
46
+ name = "ServiceQuotaExceededException";
47
+ $fault = "client";
48
+ resourceId;
49
+ resourceType;
50
+ serviceCode;
51
+ quotaCode;
52
+ constructor(opts) {
53
+ super({
54
+ name: "ServiceQuotaExceededException",
55
+ $fault: "client",
56
+ ...opts,
57
+ });
58
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
59
+ this.resourceId = opts.resourceId;
60
+ this.resourceType = opts.resourceType;
61
+ this.serviceCode = opts.serviceCode;
62
+ this.quotaCode = opts.quotaCode;
63
+ }
64
+ }
65
+ export class ThrottlingException extends __BaseException {
66
+ name = "ThrottlingException";
67
+ $fault = "client";
68
+ $retryable = {
69
+ throttling: true,
70
+ };
71
+ serviceCode;
72
+ quotaCode;
73
+ retryAfterSeconds;
74
+ constructor(opts) {
75
+ super({
76
+ name: "ThrottlingException",
77
+ $fault: "client",
78
+ ...opts,
79
+ });
80
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
81
+ this.serviceCode = opts.serviceCode;
82
+ this.quotaCode = opts.quotaCode;
83
+ this.retryAfterSeconds = opts.retryAfterSeconds;
84
+ }
85
+ }
86
+ export class ValidationException extends __BaseException {
87
+ name = "ValidationException";
88
+ $fault = "client";
89
+ reason;
90
+ fieldList;
91
+ constructor(opts) {
92
+ super({
93
+ name: "ValidationException",
94
+ $fault: "client",
95
+ ...opts,
96
+ });
97
+ Object.setPrototypeOf(this, ValidationException.prototype);
98
+ this.reason = opts.reason;
99
+ this.fieldList = opts.fieldList;
100
+ }
101
+ }
@@ -1,16 +1,3 @@
1
- import { ManagedBlockchainQueryServiceException as __BaseException } from "./ManagedBlockchainQueryServiceException";
2
- export class AccessDeniedException extends __BaseException {
3
- name = "AccessDeniedException";
4
- $fault = "client";
5
- constructor(opts) {
6
- super({
7
- name: "AccessDeniedException",
8
- $fault: "client",
9
- ...opts,
10
- });
11
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
- }
13
- }
14
1
  export const QueryNetwork = {
15
2
  BITCOIN_MAINNET: "BITCOIN_MAINNET",
16
3
  BITCOIN_TESTNET: "BITCOIN_TESTNET",
@@ -26,103 +13,15 @@ export const ErrorType = {
26
13
  RESOURCE_NOT_FOUND_EXCEPTION: "RESOURCE_NOT_FOUND_EXCEPTION",
27
14
  VALIDATION_EXCEPTION: "VALIDATION_EXCEPTION",
28
15
  };
29
- export class InternalServerException extends __BaseException {
30
- name = "InternalServerException";
31
- $fault = "server";
32
- $retryable = {};
33
- retryAfterSeconds;
34
- constructor(opts) {
35
- super({
36
- name: "InternalServerException",
37
- $fault: "server",
38
- ...opts,
39
- });
40
- Object.setPrototypeOf(this, InternalServerException.prototype);
41
- this.retryAfterSeconds = opts.retryAfterSeconds;
42
- }
43
- }
44
16
  export const ResourceType = {
45
17
  COLLECTION: "collection",
46
18
  };
47
- export class ResourceNotFoundException extends __BaseException {
48
- name = "ResourceNotFoundException";
49
- $fault = "client";
50
- resourceId;
51
- resourceType;
52
- constructor(opts) {
53
- super({
54
- name: "ResourceNotFoundException",
55
- $fault: "client",
56
- ...opts,
57
- });
58
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
59
- this.resourceId = opts.resourceId;
60
- this.resourceType = opts.resourceType;
61
- }
62
- }
63
- export class ServiceQuotaExceededException extends __BaseException {
64
- name = "ServiceQuotaExceededException";
65
- $fault = "client";
66
- resourceId;
67
- resourceType;
68
- serviceCode;
69
- quotaCode;
70
- constructor(opts) {
71
- super({
72
- name: "ServiceQuotaExceededException",
73
- $fault: "client",
74
- ...opts,
75
- });
76
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
77
- this.resourceId = opts.resourceId;
78
- this.resourceType = opts.resourceType;
79
- this.serviceCode = opts.serviceCode;
80
- this.quotaCode = opts.quotaCode;
81
- }
82
- }
83
- export class ThrottlingException extends __BaseException {
84
- name = "ThrottlingException";
85
- $fault = "client";
86
- $retryable = {
87
- throttling: true,
88
- };
89
- serviceCode;
90
- quotaCode;
91
- retryAfterSeconds;
92
- constructor(opts) {
93
- super({
94
- name: "ThrottlingException",
95
- $fault: "client",
96
- ...opts,
97
- });
98
- Object.setPrototypeOf(this, ThrottlingException.prototype);
99
- this.serviceCode = opts.serviceCode;
100
- this.quotaCode = opts.quotaCode;
101
- this.retryAfterSeconds = opts.retryAfterSeconds;
102
- }
103
- }
104
19
  export const ValidationExceptionReason = {
105
20
  CANNOT_PARSE: "cannotParse",
106
21
  FIELD_VALIDATION_FAILED: "fieldValidationFailed",
107
22
  OTHER: "other",
108
23
  UNKNOWN_OPERATION: "unknownOperation",
109
24
  };
110
- export class ValidationException extends __BaseException {
111
- name = "ValidationException";
112
- $fault = "client";
113
- reason;
114
- fieldList;
115
- constructor(opts) {
116
- super({
117
- name: "ValidationException",
118
- $fault: "client",
119
- ...opts,
120
- });
121
- Object.setPrototypeOf(this, ValidationException.prototype);
122
- this.reason = opts.reason;
123
- this.fieldList = opts.fieldList;
124
- }
125
- }
126
25
  export const ConfirmationStatus = {
127
26
  FINAL: "FINAL",
128
27
  NONFINAL: "NONFINAL",
@@ -149,7 +149,7 @@ const _vI = "voutIndex";
149
149
  const _vS = "voutSpent";
150
150
  const n0 = "com.amazonaws.managedblockchainquery";
151
151
  import { TypeRegistry } from "@smithy/core/schema";
152
- import { AccessDeniedException as __AccessDeniedException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/index";
152
+ import { AccessDeniedException as __AccessDeniedException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
153
153
  import { ManagedBlockchainQueryServiceException as __ManagedBlockchainQueryServiceException } from "../models/ManagedBlockchainQueryServiceException";
154
154
  export var AccessDeniedException = [
155
155
  -3,
@@ -16,5 +16,6 @@ export type { RuntimeExtension } from "./runtimeExtensions";
16
16
  export type { ManagedBlockchainQueryExtensionConfiguration } from "./extensionConfiguration";
17
17
  export * from "./commands";
18
18
  export * from "./pagination";
19
- export * from "./models";
19
+ export * from "./models/errors";
20
+ export type * from "./models/models_0";
20
21
  export { ManagedBlockchainQueryServiceException } from "./models/ManagedBlockchainQueryServiceException";
@@ -0,0 +1,142 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ManagedBlockchainQueryServiceException as __BaseException } from "./ManagedBlockchainQueryServiceException";
3
+ import { ResourceType, ValidationExceptionField, ValidationExceptionReason } from "./models_0";
4
+ /**
5
+ * <p>The Amazon Web Services account doesn’t have access to this resource. </p>
6
+ * @public
7
+ */
8
+ export declare class AccessDeniedException extends __BaseException {
9
+ readonly name: "AccessDeniedException";
10
+ readonly $fault: "client";
11
+ /**
12
+ * @internal
13
+ */
14
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
+ }
16
+ /**
17
+ * <p>The request processing has failed because of an internal error in the service.</p>
18
+ * @public
19
+ */
20
+ export declare class InternalServerException extends __BaseException {
21
+ readonly name: "InternalServerException";
22
+ readonly $fault: "server";
23
+ $retryable: {};
24
+ /**
25
+ * <p>Specifies the <code>retryAfterSeconds</code> value.</p>
26
+ * @public
27
+ */
28
+ retryAfterSeconds?: number | undefined;
29
+ /**
30
+ * @internal
31
+ */
32
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
33
+ }
34
+ /**
35
+ * <p>The resource was not found.</p>
36
+ * @public
37
+ */
38
+ export declare class ResourceNotFoundException extends __BaseException {
39
+ readonly name: "ResourceNotFoundException";
40
+ readonly $fault: "client";
41
+ /**
42
+ * <p>The <code>resourceId</code> of the resource that caused the exception.</p>
43
+ * @public
44
+ */
45
+ resourceId: string | undefined;
46
+ /**
47
+ * <p>The <code>resourceType</code> of the resource that caused the exception.</p>
48
+ * @public
49
+ */
50
+ resourceType: ResourceType | undefined;
51
+ /**
52
+ * @internal
53
+ */
54
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
55
+ }
56
+ /**
57
+ * <p>The service quota has been exceeded for this resource.</p>
58
+ * @public
59
+ */
60
+ export declare class ServiceQuotaExceededException extends __BaseException {
61
+ readonly name: "ServiceQuotaExceededException";
62
+ readonly $fault: "client";
63
+ /**
64
+ * <p>The <code>resourceId</code> of the resource that caused the exception.</p>
65
+ * @public
66
+ */
67
+ resourceId: string | undefined;
68
+ /**
69
+ * <p>The <code>resourceType</code> of the resource that caused the exception.</p>
70
+ * @public
71
+ */
72
+ resourceType: ResourceType | undefined;
73
+ /**
74
+ * <p>The container for the <code>serviceCode</code>.</p>
75
+ * @public
76
+ */
77
+ serviceCode: string | undefined;
78
+ /**
79
+ * <p>The container for the <code>quotaCode</code>.</p>
80
+ * @public
81
+ */
82
+ quotaCode: string | undefined;
83
+ /**
84
+ * @internal
85
+ */
86
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
87
+ }
88
+ /**
89
+ * <p>The request or operation couldn't be performed because a service is throttling
90
+ * requests. The most common source of throttling errors is when you create resources
91
+ * that exceed your service limit for this resource type. Request a limit increase or
92
+ * delete unused resources, if possible.</p>
93
+ * @public
94
+ */
95
+ export declare class ThrottlingException extends __BaseException {
96
+ readonly name: "ThrottlingException";
97
+ readonly $fault: "client";
98
+ $retryable: {
99
+ throttling: boolean;
100
+ };
101
+ /**
102
+ * <p>The container for the <code>serviceCode</code>.</p>
103
+ * @public
104
+ */
105
+ serviceCode: string | undefined;
106
+ /**
107
+ * <p>The container for the <code>quotaCode</code>.</p>
108
+ * @public
109
+ */
110
+ quotaCode: string | undefined;
111
+ /**
112
+ * <p>The container of the <code>retryAfterSeconds</code> value.</p>
113
+ * @public
114
+ */
115
+ retryAfterSeconds?: number | undefined;
116
+ /**
117
+ * @internal
118
+ */
119
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
120
+ }
121
+ /**
122
+ * <p>The resource passed is invalid.</p>
123
+ * @public
124
+ */
125
+ export declare class ValidationException extends __BaseException {
126
+ readonly name: "ValidationException";
127
+ readonly $fault: "client";
128
+ /**
129
+ * <p>The container for the reason for the exception</p>
130
+ * @public
131
+ */
132
+ reason: ValidationExceptionReason | undefined;
133
+ /**
134
+ * <p>The container for the <code>fieldList</code> of the exception.</p>
135
+ * @public
136
+ */
137
+ fieldList?: ValidationExceptionField[] | undefined;
138
+ /**
139
+ * @internal
140
+ */
141
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
142
+ }
@@ -1,17 +1,3 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ManagedBlockchainQueryServiceException as __BaseException } from "./ManagedBlockchainQueryServiceException";
3
- /**
4
- * <p>The Amazon Web Services account doesn’t have access to this resource. </p>
5
- * @public
6
- */
7
- export declare class AccessDeniedException extends __BaseException {
8
- readonly name: "AccessDeniedException";
9
- readonly $fault: "client";
10
- /**
11
- * @internal
12
- */
13
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
- }
15
1
  /**
16
2
  * <p>This is the container for the unique public address on the blockchain.</p>
17
3
  * @public
@@ -299,24 +285,6 @@ export interface BatchGetTokenBalanceOutput {
299
285
  */
300
286
  errors: BatchGetTokenBalanceErrorItem[] | undefined;
301
287
  }
302
- /**
303
- * <p>The request processing has failed because of an internal error in the service.</p>
304
- * @public
305
- */
306
- export declare class InternalServerException extends __BaseException {
307
- readonly name: "InternalServerException";
308
- readonly $fault: "server";
309
- $retryable: {};
310
- /**
311
- * <p>Specifies the <code>retryAfterSeconds</code> value.</p>
312
- * @public
313
- */
314
- retryAfterSeconds?: number | undefined;
315
- /**
316
- * @internal
317
- */
318
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
319
- }
320
288
  /**
321
289
  * @public
322
290
  * @enum
@@ -328,93 +296,6 @@ export declare const ResourceType: {
328
296
  * @public
329
297
  */
330
298
  export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
331
- /**
332
- * <p>The resource was not found.</p>
333
- * @public
334
- */
335
- export declare class ResourceNotFoundException extends __BaseException {
336
- readonly name: "ResourceNotFoundException";
337
- readonly $fault: "client";
338
- /**
339
- * <p>The <code>resourceId</code> of the resource that caused the exception.</p>
340
- * @public
341
- */
342
- resourceId: string | undefined;
343
- /**
344
- * <p>The <code>resourceType</code> of the resource that caused the exception.</p>
345
- * @public
346
- */
347
- resourceType: ResourceType | undefined;
348
- /**
349
- * @internal
350
- */
351
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
352
- }
353
- /**
354
- * <p>The service quota has been exceeded for this resource.</p>
355
- * @public
356
- */
357
- export declare class ServiceQuotaExceededException extends __BaseException {
358
- readonly name: "ServiceQuotaExceededException";
359
- readonly $fault: "client";
360
- /**
361
- * <p>The <code>resourceId</code> of the resource that caused the exception.</p>
362
- * @public
363
- */
364
- resourceId: string | undefined;
365
- /**
366
- * <p>The <code>resourceType</code> of the resource that caused the exception.</p>
367
- * @public
368
- */
369
- resourceType: ResourceType | undefined;
370
- /**
371
- * <p>The container for the <code>serviceCode</code>.</p>
372
- * @public
373
- */
374
- serviceCode: string | undefined;
375
- /**
376
- * <p>The container for the <code>quotaCode</code>.</p>
377
- * @public
378
- */
379
- quotaCode: string | undefined;
380
- /**
381
- * @internal
382
- */
383
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
384
- }
385
- /**
386
- * <p>The request or operation couldn't be performed because a service is throttling
387
- * requests. The most common source of throttling errors is when you create resources
388
- * that exceed your service limit for this resource type. Request a limit increase or
389
- * delete unused resources, if possible.</p>
390
- * @public
391
- */
392
- export declare class ThrottlingException extends __BaseException {
393
- readonly name: "ThrottlingException";
394
- readonly $fault: "client";
395
- $retryable: {
396
- throttling: boolean;
397
- };
398
- /**
399
- * <p>The container for the <code>serviceCode</code>.</p>
400
- * @public
401
- */
402
- serviceCode: string | undefined;
403
- /**
404
- * <p>The container for the <code>quotaCode</code>.</p>
405
- * @public
406
- */
407
- quotaCode: string | undefined;
408
- /**
409
- * <p>The container of the <code>retryAfterSeconds</code> value.</p>
410
- * @public
411
- */
412
- retryAfterSeconds?: number | undefined;
413
- /**
414
- * @internal
415
- */
416
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
417
- }
418
299
  /**
419
300
  * <p>The resource passed is invalid.</p>
420
301
  * @public
@@ -445,28 +326,6 @@ export declare const ValidationExceptionReason: {
445
326
  * @public
446
327
  */
447
328
  export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
448
- /**
449
- * <p>The resource passed is invalid.</p>
450
- * @public
451
- */
452
- export declare class ValidationException extends __BaseException {
453
- readonly name: "ValidationException";
454
- readonly $fault: "client";
455
- /**
456
- * <p>The container for the reason for the exception</p>
457
- * @public
458
- */
459
- reason: ValidationExceptionReason | undefined;
460
- /**
461
- * <p>The container for the <code>fieldList</code> of the exception.</p>
462
- * @public
463
- */
464
- fieldList?: ValidationExceptionField[] | undefined;
465
- /**
466
- * @internal
467
- */
468
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
469
- }
470
329
  /**
471
330
  * @public
472
331
  * @enum
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { ManagedBlockchainQueryExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/errors";
9
+ export * from "./models/models_0";
9
10
  export { ManagedBlockchainQueryServiceException } from "./models/ManagedBlockchainQueryServiceException";
@@ -0,0 +1,65 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ManagedBlockchainQueryServiceException as __BaseException } from "./ManagedBlockchainQueryServiceException";
3
+ import {
4
+ ResourceType,
5
+ ValidationExceptionField,
6
+ ValidationExceptionReason,
7
+ } from "./models_0";
8
+ export declare class AccessDeniedException extends __BaseException {
9
+ readonly name: "AccessDeniedException";
10
+ readonly $fault: "client";
11
+ constructor(
12
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
13
+ );
14
+ }
15
+ export declare class InternalServerException extends __BaseException {
16
+ readonly name: "InternalServerException";
17
+ readonly $fault: "server";
18
+ $retryable: {};
19
+ retryAfterSeconds?: number | undefined;
20
+ constructor(
21
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
22
+ );
23
+ }
24
+ export declare class ResourceNotFoundException extends __BaseException {
25
+ readonly name: "ResourceNotFoundException";
26
+ readonly $fault: "client";
27
+ resourceId: string | undefined;
28
+ resourceType: ResourceType | undefined;
29
+ constructor(
30
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
31
+ );
32
+ }
33
+ export declare class ServiceQuotaExceededException extends __BaseException {
34
+ readonly name: "ServiceQuotaExceededException";
35
+ readonly $fault: "client";
36
+ resourceId: string | undefined;
37
+ resourceType: ResourceType | undefined;
38
+ serviceCode: string | undefined;
39
+ quotaCode: string | undefined;
40
+ constructor(
41
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
42
+ );
43
+ }
44
+ export declare class ThrottlingException extends __BaseException {
45
+ readonly name: "ThrottlingException";
46
+ readonly $fault: "client";
47
+ $retryable: {
48
+ throttling: boolean;
49
+ };
50
+ serviceCode: string | undefined;
51
+ quotaCode: string | undefined;
52
+ retryAfterSeconds?: number | undefined;
53
+ constructor(
54
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
55
+ );
56
+ }
57
+ export declare class ValidationException extends __BaseException {
58
+ readonly name: "ValidationException";
59
+ readonly $fault: "client";
60
+ reason: ValidationExceptionReason | undefined;
61
+ fieldList?: ValidationExceptionField[] | undefined;
62
+ constructor(
63
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
64
+ );
65
+ }
@@ -1,12 +1,3 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ManagedBlockchainQueryServiceException as __BaseException } from "./ManagedBlockchainQueryServiceException";
3
- export declare class AccessDeniedException extends __BaseException {
4
- readonly name: "AccessDeniedException";
5
- readonly $fault: "client";
6
- constructor(
7
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
- );
9
- }
10
1
  export interface AddressIdentifierFilter {
11
2
  transactionEventToAddress: string[] | undefined;
12
3
  }
@@ -76,52 +67,10 @@ export interface BatchGetTokenBalanceOutput {
76
67
  tokenBalances: BatchGetTokenBalanceOutputItem[] | undefined;
77
68
  errors: BatchGetTokenBalanceErrorItem[] | undefined;
78
69
  }
79
- export declare class InternalServerException extends __BaseException {
80
- readonly name: "InternalServerException";
81
- readonly $fault: "server";
82
- $retryable: {};
83
- retryAfterSeconds?: number | undefined;
84
- constructor(
85
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
86
- );
87
- }
88
70
  export declare const ResourceType: {
89
71
  readonly COLLECTION: "collection";
90
72
  };
91
73
  export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
92
- export declare class ResourceNotFoundException extends __BaseException {
93
- readonly name: "ResourceNotFoundException";
94
- readonly $fault: "client";
95
- resourceId: string | undefined;
96
- resourceType: ResourceType | undefined;
97
- constructor(
98
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
99
- );
100
- }
101
- export declare class ServiceQuotaExceededException extends __BaseException {
102
- readonly name: "ServiceQuotaExceededException";
103
- readonly $fault: "client";
104
- resourceId: string | undefined;
105
- resourceType: ResourceType | undefined;
106
- serviceCode: string | undefined;
107
- quotaCode: string | undefined;
108
- constructor(
109
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
110
- );
111
- }
112
- export declare class ThrottlingException extends __BaseException {
113
- readonly name: "ThrottlingException";
114
- readonly $fault: "client";
115
- $retryable: {
116
- throttling: boolean;
117
- };
118
- serviceCode: string | undefined;
119
- quotaCode: string | undefined;
120
- retryAfterSeconds?: number | undefined;
121
- constructor(
122
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
123
- );
124
- }
125
74
  export interface ValidationExceptionField {
126
75
  name: string | undefined;
127
76
  message: string | undefined;
@@ -134,15 +83,6 @@ export declare const ValidationExceptionReason: {
134
83
  };
135
84
  export type ValidationExceptionReason =
136
85
  (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
137
- export declare class ValidationException extends __BaseException {
138
- readonly name: "ValidationException";
139
- readonly $fault: "client";
140
- reason: ValidationExceptionReason | undefined;
141
- fieldList?: ValidationExceptionField[] | undefined;
142
- constructor(
143
- opts: __ExceptionOptionType<ValidationException, __BaseException>
144
- );
145
- }
146
86
  export declare const ConfirmationStatus: {
147
87
  readonly FINAL: "FINAL";
148
88
  readonly NONFINAL: "NONFINAL";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-managedblockchain-query",
3
3
  "description": "AWS SDK for JavaScript Managedblockchain Query Client for Node.js, Browser and React Native",
4
- "version": "3.934.0",
4
+ "version": "3.935.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-managedblockchain-query",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";