@jjrawlins/cdk-diff-pr-github-action 1.1.0 → 1.1.2
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/lib/CdkDiffIamTemplate.js +2 -2
- package/lib/CdkDiffIamTemplateStackSet.js +2 -2
- package/lib/CdkDiffStackWorkflow.js +1 -1
- package/lib/CdkDriftDetectionWorkflow.js +1 -1
- package/lib/CdkDriftIamTemplate.js +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +239 -201
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormation.js +73 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +230 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormation.d.ts +265 -1
- package/node_modules/@aws-sdk/client-cloudformation/package.json +18 -18
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +9 -5
- package/node_modules/@aws-sdk/client-sso/dist-es/SSO.js +7 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +15 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSO.d.ts +19 -1
- package/node_modules/@aws-sdk/client-sso/package.json +17 -17
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +4 -44
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +4 -44
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +1 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +1 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +1 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +1 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +1 -2
- package/node_modules/@aws-sdk/core/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +8 -2
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +8 -2
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-host-header/package.json +1 -1
- package/node_modules/@aws-sdk/middleware-logger/package.json +1 -1
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +1 -1
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -4
- package/node_modules/@aws-sdk/nested-clients/package.json +17 -17
- package/node_modules/@aws-sdk/region-config-resolver/package.json +1 -1
- package/node_modules/@aws-sdk/token-providers/package.json +4 -4
- package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +1 -1
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +7 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +7 -1
- package/node_modules/@smithy/core/package.json +1 -1
- package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +29 -3
- package/node_modules/@smithy/smithy-client/dist-es/create-aggregated-client.js +29 -3
- package/node_modules/@smithy/smithy-client/dist-types/create-aggregated-client.d.ts +8 -1
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/create-aggregated-client.d.ts +8 -1
- package/node_modules/@smithy/smithy-client/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/package.json +2 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +0 -40
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +0 -27
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts +0 -12
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/LICENSE +0 -201
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/README.md +0 -4
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-cjs/index.js +0 -22
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/abort.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/auth.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/blob/blob-types.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/checksum.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/client.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/command.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/connection.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/credentials.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/crypto.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/dns.js +0 -5
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/encode.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/endpoint.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/eventStream.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/extensions/index.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/feature-ids.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/function.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/http.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/identity/AnonymousIdentity.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/identity/AwsCredentialIdentity.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/identity/Identity.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/identity/LoginIdentity.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/identity/TokenIdentity.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/identity/index.js +0 -5
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/index.js +0 -34
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/logger.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/middleware.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/pagination.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/profile.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/request.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/response.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/retry.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/serde.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/shapes.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/signature.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/stream.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/token.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/transfer.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/uri.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/util.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-es/waiter.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/abort.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/auth.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts +0 -2
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/checksum.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/client.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/command.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/connection.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +0 -52
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/crypto.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/dns.d.ts +0 -85
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/encode.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/endpoint.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/eventStream.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/extensions/index.d.ts +0 -8
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +0 -67
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/function.d.ts +0 -7
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/http.d.ts +0 -33
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/identity/AnonymousIdentity.d.ts +0 -6
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +0 -61
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/identity/Identity.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/identity/LoginIdentity.d.ts +0 -18
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts +0 -11
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/identity/index.d.ts +0 -5
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/index.d.ts +0 -34
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/logger.d.ts +0 -22
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +0 -13
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/pagination.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/profile.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/request.d.ts +0 -7
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/response.d.ts +0 -7
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/retry.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/serde.d.ts +0 -24
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/shapes.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/signature.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/stream.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/token.d.ts +0 -17
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/transfer.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/abort.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/auth.d.ts +0 -5
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/blob/blob-types.d.ts +0 -2
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/checksum.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/client.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/command.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/connection.d.ts +0 -6
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +0 -15
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/crypto.d.ts +0 -7
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/dns.d.ts +0 -19
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/encode.d.ts +0 -6
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/endpoint.d.ts +0 -9
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/eventStream.d.ts +0 -24
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/extensions/index.d.ts +0 -5
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +0 -60
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/function.d.ts +0 -7
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/http.d.ts +0 -17
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AnonymousIdentity.d.ts +0 -2
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +0 -31
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/Identity.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/LoginIdentity.d.ts +0 -6
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/TokenIdentity.d.ts +0 -6
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/index.d.ts +0 -5
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +0 -34
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/logger.d.ts +0 -15
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +0 -47
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/pagination.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/profile.d.ts +0 -6
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/request.d.ts +0 -4
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/response.d.ts +0 -4
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/retry.d.ts +0 -12
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/serde.d.ts +0 -16
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/shapes.d.ts +0 -6
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/signature.d.ts +0 -15
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/stream.d.ts +0 -4
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/token.d.ts +0 -4
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/transfer.d.ts +0 -7
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/uri.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/util.d.ts +0 -14
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/ts3.4/waiter.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/uri.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/util.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/dist-types/waiter.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types/package.json +0 -57
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-user-agent",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.5",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-user-agent",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/core": "^3.973.
|
|
28
|
+
"@aws-sdk/core": "^3.973.5",
|
|
29
29
|
"@aws-sdk/types": "^3.973.1",
|
|
30
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
-
"@smithy/core": "^3.
|
|
30
|
+
"@aws-sdk/util-endpoints": "3.980.0",
|
|
31
|
+
"@smithy/core": "^3.22.0",
|
|
32
32
|
"@smithy/protocol-http": "^5.3.8",
|
|
33
33
|
"@smithy/types": "^4.12.0",
|
|
34
34
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.980.0",
|
|
4
4
|
"description": "Nested clients for AWS SDK packages.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -29,37 +29,37 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
31
31
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
32
|
-
"@aws-sdk/core": "^3.973.
|
|
33
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
34
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
35
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
36
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
37
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
38
|
-
"@aws-sdk/types": "^3.973.
|
|
39
|
-
"@aws-sdk/util-endpoints": "3.
|
|
40
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
41
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
32
|
+
"@aws-sdk/core": "^3.973.5",
|
|
33
|
+
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
34
|
+
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
35
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "^3.972.5",
|
|
37
|
+
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
38
|
+
"@aws-sdk/types": "^3.973.1",
|
|
39
|
+
"@aws-sdk/util-endpoints": "3.980.0",
|
|
40
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
41
|
+
"@aws-sdk/util-user-agent-node": "^3.972.3",
|
|
42
42
|
"@smithy/config-resolver": "^4.4.6",
|
|
43
|
-
"@smithy/core": "^3.
|
|
43
|
+
"@smithy/core": "^3.22.0",
|
|
44
44
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
45
45
|
"@smithy/hash-node": "^4.2.8",
|
|
46
46
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
47
47
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
48
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
49
|
-
"@smithy/middleware-retry": "^4.4.
|
|
48
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
49
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
50
50
|
"@smithy/middleware-serde": "^4.2.9",
|
|
51
51
|
"@smithy/middleware-stack": "^4.2.8",
|
|
52
52
|
"@smithy/node-config-provider": "^4.3.8",
|
|
53
53
|
"@smithy/node-http-handler": "^4.4.8",
|
|
54
54
|
"@smithy/protocol-http": "^5.3.8",
|
|
55
|
-
"@smithy/smithy-client": "^4.
|
|
55
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
56
56
|
"@smithy/types": "^4.12.0",
|
|
57
57
|
"@smithy/url-parser": "^4.2.8",
|
|
58
58
|
"@smithy/util-base64": "^4.3.0",
|
|
59
59
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
60
60
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
61
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
62
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
61
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
62
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
63
63
|
"@smithy/util-endpoints": "^3.2.8",
|
|
64
64
|
"@smithy/util-middleware": "^4.2.8",
|
|
65
65
|
"@smithy/util-retry": "^4.2.8",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/region-config-resolver",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.3",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline region-config-resolver",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.980.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
},
|
|
30
30
|
"license": "Apache-2.0",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@aws-sdk/core": "^3.973.
|
|
33
|
-
"@aws-sdk/nested-clients": "3.
|
|
34
|
-
"@aws-sdk/types": "^3.973.
|
|
32
|
+
"@aws-sdk/core": "^3.973.5",
|
|
33
|
+
"@aws-sdk/nested-clients": "3.980.0",
|
|
34
|
+
"@aws-sdk/types": "^3.973.1",
|
|
35
35
|
"@smithy/property-provider": "^4.2.8",
|
|
36
36
|
"@smithy/shared-ini-file-loader": "^4.4.3",
|
|
37
37
|
"@smithy/types": "^4.12.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-endpoints",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.980.0",
|
|
4
4
|
"description": "Utilities to help with endpoint resolution",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/types": "3.
|
|
28
|
+
"@aws-sdk/types": "^3.973.1",
|
|
29
29
|
"@smithy/types": "^4.12.0",
|
|
30
30
|
"@smithy/url-parser": "^4.2.8",
|
|
31
31
|
"@smithy/util-endpoints": "^3.2.8",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-browser",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.3",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline util-user-agent-browser",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-node",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.3",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline util-user-agent-node",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
25
|
+
"@aws-sdk/middleware-user-agent": "^3.972.5",
|
|
26
26
|
"@aws-sdk/types": "^3.973.1",
|
|
27
27
|
"@smithy/node-config-provider": "^4.3.8",
|
|
28
28
|
"@smithy/types": "^4.12.0",
|
|
@@ -323,7 +323,7 @@ class NormalizedSchema {
|
|
|
323
323
|
}
|
|
324
324
|
getSchema() {
|
|
325
325
|
const sc = this.schema;
|
|
326
|
-
if (sc[0] === 0) {
|
|
326
|
+
if (Array.isArray(sc) && sc[0] === 0) {
|
|
327
327
|
return sc[4];
|
|
328
328
|
}
|
|
329
329
|
return sc;
|
|
@@ -353,6 +353,9 @@ class NormalizedSchema {
|
|
|
353
353
|
}
|
|
354
354
|
isStructSchema() {
|
|
355
355
|
const sc = this.getSchema();
|
|
356
|
+
if (typeof sc !== "object") {
|
|
357
|
+
return false;
|
|
358
|
+
}
|
|
356
359
|
const id = sc[0];
|
|
357
360
|
return (id === 3 ||
|
|
358
361
|
id === -3 ||
|
|
@@ -360,6 +363,9 @@ class NormalizedSchema {
|
|
|
360
363
|
}
|
|
361
364
|
isUnionSchema() {
|
|
362
365
|
const sc = this.getSchema();
|
|
366
|
+
if (typeof sc !== "object") {
|
|
367
|
+
return false;
|
|
368
|
+
}
|
|
363
369
|
return sc[0] === 4;
|
|
364
370
|
}
|
|
365
371
|
isBlobSchema() {
|
|
@@ -83,7 +83,7 @@ export class NormalizedSchema {
|
|
|
83
83
|
}
|
|
84
84
|
getSchema() {
|
|
85
85
|
const sc = this.schema;
|
|
86
|
-
if (sc[0] === 0) {
|
|
86
|
+
if (Array.isArray(sc) && sc[0] === 0) {
|
|
87
87
|
return sc[4];
|
|
88
88
|
}
|
|
89
89
|
return sc;
|
|
@@ -113,6 +113,9 @@ export class NormalizedSchema {
|
|
|
113
113
|
}
|
|
114
114
|
isStructSchema() {
|
|
115
115
|
const sc = this.getSchema();
|
|
116
|
+
if (typeof sc !== "object") {
|
|
117
|
+
return false;
|
|
118
|
+
}
|
|
116
119
|
const id = sc[0];
|
|
117
120
|
return (id === 3 ||
|
|
118
121
|
id === -3 ||
|
|
@@ -120,6 +123,9 @@ export class NormalizedSchema {
|
|
|
120
123
|
}
|
|
121
124
|
isUnionSchema() {
|
|
122
125
|
const sc = this.getSchema();
|
|
126
|
+
if (typeof sc !== "object") {
|
|
127
|
+
return false;
|
|
128
|
+
}
|
|
123
129
|
return sc[0] === 4;
|
|
124
130
|
}
|
|
125
131
|
isBlobSchema() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-endpoint",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.12",
|
|
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,7 +25,7 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@smithy/core": "^3.
|
|
28
|
+
"@smithy/core": "^3.22.0",
|
|
29
29
|
"@smithy/middleware-serde": "^4.2.9",
|
|
30
30
|
"@smithy/node-config-provider": "^4.3.8",
|
|
31
31
|
"@smithy/shared-ini-file-loader": "^4.4.3",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-retry",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.29",
|
|
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",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@smithy/node-config-provider": "^4.3.8",
|
|
38
38
|
"@smithy/protocol-http": "^5.3.8",
|
|
39
39
|
"@smithy/service-error-classification": "^4.2.8",
|
|
40
|
-
"@smithy/smithy-client": "^4.
|
|
40
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
41
41
|
"@smithy/types": "^4.12.0",
|
|
42
42
|
"@smithy/util-middleware": "^4.2.8",
|
|
43
43
|
"@smithy/util-retry": "^4.2.8",
|
|
@@ -215,9 +215,8 @@ class ClassBuilder {
|
|
|
215
215
|
|
|
216
216
|
const SENSITIVE_STRING = "***SensitiveInformation***";
|
|
217
217
|
|
|
218
|
-
const createAggregatedClient = (commands, Client) => {
|
|
219
|
-
for (const command of Object.
|
|
220
|
-
const CommandCtor = commands[command];
|
|
218
|
+
const createAggregatedClient = (commands, Client, options) => {
|
|
219
|
+
for (const [command, CommandCtor] of Object.entries(commands)) {
|
|
221
220
|
const methodImpl = async function (args, optionsOrCb, cb) {
|
|
222
221
|
const command = new CommandCtor(args);
|
|
223
222
|
if (typeof optionsOrCb === "function") {
|
|
@@ -235,6 +234,33 @@ const createAggregatedClient = (commands, Client) => {
|
|
|
235
234
|
const methodName = (command[0].toLowerCase() + command.slice(1)).replace(/Command$/, "");
|
|
236
235
|
Client.prototype[methodName] = methodImpl;
|
|
237
236
|
}
|
|
237
|
+
const { paginators = {}, waiters = {} } = options ?? {};
|
|
238
|
+
for (const [paginatorName, paginatorFn] of Object.entries(paginators)) {
|
|
239
|
+
if (Client.prototype[paginatorName] === void 0) {
|
|
240
|
+
Client.prototype[paginatorName] = function (commandInput = {}, paginationConfiguration, ...rest) {
|
|
241
|
+
return paginatorFn({
|
|
242
|
+
...paginationConfiguration,
|
|
243
|
+
client: this,
|
|
244
|
+
}, commandInput, ...rest);
|
|
245
|
+
};
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
for (const [waiterName, waiterFn] of Object.entries(waiters)) {
|
|
249
|
+
if (Client.prototype[waiterName] === void 0) {
|
|
250
|
+
Client.prototype[waiterName] = async function (commandInput = {}, waiterConfiguration, ...rest) {
|
|
251
|
+
let config = waiterConfiguration;
|
|
252
|
+
if (typeof waiterConfiguration === "number") {
|
|
253
|
+
config = {
|
|
254
|
+
maxWaitTime: waiterConfiguration,
|
|
255
|
+
};
|
|
256
|
+
}
|
|
257
|
+
return waiterFn({
|
|
258
|
+
...config,
|
|
259
|
+
client: this,
|
|
260
|
+
}, commandInput, ...rest);
|
|
261
|
+
};
|
|
262
|
+
}
|
|
263
|
+
}
|
|
238
264
|
};
|
|
239
265
|
|
|
240
266
|
class ServiceException extends Error {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
export const createAggregatedClient = (commands, Client) => {
|
|
2
|
-
for (const command of Object.
|
|
3
|
-
const CommandCtor = commands[command];
|
|
1
|
+
export const createAggregatedClient = (commands, Client, options) => {
|
|
2
|
+
for (const [command, CommandCtor] of Object.entries(commands)) {
|
|
4
3
|
const methodImpl = async function (args, optionsOrCb, cb) {
|
|
5
4
|
const command = new CommandCtor(args);
|
|
6
5
|
if (typeof optionsOrCb === "function") {
|
|
@@ -18,4 +17,31 @@ export const createAggregatedClient = (commands, Client) => {
|
|
|
18
17
|
const methodName = (command[0].toLowerCase() + command.slice(1)).replace(/Command$/, "");
|
|
19
18
|
Client.prototype[methodName] = methodImpl;
|
|
20
19
|
}
|
|
20
|
+
const { paginators = {}, waiters = {} } = options ?? {};
|
|
21
|
+
for (const [paginatorName, paginatorFn] of Object.entries(paginators)) {
|
|
22
|
+
if (Client.prototype[paginatorName] === void 0) {
|
|
23
|
+
Client.prototype[paginatorName] = function (commandInput = {}, paginationConfiguration, ...rest) {
|
|
24
|
+
return paginatorFn({
|
|
25
|
+
...paginationConfiguration,
|
|
26
|
+
client: this,
|
|
27
|
+
}, commandInput, ...rest);
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
for (const [waiterName, waiterFn] of Object.entries(waiters)) {
|
|
32
|
+
if (Client.prototype[waiterName] === void 0) {
|
|
33
|
+
Client.prototype[waiterName] = async function (commandInput = {}, waiterConfiguration, ...rest) {
|
|
34
|
+
let config = waiterConfiguration;
|
|
35
|
+
if (typeof waiterConfiguration === "number") {
|
|
36
|
+
config = {
|
|
37
|
+
maxWaitTime: waiterConfiguration,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
return waiterFn({
|
|
41
|
+
...config,
|
|
42
|
+
client: this,
|
|
43
|
+
}, commandInput, ...rest);
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
}
|
|
21
47
|
};
|
|
@@ -3,9 +3,16 @@ import type { Client } from "./client";
|
|
|
3
3
|
* @internal
|
|
4
4
|
*
|
|
5
5
|
* @param commands - command lookup container.
|
|
6
|
-
* @param
|
|
6
|
+
* @param Client - client instance on which to add aggregated methods.
|
|
7
|
+
* @param options
|
|
8
|
+
* @param options.paginators - paginator functions.
|
|
9
|
+
* @param options.waiters - waiter functions.
|
|
10
|
+
*
|
|
7
11
|
* @returns an aggregated client with dynamically created methods.
|
|
8
12
|
*/
|
|
9
13
|
export declare const createAggregatedClient: (commands: Record<string, any>, Client: {
|
|
10
14
|
new (...args: any): Client<any, any, any, any>;
|
|
15
|
+
}, options?: {
|
|
16
|
+
paginators?: Record<string, any>;
|
|
17
|
+
waiters?: Record<string, any>;
|
|
11
18
|
}) => void;
|
|
@@ -3,9 +3,16 @@ import { Client } from "./client";
|
|
|
3
3
|
* @internal
|
|
4
4
|
*
|
|
5
5
|
* @param commands - command lookup container.
|
|
6
|
-
* @param
|
|
6
|
+
* @param Client - client instance on which to add aggregated methods.
|
|
7
|
+
* @param options
|
|
8
|
+
* @param options.paginators - paginator functions.
|
|
9
|
+
* @param options.waiters - waiter functions.
|
|
10
|
+
*
|
|
7
11
|
* @returns an aggregated client with dynamically created methods.
|
|
8
12
|
*/
|
|
9
13
|
export declare const createAggregatedClient: (commands: Record<string, any>, Client: {
|
|
10
14
|
new (...args: any): Client<any, any, any, any>;
|
|
15
|
+
}, options?: {
|
|
16
|
+
paginators?: Record<string, any>;
|
|
17
|
+
waiters?: Record<string, any>;
|
|
11
18
|
}) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/smithy-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.11.1",
|
|
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,8 +25,8 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@smithy/core": "^3.
|
|
29
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
28
|
+
"@smithy/core": "^3.22.0",
|
|
29
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
30
30
|
"@smithy/middleware-stack": "^4.2.8",
|
|
31
31
|
"@smithy/protocol-http": "^5.3.8",
|
|
32
32
|
"@smithy/types": "^4.12.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-browser",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.28",
|
|
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 util-defaults-mode-browser",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@smithy/property-provider": "^4.2.8",
|
|
28
|
-
"@smithy/smithy-client": "^4.
|
|
28
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
29
29
|
"@smithy/types": "^4.12.0",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-node",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.31",
|
|
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 util-defaults-mode-node",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@smithy/credential-provider-imds": "^4.2.8",
|
|
29
29
|
"@smithy/node-config-provider": "^4.3.8",
|
|
30
30
|
"@smithy/property-provider": "^4.2.8",
|
|
31
|
-
"@smithy/smithy-client": "^4.
|
|
31
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
32
32
|
"@smithy/types": "^4.12.0",
|
|
33
33
|
"tslib": "^2.6.2"
|
|
34
34
|
},
|
package/package.json
CHANGED
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"constructs": ">=10.0.5 <11.0.0"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@aws-sdk/client-cloudformation": "^3.
|
|
69
|
+
"@aws-sdk/client-cloudformation": "^3.980.0",
|
|
70
70
|
"@types/crypto-js": "^4.2.2",
|
|
71
71
|
"@types/js-yaml": "^4.0.9",
|
|
72
72
|
"crypto-js": "^4.2.0",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"publishConfig": {
|
|
109
109
|
"access": "public"
|
|
110
110
|
},
|
|
111
|
-
"version": "1.1.
|
|
111
|
+
"version": "1.1.2",
|
|
112
112
|
"jest": {
|
|
113
113
|
"coverageProvider": "v8",
|
|
114
114
|
"testMatch": [
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { NormalizedSchema } from "@smithy/core/schema";
|
|
2
|
-
export function* serializingStructIterator(ns, sourceObject) {
|
|
3
|
-
if (ns.isUnitSchema()) {
|
|
4
|
-
return;
|
|
5
|
-
}
|
|
6
|
-
const struct = ns.getSchema();
|
|
7
|
-
for (let i = 0; i < struct[4].length; ++i) {
|
|
8
|
-
const key = struct[4][i];
|
|
9
|
-
const memberSchema = struct[5][i];
|
|
10
|
-
const memberNs = new NormalizedSchema([memberSchema, 0], key);
|
|
11
|
-
if (!(key in sourceObject) && !memberNs.isIdempotencyToken()) {
|
|
12
|
-
continue;
|
|
13
|
-
}
|
|
14
|
-
yield [key, memberNs];
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
export function* deserializingStructIterator(ns, sourceObject, nameTrait) {
|
|
18
|
-
if (ns.isUnitSchema()) {
|
|
19
|
-
return;
|
|
20
|
-
}
|
|
21
|
-
const struct = ns.getSchema();
|
|
22
|
-
let keysRemaining = Object.keys(sourceObject).filter((k) => k !== "__type").length;
|
|
23
|
-
for (let i = 0; i < struct[4].length; ++i) {
|
|
24
|
-
if (keysRemaining === 0) {
|
|
25
|
-
break;
|
|
26
|
-
}
|
|
27
|
-
const key = struct[4][i];
|
|
28
|
-
const memberSchema = struct[5][i];
|
|
29
|
-
const memberNs = new NormalizedSchema([memberSchema, 0], key);
|
|
30
|
-
let serializationKey = key;
|
|
31
|
-
if (nameTrait) {
|
|
32
|
-
serializationKey = memberNs.getMergedTraits()[nameTrait] ?? key;
|
|
33
|
-
}
|
|
34
|
-
if (!(serializationKey in sourceObject)) {
|
|
35
|
-
continue;
|
|
36
|
-
}
|
|
37
|
-
yield [key, memberNs];
|
|
38
|
-
keysRemaining -= 1;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { NormalizedSchema } from "@smithy/core/schema";
|
|
2
|
-
/**
|
|
3
|
-
* @internal
|
|
4
|
-
*/
|
|
5
|
-
type SourceObject = Record<string, any>;
|
|
6
|
-
/**
|
|
7
|
-
* For serialization use only.
|
|
8
|
-
* @internal
|
|
9
|
-
*
|
|
10
|
-
* @param ns - normalized schema object.
|
|
11
|
-
* @param sourceObject - source object from serialization.
|
|
12
|
-
*/
|
|
13
|
-
export declare function serializingStructIterator(ns: NormalizedSchema, sourceObject: SourceObject): Generator<any[], void, unknown>;
|
|
14
|
-
/**
|
|
15
|
-
* For deserialization use only.
|
|
16
|
-
* Yields a subset of NormalizedSchema::structIterator matched to the source object keys.
|
|
17
|
-
* This is a performance optimization to avoid creation of NormalizedSchema member
|
|
18
|
-
* objects for members that are undefined in the source data object but may be numerous
|
|
19
|
-
* in the schema/model.
|
|
20
|
-
* @internal
|
|
21
|
-
*
|
|
22
|
-
* @param ns - normalized schema object.
|
|
23
|
-
* @param sourceObject - source object from deserialization.
|
|
24
|
-
* @param nameTrait - xmlName or jsonName trait to look for.
|
|
25
|
-
*/
|
|
26
|
-
export declare function deserializingStructIterator(ns: NormalizedSchema, sourceObject: SourceObject, nameTrait?: "xmlName" | "jsonName" | false): Generator<any[], void, unknown>;
|
|
27
|
-
export {};
|
package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { NormalizedSchema } from "@smithy/core/schema";
|
|
2
|
-
type SourceObject = Record<string, any>;
|
|
3
|
-
export declare function serializingStructIterator(
|
|
4
|
-
ns: NormalizedSchema,
|
|
5
|
-
sourceObject: SourceObject
|
|
6
|
-
): Generator<any[], void, unknown>;
|
|
7
|
-
export declare function deserializingStructIterator(
|
|
8
|
-
ns: NormalizedSchema,
|
|
9
|
-
sourceObject: SourceObject,
|
|
10
|
-
nameTrait?: "xmlName" | "jsonName" | false
|
|
11
|
-
): Generator<any[], void, unknown>;
|
|
12
|
-
export {};
|