@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
|
@@ -1,20 +1,17 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { SerdeContext } from "@smithy/core/protocols";
|
|
2
|
+
import type { Codec, Schema, ShapeDeserializer, ShapeSerializer } from "@smithy/types";
|
|
2
3
|
/**
|
|
3
4
|
* @alpha
|
|
4
5
|
*/
|
|
5
|
-
export declare class CborCodec implements Codec<Uint8Array, Uint8Array> {
|
|
6
|
-
private serdeContext?;
|
|
6
|
+
export declare class CborCodec extends SerdeContext implements Codec<Uint8Array, Uint8Array> {
|
|
7
7
|
createSerializer(): CborShapeSerializer;
|
|
8
8
|
createDeserializer(): CborShapeDeserializer;
|
|
9
|
-
setSerdeContext(serdeContext: SerdeFunctions): void;
|
|
10
9
|
}
|
|
11
10
|
/**
|
|
12
11
|
* @alpha
|
|
13
12
|
*/
|
|
14
|
-
export declare class CborShapeSerializer implements ShapeSerializer {
|
|
15
|
-
private serdeContext?;
|
|
13
|
+
export declare class CborShapeSerializer extends SerdeContext implements ShapeSerializer {
|
|
16
14
|
private value;
|
|
17
|
-
setSerdeContext(serdeContext: SerdeFunctions): void;
|
|
18
15
|
write(schema: Schema, value: unknown): void;
|
|
19
16
|
/**
|
|
20
17
|
* Recursive serializer transform that copies and prepares the user input object
|
|
@@ -26,9 +23,7 @@ export declare class CborShapeSerializer implements ShapeSerializer {
|
|
|
26
23
|
/**
|
|
27
24
|
* @alpha
|
|
28
25
|
*/
|
|
29
|
-
export declare class CborShapeDeserializer implements ShapeDeserializer {
|
|
30
|
-
private serdeContext?;
|
|
31
|
-
setSerdeContext(serdeContext: SerdeFunctions): void;
|
|
26
|
+
export declare class CborShapeDeserializer extends SerdeContext implements ShapeDeserializer {
|
|
32
27
|
read(schema: Schema, bytes: Uint8Array): any;
|
|
33
28
|
/**
|
|
34
29
|
* Public because it's called by the protocol implementation to deserialize errors.
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import type { EventStreamSerde } from "@smithy/core/event-streams";
|
|
2
2
|
import { NormalizedSchema } from "@smithy/core/schema";
|
|
3
3
|
import type { ClientProtocol, Codec, Endpoint, EndpointBearer, EndpointV2, EventStreamMarshaller, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, ResponseMetadata, Schema, SerdeFunctions, ShapeDeserializer, ShapeSerializer } from "@smithy/types";
|
|
4
|
+
import { SerdeContext } from "./SerdeContext";
|
|
4
5
|
/**
|
|
5
6
|
* Abstract base for HTTP-based client protocols.
|
|
6
7
|
*
|
|
7
8
|
* @alpha
|
|
8
9
|
*/
|
|
9
|
-
export declare abstract class HttpProtocol implements ClientProtocol<IHttpRequest, IHttpResponse> {
|
|
10
|
+
export declare abstract class HttpProtocol extends SerdeContext implements ClientProtocol<IHttpRequest, IHttpResponse> {
|
|
10
11
|
readonly options: {
|
|
11
12
|
defaultNamespace: string;
|
|
12
13
|
};
|
|
13
14
|
protected abstract serializer: ShapeSerializer<string | Uint8Array>;
|
|
14
15
|
protected abstract deserializer: ShapeDeserializer<string | Uint8Array>;
|
|
15
|
-
protected serdeContext?: SerdeFunctions;
|
|
16
16
|
protected constructor(options: {
|
|
17
17
|
defaultNamespace: string;
|
|
18
18
|
});
|
|
@@ -20,6 +20,9 @@ export declare abstract class HttpProtocol implements ClientProtocol<IHttpReques
|
|
|
20
20
|
abstract getPayloadCodec(): Codec<any, any>;
|
|
21
21
|
getRequestType(): new (...args: any[]) => IHttpRequest;
|
|
22
22
|
getResponseType(): new (...args: any[]) => IHttpResponse;
|
|
23
|
+
/**
|
|
24
|
+
* @override
|
|
25
|
+
*/
|
|
23
26
|
setSerdeContext(serdeContext: SerdeFunctions): void;
|
|
24
27
|
abstract serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<IHttpRequest>;
|
|
25
28
|
updateServiceEndpoint(request: IHttpRequest, endpoint: EndpointV2 | Endpoint): IHttpRequest;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ConfigurableSerdeContext, SerdeFunctions } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare abstract class SerdeContext implements ConfigurableSerdeContext {
|
|
6
|
+
protected serdeContext?: SerdeFunctions;
|
|
7
|
+
setSerdeContext(serdeContext: SerdeFunctions): void;
|
|
8
|
+
}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import type { CodecSettings, Schema,
|
|
1
|
+
import type { CodecSettings, Schema, ShapeDeserializer } from "@smithy/types";
|
|
2
|
+
import { SerdeContext } from "../SerdeContext";
|
|
2
3
|
/**
|
|
3
4
|
* This deserializer reads strings.
|
|
4
5
|
*
|
|
5
6
|
* @alpha
|
|
6
7
|
*/
|
|
7
|
-
export declare class FromStringShapeDeserializer implements ShapeDeserializer<string> {
|
|
8
|
+
export declare class FromStringShapeDeserializer extends SerdeContext implements ShapeDeserializer<string> {
|
|
8
9
|
private settings;
|
|
9
|
-
private serdeContext;
|
|
10
10
|
constructor(settings: CodecSettings);
|
|
11
|
-
setSerdeContext(serdeContext: SerdeFunctions): void;
|
|
12
11
|
read(_schema: Schema, data: string): any;
|
|
13
12
|
private base64ToUtf8;
|
|
14
13
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { CodecSettings, Schema, SerdeFunctions, ShapeDeserializer } from "@smithy/types";
|
|
2
|
+
import { SerdeContext } from "../SerdeContext";
|
|
2
3
|
/**
|
|
3
4
|
* This deserializer is a dispatcher that decides whether to use a string deserializer
|
|
4
5
|
* or a codec deserializer based on HTTP traits.
|
|
@@ -8,11 +9,13 @@ import type { CodecSettings, Schema, SerdeFunctions, ShapeDeserializer } from "@
|
|
|
8
9
|
*
|
|
9
10
|
* @alpha
|
|
10
11
|
*/
|
|
11
|
-
export declare class HttpInterceptingShapeDeserializer<CodecShapeDeserializer extends ShapeDeserializer<any>> implements ShapeDeserializer<string | Uint8Array> {
|
|
12
|
+
export declare class HttpInterceptingShapeDeserializer<CodecShapeDeserializer extends ShapeDeserializer<any>> extends SerdeContext implements ShapeDeserializer<string | Uint8Array> {
|
|
12
13
|
private codecDeserializer;
|
|
13
14
|
private stringDeserializer;
|
|
14
|
-
private serdeContext;
|
|
15
15
|
constructor(codecDeserializer: CodecShapeDeserializer, codecSettings: CodecSettings);
|
|
16
|
+
/**
|
|
17
|
+
* @override
|
|
18
|
+
*/
|
|
16
19
|
setSerdeContext(serdeContext: SerdeFunctions): void;
|
|
17
20
|
read(schema: Schema, data: string | Uint8Array): any | Promise<any>;
|
|
18
21
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CodecSettings, Schema as ISchema, SerdeFunctions, ShapeSerializer } from "@smithy/types";
|
|
1
|
+
import type { CodecSettings, ConfigurableSerdeContext, Schema as ISchema, SerdeFunctions, ShapeSerializer } from "@smithy/types";
|
|
2
2
|
import { ToStringShapeSerializer } from "./ToStringShapeSerializer";
|
|
3
3
|
/**
|
|
4
4
|
* This serializer decides whether to dispatch to a string serializer or a codec serializer
|
|
@@ -9,11 +9,14 @@ import { ToStringShapeSerializer } from "./ToStringShapeSerializer";
|
|
|
9
9
|
*
|
|
10
10
|
* @alpha
|
|
11
11
|
*/
|
|
12
|
-
export declare class HttpInterceptingShapeSerializer<CodecShapeSerializer extends ShapeSerializer<string | Uint8Array>> implements ShapeSerializer<string | Uint8Array
|
|
12
|
+
export declare class HttpInterceptingShapeSerializer<CodecShapeSerializer extends ShapeSerializer<string | Uint8Array>> implements ShapeSerializer<string | Uint8Array>, ConfigurableSerdeContext {
|
|
13
13
|
private codecSerializer;
|
|
14
14
|
private stringSerializer;
|
|
15
15
|
private buffer;
|
|
16
16
|
constructor(codecSerializer: CodecShapeSerializer, codecSettings: CodecSettings, stringSerializer?: ToStringShapeSerializer);
|
|
17
|
+
/**
|
|
18
|
+
* @override
|
|
19
|
+
*/
|
|
17
20
|
setSerdeContext(serdeContext: SerdeFunctions): void;
|
|
18
21
|
write(schema: ISchema, value: unknown): void;
|
|
19
22
|
flush(): string | Uint8Array;
|
package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/ToStringShapeSerializer.d.ts
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import type { CodecSettings, Schema,
|
|
1
|
+
import type { CodecSettings, Schema, ShapeSerializer } from "@smithy/types";
|
|
2
|
+
import { SerdeContext } from "../SerdeContext";
|
|
2
3
|
/**
|
|
3
4
|
* Serializes a shape to string.
|
|
4
5
|
*
|
|
5
6
|
* @alpha
|
|
6
7
|
*/
|
|
7
|
-
export declare class ToStringShapeSerializer implements ShapeSerializer<string> {
|
|
8
|
+
export declare class ToStringShapeSerializer extends SerdeContext implements ShapeSerializer<string> {
|
|
8
9
|
private settings;
|
|
9
10
|
private stringBuffer;
|
|
10
|
-
private serdeContext;
|
|
11
11
|
constructor(settings: CodecSettings);
|
|
12
|
-
setSerdeContext(serdeContext: SerdeFunctions): void;
|
|
13
12
|
write(schema: Schema, value: unknown): void;
|
|
14
13
|
flush(): string;
|
|
15
14
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Schema as ISchema } from "@smithy/types";
|
|
1
|
+
import type { Schema as ISchema, StaticErrorSchema } from "@smithy/types";
|
|
2
2
|
import type { ErrorSchema } from "./schemas/ErrorSchema";
|
|
3
3
|
/**
|
|
4
4
|
* A way to look up schema by their ShapeId values.
|
|
@@ -31,12 +31,12 @@ export declare class TypeRegistry {
|
|
|
31
31
|
/**
|
|
32
32
|
* Associates an error schema with its constructor.
|
|
33
33
|
*/
|
|
34
|
-
registerError(
|
|
34
|
+
registerError(es: ErrorSchema | StaticErrorSchema, ctor: any): void;
|
|
35
35
|
/**
|
|
36
|
-
* @param
|
|
36
|
+
* @param es - query.
|
|
37
37
|
* @returns Error constructor that extends the service's base exception.
|
|
38
38
|
*/
|
|
39
|
-
getErrorCtor(
|
|
39
|
+
getErrorCtor(es: ErrorSchema | StaticErrorSchema): any;
|
|
40
40
|
/**
|
|
41
41
|
* The smithy-typescript code generator generates a synthetic (i.e. unmodeled) base exception,
|
|
42
42
|
* because generated SDKs before the introduction of schemas have the notion of a ServiceBaseException, which
|
|
@@ -50,7 +50,7 @@ export declare class TypeRegistry {
|
|
|
50
50
|
*
|
|
51
51
|
* @returns the synthetic base exception of the service namespace associated with this registry instance.
|
|
52
52
|
*/
|
|
53
|
-
getBaseException():
|
|
53
|
+
getBaseException(): StaticErrorSchema | undefined;
|
|
54
54
|
/**
|
|
55
55
|
* @param predicate - criterion.
|
|
56
56
|
* @returns a schema in this registry matching the predicate.
|
|
@@ -61,5 +61,4 @@ export declare class TypeRegistry {
|
|
|
61
61
|
*/
|
|
62
62
|
clear(): void;
|
|
63
63
|
private normalizeShapeId;
|
|
64
|
-
private getNamespace;
|
|
65
64
|
}
|
|
@@ -3,10 +3,12 @@ export * from "./middleware/getSchemaSerdePlugin";
|
|
|
3
3
|
export * from "./schemas/ListSchema";
|
|
4
4
|
export * from "./schemas/MapSchema";
|
|
5
5
|
export * from "./schemas/OperationSchema";
|
|
6
|
+
export * from "./schemas/operation";
|
|
6
7
|
export * from "./schemas/ErrorSchema";
|
|
7
8
|
export * from "./schemas/NormalizedSchema";
|
|
8
9
|
export * from "./schemas/Schema";
|
|
9
10
|
export * from "./schemas/SimpleSchema";
|
|
10
11
|
export * from "./schemas/StructureSchema";
|
|
11
12
|
export * from "./schemas/sentinels";
|
|
13
|
+
export * from "./schemas/translateTraits";
|
|
12
14
|
export * from "./TypeRegistry";
|
|
@@ -7,6 +7,7 @@ import { StructureSchema } from "./StructureSchema";
|
|
|
7
7
|
* by additionally holding the class reference for the corresponding ServiceException class.
|
|
8
8
|
*
|
|
9
9
|
* @alpha
|
|
10
|
+
* @deprecated use StaticSchema
|
|
10
11
|
*/
|
|
11
12
|
export declare class ErrorSchema extends StructureSchema {
|
|
12
13
|
static readonly symbol: unique symbol;
|
|
@@ -20,6 +21,7 @@ export declare class ErrorSchema extends StructureSchema {
|
|
|
20
21
|
* Factory for ErrorSchema, to reduce codegen output and register the schema.
|
|
21
22
|
*
|
|
22
23
|
* @internal
|
|
24
|
+
* @deprecated use StaticSchema
|
|
23
25
|
*
|
|
24
26
|
* @param namespace - shapeId namespace.
|
|
25
27
|
* @param name - shapeId name.
|
|
@@ -5,6 +5,7 @@ import { Schema } from "./Schema";
|
|
|
5
5
|
* The deprecated Set type may be represented as a list.
|
|
6
6
|
*
|
|
7
7
|
* @alpha
|
|
8
|
+
* @deprecated use StaticSchema
|
|
8
9
|
*/
|
|
9
10
|
export declare class ListSchema extends Schema implements IListSchema {
|
|
10
11
|
static readonly symbol: unique symbol;
|
|
@@ -17,5 +18,6 @@ export declare class ListSchema extends Schema implements IListSchema {
|
|
|
17
18
|
* Factory for ListSchema.
|
|
18
19
|
*
|
|
19
20
|
* @internal
|
|
21
|
+
* @deprecated use StaticSchema
|
|
20
22
|
*/
|
|
21
23
|
export declare const list: (namespace: string, name: string, traits: SchemaTraits, valueSchema: SchemaRef) => ListSchema;
|
|
@@ -3,6 +3,7 @@ import { Schema } from "./Schema";
|
|
|
3
3
|
/**
|
|
4
4
|
* A schema with a key schema and value schema.
|
|
5
5
|
* @alpha
|
|
6
|
+
* @deprecated use StaticSchema
|
|
6
7
|
*/
|
|
7
8
|
export declare class MapSchema extends Schema implements IMapSchema {
|
|
8
9
|
static readonly symbol: unique symbol;
|
|
@@ -18,5 +19,6 @@ export declare class MapSchema extends Schema implements IMapSchema {
|
|
|
18
19
|
/**
|
|
19
20
|
* Factory for MapSchema.
|
|
20
21
|
* @internal
|
|
22
|
+
* @deprecated use StaticSchema
|
|
21
23
|
*/
|
|
22
24
|
export declare const map: (namespace: string, name: string, traits: SchemaTraits, keySchema: SchemaRef, valueSchema: SchemaRef) => MapSchema;
|
package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MemberSchema,
|
|
1
|
+
import type { $MemberSchema, $Schema, $SchemaRef, NormalizedSchema as INormalizedSchema, SchemaRef, SchemaTraitsObject, StaticSchema } from "@smithy/types";
|
|
2
2
|
/**
|
|
3
3
|
* Wraps both class instances, numeric sentinel values, and member schema pairs.
|
|
4
4
|
* Presents a consistent interface for interacting with polymorphic schema representations.
|
|
@@ -6,8 +6,8 @@ import type { MemberSchema, NormalizedSchema as INormalizedSchema, Schema as ISc
|
|
|
6
6
|
* @alpha
|
|
7
7
|
*/
|
|
8
8
|
export declare class NormalizedSchema implements INormalizedSchema {
|
|
9
|
-
readonly ref: SchemaRef;
|
|
10
|
-
private memberName?;
|
|
9
|
+
readonly ref: $SchemaRef;
|
|
10
|
+
private readonly memberName?;
|
|
11
11
|
static readonly symbol: unique symbol;
|
|
12
12
|
protected readonly symbol: symbol;
|
|
13
13
|
private readonly name;
|
|
@@ -25,16 +25,11 @@ export declare class NormalizedSchema implements INormalizedSchema {
|
|
|
25
25
|
/**
|
|
26
26
|
* Static constructor that attempts to avoid wrapping a NormalizedSchema within another.
|
|
27
27
|
*/
|
|
28
|
-
static of(ref: SchemaRef): NormalizedSchema;
|
|
29
|
-
/**
|
|
30
|
-
* @param indicator - numeric indicator for preset trait combination.
|
|
31
|
-
* @returns equivalent trait object.
|
|
32
|
-
*/
|
|
33
|
-
static translateTraits(indicator: SchemaTraits): SchemaTraitsObject;
|
|
28
|
+
static of(ref: SchemaRef | $SchemaRef): NormalizedSchema;
|
|
34
29
|
/**
|
|
35
30
|
* @returns the underlying non-normalized schema.
|
|
36
31
|
*/
|
|
37
|
-
getSchema(): Exclude
|
|
32
|
+
getSchema(): Exclude<$Schema, $MemberSchema | INormalizedSchema>;
|
|
38
33
|
/**
|
|
39
34
|
* @param withNamespace - qualifies the name.
|
|
40
35
|
* @returns e.g. `MyShape` or `com.namespace#MyShape`.
|
|
@@ -42,11 +37,9 @@ export declare class NormalizedSchema implements INormalizedSchema {
|
|
|
42
37
|
getName(withNamespace?: boolean): string | undefined;
|
|
43
38
|
/**
|
|
44
39
|
* @returns the member name if the schema is a member schema.
|
|
45
|
-
* @throws Error when the schema isn't a member schema.
|
|
46
40
|
*/
|
|
47
41
|
getMemberName(): string;
|
|
48
42
|
isMemberSchema(): boolean;
|
|
49
|
-
isUnitSchema(): boolean;
|
|
50
43
|
/**
|
|
51
44
|
* boolean methods on this class help control flow in shape serialization and deserialization.
|
|
52
45
|
*/
|
|
@@ -55,6 +48,7 @@ export declare class NormalizedSchema implements INormalizedSchema {
|
|
|
55
48
|
isStructSchema(): boolean;
|
|
56
49
|
isBlobSchema(): boolean;
|
|
57
50
|
isTimestampSchema(): boolean;
|
|
51
|
+
isUnitSchema(): boolean;
|
|
58
52
|
isDocumentSchema(): boolean;
|
|
59
53
|
isStringSchema(): boolean;
|
|
60
54
|
isBooleanSchema(): boolean;
|
|
@@ -94,20 +88,15 @@ export declare class NormalizedSchema implements INormalizedSchema {
|
|
|
94
88
|
* @throws Error if the schema is not a Map, List, nor Document.
|
|
95
89
|
*/
|
|
96
90
|
getValueSchema(): NormalizedSchema;
|
|
97
|
-
/**
|
|
98
|
-
* @param member - to query.
|
|
99
|
-
* @returns whether there is a memberSchema with the given member name. False if not a structure (or union).
|
|
100
|
-
*/
|
|
101
|
-
hasMemberSchema(member: string): boolean;
|
|
102
91
|
/**
|
|
103
92
|
* @returns the NormalizedSchema for the given member name. The returned instance will return true for `isMemberSchema()`
|
|
104
93
|
* and will have the member name given.
|
|
105
|
-
* @param
|
|
94
|
+
* @param memberName - which member to retrieve and wrap.
|
|
106
95
|
*
|
|
107
96
|
* @throws Error if member does not exist or the schema is neither a document nor structure.
|
|
108
97
|
* Note that errors are assumed to be structures and unions are considered structures for these purposes.
|
|
109
98
|
*/
|
|
110
|
-
getMemberSchema(
|
|
99
|
+
getMemberSchema(memberName: string): NormalizedSchema;
|
|
111
100
|
/**
|
|
112
101
|
* This can be used for checking the members as a hashmap.
|
|
113
102
|
* Prefer the structIterator method for iteration.
|
|
@@ -131,12 +120,8 @@ export declare class NormalizedSchema implements INormalizedSchema {
|
|
|
131
120
|
* This avoids the overhead of calling Object.entries(ns.getMemberSchemas()).
|
|
132
121
|
*/
|
|
133
122
|
structIterator(): Generator<[string, NormalizedSchema], undefined, undefined>;
|
|
134
|
-
/**
|
|
135
|
-
* Creates a normalized member schema from the given schema and member name.
|
|
136
|
-
*/
|
|
137
|
-
private memberFrom;
|
|
138
|
-
/**
|
|
139
|
-
* @returns a last-resort human-readable name for the schema if it has no other identifiers.
|
|
140
|
-
*/
|
|
141
|
-
private getSchemaName;
|
|
142
123
|
}
|
|
124
|
+
/**
|
|
125
|
+
* @internal
|
|
126
|
+
*/
|
|
127
|
+
export declare const isStaticSchema: (sc: SchemaRef) => sc is StaticSchema;
|
|
@@ -5,6 +5,7 @@ import { Schema } from "./Schema";
|
|
|
5
5
|
* detection on the operation that may affect client protocol logic.
|
|
6
6
|
*
|
|
7
7
|
* @alpha
|
|
8
|
+
* @deprecated use StaticSchema
|
|
8
9
|
*/
|
|
9
10
|
export declare class OperationSchema extends Schema implements IOperationSchema {
|
|
10
11
|
static readonly symbol: unique symbol;
|
|
@@ -17,5 +18,6 @@ export declare class OperationSchema extends Schema implements IOperationSchema
|
|
|
17
18
|
/**
|
|
18
19
|
* Factory for OperationSchema.
|
|
19
20
|
* @internal
|
|
21
|
+
* @deprecated use StaticSchema
|
|
20
22
|
*/
|
|
21
23
|
export declare const op: (namespace: string, name: string, traits: SchemaTraits, input: SchemaRef, output: SchemaRef) => OperationSchema;
|
|
@@ -5,6 +5,7 @@ import { Schema } from "./Schema";
|
|
|
5
5
|
* attached to those schema, since a single number cannot easily represent both a schema and its traits.
|
|
6
6
|
*
|
|
7
7
|
* @alpha
|
|
8
|
+
* @deprecated use StaticSchema
|
|
8
9
|
*/
|
|
9
10
|
export declare class SimpleSchema extends Schema implements TraitsSchema {
|
|
10
11
|
static readonly symbol: unique symbol;
|
|
@@ -17,5 +18,11 @@ export declare class SimpleSchema extends Schema implements TraitsSchema {
|
|
|
17
18
|
* Factory for simple schema class objects.
|
|
18
19
|
*
|
|
19
20
|
* @internal
|
|
21
|
+
* @deprecated use StaticSchema
|
|
20
22
|
*/
|
|
21
23
|
export declare const sim: (namespace: string, name: string, schemaRef: SchemaRef, traits: SchemaTraits) => SimpleSchema;
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
* @deprecated
|
|
27
|
+
*/
|
|
28
|
+
export declare const simAdapter: (namespace: string, name: string, traits: SchemaTraits, schemaRef: SchemaRef) => SimpleSchema;
|
|
@@ -4,6 +4,7 @@ import { Schema } from "./Schema";
|
|
|
4
4
|
* A structure schema has a known list of members. This is also used for unions.
|
|
5
5
|
*
|
|
6
6
|
* @alpha
|
|
7
|
+
* @deprecated use StaticSchema
|
|
7
8
|
*/
|
|
8
9
|
export declare class StructureSchema extends Schema implements IStructureSchema {
|
|
9
10
|
static symbol: symbol;
|
|
@@ -17,5 +18,6 @@ export declare class StructureSchema extends Schema implements IStructureSchema
|
|
|
17
18
|
* Factory for StructureSchema.
|
|
18
19
|
*
|
|
19
20
|
* @internal
|
|
21
|
+
* @deprecated use StaticSchema
|
|
20
22
|
*/
|
|
21
23
|
export declare const struct: (namespace: string, name: string, traits: SchemaTraits, memberNames: string[], memberList: SchemaRef[]) => StructureSchema;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { OperationSchema, SchemaRef, SchemaTraits } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* Converts the static schema array into an object-form to adapt
|
|
4
|
+
* to the signature of ClientProtocol classes.
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export declare const operation: (namespace: string, name: string, traits: SchemaTraits, input: SchemaRef, output: SchemaRef) => OperationSchema;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { SchemaTraits, SchemaTraitsObject } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
* @param indicator - numeric indicator for preset trait combination.
|
|
5
|
+
* @returns equivalent trait object.
|
|
6
|
+
*/
|
|
7
|
+
export declare function translateTraits(indicator: SchemaTraits): SchemaTraitsObject;
|
|
@@ -4,6 +4,7 @@ export * from "./generateIdempotencyToken";
|
|
|
4
4
|
export * from "./lazy-json";
|
|
5
5
|
export * from "./parse-utils";
|
|
6
6
|
export * from "./quote-header";
|
|
7
|
+
export * from "./schema-serde-lib/schema-date-utils";
|
|
7
8
|
export * from "./split-every";
|
|
8
9
|
export * from "./split-header";
|
|
9
10
|
export * from "./value/NumericValue";
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
*
|
|
4
|
+
* Parses a value into a Date. Returns undefined if the input is null or
|
|
5
|
+
* undefined, throws an error if the input is not a number or a parseable string.
|
|
6
|
+
*
|
|
7
|
+
* Input strings must be an integer or floating point number. Fractional seconds are supported.
|
|
8
|
+
*
|
|
9
|
+
* @param value - the value to parse
|
|
10
|
+
* @returns a Date or undefined
|
|
11
|
+
*/
|
|
12
|
+
export declare const _parseEpochTimestamp: (value: unknown) => Date | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* @internal
|
|
15
|
+
*
|
|
16
|
+
* Parses a value into a Date. Returns undefined if the input is null or
|
|
17
|
+
* undefined, throws an error if the input is not a string that can be parsed
|
|
18
|
+
* as an RFC 3339 date.
|
|
19
|
+
*
|
|
20
|
+
* Input strings must conform to RFC3339 section 5.6, and can have a UTC
|
|
21
|
+
* offset. Fractional precision is supported.
|
|
22
|
+
*
|
|
23
|
+
* @see {@link https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14}
|
|
24
|
+
*
|
|
25
|
+
* @param value - the value to parse
|
|
26
|
+
* @returns a Date or undefined
|
|
27
|
+
*/
|
|
28
|
+
export declare const _parseRfc3339DateTimeWithOffset: (value: unknown) => Date | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*
|
|
32
|
+
* Parses a value into a Date. Returns undefined if the input is null or
|
|
33
|
+
* undefined, throws an error if the input is not a string that can be parsed
|
|
34
|
+
* as an RFC 7231 date.
|
|
35
|
+
*
|
|
36
|
+
* Input strings must conform to RFC7231 section 7.1.1.1. Fractional seconds are supported.
|
|
37
|
+
*
|
|
38
|
+
* RFC 850 and unix asctime formats are also accepted.
|
|
39
|
+
* todo: practically speaking, are RFC 850 and asctime even used anymore?
|
|
40
|
+
* todo: can we remove those parts?
|
|
41
|
+
*
|
|
42
|
+
* @see {@link https://datatracker.ietf.org/doc/html/rfc7231.html#section-7.1.1.1}
|
|
43
|
+
*
|
|
44
|
+
* @param value - the value to parse.
|
|
45
|
+
* @returns a Date or undefined.
|
|
46
|
+
*/
|
|
47
|
+
export declare const _parseRfc7231DateTime: (value: unknown) => Date | undefined;
|
|
@@ -3,6 +3,6 @@ export * from "./middleware-http-auth-scheme";
|
|
|
3
3
|
export * from "./middleware-http-signing";
|
|
4
4
|
export * from "./normalizeProvider";
|
|
5
5
|
export { createPaginator } from "./pagination/createPaginator";
|
|
6
|
-
export * from "./
|
|
6
|
+
export * from "./request-builder/requestBuilder";
|
|
7
7
|
export * from "./setFeature";
|
|
8
8
|
export * from "./util-identity-and-auth";
|
|
@@ -1,20 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SerdeContext } from "@smithy/core/protocols";
|
|
2
|
+
import { Codec, Schema, ShapeDeserializer, ShapeSerializer } from "@smithy/types";
|
|
2
3
|
/**
|
|
3
4
|
* @alpha
|
|
4
5
|
*/
|
|
5
|
-
export declare class CborCodec implements Codec<Uint8Array, Uint8Array> {
|
|
6
|
-
private serdeContext?;
|
|
6
|
+
export declare class CborCodec extends SerdeContext implements Codec<Uint8Array, Uint8Array> {
|
|
7
7
|
createSerializer(): CborShapeSerializer;
|
|
8
8
|
createDeserializer(): CborShapeDeserializer;
|
|
9
|
-
setSerdeContext(serdeContext: SerdeFunctions): void;
|
|
10
9
|
}
|
|
11
10
|
/**
|
|
12
11
|
* @alpha
|
|
13
12
|
*/
|
|
14
|
-
export declare class CborShapeSerializer implements ShapeSerializer {
|
|
15
|
-
private serdeContext?;
|
|
13
|
+
export declare class CborShapeSerializer extends SerdeContext implements ShapeSerializer {
|
|
16
14
|
private value;
|
|
17
|
-
setSerdeContext(serdeContext: SerdeFunctions): void;
|
|
18
15
|
write(schema: Schema, value: unknown): void;
|
|
19
16
|
/**
|
|
20
17
|
* Recursive serializer transform that copies and prepares the user input object
|
|
@@ -26,9 +23,7 @@ export declare class CborShapeSerializer implements ShapeSerializer {
|
|
|
26
23
|
/**
|
|
27
24
|
* @alpha
|
|
28
25
|
*/
|
|
29
|
-
export declare class CborShapeDeserializer implements ShapeDeserializer {
|
|
30
|
-
private serdeContext?;
|
|
31
|
-
setSerdeContext(serdeContext: SerdeFunctions): void;
|
|
26
|
+
export declare class CborShapeDeserializer extends SerdeContext implements ShapeDeserializer {
|
|
32
27
|
read(schema: Schema, bytes: Uint8Array): any;
|
|
33
28
|
/**
|
|
34
29
|
* Public because it's called by the protocol implementation to deserialize errors.
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { EventStreamSerde } from "@smithy/core/event-streams";
|
|
2
2
|
import { NormalizedSchema } from "@smithy/core/schema";
|
|
3
3
|
import { ClientProtocol, Codec, Endpoint, EndpointBearer, EndpointV2, EventStreamMarshaller, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, ResponseMetadata, Schema, SerdeFunctions, ShapeDeserializer, ShapeSerializer } from "@smithy/types";
|
|
4
|
+
import { SerdeContext } from "./SerdeContext";
|
|
4
5
|
/**
|
|
5
6
|
* Abstract base for HTTP-based client protocols.
|
|
6
7
|
*
|
|
7
8
|
* @alpha
|
|
8
9
|
*/
|
|
9
|
-
export declare abstract class HttpProtocol implements ClientProtocol<IHttpRequest, IHttpResponse> {
|
|
10
|
+
export declare abstract class HttpProtocol extends SerdeContext implements ClientProtocol<IHttpRequest, IHttpResponse> {
|
|
10
11
|
readonly options: {
|
|
11
12
|
defaultNamespace: string;
|
|
12
13
|
};
|
|
13
14
|
protected abstract serializer: ShapeSerializer<string | Uint8Array>;
|
|
14
15
|
protected abstract deserializer: ShapeDeserializer<string | Uint8Array>;
|
|
15
|
-
protected serdeContext?: SerdeFunctions;
|
|
16
16
|
protected constructor(options: {
|
|
17
17
|
defaultNamespace: string;
|
|
18
18
|
});
|
|
@@ -20,6 +20,9 @@ export declare abstract class HttpProtocol implements ClientProtocol<IHttpReques
|
|
|
20
20
|
abstract getPayloadCodec(): Codec<any, any>;
|
|
21
21
|
getRequestType(): new (...args: any[]) => IHttpRequest;
|
|
22
22
|
getResponseType(): new (...args: any[]) => IHttpResponse;
|
|
23
|
+
/**
|
|
24
|
+
* @override
|
|
25
|
+
*/
|
|
23
26
|
setSerdeContext(serdeContext: SerdeFunctions): void;
|
|
24
27
|
abstract serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<IHttpRequest>;
|
|
25
28
|
updateServiceEndpoint(request: IHttpRequest, endpoint: EndpointV2 | Endpoint): IHttpRequest;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ConfigurableSerdeContext, SerdeFunctions } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare abstract class SerdeContext implements ConfigurableSerdeContext {
|
|
6
|
+
protected serdeContext?: SerdeFunctions;
|
|
7
|
+
setSerdeContext(serdeContext: SerdeFunctions): void;
|
|
8
|
+
}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import { CodecSettings, Schema,
|
|
1
|
+
import { CodecSettings, Schema, ShapeDeserializer } from "@smithy/types";
|
|
2
|
+
import { SerdeContext } from "../SerdeContext";
|
|
2
3
|
/**
|
|
3
4
|
* This deserializer reads strings.
|
|
4
5
|
*
|
|
5
6
|
* @alpha
|
|
6
7
|
*/
|
|
7
|
-
export declare class FromStringShapeDeserializer implements ShapeDeserializer<string> {
|
|
8
|
+
export declare class FromStringShapeDeserializer extends SerdeContext implements ShapeDeserializer<string> {
|
|
8
9
|
private settings;
|
|
9
|
-
private serdeContext;
|
|
10
10
|
constructor(settings: CodecSettings);
|
|
11
|
-
setSerdeContext(serdeContext: SerdeFunctions): void;
|
|
12
11
|
read(_schema: Schema, data: string): any;
|
|
13
12
|
private base64ToUtf8;
|
|
14
13
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CodecSettings, Schema, SerdeFunctions, ShapeDeserializer } from "@smithy/types";
|
|
2
|
+
import { SerdeContext } from "../SerdeContext";
|
|
2
3
|
/**
|
|
3
4
|
* This deserializer is a dispatcher that decides whether to use a string deserializer
|
|
4
5
|
* or a codec deserializer based on HTTP traits.
|
|
@@ -8,11 +9,13 @@ import { CodecSettings, Schema, SerdeFunctions, ShapeDeserializer } from "@smith
|
|
|
8
9
|
*
|
|
9
10
|
* @alpha
|
|
10
11
|
*/
|
|
11
|
-
export declare class HttpInterceptingShapeDeserializer<CodecShapeDeserializer extends ShapeDeserializer<any>> implements ShapeDeserializer<string | Uint8Array> {
|
|
12
|
+
export declare class HttpInterceptingShapeDeserializer<CodecShapeDeserializer extends ShapeDeserializer<any>> extends SerdeContext implements ShapeDeserializer<string | Uint8Array> {
|
|
12
13
|
private codecDeserializer;
|
|
13
14
|
private stringDeserializer;
|
|
14
|
-
private serdeContext;
|
|
15
15
|
constructor(codecDeserializer: CodecShapeDeserializer, codecSettings: CodecSettings);
|
|
16
|
+
/**
|
|
17
|
+
* @override
|
|
18
|
+
*/
|
|
16
19
|
setSerdeContext(serdeContext: SerdeFunctions): void;
|
|
17
20
|
read(schema: Schema, data: string | Uint8Array): any | Promise<any>;
|
|
18
21
|
}
|