@cdk8s/awscdk-resolver 0.0.401 → 0.0.403

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 (137) hide show
  1. package/.jsii +4 -4
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/package.json +5 -5
  4. package/node_modules/@aws-sdk/client-sso/package.json +4 -4
  5. package/node_modules/@aws-sdk/core/dist-cjs/index.js +9 -5
  6. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +9 -5
  7. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +1 -4
  8. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +126 -0
  9. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +8 -1
  10. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +1 -1
  11. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +1 -1
  12. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +1 -1
  13. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +1 -1
  14. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +1 -1
  15. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonCodec.d.ts +1 -1
  16. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeDeserializer.d.ts +1 -1
  17. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeSerializer.d.ts +1 -1
  18. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.d.ts +27 -0
  19. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/jsonReviver.d.ts +1 -1
  20. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +1 -1
  21. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsQueryProtocol.d.ts +1 -1
  22. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QueryShapeSerializer.d.ts +1 -1
  23. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +1 -1
  24. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeDeserializer.d.ts +1 -1
  25. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeSerializer.d.ts +1 -1
  26. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.d.ts +17 -0
  27. package/node_modules/@aws-sdk/core/package.json +1 -1
  28. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  29. package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  30. package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
  31. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  32. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  33. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  34. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  35. package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  36. package/node_modules/@aws-sdk/nested-clients/package.json +4 -4
  37. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  38. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  39. package/node_modules/@smithy/abort-controller/package.json +2 -2
  40. package/node_modules/@smithy/config-resolver/package.json +5 -5
  41. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +4 -1
  42. package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +4 -1
  43. package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +3 -3
  44. package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +1 -1
  45. package/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts +1 -1
  46. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +1 -1
  47. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +1 -1
  48. package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +1 -1
  49. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +1 -1
  50. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +1 -1
  51. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +1 -1
  52. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/ToStringShapeSerializer.d.ts +1 -1
  53. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
  54. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +1 -1
  55. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ListSchema.d.ts +1 -1
  56. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/MapSchema.d.ts +1 -1
  57. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +1 -1
  58. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/OperationSchema.d.ts +1 -1
  59. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/Schema.d.ts +1 -1
  60. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +1 -1
  61. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts +1 -1
  62. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/sentinels.d.ts +1 -1
  63. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +3 -3
  64. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +1 -1
  65. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +1 -1
  66. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +1 -1
  67. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +1 -1
  68. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +1 -1
  69. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +1 -1
  70. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +1 -1
  71. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +1 -1
  72. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts +1 -1
  73. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +1 -1
  74. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +1 -1
  75. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +1 -1
  76. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +1 -1
  77. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +1 -1
  78. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +1 -1
  79. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +1 -1
  80. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +1 -1
  81. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +1 -1
  82. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts +1 -1
  83. package/node_modules/@smithy/core/package.json +7 -7
  84. package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  85. package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
  86. package/node_modules/@smithy/hash-node/package.json +2 -2
  87. package/node_modules/@smithy/invalid-dependency/package.json +2 -2
  88. package/node_modules/@smithy/middleware-content-length/package.json +3 -3
  89. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  90. package/node_modules/@smithy/middleware-retry/package.json +8 -8
  91. package/node_modules/@smithy/middleware-serde/package.json +3 -3
  92. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  93. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  94. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  95. package/node_modules/@smithy/property-provider/package.json +2 -2
  96. package/node_modules/@smithy/protocol-http/package.json +2 -2
  97. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  98. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  99. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  100. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +2 -3
  101. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +10 -6
  102. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js +16 -0
  103. package/node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js +1 -1
  104. package/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +1 -2
  105. package/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +1 -0
  106. package/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +3 -3
  107. package/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +2 -2
  108. package/node_modules/@smithy/shared-ini-file-loader/dist-es/readFile.js +12 -0
  109. package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +2 -0
  110. package/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +1 -0
  111. package/node_modules/@smithy/shared-ini-file-loader/dist-types/readFile.d.ts +21 -0
  112. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +2 -0
  113. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +1 -0
  114. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/readFile.d.ts +21 -0
  115. package/node_modules/@smithy/shared-ini-file-loader/package.json +5 -5
  116. package/node_modules/@smithy/signature-v4/package.json +4 -4
  117. package/node_modules/@smithy/smithy-client/package.json +7 -7
  118. package/node_modules/@smithy/types/dist-types/schema/schema-deprecated.d.ts +12 -12
  119. package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +5 -5
  120. package/node_modules/@smithy/types/dist-types/schema/static-schemas.d.ts +15 -15
  121. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts +12 -12
  122. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +5 -5
  123. package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +15 -15
  124. package/node_modules/@smithy/types/package.json +1 -1
  125. package/node_modules/@smithy/url-parser/package.json +3 -3
  126. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  127. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  128. package/node_modules/@smithy/util-endpoints/package.json +3 -3
  129. package/node_modules/@smithy/util-middleware/package.json +2 -2
  130. package/node_modules/@smithy/util-retry/package.json +3 -3
  131. package/node_modules/@smithy/util-stream/package.json +4 -4
  132. package/node_modules/@smithy/util-waiter/package.json +3 -3
  133. package/package.json +7 -7
  134. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +0 -17
  135. package/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +0 -13
  136. package/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +0 -7
  137. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +0 -7
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-process",
3
- "version": "3.922.0",
3
+ "version": "3.928.0",
4
4
  "description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/core": "3.922.0",
