@jjrawlins/cdk-iam-policy-builder-helper 0.0.58 → 0.0.60

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 (133) hide show
  1. package/.jsii +3 -3
  2. package/cdk-iam-policy-builder-helper/go.mod +1 -1
  3. package/cdk-iam-policy-builder-helper/jsii/jsii.go +2 -2
  4. package/cdk-iam-policy-builder-helper/version +1 -1
  5. package/node_modules/@aws-sdk/client-iam/package.json +5 -5
  6. package/node_modules/@aws-sdk/client-sso/package.json +4 -4
  7. package/node_modules/@aws-sdk/core/dist-cjs/index.js +1 -1
  8. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +1 -1
  9. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +1 -1
  10. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +1 -2
  11. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +1 -1
  12. package/node_modules/@aws-sdk/core/package.json +2 -2
  13. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  14. package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  15. package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
  16. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  17. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  18. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  19. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  20. package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  21. package/node_modules/@aws-sdk/nested-clients/package.json +4 -4
  22. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  23. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  24. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.browser.js +4 -1
  25. package/node_modules/@aws-sdk/xml-builder/package.json +1 -1
  26. package/node_modules/@smithy/abort-controller/package.json +2 -2
  27. package/node_modules/@smithy/config-resolver/package.json +4 -4
  28. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +1 -2
  29. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +3 -3
  30. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +171 -169
  31. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +1 -2
  32. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +4 -4
  33. package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +1 -1
  34. package/node_modules/@smithy/core/dist-es/submodules/schema/index.js +1 -0
  35. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +4 -6
  36. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +4 -6
  37. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +26 -35
  38. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/operation.js +7 -0
  39. package/node_modules/@smithy/core/dist-types/submodules/schema/index.d.ts +1 -0
  40. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +2 -0
  41. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ListSchema.d.ts +2 -0
  42. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/MapSchema.d.ts +2 -0
  43. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +4 -21
  44. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/OperationSchema.d.ts +2 -0
  45. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/Schema.d.ts +1 -0
  46. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +2 -0
  47. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts +2 -0
  48. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/operation.d.ts +7 -0
  49. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts +1 -0
  50. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +2 -0
  51. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +2 -0
  52. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +2 -0
  53. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +4 -21
  54. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +2 -0
  55. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +1 -0
  56. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +2 -0
  57. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +2 -0
  58. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/operation.d.ts +7 -0
  59. package/node_modules/@smithy/core/package.json +7 -7
  60. package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  61. package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
  62. package/node_modules/@smithy/hash-node/package.json +2 -2
  63. package/node_modules/@smithy/invalid-dependency/package.json +2 -2
  64. package/node_modules/@smithy/middleware-content-length/package.json +3 -3
  65. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  66. package/node_modules/@smithy/middleware-retry/package.json +8 -8
  67. package/node_modules/@smithy/middleware-serde/package.json +3 -3
  68. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  69. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  70. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  71. package/node_modules/@smithy/property-provider/package.json +2 -2
  72. package/node_modules/@smithy/protocol-http/package.json +2 -2
  73. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  74. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  75. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  76. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +2 -1
  77. package/node_modules/@smithy/shared-ini-file-loader/dist-es/constants.js +1 -0
  78. package/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +1 -1
  79. package/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +1 -1
  80. package/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +1 -1
  81. package/node_modules/@smithy/shared-ini-file-loader/dist-types/constants.d.ts +4 -0
  82. package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +1 -4
  83. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/constants.d.ts +4 -0
  84. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +1 -4
  85. package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
  86. package/node_modules/@smithy/signature-v4/package.json +4 -4
  87. package/node_modules/@smithy/smithy-client/package.json +7 -7
  88. package/node_modules/@smithy/types/dist-es/index.js +1 -0
  89. package/node_modules/@smithy/types/dist-es/schema/schema-deprecated.js +1 -0
  90. package/node_modules/@smithy/types/dist-types/index.d.ts +1 -0
  91. package/node_modules/@smithy/types/dist-types/schema/schema-deprecated.d.ts +136 -0
  92. package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +26 -68
  93. package/node_modules/@smithy/types/dist-types/schema/static-schemas.d.ts +8 -8
  94. package/node_modules/@smithy/types/dist-types/serde.d.ts +2 -2
  95. package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +1 -0
  96. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts +142 -0
  97. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +27 -72
  98. package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +9 -9
  99. package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +2 -2
  100. package/node_modules/@smithy/types/package.json +1 -1
  101. package/node_modules/@smithy/url-parser/package.json +3 -3
  102. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  103. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  104. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +31 -22
  105. package/node_modules/@smithy/util-endpoints/dist-es/utils/callFunction.js +1 -11
  106. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateExpression.js +15 -2
  107. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateRules.js +17 -2
  108. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateTreeRule.js +1 -13
  109. package/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperties.js +25 -2
  110. package/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperty.js +1 -21
  111. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/callFunction.d.ts +1 -2
  112. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateExpression.d.ts +7 -2
  113. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateRules.d.ts +6 -1
  114. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateTreeRule.d.ts +1 -3
  115. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperties.d.ts +6 -0
  116. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperty.d.ts +1 -3
  117. package/node_modules/@smithy/util-endpoints/dist-types/utils/callFunction.d.ts +1 -2
  118. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateExpression.d.ts +7 -2
  119. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateRules.d.ts +6 -1
  120. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateTreeRule.d.ts +1 -3
  121. package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperties.d.ts +6 -0
  122. package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperty.d.ts +1 -3
  123. package/node_modules/@smithy/util-endpoints/package.json +3 -3
  124. package/node_modules/@smithy/util-middleware/package.json +2 -2
  125. package/node_modules/@smithy/util-retry/package.json +3 -3
  126. package/node_modules/@smithy/util-stream/dist-cjs/index.js +8 -15
  127. package/node_modules/@smithy/util-stream/dist-es/blob/Uint8ArrayBlobAdapter.js +10 -3
  128. package/node_modules/@smithy/util-stream/package.json +4 -4
  129. package/node_modules/@smithy/util-waiter/package.json +3 -3
  130. package/package.json +3 -3
  131. package/node_modules/@smithy/util-stream/dist-es/blob/transforms.js +0 -15
  132. package/node_modules/@smithy/util-stream/dist-types/blob/transforms.d.ts +0 -9
  133. package/node_modules/@smithy/util-stream/dist-types/ts3.4/blob/transforms.d.ts +0 -9
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-endpoint",
3
- "version": "4.3.3",
3
+ "version": "4.3.4",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline middleware-endpoint",
@@ -25,13 +25,13 @@
25
25
  "license": "Apache-2.0",
