cloudstructs 0.12.8 → 0.12.9
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 +5 -5
- package/assets/slack-textract/detect.lambda/index.js +437 -344
- package/assets/ssl-server-test/analyze.lambda/index.js +51 -31
- package/assets/toolkit-cleaner/clean.lambda/index.js +51 -31
- package/lib/codecommit-mirror/index.js +2 -2
- package/lib/dmarc/index.js +1 -1
- package/lib/ecs-service-roller/index.js +2 -2
- package/lib/email-receiver/receiver.js +1 -1
- package/lib/mjml-template/index.js +1 -1
- package/lib/saml-identity-provider/index.js +2 -2
- package/lib/slack-app/manifest.js +1 -1
- package/lib/slack-app/slack-app.js +2 -2
- package/lib/slack-events/index.js +1 -1
- package/lib/slack-textract/index.js +1 -1
- package/lib/ssl-server-test/index.js +1 -1
- package/lib/state-machine-cr-provider/index.js +1 -1
- package/lib/static-website/index.js +1 -1
- package/lib/toolkit-cleaner/index.js +1 -1
- package/lib/url-shortener/index.js +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/README.md +25 -5
- package/node_modules/@aws/durable-execution-sdk-js/dist/index.mjs +101 -33
- package/node_modules/@aws/durable-execution-sdk-js/dist/index.mjs.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-cjs/index.js +101 -33
- package/node_modules/@aws/durable-execution-sdk-js/dist-cjs/index.js.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/handlers/concurrent-execution-handler/concurrent-execution-handler.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/index.d.ts +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/index.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/step.d.ts +45 -0
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/step.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/checkpoint/checkpoint-manager.d.ts +6 -0
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/checkpoint/checkpoint-manager.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/with-durable-execution.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/package.json +1 -2
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +287 -3988
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/models/LambdaServiceException.js +12 -0
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/models/errors.js +730 -0
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/schemas/schemas_0.js +2680 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/Lambda.js +49 -1
- package/node_modules/@aws-sdk/client-lambda/dist-es/models/enums.js +7 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/schemas/schemas_0.js +320 -308
- package/node_modules/@aws-sdk/client-lambda/dist-types/Lambda.d.ts +150 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateEventSourceMappingCommand.d.ts +8 -2
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetEventSourceMappingCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListEventSourceMappingsCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +8 -2
- package/node_modules/@aws-sdk/client-lambda/dist-types/models/enums.d.ts +15 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts +28 -2
- package/node_modules/@aws-sdk/client-lambda/dist-types/schemas/schemas_0.d.ts +53 -45
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/Lambda.d.ts +173 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/enums.d.ts +9 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/models_0.d.ts +7 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/schemas/schemas_0.d.ts +48 -45
- package/node_modules/@aws-sdk/client-lambda/package.json +20 -20
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +32 -239
- package/node_modules/@aws-sdk/client-sso/dist-cjs/models/SSOServiceException.js +12 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/models/errors.js +56 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/schemas/schemas_0.js +161 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/SSO.js +7 -1
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/schemas/schemas_0.js +32 -26
- package/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +15 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/schemas/schemas_0.d.ts +12 -5
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSO.d.ts +19 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -5
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/LICENSE +201 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/README.md +6 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +415 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +267 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +10 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +6 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +3 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +25 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +18 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +41 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +267 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +21 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +6 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +6 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +3 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +5 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +7 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +38 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +6 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +3 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +28 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +35 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +6 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +5 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +6 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +12 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +6 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/package.json +60 -0
- package/node_modules/@aws-sdk/client-sso/package.json +18 -18
- package/node_modules/@aws-sdk/core/account-id-endpoint.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +30 -50
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +30 -50
- 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/AwsEc2QueryProtocol.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +15 -8
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +11 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +1 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QuerySerializerSettings.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QueryShapeSerializer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QuerySerializerSettings.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts +6 -1
- package/node_modules/@aws-sdk/core/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-login/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-node/README.md +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 +10 -10
- package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/LICENSE +201 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/README.md +6 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +415 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +267 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +10 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +6 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +3 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +25 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +18 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +41 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +267 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +21 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +6 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +2 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +3 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +7 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +38 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +2 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +3 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +4 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +2 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +28 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +35 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +12 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/package.json +60 -0
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +20 -198
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js +12 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js +64 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js +125 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +20 -347
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js +12 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js +195 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js +140 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +21 -308
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js +12 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js +95 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js +195 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +15 -12
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +40 -37
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +60 -57
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +4 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/schemas/schemas_0.d.ts +11 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +4 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/schemas/schemas_0.d.ts +10 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +5 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +3 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts +15 -8
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +5 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/schemas/schemas_0.d.ts +6 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/schemas/schemas_0.d.ts +5 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +5 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +10 -8
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/LICENSE +201 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/README.md +6 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +415 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +267 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +10 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +6 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +3 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +25 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +18 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +41 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +267 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +21 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +6 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +6 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +3 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +5 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +7 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +38 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +6 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +3 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +28 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +35 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +6 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +5 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +6 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +12 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +6 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/package.json +60 -0
- package/node_modules/@aws-sdk/nested-clients/package.json +18 -18
- package/node_modules/@aws-sdk/region-config-resolver/package.json +4 -4
- package/node_modules/@aws-sdk/token-providers/package.json +4 -4
- package/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts +1 -1
- package/node_modules/@aws-sdk/types/package.json +3 -3
- package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
- package/node_modules/@aws-sdk/util-locate-window/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/CHANGELOG.md +16 -0
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/README.md +7 -6
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.d.cts +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/package.json +4 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.d.ts +2 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsMinArrBuilder.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +4 -4
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +297 -287
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +55 -22
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +4 -4
- package/node_modules/@aws-sdk/xml-builder/package.json +5 -5
- package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +6 -6
- package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +4 -4
- package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +35 -11
- package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +6 -0
- package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/package.json +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +111 -89
- package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/sqlite.d.ts +18 -0
- package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +2 -1
- package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +10 -1
- package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +4 -0
- package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +42 -14
- package/node_modules/@slack/logger/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
- package/node_modules/@slack/types/dist/block-kit/block-elements.d.ts +18 -0
- package/node_modules/@slack/types/dist/block-kit/block-elements.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/block-kit/blocks.d.ts +54 -2
- package/node_modules/@slack/types/dist/block-kit/blocks.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/chunk.d.ts +42 -0
- package/node_modules/@slack/types/dist/chunk.d.ts.map +1 -0
- package/node_modules/@slack/types/dist/chunk.js +3 -0
- package/node_modules/@slack/types/dist/chunk.js.map +1 -0
- package/node_modules/@slack/types/dist/events/app.d.ts +53 -0
- package/node_modules/@slack/types/dist/events/app.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/events/member.d.ts +1 -0
- package/node_modules/@slack/types/dist/events/member.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/events/user.d.ts +1 -0
- package/node_modules/@slack/types/dist/events/user.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/index.d.ts +1 -0
- package/node_modules/@slack/types/dist/index.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/index.js +1 -0
- package/node_modules/@slack/types/dist/index.js.map +1 -1
- package/node_modules/@slack/types/package.json +8 -8
- package/node_modules/@slack/web-api/dist/WebClient.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/WebClient.js.map +1 -1
- package/node_modules/@slack/web-api/dist/chat-stream.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/chat-stream.js +48 -12
- package/node_modules/@slack/web-api/dist/chat-stream.js.map +1 -1
- package/node_modules/@slack/web-api/dist/index.d.ts +1 -0
- package/node_modules/@slack/web-api/dist/index.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/index.js +3 -1
- package/node_modules/@slack/web-api/dist/index.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/canvas.d.ts +1 -1
- package/node_modules/@slack/web-api/dist/types/request/canvas.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/chat.d.ts +21 -2
- package/node_modules/@slack/web-api/dist/types/request/chat.d.ts.map +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +6 -6
- package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +4 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +35 -11
- package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +6 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +111 -89
- package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/sqlite.d.ts +18 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +2 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +10 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +4 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +42 -14
- package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
- package/node_modules/@slack/web-api/package.json +10 -10
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +13 -10
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +5 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +5 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +31 -6
- package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +15 -11
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +5 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +6 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +24 -5
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +7 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +7 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +5 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +14 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +8 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +7 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +5 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +14 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +8 -1
- package/node_modules/@smithy/core/package.json +2 -2
- package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +11 -4
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +2 -2
- package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +9 -2
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- 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 +4 -4
- 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/node_modules/@smithy/util-stream/package.json +6 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +6 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +35 -11
- package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +6 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +111 -89
- package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/sqlite.d.ts +18 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +2 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +10 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +4 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +42 -14
- package/node_modules/@types/cacheable-request/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
- package/node_modules/@types/http-cache-semantics/README.md +1 -1
- package/node_modules/@types/http-cache-semantics/index.d.ts +97 -11
- package/node_modules/@types/http-cache-semantics/package.json +4 -3
- package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +6 -6
- package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +35 -11
- package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +6 -0
- package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +111 -89
- package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/sqlite.d.ts +18 -0
- package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +2 -1
- package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +10 -1
- package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +4 -0
- package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +42 -14
- package/node_modules/@types/keyv/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
- package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +6 -6
- package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +35 -11
- package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +6 -0
- package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +111 -89
- package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/sqlite.d.ts +18 -0
- package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +2 -1
- package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +10 -1
- package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +4 -0
- package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +42 -14
- package/node_modules/@types/responselike/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
- package/node_modules/axios/CHANGELOG.md +296 -239
- package/node_modules/axios/MIGRATION_GUIDE.md +876 -2
- package/node_modules/axios/README.md +584 -447
- package/node_modules/axios/dist/axios.js +779 -897
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +4 -2
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +353 -283
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +353 -283
- package/node_modules/axios/dist/esm/axios.js.map +1 -1
- package/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +388 -315
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +22 -3
- package/node_modules/axios/index.d.ts +341 -116
- package/node_modules/axios/lib/adapters/README.md +1 -1
- package/node_modules/axios/lib/adapters/fetch.js +2 -2
- package/node_modules/axios/lib/adapters/http.js +13 -10
- package/node_modules/axios/lib/adapters/xhr.js +2 -2
- package/node_modules/axios/lib/cancel/CanceledError.js +15 -18
- package/node_modules/axios/lib/core/Axios.js +12 -3
- package/node_modules/axios/lib/core/AxiosError.js +65 -102
- package/node_modules/axios/lib/core/InterceptorManager.js +2 -1
- package/node_modules/axios/lib/core/mergeConfig.js +24 -11
- package/node_modules/axios/lib/core/transformData.js +1 -1
- package/node_modules/axios/lib/defaults/transitional.js +2 -1
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/buildURL.js +7 -10
- package/node_modules/axios/lib/helpers/composeSignals.js +1 -1
- package/node_modules/axios/lib/helpers/cookies.js +1 -1
- package/node_modules/axios/lib/helpers/isAbsoluteURL.js +5 -0
- package/node_modules/axios/lib/helpers/isAxiosError.js +1 -1
- package/node_modules/axios/lib/helpers/parseHeaders.js +1 -1
- package/node_modules/axios/lib/helpers/spread.js +1 -1
- package/node_modules/axios/lib/utils.js +221 -140
- package/node_modules/axios/package.json +49 -68
- package/node_modules/bowser/README.md +72 -3
- package/node_modules/bowser/bundled.js +1 -1
- package/node_modules/bowser/es5.js +1 -1
- package/node_modules/bowser/index.d.ts +44 -6
- package/node_modules/bowser/package.json +10 -5
- package/node_modules/bowser/src/bowser.js +24 -8
- package/node_modules/bowser/src/constants.js +8 -0
- package/node_modules/bowser/src/parser-browsers.js +89 -0
- package/node_modules/bowser/src/parser-platforms.js +42 -0
- package/node_modules/bowser/src/parser.js +86 -5
- package/node_modules/semver/README.md +3 -2
- package/node_modules/semver/bin/semver.js +1 -1
- package/node_modules/semver/functions/diff.js +1 -1
- package/node_modules/semver/internal/re.js +2 -2
- package/node_modules/semver/package.json +4 -4
- package/node_modules/semver/ranges/subset.js +1 -1
- package/package.json +20 -20
- 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/bowser/CHANGELOG.md +0 -218
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RuleSetRules, TreeRuleObject } from "@smithy/util-endpoints";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { EndpointError } from "@smithy/util-endpoints";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { EndpointObjectProperties, EndpointObjectHeaders, EndpointObject, EndpointRuleObject, } from "@smithy/util-endpoints";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ErrorRuleObject } from "@smithy/util-endpoints";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DeprecatedObject, ParameterObject, RuleSetObject } from "@smithy/util-endpoints";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RuleSetRules, TreeRuleObject } from "@smithy/util-endpoints";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ReferenceObject, FunctionObject, FunctionArgv, FunctionReturn, ConditionObject, Expression, EndpointParams, EndpointResolverOptions, ReferenceRecord, EvaluateOptions, } from "@smithy/util-endpoints";
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@aws-sdk/util-endpoints",
|
|
3
|
+
"version": "3.990.0",
|
|
4
|
+
"description": "Utilities to help with endpoint resolution",
|
|
5
|
+
"main": "./dist-cjs/index.js",
|
|
6
|
+
"module": "./dist-es/index.js",
|
|
7
|
+
"types": "./dist-types/index.d.ts",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
10
|
+
"build:cjs": "node ../../scripts/compilation/inline util-endpoints",
|
|
11
|
+
"build:es": "tsc -p tsconfig.es.json",
|
|
12
|
+
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
13
|
+
"build:types": "tsc -p tsconfig.types.json",
|
|
14
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
15
|
+
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
16
|
+
"test": "yarn g:vitest run",
|
|
17
|
+
"test:integration": "yarn g:vitest run -c vitest.config.integ.mts",
|
|
18
|
+
"test:watch": "yarn g:vitest watch",
|
|
19
|
+
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
20
|
+
},
|
|
21
|
+
"sideEffects": true,
|
|
22
|
+
"author": {
|
|
23
|
+
"name": "AWS SDK for JavaScript Team",
|
|
24
|
+
"url": "https://aws.amazon.com/javascript/"
|
|
25
|
+
},
|
|
26
|
+
"license": "Apache-2.0",
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"@aws-sdk/types": "^3.973.1",
|
|
29
|
+
"@smithy/types": "^4.12.0",
|
|
30
|
+
"@smithy/url-parser": "^4.2.8",
|
|
31
|
+
"@smithy/util-endpoints": "^3.2.8",
|
|
32
|
+
"tslib": "^2.6.2"
|
|
33
|
+
},
|
|
34
|
+
"engines": {
|
|
35
|
+
"node": ">=20.0.0"
|
|
36
|
+
},
|
|
37
|
+
"typesVersions": {
|
|
38
|
+
"<4.0": {
|
|
39
|
+
"dist-types/*": [
|
|
40
|
+
"dist-types/ts3.4/*"
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"files": [
|
|
45
|
+
"dist-*/**"
|
|
46
|
+
],
|
|
47
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/util-endpoints",
|
|
48
|
+
"repository": {
|
|
49
|
+
"type": "git",
|
|
50
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
51
|
+
"directory": "packages/util-endpoints"
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@tsconfig/recommended": "1.0.1",
|
|
55
|
+
"concurrently": "7.0.0",
|
|
56
|
+
"downlevel-dts": "0.10.1",
|
|
57
|
+
"premove": "4.0.0",
|
|
58
|
+
"typescript": "~5.8.3"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sso",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.990.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sso",
|
|
@@ -21,37 +21,37 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.972.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.972.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.972.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.972.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.972.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.972.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.10",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
26
|
+
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "^3.972.10",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
30
|
+
"@aws-sdk/types": "^3.973.1",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.990.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "^3.972.8",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.6",
|
|
35
|
-
"@smithy/core": "^3.
|
|
35
|
+
"@smithy/core": "^3.23.0",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
37
37
|
"@smithy/hash-node": "^4.2.8",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.4.14",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.31",
|
|
42
42
|
"@smithy/middleware-serde": "^4.2.9",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.8",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.8",
|
|
45
|
-
"@smithy/node-http-handler": "^4.4.
|
|
45
|
+
"@smithy/node-http-handler": "^4.4.10",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.8",
|
|
47
|
-
"@smithy/smithy-client": "^4.
|
|
47
|
+
"@smithy/smithy-client": "^4.11.3",
|
|
48
48
|
"@smithy/types": "^4.12.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.8",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.30",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.33",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.8",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.8",
|
|
57
57
|
"@smithy/util-retry": "^4.2.8",
|
|
@@ -572,46 +572,6 @@ class SerdeContextConfig {
|
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
574
|
|
|
575
|
-
function* serializingStructIterator(ns, sourceObject) {
|
|
576
|
-
if (ns.isUnitSchema()) {
|
|
577
|
-
return;
|
|
578
|
-
}
|
|
579
|
-
const struct = ns.getSchema();
|
|
580
|
-
for (let i = 0; i < struct[4].length; ++i) {
|
|
581
|
-
const key = struct[4][i];
|
|
582
|
-
const memberSchema = struct[5][i];
|
|
583
|
-
const memberNs = new schema.NormalizedSchema([memberSchema, 0], key);
|
|
584
|
-
if (!(key in sourceObject) && !memberNs.isIdempotencyToken()) {
|
|
585
|
-
continue;
|
|
586
|
-
}
|
|
587
|
-
yield [key, memberNs];
|
|
588
|
-
}
|
|
589
|
-
}
|
|
590
|
-
function* deserializingStructIterator(ns, sourceObject, nameTrait) {
|
|
591
|
-
if (ns.isUnitSchema()) {
|
|
592
|
-
return;
|
|
593
|
-
}
|
|
594
|
-
const struct = ns.getSchema();
|
|
595
|
-
let keysRemaining = Object.keys(sourceObject).filter((k) => k !== "__type").length;
|
|
596
|
-
for (let i = 0; i < struct[4].length; ++i) {
|
|
597
|
-
if (keysRemaining === 0) {
|
|
598
|
-
break;
|
|
599
|
-
}
|
|
600
|
-
const key = struct[4][i];
|
|
601
|
-
const memberSchema = struct[5][i];
|
|
602
|
-
const memberNs = new schema.NormalizedSchema([memberSchema, 0], key);
|
|
603
|
-
let serializationKey = key;
|
|
604
|
-
if (nameTrait) {
|
|
605
|
-
serializationKey = memberNs.getMergedTraits()[nameTrait] ?? key;
|
|
606
|
-
}
|
|
607
|
-
if (!(serializationKey in sourceObject)) {
|
|
608
|
-
continue;
|
|
609
|
-
}
|
|
610
|
-
yield [key, memberNs];
|
|
611
|
-
keysRemaining -= 1;
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
|
|
615
575
|
class UnionSerde {
|
|
616
576
|
from;
|
|
617
577
|
to;
|
|
@@ -739,7 +699,7 @@ class JsonShapeDeserializer extends SerdeContextConfig {
|
|
|
739
699
|
if (union) {
|
|
740
700
|
unionSerde = new UnionSerde(record, out);
|
|
741
701
|
}
|
|
742
|
-
for (const [memberName, memberSchema] of
|
|
702
|
+
for (const [memberName, memberSchema] of ns.structIterator()) {
|
|
743
703
|
let fromKey = memberName;
|
|
744
704
|
if (jsonName) {
|
|
745
705
|
fromKey = memberSchema.getMergedTraits().jsonName ?? fromKey;
|
|
@@ -948,7 +908,7 @@ class JsonShapeSerializer extends SerdeContextConfig {
|
|
|
948
908
|
if (jsonName) {
|
|
949
909
|
nameMap = {};
|
|
950
910
|
}
|
|
951
|
-
for (const [memberName, memberSchema] of
|
|
911
|
+
for (const [memberName, memberSchema] of ns.structIterator()) {
|
|
952
912
|
const serializableValue = this._write(memberSchema, record[memberName], ns);
|
|
953
913
|
if (serializableValue !== undefined) {
|
|
954
914
|
let targetKey = memberName;
|
|
@@ -1536,7 +1496,8 @@ class QueryShapeSerializer extends SerdeContextConfig {
|
|
|
1536
1496
|
if (item == null) {
|
|
1537
1497
|
continue;
|
|
1538
1498
|
}
|
|
1539
|
-
const
|
|
1499
|
+
const traits = member.getMergedTraits();
|
|
1500
|
+
const suffix = this.getKey("member", traits.xmlName, traits.ec2QueryName);
|
|
1540
1501
|
const key = flat ? `${prefix}${i}` : `${prefix}${suffix}.${i}`;
|
|
1541
1502
|
this.write(member, item, key);
|
|
1542
1503
|
++i;
|
|
@@ -1554,9 +1515,11 @@ class QueryShapeSerializer extends SerdeContextConfig {
|
|
|
1554
1515
|
if (v == null) {
|
|
1555
1516
|
continue;
|
|
1556
1517
|
}
|
|
1557
|
-
const
|
|
1518
|
+
const keyTraits = keySchema.getMergedTraits();
|
|
1519
|
+
const keySuffix = this.getKey("key", keyTraits.xmlName, keyTraits.ec2QueryName);
|
|
1558
1520
|
const key = flat ? `${prefix}${i}.${keySuffix}` : `${prefix}entry.${i}.${keySuffix}`;
|
|
1559
|
-
const
|
|
1521
|
+
const valTraits = memberSchema.getMergedTraits();
|
|
1522
|
+
const valueSuffix = this.getKey("value", valTraits.xmlName, valTraits.ec2QueryName);
|
|
1560
1523
|
const valueKey = flat ? `${prefix}${i}.${valueSuffix}` : `${prefix}entry.${i}.${valueSuffix}`;
|
|
1561
1524
|
this.write(keySchema, k, key);
|
|
1562
1525
|
this.write(memberSchema, v, valueKey);
|
|
@@ -1567,11 +1530,12 @@ class QueryShapeSerializer extends SerdeContextConfig {
|
|
|
1567
1530
|
else if (ns.isStructSchema()) {
|
|
1568
1531
|
if (value && typeof value === "object") {
|
|
1569
1532
|
let didWriteMember = false;
|
|
1570
|
-
for (const [memberName, member] of
|
|
1533
|
+
for (const [memberName, member] of ns.structIterator()) {
|
|
1571
1534
|
if (value[memberName] == null && !member.isIdempotencyToken()) {
|
|
1572
1535
|
continue;
|
|
1573
1536
|
}
|
|
1574
|
-
const
|
|
1537
|
+
const traits = member.getMergedTraits();
|
|
1538
|
+
const suffix = this.getKey(memberName, traits.xmlName, traits.ec2QueryName, "struct");
|
|
1575
1539
|
const key = `${prefix}${suffix}`;
|
|
1576
1540
|
this.write(member, value[memberName], key);
|
|
1577
1541
|
didWriteMember = true;
|
|
@@ -1599,9 +1563,13 @@ class QueryShapeSerializer extends SerdeContextConfig {
|
|
|
1599
1563
|
delete this.buffer;
|
|
1600
1564
|
return str;
|
|
1601
1565
|
}
|
|
1602
|
-
getKey(memberName, xmlName) {
|
|
1566
|
+
getKey(memberName, xmlName, ec2QueryName, keySource) {
|
|
1567
|
+
const { ec2, capitalizeKeys } = this.settings;
|
|
1568
|
+
if (ec2 && ec2QueryName) {
|
|
1569
|
+
return ec2QueryName;
|
|
1570
|
+
}
|
|
1603
1571
|
const key = xmlName ?? memberName;
|
|
1604
|
-
if (
|
|
1572
|
+
if (capitalizeKeys && keySource === "struct") {
|
|
1605
1573
|
return key[0].toUpperCase() + key.slice(1);
|
|
1606
1574
|
}
|
|
1607
1575
|
return key;
|
|
@@ -1758,6 +1726,7 @@ class AwsEc2QueryProtocol extends AwsQueryProtocol {
|
|
|
1758
1726
|
capitalizeKeys: true,
|
|
1759
1727
|
flattenLists: true,
|
|
1760
1728
|
serializeEmptyLists: false,
|
|
1729
|
+
ec2: true,
|
|
1761
1730
|
};
|
|
1762
1731
|
Object.assign(this.serializer.settings, ec2Settings);
|
|
1763
1732
|
}
|
|
@@ -1868,7 +1837,7 @@ class XmlShapeSerializer extends SerdeContextConfig {
|
|
|
1868
1837
|
}
|
|
1869
1838
|
const structXmlNode = xmlBuilder.XmlNode.of(name);
|
|
1870
1839
|
const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);
|
|
1871
|
-
for (const [memberName, memberSchema] of
|
|
1840
|
+
for (const [memberName, memberSchema] of ns.structIterator()) {
|
|
1872
1841
|
const val = value[memberName];
|
|
1873
1842
|
if (val != null || memberSchema.isIdempotencyToken()) {
|
|
1874
1843
|
if (memberSchema.getMergedTraits().xmlAttribute) {
|
|
@@ -2165,6 +2134,17 @@ class AwsRestXmlProtocol extends protocols.HttpBindingProtocol {
|
|
|
2165
2134
|
}
|
|
2166
2135
|
async handleError(operationSchema, context, response, dataObject, metadata) {
|
|
2167
2136
|
const errorIdentifier = loadRestXmlErrorCode(response, dataObject) ?? "Unknown";
|
|
2137
|
+
if (dataObject.Error && typeof dataObject.Error === "object") {
|
|
2138
|
+
for (const key of Object.keys(dataObject.Error)) {
|
|
2139
|
+
dataObject[key] = dataObject.Error[key];
|
|
2140
|
+
if (key.toLowerCase() === "message") {
|
|
2141
|
+
dataObject.message = dataObject.Error[key];
|
|
2142
|
+
}
|
|
2143
|
+
}
|
|
2144
|
+
}
|
|
2145
|
+
if (dataObject.RequestId && !metadata.requestId) {
|
|
2146
|
+
metadata.requestId = dataObject.RequestId;
|
|
2147
|
+
}
|
|
2168
2148
|
const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);
|
|
2169
2149
|
const ns = schema.NormalizedSchema.of(errorSchema);
|
|
2170
2150
|
const message = dataObject.Error?.message ?? dataObject.Error?.Message ?? dataObject.message ?? dataObject.Message ?? "Unknown";
|
|
@@ -234,46 +234,6 @@ class SerdeContextConfig {
|
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
function* serializingStructIterator(ns, sourceObject) {
|
|
238
|
-
if (ns.isUnitSchema()) {
|
|
239
|
-
return;
|
|
240
|
-
}
|
|
241
|
-
const struct = ns.getSchema();
|
|
242
|
-
for (let i = 0; i < struct[4].length; ++i) {
|
|
243
|
-
const key = struct[4][i];
|
|
244
|
-
const memberSchema = struct[5][i];
|
|
245
|
-
const memberNs = new schema.NormalizedSchema([memberSchema, 0], key);
|
|
246
|
-
if (!(key in sourceObject) && !memberNs.isIdempotencyToken()) {
|
|
247
|
-
continue;
|
|
248
|
-
}
|
|
249
|
-
yield [key, memberNs];
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
function* deserializingStructIterator(ns, sourceObject, nameTrait) {
|
|
253
|
-
if (ns.isUnitSchema()) {
|
|
254
|
-
return;
|
|
255
|
-
}
|
|
256
|
-
const struct = ns.getSchema();
|
|
257
|
-
let keysRemaining = Object.keys(sourceObject).filter((k) => k !== "__type").length;
|
|
258
|
-
for (let i = 0; i < struct[4].length; ++i) {
|
|
259
|
-
if (keysRemaining === 0) {
|
|
260
|
-
break;
|
|
261
|
-
}
|
|
262
|
-
const key = struct[4][i];
|
|
263
|
-
const memberSchema = struct[5][i];
|
|
264
|
-
const memberNs = new schema.NormalizedSchema([memberSchema, 0], key);
|
|
265
|
-
let serializationKey = key;
|
|
266
|
-
if (nameTrait) {
|
|
267
|
-
serializationKey = memberNs.getMergedTraits()[nameTrait] ?? key;
|
|
268
|
-
}
|
|
269
|
-
if (!(serializationKey in sourceObject)) {
|
|
270
|
-
continue;
|
|
271
|
-
}
|
|
272
|
-
yield [key, memberNs];
|
|
273
|
-
keysRemaining -= 1;
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
|
|
277
237
|
class UnionSerde {
|
|
278
238
|
from;
|
|
279
239
|
to;
|
|
@@ -401,7 +361,7 @@ class JsonShapeDeserializer extends SerdeContextConfig {
|
|
|
401
361
|
if (union) {
|
|
402
362
|
unionSerde = new UnionSerde(record, out);
|
|
403
363
|
}
|
|
404
|
-
for (const [memberName, memberSchema] of
|
|
364
|
+
for (const [memberName, memberSchema] of ns.structIterator()) {
|
|
405
365
|
let fromKey = memberName;
|
|
406
366
|
if (jsonName) {
|
|
407
367
|
fromKey = memberSchema.getMergedTraits().jsonName ?? fromKey;
|
|
@@ -610,7 +570,7 @@ class JsonShapeSerializer extends SerdeContextConfig {
|
|
|
610
570
|
if (jsonName) {
|
|
611
571
|
nameMap = {};
|
|
612
572
|
}
|
|
613
|
-
for (const [memberName, memberSchema] of
|
|
573
|
+
for (const [memberName, memberSchema] of ns.structIterator()) {
|
|
614
574
|
const serializableValue = this._write(memberSchema, record[memberName], ns);
|
|
615
575
|
if (serializableValue !== undefined) {
|
|
616
576
|
let targetKey = memberName;
|
|
@@ -1198,7 +1158,8 @@ class QueryShapeSerializer extends SerdeContextConfig {
|
|
|
1198
1158
|
if (item == null) {
|
|
1199
1159
|
continue;
|
|
1200
1160
|
}
|
|
1201
|
-
const
|
|
1161
|
+
const traits = member.getMergedTraits();
|
|
1162
|
+
const suffix = this.getKey("member", traits.xmlName, traits.ec2QueryName);
|
|
1202
1163
|
const key = flat ? `${prefix}${i}` : `${prefix}${suffix}.${i}`;
|
|
1203
1164
|
this.write(member, item, key);
|
|
1204
1165
|
++i;
|
|
@@ -1216,9 +1177,11 @@ class QueryShapeSerializer extends SerdeContextConfig {
|
|
|
1216
1177
|
if (v == null) {
|
|
1217
1178
|
continue;
|
|
1218
1179
|
}
|
|
1219
|
-
const
|
|
1180
|
+
const keyTraits = keySchema.getMergedTraits();
|
|
1181
|
+
const keySuffix = this.getKey("key", keyTraits.xmlName, keyTraits.ec2QueryName);
|
|
1220
1182
|
const key = flat ? `${prefix}${i}.${keySuffix}` : `${prefix}entry.${i}.${keySuffix}`;
|
|
1221
|
-
const
|
|
1183
|
+
const valTraits = memberSchema.getMergedTraits();
|
|
1184
|
+
const valueSuffix = this.getKey("value", valTraits.xmlName, valTraits.ec2QueryName);
|
|
1222
1185
|
const valueKey = flat ? `${prefix}${i}.${valueSuffix}` : `${prefix}entry.${i}.${valueSuffix}`;
|
|
1223
1186
|
this.write(keySchema, k, key);
|
|
1224
1187
|
this.write(memberSchema, v, valueKey);
|
|
@@ -1229,11 +1192,12 @@ class QueryShapeSerializer extends SerdeContextConfig {
|
|
|
1229
1192
|
else if (ns.isStructSchema()) {
|
|
1230
1193
|
if (value && typeof value === "object") {
|
|
1231
1194
|
let didWriteMember = false;
|
|
1232
|
-
for (const [memberName, member] of
|
|
1195
|
+
for (const [memberName, member] of ns.structIterator()) {
|
|
1233
1196
|
if (value[memberName] == null && !member.isIdempotencyToken()) {
|
|
1234
1197
|
continue;
|
|
1235
1198
|
}
|
|
1236
|
-
const
|
|
1199
|
+
const traits = member.getMergedTraits();
|
|
1200
|
+
const suffix = this.getKey(memberName, traits.xmlName, traits.ec2QueryName, "struct");
|
|
1237
1201
|
const key = `${prefix}${suffix}`;
|
|
1238
1202
|
this.write(member, value[memberName], key);
|
|
1239
1203
|
didWriteMember = true;
|
|
@@ -1261,9 +1225,13 @@ class QueryShapeSerializer extends SerdeContextConfig {
|
|
|
1261
1225
|
delete this.buffer;
|
|
1262
1226
|
return str;
|
|
1263
1227
|
}
|
|
1264
|
-
getKey(memberName, xmlName) {
|
|
1228
|
+
getKey(memberName, xmlName, ec2QueryName, keySource) {
|
|
1229
|
+
const { ec2, capitalizeKeys } = this.settings;
|
|
1230
|
+
if (ec2 && ec2QueryName) {
|
|
1231
|
+
return ec2QueryName;
|
|
1232
|
+
}
|
|
1265
1233
|
const key = xmlName ?? memberName;
|
|
1266
|
-
if (
|
|
1234
|
+
if (capitalizeKeys && keySource === "struct") {
|
|
1267
1235
|
return key[0].toUpperCase() + key.slice(1);
|
|
1268
1236
|
}
|
|
1269
1237
|
return key;
|
|
@@ -1420,6 +1388,7 @@ class AwsEc2QueryProtocol extends AwsQueryProtocol {
|
|
|
1420
1388
|
capitalizeKeys: true,
|
|
1421
1389
|
flattenLists: true,
|
|
1422
1390
|
serializeEmptyLists: false,
|
|
1391
|
+
ec2: true,
|
|
1423
1392
|
};
|
|
1424
1393
|
Object.assign(this.serializer.settings, ec2Settings);
|
|
1425
1394
|
}
|
|
@@ -1530,7 +1499,7 @@ class XmlShapeSerializer extends SerdeContextConfig {
|
|
|
1530
1499
|
}
|
|
1531
1500
|
const structXmlNode = xmlBuilder.XmlNode.of(name);
|
|
1532
1501
|
const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);
|
|
1533
|
-
for (const [memberName, memberSchema] of
|
|
1502
|
+
for (const [memberName, memberSchema] of ns.structIterator()) {
|
|
1534
1503
|
const val = value[memberName];
|
|
1535
1504
|
if (val != null || memberSchema.isIdempotencyToken()) {
|
|
1536
1505
|
if (memberSchema.getMergedTraits().xmlAttribute) {
|
|
@@ -1827,6 +1796,17 @@ class AwsRestXmlProtocol extends protocols.HttpBindingProtocol {
|
|
|
1827
1796
|
}
|
|
1828
1797
|
async handleError(operationSchema, context, response, dataObject, metadata) {
|
|
1829
1798
|
const errorIdentifier = loadRestXmlErrorCode(response, dataObject) ?? "Unknown";
|
|
1799
|
+
if (dataObject.Error && typeof dataObject.Error === "object") {
|
|
1800
|
+
for (const key of Object.keys(dataObject.Error)) {
|
|
1801
|
+
dataObject[key] = dataObject.Error[key];
|
|
1802
|
+
if (key.toLowerCase() === "message") {
|
|
1803
|
+
dataObject.message = dataObject.Error[key];
|
|
1804
|
+
}
|
|
1805
|
+
}
|
|
1806
|
+
}
|
|
1807
|
+
if (dataObject.RequestId && !metadata.requestId) {
|
|
1808
|
+
metadata.requestId = dataObject.RequestId;
|
|
1809
|
+
}
|
|
1830
1810
|
const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);
|
|
1831
1811
|
const ns = schema.NormalizedSchema.of(errorSchema);
|
|
1832
1812
|
const message = dataObject.Error?.message ?? dataObject.Error?.Message ?? dataObject.message ?? dataObject.Message ?? "Unknown";
|
package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js
CHANGED
|
@@ -3,7 +3,6 @@ import { NormalizedSchema } from "@smithy/core/schema";
|
|
|
3
3
|
import { LazyJsonString, NumericValue, parseEpochTimestamp, parseRfc3339DateTimeWithOffset, parseRfc7231DateTime, } from "@smithy/core/serde";
|
|
4
4
|
import { fromBase64 } from "@smithy/util-base64";
|
|
5
5
|
import { SerdeContextConfig } from "../ConfigurableSerdeContext";
|
|
6
|
-
import { deserializingStructIterator } from "../structIterator";
|
|
7
6
|
import { UnionSerde } from "../UnionSerde";
|
|
8
7
|
import { jsonReviver } from "./jsonReviver";
|
|
9
8
|
import { parseJsonBody } from "./parseJsonBody";
|
|
@@ -36,7 +35,7 @@ export class JsonShapeDeserializer extends SerdeContextConfig {
|
|
|
36
35
|
if (union) {
|
|
37
36
|
unionSerde = new UnionSerde(record, out);
|
|
38
37
|
}
|
|
39
|
-
for (const [memberName, memberSchema] of
|
|
38
|
+
for (const [memberName, memberSchema] of ns.structIterator()) {
|
|
40
39
|
let fromKey = memberName;
|
|
41
40
|
if (jsonName) {
|
|
42
41
|
fromKey = memberSchema.getMergedTraits().jsonName ?? fromKey;
|
|
@@ -3,7 +3,6 @@ import { NormalizedSchema } from "@smithy/core/schema";
|
|
|
3
3
|
import { dateToUtcString, generateIdempotencyToken, LazyJsonString, NumericValue } from "@smithy/core/serde";
|
|
4
4
|
import { toBase64 } from "@smithy/util-base64";
|
|
5
5
|
import { SerdeContextConfig } from "../ConfigurableSerdeContext";
|
|
6
|
-
import { serializingStructIterator } from "../structIterator";
|
|
7
6
|
import { JsonReplacer } from "./jsonReplacer";
|
|
8
7
|
export class JsonShapeSerializer extends SerdeContextConfig {
|
|
9
8
|
settings;
|
|
@@ -49,7 +48,7 @@ export class JsonShapeSerializer extends SerdeContextConfig {
|
|
|
49
48
|
if (jsonName) {
|
|
50
49
|
nameMap = {};
|
|
51
50
|
}
|
|
52
|
-
for (const [memberName, memberSchema] of
|
|
51
|
+
for (const [memberName, memberSchema] of ns.structIterator()) {
|
|
53
52
|
const serializableValue = this._write(memberSchema, record[memberName], ns);
|
|
54
53
|
if (serializableValue !== undefined) {
|
|
55
54
|
let targetKey = memberName;
|
|
@@ -3,7 +3,6 @@ import { NormalizedSchema } from "@smithy/core/schema";
|
|
|
3
3
|
import { dateToUtcString, generateIdempotencyToken, LazyJsonString, NumericValue } from "@smithy/core/serde";
|
|
4
4
|
import { toBase64 } from "@smithy/util-base64";
|
|
5
5
|
import { SerdeContextConfig } from "../../ConfigurableSerdeContext";
|
|
6
|
-
import { serializingStructIterator } from "../../structIterator";
|
|
7
6
|
export class SinglePassJsonShapeSerializer extends SerdeContextConfig {
|
|
8
7
|
settings;
|
|
9
8
|
buffer;
|
|
@@ -46,7 +45,7 @@ export class SinglePassJsonShapeSerializer extends SerdeContextConfig {
|
|
|
46
45
|
else if (ns.isStructSchema()) {
|
|
47
46
|
b += "{";
|
|
48
47
|
let didWriteMember = false;
|
|
49
|
-
for (const [name, member] of
|
|
48
|
+
for (const [name, member] of ns.structIterator()) {
|
|
50
49
|
const item = value[name];
|
|
51
50
|
const targetKey = this.settings.jsonName ? member.getMergedTraits().jsonName ?? name : name;
|
|
52
51
|
const serializableValue = this.writeValue(member, item);
|
package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js
CHANGED
|
@@ -4,7 +4,6 @@ import { generateIdempotencyToken, NumericValue } from "@smithy/core/serde";
|
|
|
4
4
|
import { dateToUtcString } from "@smithy/smithy-client";
|
|
5
5
|
import { toBase64 } from "@smithy/util-base64";
|
|
6
6
|
import { SerdeContextConfig } from "../ConfigurableSerdeContext";
|
|
7
|
-
import { serializingStructIterator } from "../structIterator";
|
|
8
7
|
export class QueryShapeSerializer extends SerdeContextConfig {
|
|
9
8
|
settings;
|
|
10
9
|
buffer;
|
|
@@ -99,7 +98,8 @@ export class QueryShapeSerializer extends SerdeContextConfig {
|
|
|
99
98
|
if (item == null) {
|
|
100
99
|
continue;
|
|
101
100
|
}
|
|
102
|
-
const
|
|
101
|
+
const traits = member.getMergedTraits();
|
|
102
|
+
const suffix = this.getKey("member", traits.xmlName, traits.ec2QueryName);
|
|
103
103
|
const key = flat ? `${prefix}${i}` : `${prefix}${suffix}.${i}`;
|
|
104
104
|
this.write(member, item, key);
|
|
105
105
|
++i;
|
|
@@ -117,9 +117,11 @@ export class QueryShapeSerializer extends SerdeContextConfig {
|
|
|
117
117
|
if (v == null) {
|
|
118
118
|
continue;
|
|
119
119
|
}
|
|
120
|
-
const
|
|
120
|
+
const keyTraits = keySchema.getMergedTraits();
|
|
121
|
+
const keySuffix = this.getKey("key", keyTraits.xmlName, keyTraits.ec2QueryName);
|
|
121
122
|
const key = flat ? `${prefix}${i}.${keySuffix}` : `${prefix}entry.${i}.${keySuffix}`;
|
|
122
|
-
const
|
|
123
|
+
const valTraits = memberSchema.getMergedTraits();
|
|
124
|
+
const valueSuffix = this.getKey("value", valTraits.xmlName, valTraits.ec2QueryName);
|
|
123
125
|
const valueKey = flat ? `${prefix}${i}.${valueSuffix}` : `${prefix}entry.${i}.${valueSuffix}`;
|
|
124
126
|
this.write(keySchema, k, key);
|
|
125
127
|
this.write(memberSchema, v, valueKey);
|
|
@@ -130,11 +132,12 @@ export class QueryShapeSerializer extends SerdeContextConfig {
|
|
|
130
132
|
else if (ns.isStructSchema()) {
|
|
131
133
|
if (value && typeof value === "object") {
|
|
132
134
|
let didWriteMember = false;
|
|
133
|
-
for (const [memberName, member] of
|
|
135
|
+
for (const [memberName, member] of ns.structIterator()) {
|
|
134
136
|
if (value[memberName] == null && !member.isIdempotencyToken()) {
|
|
135
137
|
continue;
|
|
136
138
|
}
|
|
137
|
-
const
|
|
139
|
+
const traits = member.getMergedTraits();
|
|
140
|
+
const suffix = this.getKey(memberName, traits.xmlName, traits.ec2QueryName, "struct");
|
|
138
141
|
const key = `${prefix}${suffix}`;
|
|
139
142
|
this.write(member, value[memberName], key);
|
|
140
143
|
didWriteMember = true;
|
|
@@ -163,9 +166,13 @@ export class QueryShapeSerializer extends SerdeContextConfig {
|
|
|
163
166
|
delete this.buffer;
|
|
164
167
|
return str;
|
|
165
168
|
}
|
|
166
|
-
getKey(memberName, xmlName) {
|
|
169
|
+
getKey(memberName, xmlName, ec2QueryName, keySource) {
|
|
170
|
+
const { ec2, capitalizeKeys } = this.settings;
|
|
171
|
+
if (ec2 && ec2QueryName) {
|
|
172
|
+
return ec2QueryName;
|
|
173
|
+
}
|
|
167
174
|
const key = xmlName ?? memberName;
|
|
168
|
-
if (
|
|
175
|
+
if (capitalizeKeys && keySource === "struct") {
|
|
169
176
|
return key[0].toUpperCase() + key.slice(1);
|
|
170
177
|
}
|
|
171
178
|
return key;
|
|
@@ -51,6 +51,17 @@ export class AwsRestXmlProtocol extends HttpBindingProtocol {
|
|
|
51
51
|
}
|
|
52
52
|
async handleError(operationSchema, context, response, dataObject, metadata) {
|
|
53
53
|
const errorIdentifier = loadRestXmlErrorCode(response, dataObject) ?? "Unknown";
|
|
54
|
+
if (dataObject.Error && typeof dataObject.Error === "object") {
|
|
55
|
+
for (const key of Object.keys(dataObject.Error)) {
|
|
56
|
+
dataObject[key] = dataObject.Error[key];
|
|
57
|
+
if (key.toLowerCase() === "message") {
|
|
58
|
+
dataObject.message = dataObject.Error[key];
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
if (dataObject.RequestId && !metadata.requestId) {
|
|
63
|
+
metadata.requestId = dataObject.RequestId;
|
|
64
|
+
}
|
|
54
65
|
const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);
|
|
55
66
|
const ns = NormalizedSchema.of(errorSchema);
|
|
56
67
|
const message = dataObject.Error?.message ?? dataObject.Error?.Message ?? dataObject.message ?? dataObject.Message ?? "Unknown";
|