@cdk8s/awscdk-resolver 0.0.357 → 0.0.359

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.
Files changed (100) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws/lambda-invoke-store/LICENSE +175 -0
  4. package/node_modules/@aws/lambda-invoke-store/README.md +182 -0
  5. package/node_modules/@aws/lambda-invoke-store/dist/invoke-store.d.ts +52 -0
  6. package/node_modules/@aws/lambda-invoke-store/dist/invoke-store.js +90 -0
  7. package/node_modules/@aws/lambda-invoke-store/package.json +36 -0
  8. package/node_modules/@aws-sdk/client-cloudformation/package.json +3 -3
  9. package/node_modules/@aws-sdk/client-sso/package.json +2 -2
  10. package/node_modules/@aws-sdk/credential-provider-ini/package.json +4 -4
  11. package/node_modules/@aws-sdk/credential-provider-node/package.json +4 -4
  12. package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
  13. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +2 -2
  14. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +14 -32
  15. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js +32 -0
  16. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.native.js +5 -0
  17. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/configuration.js +7 -0
  18. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/getRecursionDetectionPlugin.js +7 -0
  19. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/index.js +2 -37
  20. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.browser.js +1 -0
  21. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.js +28 -0
  22. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.native.js +1 -0
  23. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/configuration.d.ts +5 -0
  24. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/getRecursionDetectionPlugin.d.ts +5 -0
  25. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/index.d.ts +2 -18
  26. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.browser.d.ts +6 -0
  27. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.d.ts +6 -0
  28. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.native.d.ts +6 -0
  29. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/configuration.d.ts +3 -0
  30. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/getRecursionDetectionPlugin.d.ts +4 -0
  31. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/index.d.ts +2 -18
  32. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.browser.d.ts +5 -0
  33. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.d.ts +5 -0
  34. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.native.d.ts +5 -0
  35. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +7 -2
  36. package/node_modules/@aws-sdk/nested-clients/package.json +2 -2
  37. package/node_modules/@aws-sdk/token-providers/package.json +2 -2
  38. package/node_modules/@smithy/abort-controller/package.json +2 -2
  39. package/node_modules/@smithy/config-resolver/package.json +4 -4
  40. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +14 -16
  41. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +155 -221
  42. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +12 -10
  43. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js +12 -22
  44. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +9 -20
  45. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +10 -21
  46. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +76 -87
  47. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js +11 -12
  48. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/Schema.js +16 -3
  49. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +9 -20
  50. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +10 -27
  51. package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +1 -2
  52. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +3 -16
  53. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ListSchema.d.ts +3 -5
  54. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/MapSchema.d.ts +3 -9
  55. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +15 -13
  56. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/OperationSchema.d.ts +3 -2
  57. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/Schema.d.ts +5 -1
  58. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +3 -5
  59. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts +3 -6
  60. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +1 -2
  61. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +3 -16
  62. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +3 -5
  63. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +3 -9
  64. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +15 -13
  65. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +3 -2
  66. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +5 -1
  67. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +3 -5
  68. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +3 -9
  69. package/node_modules/@smithy/core/package.json +7 -7
  70. package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  71. package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
  72. package/node_modules/@smithy/hash-node/package.json +2 -2
  73. package/node_modules/@smithy/invalid-dependency/package.json +2 -2
  74. package/node_modules/@smithy/middleware-content-length/package.json +3 -3
  75. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  76. package/node_modules/@smithy/middleware-retry/package.json +8 -8
  77. package/node_modules/@smithy/middleware-serde/package.json +3 -3
  78. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  79. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  80. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  81. package/node_modules/@smithy/property-provider/package.json +2 -2
  82. package/node_modules/@smithy/protocol-http/package.json +2 -2
  83. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  84. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  85. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  86. package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
  87. package/node_modules/@smithy/signature-v4/package.json +4 -4
  88. package/node_modules/@smithy/smithy-client/package.json +7 -7
  89. package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +9 -2
  90. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +13 -3
  91. package/node_modules/@smithy/types/package.json +1 -1
  92. package/node_modules/@smithy/url-parser/package.json +3 -3
  93. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  94. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  95. package/node_modules/@smithy/util-endpoints/package.json +3 -3
  96. package/node_modules/@smithy/util-middleware/package.json +2 -2
  97. package/node_modules/@smithy/util-retry/package.json +3 -3
  98. package/node_modules/@smithy/util-stream/package.json +4 -4
  99. package/node_modules/@smithy/util-waiter/package.json +3 -3
  100. package/package.json +5 -5