26
26
  "sideEffects": false,
27
27
  "dependencies": {
28
- "@smithy/core": "^3.16.1",
29
- "@smithy/middleware-serde": "^4.2.2",
30
- "@smithy/node-config-provider": "^4.3.2",
31
- "@smithy/shared-ini-file-loader": "^4.3.2",
32
- "@smithy/types": "^4.7.1",
33
- "@smithy/url-parser": "^4.2.2",
34
- "@smithy/util-middleware": "^4.2.2",
28
+ "@smithy/core": "^3.17.0",
29
+ "@smithy/middleware-serde": "^4.2.3",
30
+ "@smithy/node-config-provider": "^4.3.3",
31
+ "@smithy/shared-ini-file-loader": "^4.3.3",
32
+ "@smithy/types": "^4.8.0",
33
+ "@smithy/url-parser": "^4.2.3",
34
+ "@smithy/util-middleware": "^4.2.3",
35
35
  "tslib": "^2.6.2"
36
36
  },
37
37
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-retry",
3
- "version": "4.4.3",
3
+ "version": "4.4.4",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline middleware-retry",
@@ -34,13 +34,13 @@
34
34
  "license": "Apache-2.0",
35
35
  "sideEffects": false,
36
36
  "dependencies": {
37
- "@smithy/node-config-provider": "^4.3.2",
38
- "@smithy/protocol-http": "^5.3.2",
39
- "@smithy/service-error-classification": "^4.2.2",
40
- "@smithy/smithy-client": "^4.8.1",
41
- "@smithy/types": "^4.7.1",
42
- "@smithy/util-middleware": "^4.2.2",
43
- "@smithy/util-retry": "^4.2.2",
37
+ "@smithy/node-config-provider": "^4.3.3",
38
+ "@smithy/protocol-http": "^5.3.3",
39
+ "@smithy/service-error-classification": "^4.2.3",
40
+ "@smithy/smithy-client": "^4.9.0",
41
+ "@smithy/types": "^4.8.0",
42
+ "@smithy/util-middleware": "^4.2.3",
43
+ "@smithy/util-retry": "^4.2.3",
44
44
  "@smithy/uuid": "^1.1.0",
45
45
  "tslib": "^2.6.2"
46
46
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-serde",
3
- "version": "4.2.2",
3
+ "version": "4.2.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 middleware-serde",
@@ -26,8 +26,8 @@
26
26
  "license": "Apache-2.0",
27
27
  "sideEffects": false,
28
28
  "dependencies": {
29
- "@smithy/protocol-http": "^5.3.2",
30
- "@smithy/types": "^4.7.1",
29
+ "@smithy/protocol-http": "^5.3.3",
30
+ "@smithy/types": "^4.8.0",
31
31
  "tslib": "^2.6.2"
32
32
  },
33
33
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-stack",
3
- "version": "4.2.2",
3
+ "version": "4.2.3",
4
4
  "description": "Provides a means for composing multiple middleware functions into a single handler",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
@@ -27,7 +27,7 @@
27
27
  "module": "./dist-es/index.js",
28
28
  "types": "./dist-types/index.d.ts",
29
29
  "dependencies": {
30
- "@smithy/types": "^4.7.1",
30
+ "@smithy/types": "^4.8.0",
31
31
  "tslib": "^2.6.2"
32
32
  },
33
33
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/node-config-provider",
3
- "version": "4.3.2",
3
+ "version": "4.3.3",
4
4
  "description": "Load config default values from ini config files and environmental variable",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
@@ -26,9 +26,9 @@
26
26
  "module": "./dist-es/index.js",
27
27
  "types": "./dist-types/index.d.ts",
28
28
  "dependencies": {
29
- "@smithy/property-provider": "^4.2.2",
30
- "@smithy/shared-ini-file-loader": "^4.3.2",
31
- "@smithy/types": "^4.7.1",
29
+ "@smithy/property-provider": "^4.2.3",
30
+ "@smithy/shared-ini-file-loader": "^4.3.3",
31
+ "@smithy/types": "^4.8.0",
32
32
  "tslib": "^2.6.2"
33
33
  },
34
34
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/node-http-handler",
3
- "version": "4.4.1",
3
+ "version": "4.4.2",
4
4
  "description": "Provides a way to make requests",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
@@ -27,10 +27,10 @@
27
27
  "module": "./dist-es/index.js",
28
28
  "types": "./dist-types/index.d.ts",
29
29
  "dependencies": {
30
- "@smithy/abort-controller": "^4.2.2",
31
- "@smithy/protocol-http": "^5.3.2",
32
- "@smithy/querystring-builder": "^4.2.2",
33
- "@smithy/types": "^4.7.1",
30
+ "@smithy/abort-controller": "^4.2.3",
31
+ "@smithy/protocol-http": "^5.3.3",
32
+ "@smithy/querystring-builder": "^4.2.3",
33
+ "@smithy/types": "^4.8.0",
34
34
  "tslib": "^2.6.2"
35
35
  },
36
36
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/property-provider",
3
- "version": "4.2.2",
3
+ "version": "4.2.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 property-provider",
@@ -24,7 +24,7 @@
24
24
  "license": "Apache-2.0",
25
25
  "sideEffects": false,
26
26
  "dependencies": {
27
- "@smithy/types": "^4.7.1",
27
+ "@smithy/types": "^4.8.0",
28
28
  "tslib": "^2.6.2"
29
29
  },
30
30
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/protocol-http",
3
- "version": "5.3.2",
3
+ "version": "5.3.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 protocol-http",
@@ -25,7 +25,7 @@
25
25
  "license": "Apache-2.0",
26
26
  "sideEffects": false,
27
27
  "dependencies": {
28
- "@smithy/types": "^4.7.1",
28
+ "@smithy/types": "^4.8.0",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/querystring-builder",
3
- "version": "4.2.2",
3
+ "version": "4.2.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 querystring-builder",
@@ -23,7 +23,7 @@
23
23
  "license": "Apache-2.0",
24
24
  "sideEffects": false,
25
25
  "dependencies": {
26
- "@smithy/types": "^4.7.1",
26
+ "@smithy/types": "^4.8.0",
27
27
  "@smithy/util-uri-escape": "^4.2.0",
28
28
  "tslib": "^2.6.2"
29
29
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/querystring-parser",
3
- "version": "4.2.2",
3
+ "version": "4.2.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 querystring-parser",
@@ -24,7 +24,7 @@
24
24
  "license": "Apache-2.0",
25
25
  "sideEffects": false,
26
26
  "dependencies": {
27
- "@smithy/types": "^4.7.1",
27
+ "@smithy/types": "^4.8.0",
28
28
  "tslib": "^2.6.2"
29
29
  },
30
30
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/service-error-classification",
3
- "version": "4.2.2",
3
+ "version": "4.2.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 service-error-classification",
@@ -55,6 +55,6 @@
55
55
  "directory": ".release/package"
56
56
  },
57
57
  "dependencies": {
58
- "@smithy/types": "^4.7.1"
58
+ "@smithy/types": "^4.8.0"
59
59
  }
60
60
  }
@@ -11,6 +11,8 @@ const ENV_PROFILE = "AWS_PROFILE";
11
11
  const DEFAULT_PROFILE = "default";
12
12
  const getProfileName = (init) => init.profile || process.env[ENV_PROFILE] || DEFAULT_PROFILE;
13
13
 
14
+ const CONFIG_PREFIX_SEPARATOR = ".";
15
+
14
16
  const getConfigData = (data) => Object.entries(data)
15
17
  .filter(([key]) => {
16
18
  const indexOfSeparator = key.indexOf(CONFIG_PREFIX_SEPARATOR);
@@ -86,7 +88,6 @@ const parseIni = (iniData) => {
86
88
  };
87
89
 
88
90
  const swallowError$1 = () => ({});
89
- const CONFIG_PREFIX_SEPARATOR = ".";
90
91
  const loadSharedConfigFiles = async (init = {}) => {
91
92
  const { filepath = getCredentialsFilepath(), configFilepath = getConfigFilepath() } = init;
92
93
  const homeDir = getHomeDir.getHomeDir();
@@ -0,0 +1 @@
1
+ export const CONFIG_PREFIX_SEPARATOR = ".";
@@ -1,5 +1,5 @@
1
1
  import { IniSectionType } from "@smithy/types";
2
- import { CONFIG_PREFIX_SEPARATOR } from "./loadSharedConfigFiles";
2
+ import { CONFIG_PREFIX_SEPARATOR } from "./constants";
3
3
  export const getConfigData = (data) => Object.entries(data)
4
4
  .filter(([key]) => {
5
5
  const indexOfSeparator = key.indexOf(CONFIG_PREFIX_SEPARATOR);
@@ -6,7 +6,7 @@ import { getHomeDir } from "./getHomeDir";
6
6
  import { parseIni } from "./parseIni";
7
7
  import { slurpFile } from "./slurpFile";
8
8
  const swallowError = () => ({});
9
- export const CONFIG_PREFIX_SEPARATOR = ".";
9
+ export { CONFIG_PREFIX_SEPARATOR } from "./constants";
10
10
  export const loadSharedConfigFiles = async (init = {}) => {
11
11
  const { filepath = getCredentialsFilepath(), configFilepath = getConfigFilepath() } = init;
12
12
  const homeDir = getHomeDir();
@@ -1,5 +1,5 @@
1
1
  import { IniSectionType } from "@smithy/types";
2
- import { CONFIG_PREFIX_SEPARATOR } from "./loadSharedConfigFiles";
2
+ import { CONFIG_PREFIX_SEPARATOR } from "./constants";
3
3
  const prefixKeyRegex = /^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/;
4
4
  const profileNameBlockList = ["__proto__", "profile __proto__"];
5
5
  export const parseIni = (iniData) => {
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @internal
3
+ */
4
+ export declare const CONFIG_PREFIX_SEPARATOR = ".";
@@ -25,10 +25,7 @@ export interface SharedConfigInit {
25
25
  */
26
26
  logger?: Logger;
27
27
  }
28
- /**
29
- * @internal
30
- */
31
- export declare const CONFIG_PREFIX_SEPARATOR = ".";
28
+ export { CONFIG_PREFIX_SEPARATOR } from "./constants";
32
29
  /**
33
30
  * Loads the config and credentials files.
34
31
  * @internal
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @internal
3
+ */
4
+ export declare const CONFIG_PREFIX_SEPARATOR = ".";
@@ -25,10 +25,7 @@ export interface SharedConfigInit {
25
25
  */
26
26
  logger?: Logger;
27
27
  }
28
- /**
29
- * @internal
30
- */
31
- export declare const CONFIG_PREFIX_SEPARATOR = ".";
28
+ export { CONFIG_PREFIX_SEPARATOR } from "./constants";
32
29
  /**
33
30
  * Loads the config and credentials files.
34
31
  * @internal
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@smithy/shared-ini-file-loader",
3
- "version": "4.3.2",
3
+ "version": "4.3.3",
4
4
  "dependencies": {
5
- "@smithy/types": "^4.7.1",
5
+ "@smithy/types": "^4.8.0",
6
6
  "tslib": "^2.6.2"
7
7
  },
8
8
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/signature-v4",
3
- "version": "5.3.2",
3
+ "version": "5.3.3",
4
4
  "description": "A standalone implementation of the AWS Signature V4 request signing algorithm",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -27,10 +27,10 @@
27
27
  "sideEffects": false,
28
28
  "dependencies": {
29
29
  "@smithy/is-array-buffer": "^4.2.0",
30
- "@smithy/protocol-http": "^5.3.2",
31
- "@smithy/types": "^4.7.1",
30
+ "@smithy/protocol-http": "^5.3.3",
31
+ "@smithy/types": "^4.8.0",
32
32
  "@smithy/util-hex-encoding": "^4.2.0",
33
- "@smithy/util-middleware": "^4.2.2",
33
+ "@smithy/util-middleware": "^4.2.3",
34
34
  "@smithy/util-uri-escape": "^4.2.0",
35
35
  "@smithy/util-utf8": "^4.2.0",
36
36
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/smithy-client",
3
- "version": "4.8.1",
3
+ "version": "4.9.0",
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 smithy-client",
@@ -25,12 +25,12 @@
25
25
  "license": "Apache-2.0",
26
26
  "sideEffects": false,
27
27
  "dependencies": {
28
- "@smithy/core": "^3.16.1",
29
- "@smithy/middleware-endpoint": "^4.3.3",
30
- "@smithy/middleware-stack": "^4.2.2",
31
- "@smithy/protocol-http": "^5.3.2",
32
- "@smithy/types": "^4.7.1",
33
- "@smithy/util-stream": "^4.5.2",
28
+ "@smithy/core": "^3.17.0",
29
+ "@smithy/middleware-endpoint": "^4.3.4",
30
+ "@smithy/middleware-stack": "^4.2.3",
31
+ "@smithy/protocol-http": "^5.3.3",
32
+ "@smithy/types": "^4.8.0",
33
+ "@smithy/util-stream": "^4.5.3",
34
34
  "tslib": "^2.6.2"
35
35
  },
36
36
  "engines": {
@@ -22,6 +22,7 @@ export * from "./profile";
22
22
  export * from "./response";
23
23
  export * from "./retry";
24
24
  export * from "./schema/schema";
25
+ export * from "./schema/schema-deprecated";
25
26
  export * from "./schema/sentinels";
26
27
  export * from "./schema/static-schemas";
27
28
  export * from "./serde";
@@ -22,6 +22,7 @@ export * from "./profile";
22
22
  export * from "./response";
23
23
  export * from "./retry";
24
24
  export * from "./schema/schema";
25
+ export * from "./schema/schema-deprecated";
25
26
  export * from "./schema/sentinels";
26
27
  export * from "./schema/static-schemas";
27
28
  export * from "./serde";
@@ -0,0 +1,136 @@
1
+ import type { EndpointV2 } from "../endpoint";
2
+ import type { HandlerExecutionContext } from "../middleware";
3
+ import type { MetadataBearer } from "../response";
4
+ import type { EndpointBearer, SerdeFunctions } from "../serde";
5
+ import type { ConfigurableSerdeContext, NormalizedSchema, SchemaTraits, SimpleSchema, UnitSchema } from "./schema";
6
+ import type { StaticSchema } from "./static-schemas";
7
+ /**
8
+ * A schema is an object or value that describes how to serialize/deserialize data.
9
+ * @public
10
+ * @deprecated use $Schema
11
+ */
12
+ export type Schema = UnitSchema | TraitsSchema | SimpleSchema | ListSchema | MapSchema | StructureSchema | MemberSchema | OperationSchema | StaticSchema | NormalizedSchema;
13
+ /**
14
+ * A schema "reference" is either a schema or a function that
15
+ * provides a schema. This is useful for lazy loading, and to allow
16
+ * code generation to define schema out of dependency order.
17
+ * @public
18
+ * @deprecated use $SchemaRef
19
+ */
20
+ export type SchemaRef = Schema | (() => Schema);
21
+ /**
22
+ * A schema that has traits.
23
+ *
24
+ * @public
25
+ * @deprecated use static schema.
26
+ */
27
+ export interface TraitsSchema {
28
+ namespace: string;
29
+ name: string;
30
+ traits: SchemaTraits;
31
+ }
32
+ /**
33
+ * Indicates the schema is a member of a parent Structure schema.
34
+ * It may also have a set of member traits distinct from its target shape's traits.
35
+ * @public
36
+ * @deprecated use $MemberSchema
37
+ */
38
+ export type MemberSchema = [SchemaRef, SchemaTraits];
39
+ /**
40
+ * Schema for the structure aggregate type.
41
+ * @public
42
+ * @deprecated use static schema.
43
+ */
44
+ export interface StructureSchema extends TraitsSchema {
45
+ memberNames: string[];
46
+ memberList: SchemaRef[];
47
+ /**
48
+ * @deprecated structure member iteration will be linear on the memberNames and memberList arrays.
49
+ * It can be collected into a hashmap form on an ad-hoc basis, but will not initialize as such.
50
+ */
51
+ members?: Record<string, [SchemaRef, SchemaTraits]> | undefined;
52
+ }
53
+ /**
54
+ * Schema for the list aggregate type.
55
+ * @public
56
+ * @deprecated use static schema.
57
+ */
58
+ export interface ListSchema extends TraitsSchema {
59
+ valueSchema: SchemaRef;
60
+ }
61
+ /**
62
+ * Schema for the map aggregate type.
63
+ * @public
64
+ * @deprecated use static schema.
65
+ */
66
+ export interface MapSchema extends TraitsSchema {
67
+ keySchema: SchemaRef;
68
+ valueSchema: SchemaRef;
69
+ }
70
+ /**
71
+ * Schema for an operation.
72
+ * @public
73
+ * @deprecated use StaticOperationSchema or $OperationSchema
74
+ */
75
+ export interface OperationSchema {
76
+ namespace: string;
77
+ name: string;
78
+ traits: SchemaTraits;
79
+ input: SchemaRef;
80
+ output: SchemaRef;
81
+ }
82
+ /**
83
+ * Turns a serialization into a data object.
84
+ * @public
85
+ * @deprecated use $ShapeDeserializer
86
+ */
87
+ export interface ShapeDeserializer<SerializationType = Uint8Array> extends ConfigurableSerdeContext {
88
+ /**
89
+ * Optionally async.
90
+ */
91
+ read(schema: Schema, data: SerializationType): any | Promise<any>;
92
+ }
93
+ /**
94
+ * Turns a data object into a serialization.
95
+ * @public
96
+ * @deprecated use $ShapeSerializer
97
+ */
98
+ export interface ShapeSerializer<SerializationType = Uint8Array> extends ConfigurableSerdeContext {
99
+ write(schema: Schema, value: unknown): void;
100
+ flush(): SerializationType;
101
+ }
102
+ /**
103
+ * A codec creates serializers and deserializers for some format such as JSON, XML, or CBOR.
104
+ *
105
+ * @public
106
+ * @deprecated use $Codec
107
+ */
108
+ export interface Codec<S, D> extends ConfigurableSerdeContext {
109
+ createSerializer(): ShapeSerializer<S>;
110
+ createDeserializer(): ShapeDeserializer<D>;
111
+ }
112
+ /**
113
+ * A client protocol defines how to convert a message (e.g. HTTP request/response) to and from a data object.
114
+ * @public
115
+ * @deprecated use $ClientProtocol
116
+ */
117
+ export interface ClientProtocol<Request, Response> extends ConfigurableSerdeContext {
118
+ /**
119
+ * @returns the Smithy qualified shape id.
120
+ */
121
+ getShapeId(): string;
122
+ getRequestType(): {
123
+ new (...args: any[]): Request;
124
+ };
125
+ getResponseType(): {
126
+ new (...args: any[]): Response;
127
+ };
128
+ /**
129
+ * @returns the payload codec if the requests/responses have a symmetric format.
130
+ * It otherwise may return null.
131
+ */
132
+ getPayloadCodec(): Codec<any, any>;
133
+ serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<Request>;
134
+ updateServiceEndpoint(request: Request, endpoint: EndpointV2): Request;
135
+ deserializeResponse<Output extends MetadataBearer>(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: Response): Promise<Output>;
136
+ }