@aws-sdk/client-schemas 3.52.0 → 3.54.1

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.
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { CreateDiscovererCommandInput, CreateDiscovererCommandOutput } from "./commands/CreateDiscovererCommand";
10
10
  import { CreateRegistryCommandInput, CreateRegistryCommandOutput } from "./commands/CreateRegistryCommand";
11
11
  import { CreateSchemaCommandInput, CreateSchemaCommandOutput } from "./commands/CreateSchemaCommand";
@@ -59,7 +59,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
59
59
  * A function that can calculate the length of a request body.
60
60
  * @internal
61
61
  */
62
- bodyLengthChecker?: (body: any) => number | undefined;
62
+ bodyLengthChecker?: __BodyLengthCalculator;
63
63
  /**
64
64
  * A function that converts a stream into an array of bytes.
65
65
  * @internal
@@ -4,3 +4,4 @@ export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
6
  export * from "./waiters";
7
+ export { SchemasServiceException } from "./models/SchemasServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from Schemas service.
4
+ */
5
+ export declare class SchemasServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,5 +1,5 @@
1
- import { LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
2
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType, LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
2
+ import { SchemasServiceException as __BaseException } from "./SchemasServiceException";
3
3
  export declare enum DiscovererState {
4
4
  STARTED = "STARTED",
5
5
  STOPPED = "STOPPED"
@@ -165,9 +165,9 @@ export declare namespace SearchSchemaSummary {
165
165
  */
166
166
  const filterSensitiveLog: (obj: SearchSchemaSummary) => any;
167
167
  }
168
- export interface BadRequestException extends __SmithyException, $MetadataBearer {
169
- name: "BadRequestException";
170
- $fault: "client";
168
+ export declare class BadRequestException extends __BaseException {
169
+ readonly name: "BadRequestException";
170
+ readonly $fault: "client";
171
171
  /**
172
172
  * <p>The error code.</p>
173
173
  */
@@ -176,15 +176,19 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
176
176
  * <p>The message string of the error output.</p>
177
177
  */
178
178
  Message: string | undefined;
179
+ /**
180
+ * @internal
181
+ */
182
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
179
183
  }
180
184
  export declare enum CodeGenerationStatus {
181
185
  CREATE_COMPLETE = "CREATE_COMPLETE",
182
186
  CREATE_FAILED = "CREATE_FAILED",
183
187
  CREATE_IN_PROGRESS = "CREATE_IN_PROGRESS"
184
188
  }
185
- export interface ConflictException extends __SmithyException, $MetadataBearer {
186
- name: "ConflictException";
187
- $fault: "client";
189
+ export declare class ConflictException extends __BaseException {
190
+ readonly name: "ConflictException";
191
+ readonly $fault: "client";
188
192
  /**
189
193
  * <p>The error code.</p>
190
194
  */
@@ -193,6 +197,10 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
193
197
  * <p>The message string of the error output.</p>
194
198
  */
195
199
  Message: string | undefined;
200
+ /**
201
+ * @internal
202
+ */
203
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
196
204
  }
197
205
  export interface CreateDiscovererRequest {
198
206
  /**
@@ -258,9 +266,9 @@ export declare namespace CreateDiscovererResponse {
258
266
  */
259
267
  const filterSensitiveLog: (obj: CreateDiscovererResponse) => any;
260
268
  }
261
- export interface ForbiddenException extends __SmithyException, $MetadataBearer {
262
- name: "ForbiddenException";
263
- $fault: "client";
269
+ export declare class ForbiddenException extends __BaseException {
270
+ readonly name: "ForbiddenException";
271
+ readonly $fault: "client";
264
272
  /**
265
273
  * <p>The error code.</p>
266
274
  */
@@ -269,10 +277,14 @@ export interface ForbiddenException extends __SmithyException, $MetadataBearer {
269
277
  * <p>The message string of the error output.</p>
270
278
  */
271
279
  Message: string | undefined;
280
+ /**
281
+ * @internal
282
+ */
283
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
272
284
  }
273
- export interface InternalServerErrorException extends __SmithyException, $MetadataBearer {
274
- name: "InternalServerErrorException";
275
- $fault: "server";
285
+ export declare class InternalServerErrorException extends __BaseException {
286
+ readonly name: "InternalServerErrorException";
287
+ readonly $fault: "server";
276
288
  /**
277
289
  * <p>The error code.</p>
278
290
  */
@@ -281,10 +293,14 @@ export interface InternalServerErrorException extends __SmithyException, $Metada
281
293
  * <p>The message string of the error output.</p>
282
294
  */
283
295
  Message: string | undefined;
296
+ /**
297
+ * @internal
298
+ */
299
+ constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
284
300
  }
285
- export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
286
- name: "ServiceUnavailableException";
287
- $fault: "server";
301
+ export declare class ServiceUnavailableException extends __BaseException {
302
+ readonly name: "ServiceUnavailableException";
303
+ readonly $fault: "server";
288
304
  /**
289
305
  * <p>The error code.</p>
290
306
  */
@@ -293,10 +309,14 @@ export interface ServiceUnavailableException extends __SmithyException, $Metadat
293
309
  * <p>The message string of the error output.</p>
294
310
  */
295
311
  Message: string | undefined;
312
+ /**
313
+ * @internal
314
+ */
315
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
296
316
  }
297
- export interface UnauthorizedException extends __SmithyException, $MetadataBearer {
298
- name: "UnauthorizedException";
299
- $fault: "client";
317
+ export declare class UnauthorizedException extends __BaseException {
318
+ readonly name: "UnauthorizedException";
319
+ readonly $fault: "client";
300
320
  /**
301
321
  * <p>The error code.</p>
302
322
  */
@@ -305,6 +325,10 @@ export interface UnauthorizedException extends __SmithyException, $MetadataBeare
305
325
  * <p>The message string of the error output.</p>
306
326
  */
307
327
  Message: string | undefined;
328
+ /**
329
+ * @internal
330
+ */
331
+ constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
308
332
  }
309
333
  export interface CreateRegistryRequest {
310
334
  /**
@@ -442,9 +466,9 @@ export declare namespace DeleteDiscovererRequest {
442
466
  */
443
467
  const filterSensitiveLog: (obj: DeleteDiscovererRequest) => any;
444
468
  }
445
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
446
- name: "NotFoundException";
447
- $fault: "client";
469
+ export declare class NotFoundException extends __BaseException {
470
+ readonly name: "NotFoundException";
471
+ readonly $fault: "client";
448
472
  /**
449
473
  * <p>The error code.</p>
450
474
  */
@@ -453,6 +477,10 @@ export interface NotFoundException extends __SmithyException, $MetadataBearer {
453
477
  * <p>The message string of the error output.</p>
454
478
  */
455
479
  Message: string | undefined;
480
+ /**
481
+ * @internal
482
+ */
483
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
456
484
  }
457
485
  export interface DeleteRegistryRequest {
458
486
  /**
@@ -562,9 +590,9 @@ export declare namespace DescribeCodeBindingResponse {
562
590
  */
563
591
  const filterSensitiveLog: (obj: DescribeCodeBindingResponse) => any;
564
592
  }
565
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
566
- name: "TooManyRequestsException";
567
- $fault: "client";
593
+ export declare class TooManyRequestsException extends __BaseException {
594
+ readonly name: "TooManyRequestsException";
595
+ readonly $fault: "client";
568
596
  /**
569
597
  * <p>The error code.</p>
570
598
  */
@@ -573,6 +601,10 @@ export interface TooManyRequestsException extends __SmithyException, $MetadataBe
573
601
  * <p>The message string of the error output.</p>
574
602
  */
575
603
  Message: string | undefined;
604
+ /**
605
+ * @internal
606
+ */
607
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
576
608
  }
577
609
  export interface DescribeDiscovererRequest {
578
610
  /**
@@ -851,9 +883,9 @@ export declare namespace GetResourcePolicyResponse {
851
883
  */
852
884
  const filterSensitiveLog: (obj: GetResourcePolicyResponse) => any;
853
885
  }
854
- export interface GoneException extends __SmithyException, $MetadataBearer {
855
- name: "GoneException";
856
- $fault: "client";
886
+ export declare class GoneException extends __BaseException {
887
+ readonly name: "GoneException";
888
+ readonly $fault: "client";
857
889
  /**
858
890
  * <p>The error code.</p>
859
891
  */
@@ -862,6 +894,10 @@ export interface GoneException extends __SmithyException, $MetadataBearer {
862
894
  * <p>The message string of the error output.</p>
863
895
  */
864
896
  Message: string | undefined;
897
+ /**
898
+ * @internal
899
+ */
900
+ constructor(opts: __ExceptionOptionType<GoneException, __BaseException>);
865
901
  }
866
902
  export interface ListDiscoverersRequest {
867
903
  /**
@@ -1037,9 +1073,9 @@ export declare namespace ListTagsForResourceResponse {
1037
1073
  */
1038
1074
  const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
1039
1075
  }
1040
- export interface PreconditionFailedException extends __SmithyException, $MetadataBearer {
1041
- name: "PreconditionFailedException";
1042
- $fault: "client";
1076
+ export declare class PreconditionFailedException extends __BaseException {
1077
+ readonly name: "PreconditionFailedException";
1078
+ readonly $fault: "client";
1043
1079
  /**
1044
1080
  * <p>The error code.</p>
1045
1081
  */
@@ -1048,6 +1084,10 @@ export interface PreconditionFailedException extends __SmithyException, $Metadat
1048
1084
  * <p>The message string of the error output.</p>
1049
1085
  */
1050
1086
  Message: string | undefined;
1087
+ /**
1088
+ * @internal
1089
+ */
1090
+ constructor(opts: __ExceptionOptionType<PreconditionFailedException, __BaseException>);
1051
1091
  }
1052
1092
  export interface PutCodeBindingRequest {
1053
1093
  /**
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: SchemasClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: SchemasClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: SchemasClientConfig) => {
8
8
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
10
  urlParser: import("@aws-sdk/types").UrlParser;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  streamCollector: import("@aws-sdk/types").StreamCollector;
13
13
  base64Decoder: import("@aws-sdk/types").Decoder;
14
14
  base64Encoder: import("@aws-sdk/types").Encoder;
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { CreateDiscovererCommandInput, CreateDiscovererCommandOutput } from "./commands/CreateDiscovererCommand";
10
10
  import { CreateRegistryCommandInput, CreateRegistryCommandOutput } from "./commands/CreateRegistryCommand";
11
11
  import { CreateSchemaCommandInput, CreateSchemaCommandOutput } from "./commands/CreateSchemaCommand";
@@ -47,7 +47,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
47
47
 
48
48
  urlParser?: __UrlParser;
49
49
 
50
- bodyLengthChecker?: (body: any) => number | undefined;
50
+ bodyLengthChecker?: __BodyLengthCalculator;
51
51
 
52
52
  streamCollector?: __StreamCollector;
53
53
 
@@ -4,3 +4,4 @@ export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
6
  export * from "./waiters";
7
+ export { SchemasServiceException } from "./models/SchemasServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class SchemasServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,5 +1,5 @@
1
- import { LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
2
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType, LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
2
+ import { SchemasServiceException as __BaseException } from "./SchemasServiceException";
3
3
  export declare enum DiscovererState {
4
4
  STARTED = "STARTED",
5
5
  STOPPED = "STOPPED"
@@ -101,26 +101,30 @@ export declare namespace SearchSchemaSummary {
101
101
 
102
102
  const filterSensitiveLog: (obj: SearchSchemaSummary) => any;
103
103
  }
104
- export interface BadRequestException extends __SmithyException, $MetadataBearer {
105
- name: "BadRequestException";
106
- $fault: "client";
104
+ export declare class BadRequestException extends __BaseException {
105
+ readonly name: "BadRequestException";
106
+ readonly $fault: "client";
107
107
 
108
108
  Code: string | undefined;
109
109
 
110
110
  Message: string | undefined;
111
+
112
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
111
113
  }
112
114
  export declare enum CodeGenerationStatus {
113
115
  CREATE_COMPLETE = "CREATE_COMPLETE",
114
116
  CREATE_FAILED = "CREATE_FAILED",
115
117
  CREATE_IN_PROGRESS = "CREATE_IN_PROGRESS"
116
118
  }
117
- export interface ConflictException extends __SmithyException, $MetadataBearer {
118
- name: "ConflictException";
119
- $fault: "client";
119
+ export declare class ConflictException extends __BaseException {
120
+ readonly name: "ConflictException";
121
+ readonly $fault: "client";
120
122
 
121
123
  Code: string | undefined;
122
124
 
123
125
  Message: string | undefined;
126
+
127
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
124
128
  }
125
129
  export interface CreateDiscovererRequest {
126
130
 
@@ -160,37 +164,45 @@ export declare namespace CreateDiscovererResponse {
160
164
 
161
165
  const filterSensitiveLog: (obj: CreateDiscovererResponse) => any;
162
166
  }
163
- export interface ForbiddenException extends __SmithyException, $MetadataBearer {
164
- name: "ForbiddenException";
165
- $fault: "client";
167
+ export declare class ForbiddenException extends __BaseException {
168
+ readonly name: "ForbiddenException";
169
+ readonly $fault: "client";
166
170
 
167
171
  Code: string | undefined;
168
172
 
169
173
  Message: string | undefined;
174
+
175
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
170
176
  }
171
- export interface InternalServerErrorException extends __SmithyException, $MetadataBearer {
172
- name: "InternalServerErrorException";
173
- $fault: "server";
177
+ export declare class InternalServerErrorException extends __BaseException {
178
+ readonly name: "InternalServerErrorException";
179
+ readonly $fault: "server";
174
180
 
175
181
  Code: string | undefined;
176
182
 
177
183
  Message: string | undefined;
184
+
185
+ constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
178
186
  }
179
- export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
180
- name: "ServiceUnavailableException";
181
- $fault: "server";
187
+ export declare class ServiceUnavailableException extends __BaseException {
188
+ readonly name: "ServiceUnavailableException";
189
+ readonly $fault: "server";
182
190
 
183
191
  Code: string | undefined;
184
192
 
185
193
  Message: string | undefined;
194
+
195
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
186
196
  }
187
- export interface UnauthorizedException extends __SmithyException, $MetadataBearer {
188
- name: "UnauthorizedException";
189
- $fault: "client";
197
+ export declare class UnauthorizedException extends __BaseException {
198
+ readonly name: "UnauthorizedException";
199
+ readonly $fault: "client";
190
200
 
191
201
  Code: string | undefined;
192
202
 
193
203
  Message: string | undefined;
204
+
205
+ constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
194
206
  }
195
207
  export interface CreateRegistryRequest {
196
208
 
@@ -274,13 +286,15 @@ export declare namespace DeleteDiscovererRequest {
274
286
 
275
287
  const filterSensitiveLog: (obj: DeleteDiscovererRequest) => any;
276
288
  }
277
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
278
- name: "NotFoundException";
279
- $fault: "client";
289
+ export declare class NotFoundException extends __BaseException {
290
+ readonly name: "NotFoundException";
291
+ readonly $fault: "client";
280
292
 
281
293
  Code: string | undefined;
282
294
 
283
295
  Message: string | undefined;
296
+
297
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
284
298
  }
285
299
  export interface DeleteRegistryRequest {
286
300
 
@@ -348,13 +362,15 @@ export declare namespace DescribeCodeBindingResponse {
348
362
 
349
363
  const filterSensitiveLog: (obj: DescribeCodeBindingResponse) => any;
350
364
  }
351
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
352
- name: "TooManyRequestsException";
353
- $fault: "client";
365
+ export declare class TooManyRequestsException extends __BaseException {
366
+ readonly name: "TooManyRequestsException";
367
+ readonly $fault: "client";
354
368
 
355
369
  Code: string | undefined;
356
370
 
357
371
  Message: string | undefined;
372
+
373
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
358
374
  }
359
375
  export interface DescribeDiscovererRequest {
360
376
 
@@ -529,13 +545,15 @@ export declare namespace GetResourcePolicyResponse {
529
545
 
530
546
  const filterSensitiveLog: (obj: GetResourcePolicyResponse) => any;
531
547
  }
532
- export interface GoneException extends __SmithyException, $MetadataBearer {
533
- name: "GoneException";
534
- $fault: "client";
548
+ export declare class GoneException extends __BaseException {
549
+ readonly name: "GoneException";
550
+ readonly $fault: "client";
535
551
 
536
552
  Code: string | undefined;
537
553
 
538
554
  Message: string | undefined;
555
+
556
+ constructor(opts: __ExceptionOptionType<GoneException, __BaseException>);
539
557
  }
540
558
  export interface ListDiscoverersRequest {
541
559
 
@@ -647,13 +665,15 @@ export declare namespace ListTagsForResourceResponse {
647
665
 
648
666
  const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
649
667
  }
650
- export interface PreconditionFailedException extends __SmithyException, $MetadataBearer {
651
- name: "PreconditionFailedException";
652
- $fault: "client";
668
+ export declare class PreconditionFailedException extends __BaseException {
669
+ readonly name: "PreconditionFailedException";
670
+ readonly $fault: "client";
653
671
 
654
672
  Code: string | undefined;
655
673
 
656
674
  Message: string | undefined;
675
+
676
+ constructor(opts: __ExceptionOptionType<PreconditionFailedException, __BaseException>);
657
677
  }
658
678
  export interface PutCodeBindingRequest {
659
679
 
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: SchemasClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: SchemasClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: SchemasClientConfig) => {
6
6
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
7
7
  apiVersion: string;
8
8
  urlParser: import("@aws-sdk/types").UrlParser;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  streamCollector: import("@aws-sdk/types").StreamCollector;
11
11
  base64Decoder: import("@aws-sdk/types").Decoder;
12
12
  base64Encoder: import("@aws-sdk/types").Encoder;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-schemas",
3
3
  "description": "AWS SDK for JavaScript Schemas Client for Node.js, Browser and React Native",
4
- "version": "3.52.0",
4
+ "version": "3.54.1",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,37 +18,37 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.52.0",
22
- "@aws-sdk/config-resolver": "3.52.0",
23
- "@aws-sdk/credential-provider-node": "3.52.0",
24
- "@aws-sdk/fetch-http-handler": "3.52.0",
25
- "@aws-sdk/hash-node": "3.52.0",
26
- "@aws-sdk/invalid-dependency": "3.52.0",
27
- "@aws-sdk/middleware-content-length": "3.52.0",
28
- "@aws-sdk/middleware-host-header": "3.52.0",
29
- "@aws-sdk/middleware-logger": "3.52.0",
30
- "@aws-sdk/middleware-retry": "3.52.0",
31
- "@aws-sdk/middleware-serde": "3.52.0",
32
- "@aws-sdk/middleware-signing": "3.52.0",
33
- "@aws-sdk/middleware-stack": "3.52.0",
34
- "@aws-sdk/middleware-user-agent": "3.52.0",
35
- "@aws-sdk/node-config-provider": "3.52.0",
36
- "@aws-sdk/node-http-handler": "3.52.0",
37
- "@aws-sdk/protocol-http": "3.52.0",
38
- "@aws-sdk/smithy-client": "3.52.0",
39
- "@aws-sdk/types": "3.52.0",
40
- "@aws-sdk/url-parser": "3.52.0",
21
+ "@aws-sdk/client-sts": "3.54.1",
22
+ "@aws-sdk/config-resolver": "3.54.1",
23
+ "@aws-sdk/credential-provider-node": "3.54.1",
24
+ "@aws-sdk/fetch-http-handler": "3.54.1",
25
+ "@aws-sdk/hash-node": "3.54.1",
26
+ "@aws-sdk/invalid-dependency": "3.54.1",
27
+ "@aws-sdk/middleware-content-length": "3.54.1",
28
+ "@aws-sdk/middleware-host-header": "3.54.1",
29
+ "@aws-sdk/middleware-logger": "3.54.1",
30
+ "@aws-sdk/middleware-retry": "3.54.1",
31
+ "@aws-sdk/middleware-serde": "3.54.1",
32
+ "@aws-sdk/middleware-signing": "3.54.1",
33
+ "@aws-sdk/middleware-stack": "3.54.1",
34
+ "@aws-sdk/middleware-user-agent": "3.54.1",
35
+ "@aws-sdk/node-config-provider": "3.54.1",
36
+ "@aws-sdk/node-http-handler": "3.54.1",
37
+ "@aws-sdk/protocol-http": "3.54.1",
38
+ "@aws-sdk/smithy-client": "3.54.1",
39
+ "@aws-sdk/types": "3.54.1",
40
+ "@aws-sdk/url-parser": "3.54.1",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
- "@aws-sdk/util-body-length-browser": "3.52.0",
44
- "@aws-sdk/util-body-length-node": "3.52.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
- "@aws-sdk/util-user-agent-browser": "3.52.0",
48
- "@aws-sdk/util-user-agent-node": "3.52.0",
43
+ "@aws-sdk/util-body-length-browser": "3.54.0",
44
+ "@aws-sdk/util-body-length-node": "3.54.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.54.1",
46
+ "@aws-sdk/util-defaults-mode-node": "3.54.1",
47
+ "@aws-sdk/util-user-agent-browser": "3.54.1",
48
+ "@aws-sdk/util-user-agent-node": "3.54.1",
49
49
  "@aws-sdk/util-utf8-browser": "3.52.0",
50
50
  "@aws-sdk/util-utf8-node": "3.52.0",
51
- "@aws-sdk/util-waiter": "3.52.0",
51
+ "@aws-sdk/util-waiter": "3.54.1",
52
52
  "tslib": "^2.3.0",
53
53
  "uuid": "^8.3.2"
54
54
  },