@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,12 +1,12 @@
|
|
|
1
1
|
import type { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
-
import type { Command as ICommand, Handler, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, Logger, MetadataBearer, MiddlewareStack as IMiddlewareStack, OperationSchema, OptionalParameter, Pluggable, RequestHandler, SerdeContext } from "@smithy/types";
|
|
2
|
+
import type { Command as ICommand, Handler, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, Logger, MetadataBearer, MiddlewareStack as IMiddlewareStack, OperationSchema, OptionalParameter, Pluggable, RequestHandler, SerdeContext, StaticOperationSchema } from "@smithy/types";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
6
|
export declare abstract class Command<Input extends ClientInput, Output extends ClientOutput, ResolvedClientConfiguration, ClientInput extends object = any, ClientOutput extends MetadataBearer = any> implements ICommand<ClientInput, Input, ClientOutput, Output, ResolvedClientConfiguration> {
|
|
7
7
|
abstract input: Input;
|
|
8
8
|
readonly middlewareStack: IMiddlewareStack<Input, Output>;
|
|
9
|
-
readonly schema?: OperationSchema;
|
|
9
|
+
readonly schema?: OperationSchema | StaticOperationSchema;
|
|
10
10
|
/**
|
|
11
11
|
* Factory for Command ClassBuilder.
|
|
12
12
|
* @internal
|
|
@@ -95,7 +95,7 @@ declare class ClassBuilder<I extends SI, O extends SO, C extends {
|
|
|
95
95
|
/**
|
|
96
96
|
* Sets input/output schema for the operation.
|
|
97
97
|
*/
|
|
98
|
-
sc(operation: OperationSchema): ClassBuilder<I, O, C, SI, SO>;
|
|
98
|
+
sc(operation: OperationSchema | StaticOperationSchema): ClassBuilder<I, O, C, SI, SO>;
|
|
99
99
|
/**
|
|
100
100
|
* @returns a Command class with the classBuilder properties.
|
|
101
101
|
*/
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { Command as ICommand, Handler, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, Logger, MetadataBearer, MiddlewareStack as IMiddlewareStack, OperationSchema, OptionalParameter, Pluggable, RequestHandler, SerdeContext } from "@smithy/types";
|
|
2
|
+
import { Command as ICommand, Handler, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, Logger, MetadataBearer, MiddlewareStack as IMiddlewareStack, OperationSchema, OptionalParameter, Pluggable, RequestHandler, SerdeContext, StaticOperationSchema } from "@smithy/types";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
6
|
export declare abstract class Command<Input extends ClientInput, Output extends ClientOutput, ResolvedClientConfiguration, ClientInput extends object = any, ClientOutput extends MetadataBearer = any> implements ICommand<ClientInput, Input, ClientOutput, Output, ResolvedClientConfiguration> {
|
|
7
7
|
abstract input: Input;
|
|
8
8
|
readonly middlewareStack: IMiddlewareStack<Input, Output>;
|
|
9
|
-
readonly schema?: OperationSchema;
|
|
9
|
+
readonly schema?: OperationSchema | StaticOperationSchema;
|
|
10
10
|
/**
|
|
11
11
|
* Factory for Command ClassBuilder.
|
|
12
12
|
* @internal
|
|
@@ -95,7 +95,7 @@ declare class ClassBuilder<I extends SI, O extends SO, C extends {
|
|
|
95
95
|
/**
|
|
96
96
|
* Sets input/output schema for the operation.
|
|
97
97
|
*/
|
|
98
|
-
sc(operation: OperationSchema): ClassBuilder<I, O, C, SI, SO>;
|
|
98
|
+
sc(operation: OperationSchema | StaticOperationSchema): ClassBuilder<I, O, C, SI, SO>;
|
|
99
99
|
/**
|
|
100
100
|
* @returns a Command class with the classBuilder properties.
|
|
101
101
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/smithy-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.9.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline smithy-client",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@smithy/core": "^3.
|
|
29
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
30
|
-
"@smithy/middleware-stack": "^4.2.
|
|
31
|
-
"@smithy/protocol-http": "^5.3.
|
|
32
|
-
"@smithy/types": "^4.
|
|
33
|
-
"@smithy/util-stream": "^4.
|
|
28
|
+
"@smithy/core": "^3.17.0",
|
|
29
|
+
"@smithy/middleware-endpoint": "^4.3.4",
|
|
30
|
+
"@smithy/middleware-stack": "^4.2.3",
|
|
31
|
+
"@smithy/protocol-http": "^5.3.3",
|
|
32
|
+
"@smithy/types": "^4.8.0",
|
|
33
|
+
"@smithy/util-stream": "^4.5.3",
|
|
34
34
|
"tslib": "^2.6.2"
|
|
35
35
|
},
|
|
36
36
|
"engines": {
|
|
@@ -22,7 +22,9 @@ export * from "./profile";
|
|
|
22
22
|
export * from "./response";
|
|
23
23
|
export * from "./retry";
|
|
24
24
|
export * from "./schema/schema";
|
|
25
|
+
export * from "./schema/schema-deprecated";
|
|
25
26
|
export * from "./schema/sentinels";
|
|
27
|
+
export * from "./schema/static-schemas";
|
|
26
28
|
export * from "./serde";
|
|
27
29
|
export * from "./shapes";
|
|
28
30
|
export * from "./signature";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -23,15 +23,30 @@ export interface NodeHttpHandlerOptions {
|
|
|
23
23
|
/**
|
|
24
24
|
* The maximum time in milliseconds that the connection phase of a request
|
|
25
25
|
* may take before the connection attempt is abandoned.
|
|
26
|
-
*
|
|
27
26
|
* Defaults to 0, which disables the timeout.
|
|
28
27
|
*/
|
|
29
28
|
connectionTimeout?: number;
|
|
30
29
|
/**
|
|
31
|
-
* The number of milliseconds
|
|
30
|
+
* The maximum number of milliseconds request & response should take.
|
|
32
31
|
* Defaults to 0, which disables the timeout.
|
|
32
|
+
*
|
|
33
|
+
* If exceeded, a warning will be emitted unless throwOnRequestTimeout=true,
|
|
34
|
+
* in which case a TimeoutError will be thrown.
|
|
33
35
|
*/
|
|
34
36
|
requestTimeout?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Because requestTimeout was for a long time incorrectly being set as a socket idle timeout,
|
|
39
|
+
* users must also opt-in for request timeout thrown errors.
|
|
40
|
+
* Without this setting, a breach of the request timeout will be logged as a warning.
|
|
41
|
+
*/
|
|
42
|
+
throwOnRequestTimeout?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* The maximum time in milliseconds that a socket may remain idle before it
|
|
45
|
+
* is closed. Defaults to 0, which means no maximum.
|
|
46
|
+
*
|
|
47
|
+
* This does not affect the server, which may still close the connection due to an idle socket.
|
|
48
|
+
*/
|
|
49
|
+
socketTimeout?: number;
|
|
35
50
|
/**
|
|
36
51
|
* Delay before the NodeHttpHandler checks for socket exhaustion,
|
|
37
52
|
* and emits a warning if the active sockets and enqueued request count is greater than
|
|
@@ -40,14 +55,6 @@ export interface NodeHttpHandlerOptions {
|
|
|
40
55
|
* Defaults to connectionTimeout + requestTimeout or 3000ms if those are not set.
|
|
41
56
|
*/
|
|
42
57
|
socketAcquisitionWarningTimeout?: number;
|
|
43
|
-
/**
|
|
44
|
-
* This field is deprecated, and requestTimeout should be used instead.
|
|
45
|
-
* The maximum time in milliseconds that a socket may remain idle before it
|
|
46
|
-
* is closed.
|
|
47
|
-
*
|
|
48
|
-
* @deprecated Use {@link requestTimeout}
|
|
49
|
-
*/
|
|
50
|
-
socketTimeout?: number;
|
|
51
58
|
/**
|
|
52
59
|
* You can pass http.Agent or its constructor options.
|
|
53
60
|
*/
|
|
@@ -22,7 +22,9 @@ export * from "./profile";
|
|
|
22
22
|
export * from "./response";
|
|
23
23
|
export * from "./retry";
|
|
24
24
|
export * from "./schema/schema";
|
|
25
|
+
export * from "./schema/schema-deprecated";
|
|
25
26
|
export * from "./schema/sentinels";
|
|
27
|
+
export * from "./schema/static-schemas";
|
|
26
28
|
export * from "./serde";
|
|
27
29
|
export * from "./shapes";
|
|
28
30
|
export * from "./signature";
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import type { EndpointV2 } from "../endpoint";
|
|
2
|
+
import type { HandlerExecutionContext } from "../middleware";
|
|
3
|
+
import type { MetadataBearer } from "../response";
|
|
4
|
+
import type { EndpointBearer, SerdeFunctions } from "../serde";
|
|
5
|
+
import type { ConfigurableSerdeContext, NormalizedSchema, SchemaTraits, SimpleSchema, UnitSchema } from "./schema";
|
|
6
|
+
import type { StaticSchema } from "./static-schemas";
|
|
7
|
+
/**
|
|
8
|
+
* A schema is an object or value that describes how to serialize/deserialize data.
|
|
9
|
+
* @public
|
|
10
|
+
* @deprecated use $Schema
|
|
11
|
+
*/
|
|
12
|
+
export type Schema = UnitSchema | TraitsSchema | SimpleSchema | ListSchema | MapSchema | StructureSchema | MemberSchema | OperationSchema | StaticSchema | NormalizedSchema;
|
|
13
|
+
/**
|
|
14
|
+
* A schema "reference" is either a schema or a function that
|
|
15
|
+
* provides a schema. This is useful for lazy loading, and to allow
|
|
16
|
+
* code generation to define schema out of dependency order.
|
|
17
|
+
* @public
|
|
18
|
+
* @deprecated use $SchemaRef
|
|
19
|
+
*/
|
|
20
|
+
export type SchemaRef = Schema | (() => Schema);
|
|
21
|
+
/**
|
|
22
|
+
* A schema that has traits.
|
|
23
|
+
*
|
|
24
|
+
* @public
|
|
25
|
+
* @deprecated use static schema.
|
|
26
|
+
*/
|
|
27
|
+
export interface TraitsSchema {
|
|
28
|
+
namespace: string;
|
|
29
|
+
name: string;
|
|
30
|
+
traits: SchemaTraits;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Indicates the schema is a member of a parent Structure schema.
|
|
34
|
+
* It may also have a set of member traits distinct from its target shape's traits.
|
|
35
|
+
* @public
|
|
36
|
+
* @deprecated use $MemberSchema
|
|
37
|
+
*/
|
|
38
|
+
export type MemberSchema = [SchemaRef, SchemaTraits];
|
|
39
|
+
/**
|
|
40
|
+
* Schema for the structure aggregate type.
|
|
41
|
+
* @public
|
|
42
|
+
* @deprecated use static schema.
|
|
43
|
+
*/
|
|
44
|
+
export interface StructureSchema extends TraitsSchema {
|
|
45
|
+
memberNames: string[];
|
|
46
|
+
memberList: SchemaRef[];
|
|
47
|
+
/**
|
|
48
|
+
* @deprecated structure member iteration will be linear on the memberNames and memberList arrays.
|
|
49
|
+
* It can be collected into a hashmap form on an ad-hoc basis, but will not initialize as such.
|
|
50
|
+
*/
|
|
51
|
+
members?: Record<string, [SchemaRef, SchemaTraits]> | undefined;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Schema for the list aggregate type.
|
|
55
|
+
* @public
|
|
56
|
+
* @deprecated use static schema.
|
|
57
|
+
*/
|
|
58
|
+
export interface ListSchema extends TraitsSchema {
|
|
59
|
+
valueSchema: SchemaRef;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Schema for the map aggregate type.
|
|
63
|
+
* @public
|
|
64
|
+
* @deprecated use static schema.
|
|
65
|
+
*/
|
|
66
|
+
export interface MapSchema extends TraitsSchema {
|
|
67
|
+
keySchema: SchemaRef;
|
|
68
|
+
valueSchema: SchemaRef;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Schema for an operation.
|
|
72
|
+
* @public
|
|
73
|
+
* @deprecated use StaticOperationSchema or $OperationSchema
|
|
74
|
+
*/
|
|
75
|
+
export interface OperationSchema {
|
|
76
|
+
namespace: string;
|
|
77
|
+
name: string;
|
|
78
|
+
traits: SchemaTraits;
|
|
79
|
+
input: SchemaRef;
|
|
80
|
+
output: SchemaRef;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Turns a serialization into a data object.
|
|
84
|
+
* @public
|
|
85
|
+
* @deprecated use $ShapeDeserializer
|
|
86
|
+
*/
|
|
87
|
+
export interface ShapeDeserializer<SerializationType = Uint8Array> extends ConfigurableSerdeContext {
|
|
88
|
+
/**
|
|
89
|
+
* Optionally async.
|
|
90
|
+
*/
|
|
91
|
+
read(schema: Schema, data: SerializationType): any | Promise<any>;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Turns a data object into a serialization.
|
|
95
|
+
* @public
|
|
96
|
+
* @deprecated use $ShapeSerializer
|
|
97
|
+
*/
|
|
98
|
+
export interface ShapeSerializer<SerializationType = Uint8Array> extends ConfigurableSerdeContext {
|
|
99
|
+
write(schema: Schema, value: unknown): void;
|
|
100
|
+
flush(): SerializationType;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* A codec creates serializers and deserializers for some format such as JSON, XML, or CBOR.
|
|
104
|
+
*
|
|
105
|
+
* @public
|
|
106
|
+
* @deprecated use $Codec
|
|
107
|
+
*/
|
|
108
|
+
export interface Codec<S, D> extends ConfigurableSerdeContext {
|
|
109
|
+
createSerializer(): ShapeSerializer<S>;
|
|
110
|
+
createDeserializer(): ShapeDeserializer<D>;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* A client protocol defines how to convert a message (e.g. HTTP request/response) to and from a data object.
|
|
114
|
+
* @public
|
|
115
|
+
* @deprecated use $ClientProtocol
|
|
116
|
+
*/
|
|
117
|
+
export interface ClientProtocol<Request, Response> extends ConfigurableSerdeContext {
|
|
118
|
+
/**
|
|
119
|
+
* @returns the Smithy qualified shape id.
|
|
120
|
+
*/
|
|
121
|
+
getShapeId(): string;
|
|
122
|
+
getRequestType(): {
|
|
123
|
+
new (...args: any[]): Request;
|
|
124
|
+
};
|
|
125
|
+
getResponseType(): {
|
|
126
|
+
new (...args: any[]): Response;
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* @returns the payload codec if the requests/responses have a symmetric format.
|
|
130
|
+
* It otherwise may return null.
|
|
131
|
+
*/
|
|
132
|
+
getPayloadCodec(): Codec<any, any>;
|
|
133
|
+
serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<Request>;
|
|
134
|
+
updateServiceEndpoint(request: Request, endpoint: EndpointV2): Request;
|
|
135
|
+
deserializeResponse<Output extends MetadataBearer>(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: Response): Promise<Output>;
|
|
136
|
+
}
|
|
@@ -3,12 +3,13 @@ import type { HandlerExecutionContext } from "../middleware";
|
|
|
3
3
|
import type { MetadataBearer } from "../response";
|
|
4
4
|
import type { EndpointBearer, SerdeFunctions } from "../serde";
|
|
5
5
|
import type { BigDecimalSchema, BigIntegerSchema, BlobSchema, BooleanSchema, DocumentSchema, NumericSchema, StreamingBlobSchema, StringSchema, TimestampDateTimeSchema, TimestampDefaultSchema, TimestampEpochSecondsSchema, TimestampHttpDateSchema } from "./sentinels";
|
|
6
|
+
import type { StaticSchema } from "./static-schemas";
|
|
6
7
|
import type { 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
|
/**
|
|
@@ -101,60 +92,28 @@ export type SchemaTraitsObject = {
|
|
|
101
92
|
[traitName: string]: unknown;
|
|
102
93
|
};
|
|
103
94
|
/**
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
|
|
107
|
-
export interface StructureSchema extends TraitsSchema {
|
|
108
|
-
name: string;
|
|
109
|
-
traits: SchemaTraits;
|
|
110
|
-
memberNames: string[];
|
|
111
|
-
memberList: SchemaRef[];
|
|
112
|
-
/**
|
|
113
|
-
* @deprecated structure member iteration will be linear on the memberNames and memberList arrays.
|
|
114
|
-
* It can be collected into a hashmap form on an ad-hoc basis, but will not initialize as such.
|
|
115
|
-
*/
|
|
116
|
-
members?: Record<string, [SchemaRef, SchemaTraits]> | undefined;
|
|
117
|
-
}
|
|
118
|
-
/**
|
|
119
|
-
* Schema for the list aggregate type.
|
|
120
|
-
* @public
|
|
95
|
+
* Indicates the schema is a member of a parent Structure schema.
|
|
96
|
+
* It may also have a set of member traits distinct from its target shape's traits.
|
|
97
|
+
* @alpha
|
|
121
98
|
*/
|
|
122
|
-
export
|
|
123
|
-
name: string;
|
|
124
|
-
traits: SchemaTraits;
|
|
125
|
-
valueSchema: SchemaRef;
|
|
126
|
-
}
|
|
127
|
-
/**
|
|
128
|
-
* Schema for the map aggregate type.
|
|
129
|
-
* @public
|
|
130
|
-
*/
|
|
131
|
-
export interface MapSchema extends TraitsSchema {
|
|
132
|
-
name: string;
|
|
133
|
-
traits: SchemaTraits;
|
|
134
|
-
keySchema: SchemaRef;
|
|
135
|
-
valueSchema: SchemaRef;
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* @public
|
|
139
|
-
*/
|
|
140
|
-
export type MemberSchema = [SchemaRef, SchemaTraits];
|
|
99
|
+
export type $MemberSchema = [$SchemaRef, SchemaTraits];
|
|
141
100
|
/**
|
|
142
101
|
* Schema for an operation.
|
|
143
|
-
*
|
|
144
|
-
* @public
|
|
102
|
+
* @alpha
|
|
145
103
|
*/
|
|
146
|
-
export interface OperationSchema
|
|
104
|
+
export interface $OperationSchema {
|
|
105
|
+
namespace: string;
|
|
147
106
|
name: string;
|
|
148
107
|
traits: SchemaTraits;
|
|
149
|
-
input: SchemaRef;
|
|
150
|
-
output: SchemaRef;
|
|
108
|
+
input: $SchemaRef;
|
|
109
|
+
output: $SchemaRef;
|
|
151
110
|
}
|
|
152
111
|
/**
|
|
153
112
|
* Normalization wrapper for various schema data objects.
|
|
154
113
|
* @public
|
|
155
114
|
*/
|
|
156
115
|
export interface NormalizedSchema {
|
|
157
|
-
getSchema(): Schema;
|
|
116
|
+
getSchema(): $Schema;
|
|
158
117
|
getName(): string | undefined;
|
|
159
118
|
isMemberSchema(): boolean;
|
|
160
119
|
isListSchema(): boolean;
|
|
@@ -185,17 +144,17 @@ export interface NormalizedSchema {
|
|
|
185
144
|
* A schema "reference" is either a schema or a function that
|
|
186
145
|
* provides a schema. This is useful for lazy loading, and to allow
|
|
187
146
|
* code generation to define schema out of dependency order.
|
|
188
|
-
* @
|
|
147
|
+
* @alpha
|
|
189
148
|
*/
|
|
190
|
-
export type SchemaRef = Schema | (() => Schema);
|
|
149
|
+
export type $SchemaRef = $Schema | (() => $Schema);
|
|
191
150
|
/**
|
|
192
151
|
* A codec creates serializers and deserializers for some format such as JSON, XML, or CBOR.
|
|
193
152
|
*
|
|
194
153
|
* @public
|
|
195
154
|
*/
|
|
196
|
-
export interface Codec<S, D> extends ConfigurableSerdeContext {
|
|
197
|
-
createSerializer(): ShapeSerializer<S>;
|
|
198
|
-
createDeserializer(): ShapeDeserializer<D>;
|
|
155
|
+
export interface $Codec<S, D> extends ConfigurableSerdeContext {
|
|
156
|
+
createSerializer(): $ShapeSerializer<S>;
|
|
157
|
+
createDeserializer(): $ShapeDeserializer<D>;
|
|
199
158
|
}
|
|
200
159
|
/**
|
|
201
160
|
* Configuration for codecs. Different protocols may share codecs, but require different behaviors from them.
|
|
@@ -222,25 +181,25 @@ export type CodecSettings = {
|
|
|
222
181
|
* Turns a serialization into a data object.
|
|
223
182
|
* @public
|
|
224
183
|
*/
|
|
225
|
-
export interface ShapeDeserializer<SerializationType = Uint8Array> extends ConfigurableSerdeContext {
|
|
184
|
+
export interface $ShapeDeserializer<SerializationType = Uint8Array> extends ConfigurableSerdeContext {
|
|
226
185
|
/**
|
|
227
186
|
* Optionally async.
|
|
228
187
|
*/
|
|
229
|
-
read(schema: Schema, data: SerializationType): any | Promise<any>;
|
|
188
|
+
read(schema: $Schema, data: SerializationType): any | Promise<any>;
|
|
230
189
|
}
|
|
231
190
|
/**
|
|
232
191
|
* Turns a data object into a serialization.
|
|
233
192
|
* @public
|
|
234
193
|
*/
|
|
235
|
-
export interface ShapeSerializer<SerializationType = Uint8Array> extends ConfigurableSerdeContext {
|
|
236
|
-
write(schema: Schema, value: unknown): void;
|
|
194
|
+
export interface $ShapeSerializer<SerializationType = Uint8Array> extends ConfigurableSerdeContext {
|
|
195
|
+
write(schema: $Schema, value: unknown): void;
|
|
237
196
|
flush(): SerializationType;
|
|
238
197
|
}
|
|
239
198
|
/**
|
|
240
199
|
* A client protocol defines how to convert a message (e.g. HTTP request/response) to and from a data object.
|
|
241
200
|
* @public
|
|
242
201
|
*/
|
|
243
|
-
export interface ClientProtocol<Request, Response> extends ConfigurableSerdeContext {
|
|
202
|
+
export interface $ClientProtocol<Request, Response> extends ConfigurableSerdeContext {
|
|
244
203
|
/**
|
|
245
204
|
* @returns the Smithy qualified shape id.
|
|
246
205
|
*/
|
|
@@ -255,10 +214,10 @@ export interface ClientProtocol<Request, Response> extends ConfigurableSerdeCont
|
|
|
255
214
|
* @returns the payload codec if the requests/responses have a symmetric format.
|
|
256
215
|
* It otherwise may return null.
|
|
257
216
|
*/
|
|
258
|
-
getPayloadCodec(): Codec<any, any>;
|
|
259
|
-
serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<Request>;
|
|
217
|
+
getPayloadCodec(): $Codec<any, any>;
|
|
218
|
+
serializeRequest<Input extends object>(operationSchema: $OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<Request>;
|
|
260
219
|
updateServiceEndpoint(request: Request, endpoint: EndpointV2): Request;
|
|
261
|
-
deserializeResponse<Output extends MetadataBearer>(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: Response): Promise<Output>;
|
|
220
|
+
deserializeResponse<Output extends MetadataBearer>(operationSchema: $OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: Response): Promise<Output>;
|
|
262
221
|
}
|
|
263
222
|
/**
|
|
264
223
|
* Allows a protocol, codec, or serde utility to accept the serdeContext
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import type { $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 = [StaticSchemaIdSimple, ShapeNamespace, ShapeName, SchemaTraits, $SchemaRef];
|
|
42
|
+
/**
|
|
43
|
+
* @alpha
|
|
44
|
+
*/
|
|
45
|
+
export type StaticListSchema = [StaticSchemaIdList, ShapeNamespace, ShapeName, SchemaTraits, $SchemaRef];
|
|
46
|
+
/**
|
|
47
|
+
* @alpha
|
|
48
|
+
*/
|
|
49
|
+
export type StaticMapSchema = [StaticSchemaIdMap, ShapeNamespace, ShapeName, SchemaTraits, $SchemaRef, $SchemaRef];
|
|
50
|
+
/**
|
|
51
|
+
* @alpha
|
|
52
|
+
*/
|
|
53
|
+
export type StaticStructureSchema = [
|
|
54
|
+
StaticSchemaIdStruct,
|
|
55
|
+
ShapeNamespace,
|
|
56
|
+
ShapeName,
|
|
57
|
+
SchemaTraits,
|
|
58
|
+
string[],
|
|
59
|
+
$SchemaRef[]
|
|
60
|
+
];
|
|
61
|
+
/**
|
|
62
|
+
* @alpha
|
|
63
|
+
*/
|
|
64
|
+
export type StaticErrorSchema = [
|
|
65
|
+
StaticSchemaIdError,
|
|
66
|
+
ShapeNamespace,
|
|
67
|
+
ShapeName,
|
|
68
|
+
SchemaTraits,
|
|
69
|
+
string[],
|
|
70
|
+
$SchemaRef[]
|
|
71
|
+
];
|
|
72
|
+
/**
|
|
73
|
+
* @alpha
|
|
74
|
+
*/
|
|
75
|
+
export type StaticOperationSchema = [
|
|
76
|
+
StaticSchemaIdOperation,
|
|
77
|
+
ShapeNamespace,
|
|
78
|
+
ShapeName,
|
|
79
|
+
SchemaTraits,
|
|
80
|
+
$SchemaRef,
|
|
81
|
+
$SchemaRef
|
|
82
|
+
];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Endpoint } from "./http";
|
|
2
|
-
import type { ClientProtocol } from "./schema/schema";
|
|
2
|
+
import type { $ClientProtocol } from "./schema/schema";
|
|
3
3
|
import type { RequestHandler } from "./transfer";
|
|
4
4
|
import type { 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
|
|
@@ -23,15 +23,30 @@ export interface NodeHttpHandlerOptions {
|
|
|
23
23
|
/**
|
|
24
24
|
* The maximum time in milliseconds that the connection phase of a request
|
|
25
25
|
* may take before the connection attempt is abandoned.
|
|
26
|
-
*
|
|
27
26
|
* Defaults to 0, which disables the timeout.
|
|
28
27
|
*/
|
|
29
28
|
connectionTimeout?: number;
|
|
30
29
|
/**
|
|
31
|
-
* The number of milliseconds
|
|
30
|
+
* The maximum number of milliseconds request & response should take.
|
|
32
31
|
* Defaults to 0, which disables the timeout.
|
|
32
|
+
*
|
|
33
|
+
* If exceeded, a warning will be emitted unless throwOnRequestTimeout=true,
|
|
34
|
+
* in which case a TimeoutError will be thrown.
|
|
33
35
|
*/
|
|
34
36
|
requestTimeout?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Because requestTimeout was for a long time incorrectly being set as a socket idle timeout,
|
|
39
|
+
* users must also opt-in for request timeout thrown errors.
|
|
40
|
+
* Without this setting, a breach of the request timeout will be logged as a warning.
|
|
41
|
+
*/
|
|
42
|
+
throwOnRequestTimeout?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* The maximum time in milliseconds that a socket may remain idle before it
|
|
45
|
+
* is closed. Defaults to 0, which means no maximum.
|
|
46
|
+
*
|
|
47
|
+
* This does not affect the server, which may still close the connection due to an idle socket.
|
|
48
|
+
*/
|
|
49
|
+
socketTimeout?: number;
|
|
35
50
|
/**
|
|
36
51
|
* Delay before the NodeHttpHandler checks for socket exhaustion,
|
|
37
52
|
* and emits a warning if the active sockets and enqueued request count is greater than
|
|
@@ -40,14 +55,6 @@ export interface NodeHttpHandlerOptions {
|
|
|
40
55
|
* Defaults to connectionTimeout + requestTimeout or 3000ms if those are not set.
|
|
41
56
|
*/
|
|
42
57
|
socketAcquisitionWarningTimeout?: number;
|
|
43
|
-
/**
|
|
44
|
-
* This field is deprecated, and requestTimeout should be used instead.
|
|
45
|
-
* The maximum time in milliseconds that a socket may remain idle before it
|
|
46
|
-
* is closed.
|
|
47
|
-
*
|
|
48
|
-
* @deprecated Use {@link requestTimeout}
|
|
49
|
-
*/
|
|
50
|
-
socketTimeout?: number;
|
|
51
58
|
/**
|
|
52
59
|
* You can pass http.Agent or its constructor options.
|
|
53
60
|
*/
|
|
@@ -22,7 +22,9 @@ export * from "./profile";
|
|
|
22
22
|
export * from "./response";
|
|
23
23
|
export * from "./retry";
|
|
24
24
|
export * from "./schema/schema";
|
|
25
|
+
export * from "./schema/schema-deprecated";
|
|
25
26
|
export * from "./schema/sentinels";
|
|
27
|
+
export * from "./schema/static-schemas";
|
|
26
28
|
export * from "./serde";
|
|
27
29
|
export * from "./shapes";
|
|
28
30
|
export * from "./signature";
|