29
+ "@aws-sdk/core": "3.928.0",
30
30
  "@aws-sdk/types": "3.922.0",
31
31
  "@smithy/property-provider": "^4.2.4",
32
32
  "@smithy/shared-ini-file-loader": "^4.3.4",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-sso",
3
- "version": "3.925.0",
3
+ "version": "3.928.0",
4
4
  "description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,9 +26,9 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/client-sso": "3.925.0",
30
- "@aws-sdk/core": "3.922.0",
31
- "@aws-sdk/token-providers": "3.925.0",
29
+ "@aws-sdk/client-sso": "3.928.0",
30
+ "@aws-sdk/core": "3.928.0",
31
+ "@aws-sdk/token-providers": "3.928.0",
32
32
  "@aws-sdk/types": "3.922.0",
33
33
  "@smithy/property-provider": "^4.2.4",
34
34
  "@smithy/shared-ini-file-loader": "^4.3.4",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-web-identity",
3
- "version": "3.925.0",
3
+ "version": "3.928.0",
4
4
  "description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -34,8 +34,8 @@
34
34
  },
35
35
  "license": "Apache-2.0",
36
36
  "dependencies": {
37
- "@aws-sdk/core": "3.922.0",
38
- "@aws-sdk/nested-clients": "3.925.0",
37
+ "@aws-sdk/core": "3.928.0",
38
+ "@aws-sdk/nested-clients": "3.928.0",
39
39
  "@aws-sdk/types": "3.922.0",
40
40
  "@smithy/property-provider": "^4.2.4",
41
41
  "@smithy/shared-ini-file-loader": "^4.3.4",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-user-agent",
3
- "version": "3.922.0",
3
+ "version": "3.928.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-user-agent",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@aws-sdk/core": "3.922.0",
28
+ "@aws-sdk/core": "3.928.0",
29
29
  "@aws-sdk/types": "3.922.0",
30
30
  "@aws-sdk/util-endpoints": "3.922.0",
31
31
  "@smithy/core": "^3.17.2",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/nested-clients",
3
- "version": "3.925.0",
3
+ "version": "3.928.0",
4
4
  "description": "Nested clients for AWS SDK packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -29,16 +29,16 @@
29
29
  "dependencies": {
30
30
  "@aws-crypto/sha256-browser": "5.2.0",
31
31
  "@aws-crypto/sha256-js": "5.2.0",
32
- "@aws-sdk/core": "3.922.0",
32
+ "@aws-sdk/core": "3.928.0",
33
33
  "@aws-sdk/middleware-host-header": "3.922.0",
34
34
  "@aws-sdk/middleware-logger": "3.922.0",
35
35
  "@aws-sdk/middleware-recursion-detection": "3.922.0",
36
- "@aws-sdk/middleware-user-agent": "3.922.0",
36
+ "@aws-sdk/middleware-user-agent": "3.928.0",
37
37
  "@aws-sdk/region-config-resolver": "3.925.0",
38
38
  "@aws-sdk/types": "3.922.0",
39
39
  "@aws-sdk/util-endpoints": "3.922.0",
40
40
  "@aws-sdk/util-user-agent-browser": "3.922.0",
41
- "@aws-sdk/util-user-agent-node": "3.922.0",
41
+ "@aws-sdk/util-user-agent-node": "3.928.0",
42
42
  "@smithy/config-resolver": "^4.4.2",
43
43
  "@smithy/core": "^3.17.2",
44
44
  "@smithy/fetch-http-handler": "^5.3.5",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.925.0",
3
+ "version": "3.928.0",
4
4
  "description": "A collection of token providers",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -29,8 +29,8 @@
29
29
  },
30
30
  "license": "Apache-2.0",
31
31
  "dependencies": {
32
- "@aws-sdk/core": "3.922.0",
33
- "@aws-sdk/nested-clients": "3.925.0",
32
+ "@aws-sdk/core": "3.928.0",
33
+ "@aws-sdk/nested-clients": "3.928.0",
34
34
  "@aws-sdk/types": "3.922.0",
35
35
  "@smithy/property-provider": "^4.2.4",
36
36
  "@smithy/shared-ini-file-loader": "^4.3.4",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-node",
3
- "version": "3.922.0",
3
+ "version": "3.928.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline util-user-agent-node",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@aws-sdk/middleware-user-agent": "3.922.0",
25
+ "@aws-sdk/middleware-user-agent": "3.928.0",
26
26
  "@aws-sdk/types": "3.922.0",
27
27
  "@smithy/node-config-provider": "^4.3.4",
28
28
  "@smithy/types": "^4.8.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/abort-controller",
3
- "version": "4.2.4",
3
+ "version": "4.2.5",
4
4
  "description": "A simple abort controller library",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,7 +26,7 @@
26
26
  "license": "Apache-2.0",
27
27
  "sideEffects": false,
28
28
  "dependencies": {
29
- "@smithy/types": "^4.8.1",
29
+ "@smithy/types": "^4.9.0",
30
30
  "tslib": "^2.6.2"
31
31
  },
32
32
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/config-resolver",
3
- "version": "4.4.2",
3
+ "version": "4.4.3",
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 config-resolver",
@@ -25,11 +25,11 @@
25
25
  "license": "Apache-2.0",
26
26
  "sideEffects": false,
27
27
  "dependencies": {
28
- "@smithy/node-config-provider": "^4.3.4",
29
- "@smithy/types": "^4.8.1",
28
+ "@smithy/node-config-provider": "^4.3.5",
29
+ "@smithy/types": "^4.9.0",
30
30
  "@smithy/util-config-provider": "^4.2.0",
31
- "@smithy/util-endpoints": "^3.2.4",
32
- "@smithy/util-middleware": "^4.2.4",
31
+ "@smithy/util-endpoints": "^3.2.5",
32
+ "@smithy/util-middleware": "^4.2.5",
33
33
  "tslib": "^2.6.2"
34
34
  },
35
35
  "devDependencies": {
@@ -929,7 +929,10 @@ class CborShapeDeserializer extends protocols.SerdeContext {
929
929
  }
930
930
  else if (ns.isStructSchema()) {
931
931
  for (const [key, memberSchema] of ns.structIterator()) {
932
- newObject[key] = this.readValue(memberSchema, value[key]);
932
+ const v = this.readValue(memberSchema, value[key]);
933
+ if (v != null) {
934
+ newObject[key] = v;
935
+ }
933
936
  }
934
937
  }
935
938
  return newObject;
@@ -153,7 +153,10 @@ export class CborShapeDeserializer extends SerdeContext {
153
153
  }
154
154
  else if (ns.isStructSchema()) {
155
155
  for (const [key, memberSchema] of ns.structIterator()) {
156
- newObject[key] = this.readValue(memberSchema, value[key]);
156
+ const v = this.readValue(memberSchema, value[key]);
157
+ if (v != null) {
158
+ newObject[key] = v;
159
+ }
157
160
  }
158
161
  }
159
162
  return newObject;
@@ -1,14 +1,14 @@
1
1
  import { SerdeContext } from "@smithy/core/protocols";
2
2
  import type { Codec, Schema, ShapeDeserializer, ShapeSerializer } from "@smithy/types";
3
3
  /**
4
- * @alpha
4
+ * @public
5
5
  */
6
6
  export declare class CborCodec extends SerdeContext implements Codec<Uint8Array, Uint8Array> {
7
7
  createSerializer(): CborShapeSerializer;
8
8
  createDeserializer(): CborShapeDeserializer;
9
9
  }
10
10
  /**
11
- * @alpha
11
+ * @public
12
12
  */
13
13
  export declare class CborShapeSerializer extends SerdeContext implements ShapeSerializer {
14
14
  private value;
@@ -21,7 +21,7 @@ export declare class CborShapeSerializer extends SerdeContext implements ShapeSe
21
21
  flush(): Uint8Array;
22
22
  }
23
23
  /**
24
- * @alpha
24
+ * @public
25
25
  */
26
26
  export declare class CborShapeDeserializer extends SerdeContext implements ShapeDeserializer {
27
27
  read(schema: Schema, bytes: Uint8Array): any;
@@ -4,7 +4,7 @@ import { CborCodec } from "./CborCodec";
4
4
  /**
5
5
  * Client protocol for Smithy RPCv2 CBOR.
6
6
  *
7
- * @alpha
7
+ * @public
8
8
  */
9
9
  export declare class SmithyRpcV2CborProtocol extends RpcProtocol {
10
10
  private codec;
@@ -4,7 +4,7 @@ import type { EventStreamMarshaller, HttpRequest as IHttpRequest, HttpResponse a
4
4
  * Separated module for async mixin of EventStream serde capability.
5
5
  * This is used by the HttpProtocol base class from \@smithy/core/protocols.
6
6
  *
7
- * @alpha
7
+ * @public
8
8
  */
9
9
  export declare class EventStreamSerde {
10
10
  private readonly marshaller;
@@ -6,7 +6,7 @@ import { HttpProtocol } from "./HttpProtocol";
6
6
  * Base for HTTP-binding protocols. Downstream examples
7
7
  * include AWS REST JSON and AWS REST XML.
8
8
  *
9
- * @alpha
9
+ * @public
10
10
  */
11
11
  export declare abstract class HttpBindingProtocol extends HttpProtocol {
12
12
  serializeRequest<Input extends object>(operationSchema: OperationSchema, _input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<IHttpRequest>;
@@ -5,7 +5,7 @@ import { SerdeContext } from "./SerdeContext";
5
5
  /**
6
6
  * Abstract base for HTTP-based client protocols.
7
7
  *
8
- * @alpha
8
+ * @public
9
9
  */
10
10
  export declare abstract class HttpProtocol extends SerdeContext implements ClientProtocol<IHttpRequest, IHttpResponse> {
11
11
  readonly options: {
@@ -3,7 +3,7 @@ import { HttpProtocol } from "./HttpProtocol";
3
3
  /**
4
4
  * Abstract base for RPC-over-HTTP protocols.
5
5
  *
6
- * @alpha
6
+ * @public
7
7
  */
8
8
  export declare abstract class RpcProtocol extends HttpProtocol {
9
9
  serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<IHttpRequest>;
@@ -3,7 +3,7 @@ import { SerdeContext } from "../SerdeContext";
3
3
  /**
4
4
  * This deserializer reads strings.
5
5
  *
6
- * @alpha
6
+ * @public
7
7
  */
8
8
  export declare class FromStringShapeDeserializer extends SerdeContext implements ShapeDeserializer<string> {
9
9
  private settings;
@@ -7,7 +7,7 @@ import { SerdeContext } from "../SerdeContext";
7
7
  * For example, in a JSON HTTP message, the deserialization of a field will differ depending on whether
8
8
  * it is bound to the HTTP header (string) or body (JSON).
9
9
  *
10
- * @alpha
10
+ * @public
11
11
  */
12
12
  export declare class HttpInterceptingShapeDeserializer<CodecShapeDeserializer extends ShapeDeserializer<any>> extends SerdeContext implements ShapeDeserializer<string | Uint8Array> {
13
13
  private codecDeserializer;
@@ -7,7 +7,7 @@ import { ToStringShapeSerializer } from "./ToStringShapeSerializer";
7
7
  * For example, a JavaScript array is serialized differently when being written
8
8
  * to a REST JSON HTTP header (comma-delimited string) and a REST JSON HTTP body (JSON array).
9
9
  *
10
- * @alpha
10
+ * @public
11
11
  */
12
12
  export declare class HttpInterceptingShapeSerializer<CodecShapeSerializer extends ShapeSerializer<string | Uint8Array>> implements ShapeSerializer<string | Uint8Array>, ConfigurableSerdeContext {
13
13
  private codecSerializer;
@@ -3,7 +3,7 @@ import { SerdeContext } from "../SerdeContext";
3
3
  /**
4
4
  * Serializes a shape to string.
5
5
  *
6
- * @alpha
6
+ * @public
7
7
  */
8
8
  export declare class ToStringShapeSerializer extends SerdeContext implements ShapeSerializer<string> {
9
9
  private settings;
@@ -3,7 +3,7 @@ import type { ErrorSchema } from "./schemas/ErrorSchema";
3
3
  /**
4
4
  * A way to look up schema by their ShapeId values.
5
5
  *
6
- * @alpha
6
+ * @public
7
7
  */
8
8
  export declare class TypeRegistry {
9
9
  readonly namespace: string;
@@ -6,7 +6,7 @@ import { StructureSchema } from "./StructureSchema";
6
6
  * and have an existing notion of a XYZServiceBaseException, the ErrorSchema differs from a StructureSchema
7
7
  * by additionally holding the class reference for the corresponding ServiceException class.
8
8
  *
9
- * @alpha
9
+ * @internal
10
10
  * @deprecated use StaticSchema
11
11
  */
12
12
  export declare class ErrorSchema extends StructureSchema {
@@ -4,7 +4,7 @@ import { Schema } from "./Schema";
4
4
  * A schema with a single member schema.
5
5
  * The deprecated Set type may be represented as a list.
6
6
  *
7
- * @alpha
7
+ * @internal
8
8
  * @deprecated use StaticSchema
9
9
  */
10
10
  export declare class ListSchema extends Schema implements IListSchema {
@@ -2,7 +2,7 @@ import type { MapSchema as IMapSchema, SchemaRef, SchemaTraits } from "@smithy/t
2
2
  import { Schema } from "./Schema";
3
3
  /**
4
4
  * A schema with a key schema and value schema.
5
- * @alpha
5
+ * @internal
6
6
  * @deprecated use StaticSchema
7
7
  */
8
8
  export declare class MapSchema extends Schema implements IMapSchema {
@@ -3,7 +3,7 @@ import type { $MemberSchema, $Schema, $SchemaRef, NormalizedSchema as INormalize
3
3
  * Wraps both class instances, numeric sentinel values, and member schema pairs.
4
4
  * Presents a consistent interface for interacting with polymorphic schema representations.
5
5
  *
6
- * @alpha
6
+ * @public
7
7
  */
8
8
  export declare class NormalizedSchema implements INormalizedSchema {
9
9
  readonly ref: $SchemaRef;
@@ -4,7 +4,7 @@ import { Schema } from "./Schema";
4
4
  * This is used as a reference container for the input/output pair of schema, and for trait
5
5
  * detection on the operation that may affect client protocol logic.
6
6
  *
7
- * @alpha
7
+ * @internal
8
8
  * @deprecated use StaticSchema
9
9
  */
10
10
  export declare class OperationSchema extends Schema implements IOperationSchema {
@@ -2,7 +2,7 @@ import type { SchemaTraits, TraitsSchema } from "@smithy/types";
2
2
  /**
3
3
  * Abstract base for class-based Schema except NormalizedSchema.
4
4
  *
5
- * @alpha
5
+ * @internal
6
6
  * @deprecated use StaticSchema
7
7
  */
8
8
  export declare abstract class Schema implements TraitsSchema {
@@ -4,7 +4,7 @@ import { Schema } from "./Schema";
4
4
  * Although numeric values exist for most simple schema, this class is used for cases where traits are
5
5
  * attached to those schema, since a single number cannot easily represent both a schema and its traits.
6
6
  *
7
- * @alpha
7
+ * @internal
8
8
  * @deprecated use StaticSchema
9
9
  */
10
10
  export declare class SimpleSchema extends Schema implements TraitsSchema {
@@ -3,7 +3,7 @@ import { Schema } from "./Schema";
3
3
  /**
4
4
  * A structure schema has a known list of members. This is also used for unions.
5
5
  *
6
- * @alpha
6
+ * @internal
7
7
  * @deprecated use StaticSchema
8
8
  */
9
9
  export declare class StructureSchema extends Schema implements IStructureSchema {
@@ -1,7 +1,7 @@
1
1
  import type { BigDecimalSchema, BigIntegerSchema, BlobSchema, BooleanSchema, DocumentSchema, ListSchemaModifier, MapSchemaModifier, NumericSchema, StreamingBlobSchema, StringSchema, TimestampDateTimeSchema, TimestampDefaultSchema, TimestampEpochSecondsSchema, TimestampHttpDateSchema } from "@smithy/types";
2
2
  /**
3
3
  * Schema sentinel runtime values.
4
- * @alpha
4
+ * @internal
5
5
  *
6
6
  * @deprecated use inline numbers with type annotation to save space.
7
7
  */
@@ -1,14 +1,14 @@
1
1
  import { SerdeContext } from "@smithy/core/protocols";
2
2
  import { Codec, Schema, ShapeDeserializer, ShapeSerializer } from "@smithy/types";
3
3
  /**
4
- * @alpha
4
+ * @public
5
5
  */
6
6
  export declare class CborCodec extends SerdeContext implements Codec<Uint8Array, Uint8Array> {
7
7
  createSerializer(): CborShapeSerializer;
8
8
  createDeserializer(): CborShapeDeserializer;
9
9
  }
10
10
  /**
11
- * @alpha
11
+ * @public
12
12
  */
13
13
  export declare class CborShapeSerializer extends SerdeContext implements ShapeSerializer {
14
14
  private value;
@@ -21,7 +21,7 @@ export declare class CborShapeSerializer extends SerdeContext implements ShapeSe
21
21
  flush(): Uint8Array;
22
22
  }
23
23
  /**
24
- * @alpha
24
+ * @public
25
25
  */
26
26
  export declare class CborShapeDeserializer extends SerdeContext implements ShapeDeserializer {
27
27
  read(schema: Schema, bytes: Uint8Array): any;
@@ -4,7 +4,7 @@ import { CborCodec } from "./CborCodec";
4
4
  /**
5
5
  * Client protocol for Smithy RPCv2 CBOR.
6
6
  *
7
- * @alpha
7
+ * @public
8
8
  */
9
9
  export declare class SmithyRpcV2CborProtocol extends RpcProtocol {
10
10
  private codec;
@@ -4,7 +4,7 @@ import { EventStreamMarshaller, HttpRequest as IHttpRequest, HttpResponse as IHt
4
4
  * Separated module for async mixin of EventStream serde capability.
5
5
  * This is used by the HttpProtocol base class from \@smithy/core/protocols.
6
6
  *
7
- * @alpha
7
+ * @public
8
8
  */
9
9
  export declare class EventStreamSerde {
10
10
  private readonly marshaller;
@@ -6,7 +6,7 @@ import { HttpProtocol } from "./HttpProtocol";
6
6
  * Base for HTTP-binding protocols. Downstream examples
7
7
  * include AWS REST JSON and AWS REST XML.
8
8
  *
9
- * @alpha
9
+ * @public
10
10
  */
11
11
  export declare abstract class HttpBindingProtocol extends HttpProtocol {
12
12
  serializeRequest<Input extends object>(operationSchema: OperationSchema, _input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<IHttpRequest>;
@@ -5,7 +5,7 @@ import { SerdeContext } from "./SerdeContext";
5
5
  /**
6
6
  * Abstract base for HTTP-based client protocols.
7
7
  *
8
- * @alpha
8
+ * @public
9
9
  */
10
10
  export declare abstract class HttpProtocol extends SerdeContext implements ClientProtocol<IHttpRequest, IHttpResponse> {
11
11
  readonly options: {
@@ -3,7 +3,7 @@ import { HttpProtocol } from "./HttpProtocol";
3
3
  /**
4
4
  * Abstract base for RPC-over-HTTP protocols.
5
5
  *
6
- * @alpha
6
+ * @public
7
7
  */
8
8
  export declare abstract class RpcProtocol extends HttpProtocol {
9
9
  serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<IHttpRequest>;
@@ -3,7 +3,7 @@ import { SerdeContext } from "../SerdeContext";
3
3
  /**
4
4
  * This deserializer reads strings.
5
5
  *
6
- * @alpha
6
+ * @public
7
7
  */
8
8
  export declare class FromStringShapeDeserializer extends SerdeContext implements ShapeDeserializer<string> {
9
9
  private settings;
@@ -7,7 +7,7 @@ import { SerdeContext } from "../SerdeContext";
7
7
  * For example, in a JSON HTTP message, the deserialization of a field will differ depending on whether
8
8
  * it is bound to the HTTP header (string) or body (JSON).
9
9
  *
10
- * @alpha
10
+ * @public
11
11
  */
12
12
  export declare class HttpInterceptingShapeDeserializer<CodecShapeDeserializer extends ShapeDeserializer<any>> extends SerdeContext implements ShapeDeserializer<string | Uint8Array> {
13
13
  private codecDeserializer;
@@ -7,7 +7,7 @@ import { ToStringShapeSerializer } from "./ToStringShapeSerializer";
7
7
  * For example, a JavaScript array is serialized differently when being written
8
8
  * to a REST JSON HTTP header (comma-delimited string) and a REST JSON HTTP body (JSON array).
9
9
  *
10
- * @alpha
10
+ * @public
11
11
  */
12
12
  export declare class HttpInterceptingShapeSerializer<CodecShapeSerializer extends ShapeSerializer<string | Uint8Array>> implements ShapeSerializer<string | Uint8Array>, ConfigurableSerdeContext {
13
13
  private codecSerializer;
@@ -3,7 +3,7 @@ import { SerdeContext } from "../SerdeContext";
3
3
  /**
4
4
  * Serializes a shape to string.
5
5
  *
6
- * @alpha
6
+ * @public
7
7
  */
8
8
  export declare class ToStringShapeSerializer extends SerdeContext implements ShapeSerializer<string> {
9
9
  private settings;
@@ -3,7 +3,7 @@ import { ErrorSchema } from "./schemas/ErrorSchema";
3
3
  /**
4
4
  * A way to look up schema by their ShapeId values.
5
5
  *
6
- * @alpha
6
+ * @public
7
7
  */
8
8
  export declare class TypeRegistry {
9
9
  readonly namespace: string;
@@ -6,7 +6,7 @@ import { StructureSchema } from "./StructureSchema";
6
6
  * and have an existing notion of a XYZServiceBaseException, the ErrorSchema differs from a StructureSchema
7
7
  * by additionally holding the class reference for the corresponding ServiceException class.
8
8
  *
9
- * @alpha
9
+ * @internal
10
10
  * @deprecated use StaticSchema
11
11
  */
12
12
  export declare class ErrorSchema extends StructureSchema {
@@ -4,7 +4,7 @@ import { Schema } from "./Schema";
4
4
  * A schema with a single member schema.
5
5
  * The deprecated Set type may be represented as a list.
6
6
  *
7
- * @alpha
7
+ * @internal
8
8
  * @deprecated use StaticSchema
9
9
  */
10
10
  export declare class ListSchema extends Schema implements IListSchema {
@@ -2,7 +2,7 @@ import { MapSchema as IMapSchema, SchemaRef, SchemaTraits } from "@smithy/types"
2
2
  import { Schema } from "./Schema";
3
3
  /**
4
4
  * A schema with a key schema and value schema.
5
- * @alpha
5
+ * @internal
6
6
  * @deprecated use StaticSchema
7
7
  */
8
8
  export declare class MapSchema extends Schema implements IMapSchema {
@@ -3,7 +3,7 @@ import { $MemberSchema, $Schema, $SchemaRef, NormalizedSchema as INormalizedSche
3
3
  * Wraps both class instances, numeric sentinel values, and member schema pairs.
4
4
  * Presents a consistent interface for interacting with polymorphic schema representations.
5
5
  *
6
- * @alpha
6
+ * @public
7
7
  */
8
8
  export declare class NormalizedSchema implements INormalizedSchema {
9
9
  readonly ref: $SchemaRef;
@@ -4,7 +4,7 @@ import { Schema } from "./Schema";
4
4
  * This is used as a reference container for the input/output pair of schema, and for trait
5
5
  * detection on the operation that may affect client protocol logic.
6
6
  *
7
- * @alpha
7
+ * @internal
8
8
  * @deprecated use StaticSchema
9
9
  */
10
10
  export declare class OperationSchema extends Schema implements IOperationSchema {
@@ -2,7 +2,7 @@ import { SchemaTraits, TraitsSchema } from "@smithy/types";
2
2
  /**
3
3
  * Abstract base for class-based Schema except NormalizedSchema.
4
4
  *
5
- * @alpha
5
+ * @internal
6
6
  * @deprecated use StaticSchema
7
7
  */
8
8
  export declare abstract class Schema implements TraitsSchema {