@@ -6,35 +6,31 @@ import type { MemberSchema, NormalizedSchema as INormalizedSchema, Schema as ISc
6
6
  * @alpha
7
7
  */
8
8
  export declare class NormalizedSchema implements INormalizedSchema {
9
- private readonly ref;
9
+ readonly ref: SchemaRef;
10
10
  private memberName?;
11
- static symbol: symbol;
12
- protected symbol: symbol;
11
+ static readonly symbol: unique symbol;
12
+ protected readonly symbol: symbol;
13
13
  private readonly name;
14
+ private readonly schema;
15
+ private readonly _isMemberSchema;
14
16
  private readonly traits;
15
- private _isMemberSchema;
16
- private schema;
17
- private memberTraits;
17
+ private readonly memberTraits;
18
18
  private normalizedTraits?;
19
19
  /**
20
20
  * @param ref - a polymorphic SchemaRef to be dereferenced/normalized.
21
21
  * @param memberName - optional memberName if this NormalizedSchema should be considered a member schema.
22
22
  */
23
- constructor(ref: SchemaRef, memberName?: string | undefined);
23
+ private constructor();
24
24
  static [Symbol.hasInstance](lhs: unknown): lhs is NormalizedSchema;
25
25
  /**
26
26
  * Static constructor that attempts to avoid wrapping a NormalizedSchema within another.
27
27
  */
28
- static of(ref: SchemaRef, memberName?: string): NormalizedSchema;
28
+ static of(ref: SchemaRef): NormalizedSchema;
29
29
  /**
30
30
  * @param indicator - numeric indicator for preset trait combination.
31
31
  * @returns equivalent trait object.
32
32
  */
33
33
  static translateTraits(indicator: SchemaTraits): SchemaTraitsObject;
34
- /**
35
- * Creates a normalized member schema from the given schema and member name.
36
- */
37
- private static memberFrom;
38
34
  /**
39
35
  * @returns the underlying non-normalized schema.
40
36
  */
@@ -56,10 +52,10 @@ export declare class NormalizedSchema implements INormalizedSchema {
56
52
  */
57
53
  isListSchema(): boolean;
58
54
  isMapSchema(): boolean;
59
- isDocumentSchema(): boolean;
60
55
  isStructSchema(): boolean;
61
56
  isBlobSchema(): boolean;
62
57
  isTimestampSchema(): boolean;
58
+ isDocumentSchema(): boolean;
63
59
  isStringSchema(): boolean;
64
60
  isBooleanSchema(): boolean;
65
61
  isNumericSchema(): boolean;
@@ -118,6 +114,8 @@ export declare class NormalizedSchema implements INormalizedSchema {
118
114
  *
119
115
  * This does NOT return list and map members, it is only for structures.
120
116
  *
117
+ * @deprecated use (checked) structIterator instead.
118
+ *
121
119
  * @returns a map of member names to member schemas (normalized).
122
120
  */
123
121
  getMemberSchemas(): Record<string, NormalizedSchema>;
@@ -133,6 +131,10 @@ export declare class NormalizedSchema implements INormalizedSchema {
133
131
  * This avoids the overhead of calling Object.entries(ns.getMemberSchemas()).
134
132
  */
135
133
  structIterator(): Generator<[string, NormalizedSchema], undefined, undefined>;
134
+ /**
135
+ * Creates a normalized member schema from the given schema and member name.
136
+ */
137
+ private memberFrom;
136
138
  /**
137
139
  * @returns a last-resort human-readable name for the schema if it has no other identifiers.
138
140
  */
@@ -7,14 +7,15 @@ import { Schema } from "./Schema";
7
7
  * @alpha
8
8
  */
9
9
  export declare class OperationSchema extends Schema implements IOperationSchema {
10
+ static readonly symbol: unique symbol;
10
11
  name: string;
11
12
  traits: SchemaTraits;
12
13
  input: SchemaRef;
13
14
  output: SchemaRef;
14
- constructor(name: string, traits: SchemaTraits, input: SchemaRef, output: SchemaRef);
15
+ protected readonly symbol: symbol;
15
16
  }
16
17
  /**
17
18
  * Factory for OperationSchema.
18
19
  * @internal
19
20
  */
20
- export declare function op(namespace: string, name: string, traits: SchemaTraits | undefined, input: SchemaRef, output: SchemaRef): OperationSchema;
21
+ export declare const op: (namespace: string, name: string, traits: SchemaTraits, input: SchemaRef, output: SchemaRef) => OperationSchema;
@@ -6,6 +6,10 @@ import type { SchemaTraits, TraitsSchema } from "@smithy/types";
6
6
  */
7
7
  export declare abstract class Schema implements TraitsSchema {
8
8
  name: string;
9
+ namespace: string;
9
10
  traits: SchemaTraits;
10
- protected constructor(name: string, traits: SchemaTraits);
11
+ protected abstract readonly symbol: symbol;
12
+ static assign<T extends Schema>(instance: T, values: Omit<T, "getName" | "symbol">): T;
13
+ static [Symbol.hasInstance](lhs: unknown): boolean;
14
+ getName(): string;
11
15
  }
@@ -7,17 +7,15 @@ import { Schema } from "./Schema";
7
7
  * @alpha
8
8
  */
9
9
  export declare class SimpleSchema extends Schema implements TraitsSchema {
10
+ static readonly symbol: unique symbol;
10
11
  name: string;
11
12
  schemaRef: SchemaRef;
12
13
  traits: SchemaTraits;
13
- static symbol: symbol;
14
- protected symbol: symbol;
15
- constructor(name: string, schemaRef: SchemaRef, traits: SchemaTraits);
16
- static [Symbol.hasInstance](lhs: unknown): lhs is SimpleSchema;
14
+ protected readonly symbol: symbol;
17
15
  }
18
16
  /**
19
17
  * Factory for simple schema class objects.
20
18
  *
21
19
  * @internal
22
20
  */
23
- export declare function sim(namespace: string, name: string, schemaRef: SchemaRef, traits: SchemaTraits): SimpleSchema;
21
+ export declare const sim: (namespace: string, name: string, schemaRef: SchemaRef, traits: SchemaTraits) => SimpleSchema;
@@ -6,19 +6,16 @@ import { Schema } from "./Schema";
6
6
  * @alpha
7
7
  */
8
8
  export declare class StructureSchema extends Schema implements IStructureSchema {
9
+ static symbol: symbol;
9
10
  name: string;
10
11
  traits: SchemaTraits;
11
12
  memberNames: string[];
12
13
  memberList: SchemaRef[];
13
- static symbol: symbol;
14
- protected symbol: symbol;
15
- members: Record<string, [SchemaRef, SchemaTraits]>;
16
- constructor(name: string, traits: SchemaTraits, memberNames: string[], memberList: SchemaRef[]);
17
- static [Symbol.hasInstance](lhs: unknown): lhs is StructureSchema;
14
+ protected readonly symbol: symbol;
18
15
  }
19
16
  /**
20
17
  * Factory for StructureSchema.
21
18
  *
22
19
  * @internal
23
20
  */
24
- export declare function struct(namespace: string, name: string, traits: SchemaTraits, memberNames: string[], memberList: SchemaRef[]): StructureSchema;
21
+ export declare const struct: (namespace: string, name: string, traits: SchemaTraits, memberNames: string[], memberList: SchemaRef[]) => StructureSchema;
@@ -1,6 +1,5 @@
1
1
  import { RpcProtocol } from "@smithy/core/protocols";
2
- import { OperationSchema } from "@smithy/core/schema";
3
- import { EndpointBearer, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, ResponseMetadata, SerdeFunctions } from "@smithy/types";
2
+ import { EndpointBearer, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, ResponseMetadata, SerdeFunctions } from "@smithy/types";
4
3
  import { CborCodec } from "./CborCodec";
5
4
  /**
6
5
  * Client protocol for Smithy RPCv2 CBOR.
@@ -9,22 +9,9 @@ import { StructureSchema } from "./StructureSchema";
9
9
  * @alpha
10
10
  */
11
11
  export declare class ErrorSchema extends StructureSchema {
12
- name: string;
13
- traits: SchemaTraits;
14
- memberNames: string[];
15
- memberList: SchemaRef[];
16
- /**
17
- * Constructor for a modeled service exception class that extends Error.
18
- */
12
+ static readonly symbol: unique symbol;
19
13
  ctor: any;
20
- static symbol: symbol;
21
- protected symbol: symbol;
22
- constructor(name: string, traits: SchemaTraits, memberNames: string[], memberList: SchemaRef[],
23
- /**
24
- * Constructor for a modeled service exception class that extends Error.
25
- */
26
- ctor: any);
27
- static [Symbol.hasInstance](lhs: unknown): lhs is ErrorSchema;
14
+ protected readonly symbol: symbol;
28
15
  }
29
16
  /**
30
17
  * Factory for ErrorSchema, to reduce codegen output and register the schema.
@@ -38,4 +25,4 @@ export declare class ErrorSchema extends StructureSchema {
38
25
  * @param memberList - list of schemaRef corresponding to each
39
26
  * @param ctor - class reference for the existing Error extending class.
40
27
  */
41
- export declare function error(namespace: string, name: string, traits: SchemaTraits | undefined, memberNames: string[], memberList: SchemaRef[], ctor: any): ErrorSchema;
28
+ export declare const error: (namespace: string, name: string, traits: SchemaTraits, memberNames: string[], memberList: SchemaRef[], ctor: any) => ErrorSchema;
@@ -7,17 +7,15 @@ import { Schema } from "./Schema";
7
7
  * @alpha
8
8
  */
9
9
  export declare class ListSchema extends Schema implements IListSchema {
10
+ static readonly symbol: unique symbol;
10
11
  name: string;
11
12
  traits: SchemaTraits;
12
13
  valueSchema: SchemaRef;
13
- static symbol: symbol;
14
- protected symbol: symbol;
15
- constructor(name: string, traits: SchemaTraits, valueSchema: SchemaRef);
16
- static [Symbol.hasInstance](lhs: unknown): lhs is ListSchema;
14
+ protected readonly symbol: symbol;
17
15
  }
18
16
  /**
19
17
  * Factory for ListSchema.
20
18
  *
21
19
  * @internal
22
20
  */
23
- export declare function list(namespace: string, name: string, traits: SchemaTraits | undefined, valueSchema: SchemaRef): ListSchema;
21
+ export declare const list: (namespace: string, name: string, traits: SchemaTraits, valueSchema: SchemaRef) => ListSchema;
@@ -5,6 +5,7 @@ import { Schema } from "./Schema";
5
5
  * @alpha
6
6
  */
7
7
  export declare class MapSchema extends Schema implements IMapSchema {
8
+ static readonly symbol: unique symbol;
8
9
  name: string;
9
10
  traits: SchemaTraits;
10
11
  /**
@@ -12,17 +13,10 @@ export declare class MapSchema extends Schema implements IMapSchema {
12
13
  */
13
14
  keySchema: SchemaRef;
14
15
  valueSchema: SchemaRef;
15
- static symbol: symbol;
16
- protected symbol: symbol;
17
- constructor(name: string, traits: SchemaTraits,
18
- /**
19
- * This is expected to be StringSchema, but may have traits.
20
- */
21
- keySchema: SchemaRef, valueSchema: SchemaRef);
22
- static [Symbol.hasInstance](lhs: unknown): lhs is MapSchema;
16
+ protected readonly symbol: symbol;
23
17
  }
24
18
  /**
25
19
  * Factory for MapSchema.
26
20
  * @internal
27
21
  */
28
- export declare function map(namespace: string, name: string, traits: SchemaTraits | undefined, keySchema: SchemaRef, valueSchema: SchemaRef): MapSchema;
22
+ export declare const map: (namespace: string, name: string, traits: SchemaTraits, keySchema: SchemaRef, valueSchema: SchemaRef) => MapSchema;
@@ -6,35 +6,31 @@ import { MemberSchema, NormalizedSchema as INormalizedSchema, Schema as ISchema,
6
6
  * @alpha
7
7
  */
8
8
  export declare class NormalizedSchema implements INormalizedSchema {
9
- private readonly ref;
9
+ readonly ref: SchemaRef;
10
10
  private memberName?;
11
- static symbol: symbol;
12
- protected symbol: symbol;
11
+ static readonly symbol: unique symbol;
12
+ protected readonly symbol: symbol;
13
13
  private readonly name;
14
+ private readonly schema;
15
+ private readonly _isMemberSchema;
14
16
  private readonly traits;
15
- private _isMemberSchema;
16
- private schema;
17
- private memberTraits;
17
+ private readonly memberTraits;
18
18
  private normalizedTraits?;
19
19
  /**
20
20
  * @param ref - a polymorphic SchemaRef to be dereferenced/normalized.
21
21
  * @param memberName - optional memberName if this NormalizedSchema should be considered a member schema.
22
22
  */
23
- constructor(ref: SchemaRef, memberName?: string | undefined);
23
+ private constructor();
24
24
  static [Symbol.hasInstance](lhs: unknown): lhs is NormalizedSchema;
25
25
  /**
26
26
  * Static constructor that attempts to avoid wrapping a NormalizedSchema within another.
27
27
  */
28
- static of(ref: SchemaRef, memberName?: string): NormalizedSchema;
28
+ static of(ref: SchemaRef): NormalizedSchema;
29
29
  /**
30
30
  * @param indicator - numeric indicator for preset trait combination.
31
31
  * @returns equivalent trait object.
32
32
  */
33
33
  static translateTraits(indicator: SchemaTraits): SchemaTraitsObject;
34
- /**
35
- * Creates a normalized member schema from the given schema and member name.
36
- */
37
- private static memberFrom;
38
34
  /**
39
35
  * @returns the underlying non-normalized schema.
40
36
  */
@@ -56,10 +52,10 @@ export declare class NormalizedSchema implements INormalizedSchema {
56
52
  */
57
53
  isListSchema(): boolean;
58
54
  isMapSchema(): boolean;
59
- isDocumentSchema(): boolean;
60
55
  isStructSchema(): boolean;
61
56
  isBlobSchema(): boolean;
62
57
  isTimestampSchema(): boolean;
58
+ isDocumentSchema(): boolean;
63
59
  isStringSchema(): boolean;
64
60
  isBooleanSchema(): boolean;
65
61
  isNumericSchema(): boolean;
@@ -118,6 +114,8 @@ export declare class NormalizedSchema implements INormalizedSchema {
118
114
  *
119
115
  * This does NOT return list and map members, it is only for structures.
120
116
  *
117
+ * @deprecated use (checked) structIterator instead.
118
+ *
121
119
  * @returns a map of member names to member schemas (normalized).
122
120
  */
123
121
  getMemberSchemas(): Record<string, NormalizedSchema>;
@@ -136,6 +134,10 @@ export declare class NormalizedSchema implements INormalizedSchema {
136
134
  string,
137
135
  NormalizedSchema
138
136
  ], undefined, undefined>;
137
+ /**
138
+ * Creates a normalized member schema from the given schema and member name.
139
+ */
140
+ private memberFrom;
139
141
  /**
140
142
  * @returns a last-resort human-readable name for the schema if it has no other identifiers.
141
143
  */
@@ -7,14 +7,15 @@ import { Schema } from "./Schema";
7
7
  * @alpha
8
8
  */
9
9
  export declare class OperationSchema extends Schema implements IOperationSchema {
10
+ static readonly symbol: unique symbol;
10
11
  name: string;
11
12
  traits: SchemaTraits;
12
13
  input: SchemaRef;
13
14
  output: SchemaRef;
14
- constructor(name: string, traits: SchemaTraits, input: SchemaRef, output: SchemaRef);
15
+ protected readonly symbol: symbol;
15
16
  }
16
17
  /**
17
18
  * Factory for OperationSchema.
18
19
  * @internal
19
20
  */
20
- export declare function op(namespace: string, name: string, traits: SchemaTraits | undefined, input: SchemaRef, output: SchemaRef): OperationSchema;
21
+ export declare const op: (namespace: string, name: string, traits: SchemaTraits, input: SchemaRef, output: SchemaRef) => OperationSchema;
@@ -6,6 +6,10 @@ import { SchemaTraits, TraitsSchema } from "@smithy/types";
6
6
  */
7
7
  export declare abstract class Schema implements TraitsSchema {
8
8
  name: string;
9
+ namespace: string;
9
10
  traits: SchemaTraits;
10
- protected constructor(name: string, traits: SchemaTraits);
11
+ protected abstract readonly symbol: symbol;
12
+ static assign<T extends Schema>(instance: T, values: Pick<T, Exclude<keyof T, "getName" | "symbol">>): T;
13
+ static [Symbol.hasInstance](lhs: unknown): boolean;
14
+ getName(): string;
11
15
  }
@@ -7,17 +7,15 @@ import { Schema } from "./Schema";
7
7
  * @alpha
8
8
  */
9
9
  export declare class SimpleSchema extends Schema implements TraitsSchema {
10
+ static readonly symbol: unique symbol;
10
11
  name: string;
11
12
  schemaRef: SchemaRef;
12
13
  traits: SchemaTraits;
13
- static symbol: symbol;
14
- protected symbol: symbol;
15
- constructor(name: string, schemaRef: SchemaRef, traits: SchemaTraits);
16
- static [Symbol.hasInstance](lhs: unknown): lhs is SimpleSchema;
14
+ protected readonly symbol: symbol;
17
15
  }
18
16
  /**
19
17
  * Factory for simple schema class objects.
20
18
  *
21
19
  * @internal
22
20
  */
23
- export declare function sim(namespace: string, name: string, schemaRef: SchemaRef, traits: SchemaTraits): SimpleSchema;
21
+ export declare const sim: (namespace: string, name: string, schemaRef: SchemaRef, traits: SchemaTraits) => SimpleSchema;
@@ -6,22 +6,16 @@ import { Schema } from "./Schema";
6
6
  * @alpha
7
7
  */
8
8
  export declare class StructureSchema extends Schema implements IStructureSchema {
9
+ static symbol: symbol;
9
10
  name: string;
10
11
  traits: SchemaTraits;
11
12
  memberNames: string[];
12
13
  memberList: SchemaRef[];
13
- static symbol: symbol;
14
- protected symbol: symbol;
15
- members: Record<string, [
16
- SchemaRef,
17
- SchemaTraits
18
- ]>;
19
- constructor(name: string, traits: SchemaTraits, memberNames: string[], memberList: SchemaRef[]);
20
- static [Symbol.hasInstance](lhs: unknown): lhs is StructureSchema;
14
+ protected readonly symbol: symbol;
21
15
  }
22
16
  /**
23
17
  * Factory for StructureSchema.
24
18
  *
25
19
  * @internal
26
20
  */
27
- export declare function struct(namespace: string, name: string, traits: SchemaTraits, memberNames: string[], memberList: SchemaRef[]): StructureSchema;
21
+ export declare const struct: (namespace: string, name: string, traits: SchemaTraits, memberNames: string[], memberList: SchemaRef[]) => StructureSchema;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/core",
3
- "version": "3.10.0",
3
+ "version": "3.11.0",
4
4
  "scripts": {
5
5
  "build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline core",
@@ -77,13 +77,13 @@
77
77
  "license": "Apache-2.0",
78
78
  "sideEffects": false,
79
79
  "dependencies": {
80
- "@smithy/middleware-serde": "^4.1.0",
81
- "@smithy/protocol-http": "^5.2.0",
82
- "@smithy/types": "^4.4.0",
80
+ "@smithy/middleware-serde": "^4.1.1",
81
+ "@smithy/protocol-http": "^5.2.1",
82
+ "@smithy/types": "^4.5.0",
83
83
  "@smithy/util-base64": "^4.1.0",
84
84
  "@smithy/util-body-length-browser": "^4.1.0",
85
- "@smithy/util-middleware": "^4.1.0",
86
- "@smithy/util-stream": "^4.3.0",
85
+ "@smithy/util-middleware": "^4.1.1",
86
+ "@smithy/util-stream": "^4.3.1",
87
87
  "@smithy/util-utf8": "^4.1.0",
88
88
  "@types/uuid": "^9.0.1",
89
89
  "tslib": "^2.6.2",
@@ -119,7 +119,7 @@
119
119
  "directory": "packages/core"
120
120
  },
121
121
  "devDependencies": {
122
- "@smithy/eventstream-serde-node": "^4.1.0",
122
+ "@smithy/eventstream-serde-node": "^4.1.1",
123
123
  "@types/node": "^18.11.9",
124
124
  "concurrently": "7.0.0",
125
125
  "downlevel-dts": "0.10.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/credential-provider-imds",
3
- "version": "4.1.0",
3
+ "version": "4.1.1",
4
4
  "description": "AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,10 +28,10 @@
28
28
  "license": "Apache-2.0",
29
29
  "sideEffects": false,
30
30
  "dependencies": {
31
- "@smithy/node-config-provider": "^4.2.0",
32
- "@smithy/property-provider": "^4.1.0",
33
- "@smithy/types": "^4.4.0",
34
- "@smithy/url-parser": "^4.1.0",
31
+ "@smithy/node-config-provider": "^4.2.1",
32
+ "@smithy/property-provider": "^4.1.1",
33
+ "@smithy/types": "^4.5.0",
34
+ "@smithy/url-parser": "^4.1.1",
35
35
  "tslib": "^2.6.2"
36
36
  },
37
37
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/fetch-http-handler",
3
- "version": "5.2.0",
3
+ "version": "5.2.1",
4
4
  "description": "Provides a way to make requests",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
@@ -28,14 +28,14 @@
28
28
  "module": "./dist-es/index.js",
29
29
  "types": "./dist-types/index.d.ts",
30
30
  "dependencies": {
31
- "@smithy/protocol-http": "^5.2.0",
32
- "@smithy/querystring-builder": "^4.1.0",
33
- "@smithy/types": "^4.4.0",
31
+ "@smithy/protocol-http": "^5.2.1",
32
+ "@smithy/querystring-builder": "^4.1.1",
33
+ "@smithy/types": "^4.5.0",
34
34
  "@smithy/util-base64": "^4.1.0",
35
35
  "tslib": "^2.6.2"
36
36
  },
37
37
  "devDependencies": {
38
- "@smithy/abort-controller": "^4.1.0",
38
+ "@smithy/abort-controller": "^4.1.1",
39
39
  "concurrently": "7.0.0",
40
40
  "downlevel-dts": "0.10.1",
41
41
  "rimraf": "3.0.2",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/hash-node",
3
- "version": "4.1.0",
3
+ "version": "4.1.1",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline hash-node",
@@ -32,7 +32,7 @@
32
32
  "typedoc": "0.23.23"
33
33
  },
34
34
  "dependencies": {
35
- "@smithy/types": "^4.4.0",
35
+ "@smithy/types": "^4.5.0",
36
36
  "@smithy/util-buffer-from": "^4.1.0",
37
37
  "@smithy/util-utf8": "^4.1.0",
38
38
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/invalid-dependency",
3
- "version": "4.1.0",
3
+ "version": "4.1.1",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline invalid-dependency",
@@ -24,7 +24,7 @@
24
24
  "license": "Apache-2.0",
25
25
  "sideEffects": false,
26
26
  "dependencies": {
27
- "@smithy/types": "^4.4.0",
27
+ "@smithy/types": "^4.5.0",
28
28
  "tslib": "^2.6.2"
29
29
  },
30
30
  "typesVersions": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-content-length",
3
- "version": "4.1.0",
3
+ "version": "4.1.1",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline middleware-content-length",
@@ -25,8 +25,8 @@
25
25
  "license": "Apache-2.0",
26
26
  "sideEffects": false,
27
27
  "dependencies": {
28
- "@smithy/protocol-http": "^5.2.0",
29
- "@smithy/types": "^4.4.0",
28
+ "@smithy/protocol-http": "^5.2.1",
29
+ "@smithy/types": "^4.5.0",
30
30
  "tslib": "^2.6.2"
31
31
  },
32
32
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-endpoint",
3
- "version": "4.2.0",
3
+ "version": "4.2.1",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline middleware-endpoint",
@@ -25,13 +25,13 @@
25
25
  "license": "Apache-2.0",
26
26
  "sideEffects": false,
27
27
  "dependencies": {
28
- "@smithy/core": "^3.10.0",
29
- "@smithy/middleware-serde": "^4.1.0",
30
- "@smithy/node-config-provider": "^4.2.0",
31
- "@smithy/shared-ini-file-loader": "^4.1.0",
32
- "@smithy/types": "^4.4.0",
33
- "@smithy/url-parser": "^4.1.0",
34
- "@smithy/util-middleware": "^4.1.0",
28
+ "@smithy/core": "^3.11.0",
29
+ "@smithy/middleware-serde": "^4.1.1",
30
+ "@smithy/node-config-provider": "^4.2.1",
31
+ "@smithy/shared-ini-file-loader": "^4.1.1",
32
+ "@smithy/types": "^4.5.0",
33
+ "@smithy/url-parser": "^4.1.1",
34
+ "@smithy/util-middleware": "^4.1.1",
35
35
  "tslib": "^2.6.2"
36
36
  },
37
37
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-retry",
3
- "version": "4.2.0",
3
+ "version": "4.2.1",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline middleware-retry",
@@ -34,13 +34,13 @@
34
34
  "license": "Apache-2.0",
35
35
  "sideEffects": false,
36
36
  "dependencies": {
37
- "@smithy/node-config-provider": "^4.2.0",
38
- "@smithy/protocol-http": "^5.2.0",
39
- "@smithy/service-error-classification": "^4.1.0",
40
- "@smithy/smithy-client": "^4.6.0",
41
- "@smithy/types": "^4.4.0",
42
- "@smithy/util-middleware": "^4.1.0",
43
- "@smithy/util-retry": "^4.1.0",
37
+ "@smithy/node-config-provider": "^4.2.1",
38
+ "@smithy/protocol-http": "^5.2.1",
39
+ "@smithy/service-error-classification": "^4.1.1",
40
+ "@smithy/smithy-client": "^4.6.1",
41
+ "@smithy/types": "^4.5.0",
42
+ "@smithy/util-middleware": "^4.1.1",
43
+ "@smithy/util-retry": "^4.1.1",
44
44
  "@types/uuid": "^9.0.1",
45
45
  "tslib": "^2.6.2",
46
46
  "uuid": "^9.0.1"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-serde",
3
- "version": "4.1.0",
3
+ "version": "4.1.1",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline middleware-serde",
@@ -26,8 +26,8 @@
26
26
  "license": "Apache-2.0",
27
27
  "sideEffects": false,
28
28
  "dependencies": {
29
- "@smithy/protocol-http": "^5.2.0",
30
- "@smithy/types": "^4.4.0",
29
+ "@smithy/protocol-http": "^5.2.1",
30
+ "@smithy/types": "^4.5.0",
31
31
  "tslib": "^2.6.2"
32
32
  },
33
33
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-stack",
3
- "version": "4.1.0",
3
+ "version": "4.1.1",
4
4
  "description": "Provides a means for composing multiple middleware functions into a single handler",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
@@ -27,7 +27,7 @@
27
27
  "module": "./dist-es/index.js",
28
28
  "types": "./dist-types/index.d.ts",
29
29
  "dependencies": {
30
- "@smithy/types": "^4.4.0",
30
+ "@smithy/types": "^4.5.0",
31
31
  "tslib": "^2.6.2"
32
32
  },
33
33
  "devDependencies": {