@mavogel/awscdk-rootmail 0.0.323 → 0.0.325
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 +2 -2
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +4442 -4660
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/models/models_0.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +38 -38
- package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +7328 -7804
- package/node_modules/@aws-sdk/client-route-53/dist-types/models/models_0.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/package.json +38 -38
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +11771 -11916
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +4 -4
- package/node_modules/@aws-sdk/client-s3/package.json +52 -52
- package/node_modules/@aws-sdk/client-ses/dist-cjs/index.js +7284 -7626
- package/node_modules/@aws-sdk/client-ses/package.json +36 -36
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +12508 -13696
- package/node_modules/@aws-sdk/client-ssm/dist-es/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/package.json +36 -36
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +478 -596
- package/node_modules/@aws-sdk/client-sso/package.json +34 -34
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +1969 -6
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +48 -88
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +35 -74
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +273 -365
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +1581 -1863
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +4 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +3 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +4 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +4 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +4 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +4 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +3 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +4 -4
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ConfigurableSerdeContext.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +4 -4
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonCodec.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeDeserializer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeSerializer.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QuerySerializerSettings.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +1 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlCodec.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +7 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +1 -1
- package/node_modules/@aws-sdk/core/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +38 -73
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +194 -259
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +1 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProfileData.d.ts +4 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +3 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProfileData.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +72 -132
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +71 -107
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +176 -249
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-CVy8iqsZ.js +14 -0
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +16 -25
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js +334 -450
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-expect-continue/dist-cjs/index.js +30 -60
- package/node_modules/@aws-sdk/middleware-expect-continue/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +381 -478
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +9 -9
- package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +35 -63
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js +23 -57
- package/node_modules/@aws-sdk/middleware-location-constraint/dist-es/index.js +4 -7
- package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +44 -75
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +19 -48
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-sdk-route53/dist-cjs/index.js +71 -109
- package/node_modules/@aws-sdk/middleware-sdk-route53/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +511 -641
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +11 -11
- package/node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js +65 -92
- package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +170 -203
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/index.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +583 -858
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +795 -928
- package/node_modules/@aws-sdk/nested-clients/package.json +34 -34
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +59 -95
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +108 -137
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -6
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +147 -222
- package/node_modules/@aws-sdk/token-providers/package.json +7 -7
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +18 -290
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +395 -469
- package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
- package/node_modules/@aws-sdk/util-user-agent-browser/README.md +22 -3
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/createUserAgentStringParsingProvider.js +57 -0
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +39 -8
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-es/createUserAgentStringParsingProvider.js +20 -0
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js +37 -6
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/createUserAgentStringParsingProvider.d.ts +14 -0
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts +14 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts +4 -3
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/createUserAgentStringParsingProvider.d.ts +9 -0
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.d.ts +5 -0
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +50 -94
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/crt-availability.d.ts +1 -2
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/defaultUserAgent.d.ts +10 -5
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +106 -160
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.browser.js +4 -1
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@smithy/abort-controller/package.json +2 -2
- package/node_modules/@smithy/chunked-blob-reader-native/package.json +2 -2
- package/node_modules/@smithy/config-resolver/package.json +4 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +4 -16
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +5 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +51 -47
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +234 -265
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +126 -34
- package/node_modules/@smithy/core/dist-es/index.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +6 -17
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +5 -4
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +4 -4
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +10 -9
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/protocols/SerdeContext.js +6 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/FromStringShapeDeserializer.js +22 -22
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeDeserializer.js +3 -2
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js +7 -9
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/determineTimestampFormat.js +5 -6
- package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +18 -11
- package/node_modules/@smithy/core/dist-es/submodules/schema/index.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +3 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +3 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +100 -185
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/Schema.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +6 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/operation.js +7 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js +22 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/schema-serde-lib/schema-date-utils.js +110 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +4 -26
- package/node_modules/@smithy/core/dist-types/index.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +5 -10
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +5 -2
- package/node_modules/@smithy/core/dist-types/submodules/protocols/SerdeContext.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +3 -4
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +5 -2
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +5 -2
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/ToStringShapeSerializer.d.ts +3 -4
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +5 -6
- package/node_modules/@smithy/core/dist-types/submodules/schema/index.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ListSchema.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/MapSchema.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +12 -27
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/OperationSchema.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/Schema.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/operation.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/sentinels.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/translateTraits.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/schema-serde-lib/schema-date-utils.d.ts +47 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +5 -10
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +5 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/SerdeContext.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +3 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +5 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +5 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts +3 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +5 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +12 -27
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/operation.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/schema-serde-lib/schema-date-utils.d.ts +47 -0
- package/node_modules/@smithy/core/package.json +8 -8
- package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
- package/node_modules/@smithy/eventstream-codec/package.json +2 -2
- package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -3
- package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +2 -2
- package/node_modules/@smithy/eventstream-serde-node/package.json +3 -3
- package/node_modules/@smithy/eventstream-serde-universal/package.json +6 -4
- package/node_modules/@smithy/fetch-http-handler/package.json +6 -6
- package/node_modules/@smithy/hash-blob-browser/package.json +3 -3
- package/node_modules/@smithy/hash-node/package.json +2 -2
- package/node_modules/@smithy/hash-stream-node/package.json +2 -2
- package/node_modules/@smithy/invalid-dependency/package.json +2 -2
- package/node_modules/@smithy/md5-js/package.json +3 -3
- package/node_modules/@smithy/middleware-content-length/package.json +3 -3
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
- package/node_modules/@smithy/middleware-retry/package.json +8 -8
- package/node_modules/@smithy/middleware-serde/package.json +3 -3
- package/node_modules/@smithy/middleware-stack/package.json +2 -2
- package/node_modules/@smithy/node-config-provider/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +30 -6
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +7 -3
- package/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js +21 -0
- package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +2 -3
- package/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +6 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +6 -0
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@smithy/property-provider/package.json +2 -2
- package/node_modules/@smithy/protocol-http/package.json +2 -2
- package/node_modules/@smithy/querystring-builder/package.json +2 -2
- package/node_modules/@smithy/querystring-parser/package.json +2 -2
- package/node_modules/@smithy/service-error-classification/package.json +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +2 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/constants.js +1 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/constants.d.ts +4 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +1 -4
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/constants.d.ts +4 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +1 -4
- package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@smithy/signature-v4/package.json +4 -4
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +5 -4
- package/node_modules/@smithy/smithy-client/dist-es/command.js +5 -4
- package/node_modules/@smithy/smithy-client/dist-types/command.d.ts +3 -3
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts +3 -3
- package/node_modules/@smithy/smithy-client/package.json +7 -7
- package/node_modules/@smithy/types/dist-es/index.js +2 -0
- package/node_modules/@smithy/types/dist-es/schema/schema-deprecated.js +1 -0
- package/node_modules/@smithy/types/dist-es/schema/static-schemas.js +1 -0
- package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +17 -10
- package/node_modules/@smithy/types/dist-types/index.d.ts +2 -0
- package/node_modules/@smithy/types/dist-types/schema/schema-deprecated.d.ts +136 -0
- package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +27 -68
- package/node_modules/@smithy/types/dist-types/schema/static-schemas.d.ts +82 -0
- package/node_modules/@smithy/types/dist-types/serde.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +17 -10
- package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +2 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts +142 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +28 -72
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +101 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +2 -2
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +3 -3
- package/node_modules/@smithy/util-base64/dist-cjs/constants.browser.js +9 -32
- package/node_modules/@smithy/util-base64/dist-es/constants.browser.js +9 -28
- package/node_modules/@smithy/util-base64/dist-types/constants.browser.d.ts +5 -6
- package/node_modules/@smithy/util-base64/dist-types/ts3.4/constants.browser.d.ts +5 -6
- package/node_modules/@smithy/util-base64/package.json +1 -1
- package/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +8 -6
- package/node_modules/@smithy/util-body-length-node/dist-es/calculateBodyLength.js +8 -6
- package/node_modules/@smithy/util-body-length-node/package.json +1 -1
- package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/resolveDefaultsModeConfig.js +11 -9
- package/node_modules/@smithy/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.js +11 -8
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -5
- package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +31 -22
- package/node_modules/@smithy/util-endpoints/dist-es/utils/callFunction.js +1 -11
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateExpression.js +15 -2
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateRules.js +17 -2
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateTreeRule.js +1 -13
- package/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperties.js +25 -2
- package/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperty.js +1 -21
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/callFunction.d.ts +1 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateExpression.d.ts +7 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateRules.d.ts +6 -1
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateTreeRule.d.ts +1 -3
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperties.d.ts +6 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperty.d.ts +1 -3
- package/node_modules/@smithy/util-endpoints/dist-types/utils/callFunction.d.ts +1 -2
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateExpression.d.ts +7 -2
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateRules.d.ts +6 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateTreeRule.d.ts +1 -3
- package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperties.d.ts +6 -0
- package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperty.d.ts +1 -3
- package/node_modules/@smithy/util-endpoints/package.json +3 -3
- package/node_modules/@smithy/util-middleware/package.json +2 -2
- package/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@smithy/util-stream/dist-cjs/index.js +10 -19
- package/node_modules/@smithy/util-stream/dist-es/blob/Uint8ArrayBlobAdapter.js +12 -7
- package/node_modules/@smithy/util-stream/dist-types/blob/Uint8ArrayBlobAdapter.d.ts +1 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/blob/Uint8ArrayBlobAdapter.d.ts +1 -0
- package/node_modules/@smithy/util-stream/package.json +5 -5
- package/node_modules/@smithy/util-waiter/package.json +3 -3
- package/node_modules/cdk-nag/.jsii +3 -3
- package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
- package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
- package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
- package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
- package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
- package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
- package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
- package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
- package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
- package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
- package/node_modules/cdk-nag/lib/packs/serverless.js +1 -1
- package/node_modules/cdk-nag/package.json +4 -4
- package/node_modules/mailparser/CHANGELOG.md +7 -0
- package/node_modules/mailparser/lib/mail-parser.js +12 -3
- package/node_modules/mailparser/node_modules/iconv-lite/Changelog.md +236 -0
- package/node_modules/mailparser/node_modules/iconv-lite/LICENSE +21 -0
- package/node_modules/mailparser/node_modules/iconv-lite/README.md +138 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/index.js +23 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/internal.js +218 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/sbcs-data.js +178 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/utf16.js +187 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/utf32.js +307 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/utf7.js +283 -0
- package/node_modules/mailparser/node_modules/iconv-lite/lib/bom-handling.js +48 -0
- package/node_modules/mailparser/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
- package/node_modules/mailparser/node_modules/iconv-lite/lib/index.d.ts +41 -0
- package/node_modules/mailparser/node_modules/iconv-lite/lib/index.js +183 -0
- package/node_modules/mailparser/node_modules/iconv-lite/lib/streams.js +105 -0
- package/node_modules/mailparser/node_modules/iconv-lite/package.json +59 -0
- package/node_modules/mailparser/package.json +5 -5
- package/node_modules/mailsplit/index.js +2 -0
- package/node_modules/mailsplit/lib/chunked-passthrough.js +37 -0
- package/node_modules/mailsplit/package.json +1 -1
- package/node_modules/nodemailer/.ncurc.js +3 -5
- package/node_modules/nodemailer/.prettierignore +8 -0
- package/node_modules/nodemailer/.prettierrc +12 -0
- package/node_modules/nodemailer/.prettierrc.js +2 -0
- package/node_modules/nodemailer/.release-please-config.json +9 -0
- package/node_modules/nodemailer/CHANGELOG.md +323 -305
- package/node_modules/nodemailer/CODE_OF_CONDUCT.md +13 -13
- package/node_modules/nodemailer/README.md +10 -10
- package/node_modules/nodemailer/eslint.config.js +88 -0
- package/node_modules/nodemailer/lib/addressparser/index.js +47 -7
- package/node_modules/nodemailer/lib/base64/index.js +11 -14
- package/node_modules/nodemailer/lib/dkim/index.js +3 -1
- package/node_modules/nodemailer/lib/dkim/sign.js +1 -1
- package/node_modules/nodemailer/lib/fetch/index.js +7 -1
- package/node_modules/nodemailer/lib/mail-composer/index.js +47 -9
- package/node_modules/nodemailer/lib/mailer/index.js +8 -1
- package/node_modules/nodemailer/lib/mailer/mail-message.js +2 -1
- package/node_modules/nodemailer/lib/mime-funcs/index.js +2 -2
- package/node_modules/nodemailer/lib/mime-funcs/mime-types.js +12 -3
- package/node_modules/nodemailer/lib/mime-node/index.js +11 -9
- package/node_modules/nodemailer/lib/nodemailer.js +3 -1
- package/node_modules/nodemailer/lib/qp/index.js +10 -2
- package/node_modules/nodemailer/lib/shared/index.js +108 -42
- package/node_modules/nodemailer/lib/smtp-connection/http-proxy-client.js +2 -2
- package/node_modules/nodemailer/lib/smtp-connection/index.js +13 -6
- package/node_modules/nodemailer/lib/smtp-pool/pool-resource.js +3 -2
- package/node_modules/nodemailer/lib/smtp-transport/index.js +1 -1
- package/node_modules/nodemailer/lib/well-known/services.json +277 -42
- package/node_modules/nodemailer/lib/xoauth2/index.js +58 -7
- package/node_modules/nodemailer/package.json +9 -5
- package/node_modules/tlds/index.json +0 -1
- package/node_modules/tlds/package.json +1 -1
- package/package.json +1 -1
- package/node_modules/@smithy/util-stream/dist-es/blob/transforms.js +0 -15
- package/node_modules/@smithy/util-stream/dist-types/blob/transforms.d.ts +0 -9
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/blob/transforms.d.ts +0 -9
- /package/node_modules/@smithy/core/dist-es/{protocols → request-builder}/requestBuilder.js +0 -0
- /package/node_modules/@smithy/core/dist-types/{protocols → request-builder}/requestBuilder.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/ts3.4/{protocols → request-builder}/requestBuilder.d.ts +0 -0
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { EndpointV2 } from "../endpoint";
|
|
2
|
+
import { HandlerExecutionContext } from "../middleware";
|
|
3
|
+
import { MetadataBearer } from "../response";
|
|
4
|
+
import { EndpointBearer, SerdeFunctions } from "../serde";
|
|
5
|
+
import { ConfigurableSerdeContext, NormalizedSchema, SchemaTraits, SimpleSchema, UnitSchema } from "./schema";
|
|
6
|
+
import { StaticSchema } from "./static-schemas";
|
|
7
|
+
/**
|
|
8
|
+
* A schema is an object or value that describes how to serialize/deserialize data.
|
|
9
|
+
* @public
|
|
10
|
+
* @deprecated use $Schema
|
|
11
|
+
*/
|
|
12
|
+
export type Schema = UnitSchema | TraitsSchema | SimpleSchema | ListSchema | MapSchema | StructureSchema | MemberSchema | OperationSchema | StaticSchema | NormalizedSchema;
|
|
13
|
+
/**
|
|
14
|
+
* A schema "reference" is either a schema or a function that
|
|
15
|
+
* provides a schema. This is useful for lazy loading, and to allow
|
|
16
|
+
* code generation to define schema out of dependency order.
|
|
17
|
+
* @public
|
|
18
|
+
* @deprecated use $SchemaRef
|
|
19
|
+
*/
|
|
20
|
+
export type SchemaRef = Schema | (() => Schema);
|
|
21
|
+
/**
|
|
22
|
+
* A schema that has traits.
|
|
23
|
+
*
|
|
24
|
+
* @public
|
|
25
|
+
* @deprecated use static schema.
|
|
26
|
+
*/
|
|
27
|
+
export interface TraitsSchema {
|
|
28
|
+
namespace: string;
|
|
29
|
+
name: string;
|
|
30
|
+
traits: SchemaTraits;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Indicates the schema is a member of a parent Structure schema.
|
|
34
|
+
* It may also have a set of member traits distinct from its target shape's traits.
|
|
35
|
+
* @public
|
|
36
|
+
* @deprecated use $MemberSchema
|
|
37
|
+
*/
|
|
38
|
+
export type MemberSchema = [
|
|
39
|
+
SchemaRef,
|
|
40
|
+
SchemaTraits
|
|
41
|
+
];
|
|
42
|
+
/**
|
|
43
|
+
* Schema for the structure aggregate type.
|
|
44
|
+
* @public
|
|
45
|
+
* @deprecated use static schema.
|
|
46
|
+
*/
|
|
47
|
+
export interface StructureSchema extends TraitsSchema {
|
|
48
|
+
memberNames: string[];
|
|
49
|
+
memberList: SchemaRef[];
|
|
50
|
+
/**
|
|
51
|
+
* @deprecated structure member iteration will be linear on the memberNames and memberList arrays.
|
|
52
|
+
* It can be collected into a hashmap form on an ad-hoc basis, but will not initialize as such.
|
|
53
|
+
*/
|
|
54
|
+
members?: Record<string, [
|
|
55
|
+
SchemaRef,
|
|
56
|
+
SchemaTraits
|
|
57
|
+
]> | undefined;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Schema for the list aggregate type.
|
|
61
|
+
* @public
|
|
62
|
+
* @deprecated use static schema.
|
|
63
|
+
*/
|
|
64
|
+
export interface ListSchema extends TraitsSchema {
|
|
65
|
+
valueSchema: SchemaRef;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Schema for the map aggregate type.
|
|
69
|
+
* @public
|
|
70
|
+
* @deprecated use static schema.
|
|
71
|
+
*/
|
|
72
|
+
export interface MapSchema extends TraitsSchema {
|
|
73
|
+
keySchema: SchemaRef;
|
|
74
|
+
valueSchema: SchemaRef;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Schema for an operation.
|
|
78
|
+
* @public
|
|
79
|
+
* @deprecated use StaticOperationSchema or $OperationSchema
|
|
80
|
+
*/
|
|
81
|
+
export interface OperationSchema {
|
|
82
|
+
namespace: string;
|
|
83
|
+
name: string;
|
|
84
|
+
traits: SchemaTraits;
|
|
85
|
+
input: SchemaRef;
|
|
86
|
+
output: SchemaRef;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Turns a serialization into a data object.
|
|
90
|
+
* @public
|
|
91
|
+
* @deprecated use $ShapeDeserializer
|
|
92
|
+
*/
|
|
93
|
+
export interface ShapeDeserializer<SerializationType = Uint8Array> extends ConfigurableSerdeContext {
|
|
94
|
+
/**
|
|
95
|
+
* Optionally async.
|
|
96
|
+
*/
|
|
97
|
+
read(schema: Schema, data: SerializationType): any | Promise<any>;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Turns a data object into a serialization.
|
|
101
|
+
* @public
|
|
102
|
+
* @deprecated use $ShapeSerializer
|
|
103
|
+
*/
|
|
104
|
+
export interface ShapeSerializer<SerializationType = Uint8Array> extends ConfigurableSerdeContext {
|
|
105
|
+
write(schema: Schema, value: unknown): void;
|
|
106
|
+
flush(): SerializationType;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* A codec creates serializers and deserializers for some format such as JSON, XML, or CBOR.
|
|
110
|
+
*
|
|
111
|
+
* @public
|
|
112
|
+
* @deprecated use $Codec
|
|
113
|
+
*/
|
|
114
|
+
export interface Codec<S, D> extends ConfigurableSerdeContext {
|
|
115
|
+
createSerializer(): ShapeSerializer<S>;
|
|
116
|
+
createDeserializer(): ShapeDeserializer<D>;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* A client protocol defines how to convert a message (e.g. HTTP request/response) to and from a data object.
|
|
120
|
+
* @public
|
|
121
|
+
* @deprecated use $ClientProtocol
|
|
122
|
+
*/
|
|
123
|
+
export interface ClientProtocol<Request, Response> extends ConfigurableSerdeContext {
|
|
124
|
+
/**
|
|
125
|
+
* @returns the Smithy qualified shape id.
|
|
126
|
+
*/
|
|
127
|
+
getShapeId(): string;
|
|
128
|
+
getRequestType(): {
|
|
129
|
+
new (...args: any[]): Request;
|
|
130
|
+
};
|
|
131
|
+
getResponseType(): {
|
|
132
|
+
new (...args: any[]): Response;
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* @returns the payload codec if the requests/responses have a symmetric format.
|
|
136
|
+
* It otherwise may return null.
|
|
137
|
+
*/
|
|
138
|
+
getPayloadCodec(): Codec<any, any>;
|
|
139
|
+
serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<Request>;
|
|
140
|
+
updateServiceEndpoint(request: Request, endpoint: EndpointV2): Request;
|
|
141
|
+
deserializeResponse<Output extends MetadataBearer>(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: Response): Promise<Output>;
|
|
142
|
+
}
|
|
@@ -3,12 +3,13 @@ import { HandlerExecutionContext } from "../middleware";
|
|
|
3
3
|
import { MetadataBearer } from "../response";
|
|
4
4
|
import { EndpointBearer, SerdeFunctions } from "../serde";
|
|
5
5
|
import { BigDecimalSchema, BigIntegerSchema, BlobSchema, BooleanSchema, DocumentSchema, NumericSchema, StreamingBlobSchema, StringSchema, TimestampDateTimeSchema, TimestampDefaultSchema, TimestampEpochSecondsSchema, TimestampHttpDateSchema } from "./sentinels";
|
|
6
|
+
import { StaticSchema } from "./static-schemas";
|
|
6
7
|
import { TraitBitVector } from "./traits";
|
|
7
8
|
/**
|
|
8
9
|
* A schema is an object or value that describes how to serialize/deserialize data.
|
|
9
|
-
* @
|
|
10
|
+
* @alpha
|
|
10
11
|
*/
|
|
11
|
-
export type Schema = UnitSchema |
|
|
12
|
+
export type $Schema = UnitSchema | SimpleSchema | $MemberSchema | StaticSchema | NormalizedSchema;
|
|
12
13
|
/**
|
|
13
14
|
* Traits attached to schema objects.
|
|
14
15
|
*
|
|
@@ -19,16 +20,6 @@ export type Schema = UnitSchema | TraitsSchema | SimpleSchema | ListSchema | Map
|
|
|
19
20
|
* @public
|
|
20
21
|
*/
|
|
21
22
|
export type SchemaTraits = TraitBitVector | SchemaTraitsObject;
|
|
22
|
-
/**
|
|
23
|
-
* A schema that has traits.
|
|
24
|
-
*
|
|
25
|
-
* @public
|
|
26
|
-
*/
|
|
27
|
-
export interface TraitsSchema {
|
|
28
|
-
namespace: string;
|
|
29
|
-
name: string;
|
|
30
|
-
traits: SchemaTraits;
|
|
31
|
-
}
|
|
32
23
|
/**
|
|
33
24
|
* Simple schemas are those corresponding to simple Smithy types.
|
|
34
25
|
* @see https://smithy.io/2.0/spec/simple-types.html
|
|
@@ -51,7 +42,7 @@ export type BlobSchemas = BlobSchema | StreamingBlobSchema;
|
|
|
51
42
|
* Signal value for the Smithy void value. Typically used for
|
|
52
43
|
* operation input and outputs.
|
|
53
44
|
*
|
|
54
|
-
* @
|
|
45
|
+
* @alpha
|
|
55
46
|
*/
|
|
56
47
|
export type UnitSchema = "unit";
|
|
57
48
|
/**
|
|
@@ -110,66 +101,31 @@ export type SchemaTraitsObject = {
|
|
|
110
101
|
[traitName: string]: unknown;
|
|
111
102
|
};
|
|
112
103
|
/**
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
|
|
116
|
-
export interface StructureSchema extends TraitsSchema {
|
|
117
|
-
name: string;
|
|
118
|
-
traits: SchemaTraits;
|
|
119
|
-
memberNames: string[];
|
|
120
|
-
memberList: SchemaRef[];
|
|
121
|
-
/**
|
|
122
|
-
* @deprecated structure member iteration will be linear on the memberNames and memberList arrays.
|
|
123
|
-
* It can be collected into a hashmap form on an ad-hoc basis, but will not initialize as such.
|
|
124
|
-
*/
|
|
125
|
-
members?: Record<string, [
|
|
126
|
-
SchemaRef,
|
|
127
|
-
SchemaTraits
|
|
128
|
-
]> | undefined;
|
|
129
|
-
}
|
|
130
|
-
/**
|
|
131
|
-
* Schema for the list aggregate type.
|
|
132
|
-
* @public
|
|
104
|
+
* Indicates the schema is a member of a parent Structure schema.
|
|
105
|
+
* It may also have a set of member traits distinct from its target shape's traits.
|
|
106
|
+
* @alpha
|
|
133
107
|
*/
|
|
134
|
-
export
|
|
135
|
-
|
|
136
|
-
traits: SchemaTraits;
|
|
137
|
-
valueSchema: SchemaRef;
|
|
138
|
-
}
|
|
139
|
-
/**
|
|
140
|
-
* Schema for the map aggregate type.
|
|
141
|
-
* @public
|
|
142
|
-
*/
|
|
143
|
-
export interface MapSchema extends TraitsSchema {
|
|
144
|
-
name: string;
|
|
145
|
-
traits: SchemaTraits;
|
|
146
|
-
keySchema: SchemaRef;
|
|
147
|
-
valueSchema: SchemaRef;
|
|
148
|
-
}
|
|
149
|
-
/**
|
|
150
|
-
* @public
|
|
151
|
-
*/
|
|
152
|
-
export type MemberSchema = [
|
|
153
|
-
SchemaRef,
|
|
108
|
+
export type $MemberSchema = [
|
|
109
|
+
$SchemaRef,
|
|
154
110
|
SchemaTraits
|
|
155
111
|
];
|
|
156
112
|
/**
|
|
157
113
|
* Schema for an operation.
|
|
158
|
-
*
|
|
159
|
-
* @public
|
|
114
|
+
* @alpha
|
|
160
115
|
*/
|
|
161
|
-
export interface OperationSchema
|
|
116
|
+
export interface $OperationSchema {
|
|
117
|
+
namespace: string;
|
|
162
118
|
name: string;
|
|
163
119
|
traits: SchemaTraits;
|
|
164
|
-
input: SchemaRef;
|
|
165
|
-
output: SchemaRef;
|
|
120
|
+
input: $SchemaRef;
|
|
121
|
+
output: $SchemaRef;
|
|
166
122
|
}
|
|
167
123
|
/**
|
|
168
124
|
* Normalization wrapper for various schema data objects.
|
|
169
125
|
* @public
|
|
170
126
|
*/
|
|
171
127
|
export interface NormalizedSchema {
|
|
172
|
-
getSchema(): Schema;
|
|
128
|
+
getSchema(): $Schema;
|
|
173
129
|
getName(): string | undefined;
|
|
174
130
|
isMemberSchema(): boolean;
|
|
175
131
|
isListSchema(): boolean;
|
|
@@ -203,17 +159,17 @@ export interface NormalizedSchema {
|
|
|
203
159
|
* A schema "reference" is either a schema or a function that
|
|
204
160
|
* provides a schema. This is useful for lazy loading, and to allow
|
|
205
161
|
* code generation to define schema out of dependency order.
|
|
206
|
-
* @
|
|
162
|
+
* @alpha
|
|
207
163
|
*/
|
|
208
|
-
export type SchemaRef = Schema | (() => Schema);
|
|
164
|
+
export type $SchemaRef = $Schema | (() => $Schema);
|
|
209
165
|
/**
|
|
210
166
|
* A codec creates serializers and deserializers for some format such as JSON, XML, or CBOR.
|
|
211
167
|
*
|
|
212
168
|
* @public
|
|
213
169
|
*/
|
|
214
|
-
export interface Codec<S, D> extends ConfigurableSerdeContext {
|
|
215
|
-
createSerializer(): ShapeSerializer<S>;
|
|
216
|
-
createDeserializer(): ShapeDeserializer<D>;
|
|
170
|
+
export interface $Codec<S, D> extends ConfigurableSerdeContext {
|
|
171
|
+
createSerializer(): $ShapeSerializer<S>;
|
|
172
|
+
createDeserializer(): $ShapeDeserializer<D>;
|
|
217
173
|
}
|
|
218
174
|
/**
|
|
219
175
|
* Configuration for codecs. Different protocols may share codecs, but require different behaviors from them.
|
|
@@ -240,25 +196,25 @@ export type CodecSettings = {
|
|
|
240
196
|
* Turns a serialization into a data object.
|
|
241
197
|
* @public
|
|
242
198
|
*/
|
|
243
|
-
export interface ShapeDeserializer<SerializationType = Uint8Array> extends ConfigurableSerdeContext {
|
|
199
|
+
export interface $ShapeDeserializer<SerializationType = Uint8Array> extends ConfigurableSerdeContext {
|
|
244
200
|
/**
|
|
245
201
|
* Optionally async.
|
|
246
202
|
*/
|
|
247
|
-
read(schema: Schema, data: SerializationType): any | Promise<any>;
|
|
203
|
+
read(schema: $Schema, data: SerializationType): any | Promise<any>;
|
|
248
204
|
}
|
|
249
205
|
/**
|
|
250
206
|
* Turns a data object into a serialization.
|
|
251
207
|
* @public
|
|
252
208
|
*/
|
|
253
|
-
export interface ShapeSerializer<SerializationType = Uint8Array> extends ConfigurableSerdeContext {
|
|
254
|
-
write(schema: Schema, value: unknown): void;
|
|
209
|
+
export interface $ShapeSerializer<SerializationType = Uint8Array> extends ConfigurableSerdeContext {
|
|
210
|
+
write(schema: $Schema, value: unknown): void;
|
|
255
211
|
flush(): SerializationType;
|
|
256
212
|
}
|
|
257
213
|
/**
|
|
258
214
|
* A client protocol defines how to convert a message (e.g. HTTP request/response) to and from a data object.
|
|
259
215
|
* @public
|
|
260
216
|
*/
|
|
261
|
-
export interface ClientProtocol<Request, Response> extends ConfigurableSerdeContext {
|
|
217
|
+
export interface $ClientProtocol<Request, Response> extends ConfigurableSerdeContext {
|
|
262
218
|
/**
|
|
263
219
|
* @returns the Smithy qualified shape id.
|
|
264
220
|
*/
|
|
@@ -273,10 +229,10 @@ export interface ClientProtocol<Request, Response> extends ConfigurableSerdeCont
|
|
|
273
229
|
* @returns the payload codec if the requests/responses have a symmetric format.
|
|
274
230
|
* It otherwise may return null.
|
|
275
231
|
*/
|
|
276
|
-
getPayloadCodec(): Codec<any, any>;
|
|
277
|
-
serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<Request>;
|
|
232
|
+
getPayloadCodec(): $Codec<any, any>;
|
|
233
|
+
serializeRequest<Input extends object>(operationSchema: $OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<Request>;
|
|
278
234
|
updateServiceEndpoint(request: Request, endpoint: EndpointV2): Request;
|
|
279
|
-
deserializeResponse<Output extends MetadataBearer>(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: Response): Promise<Output>;
|
|
235
|
+
deserializeResponse<Output extends MetadataBearer>(operationSchema: $OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: Response): Promise<Output>;
|
|
280
236
|
}
|
|
281
237
|
/**
|
|
282
238
|
* Allows a protocol, codec, or serde utility to accept the serdeContext
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { $SchemaRef, SchemaTraits } from "../schema/schema";
|
|
2
|
+
/**
|
|
3
|
+
* @alpha
|
|
4
|
+
*/
|
|
5
|
+
export type StaticSchemaIdSimple = 0;
|
|
6
|
+
/**
|
|
7
|
+
* @alpha
|
|
8
|
+
*/
|
|
9
|
+
export type StaticSchemaIdList = 1;
|
|
10
|
+
/**
|
|
11
|
+
* @alpha
|
|
12
|
+
*/
|
|
13
|
+
export type StaticSchemaIdMap = 2;
|
|
14
|
+
/**
|
|
15
|
+
* @alpha
|
|
16
|
+
*/
|
|
17
|
+
export type StaticSchemaIdStruct = 3;
|
|
18
|
+
/**
|
|
19
|
+
* @alpha
|
|
20
|
+
*/
|
|
21
|
+
export type StaticSchemaIdError = -3;
|
|
22
|
+
/**
|
|
23
|
+
* @alpha
|
|
24
|
+
*/
|
|
25
|
+
export type StaticSchemaIdOperation = 9;
|
|
26
|
+
/**
|
|
27
|
+
* @alpha
|
|
28
|
+
*/
|
|
29
|
+
export type StaticSchema = StaticSimpleSchema | StaticListSchema | StaticMapSchema | StaticStructureSchema | StaticErrorSchema | StaticOperationSchema;
|
|
30
|
+
/**
|
|
31
|
+
* @alpha
|
|
32
|
+
*/
|
|
33
|
+
export type ShapeName = string;
|
|
34
|
+
/**
|
|
35
|
+
* @alpha
|
|
36
|
+
*/
|
|
37
|
+
export type ShapeNamespace = string;
|
|
38
|
+
/**
|
|
39
|
+
* @alpha
|
|
40
|
+
*/
|
|
41
|
+
export type StaticSimpleSchema = [
|
|
42
|
+
StaticSchemaIdSimple,
|
|
43
|
+
ShapeNamespace,
|
|
44
|
+
ShapeName,
|
|
45
|
+
SchemaTraits,
|
|
46
|
+
$SchemaRef
|
|
47
|
+
];
|
|
48
|
+
/**
|
|
49
|
+
* @alpha
|
|
50
|
+
*/
|
|
51
|
+
export type StaticListSchema = [
|
|
52
|
+
StaticSchemaIdList,
|
|
53
|
+
ShapeNamespace,
|
|
54
|
+
ShapeName,
|
|
55
|
+
SchemaTraits,
|
|
56
|
+
$SchemaRef
|
|
57
|
+
];
|
|
58
|
+
/**
|
|
59
|
+
* @alpha
|
|
60
|
+
*/
|
|
61
|
+
export type StaticMapSchema = [
|
|
62
|
+
StaticSchemaIdMap,
|
|
63
|
+
ShapeNamespace,
|
|
64
|
+
ShapeName,
|
|
65
|
+
SchemaTraits,
|
|
66
|
+
$SchemaRef,
|
|
67
|
+
$SchemaRef
|
|
68
|
+
];
|
|
69
|
+
/**
|
|
70
|
+
* @alpha
|
|
71
|
+
*/
|
|
72
|
+
export type StaticStructureSchema = [
|
|
73
|
+
StaticSchemaIdStruct,
|
|
74
|
+
ShapeNamespace,
|
|
75
|
+
ShapeName,
|
|
76
|
+
SchemaTraits,
|
|
77
|
+
string[],
|
|
78
|
+
$SchemaRef[]
|
|
79
|
+
];
|
|
80
|
+
/**
|
|
81
|
+
* @alpha
|
|
82
|
+
*/
|
|
83
|
+
export type StaticErrorSchema = [
|
|
84
|
+
StaticSchemaIdError,
|
|
85
|
+
ShapeNamespace,
|
|
86
|
+
ShapeName,
|
|
87
|
+
SchemaTraits,
|
|
88
|
+
string[],
|
|
89
|
+
$SchemaRef[]
|
|
90
|
+
];
|
|
91
|
+
/**
|
|
92
|
+
* @alpha
|
|
93
|
+
*/
|
|
94
|
+
export type StaticOperationSchema = [
|
|
95
|
+
StaticSchemaIdOperation,
|
|
96
|
+
ShapeNamespace,
|
|
97
|
+
ShapeName,
|
|
98
|
+
SchemaTraits,
|
|
99
|
+
$SchemaRef,
|
|
100
|
+
$SchemaRef
|
|
101
|
+
];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Endpoint } from "./http";
|
|
2
|
-
import { ClientProtocol } from "./schema/schema";
|
|
2
|
+
import { $ClientProtocol } from "./schema/schema";
|
|
3
3
|
import { RequestHandler } from "./transfer";
|
|
4
4
|
import { Decoder, Encoder, Provider } from "./util";
|
|
5
5
|
/**
|
|
@@ -29,7 +29,7 @@ export interface StreamCollector {
|
|
|
29
29
|
export interface SerdeContext extends SerdeFunctions, EndpointBearer {
|
|
30
30
|
requestHandler: RequestHandler<any, any>;
|
|
31
31
|
disableHostPrefix: boolean;
|
|
32
|
-
protocol?: ClientProtocol<any, any>;
|
|
32
|
+
protocol?: $ClientProtocol<any, any>;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/url-parser",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.3",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline url-parser",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/querystring-parser": "^4.2.
|
|
28
|
-
"@smithy/types": "^4.
|
|
27
|
+
"@smithy/querystring-parser": "^4.2.3",
|
|
28
|
+
"@smithy/types": "^4.8.0",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
31
31
|
"typesVersions": {
|
|
@@ -1,35 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.maxLetterValue = exports.bitsPerByte = exports.bitsPerLetter = exports.alphabetByValue = exports.alphabetByEncoding = void 0;
|
|
4
|
-
const
|
|
5
|
-
exports.alphabetByEncoding =
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
for (let i = 0, start = "a".charCodeAt(0), limit = "z".charCodeAt(0); i + start <= limit; i++) {
|
|
14
|
-
const char = String.fromCharCode(i + start);
|
|
15
|
-
const index = i + 26;
|
|
16
|
-
alphabetByEncoding[char] = index;
|
|
17
|
-
alphabetByValue[index] = char;
|
|
18
|
-
}
|
|
19
|
-
for (let i = 0; i < 10; i++) {
|
|
20
|
-
alphabetByEncoding[i.toString(10)] = i + 52;
|
|
21
|
-
const char = i.toString(10);
|
|
22
|
-
const index = i + 52;
|
|
23
|
-
alphabetByEncoding[char] = index;
|
|
24
|
-
alphabetByValue[index] = char;
|
|
25
|
-
}
|
|
26
|
-
alphabetByEncoding["+"] = 62;
|
|
27
|
-
alphabetByValue[62] = "+";
|
|
28
|
-
alphabetByEncoding["/"] = 63;
|
|
29
|
-
alphabetByValue[63] = "/";
|
|
30
|
-
const bitsPerLetter = 6;
|
|
31
|
-
exports.bitsPerLetter = bitsPerLetter;
|
|
32
|
-
const bitsPerByte = 8;
|
|
33
|
-
exports.bitsPerByte = bitsPerByte;
|
|
34
|
-
const maxLetterValue = 0b111111;
|
|
35
|
-
exports.maxLetterValue = maxLetterValue;
|
|
4
|
+
const chars = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`;
|
|
5
|
+
exports.alphabetByEncoding = Object.entries(chars).reduce((acc, [i, c]) => {
|
|
6
|
+
acc[c] = Number(i);
|
|
7
|
+
return acc;
|
|
8
|
+
}, {});
|
|
9
|
+
exports.alphabetByValue = chars.split("");
|
|
10
|
+
exports.bitsPerLetter = 6;
|
|
11
|
+
exports.bitsPerByte = 8;
|
|
12
|
+
exports.maxLetterValue = 0b111111;
|
|
@@ -1,28 +1,9 @@
|
|
|
1
|
-
const
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
const index = i + 26;
|
|
11
|
-
alphabetByEncoding[char] = index;
|
|
12
|
-
alphabetByValue[index] = char;
|
|
13
|
-
}
|
|
14
|
-
for (let i = 0; i < 10; i++) {
|
|
15
|
-
alphabetByEncoding[i.toString(10)] = i + 52;
|
|
16
|
-
const char = i.toString(10);
|
|
17
|
-
const index = i + 52;
|
|
18
|
-
alphabetByEncoding[char] = index;
|
|
19
|
-
alphabetByValue[index] = char;
|
|
20
|
-
}
|
|
21
|
-
alphabetByEncoding["+"] = 62;
|
|
22
|
-
alphabetByValue[62] = "+";
|
|
23
|
-
alphabetByEncoding["/"] = 63;
|
|
24
|
-
alphabetByValue[63] = "/";
|
|
25
|
-
const bitsPerLetter = 6;
|
|
26
|
-
const bitsPerByte = 8;
|
|
27
|
-
const maxLetterValue = 0b111111;
|
|
28
|
-
export { alphabetByEncoding, alphabetByValue, bitsPerLetter, bitsPerByte, maxLetterValue };
|
|
1
|
+
const chars = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`;
|
|
2
|
+
export const alphabetByEncoding = Object.entries(chars).reduce((acc, [i, c]) => {
|
|
3
|
+
acc[c] = Number(i);
|
|
4
|
+
return acc;
|
|
5
|
+
}, {});
|
|
6
|
+
export const alphabetByValue = chars.split("");
|
|
7
|
+
export const bitsPerLetter = 6;
|
|
8
|
+
export const bitsPerByte = 8;
|
|
9
|
+
export const maxLetterValue = 0b111111;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
declare const alphabetByEncoding: Record<string, number>;
|
|
2
|
-
declare const alphabetByValue: Array<string>;
|
|
3
|
-
declare const bitsPerLetter = 6;
|
|
4
|
-
declare const bitsPerByte = 8;
|
|
5
|
-
declare const maxLetterValue = 63;
|
|
6
|
-
export { alphabetByEncoding, alphabetByValue, bitsPerLetter, bitsPerByte, maxLetterValue };
|
|
1
|
+
export declare const alphabetByEncoding: Record<string, number>;
|
|
2
|
+
export declare const alphabetByValue: Array<string>;
|
|
3
|
+
export declare const bitsPerLetter = 6;
|
|
4
|
+
export declare const bitsPerByte = 8;
|
|
5
|
+
export declare const maxLetterValue = 63;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
declare const alphabetByEncoding: Record<string, number>;
|
|
2
|
-
declare const alphabetByValue: Array<string>;
|
|
3
|
-
declare const bitsPerLetter = 6;
|
|
4
|
-
declare const bitsPerByte = 8;
|
|
5
|
-
declare const maxLetterValue = 63;
|
|
6
|
-
export { alphabetByEncoding, alphabetByValue, bitsPerLetter, bitsPerByte, maxLetterValue };
|
|
1
|
+
export declare const alphabetByEncoding: Record<string, number>;
|
|
2
|
+
export declare const alphabetByValue: Array<string>;
|
|
3
|
+
export declare const bitsPerLetter = 6;
|
|
4
|
+
export declare const bitsPerByte = 8;
|
|
5
|
+
export declare const maxLetterValue = 63;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var node_fs = require('node:fs');
|
|
4
4
|
|
|
5
5
|
const calculateBodyLength = (body) => {
|
|
6
6
|
if (!body) {
|
|
@@ -18,11 +18,13 @@ const calculateBodyLength = (body) => {
|
|
|
18
18
|
else if (typeof body.start === "number" && typeof body.end === "number") {
|
|
19
19
|
return body.end + 1 - body.start;
|
|
20
20
|
}
|
|
21
|
-
else if (
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
else if (body instanceof node_fs.ReadStream) {
|
|
22
|
+
if (body.path != null) {
|
|
23
|
+
return node_fs.lstatSync(body.path).size;
|
|
24
|
+
}
|
|
25
|
+
else if (typeof body.fd === "number") {
|
|
26
|
+
return node_fs.fstatSync(body.fd).size;
|
|
27
|
+
}
|
|
26
28
|
}
|
|
27
29
|
throw new Error(`Body Length computation failed for ${body}`);
|
|
28
30
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { fstatSync, lstatSync } from "fs";
|
|
1
|
+
import { fstatSync, lstatSync, ReadStream } from "node:fs";
|
|
2
2
|
export const calculateBodyLength = (body) => {
|
|
3
3
|
if (!body) {
|
|
4
4
|
return 0;
|
|
@@ -15,11 +15,13 @@ export const calculateBodyLength = (body) => {
|
|
|
15
15
|
else if (typeof body.start === "number" && typeof body.end === "number") {
|
|
16
16
|
return body.end + 1 - body.start;
|
|
17
17
|
}
|
|
18
|
-
else if (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
18
|
+
else if (body instanceof ReadStream) {
|
|
19
|
+
if (body.path != null) {
|
|
20
|
+
return lstatSync(body.path).size;
|
|
21
|
+
}
|
|
22
|
+
else if (typeof body.fd === "number") {
|
|
23
|
+
return fstatSync(body.fd).size;
|
|
24
|
+
}
|
|
23
25
|
}
|
|
24
26
|
throw new Error(`Body Length computation failed for ${body}`);
|
|
25
27
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-body-length-node",
|
|
3
3
|
"description": "Determines the length of a request body in node.js",
|
|
4
|
-
"version": "4.2.
|
|
4
|
+
"version": "4.2.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
7
7
|
"build:cjs": "node ../../scripts/inline util-body-length-node",
|