@aws-sdk/client-schemas 3.100.0 → 3.105.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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-schemas
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
6
  const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
7
7
  const middleware_logger_1 = require("@aws-sdk/middleware-logger");
8
+ const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
8
9
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
9
10
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
11
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
@@ -25,6 +26,7 @@ class SchemasClient extends smithy_client_1.Client {
25
26
  this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
26
27
  this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
27
28
  this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
29
+ this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
28
30
  this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
29
31
  this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
30
32
  }
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
3
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
5
5
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
6
+ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
6
7
  import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
7
8
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
@@ -25,6 +26,7 @@ var SchemasClient = (function (_super) {
25
26
  _this.middlewareStack.use(getContentLengthPlugin(_this.config));
26
27
  _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
27
28
  _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
28
30
  _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
29
31
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
30
32
  return _this;
@@ -28,9 +28,7 @@ export interface DiscovererSummary {
28
28
  /**
29
29
  * <p>Tags associated with the resource.</p>
30
30
  */
31
- Tags?: {
32
- [key: string]: string;
33
- };
31
+ Tags?: Record<string, string>;
34
32
  }
35
33
  export declare namespace DiscovererSummary {
36
34
  /**
@@ -50,9 +48,7 @@ export interface RegistrySummary {
50
48
  /**
51
49
  * <p>Tags associated with the registry.</p>
52
50
  */
53
- Tags?: {
54
- [key: string]: string;
55
- };
51
+ Tags?: Record<string, string>;
56
52
  }
57
53
  export declare namespace RegistrySummary {
58
54
  /**
@@ -79,9 +75,7 @@ export interface SchemaSummary {
79
75
  /**
80
76
  * <p>Tags associated with the schema.</p>
81
77
  */
82
- Tags?: {
83
- [key: string]: string;
84
- };
78
+ Tags?: Record<string, string>;
85
79
  /**
86
80
  * <p>The number of versions available for the schema.</p>
87
81
  */
@@ -218,9 +212,7 @@ export interface CreateDiscovererRequest {
218
212
  /**
219
213
  * <p>Tags associated with the resource.</p>
220
214
  */
221
- Tags?: {
222
- [key: string]: string;
223
- };
215
+ Tags?: Record<string, string>;
224
216
  }
225
217
  export declare namespace CreateDiscovererRequest {
226
218
  /**
@@ -256,9 +248,7 @@ export interface CreateDiscovererResponse {
256
248
  /**
257
249
  * <p>Tags associated with the resource.</p>
258
250
  */
259
- Tags?: {
260
- [key: string]: string;
261
- };
251
+ Tags?: Record<string, string>;
262
252
  }
263
253
  export declare namespace CreateDiscovererResponse {
264
254
  /**
@@ -342,9 +332,7 @@ export interface CreateRegistryRequest {
342
332
  /**
343
333
  * <p>Tags to associate with the registry.</p>
344
334
  */
345
- Tags?: {
346
- [key: string]: string;
347
- };
335
+ Tags?: Record<string, string>;
348
336
  }
349
337
  export declare namespace CreateRegistryRequest {
350
338
  /**
@@ -368,9 +356,7 @@ export interface CreateRegistryResponse {
368
356
  /**
369
357
  * <p>Tags associated with the registry.</p>
370
358
  */
371
- Tags?: {
372
- [key: string]: string;
373
- };
359
+ Tags?: Record<string, string>;
374
360
  }
375
361
  export declare namespace CreateRegistryResponse {
376
362
  /**
@@ -398,9 +384,7 @@ export interface CreateSchemaRequest {
398
384
  /**
399
385
  * <p>Tags associated with the schema.</p>
400
386
  */
401
- Tags?: {
402
- [key: string]: string;
403
- };
387
+ Tags?: Record<string, string>;
404
388
  /**
405
389
  * <p>The type of schema.</p>
406
390
  */
@@ -436,9 +420,7 @@ export interface CreateSchemaResponse {
436
420
  /**
437
421
  * <p>Key-value pairs associated with a resource.</p>
438
422
  */
439
- Tags?: {
440
- [key: string]: string;
441
- };
423
+ Tags?: Record<string, string>;
442
424
  /**
443
425
  * <p>The type of the schema.</p>
444
426
  */
@@ -646,9 +628,7 @@ export interface DescribeDiscovererResponse {
646
628
  /**
647
629
  * <p>Tags associated with the resource.</p>
648
630
  */
649
- Tags?: {
650
- [key: string]: string;
651
- };
631
+ Tags?: Record<string, string>;
652
632
  }
653
633
  export declare namespace DescribeDiscovererResponse {
654
634
  /**
@@ -684,9 +664,7 @@ export interface DescribeRegistryResponse {
684
664
  /**
685
665
  * <p>Tags associated with the registry.</p>
686
666
  */
687
- Tags?: {
688
- [key: string]: string;
689
- };
667
+ Tags?: Record<string, string>;
690
668
  }
691
669
  export declare namespace DescribeRegistryResponse {
692
670
  /**
@@ -742,9 +720,7 @@ export interface DescribeSchemaResponse {
742
720
  /**
743
721
  * <p>Tags associated with the resource.</p>
744
722
  */
745
- Tags?: {
746
- [key: string]: string;
747
- };
723
+ Tags?: Record<string, string>;
748
724
  /**
749
725
  * <p>The type of the schema.</p>
750
726
  */
@@ -1063,9 +1039,7 @@ export interface ListTagsForResourceResponse {
1063
1039
  /**
1064
1040
  * <p>Key-value pairs associated with a resource.</p>
1065
1041
  */
1066
- Tags?: {
1067
- [key: string]: string;
1068
- };
1042
+ Tags?: Record<string, string>;
1069
1043
  }
1070
1044
  export declare namespace ListTagsForResourceResponse {
1071
1045
  /**
@@ -1280,9 +1254,7 @@ export interface TagResourceRequest {
1280
1254
  /**
1281
1255
  * <p>Tags associated with the resource.</p>
1282
1256
  */
1283
- Tags: {
1284
- [key: string]: string;
1285
- } | undefined;
1257
+ Tags: Record<string, string> | undefined;
1286
1258
  }
1287
1259
  export declare namespace TagResourceRequest {
1288
1260
  /**
@@ -1354,9 +1326,7 @@ export interface UpdateDiscovererResponse {
1354
1326
  /**
1355
1327
  * <p>Tags associated with the resource.</p>
1356
1328
  */
1357
- Tags?: {
1358
- [key: string]: string;
1359
- };
1329
+ Tags?: Record<string, string>;
1360
1330
  }
1361
1331
  export declare namespace UpdateDiscovererResponse {
1362
1332
  /**
@@ -1399,9 +1369,7 @@ export interface UpdateRegistryResponse {
1399
1369
  /**
1400
1370
  * <p>Tags associated with the registry.</p>
1401
1371
  */
1402
- Tags?: {
1403
- [key: string]: string;
1404
- };
1372
+ Tags?: Record<string, string>;
1405
1373
  }
1406
1374
  export declare namespace UpdateRegistryResponse {
1407
1375
  /**
@@ -1465,9 +1433,7 @@ export interface UpdateSchemaResponse {
1465
1433
  /**
1466
1434
  * <p>Key-value pairs associated with a resource.</p>
1467
1435
  */
1468
- Tags?: {
1469
- [key: string]: string;
1470
- };
1436
+ Tags?: Record<string, string>;
1471
1437
  /**
1472
1438
  * <p>The type of the schema.</p>
1473
1439
  */
@@ -16,9 +16,7 @@ export interface DiscovererSummary {
16
16
 
17
17
  CrossAccount?: boolean;
18
18
 
19
- Tags?: {
20
- [key: string]: string;
21
- };
19
+ Tags?: Record<string, string>;
22
20
  }
23
21
  export declare namespace DiscovererSummary {
24
22
 
@@ -30,9 +28,7 @@ export interface RegistrySummary {
30
28
 
31
29
  RegistryName?: string;
32
30
 
33
- Tags?: {
34
- [key: string]: string;
35
- };
31
+ Tags?: Record<string, string>;
36
32
  }
37
33
  export declare namespace RegistrySummary {
38
34
 
@@ -47,9 +43,7 @@ export interface SchemaSummary {
47
43
 
48
44
  SchemaName?: string;
49
45
 
50
- Tags?: {
51
- [key: string]: string;
52
- };
46
+ Tags?: Record<string, string>;
53
47
 
54
48
  VersionCount?: number;
55
49
  }
@@ -134,9 +128,7 @@ export interface CreateDiscovererRequest {
134
128
 
135
129
  CrossAccount?: boolean;
136
130
 
137
- Tags?: {
138
- [key: string]: string;
139
- };
131
+ Tags?: Record<string, string>;
140
132
  }
141
133
  export declare namespace CreateDiscovererRequest {
142
134
 
@@ -156,9 +148,7 @@ export interface CreateDiscovererResponse {
156
148
 
157
149
  CrossAccount?: boolean;
158
150
 
159
- Tags?: {
160
- [key: string]: string;
161
- };
151
+ Tags?: Record<string, string>;
162
152
  }
163
153
  export declare namespace CreateDiscovererResponse {
164
154
 
@@ -210,9 +200,7 @@ export interface CreateRegistryRequest {
210
200
 
211
201
  RegistryName: string | undefined;
212
202
 
213
- Tags?: {
214
- [key: string]: string;
215
- };
203
+ Tags?: Record<string, string>;
216
204
  }
217
205
  export declare namespace CreateRegistryRequest {
218
206
 
@@ -226,9 +214,7 @@ export interface CreateRegistryResponse {
226
214
 
227
215
  RegistryName?: string;
228
216
 
229
- Tags?: {
230
- [key: string]: string;
231
- };
217
+ Tags?: Record<string, string>;
232
218
  }
233
219
  export declare namespace CreateRegistryResponse {
234
220
 
@@ -244,9 +230,7 @@ export interface CreateSchemaRequest {
244
230
 
245
231
  SchemaName: string | undefined;
246
232
 
247
- Tags?: {
248
- [key: string]: string;
249
- };
233
+ Tags?: Record<string, string>;
250
234
 
251
235
  Type: Type | string | undefined;
252
236
  }
@@ -266,9 +250,7 @@ export interface CreateSchemaResponse {
266
250
 
267
251
  SchemaVersion?: string;
268
252
 
269
- Tags?: {
270
- [key: string]: string;
271
- };
253
+ Tags?: Record<string, string>;
272
254
 
273
255
  Type?: string;
274
256
 
@@ -394,9 +376,7 @@ export interface DescribeDiscovererResponse {
394
376
 
395
377
  CrossAccount?: boolean;
396
378
 
397
- Tags?: {
398
- [key: string]: string;
399
- };
379
+ Tags?: Record<string, string>;
400
380
  }
401
381
  export declare namespace DescribeDiscovererResponse {
402
382
 
@@ -418,9 +398,7 @@ export interface DescribeRegistryResponse {
418
398
 
419
399
  RegistryName?: string;
420
400
 
421
- Tags?: {
422
- [key: string]: string;
423
- };
401
+ Tags?: Record<string, string>;
424
402
  }
425
403
  export declare namespace DescribeRegistryResponse {
426
404
 
@@ -452,9 +430,7 @@ export interface DescribeSchemaResponse {
452
430
 
453
431
  SchemaVersion?: string;
454
432
 
455
- Tags?: {
456
- [key: string]: string;
457
- };
433
+ Tags?: Record<string, string>;
458
434
 
459
435
  Type?: string;
460
436
 
@@ -657,9 +633,7 @@ export declare namespace ListTagsForResourceRequest {
657
633
  }
658
634
  export interface ListTagsForResourceResponse {
659
635
 
660
- Tags?: {
661
- [key: string]: string;
662
- };
636
+ Tags?: Record<string, string>;
663
637
  }
664
638
  export declare namespace ListTagsForResourceResponse {
665
639
 
@@ -790,9 +764,7 @@ export interface TagResourceRequest {
790
764
 
791
765
  ResourceArn: string | undefined;
792
766
 
793
- Tags: {
794
- [key: string]: string;
795
- } | undefined;
767
+ Tags: Record<string, string> | undefined;
796
768
  }
797
769
  export declare namespace TagResourceRequest {
798
770
 
@@ -834,9 +806,7 @@ export interface UpdateDiscovererResponse {
834
806
 
835
807
  CrossAccount?: boolean;
836
808
 
837
- Tags?: {
838
- [key: string]: string;
839
- };
809
+ Tags?: Record<string, string>;
840
810
  }
841
811
  export declare namespace UpdateDiscovererResponse {
842
812
 
@@ -861,9 +831,7 @@ export interface UpdateRegistryResponse {
861
831
 
862
832
  RegistryName?: string;
863
833
 
864
- Tags?: {
865
- [key: string]: string;
866
- };
834
+ Tags?: Record<string, string>;
867
835
  }
868
836
  export declare namespace UpdateRegistryResponse {
869
837
 
@@ -899,9 +867,7 @@ export interface UpdateSchemaResponse {
899
867
 
900
868
  SchemaVersion?: string;
901
869
 
902
- Tags?: {
903
- [key: string]: string;
904
- };
870
+ Tags?: Record<string, string>;
905
871
 
906
872
  Type?: string;
907
873
 
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.100.0",
4
+ "version": "3.105.0",
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,15 +18,16 @@
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.100.0",
21
+ "@aws-sdk/client-sts": "3.105.0",
22
22
  "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.100.0",
23
+ "@aws-sdk/credential-provider-node": "3.105.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.78.0",
25
25
  "@aws-sdk/hash-node": "3.78.0",
26
26
  "@aws-sdk/invalid-dependency": "3.78.0",
27
27
  "@aws-sdk/middleware-content-length": "3.78.0",
28
28
  "@aws-sdk/middleware-host-header": "3.78.0",
29
29
  "@aws-sdk/middleware-logger": "3.78.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.105.0",
30
31
  "@aws-sdk/middleware-retry": "3.80.0",
31
32
  "@aws-sdk/middleware-serde": "3.78.0",
32
33
  "@aws-sdk/middleware-signing": "3.78.0",