@servicevic-oss/cdk-cleanup-certificate-validation-records 1.3.126 → 1.3.128

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 (65) hide show
  1. package/.jsii +5 -5
  2. package/lib/index.js +2 -2
  3. package/node_modules/@aws-sdk/client-acm/dist-cjs/index.js +1 -1
  4. package/node_modules/@aws-sdk/client-acm/package.json +5 -5
  5. package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +1 -1
  6. package/node_modules/@aws-sdk/client-route-53/package.json +6 -6
  7. package/node_modules/@aws-sdk/core/package.json +2 -2
  8. package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
  9. package/node_modules/@aws-sdk/credential-provider-http/package.json +4 -4
  10. package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -10
  11. package/node_modules/@aws-sdk/credential-provider-login/package.json +4 -4
  12. package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
  13. package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
  14. package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
  15. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
  16. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  17. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
  18. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  19. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  20. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  21. package/node_modules/@aws-sdk/nested-clients/package.json +4 -4
  22. package/node_modules/@aws-sdk/token-providers/package.json +4 -4
  23. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +13 -37
  24. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +44 -29
  25. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +12 -37
  26. package/node_modules/@smithy/core/dist-es/submodules/protocols/AbstractRpcV2Protocol.js +35 -0
  27. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +4 -1
  28. package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +1 -0
  29. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/SmithyRpcV2JsonProtocol.js +8 -31
  30. package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +5 -14
  31. package/node_modules/@smithy/core/dist-types/submodules/protocols/AbstractRpcV2Protocol.d.ts +45 -0
  32. package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +12 -0
  33. package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +1 -0
  34. package/node_modules/@smithy/core/dist-types/submodules/protocols/json/SmithyRpcV2JsonProtocol.d.ts +5 -14
  35. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +5 -14
  36. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/AbstractRpcV2Protocol.d.ts +45 -0
  37. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +12 -0
  38. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +1 -0
  39. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/SmithyRpcV2JsonProtocol.d.ts +5 -14
  40. package/node_modules/@smithy/core/package.json +1 -1
  41. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +48 -6
  42. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +9 -1
  43. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +20 -2
  44. package/node_modules/@smithy/node-http-handler/dist-es/resolve-default-socket-timeout.js +4 -0
  45. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +16 -3
  46. package/node_modules/@smithy/node-http-handler/dist-types/resolve-default-socket-timeout.d.ts +4 -0
  47. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +6 -1
  48. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/resolve-default-socket-timeout.d.ts +4 -0
  49. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +6 -1
  50. package/node_modules/@smithy/node-http-handler/package.json +3 -3
  51. package/node_modules/bowser/README.md +26 -3
  52. package/node_modules/bowser/bowser.mjs +2225 -0
  53. package/node_modules/bowser/bundled.js +14 -1
  54. package/node_modules/bowser/es5.js +14 -1
  55. package/node_modules/bowser/index.d.mts +45 -0
  56. package/node_modules/bowser/package.json +90 -31
  57. package/node_modules/bowser/src/bowser.js +9 -1
  58. package/node_modules/bowser/src/constants.js +7 -0
  59. package/node_modules/bowser/src/parser-browsers.js +73 -7
  60. package/node_modules/bowser/src/parser-engines.js +12 -0
  61. package/node_modules/bowser/src/parser-os.js +3 -1
  62. package/node_modules/bowser/src/parser-platforms.js +3 -1
  63. package/node_modules/bowser/src/parser.js +22 -5
  64. package/node_modules/bowser/src/utils.js +16 -0
  65. package/package.json +4 -4
package/.jsii CHANGED
@@ -7,8 +7,8 @@
7
7
  ]
8
8
  },
