@cdk8s/awscdk-resolver 0.0.306 → 0.0.308

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 (44) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1 -0
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_0.js +1 -0
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeGeneratedTemplateCommand.d.ts +1 -1
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +2 -1
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_0.d.ts +1 -0
  8. package/node_modules/@aws-sdk/client-cloudformation/package.json +11 -11
  9. package/node_modules/@aws-sdk/client-sso/package.json +10 -10
  10. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +66 -36
  11. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +2 -7
  12. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +2 -7
  13. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsEc2QueryProtocol.js +14 -0
  14. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +20 -7
  15. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QuerySerializerSettings.js +1 -0
  16. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +16 -7
  17. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +2 -7
  18. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonCodec.d.ts +1 -1
  19. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeDeserializer.d.ts +1 -1
  20. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeSerializer.d.ts +1 -1
  21. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +14 -0
  22. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsQueryProtocol.d.ts +10 -0
  23. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QuerySerializerSettings.d.ts +6 -0
  24. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QueryShapeSerializer.d.ts +5 -3
  25. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonCodec.d.ts +1 -1
  26. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeDeserializer.d.ts +1 -1
  27. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeSerializer.d.ts +1 -1
  28. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +13 -1
  29. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +3 -0
  30. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QuerySerializerSettings.d.ts +6 -0
  31. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts +5 -3
  32. package/node_modules/@aws-sdk/core/package.json +3 -3
  33. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  34. package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
  35. package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
  36. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  37. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  38. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  39. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  40. package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
  41. package/node_modules/@aws-sdk/nested-clients/package.json +10 -10
  42. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  43. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  44. package/package.json +4 -4
package/.jsii CHANGED
@@ -7,7 +7,7 @@
7
7
  "url": "https://aws.amazon.com"
8
8
  },
9
9
  "bundled": {
10
- "@aws-sdk/client-cloudformation": "^3.823.0"
10
+ "@aws-sdk/client-cloudformation": "^3.826.0"
11
11
  },
12
12
  "dependencies": {
13
13
  "aws-cdk-lib": "^2.195.0",
@@ -4082,6 +4082,6 @@
4082
4082
  "symbolId": "src/resolve:AwsCdkResolver"
4083
4083
  }
4084
4084
  },
4085
- "version": "0.0.306",
4086
- "fingerprint": "eRnPcLhQkCUgb3Gu3rLO0DVjGUDR6WK++vG9QB94qm8="
4085
+ "version": "0.0.308",
4086
+ "fingerprint": "phNkQoitmXSsPkqevJhda7fUeELoabripFwOaViLedU="
4087
4087
  }
package/lib/resolve.js CHANGED
@@ -61,5 +61,5 @@ class AwsCdkResolver {
61
61
  }
62
62
  exports.AwsCdkResolver = AwsCdkResolver;
63
63
  _a = JSII_RTTI_SYMBOL_1;
64
- AwsCdkResolver[_a] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.306" };
64
+ AwsCdkResolver[_a] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.308" };
65
65
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9yZXNvbHZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsaURBQTZDO0FBQzdDLDZCQUE2QjtBQUM3Qiw2Q0FBK0U7QUFJL0UsTUFBYSxjQUFjO0lBRWxCLE9BQU8sQ0FBQyxPQUEwQjtRQUV2QyxJQUFJLENBQUMsbUJBQUssQ0FBQyxZQUFZLENBQUMs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FibGUgdG8gZmluZCBvdXRwdXQgZGVmaW5lZCBmb3IgJHt2YWx1ZX0gKEluc3BlY3RlZCBzdGFja3M6ICR7aW5zcGVjdGVkU3RhY2tzLm1hcChzID0+IHMuc3RhY2tOYW1lKS5qb2luKCcsJyl9KWApO1xuXG4gIH1cblxuICBwcml2YXRlIGZldGNoT3V0cHV0VmFsdWUob3V0cHV0OiBDZm5PdXRwdXQpIHtcblxuICAgIGNvbnN0IHNjcmlwdCA9IHBhdGguam9pbihfX2Rpcm5hbWUsICcuLicsICdsaWInLCAnZmV0Y2gtb3V0cHV0LXZhbHVlLmpzJyk7XG4gICAgcmV0dXJuIEpTT04ucGFyc2UoZXhlY0ZpbGVTeW5jKHByb2Nlc3MuZXhlY1BhdGgsIFtcbiAgICAgIHNjcmlwdCxcbiAgICAgIFN0YWNrLm9mKG91dHB1dCkuc3RhY2tOYW1lLFxuICAgICAgb3V0cHV0Lm5vZGUuaWQsXG4gICAgXSwgeyBlbmNvZGluZzogJ3V0Zi04Jywgc3RkaW86IFsncGlwZSddIH0pLnRvU3RyaW5nKCkudHJpbSgpKTtcblxuICB9XG5cbn1cbiJdfQ==
@@ -1016,6 +1016,7 @@ var GeneratedTemplateResourceStatus = {
1016
1016
  PENDING: "PENDING"
1017
1017
  };
