@jjrawlins/cdk-iam-policy-builder-helper 0.0.57 → 0.0.59
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.
- package/.jsii +3 -3
- package/cdk-iam-policy-builder-helper/go.mod +2 -2
- package/cdk-iam-policy-builder-helper/jsii/jsii.go +2 -2
- package/cdk-iam-policy-builder-helper/version +1 -1
- package/node_modules/@aws-sdk/client-iam/package.json +34 -34
- package/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +6 -6
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +6 -6
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +2 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +4 -4
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +1 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +7 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +1 -1
- package/node_modules/@aws-sdk/core/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +35 -63
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +44 -75
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +19 -48
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/package.json +32 -32
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +59 -95
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/token-providers/package.json +7 -7
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +18 -290
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +395 -469
- package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +106 -160
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.browser.js +4 -1
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@smithy/abort-controller/package.json +2 -2
- package/node_modules/@smithy/config-resolver/package.json +4 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +1 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +3 -3
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +235 -220
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +1 -2
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +4 -4
- package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +16 -9
- package/node_modules/@smithy/core/dist-es/submodules/schema/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +4 -6
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +4 -6
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +26 -35
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/Schema.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +6 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/operation.js +7 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -2
- package/node_modules/@smithy/core/dist-types/submodules/schema/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ListSchema.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/MapSchema.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +4 -21
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/OperationSchema.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/Schema.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/operation.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +1 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +4 -21
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/operation.d.ts +7 -0
- package/node_modules/@smithy/core/package.json +7 -7
- package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
- package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
- package/node_modules/@smithy/hash-node/package.json +2 -2
- package/node_modules/@smithy/invalid-dependency/package.json +2 -2
- package/node_modules/@smithy/middleware-content-length/package.json +3 -3
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
- package/node_modules/@smithy/middleware-retry/package.json +8 -8
- package/node_modules/@smithy/middleware-serde/package.json +3 -3
- package/node_modules/@smithy/middleware-stack/package.json +2 -2
- package/node_modules/@smithy/node-config-provider/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@smithy/property-provider/package.json +2 -2
- package/node_modules/@smithy/protocol-http/package.json +2 -2
- package/node_modules/@smithy/querystring-builder/package.json +2 -2
- package/node_modules/@smithy/querystring-parser/package.json +2 -2
- package/node_modules/@smithy/service-error-classification/package.json +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +2 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/constants.js +1 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/constants.d.ts +4 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +1 -4
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/constants.d.ts +4 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +1 -4
- package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@smithy/signature-v4/package.json +4 -4
- package/node_modules/@smithy/smithy-client/package.json +7 -7
- package/node_modules/@smithy/types/dist-es/index.js +1 -0
- package/node_modules/@smithy/types/dist-es/schema/schema-deprecated.js +1 -0
- package/node_modules/@smithy/types/dist-types/index.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/schema/schema-deprecated.d.ts +136 -0
- package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +26 -68
- package/node_modules/@smithy/types/dist-types/schema/static-schemas.d.ts +8 -8
- package/node_modules/@smithy/types/dist-types/serde.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts +142 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +27 -72
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +10 -10
- package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +2 -2
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +31 -22
- package/node_modules/@smithy/util-endpoints/dist-es/utils/callFunction.js +1 -11
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateExpression.js +15 -2
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateRules.js +17 -2
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateTreeRule.js +1 -13
- package/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperties.js +25 -2
- package/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperty.js +1 -21
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/callFunction.d.ts +1 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateExpression.d.ts +7 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateRules.d.ts +6 -1
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateTreeRule.d.ts +1 -3
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperties.d.ts +6 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperty.d.ts +1 -3
- package/node_modules/@smithy/util-endpoints/dist-types/utils/callFunction.d.ts +1 -2
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateExpression.d.ts +7 -2
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateRules.d.ts +6 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateTreeRule.d.ts +1 -3
- package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperties.d.ts +6 -0
- package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperty.d.ts +1 -3
- package/node_modules/@smithy/util-endpoints/package.json +3 -3
- package/node_modules/@smithy/util-middleware/package.json +2 -2
- package/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@smithy/util-stream/dist-cjs/index.js +8 -15
- package/node_modules/@smithy/util-stream/dist-es/blob/Uint8ArrayBlobAdapter.js +10 -3
- package/node_modules/@smithy/util-stream/package.json +4 -4
- package/node_modules/@smithy/util-waiter/package.json +3 -3
- package/package.json +5 -5
- package/node_modules/@smithy/util-stream/dist-es/blob/transforms.js +0 -15
- package/node_modules/@smithy/util-stream/dist-types/blob/transforms.d.ts +0 -9
- 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/credential-provider-imds",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.3",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"sideEffects": false,
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@smithy/node-config-provider": "^4.3.
|
|
32
|
-
"@smithy/property-provider": "^4.2.
|
|
33
|
-
"@smithy/types": "^4.
|
|
34
|
-
"@smithy/url-parser": "^4.2.
|
|
31
|
+
"@smithy/node-config-provider": "^4.3.3",
|
|
32
|
+
"@smithy/property-provider": "^4.2.3",
|
|
33
|
+
"@smithy/types": "^4.8.0",
|
|
34
|
+
"@smithy/url-parser": "^4.2.3",
|
|
35
35
|
"tslib": "^2.6.2"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/fetch-http-handler",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.4",
|
|
4
4
|
"description": "Provides a way to make requests",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
@@ -28,14 +28,14 @@
|
|
|
28
28
|
"module": "./dist-es/index.js",
|
|
29
29
|
"types": "./dist-types/index.d.ts",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@smithy/protocol-http": "^5.3.
|
|
32
|
-
"@smithy/querystring-builder": "^4.2.
|
|
33
|
-
"@smithy/types": "^4.
|
|
31
|
+
"@smithy/protocol-http": "^5.3.3",
|
|
32
|
+
"@smithy/querystring-builder": "^4.2.3",
|
|
33
|
+
"@smithy/types": "^4.8.0",
|
|
34
34
|
"@smithy/util-base64": "^4.3.0",
|
|
35
35
|
"tslib": "^2.6.2"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@smithy/abort-controller": "^4.2.
|
|
38
|
+
"@smithy/abort-controller": "^4.2.3",
|
|
39
39
|
"concurrently": "7.0.0",
|
|
40
40
|
"downlevel-dts": "0.10.1",
|
|
41
41
|
"rimraf": "3.0.2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/hash-node",
|
|
3
|
-
"version": "4.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 hash-node",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"typedoc": "0.23.23"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@smithy/types": "^4.
|
|
35
|
+
"@smithy/types": "^4.8.0",
|
|
36
36
|
"@smithy/util-buffer-from": "^4.2.0",
|
|
37
37
|
"@smithy/util-utf8": "^4.2.0",
|
|
38
38
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/invalid-dependency",
|
|
3
|
-
"version": "4.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 invalid-dependency",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/types": "^4.
|
|
27
|
+
"@smithy/types": "^4.8.0",
|
|
28
28
|
"tslib": "^2.6.2"
|
|
29
29
|
},
|
|
30
30
|
"typesVersions": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-content-length",
|
|
3
|
-
"version": "4.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-content-length",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@smithy/protocol-http": "^5.3.
|
|
29
|
-
"@smithy/types": "^4.
|
|
28
|
+
"@smithy/protocol-http": "^5.3.3",
|
|
29
|
+
"@smithy/types": "^4.8.0",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
32
32
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-endpoint",
|
|
3
|
-
"version": "4.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.
|
|
29
|
-
"@smithy/middleware-serde": "^4.2.
|
|
30
|
-
"@smithy/node-config-provider": "^4.3.
|
|
31
|
-
"@smithy/shared-ini-file-loader": "^4.3.
|
|
32
|
-
"@smithy/types": "^4.
|
|
33
|
-
"@smithy/url-parser": "^4.2.
|
|
34
|
-
"@smithy/util-middleware": "^4.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
|
+
"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.
|
|
38
|
-
"@smithy/protocol-http": "^5.3.
|
|
39
|
-
"@smithy/service-error-classification": "^4.2.
|
|
40
|
-
"@smithy/smithy-client": "^4.
|
|
41
|
-
"@smithy/types": "^4.
|
|
42
|
-
"@smithy/util-middleware": "^4.2.
|
|
43
|
-
"@smithy/util-retry": "^4.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.
|
|
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.
|
|
30
|
-
"@smithy/types": "^4.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
30
|
-
"@smithy/shared-ini-file-loader": "^4.3.
|
|
31
|
-
"@smithy/types": "^4.
|
|
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.
|
|
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.
|
|
31
|
-
"@smithy/protocol-http": "^5.3.
|
|
32
|
-
"@smithy/querystring-builder": "^4.2.
|
|
33
|
-
"@smithy/types": "^4.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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 "./
|
|
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
|
|
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 "./
|
|
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) => {
|
|
@@ -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
|
package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts
CHANGED
|
@@ -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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/signature-v4",
|
|
3
|
-
"version": "5.3.
|
|
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.
|
|
31
|
-
"@smithy/types": "^4.
|
|
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.
|
|
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.
|
|
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.
|
|
29
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
30
|
-
"@smithy/middleware-stack": "^4.2.
|
|
31
|
-
"@smithy/protocol-http": "^5.3.
|
|
32
|
-
"@smithy/types": "^4.
|
|
33
|
-
"@smithy/util-stream": "^4.5.
|
|
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";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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
|
+
}
|