9
9
  "bundled": {
10
- "@aws-sdk/client-acm": "^3.1156.0",
11
- "@aws-sdk/client-route-53": "^3.1156.0",
10
+ "@aws-sdk/client-acm": "^3.1158.0",
11
+ "@aws-sdk/client-route-53": "^3.1158.0",
12
12
  "@types/aws-lambda": "^8.10.164",
13
13
  "async-await-retry": "^2.1.0"
14
14
  },
@@ -8652,7 +8652,7 @@
8652
8652
  "stability": "stable"
8653
8653
  },
8654
8654
  "homepage": "https://github.com/sv-oss/cdk-cleanup-certificate-validation-records",
8655
- "jsiiVersion": "5.9.56 (build 0265a5f)",
8655
+ "jsiiVersion": "5.9.57 (build 15f08d5)",
8656
8656
  "keywords": [
8657
8657
  "cdk"
8658
8658
  ],
@@ -8899,6 +8899,6 @@
8899
8899
  "symbolId": "src/index:CertificateWithCleanup"
8900
8900
  }
8901
8901
  },
8902
- "version": "1.3.126",
8903
- "fingerprint": "6VWLP31AvUZYVDMGciKJrYWZtMWotvFE7PSejzbG+A0="
8902
+ "version": "1.3.128",
8903
+ "fingerprint": "7l1DtGlfzPBuPBL88f0FDgsxWb+DbG+CV7VOcW83G/8="
8904
8904
  }
package/lib/index.js CHANGED
@@ -43,7 +43,7 @@ const constructs_1 = require("constructs");
43
43
  * leave behind when deleting a DNS validated certificate
44
44
  */