1018
1018
  var WarningType = {
1019
+ EXCLUDED_PROPERTIES: "EXCLUDED_PROPERTIES",
1019
1020
  MUTUALLY_EXCLUSIVE_PROPERTIES: "MUTUALLY_EXCLUSIVE_PROPERTIES",
1020
1021
  MUTUALLY_EXCLUSIVE_TYPES: "MUTUALLY_EXCLUSIVE_TYPES",
1021
1022
  UNSUPPORTED_PROPERTIES: "UNSUPPORTED_PROPERTIES"
@@ -451,6 +451,7 @@ export const GeneratedTemplateResourceStatus = {
451
451
  PENDING: "PENDING",
452
452
  };
453
453
  export const WarningType = {
454
+ EXCLUDED_PROPERTIES: "EXCLUDED_PROPERTIES",
454
455
  MUTUALLY_EXCLUSIVE_PROPERTIES: "MUTUALLY_EXCLUSIVE_PROPERTIES",
455
456
  MUTUALLY_EXCLUSIVE_TYPES: "MUTUALLY_EXCLUSIVE_TYPES",
456
457
  UNSUPPORTED_PROPERTIES: "UNSUPPORTED_PROPERTIES",
@@ -56,7 +56,7 @@ declare const DescribeGeneratedTemplateCommand_base: {
56
56
  * // ResourceStatusReason: "STRING_VALUE",
57
57
  * // Warnings: [ // WarningDetails
58
58
  * // { // WarningDetail
59
- * // Type: "MUTUALLY_EXCLUSIVE_PROPERTIES" || "UNSUPPORTED_PROPERTIES" || "MUTUALLY_EXCLUSIVE_TYPES",
59
+ * // Type: "MUTUALLY_EXCLUSIVE_PROPERTIES" || "UNSUPPORTED_PROPERTIES" || "MUTUALLY_EXCLUSIVE_TYPES" || "EXCLUDED_PROPERTIES",
60
60
  * // Properties: [ // WarningProperties
61
61
  * // { // WarningProperty
62
62
  * // PropertyPath: "STRING_VALUE",
@@ -3875,6 +3875,7 @@ export interface WarningProperty {
3875
3875
  * @enum
3876
3876
  */
3877
3877
  export declare const WarningType: {
3878
+ readonly EXCLUDED_PROPERTIES: "EXCLUDED_PROPERTIES";
3878
3879
  readonly MUTUALLY_EXCLUSIVE_PROPERTIES: "MUTUALLY_EXCLUSIVE_PROPERTIES";
3879
3880
  readonly MUTUALLY_EXCLUSIVE_TYPES: "MUTUALLY_EXCLUSIVE_TYPES";
3880
3881
  readonly UNSUPPORTED_PROPERTIES: "UNSUPPORTED_PROPERTIES";
@@ -4262,7 +4263,7 @@ export interface ScanFilter {
4262
4263
  * the full list of supported resource types, see the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html">Resource type
4263
4264
  * support</a> table in the <i>CloudFormation User Guide</i>.</p>
4264
4265
  * <p>To scan all resource types within a service, you can use a wildcard, represented by an
4265
- * asterisk (<code>*</code>). You can place a asterisk at only the end of the string, for example,
4266
+ * asterisk (<code>*</code>). You can place an asterisk at only the end of the string, for example,
4266
4267
  * <code>AWS::S3::*</code>.</p>
4267
4268
  * @public
4268
4269
  */
@@ -821,6 +821,7 @@ export interface WarningProperty {
821
821
  Description?: string | undefined;
822
822
  }
823
823
  export declare const WarningType: {
824
+ readonly EXCLUDED_PROPERTIES: "EXCLUDED_PROPERTIES";
824
825
  readonly MUTUALLY_EXCLUSIVE_PROPERTIES: "MUTUALLY_EXCLUSIVE_PROPERTIES";
825
826
  readonly MUTUALLY_EXCLUSIVE_TYPES: "MUTUALLY_EXCLUSIVE_TYPES";
826
827
  readonly UNSUPPORTED_PROPERTIES: "UNSUPPORTED_PROPERTIES";
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudformation",
3
3
  "description": "AWS SDK for JavaScript Cloudformation Client for Node.js, Browser and React Native",
4
- "version": "3.823.0",
4
+ "version": "3.826.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cloudformation",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.823.0",
24
- "@aws-sdk/credential-provider-node": "3.823.0",
23
+ "@aws-sdk/core": "3.826.0",
24
+ "@aws-sdk/credential-provider-node": "3.826.0",
25
25
  "@aws-sdk/middleware-host-header": "3.821.0",
26
26
  "@aws-sdk/middleware-logger": "3.821.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.821.0",
28
- "@aws-sdk/middleware-user-agent": "3.823.0",
28
+ "@aws-sdk/middleware-user-agent": "3.826.0",
29
29
  "@aws-sdk/region-config-resolver": "3.821.0",
30
30
  "@aws-sdk/types": "3.821.0",
31
31
  "@aws-sdk/util-endpoints": "3.821.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.821.0",
33
- "@aws-sdk/util-user-agent-node": "3.823.0",
33
+ "@aws-sdk/util-user-agent-node": "3.826.0",
34
34
  "@smithy/config-resolver": "^4.1.4",
35
- "@smithy/core": "^3.5.1",
35
+ "@smithy/core": "^3.5.3",
36
36
  "@smithy/fetch-http-handler": "^5.0.4",
37
37
  "@smithy/hash-node": "^4.0.4",
38
38
  "@smithy/invalid-dependency": "^4.0.4",
39
39
  "@smithy/middleware-content-length": "^4.0.4",
40
- "@smithy/middleware-endpoint": "^4.1.9",
41
- "@smithy/middleware-retry": "^4.1.10",
40
+ "@smithy/middleware-endpoint": "^4.1.11",
41
+ "@smithy/middleware-retry": "^4.1.12",
42
42
  "@smithy/middleware-serde": "^4.0.8",
43
43
  "@smithy/middleware-stack": "^4.0.4",
44
44
  "@smithy/node-config-provider": "^4.1.3",
45
45
  "@smithy/node-http-handler": "^4.0.6",
46
46
  "@smithy/protocol-http": "^5.1.2",
47
- "@smithy/smithy-client": "^4.4.1",
47
+ "@smithy/smithy-client": "^4.4.3",
48
48
  "@smithy/types": "^4.3.1",
49
49
  "@smithy/url-parser": "^4.0.4",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.17",
54
- "@smithy/util-defaults-mode-node": "^4.0.17",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.19",
54
+ "@smithy/util-defaults-mode-node": "^4.0.19",
55
55
  "@smithy/util-endpoints": "^3.0.6",
56
56
  "@smithy/util-middleware": "^4.0.4",
57
57
  "@smithy/util-retry": "^4.0.5",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso",
3
3
  "description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
4
- "version": "3.823.0",
4
+ "version": "3.826.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sso",
@@ -20,37 +20,37 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.823.0",
23
+ "@aws-sdk/core": "3.826.0",
24
24
  "@aws-sdk/middleware-host-header": "3.821.0",
25
25
  "@aws-sdk/middleware-logger": "3.821.0",
26
26
  "@aws-sdk/middleware-recursion-detection": "3.821.0",
27
- "@aws-sdk/middleware-user-agent": "3.823.0",
27
+ "@aws-sdk/middleware-user-agent": "3.826.0",
28
28
  "@aws-sdk/region-config-resolver": "3.821.0",
29
29
  "@aws-sdk/types": "3.821.0",
30
30
  "@aws-sdk/util-endpoints": "3.821.0",
31
31
  "@aws-sdk/util-user-agent-browser": "3.821.0",
32
- "@aws-sdk/util-user-agent-node": "3.823.0",
32
+ "@aws-sdk/util-user-agent-node": "3.826.0",
33
33
  "@smithy/config-resolver": "^4.1.4",
34
- "@smithy/core": "^3.5.1",
34
+ "@smithy/core": "^3.5.3",
35
35
  "@smithy/fetch-http-handler": "^5.0.4",
36
36
  "@smithy/hash-node": "^4.0.4",
37
37
  "@smithy/invalid-dependency": "^4.0.4",
38
38
  "@smithy/middleware-content-length": "^4.0.4",
39
- "@smithy/middleware-endpoint": "^4.1.9",
40
- "@smithy/middleware-retry": "^4.1.10",
39
+ "@smithy/middleware-endpoint": "^4.1.11",
40
+ "@smithy/middleware-retry": "^4.1.12",
41
41
  "@smithy/middleware-serde": "^4.0.8",
42
42
  "@smithy/middleware-stack": "^4.0.4",
43
43
  "@smithy/node-config-provider": "^4.1.3",
44
44
  "@smithy/node-http-handler": "^4.0.6",
45
45
  "@smithy/protocol-http": "^5.1.2",
46
- "@smithy/smithy-client": "^4.4.1",
46
+ "@smithy/smithy-client": "^4.4.3",
47
47
  "@smithy/types": "^4.3.1",
48
48
  "@smithy/url-parser": "^4.0.4",
49
49
  "@smithy/util-base64": "^4.0.0",
50
50
  "@smithy/util-body-length-browser": "^4.0.0",
51
51
  "@smithy/util-body-length-node": "^4.0.0",
52
- "@smithy/util-defaults-mode-browser": "^4.0.17",
53
- "@smithy/util-defaults-mode-node": "^4.0.17",
52
+ "@smithy/util-defaults-mode-browser": "^4.0.19",
53
+ "@smithy/util-defaults-mode-node": "^4.0.19",
54
54
  "@smithy/util-endpoints": "^3.0.6",
55
55
  "@smithy/util-middleware": "^4.0.4",
56
56
  "@smithy/util-retry": "^4.0.5",
@@ -542,7 +542,7 @@ var AwsJsonRpcProtocol = class extends import_protocols.RpcProtocol {
542
542
  try {
543
543
  errorSchema = registry.getSchema(errorIdentifier);
544
544
  } catch (e) {
545
- const baseExceptionSchema = import_schema3.TypeRegistry.for("awssdkjs.synthetic." + namespace).getBaseException();
545
+ const baseExceptionSchema = import_schema3.TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace).getBaseException();
546
546
  if (baseExceptionSchema) {
547
547
  const ErrorCtor = baseExceptionSchema.ctor;
548
548
  throw Object.assign(new ErrorCtor(errorName), dataObject);
@@ -552,12 +552,7 @@ var AwsJsonRpcProtocol = class extends import_protocols.RpcProtocol {
552
552
  const ns = import_schema3.NormalizedSchema.of(errorSchema);
553
553
  const message = dataObject.message ?? dataObject.Message ?? "Unknown";
554
554
  const exception = new errorSchema.ctor(message);
555
- const headerBindings = new Set(
556
- Object.values(import_schema3.NormalizedSchema.of(errorSchema).getMemberSchemas()).map((schema) => {
557
- return schema.getMergedTraits().httpHeader;
558
- }).filter(Boolean)
559
- );
560
- await this.deserializeHttpMessage(errorSchema, context, response, headerBindings, dataObject);
555
+ await this.deserializeHttpMessage(errorSchema, context, response, dataObject);
561
556
  const output = {};
562
557
  for (const [name, member] of ns.structIterator()) {
563
558
  const target = member.getMergedTraits().jsonName ?? name;
@@ -699,7 +694,7 @@ var AwsRestJsonProtocol = class extends import_protocols2.HttpBindingProtocol {
699
694
  try {
700
695
  errorSchema = registry.getSchema(errorIdentifier);
701
696
  } catch (e) {
702
- const baseExceptionSchema = import_schema4.TypeRegistry.for("awssdkjs.synthetic." + namespace).getBaseException();
697
+ const baseExceptionSchema = import_schema4.TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace).getBaseException();
703
698
  if (baseExceptionSchema) {
704
699
  const ErrorCtor = baseExceptionSchema.ctor;
705
700
  throw Object.assign(new ErrorCtor(errorName), dataObject);
@@ -709,12 +704,7 @@ var AwsRestJsonProtocol = class extends import_protocols2.HttpBindingProtocol {
709
704
  const ns = import_schema4.NormalizedSchema.of(errorSchema);
710
705
  const message = dataObject.message ?? dataObject.Message ?? "Unknown";
711
706
  const exception = new errorSchema.ctor(message);
712
- const headerBindings = new Set(
713
- Object.values(import_schema4.NormalizedSchema.of(errorSchema).getMemberSchemas()).map((schema) => {
714
- return schema.getMergedTraits().httpHeader;
715
- }).filter(Boolean)
716
- );
717
- await this.deserializeHttpMessage(errorSchema, context, response, headerBindings, dataObject);
707
+ await this.deserializeHttpMessage(errorSchema, context, response, dataObject);
718
708
  const output = {};
719
709
  for (const [name, member] of ns.structIterator()) {
720
710
  const target = member.getMergedTraits().jsonName ?? name;
@@ -965,17 +955,19 @@ var QueryShapeSerializer = class extends SerdeContextConfig {
965
955
  } else if (ns.isListSchema()) {
966
956
  if (Array.isArray(value)) {
967
957
  if (value.length === 0) {
968
- this.writeKey(prefix);
969
- this.writeValue("");
958
+ if (this.settings.serializeEmptyLists) {
959
+ this.writeKey(prefix);
960
+ this.writeValue("");
961
+ }
970
962
  } else {
971
963
  const member = ns.getValueSchema();
972
- const flat = ns.getMergedTraits().xmlFlattened;
964
+ const flat = this.settings.flattenLists || ns.getMergedTraits().xmlFlattened;
973
965
  let i = 1;
974
966
  for (const item of value) {
975
967
  if (item == null) {
976
968
  continue;
977
969
  }
978
- const suffix = member.getMergedTraits().xmlName ?? "member";
970
+ const suffix = this.getKey("member", member.getMergedTraits().xmlName);
979
971
  const key = flat ? `${prefix}${i}` : `${prefix}${suffix}.${i}`;
980
972
  this.write(member, item, key);
981
973
  ++i;
@@ -992,9 +984,9 @@ var QueryShapeSerializer = class extends SerdeContextConfig {
992
984
  if (v == null) {
993
985
  continue;
994
986
  }
995
- const keySuffix = keySchema.getMergedTraits().xmlName ?? "key";
987
+ const keySuffix = this.getKey("key", keySchema.getMergedTraits().xmlName);
996
988
  const key = flat ? `${prefix}${i}.${keySuffix}` : `${prefix}entry.${i}.${keySuffix}`;
997
- const valueSuffix = memberSchema.getMergedTraits().xmlName ?? "value";
989
+ const valueSuffix = this.getKey("value", memberSchema.getMergedTraits().xmlName);
998
990
  const valueKey = flat ? `${prefix}${i}.${valueSuffix}` : `${prefix}entry.${i}.${valueSuffix}`;
999
991
  this.write(keySchema, k, key);
1000
992
  this.write(memberSchema, v, valueKey);
@@ -1007,7 +999,7 @@ var QueryShapeSerializer = class extends SerdeContextConfig {
1007
999
  if (value[memberName] == null) {
1008
1000
  continue;
1009
1001
  }
1010
- const suffix = member.getMergedTraits().xmlName ?? memberName;
1002
+ const suffix = this.getKey(memberName, member.getMergedTraits().xmlName);
1011
1003
  const key = `${prefix}${suffix}`;
1012
1004
  this.write(member, value[memberName], key);
1013
1005
  }
@@ -1025,6 +1017,13 @@ var QueryShapeSerializer = class extends SerdeContextConfig {
1025
1017
  delete this.buffer;
1026
1018
  return str;
1027
1019
  }
1020
+ getKey(memberName, xmlName) {
1021
+ const key = xmlName ?? memberName;
1022
+ if (this.settings.capitalizeKeys) {
1023
+ return key[0].toUpperCase() + key.slice(1);
1024
+ }
1025
+ return key;
1026
+ }
1028
1027
  writeKey(key) {
1029
1028
  if (key.endsWith(".")) {
1030
1029
  key = key.slice(0, key.length - 1);
@@ -1050,7 +1049,8 @@ var AwsQueryProtocol = class extends import_protocols5.RpcProtocol {
1050
1049
  },
1051
1050
  httpBindings: false,
1052
1051
  xmlNamespace: options.xmlNamespace,
1053
- serviceNamespace: options.defaultNamespace
1052
+ serviceNamespace: options.defaultNamespace,
1053
+ serializeEmptyLists: true
1054
1054
  };
1055
1055
  this.serializer = new QueryShapeSerializer(settings);
1056
1056
  this.deserializer = new XmlShapeDeserializer(settings);
@@ -1107,7 +1107,7 @@ var AwsQueryProtocol = class extends import_protocols5.RpcProtocol {
1107
1107
  delete response.headers[header];
1108
1108
  response.headers[header.toLowerCase()] = value;
1109
1109
  }
1110
- const awsQueryResultKey = ns.isStructSchema() ? operationSchema.name.split("#")[1] + "Result" : void 0;
1110
+ const awsQueryResultKey = ns.isStructSchema() && this.useNestedResult() ? operationSchema.name.split("#")[1] + "Result" : void 0;
1111
1111
  const bytes = await (0, import_protocols5.collectBody)(response.body, context);
1112
1112
  if (bytes.byteLength > 0) {
1113
1113
  Object.assign(dataObject, await deserializer.read(ns, bytes, awsQueryResultKey));
@@ -1118,6 +1118,12 @@ var AwsQueryProtocol = class extends import_protocols5.RpcProtocol {
1118
1118
  };
1119
1119
  return output;
1120
1120
  }
1121
+ /**
1122
+ * EC2 Query overrides this.
1123
+ */
1124
+ useNestedResult() {
1125
+ return true;
1126
+ }
1121
1127
  async handleError(operationSchema, context, response, dataObject, metadata) {
1122
1128
  const errorIdentifier = this.loadQueryErrorCode(response, dataObject) ?? "Unknown";
1123
1129
  let namespace = this.options.defaultNamespace;
@@ -1125,6 +1131,7 @@ var AwsQueryProtocol = class extends import_protocols5.RpcProtocol {
1125
1131
  if (errorIdentifier.includes("#")) {
1126
1132
  [namespace, errorName] = errorIdentifier.split("#");
1127
1133
  }
1134
+ const errorDataSource = this.loadQueryError(dataObject);
1128
1135
  const registry = import_schema7.TypeRegistry.for(namespace);
1129
1136
  let errorSchema;
1130
1137
  try {
@@ -1135,20 +1142,20 @@ var AwsQueryProtocol = class extends import_protocols5.RpcProtocol {
1135
1142
  errorSchema = registry.getSchema(errorIdentifier);
1136
1143
  }
1137
1144
  } catch (e) {
1138
- const baseExceptionSchema = import_schema7.TypeRegistry.for("awssdkjs.synthetic." + namespace).getBaseException();
1145
+ const baseExceptionSchema = import_schema7.TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace).getBaseException();
1139
1146
  if (baseExceptionSchema) {
1140
1147
  const ErrorCtor = baseExceptionSchema.ctor;
1141
- throw Object.assign(new ErrorCtor(errorName), dataObject);
1148
+ throw Object.assign(new ErrorCtor(errorName), errorDataSource);
1142
1149
  }
1143
1150
  throw new Error(errorName);
1144
1151
  }
1145
1152
  const ns = import_schema7.NormalizedSchema.of(errorSchema);
1146
- const message = dataObject.Error?.message ?? dataObject.Error?.Message ?? dataObject.message ?? dataObject.Message ?? "Unknown";
1153
+ const message = this.loadQueryErrorMessage(dataObject);
1147
1154
  const exception = new errorSchema.ctor(message);
1148
1155
  const output = {};
1149
1156
  for (const [name, member] of ns.structIterator()) {
1150
1157
  const target = member.getMergedTraits().xmlName ?? name;
1151
- const value = dataObject.Error?.[target] ?? dataObject[target];
1158
+ const value = errorDataSource[target] ?? dataObject[target];
1152
1159
  output[name] = this.deserializer.readSchema(member, value);
1153
1160
  }
1154
1161
  Object.assign(exception, {
@@ -1160,21 +1167,49 @@ var AwsQueryProtocol = class extends import_protocols5.RpcProtocol {
1160
1167
  });
1161
1168
  throw exception;
1162
1169
  }
1170
+ /**
1171
+ * The variations in the error and error message locations are attributed to
1172
+ * divergence between AWS Query and EC2 Query behavior.
1173
+ */
1163
1174
  loadQueryErrorCode(output, data) {
1164
- if (data.Error?.Code !== void 0) {
1165
- return data.Error.Code;
1175
+ const code = (data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error)?.Code;
1176
+ if (code !== void 0) {
1177
+ return code;
1166
1178
  }
1167
1179
  if (output.statusCode == 404) {
1168
1180
  return "NotFound";
1169
1181
  }
1170
1182
  }
1183
+ loadQueryError(data) {
1184
+ return data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error;
1185
+ }
1186
+ loadQueryErrorMessage(data) {
1187
+ const errorData = this.loadQueryError(data);
1188
+ return errorData?.message ?? errorData?.Message ?? data.message ?? data.Message ?? "Unknown";
1189
+ }
1171
1190
  };
1172
1191
 
1173
1192
  // src/submodules/protocols/query/AwsEc2QueryProtocol.ts
1174
1193
  var AwsEc2QueryProtocol = class extends AwsQueryProtocol {
1194
+ constructor(options) {
1195
+ super(options);
1196
+ this.options = options;
1197
+ const ec2Settings = {
1198
+ capitalizeKeys: true,
1199
+ flattenLists: true,
1200
+ serializeEmptyLists: false
1201
+ };
1202
+ Object.assign(this.serializer.settings, ec2Settings);
1203
+ }
1175
1204
  static {
1176
1205
  __name(this, "AwsEc2QueryProtocol");
1177
1206
  }
1207
+ /**
1208
+ * EC2 Query reads XResponse.XResult instead of XResponse directly.
1209
+ */
1210
+ useNestedResult() {
1211
+ return false;
1212
+ }
1178
1213
  };
1179
1214
 
1180
1215
  // src/submodules/protocols/xml/AwsRestXmlProtocol.ts
@@ -1622,7 +1657,7 @@ var AwsRestXmlProtocol = class extends import_protocols6.HttpBindingProtocol {
1622
1657
  try {
1623
1658
  errorSchema = registry.getSchema(errorIdentifier);
1624
1659
  } catch (e) {
1625
- const baseExceptionSchema = import_schema9.TypeRegistry.for("awssdkjs.synthetic." + namespace).getBaseException();
1660
+ const baseExceptionSchema = import_schema9.TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace).getBaseException();
1626
1661
  if (baseExceptionSchema) {
1627
1662
  const ErrorCtor = baseExceptionSchema.ctor;
1628
1663
  throw Object.assign(new ErrorCtor(errorName), dataObject);
@@ -1632,12 +1667,7 @@ var AwsRestXmlProtocol = class extends import_protocols6.HttpBindingProtocol {
1632
1667
  const ns = import_schema9.NormalizedSchema.of(errorSchema);
1633
1668
  const message = dataObject.Error?.message ?? dataObject.Error?.Message ?? dataObject.message ?? dataObject.Message ?? "Unknown";
1634
1669
  const exception = new errorSchema.ctor(message);
1635
- const headerBindings = new Set(
1636
- Object.values(import_schema9.NormalizedSchema.of(errorSchema).getMemberSchemas()).map((schema) => {
1637
- return schema.getMergedTraits().httpHeader;
1638
- }).filter(Boolean)
1639
- );
1640
- await this.deserializeHttpMessage(errorSchema, context, response, headerBindings, dataObject);
1670
+ await this.deserializeHttpMessage(errorSchema, context, response, dataObject);
1641
1671
  const output = {};
1642
1672
  for (const [name, member] of ns.structIterator()) {
1643
1673
  const target = member.getMergedTraits().xmlName ?? name;
@@ -56,7 +56,7 @@ export class AwsJsonRpcProtocol extends RpcProtocol {
56
56
  errorSchema = registry.getSchema(errorIdentifier);
57
57
  }
58
58
  catch (e) {
59
- const baseExceptionSchema = TypeRegistry.for("awssdkjs.synthetic." + namespace).getBaseException();
59
+ const baseExceptionSchema = TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace).getBaseException();
60
60
  if (baseExceptionSchema) {
61
61
  const ErrorCtor = baseExceptionSchema.ctor;
62
62
  throw Object.assign(new ErrorCtor(errorName), dataObject);
@@ -66,12 +66,7 @@ export class AwsJsonRpcProtocol extends RpcProtocol {
66
66
  const ns = NormalizedSchema.of(errorSchema);
67
67
  const message = dataObject.message ?? dataObject.Message ?? "Unknown";
68
68
  const exception = new errorSchema.ctor(message);
69
- const headerBindings = new Set(Object.values(NormalizedSchema.of(errorSchema).getMemberSchemas())
70
- .map((schema) => {
71
- return schema.getMergedTraits().httpHeader;
72
- })
73
- .filter(Boolean));
74
- await this.deserializeHttpMessage(errorSchema, context, response, headerBindings, dataObject);
69
+ await this.deserializeHttpMessage(errorSchema, context, response, dataObject);
75
70
  const output = {};
76
71
  for (const [name, member] of ns.structIterator()) {
77
72
  const target = member.getMergedTraits().jsonName ?? name;
@@ -90,7 +90,7 @@ export class AwsRestJsonProtocol extends HttpBindingProtocol {
90
90
  errorSchema = registry.getSchema(errorIdentifier);
91
91
  }
92
92
  catch (e) {
93
- const baseExceptionSchema = TypeRegistry.for("awssdkjs.synthetic." + namespace).getBaseException();
93
+ const baseExceptionSchema = TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace).getBaseException();
94
94
  if (baseExceptionSchema) {
95
95
  const ErrorCtor = baseExceptionSchema.ctor;
96
96
  throw Object.assign(new ErrorCtor(errorName), dataObject);
@@ -100,12 +100,7 @@ export class AwsRestJsonProtocol extends HttpBindingProtocol {
100
100
  const ns = NormalizedSchema.of(errorSchema);
101
101
  const message = dataObject.message ?? dataObject.Message ?? "Unknown";
102
102
  const exception = new errorSchema.ctor(message);
103
- const headerBindings = new Set(Object.values(NormalizedSchema.of(errorSchema).getMemberSchemas())
104
- .map((schema) => {
105
- return schema.getMergedTraits().httpHeader;
106
- })
107
- .filter(Boolean));
108
- await this.deserializeHttpMessage(errorSchema, context, response, headerBindings, dataObject);
103
+ await this.deserializeHttpMessage(errorSchema, context, response, dataObject);
109
104
  const output = {};
110
105
  for (const [name, member] of ns.structIterator()) {
111
106
  const target = member.getMergedTraits().jsonName ?? name;
@@ -1,3 +1,17 @@
1
1
  import { AwsQueryProtocol } from "./AwsQueryProtocol";
2
2
  export class AwsEc2QueryProtocol extends AwsQueryProtocol {
3
+ options;
4
+ constructor(options) {
5
+ super(options);
6
+ this.options = options;
7
+ const ec2Settings = {
8
+ capitalizeKeys: true,
9
+ flattenLists: true,
10
+ serializeEmptyLists: false,
11
+ };
12
+ Object.assign(this.serializer.settings, ec2Settings);
13
+ }
14
+ useNestedResult() {
15
+ return false;
16
+ }
3
17
  }
@@ -20,6 +20,7 @@ export class AwsQueryProtocol extends RpcProtocol {
20
20
  httpBindings: false,
21
21
  xmlNamespace: options.xmlNamespace,
22
22
  serviceNamespace: options.defaultNamespace,
23
+ serializeEmptyLists: true,
23
24
  };
24
25
  this.serializer = new QueryShapeSerializer(settings);
25
26
  this.deserializer = new XmlShapeDeserializer(settings);
@@ -71,7 +72,7 @@ export class AwsQueryProtocol extends RpcProtocol {
71
72
  delete response.headers[header];
72
73
  response.headers[header.toLowerCase()] = value;
73
74
  }
74
- const awsQueryResultKey = ns.isStructSchema() ? operationSchema.name.split("#")[1] + "Result" : undefined;
75
+ const awsQueryResultKey = ns.isStructSchema() && this.useNestedResult() ? operationSchema.name.split("#")[1] + "Result" : undefined;
75
76
  const bytes = await collectBody(response.body, context);
76
77
  if (bytes.byteLength > 0) {
77
78
  Object.assign(dataObject, await deserializer.read(ns, bytes, awsQueryResultKey));
@@ -82,6 +83,9 @@ export class AwsQueryProtocol extends RpcProtocol {
82
83
  };
83
84
  return output;
84
85
  }
86
+ useNestedResult() {
87
+ return true;
88
+ }
85
89
  async handleError(operationSchema, context, response, dataObject, metadata) {
86
90
  const errorIdentifier = this.loadQueryErrorCode(response, dataObject) ?? "Unknown";
87
91
  let namespace = this.options.defaultNamespace;
@@ -89,6 +93,7 @@ export class AwsQueryProtocol extends RpcProtocol {
89
93
  if (errorIdentifier.includes("#")) {
90
94
  [namespace, errorName] = errorIdentifier.split("#");
91
95
  }
96
+ const errorDataSource = this.loadQueryError(dataObject);
92
97
  const registry = TypeRegistry.for(namespace);
93
98
  let errorSchema;
94
99
  try {
@@ -98,20 +103,20 @@ export class AwsQueryProtocol extends RpcProtocol {
98
103
  }
99
104
  }
100
105
  catch (e) {
101
- const baseExceptionSchema = TypeRegistry.for("awssdkjs.synthetic." + namespace).getBaseException();
106
+ const baseExceptionSchema = TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace).getBaseException();
102
107
  if (baseExceptionSchema) {
103
108
  const ErrorCtor = baseExceptionSchema.ctor;
104
- throw Object.assign(new ErrorCtor(errorName), dataObject);
109
+ throw Object.assign(new ErrorCtor(errorName), errorDataSource);
105
110
  }
106
111
  throw new Error(errorName);
107
112
  }
108
113
  const ns = NormalizedSchema.of(errorSchema);
109
- const message = dataObject.Error?.message ?? dataObject.Error?.Message ?? dataObject.message ?? dataObject.Message ?? "Unknown";
114
+ const message = this.loadQueryErrorMessage(dataObject);
110
115
  const exception = new errorSchema.ctor(message);
111
116
  const output = {};
112
117
  for (const [name, member] of ns.structIterator()) {
113
118
  const target = member.getMergedTraits().xmlName ?? name;
114
- const value = dataObject.Error?.[target] ?? dataObject[target];
119
+ const value = errorDataSource[target] ?? dataObject[target];
115
120
  output[name] = this.deserializer.readSchema(member, value);
116
121
  }
117
122
  Object.assign(exception, {
@@ -124,11 +129,19 @@ export class AwsQueryProtocol extends RpcProtocol {
124
129
  throw exception;
125
130
  }
126
131
  loadQueryErrorCode(output, data) {
127
- if (data.Error?.Code !== undefined) {
128
- return data.Error.Code;
132
+ const code = (data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error)?.Code;
133
+ if (code !== undefined) {
134
+ return code;
129
135
  }
130
136
  if (output.statusCode == 404) {
131
137
  return "NotFound";
132
138
  }
133
139
  }
140
+ loadQueryError(data) {
141
+ return data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error;
142
+ }
143
+ loadQueryErrorMessage(data) {
144
+ const errorData = this.loadQueryError(data);
145
+ return errorData?.message ?? errorData?.Message ?? data.message ?? data.Message ?? "Unknown";
146
+ }
134
147
  }
@@ -66,18 +66,20 @@ export class QueryShapeSerializer extends SerdeContextConfig {
66
66
  else if (ns.isListSchema()) {
67
67
  if (Array.isArray(value)) {
68
68
  if (value.length === 0) {
69
- this.writeKey(prefix);
70
- this.writeValue("");
69
+ if (this.settings.serializeEmptyLists) {
70
+ this.writeKey(prefix);
71
+ this.writeValue("");
72
+ }
71
73
  }
72
74
  else {
73
75
  const member = ns.getValueSchema();
74
- const flat = ns.getMergedTraits().xmlFlattened;
76
+ const flat = this.settings.flattenLists || ns.getMergedTraits().xmlFlattened;
75
77
  let i = 1;
76
78
  for (const item of value) {
77
79
  if (item == null) {
78
80
  continue;
79
81
  }
80
- const suffix = member.getMergedTraits().xmlName ?? "member";
82
+ const suffix = this.getKey("member", member.getMergedTraits().xmlName);
81
83
  const key = flat ? `${prefix}${i}` : `${prefix}${suffix}.${i}`;
82
84
  this.write(member, item, key);
83
85
  ++i;
@@ -95,9 +97,9 @@ export class QueryShapeSerializer extends SerdeContextConfig {
95
97
  if (v == null) {
96
98
  continue;
97
99
  }
98
- const keySuffix = keySchema.getMergedTraits().xmlName ?? "key";
100
+ const keySuffix = this.getKey("key", keySchema.getMergedTraits().xmlName);
99
101
  const key = flat ? `${prefix}${i}.${keySuffix}` : `${prefix}entry.${i}.${keySuffix}`;
100
- const valueSuffix = memberSchema.getMergedTraits().xmlName ?? "value";
102
+ const valueSuffix = this.getKey("value", memberSchema.getMergedTraits().xmlName);
101
103
  const valueKey = flat ? `${prefix}${i}.${valueSuffix}` : `${prefix}entry.${i}.${valueSuffix}`;
102
104
  this.write(keySchema, k, key);
103
105
  this.write(memberSchema, v, valueKey);
@@ -111,7 +113,7 @@ export class QueryShapeSerializer extends SerdeContextConfig {
111
113
  if (value[memberName] == null) {
112
114
  continue;
113
115
  }
114
- const suffix = member.getMergedTraits().xmlName ?? memberName;
116
+ const suffix = this.getKey(memberName, member.getMergedTraits().xmlName);
115
117
  const key = `${prefix}${suffix}`;
116
118
  this.write(member, value[memberName], key);
117
119
  }
@@ -131,6 +133,13 @@ export class QueryShapeSerializer extends SerdeContextConfig {
131
133
  delete this.buffer;
132
134
  return str;
133
135
  }
136
+ getKey(memberName, xmlName) {
137
+ const key = xmlName ?? memberName;
138
+ if (this.settings.capitalizeKeys) {
139
+ return key[0].toUpperCase() + key.slice(1);
140
+ }
141
+ return key;
142
+ }
134
143
  writeKey(key) {
135
144
  if (key.endsWith(".")) {
136
145
  key = key.slice(0, key.length - 1);
@@ -97,7 +97,7 @@ export class AwsRestXmlProtocol extends HttpBindingProtocol {
97
97
  errorSchema = registry.getSchema(errorIdentifier);
98
98
  }
99
99
  catch (e) {
100
- const baseExceptionSchema = TypeRegistry.for("awssdkjs.synthetic." + namespace).getBaseException();
100
+ const baseExceptionSchema = TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace).getBaseException();
101
101
  if (baseExceptionSchema) {
102
102
  const ErrorCtor = baseExceptionSchema.ctor;
103
103
  throw Object.assign(new ErrorCtor(errorName), dataObject);
@@ -107,12 +107,7 @@ export class AwsRestXmlProtocol extends HttpBindingProtocol {
107
107
  const ns = NormalizedSchema.of(errorSchema);
108
108
  const message = dataObject.Error?.message ?? dataObject.Error?.Message ?? dataObject.message ?? dataObject.Message ?? "Unknown";
109
109
  const exception = new errorSchema.ctor(message);
110
- const headerBindings = new Set(Object.values(NormalizedSchema.of(errorSchema).getMemberSchemas())
111
- .map((schema) => {
112
- return schema.getMergedTraits().httpHeader;
113
- })
114
- .filter(Boolean));
115
- await this.deserializeHttpMessage(errorSchema, context, response, headerBindings, dataObject);
110
+ await this.deserializeHttpMessage(errorSchema, context, response, dataObject);
116
111
  const output = {};
117
112
  for (const [name, member] of ns.structIterator()) {
118
113
  const target = member.getMergedTraits().xmlName ?? name;
@@ -12,7 +12,7 @@ export type JsonSettings = CodecSettings & {
12
12
  * @public
13
13
  */
14
14
  export declare class JsonCodec extends SerdeContextConfig implements Codec<string, string> {
15
- settings: JsonSettings;
15
+ readonly settings: JsonSettings;
16
16
  constructor(settings: JsonSettings);
17
17
  createSerializer(): JsonShapeSerializer;
18
18
  createDeserializer(): JsonShapeDeserializer;
@@ -5,7 +5,7 @@ import { JsonSettings } from "./JsonCodec";
5
5
  * @alpha
6
6
  */
7
7
  export declare class JsonShapeDeserializer extends SerdeContextConfig implements ShapeDeserializer<string> {
8
- settings: JsonSettings;
8
+ readonly settings: JsonSettings;
9
9
  constructor(settings: JsonSettings);
10
10
  read(schema: Schema, data: string | Uint8Array | unknown): Promise<any>;
11
11
  readObject(schema: Schema, data: DocumentType): any;
@@ -5,7 +5,7 @@ import { JsonSettings } from "./JsonCodec";
5
5
  * @alpha
6
6
  */
7
7
  export declare class JsonShapeSerializer extends SerdeContextConfig implements ShapeSerializer<string> {
8
- settings: JsonSettings;
8
+ readonly settings: JsonSettings;
9
9
  private buffer;
10
10
  private rootSchema;
11
11
  constructor(settings: JsonSettings);
@@ -3,4 +3,18 @@ import { AwsQueryProtocol } from "./AwsQueryProtocol";
3
3
  * @alpha
4
4
  */
5
5
  export declare class AwsEc2QueryProtocol extends AwsQueryProtocol {
6
+ options: {
7
+ defaultNamespace: string;
8
+ xmlNamespace: string;
9
+ version: string;
10
+ };
11
+ constructor(options: {
12
+ defaultNamespace: string;
13
+ xmlNamespace: string;
14
+ version: string;
15
+ });
16
+ /**
17
+ * EC2 Query reads XResponse.XResult instead of XResponse directly.
18
+ */
19
+ protected useNestedResult(): boolean;
6
20
  }
@@ -24,6 +24,16 @@ export declare class AwsQueryProtocol extends RpcProtocol {
24
24
  getPayloadCodec(): Codec<any, any>;
25
25
  serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<HttpRequest>;
26
26
  deserializeResponse<Output extends MetadataBearer>(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse): Promise<Output>;
27
+ /**
28
+ * EC2 Query overrides this.
29
+ */
30
+ protected useNestedResult(): boolean;
27
31
  protected handleError(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, dataObject: any, metadata: ResponseMetadata): Promise<never>;
32
+ /**
33
+ * The variations in the error and error message locations are attributed to
34
+ * divergence between AWS Query and EC2 Query behavior.
35
+ */
28
36
  protected loadQueryErrorCode(output: IHttpResponse, data: any): string | undefined;
37
+ protected loadQueryError(data: any): any | undefined;
38
+ protected loadQueryErrorMessage(data: any): string;
29
39
  }
@@ -0,0 +1,6 @@
1
+ import { CodecSettings } from "@smithy/types";
2
+ export type QuerySerializerSettings = CodecSettings & {
3
+ capitalizeKeys?: boolean;
4
+ flattenLists?: boolean;
5
+ serializeEmptyLists?: boolean;
6
+ };
@@ -1,14 +1,16 @@
1
- import type { CodecSettings, Schema, ShapeSerializer } from "@smithy/types";
1
+ import type { Schema, ShapeSerializer } from "@smithy/types";
2
2
  import { SerdeContextConfig } from "../ConfigurableSerdeContext";
3
+ import type { QuerySerializerSettings } from "./QuerySerializerSettings";
3
4
  /**
4
5
  * @alpha
5
6
  */
6
7
  export declare class QueryShapeSerializer extends SerdeContextConfig implements ShapeSerializer<string | Uint8Array> {
7
- private settings;
8
+ readonly settings: QuerySerializerSettings;
8
9
  private buffer;
9
- constructor(settings: CodecSettings);
10
+ constructor(settings: QuerySerializerSettings);
10
11
  write(schema: Schema, value: unknown, prefix?: string): void;
11
12
  flush(): string | Uint8Array;
13
+ protected getKey(memberName: string, xmlName?: string): string;
12
14
  protected writeKey(key: string): void;
13
15
  protected writeValue(value: string): void;
14
16
  }
@@ -9,7 +9,7 @@ export declare class JsonCodec
9
9
  extends SerdeContextConfig
10
10
  implements Codec<string, string>
11
11
  {
12
- settings: JsonSettings;
12
+ readonly settings: JsonSettings;
13
13
  constructor(settings: JsonSettings);
14
14
  createSerializer(): JsonShapeSerializer;
15
15
  createDeserializer(): JsonShapeDeserializer;
@@ -5,7 +5,7 @@ export declare class JsonShapeDeserializer
5
5
  extends SerdeContextConfig
6
6
  implements ShapeDeserializer<string>
7
7
  {
8
- settings: JsonSettings;
8
+ readonly settings: JsonSettings;
9
9
  constructor(settings: JsonSettings);
10
10
  read(schema: Schema, data: string | Uint8Array | unknown): Promise<any>;
11
11
  readObject(schema: Schema, data: DocumentType): any;
@@ -5,7 +5,7 @@ export declare class JsonShapeSerializer
5
5
  extends SerdeContextConfig
6
6
  implements ShapeSerializer<string>
7
7
  {
8
- settings: JsonSettings;
8
+ readonly settings: JsonSettings;
9
9
  private buffer;
10
10
  private rootSchema;
11
11
  constructor(settings: JsonSettings);
@@ -1,2 +1,14 @@
1
1
  import { AwsQueryProtocol } from "./AwsQueryProtocol";
2
- export declare class AwsEc2QueryProtocol extends AwsQueryProtocol {}
2
+ export declare class AwsEc2QueryProtocol extends AwsQueryProtocol {
3
+ options: {
4
+ defaultNamespace: string;
5
+ xmlNamespace: string;
6
+ version: string;
7
+ };
8
+ constructor(options: {
9
+ defaultNamespace: string;
10
+ xmlNamespace: string;
11
+ version: string;
12
+ });
13
+ protected useNestedResult(): boolean;
14
+ }
@@ -38,6 +38,7 @@ export declare class AwsQueryProtocol extends RpcProtocol {
38
38
  context: HandlerExecutionContext & SerdeFunctions,
39
39
  response: IHttpResponse
40
40
  ): Promise<Output>;
41
+ protected useNestedResult(): boolean;
41
42
  protected handleError(
42
43
  operationSchema: OperationSchema,
43
44
  context: HandlerExecutionContext & SerdeFunctions,
@@ -49,4 +50,6 @@ export declare class AwsQueryProtocol extends RpcProtocol {
49
50
  output: IHttpResponse,
50
51
  data: any
51
52
  ): string | undefined;
53
+ protected loadQueryError(data: any): any | undefined;
54
+ protected loadQueryErrorMessage(data: any): string;
52
55
  }
@@ -0,0 +1,6 @@
1
+ import { CodecSettings } from "@smithy/types";
2
+ export type QuerySerializerSettings = CodecSettings & {
3
+ capitalizeKeys?: boolean;
4
+ flattenLists?: boolean;
5
+ serializeEmptyLists?: boolean;
6
+ };
@@ -1,14 +1,16 @@
1
- import { CodecSettings, Schema, ShapeSerializer } from "@smithy/types";
1
+ import { Schema, ShapeSerializer } from "@smithy/types";
2
2
  import { SerdeContextConfig } from "../ConfigurableSerdeContext";
3
+ import { QuerySerializerSettings } from "./QuerySerializerSettings";
3
4
  export declare class QueryShapeSerializer
4
5
  extends SerdeContextConfig
5
6
  implements ShapeSerializer<string | Uint8Array>
6
7
  {
7
- private settings;
8
+ readonly settings: QuerySerializerSettings;
8
9
  private buffer;
9
- constructor(settings: CodecSettings);
10
+ constructor(settings: QuerySerializerSettings);
10
11
  write(schema: Schema, value: unknown, prefix?: string): void;
11
12
  flush(): string | Uint8Array;
13
+ protected getKey(memberName: string, xmlName?: string): string;
12
14
  protected writeKey(key: string): void;
13
15
  protected writeValue(value: string): void;
14
16
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/core",
3
- "version": "3.823.0",
3
+ "version": "3.826.0",
4
4
  "description": "Core functions & classes shared by multiple AWS SDK clients.",
5
5
  "scripts": {
6
6
  "build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
@@ -83,12 +83,12 @@
83
83
  "dependencies": {
84
84
  "@aws-sdk/types": "3.821.0",
85
85
  "@aws-sdk/xml-builder": "3.821.0",
86
- "@smithy/core": "^3.5.1",
86
+ "@smithy/core": "^3.5.3",
87
87
  "@smithy/node-config-provider": "^4.1.3",
88
88
  "@smithy/property-provider": "^4.0.4",
89
89
  "@smithy/protocol-http": "^5.1.2",
90
90
  "@smithy/signature-v4": "^5.1.2",
91
- "@smithy/smithy-client": "^4.4.1",
91
+ "@smithy/smithy-client": "^4.4.3",
92
92
  "@smithy/types": "^4.3.1",
93
93
  "@smithy/util-base64": "^4.0.0",
94
94
  "@smithy/util-body-length-browser": "^4.0.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-env",
3
- "version": "3.823.0",
3
+ "version": "3.826.0",
4
4
  "description": "AWS credential provider that sources credentials from known environment variables",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@aws-sdk/core": "3.823.0",
28
+ "@aws-sdk/core": "3.826.0",
29
29
  "@aws-sdk/types": "3.821.0",
30
30
  "@smithy/property-provider": "^4.0.4",
31
31
  "@smithy/types": "^4.3.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-http",
3
- "version": "3.823.0",
3
+ "version": "3.826.0",
4
4
  "description": "AWS credential provider for containers and HTTP sources",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -27,13 +27,13 @@
27
27
  },
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
- "@aws-sdk/core": "3.823.0",
30
+ "@aws-sdk/core": "3.826.0",
31
31
  "@aws-sdk/types": "3.821.0",
32
32
  "@smithy/fetch-http-handler": "^5.0.4",
33
33
  "@smithy/node-http-handler": "^4.0.6",
34
34
  "@smithy/property-provider": "^4.0.4",
35
35
  "@smithy/protocol-http": "^5.1.2",
36
- "@smithy/smithy-client": "^4.4.1",
36
+ "@smithy/smithy-client": "^4.4.3",
37
37
  "@smithy/types": "^4.3.1",
38
38
  "@smithy/util-stream": "^4.2.2",
39
39
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.823.0",
3
+ "version": "3.826.0",
4
4
  "description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -27,13 +27,13 @@
27
27
  },
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
- "@aws-sdk/core": "3.823.0",
31
- "@aws-sdk/credential-provider-env": "3.823.0",
32
- "@aws-sdk/credential-provider-http": "3.823.0",
33
- "@aws-sdk/credential-provider-process": "3.823.0",
34
- "@aws-sdk/credential-provider-sso": "3.823.0",
35
- "@aws-sdk/credential-provider-web-identity": "3.823.0",
36
- "@aws-sdk/nested-clients": "3.823.0",
30
+ "@aws-sdk/core": "3.826.0",
31
+ "@aws-sdk/credential-provider-env": "3.826.0",
32
+ "@aws-sdk/credential-provider-http": "3.826.0",
33
+ "@aws-sdk/credential-provider-process": "3.826.0",
34
+ "@aws-sdk/credential-provider-sso": "3.826.0",
35
+ "@aws-sdk/credential-provider-web-identity": "3.826.0",
36
+ "@aws-sdk/nested-clients": "3.826.0",
37
37
  "@aws-sdk/types": "3.821.0",
38
38
  "@smithy/credential-provider-imds": "^4.0.6",
39
39
  "@smithy/property-provider": "^4.0.4",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.823.0",
3
+ "version": "3.826.0",
4
4
  "description": "AWS credential provider that sources credentials from a Node.JS environment. ",
5
5
  "engines": {
6
6
  "node": ">=18.0.0"
@@ -29,12 +29,12 @@
29
29
  },
30
30
  "license": "Apache-2.0",
31
31
  "dependencies": {
32
- "@aws-sdk/credential-provider-env": "3.823.0",
33
- "@aws-sdk/credential-provider-http": "3.823.0",
34
- "@aws-sdk/credential-provider-ini": "3.823.0",
35
- "@aws-sdk/credential-provider-process": "3.823.0",
36
- "@aws-sdk/credential-provider-sso": "3.823.0",
37
- "@aws-sdk/credential-provider-web-identity": "3.823.0",
32
+ "@aws-sdk/credential-provider-env": "3.826.0",
33
+ "@aws-sdk/credential-provider-http": "3.826.0",
34
+ "@aws-sdk/credential-provider-ini": "3.826.0",
35
+ "@aws-sdk/credential-provider-process": "3.826.0",
36
+ "@aws-sdk/credential-provider-sso": "3.826.0",
37
+ "@aws-sdk/credential-provider-web-identity": "3.826.0",
38
38
  "@aws-sdk/types": "3.821.0",
39
39
  "@smithy/credential-provider-imds": "^4.0.6",
40
40
  "@smithy/property-provider": "^4.0.4",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-process",
3
- "version": "3.823.0",
3
+ "version": "3.826.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",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@aws-sdk/core": "3.823.0",
28
+ "@aws-sdk/core": "3.826.0",
29
29
  "@aws-sdk/types": "3.821.0",
30
30
  "@smithy/property-provider": "^4.0.4",
31
31
  "@smithy/shared-ini-file-loader": "^4.0.4",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-sso",
3
- "version": "3.823.0",
3
+ "version": "3.826.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",
@@ -25,9 +25,9 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@aws-sdk/client-sso": "3.823.0",
29
- "@aws-sdk/core": "3.823.0",
30
- "@aws-sdk/token-providers": "3.823.0",
28
+ "@aws-sdk/client-sso": "3.826.0",
29
+ "@aws-sdk/core": "3.826.0",
30
+ "@aws-sdk/token-providers": "3.826.0",
31
31
  "@aws-sdk/types": "3.821.0",
32
32
  "@smithy/property-provider": "^4.0.4",
33
33
  "@smithy/shared-ini-file-loader": "^4.0.4",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-web-identity",
3
- "version": "3.823.0",
3
+ "version": "3.826.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",
@@ -33,8 +33,8 @@
33
33
  },
34
34
  "license": "Apache-2.0",
35
35
  "dependencies": {
36
- "@aws-sdk/core": "3.823.0",
37
- "@aws-sdk/nested-clients": "3.823.0",
36
+ "@aws-sdk/core": "3.826.0",
37
+ "@aws-sdk/nested-clients": "3.826.0",
38
38
  "@aws-sdk/types": "3.821.0",
39
39
  "@smithy/property-provider": "^4.0.4",
40
40
  "@smithy/types": "^4.3.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-user-agent",
3
- "version": "3.823.0",
3
+ "version": "3.826.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",
@@ -24,10 +24,10 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/core": "3.823.0",
27
+ "@aws-sdk/core": "3.826.0",
28
28
  "@aws-sdk/types": "3.821.0",
29
29
  "@aws-sdk/util-endpoints": "3.821.0",
30
- "@smithy/core": "^3.5.1",
30
+ "@smithy/core": "^3.5.3",
31
31
  "@smithy/protocol-http": "^5.1.2",
32
32
  "@smithy/types": "^4.3.1",
33
33
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/nested-clients",
3
- "version": "3.823.0",
3
+ "version": "3.826.0",
4
4
  "description": "Nested clients for AWS SDK packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,37 +28,37 @@
28
28
  "dependencies": {
29
29
  "@aws-crypto/sha256-browser": "5.2.0",
30
30
  "@aws-crypto/sha256-js": "5.2.0",
31
- "@aws-sdk/core": "3.823.0",
31
+ "@aws-sdk/core": "3.826.0",
32
32
  "@aws-sdk/middleware-host-header": "3.821.0",
33
33
  "@aws-sdk/middleware-logger": "3.821.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.821.0",
35
- "@aws-sdk/middleware-user-agent": "3.823.0",
35
+ "@aws-sdk/middleware-user-agent": "3.826.0",
36
36
  "@aws-sdk/region-config-resolver": "3.821.0",
37
37
  "@aws-sdk/types": "3.821.0",
38
38
  "@aws-sdk/util-endpoints": "3.821.0",
39
39
  "@aws-sdk/util-user-agent-browser": "3.821.0",
40
- "@aws-sdk/util-user-agent-node": "3.823.0",
40
+ "@aws-sdk/util-user-agent-node": "3.826.0",
41
41
  "@smithy/config-resolver": "^4.1.4",
42
- "@smithy/core": "^3.5.1",
42
+ "@smithy/core": "^3.5.3",
43
43
  "@smithy/fetch-http-handler": "^5.0.4",
44
44
  "@smithy/hash-node": "^4.0.4",
45
45
  "@smithy/invalid-dependency": "^4.0.4",
46
46
  "@smithy/middleware-content-length": "^4.0.4",
47
- "@smithy/middleware-endpoint": "^4.1.9",
48
- "@smithy/middleware-retry": "^4.1.10",
47
+ "@smithy/middleware-endpoint": "^4.1.11",
48
+ "@smithy/middleware-retry": "^4.1.12",
49
49
  "@smithy/middleware-serde": "^4.0.8",
50
50
  "@smithy/middleware-stack": "^4.0.4",
51
51
  "@smithy/node-config-provider": "^4.1.3",
52
52
  "@smithy/node-http-handler": "^4.0.6",
53
53
  "@smithy/protocol-http": "^5.1.2",
54
- "@smithy/smithy-client": "^4.4.1",
54
+ "@smithy/smithy-client": "^4.4.3",
55
55
  "@smithy/types": "^4.3.1",
56
56
  "@smithy/url-parser": "^4.0.4",
57
57
  "@smithy/util-base64": "^4.0.0",
58
58
  "@smithy/util-body-length-browser": "^4.0.0",
59
59
  "@smithy/util-body-length-node": "^4.0.0",
60
- "@smithy/util-defaults-mode-browser": "^4.0.17",
61
- "@smithy/util-defaults-mode-node": "^4.0.17",
60
+ "@smithy/util-defaults-mode-browser": "^4.0.19",
61
+ "@smithy/util-defaults-mode-node": "^4.0.19",
62
62
  "@smithy/util-endpoints": "^3.0.6",
63
63
  "@smithy/util-middleware": "^4.0.4",
64
64
  "@smithy/util-retry": "^4.0.5",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.823.0",
3
+ "version": "3.826.0",
4
4
  "description": "A collection of token providers",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -27,8 +27,8 @@
27
27
  },
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
- "@aws-sdk/core": "3.823.0",
31
- "@aws-sdk/nested-clients": "3.823.0",
30
+ "@aws-sdk/core": "3.826.0",
31
+ "@aws-sdk/nested-clients": "3.826.0",
32
32
  "@aws-sdk/types": "3.821.0",
33
33
  "@smithy/property-provider": "^4.0.4",
34
34
  "@smithy/shared-ini-file-loader": "^4.0.4",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-node",
3
- "version": "3.823.0",
3
+ "version": "3.826.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",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "license": "Apache-2.0",
23
23
  "dependencies": {
24
- "@aws-sdk/middleware-user-agent": "3.823.0",
24
+ "@aws-sdk/middleware-user-agent": "3.826.0",
25
25
  "@aws-sdk/types": "3.821.0",
26
26
  "@smithy/node-config-provider": "^4.1.3",
27
27
  "@smithy/types": "^4.3.1",
package/package.json CHANGED
@@ -49,10 +49,10 @@
49
49
  "@types/node": "16.18.78",
50
50
  "@typescript-eslint/eslint-plugin": "^8",
51
51
  "@typescript-eslint/parser": "^8",
52
- "aws-cdk": "^2.1017.1",
52
+ "aws-cdk": "^2.1018.0",
53
53
  "aws-cdk-lib": "2.195.0",
54
54
  "cdk8s": "2.68.91",
55
- "cdk8s-cli": "^2.200.90",
55
+ "cdk8s-cli": "^2.200.92",
56
56
  "commit-and-tag-version": "^12",
57
57
  "constructs": "10.3.0",
58
58
  "eslint": "^9",
@@ -77,7 +77,7 @@
77
77
  "constructs": "^10.3.0"
78
78
  },
79
79
  "dependencies": {
80
- "@aws-sdk/client-cloudformation": "^3.823.0"
80
+ "@aws-sdk/client-cloudformation": "^3.826.0"
81
81
  },
82
82
  "bundledDependencies": [
83
83
  "@aws-sdk/client-cloudformation"
@@ -93,7 +93,7 @@
93
93
  "publishConfig": {
94
94
  "access": "public"
95
95
  },
96
- "version": "0.0.306",
96
+ "version": "0.0.308",
97
97
  "jest": {
98
98
  "coverageProvider": "v8",
99
99
  "testMatch": [