45
45
  class CertificateValidationRecordCleanup extends constructs_1.Construct {
46
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@servicevic-oss/cdk-cleanup-certificate-validation-records.CertificateValidationRecordCleanup", version: "1.3.126" };
46
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@servicevic-oss/cdk-cleanup-certificate-validation-records.CertificateValidationRecordCleanup", version: "1.3.128" };
47
47
  static HANDLER_UID = 'CertRecordsCleanupHandler-2B663BAB-7981';
48
48
  static PROVIDER_UID = 'CertRecordsCleanupProvider-57EBF059-2E26';
49
49
  static LOG_GROUP_UID = 'CertRecordsCleanupLogGroup-57ABF051-1E25';
@@ -109,7 +109,7 @@ exports.CertificateValidationRecordCleanup = CertificateValidationRecordCleanup;
109
109
  * A wrapper class for a vanilla `Certificate` object with automatic cleanup attached
110
110
  */
111
111
  class CertificateWithCleanup extends cdk.aws_certificatemanager.Certificate {
112
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@servicevic-oss/cdk-cleanup-certificate-validation-records.CertificateWithCleanup", version: "1.3.126" };
112
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@servicevic-oss/cdk-cleanup-certificate-validation-records.CertificateWithCleanup", version: "1.3.128" };
113
113
  constructor(scope, id, props) {
114
114
  super(scope, id, props);
115
115
  if (props.validation && props.validation.props.hostedZone && props.validation?.method == cdk.aws_certificatemanager.ValidationMethod.DNS) {
@@ -71,7 +71,7 @@ const commonParams = {
71
71
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
72
72
  };
73
73
 
74
- var version = "3.1155.0";
74
+ var version = "3.1157.0";
75
75
  var packageInfo = {
76
76
  version: version};
77
77
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-acm",
3
- "version": "3.1156.0",
3
+ "version": "3.1158.0",
4
4
  "description": "AWS SDK for JavaScript Acm Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-acm",
6
6
  "license": "Apache-2.0",
@@ -48,12 +48,12 @@
48
48
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
49
49
  },
50
50
  "dependencies": {
51
- "@aws-sdk/core": "^3.978.5",
52
- "@aws-sdk/credential-provider-node": "^3.972.88",
51
+ "@aws-sdk/core": "^3.978.6",
52
+ "@aws-sdk/credential-provider-node": "^3.972.89",
53
53
  "@aws-sdk/types": "^3.975.0",
54
- "@smithy/core": "^3.36.1",
54
+ "@smithy/core": "^3.37.0",
55
55
  "@smithy/fetch-http-handler": "^5.8.0",
56
- "@smithy/node-http-handler": "^4.12.1",
56
+ "@smithy/node-http-handler": "^4.13.0",
57
57
  "@smithy/types": "^4.19.0",
58
58
  "tslib": "^2.6.2"
59
59
  },
@@ -70,7 +70,7 @@ const commonParams = {
70
70
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
71
71
  };
72
72
 
73
- var version = "3.1155.0";
73
+ var version = "3.1157.0";
74
74
  var packageInfo = {
75
75
  version: version};
76
76
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-route-53",
3
- "version": "3.1156.0",
3
+ "version": "3.1158.0",
4
4
  "description": "AWS SDK for JavaScript Route 53 Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-route-53",
6
6
  "license": "Apache-2.0",
@@ -52,18 +52,18 @@
52
52
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
53
53
  },
54
54
  "dependencies": {
55
- "@aws-sdk/core": "^3.978.5",
56
- "@aws-sdk/credential-provider-node": "^3.972.88",
55
+ "@aws-sdk/core": "^3.978.6",
56
+ "@aws-sdk/credential-provider-node": "^3.972.89",
57
57
  "@aws-sdk/middleware-sdk-route53": "^3.972.28",
58
58
  "@aws-sdk/types": "^3.975.0",
59
- "@smithy/core": "^3.36.1",
59
+ "@smithy/core": "^3.37.0",
60
60
  "@smithy/fetch-http-handler": "^5.8.0",
61
- "@smithy/node-http-handler": "^4.12.1",
61
+ "@smithy/node-http-handler": "^4.13.0",
62
62
  "@smithy/types": "^4.19.0",
63
63
  "tslib": "^2.6.2"
64
64
  },
65
65
  "devDependencies": {
66
- "@smithy/snapshot-testing": "^2.3.2",
66
+ "@smithy/snapshot-testing": "^2.4.0",
67
67
  "@tsconfig/node20": "20.1.8",
68
68
  "@types/node": "^20.14.8",
69
69
  "concurrently": "7.0.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/core",
3
- "version": "3.978.5",
3
+ "version": "3.978.6",
4
4
  "description": "Core functions & classes shared by multiple AWS SDK clients.",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/core",
6
6
  "license": "Apache-2.0",
@@ -127,7 +127,7 @@
127
127
  "@aws-sdk/types": "^3.975.0",
128
128
  "@aws-sdk/xml-builder": "^3.972.41",
129
129
  "@aws/lambda-invoke-store": "^0.3.0",
130
- "@smithy/core": "^3.36.1",
130
+ "@smithy/core": "^3.37.0",
131
131
  "@smithy/signature-v4": "^5.7.4",
132
132
  "@smithy/types": "^4.19.0",
133
133
  "bowser": "^2.11.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-env",
3
- "version": "3.972.76",
3
+ "version": "3.972.77",
4
4
  "description": "AWS credential provider that sources credentials from known environment variables",
5
5
  "keywords": [
6
6
  "aws",
@@ -43,9 +43,9 @@
43
43
  "test:watch": "yarn g:vitest watch"
44
44
  },
45
45
  "dependencies": {
46
- "@aws-sdk/core": "^3.978.5",
46
+ "@aws-sdk/core": "^3.978.6",
47
47
  "@aws-sdk/types": "^3.975.0",
48
- "@smithy/core": "^3.36.1",
48
+ "@smithy/core": "^3.37.0",
49
49
  "@smithy/types": "^4.19.0",
50
50
  "tslib": "^2.6.2"
51
51
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-http",
3
- "version": "3.972.78",
3
+ "version": "3.972.79",
4
4
  "description": "AWS credential provider for containers and HTTP sources",
5
5
  "keywords": [
6
6
  "aws",
@@ -53,11 +53,11 @@
53
53
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
54
54
  },
55
55
  "dependencies": {
56
- "@aws-sdk/core": "^3.978.5",
56
+ "@aws-sdk/core": "^3.978.6",
57
57
  "@aws-sdk/types": "^3.975.0",
58
- "@smithy/core": "^3.36.1",
58
+ "@smithy/core": "^3.37.0",
59
59
  "@smithy/fetch-http-handler": "^5.8.0",
60
- "@smithy/node-http-handler": "^4.12.1",
60
+ "@smithy/node-http-handler": "^4.13.0",
61
61
  "@smithy/types": "^4.19.0",
62
62
  "tslib": "^2.6.2"
63
63
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.973.21",
3
+ "version": "3.973.22",
4
4
  "description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
5
5
  "keywords": [
6
6
  "aws",
@@ -45,16 +45,16 @@
45
45
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
46
46
  },
47
47
  "dependencies": {
48
- "@aws-sdk/core": "^3.978.5",
49
- "@aws-sdk/credential-provider-env": "^3.972.76",
50
- "@aws-sdk/credential-provider-http": "^3.972.78",
51
- "@aws-sdk/credential-provider-login": "^3.972.83",
52
- "@aws-sdk/credential-provider-process": "^3.972.76",
53
- "@aws-sdk/credential-provider-sso": "^3.973.20",
54
- "@aws-sdk/credential-provider-web-identity": "^3.972.82",
55
- "@aws-sdk/nested-clients": "^3.997.50",
48
+ "@aws-sdk/core": "^3.978.6",
49
+ "@aws-sdk/credential-provider-env": "^3.972.77",
50
+ "@aws-sdk/credential-provider-http": "^3.972.79",
51
+ "@aws-sdk/credential-provider-login": "^3.972.84",
52
+ "@aws-sdk/credential-provider-process": "^3.972.77",
53
+ "@aws-sdk/credential-provider-sso": "^3.973.21",
54
+ "@aws-sdk/credential-provider-web-identity": "^3.972.83",
55
+ "@aws-sdk/nested-clients": "^3.997.51",
56
56
  "@aws-sdk/types": "^3.975.0",
57
- "@smithy/core": "^3.36.1",
57
+ "@smithy/core": "^3.37.0",
58
58
  "@smithy/credential-provider-imds": "^4.5.2",
59
59
  "@smithy/types": "^4.19.0",
60
60
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-login",
3
- "version": "3.972.83",
3
+ "version": "3.972.84",
4
4
  "description": "AWS credential provider that sources credentials from aws login cached tokens",
5
5
  "keywords": [
6
6
  "aws",
@@ -45,10 +45,10 @@
45
45
  "test:watch": "yarn g:vitest watch"
46
46
  },
47
47
  "dependencies": {
48
- "@aws-sdk/core": "^3.978.5",
49
- "@aws-sdk/nested-clients": "^3.997.50",
48
+ "@aws-sdk/core": "^3.978.6",
49
+ "@aws-sdk/nested-clients": "^3.997.51",
50
50
  "@aws-sdk/types": "^3.975.0",
51
- "@smithy/core": "^3.36.1",
51
+ "@smithy/core": "^3.37.0",
52
52
  "@smithy/types": "^4.19.0",
53
53
  "tslib": "^2.6.2"
54
54
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.972.88",
3
+ "version": "3.972.89",
4
4
  "description": "AWS credential provider that sources credentials from a Node.JS environment. ",
5
5
  "keywords": [
6
6
  "aws",
@@ -45,14 +45,14 @@
45
45
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
46
46
  },
47
47
  "dependencies": {
48
- "@aws-sdk/credential-provider-env": "^3.972.76",
49
- "@aws-sdk/credential-provider-http": "^3.972.78",
50
- "@aws-sdk/credential-provider-ini": "^3.973.21",
51
- "@aws-sdk/credential-provider-process": "^3.972.76",
52
- "@aws-sdk/credential-provider-sso": "^3.973.20",
53
- "@aws-sdk/credential-provider-web-identity": "^3.972.82",
48
+ "@aws-sdk/credential-provider-env": "^3.972.77",
49
+ "@aws-sdk/credential-provider-http": "^3.972.79",
50
+ "@aws-sdk/credential-provider-ini": "^3.973.22",
51
+ "@aws-sdk/credential-provider-process": "^3.972.77",
52
+ "@aws-sdk/credential-provider-sso": "^3.973.21",
53
+ "@aws-sdk/credential-provider-web-identity": "^3.972.83",
54
54
  "@aws-sdk/types": "^3.975.0",
55
- "@smithy/core": "^3.36.1",
55
+ "@smithy/core": "^3.37.0",
56
56
  "@smithy/credential-provider-imds": "^4.5.2",
57
57
  "@smithy/types": "^4.19.0",
58
58
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-process",
3
- "version": "3.972.76",
3
+ "version": "3.972.77",
4
4
  "description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
5
5
  "keywords": [
6
6
  "aws",
@@ -43,9 +43,9 @@
43
43
  "test:watch": "yarn g:vitest watch"
44
44
  },
45
45
  "dependencies": {
46
- "@aws-sdk/core": "^3.978.5",
46
+ "@aws-sdk/core": "^3.978.6",
47
47
  "@aws-sdk/types": "^3.975.0",
48
- "@smithy/core": "^3.36.1",
48
+ "@smithy/core": "^3.37.0",
49
49
  "@smithy/types": "^4.19.0",
50
50
  "tslib": "^2.6.2"
51
51
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-sso",
3
- "version": "3.973.20",
3
+ "version": "3.973.21",
4
4
  "description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
5
5
  "keywords": [
6
6
  "aws",
@@ -45,11 +45,11 @@
45
45
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
46
46
  },
47
47
  "dependencies": {
48
- "@aws-sdk/core": "^3.978.5",
49
- "@aws-sdk/nested-clients": "^3.997.50",
50
- "@aws-sdk/token-providers": "3.1155.0",
48
+ "@aws-sdk/core": "^3.978.6",
49
+ "@aws-sdk/nested-clients": "^3.997.51",
50
+ "@aws-sdk/token-providers": "3.1157.0",
51
51
  "@aws-sdk/types": "^3.975.0",
52
- "@smithy/core": "^3.36.1",
52
+ "@smithy/core": "^3.37.0",
53
53
  "@smithy/types": "^4.19.0",
54
54
  "tslib": "^2.6.2"
55
55
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-web-identity",
3
- "version": "3.972.82",
3
+ "version": "3.972.83",
4
4
  "description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
5
5
  "keywords": [
6
6
  "aws",
@@ -50,10 +50,10 @@
50
50
  "test:watch": "yarn g:vitest watch"
51
51
  },
52
52
  "dependencies": {
53
- "@aws-sdk/core": "^3.978.5",
54
- "@aws-sdk/nested-clients": "^3.997.50",
53
+ "@aws-sdk/core": "^3.978.6",
54
+ "@aws-sdk/nested-clients": "^3.997.51",
55
55
  "@aws-sdk/types": "^3.975.0",
56
- "@smithy/core": "^3.36.1",
56
+ "@smithy/core": "^3.37.0",
57
57
  "@smithy/types": "^4.19.0",
58
58
  "tslib": "^2.6.2"
59
59
  },
@@ -83,7 +83,7 @@ const commonParams = {
83
83
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
84
84
  };
85
85
 
86
- var version = "3.997.49";
86
+ var version = "3.997.50";
87
87
  var packageInfo = {
88
88
  version: version};
89
89
 
@@ -78,7 +78,7 @@ const commonParams = {
78
78
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
79
79
  };
80
80
 
81
- var version = "3.997.49";
81
+ var version = "3.997.50";
82
82
  var packageInfo = {
83
83
  version: version};
84
84
 
@@ -78,7 +78,7 @@ const commonParams = {
78
78
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
79
79
  };
80
80
 
81
- var version = "3.997.49";
81
+ var version = "3.997.50";
82
82
  var packageInfo = {
83
83
  version: version};
84
84
 
@@ -78,7 +78,7 @@ const commonParams = {
78
78
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
79
79
  };
80
80
 
81
- var version = "3.997.49";
81
+ var version = "3.997.50";
82
82
  var packageInfo = {
83
83
  version: version};
84
84
 
@@ -258,7 +258,7 @@ const commonParams = {
258
258
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
259
259
  };
260
260
 
261
- var version = "3.997.49";
261
+ var version = "3.997.50";
262
262
  var packageInfo = {
263
263
  version: version};
264
264
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/nested-clients",
3
- "version": "3.997.50",
3
+ "version": "3.997.51",
4
4
  "description": "Nested clients for AWS SDK packages.",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients",
6
6
  "license": "Apache-2.0",
@@ -100,12 +100,12 @@
100
100
  "test:watch": "yarn g:vitest watch"
101
101
  },
102
102
  "dependencies": {
103
- "@aws-sdk/core": "^3.978.5",
103
+ "@aws-sdk/core": "^3.978.6",
104
104
  "@aws-sdk/signature-v4-multi-region": "^3.996.49",
105
105
  "@aws-sdk/types": "^3.975.0",
106
- "@smithy/core": "^3.36.1",
106
+ "@smithy/core": "^3.37.0",
107
107
  "@smithy/fetch-http-handler": "^5.8.0",
108
- "@smithy/node-http-handler": "^4.12.1",
108
+ "@smithy/node-http-handler": "^4.13.0",
109
109
  "@smithy/types": "^4.19.0",
110
110
  "tslib": "^2.6.2"
111
111
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.1155.0",
3
+ "version": "3.1157.0",
4
4
  "description": "A collection of token providers",
5
5
  "keywords": [
6
6
  "aws",
@@ -48,10 +48,10 @@
48
48
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
49
49
  },
50
50
  "dependencies": {
51
- "@aws-sdk/core": "^3.978.5",
52
- "@aws-sdk/nested-clients": "^3.997.50",
51
+ "@aws-sdk/core": "^3.978.6",
52
+ "@aws-sdk/nested-clients": "^3.997.51",
53
53
  "@aws-sdk/types": "^3.975.0",
54
- "@smithy/core": "^3.36.1",
54
+ "@smithy/core": "^3.37.0",
55
55
  "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
@@ -1,7 +1,7 @@
1
1
  const { nv, NumericValue, calculateBodyLength, generateIdempotencyToken, fromBase64, _parseEpochTimestamp } = require("@smithy/core/serde");
2
- const { hasOwn, getSmithyContext } = require("@smithy/core/transport");
3
- const { HttpRequest, collectBody, SerdeContext, RpcProtocol } = require("@smithy/core/protocols");
4
- const { NormalizedSchema, deref, TypeRegistry } = require("@smithy/core/schema");
2
+ const { hasOwn } = require("@smithy/core/transport");
3
+ const { HttpRequest, collectBody, SerdeContext, AbstractRpcV2Protocol } = require("@smithy/core/protocols");
4
+ const { NormalizedSchema, TypeRegistry } = require("@smithy/core/schema");
5
5
 
6
6
  const majorUint64 = 0;
7
7
  const majorNegativeInt64 = 1;
@@ -2216,51 +2216,27 @@ class CborCodec extends SerdeContext {
2216
2216
  }
2217
2217
  }
2218
2218
 
2219
- class SmithyRpcV2CborProtocol extends RpcProtocol {
2219
+ class SmithyRpcV2CborProtocol extends AbstractRpcV2Protocol {
2220
2220
  codec = new CborCodec();
2221
2221
  serializer = this.codec.createSerializer();
2222
2222
  deserializer = this.codec.createDeserializer();
2223
- constructor({ defaultNamespace, errorTypeRegistries, }) {
2224
- super({ defaultNamespace, errorTypeRegistries });
2225
- }
2226
2223
  getShapeId() {
2227
2224
  return "smithy.protocols#rpcv2Cbor";
2228
2225
  }
2229
2226
  getPayloadCodec() {
2230
2227
  return this.codec;
2231
2228
  }
2232
- async serializeRequest(operationSchema, input, context) {
2233
- const request = await super.serializeRequest(operationSchema, input, context);
2234
- Object.assign(request.headers, {
2235
- "content-type": this.getDefaultContentType(),
2236
- "smithy-protocol": "rpc-v2-cbor",
2237
- accept: this.getDefaultContentType(),
2238
- });
2239
- if (deref(operationSchema.input) === "unit") {
2240
- delete request.body;
2241
- delete request.headers["content-type"];
2242
- }
2243
- else {
2244
- if (!request.body) {
2245
- this.serializer.write(15, {});
2246
- request.body = this.serializer.flush();
2247
- }
2248
- if (request.body instanceof Uint8Array) {
2249
- request.headers["content-length"] = String(request.body.byteLength);
2250
- }
2251
- }
2252
- const { service, operation } = getSmithyContext(context);
2253
- const path = `/service/${service}/operation/${operation}`;
2254
- if (request.path.endsWith("/")) {
2255
- request.path += path.slice(1);
2229
+ getSmithyProtocolHeaderValue() {
2230
+ return "rpc-v2-cbor";
2231
+ }
2232
+ applyEmptyBody(request) {
2233
+ if (!request.body) {
2234
+ this.serializer.write(15, {});
2235
+ request.body = this.serializer.flush();
2256
2236
  }
2257
- else {
2258
- request.path += path;
2237
+ if (request.body instanceof Uint8Array) {
2238
+ request.headers["content-length"] = String(request.body.byteLength);
2259
2239
  }
2260
- return request;
2261
- }
2262
- async deserializeResponse(operationSchema, context, response) {
2263
- return super.deserializeResponse(operationSchema, context, response);
2264
2240
  }
2265
2241
  async handleError(operationSchema, context, response, dataObject, metadata) {
2266
2242
  const errorIdentifier = loadSmithyRpcV2CborErrorCode(response, dataObject) ?? "Unknown";
@@ -574,7 +574,7 @@ class RpcProtocol extends HttpProtocol {
574
574
  const deserializer = this.deserializer;
575
575
  const ns = NormalizedSchema.of(operationSchema.output);
576
576
  const dataObject = {};
577
- if (response.statusCode >= 300) {
577
+ if (this.isErrorResponse(response.statusCode)) {
578
578
  const bytes = await collectBody(response.body, context);
579
579
  if (bytes.byteLength > 0) {
580
580
  Object.assign(dataObject, await deserializer.read(15, bytes));
@@ -606,6 +606,42 @@ class RpcProtocol extends HttpProtocol {
606
606
  dataObject.$metadata = this.deserializeMetadata(response);
607
607
  return dataObject;
608
608
  }
609
+ isErrorResponse(statusCode) {
610
+ return statusCode >= 300;
611
+ }
612
+ }
613
+
614
+ class AbstractRpcV2Protocol extends RpcProtocol {
615
+ constructor({ defaultNamespace, errorTypeRegistries, }) {
616
+ super({ defaultNamespace, errorTypeRegistries });
617
+ }
618
+ async serializeRequest(operationSchema, input, context) {
619
+ const request = await super.serializeRequest(operationSchema, input, context);
620
+ Object.assign(request.headers, {
621
+ "content-type": this.getDefaultContentType(),
622
+ "smithy-protocol": this.getSmithyProtocolHeaderValue(),
623
+ accept: this.getDefaultContentType(),
624
+ });
625
+ if (deref(operationSchema.input) === "unit") {
626
+ delete request.body;
627
+ delete request.headers["content-type"];
628
+ }
629
+ else {
630
+ this.applyEmptyBody(request);
631
+ }
632
+ const { service, operation } = getSmithyContext(context);
633
+ const path = `/service/${service}/operation/${operation}`;
634
+ if (request.path.endsWith("/")) {
635
+ request.path += path.slice(1);
636
+ }
637
+ else {
638
+ request.path += path;
639
+ }
640
+ return request;
641
+ }
642
+ isErrorResponse(statusCode) {
643
+ return statusCode !== 200;
644
+ }
609
645
  }
610
646
 
611
647
  const resolvedPath = (resolvedPath, input, memberName, labelValueProvider, uriLabel, isGreedyLabel) => {
@@ -2240,7 +2276,7 @@ class JsonCodec2 extends SerdeContextConfig {
2240
2276
  }
2241
2277
  }
2242
2278
 
2243
- class SmithyRpcV2JsonProtocol extends RpcProtocol {
2279
+ class SmithyRpcV2JsonProtocol extends AbstractRpcV2Protocol {
2244
2280
  codec = new JsonCodec2({
2245
2281
  timestampFormat: {
2246
2282
  useTrait: false,
@@ -2251,41 +2287,19 @@ class SmithyRpcV2JsonProtocol extends RpcProtocol {
2251
2287
  });
2252
2288
  serializer = this.codec.createSerializer();
2253
2289
  deserializer = this.codec.createDeserializer();
2254
- constructor({ defaultNamespace, errorTypeRegistries, }) {
2255
- super({ defaultNamespace, errorTypeRegistries });
2256
- }
2257
2290
  getShapeId() {
2258
2291
  return "smithy.protocols#rpcv2Json";
2259
2292
  }
2260
2293
  getPayloadCodec() {
2261
2294
  return this.codec;
2262
2295
  }
2263
- async serializeRequest(operationSchema, input, context) {
2264
- const request = await super.serializeRequest(operationSchema, input, context);
2265
- Object.assign(request.headers, {
2266
- "content-type": this.getDefaultContentType(),
2267
- "smithy-protocol": "rpc-v2-json",
2268
- accept: this.getDefaultContentType(),
2269
- });
2270
- if (deref(operationSchema.input) === "unit") {
2271
- delete request.body;
2272
- delete request.headers["content-type"];
2273
- }
2274
- else if (!request.body) {
2296
+ getSmithyProtocolHeaderValue() {
2297
+ return "rpc-v2-json";
2298
+ }
2299
+ applyEmptyBody(request) {
2300
+ if (!request.body) {
2275
2301
  request.body = "{}";
2276
2302
  }
2277
- const { service, operation } = getSmithyContext(context);
2278
- const path = `/service/${service}/operation/${operation}`;
2279
- if (request.path.endsWith("/")) {
2280
- request.path += path.slice(1);
2281
- }
2282
- else {
2283
- request.path += path;
2284
- }
2285
- return request;
2286
- }
2287
- async deserializeResponse(operationSchema, context, response) {
2288
- return super.deserializeResponse(operationSchema, context, response);
2289
2303
  }
2290
2304
  async handleError(operationSchema, context, response, dataObject, metadata) {
2291
2305
  const errorName = loadSmithyRpcV2JsonErrorCode(response, dataObject) ?? "Unknown";
@@ -2753,6 +2767,7 @@ class JsonCodec extends SerdeContextConfig {
2753
2767
  }
2754
2768
  }
2755
2769
 
2770
+ exports.AbstractRpcV2Protocol = AbstractRpcV2Protocol;
2756
2771
  exports.Field = Field;
2757
2772
  exports.Fields = Fields;
2758
2773
  exports.FromStringShapeDeserializer = FromStringShapeDeserializer;