@mavogel/awscdk-rootmail 0.0.323 → 0.0.324
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/package.json +15 -15
- package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +7328 -7804
- package/node_modules/@aws-sdk/client-route-53/package.json +15 -15
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +11771 -11916
- package/node_modules/@aws-sdk/client-s3/package.json +21 -21
- package/node_modules/@aws-sdk/client-ses/dist-cjs/index.js +7284 -7626
- package/node_modules/@aws-sdk/client-ses/package.json +15 -15
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +12508 -13696
- package/node_modules/@aws-sdk/client-ssm/package.json +15 -15
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +478 -596
- package/node_modules/@aws-sdk/client-sso/package.json +14 -14
- 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/json/AwsJsonRpcProtocol.js +2 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +2 -2
- 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 +3 -3
- 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 +2 -2
- 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/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/XmlCodec.d.ts +1 -1
- package/node_modules/@aws-sdk/core/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +38 -73
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +194 -259
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +72 -132
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +71 -107
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- 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 +4 -4
- 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 +3 -3
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +381 -478
- package/node_modules/@aws-sdk/middleware-flexible-checksums/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 +5 -5
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +170 -203
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
- 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 +14 -14
- 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 +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +147 -222
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- 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 +1 -1
- 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 +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 -3
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +48 -44
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +273 -319
- 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 -3
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +4 -4
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +6 -5
- 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 +4 -4
- package/node_modules/@smithy/core/dist-es/submodules/schema/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +5 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +5 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +104 -180
- 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 +4 -4
- package/node_modules/@smithy/core/dist-types/submodules/schema/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +26 -24
- 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 +4 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +26 -24
- 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/fetch-http-handler/package.json +6 -6
- package/node_modules/@smithy/hash-blob-browser/package.json +3 -3
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/LICENSE +201 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/README.md +105 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +26 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +12 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +16 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +189 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +17 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js +16 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +18 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +4 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +4 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +22 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +3 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +8 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +12 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +5 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +9 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +39 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +9 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +14 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +52 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +6 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +13 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js +1 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/externalDataInterceptor.d.ts +9 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +8 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +2 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +2 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +6 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +15 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +5 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +50 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +6 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +9 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +36 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +17 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +7 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +2 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +18 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +7 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/externalDataInterceptor.d.ts +9 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +8 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +2 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +2 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +6 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +15 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +5 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +50 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +6 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +9 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +36 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +17 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +7 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +2 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +18 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +7 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +16 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +16 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/package.json +73 -0
- 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/node_modules/@smithy/property-provider/LICENSE +201 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/README.md +10 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/index.js +117 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +8 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/ProviderError.js +23 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +8 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/chain.js +21 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/fromStatic.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/index.js +6 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/memoize.js +45 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +31 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +39 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +31 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/chain.d.ts +13 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +5 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/index.d.ts +24 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +40 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +31 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +39 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +31 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +13 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +5 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +24 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +40 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/package.json +61 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/LICENSE +201 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/README.md +105 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +26 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +12 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +16 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +189 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +17 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js +16 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +18 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +4 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +4 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +22 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +3 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +8 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +12 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +5 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +9 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +39 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +9 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +14 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +52 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +6 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +13 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/externalDataInterceptor.d.ts +9 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +8 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +2 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +2 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +6 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +15 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +5 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +50 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +6 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +9 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +36 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +17 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +7 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +2 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +18 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +7 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/externalDataInterceptor.d.ts +9 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +8 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +2 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +2 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +6 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +15 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +5 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +50 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +6 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +9 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +36 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +17 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +7 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +2 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +18 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +7 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +16 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +16 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/package.json +73 -0
- 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/node_modules/@smithy/abort-controller/LICENSE +201 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/README.md +4 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/index.js +32 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/AbortController.js +7 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +20 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/index.js +2 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +16 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +21 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/index.d.ts +9 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +16 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +21 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts +9 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/package.json +63 -0
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- 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/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 +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 +1 -0
- package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +2 -1
- package/node_modules/@smithy/types/dist-types/schema/static-schemas.d.ts +82 -0
- 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 +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +2 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +101 -0
- 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/node_modules/@smithy/property-provider/LICENSE +201 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/README.md +10 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/index.js +117 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +8 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/ProviderError.js +23 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +8 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/chain.js +21 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/fromStatic.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/index.js +6 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/memoize.js +45 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +31 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +39 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +31 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/chain.d.ts +13 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +5 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/index.d.ts +24 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +40 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +31 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +39 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +31 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +13 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +5 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +24 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +40 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/package.json +61 -0
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -5
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/LICENSE +201 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/README.md +11 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +372 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/Endpoint.js +5 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointConfigOptions.js +7 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointMode.js +5 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointModeConfigOptions.js +8 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/error/InstanceMetadataV1FallbackError.js +10 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js +77 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/fromInstanceMetadata.js +134 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/index.js +7 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js +13 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/RemoteProviderInit.js +3 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js +36 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/index.js +2 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/retry.js +7 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/types.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/utils/getExtendedInstanceMetadataCredentials.js +17 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/utils/getInstanceMetadataEndpoint.js +19 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/utils/staticStabilityProvider.js +25 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/Endpoint.d.ts +7 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointConfigOptions.d.ts +13 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointMode.d.ts +7 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointModeConfigOptions.d.ts +13 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/error/InstanceMetadataV1FallbackError.d.ts +12 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/fromContainerMetadata.d.ts +21 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/fromInstanceMetadata.d.ts +10 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/index.d.ts +28 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/ImdsCredentials.d.ts +19 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/RemoteProviderInit.d.ts +40 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +6 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/index.d.ts +8 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/retry.d.ts +10 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/Endpoint.d.ts +7 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointConfigOptions.d.ts +13 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointMode.d.ts +7 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointModeConfigOptions.d.ts +13 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/error/InstanceMetadataV1FallbackError.d.ts +12 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromContainerMetadata.d.ts +21 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromInstanceMetadata.d.ts +10 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/index.d.ts +28 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/ImdsCredentials.d.ts +19 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/RemoteProviderInit.d.ts +40 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts +6 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/index.d.ts +8 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/retry.d.ts +10 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/types.d.ts +7 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getExtendedInstanceMetadataCredentials.d.ts +6 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getInstanceMetadataEndpoint.d.ts +21 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/staticStabilityProvider.d.ts +16 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/types.d.ts +7 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/utils/getExtendedInstanceMetadataCredentials.d.ts +6 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/utils/getInstanceMetadataEndpoint.d.ts +21 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/utils/staticStabilityProvider.d.ts +16 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/package.json +70 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/LICENSE +201 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/README.md +10 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/index.js +117 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +8 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/ProviderError.js +23 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +8 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/chain.js +21 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/fromStatic.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/index.js +6 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/memoize.js +45 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +31 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +39 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +31 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/chain.d.ts +13 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +5 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/index.d.ts +24 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +40 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +31 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +39 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +31 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +13 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +5 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +24 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +40 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/package.json +61 -0
- package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
- 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 +3 -5
- package/node_modules/@smithy/util-stream/dist-es/blob/Uint8ArrayBlobAdapter.js +3 -5
- 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/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 +2 -2
- 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/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,10 +1,12 @@
|
|
|
1
1
|
import { deref } from "../deref";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { error } from "./ErrorSchema";
|
|
3
|
+
import { list, ListSchema } from "./ListSchema";
|
|
4
|
+
import { map, MapSchema } from "./MapSchema";
|
|
5
|
+
import { op } from "./OperationSchema";
|
|
4
6
|
import { Schema } from "./Schema";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
7
|
+
import { sim } from "./SimpleSchema";
|
|
8
|
+
import { struct, StructureSchema } from "./StructureSchema";
|
|
9
|
+
import { translateTraits } from "./translateTraits";
|
|
8
10
|
export class NormalizedSchema {
|
|
9
11
|
ref;
|
|
10
12
|
memberName;
|
|
@@ -23,17 +25,19 @@ export class NormalizedSchema {
|
|
|
23
25
|
let _ref = ref;
|
|
24
26
|
let schema = ref;
|
|
25
27
|
this._isMemberSchema = false;
|
|
26
|
-
while (
|
|
28
|
+
while (isMemberSchema(_ref)) {
|
|
27
29
|
traitStack.push(_ref[1]);
|
|
28
30
|
_ref = _ref[0];
|
|
29
31
|
schema = deref(_ref);
|
|
30
32
|
this._isMemberSchema = true;
|
|
31
33
|
}
|
|
34
|
+
if (isStaticSchema(schema))
|
|
35
|
+
schema = hydrate(schema);
|
|
32
36
|
if (traitStack.length > 0) {
|
|
33
37
|
this.memberTraits = {};
|
|
34
38
|
for (let i = traitStack.length - 1; i >= 0; --i) {
|
|
35
39
|
const traitSet = traitStack[i];
|
|
36
|
-
Object.assign(this.memberTraits,
|
|
40
|
+
Object.assign(this.memberTraits, translateTraits(traitSet));
|
|
37
41
|
}
|
|
38
42
|
}
|
|
39
43
|
else {
|
|
@@ -54,8 +58,7 @@ export class NormalizedSchema {
|
|
|
54
58
|
else {
|
|
55
59
|
this.traits = 0;
|
|
56
60
|
}
|
|
57
|
-
this.name =
|
|
58
|
-
(this.schema instanceof Schema ? this.schema.getName?.() : void 0) ?? this.memberName ?? this.getSchemaName();
|
|
61
|
+
this.name = (this.schema instanceof Schema ? this.schema.getName?.() : void 0) ?? this.memberName ?? String(schema);
|
|
59
62
|
if (this._isMemberSchema && !memberName) {
|
|
60
63
|
throw new Error(`@smithy/core/schema - NormalizedSchema member init ${this.getName(true)} missing member name.`);
|
|
61
64
|
}
|
|
@@ -64,138 +67,90 @@ export class NormalizedSchema {
|
|
|
64
67
|
return Schema[Symbol.hasInstance].bind(this)(lhs);
|
|
65
68
|
}
|
|
66
69
|
static of(ref) {
|
|
67
|
-
|
|
68
|
-
|
|
70
|
+
const sc = deref(ref);
|
|
71
|
+
if (sc instanceof NormalizedSchema) {
|
|
72
|
+
return sc;
|
|
69
73
|
}
|
|
70
|
-
if (
|
|
71
|
-
const [ns, traits] =
|
|
74
|
+
if (isMemberSchema(sc)) {
|
|
75
|
+
const [ns, traits] = sc;
|
|
72
76
|
if (ns instanceof NormalizedSchema) {
|
|
73
|
-
Object.assign(ns.getMergedTraits(),
|
|
77
|
+
Object.assign(ns.getMergedTraits(), translateTraits(traits));
|
|
74
78
|
return ns;
|
|
75
79
|
}
|
|
76
80
|
throw new Error(`@smithy/core/schema - may not init unwrapped member schema=${JSON.stringify(ref, null, 2)}.`);
|
|
77
81
|
}
|
|
78
|
-
return new NormalizedSchema(
|
|
79
|
-
}
|
|
80
|
-
static translateTraits(indicator) {
|
|
81
|
-
if (typeof indicator === "object") {
|
|
82
|
-
return indicator;
|
|
83
|
-
}
|
|
84
|
-
indicator = indicator | 0;
|
|
85
|
-
const traits = {};
|
|
86
|
-
let i = 0;
|
|
87
|
-
for (const trait of [
|
|
88
|
-
"httpLabel",
|
|
89
|
-
"idempotent",
|
|
90
|
-
"idempotencyToken",
|
|
91
|
-
"sensitive",
|
|
92
|
-
"httpPayload",
|
|
93
|
-
"httpResponseCode",
|
|
94
|
-
"httpQueryParams",
|
|
95
|
-
]) {
|
|
96
|
-
if (((indicator >> i++) & 1) === 1) {
|
|
97
|
-
traits[trait] = 1;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
return traits;
|
|
82
|
+
return new NormalizedSchema(sc);
|
|
101
83
|
}
|
|
102
84
|
getSchema() {
|
|
103
|
-
|
|
104
|
-
Object.assign(this, { schema: this.schema.getSchema() });
|
|
105
|
-
return this.schema;
|
|
106
|
-
}
|
|
107
|
-
if (this.schema instanceof SimpleSchema) {
|
|
108
|
-
return deref(this.schema.schemaRef);
|
|
109
|
-
}
|
|
110
|
-
return deref(this.schema);
|
|
85
|
+
return deref(this.schema?.schemaRef ?? this.schema);
|
|
111
86
|
}
|
|
112
87
|
getName(withNamespace = false) {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
return this.name || undefined;
|
|
88
|
+
const { name } = this;
|
|
89
|
+
const short = !withNamespace && name && name.includes("#");
|
|
90
|
+
return short ? name.split("#")[1] : name || undefined;
|
|
119
91
|
}
|
|
120
92
|
getMemberName() {
|
|
121
|
-
if (!this.isMemberSchema()) {
|
|
122
|
-
throw new Error(`@smithy/core/schema - non-member schema: ${this.getName(true)}`);
|
|
123
|
-
}
|
|
124
93
|
return this.memberName;
|
|
125
94
|
}
|
|
126
95
|
isMemberSchema() {
|
|
127
96
|
return this._isMemberSchema;
|
|
128
97
|
}
|
|
129
|
-
isUnitSchema() {
|
|
130
|
-
return this.getSchema() === "unit";
|
|
131
|
-
}
|
|
132
98
|
isListSchema() {
|
|
133
|
-
const
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
return inner instanceof ListSchema;
|
|
99
|
+
const sc = this.getSchema();
|
|
100
|
+
return typeof sc === "number"
|
|
101
|
+
? sc >= 64 && sc < 128
|
|
102
|
+
: sc instanceof ListSchema;
|
|
138
103
|
}
|
|
139
104
|
isMapSchema() {
|
|
140
|
-
const
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
return inner instanceof MapSchema;
|
|
105
|
+
const sc = this.getSchema();
|
|
106
|
+
return typeof sc === "number"
|
|
107
|
+
? sc >= 128 && sc <= 0b1111_1111
|
|
108
|
+
: sc instanceof MapSchema;
|
|
145
109
|
}
|
|
146
110
|
isStructSchema() {
|
|
147
|
-
const
|
|
148
|
-
return (
|
|
111
|
+
const sc = this.getSchema();
|
|
112
|
+
return (sc !== null && typeof sc === "object" && "members" in sc) || sc instanceof StructureSchema;
|
|
149
113
|
}
|
|
150
114
|
isBlobSchema() {
|
|
151
|
-
|
|
115
|
+
const sc = this.getSchema();
|
|
116
|
+
return sc === 21 || sc === 42;
|
|
152
117
|
}
|
|
153
118
|
isTimestampSchema() {
|
|
154
|
-
const
|
|
155
|
-
return typeof
|
|
119
|
+
const sc = this.getSchema();
|
|
120
|
+
return (typeof sc === "number" &&
|
|
121
|
+
sc >= 4 &&
|
|
122
|
+
sc <= 7);
|
|
123
|
+
}
|
|
124
|
+
isUnitSchema() {
|
|
125
|
+
return this.getSchema() === "unit";
|
|
156
126
|
}
|
|
157
127
|
isDocumentSchema() {
|
|
158
|
-
return this.getSchema() ===
|
|
128
|
+
return this.getSchema() === 15;
|
|
159
129
|
}
|
|
160
130
|
isStringSchema() {
|
|
161
|
-
return this.getSchema() ===
|
|
131
|
+
return this.getSchema() === 0;
|
|
162
132
|
}
|
|
163
133
|
isBooleanSchema() {
|
|
164
|
-
return this.getSchema() ===
|
|
134
|
+
return this.getSchema() === 2;
|
|
165
135
|
}
|
|
166
136
|
isNumericSchema() {
|
|
167
|
-
return this.getSchema() ===
|
|
137
|
+
return this.getSchema() === 1;
|
|
168
138
|
}
|
|
169
139
|
isBigIntegerSchema() {
|
|
170
|
-
return this.getSchema() ===
|
|
140
|
+
return this.getSchema() === 17;
|
|
171
141
|
}
|
|
172
142
|
isBigDecimalSchema() {
|
|
173
|
-
return this.getSchema() ===
|
|
143
|
+
return this.getSchema() === 19;
|
|
174
144
|
}
|
|
175
145
|
isStreaming() {
|
|
176
|
-
const streaming =
|
|
177
|
-
|
|
178
|
-
return true;
|
|
179
|
-
}
|
|
180
|
-
return this.getSchema() === SCHEMA.STREAMING_BLOB;
|
|
146
|
+
const { streaming } = this.getMergedTraits();
|
|
147
|
+
return !!streaming || this.getSchema() === 42;
|
|
181
148
|
}
|
|
182
149
|
isIdempotencyToken() {
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
if (typeof traits === "number") {
|
|
188
|
-
if ((traits & 0b0100) === 0b0100) {
|
|
189
|
-
return true;
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
else if (typeof traits === "object") {
|
|
193
|
-
if (!!traits.idempotencyToken) {
|
|
194
|
-
return true;
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
return false;
|
|
150
|
+
const match = (traits) => (traits & 0b0100) === 0b0100 ||
|
|
151
|
+
!!traits?.idempotencyToken;
|
|
152
|
+
const { normalizedTraits, traits, memberTraits } = this;
|
|
153
|
+
return match(normalizedTraits) || match(traits) || match(memberTraits);
|
|
199
154
|
}
|
|
200
155
|
getMergedTraits() {
|
|
201
156
|
return (this.normalizedTraits ??
|
|
@@ -205,74 +160,48 @@ export class NormalizedSchema {
|
|
|
205
160
|
}));
|
|
206
161
|
}
|
|
207
162
|
getMemberTraits() {
|
|
208
|
-
return
|
|
163
|
+
return translateTraits(this.memberTraits);
|
|
209
164
|
}
|
|
210
165
|
getOwnTraits() {
|
|
211
|
-
return
|
|
166
|
+
return translateTraits(this.traits);
|
|
212
167
|
}
|
|
213
168
|
getKeySchema() {
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
}
|
|
217
|
-
if (!this.isMapSchema()) {
|
|
169
|
+
const [isDoc, isMap] = [this.isDocumentSchema(), this.isMapSchema()];
|
|
170
|
+
if (!isDoc && !isMap) {
|
|
218
171
|
throw new Error(`@smithy/core/schema - cannot get key for non-map: ${this.getName(true)}`);
|
|
219
172
|
}
|
|
220
173
|
const schema = this.getSchema();
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
return
|
|
174
|
+
const memberSchema = isDoc
|
|
175
|
+
? 15
|
|
176
|
+
: schema?.keySchema ?? 0;
|
|
177
|
+
return member([memberSchema, 0], "key");
|
|
225
178
|
}
|
|
226
179
|
getValueSchema() {
|
|
227
|
-
const
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
if (
|
|
237
|
-
|
|
238
|
-
throw new Error(`may not getValueSchema() on structure ${this.getName(true)}`);
|
|
239
|
-
}
|
|
240
|
-
const collection = schema;
|
|
241
|
-
if ("valueSchema" in collection) {
|
|
242
|
-
if (this.isMapSchema()) {
|
|
243
|
-
return this.memberFrom([collection.valueSchema, 0], "value");
|
|
244
|
-
}
|
|
245
|
-
else if (this.isListSchema()) {
|
|
246
|
-
return this.memberFrom([collection.valueSchema, 0], "member");
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
if (this.isDocumentSchema()) {
|
|
251
|
-
return this.memberFrom([SCHEMA.DOCUMENT, 0], "value");
|
|
180
|
+
const sc = this.getSchema();
|
|
181
|
+
const [isDoc, isMap, isList] = [this.isDocumentSchema(), this.isMapSchema(), this.isListSchema()];
|
|
182
|
+
const memberSchema = typeof sc === "number"
|
|
183
|
+
? 0b0011_1111 & sc
|
|
184
|
+
: sc && typeof sc === "object" && (isMap || isList)
|
|
185
|
+
? sc.valueSchema
|
|
186
|
+
: isDoc
|
|
187
|
+
? 15
|
|
188
|
+
: void 0;
|
|
189
|
+
if (memberSchema != null) {
|
|
190
|
+
return member([memberSchema, 0], isMap ? "value" : "member");
|
|
252
191
|
}
|
|
253
192
|
throw new Error(`@smithy/core/schema - ${this.getName(true)} has no value member.`);
|
|
254
193
|
}
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
}
|
|
260
|
-
return false;
|
|
261
|
-
}
|
|
262
|
-
getMemberSchema(member) {
|
|
263
|
-
if (this.isStructSchema()) {
|
|
264
|
-
const struct = this.getSchema();
|
|
265
|
-
if (!struct.memberNames.includes(member)) {
|
|
266
|
-
throw new Error(`@smithy/core/schema - ${this.getName(true)} has no member=${member}.`);
|
|
267
|
-
}
|
|
268
|
-
const i = struct.memberNames.indexOf(member);
|
|
194
|
+
getMemberSchema(memberName) {
|
|
195
|
+
const struct = this.getSchema();
|
|
196
|
+
if (this.isStructSchema() && struct.memberNames.includes(memberName)) {
|
|
197
|
+
const i = struct.memberNames.indexOf(memberName);
|
|
269
198
|
const memberSchema = struct.memberList[i];
|
|
270
|
-
return
|
|
199
|
+
return member(isMemberSchema(memberSchema) ? memberSchema : [memberSchema, 0], memberName);
|
|
271
200
|
}
|
|
272
201
|
if (this.isDocumentSchema()) {
|
|
273
|
-
return
|
|
202
|
+
return member([15, 0], memberName);
|
|
274
203
|
}
|
|
275
|
-
throw new Error(`@smithy/core/schema - ${this.getName(true)} has no
|
|
204
|
+
throw new Error(`@smithy/core/schema - ${this.getName(true)} has no no member=${memberName}.`);
|
|
276
205
|
}
|
|
277
206
|
getMemberSchemas() {
|
|
278
207
|
const buffer = {};
|
|
@@ -303,35 +232,30 @@ export class NormalizedSchema {
|
|
|
303
232
|
}
|
|
304
233
|
const struct = this.getSchema();
|
|
305
234
|
for (let i = 0; i < struct.memberNames.length; ++i) {
|
|
306
|
-
yield [struct.memberNames[i],
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
memberFrom(memberSchema, memberName) {
|
|
310
|
-
if (memberSchema instanceof NormalizedSchema) {
|
|
311
|
-
return Object.assign(memberSchema, {
|
|
312
|
-
memberName,
|
|
313
|
-
_isMemberSchema: true,
|
|
314
|
-
});
|
|
235
|
+
yield [struct.memberNames[i], member([struct.memberList[i], 0], struct.memberNames[i])];
|
|
315
236
|
}
|
|
316
|
-
return new NormalizedSchema(memberSchema, memberName);
|
|
317
|
-
}
|
|
318
|
-
getSchemaName() {
|
|
319
|
-
const schema = this.getSchema();
|
|
320
|
-
if (typeof schema === "number") {
|
|
321
|
-
const _schema = 0b0011_1111 & schema;
|
|
322
|
-
const container = 0b1100_0000 & schema;
|
|
323
|
-
const type = Object.entries(SCHEMA).find(([, value]) => {
|
|
324
|
-
return value === _schema;
|
|
325
|
-
})?.[0] ?? "Unknown";
|
|
326
|
-
switch (container) {
|
|
327
|
-
case SCHEMA.MAP_MODIFIER:
|
|
328
|
-
return `${type}Map`;
|
|
329
|
-
case SCHEMA.LIST_MODIFIER:
|
|
330
|
-
return `${type}List`;
|
|
331
|
-
case 0:
|
|
332
|
-
return type;
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
return "Unknown";
|
|
336
237
|
}
|
|
337
238
|
}
|
|
239
|
+
function member(memberSchema, memberName) {
|
|
240
|
+
if (memberSchema instanceof NormalizedSchema) {
|
|
241
|
+
return Object.assign(memberSchema, {
|
|
242
|
+
memberName,
|
|
243
|
+
_isMemberSchema: true,
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
const internalCtorAccess = NormalizedSchema;
|
|
247
|
+
return new internalCtorAccess(memberSchema, memberName);
|
|
248
|
+
}
|
|
249
|
+
export function hydrate(ss) {
|
|
250
|
+
const [id, ...rest] = ss;
|
|
251
|
+
return {
|
|
252
|
+
[0]: sim,
|
|
253
|
+
[1]: list,
|
|
254
|
+
[2]: map,
|
|
255
|
+
[3]: struct,
|
|
256
|
+
[-3]: error,
|
|
257
|
+
[9]: op,
|
|
258
|
+
}[id].call(null, ...rest);
|
|
259
|
+
}
|
|
260
|
+
const isMemberSchema = (sc) => Array.isArray(sc) && sc.length === 2;
|
|
261
|
+
export const isStaticSchema = (sc) => Array.isArray(sc) && sc.length >= 5;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export function translateTraits(indicator) {
|
|
2
|
+
if (typeof indicator === "object") {
|
|
3
|
+
return indicator;
|
|
4
|
+
}
|
|
5
|
+
indicator = indicator | 0;
|
|
6
|
+
const traits = {};
|
|
7
|
+
let i = 0;
|
|
8
|
+
for (const trait of [
|
|
9
|
+
"httpLabel",
|
|
10
|
+
"idempotent",
|
|
11
|
+
"idempotencyToken",
|
|
12
|
+
"sensitive",
|
|
13
|
+
"httpPayload",
|
|
14
|
+
"httpResponseCode",
|
|
15
|
+
"httpQueryParams",
|
|
16
|
+
]) {
|
|
17
|
+
if (((indicator >> i++) & 1) === 1) {
|
|
18
|
+
traits[trait] = 1;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
return traits;
|
|
22
|
+
}
|
|
@@ -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";
|
package/node_modules/@smithy/core/dist-es/submodules/serde/schema-serde-lib/schema-date-utils.js
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
const ddd = `(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)(?:[ne|u?r]?s?day)?`;
|
|
2
|
+
const mmm = `(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)`;
|
|
3
|
+
const time = `(\\d?\\d):(\\d{2}):(\\d{2})(?:\\.(\\d+))?`;
|
|
4
|
+
const date = `(\\d?\\d)`;
|
|
5
|
+
const year = `(\\d{4})`;
|
|
6
|
+
const RFC3339_WITH_OFFSET = new RegExp(/^(\d{4})-(\d\d)-(\d\d)[tT](\d\d):(\d\d):(\d\d)(\.(\d+))?(([-+]\d\d:\d\d)|[zZ])$/);
|
|
7
|
+
const IMF_FIXDATE = new RegExp(`^${ddd}, ${date} ${mmm} ${year} ${time} GMT$`);
|
|
8
|
+
const RFC_850_DATE = new RegExp(`^${ddd}, ${date}-${mmm}-(\\d\\d) ${time} GMT$`);
|
|
9
|
+
const ASC_TIME = new RegExp(`^${ddd} ${mmm} ( [1-9]|\\d\\d) ${time} ${year}$`);
|
|
10
|
+
const months = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
|
|
11
|
+
export const _parseEpochTimestamp = (value) => {
|
|
12
|
+
if (value == null) {
|
|
13
|
+
return void 0;
|
|
14
|
+
}
|
|
15
|
+
let num = NaN;
|
|
16
|
+
if (typeof value === "number") {
|
|
17
|
+
num = value;
|
|
18
|
+
}
|
|
19
|
+
else if (typeof value === "string") {
|
|
20
|
+
if (!/^-?\d*\.?\d+$/.test(value)) {
|
|
21
|
+
throw new TypeError(`parseEpochTimestamp - numeric string invalid.`);
|
|
22
|
+
}
|
|
23
|
+
num = Number.parseFloat(value);
|
|
24
|
+
}
|
|
25
|
+
else if (typeof value === "object" && value.tag === 1) {
|
|
26
|
+
num = value.value;
|
|
27
|
+
}
|
|
28
|
+
if (isNaN(num) || Math.abs(num) === Infinity) {
|
|
29
|
+
throw new TypeError("Epoch timestamps must be valid finite numbers.");
|
|
30
|
+
}
|
|
31
|
+
return new Date(Math.round(num * 1000));
|
|
32
|
+
};
|
|
33
|
+
export const _parseRfc3339DateTimeWithOffset = (value) => {
|
|
34
|
+
if (value == null) {
|
|
35
|
+
return void 0;
|
|
36
|
+
}
|
|
37
|
+
if (typeof value !== "string") {
|
|
38
|
+
throw new TypeError("RFC3339 timestamps must be strings");
|
|
39
|
+
}
|
|
40
|
+
const matches = RFC3339_WITH_OFFSET.exec(value);
|
|
41
|
+
if (!matches) {
|
|
42
|
+
throw new TypeError(`Invalid RFC3339 timestamp format ${value}`);
|
|
43
|
+
}
|
|
44
|
+
const [, yearStr, monthStr, dayStr, hours, minutes, seconds, , ms, offsetStr] = matches;
|
|
45
|
+
range(monthStr, 1, 12);
|
|
46
|
+
range(dayStr, 1, 31);
|
|
47
|
+
range(hours, 0, 23);
|
|
48
|
+
range(minutes, 0, 59);
|
|
49
|
+
range(seconds, 0, 60);
|
|
50
|
+
const date = new Date();
|
|
51
|
+
date.setUTCFullYear(Number(yearStr), Number(monthStr) - 1, Number(dayStr));
|
|
52
|
+
date.setUTCHours(Number(hours));
|
|
53
|
+
date.setUTCMinutes(Number(minutes));
|
|
54
|
+
date.setUTCSeconds(Number(seconds));
|
|
55
|
+
date.setUTCMilliseconds(Number(ms) ? Math.round(parseFloat(`0.${ms}`) * 1000) : 0);
|
|
56
|
+
if (offsetStr.toUpperCase() != "Z") {
|
|
57
|
+
const [, sign, offsetH, offsetM] = /([+-])(\d\d):(\d\d)/.exec(offsetStr) || [void 0, "+", 0, 0];
|
|
58
|
+
const scalar = sign === "-" ? 1 : -1;
|
|
59
|
+
date.setTime(date.getTime() + scalar * (Number(offsetH) * 60 * 60 * 1000 + Number(offsetM) * 60 * 1000));
|
|
60
|
+
}
|
|
61
|
+
return date;
|
|
62
|
+
};
|
|
63
|
+
export const _parseRfc7231DateTime = (value) => {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return void 0;
|
|
66
|
+
}
|
|
67
|
+
if (typeof value !== "string") {
|
|
68
|
+
throw new TypeError("RFC7231 timestamps must be strings.");
|
|
69
|
+
}
|
|
70
|
+
let day;
|
|
71
|
+
let month;
|
|
72
|
+
let year;
|
|
73
|
+
let hour;
|
|
74
|
+
let minute;
|
|
75
|
+
let second;
|
|
76
|
+
let fraction;
|
|
77
|
+
let matches;
|
|
78
|
+
if ((matches = IMF_FIXDATE.exec(value))) {
|
|
79
|
+
[, day, month, year, hour, minute, second, fraction] = matches;
|
|
80
|
+
}
|
|
81
|
+
else if ((matches = RFC_850_DATE.exec(value))) {
|
|
82
|
+
[, day, month, year, hour, minute, second, fraction] = matches;
|
|
83
|
+
year = (Number(year) + 1900).toString();
|
|
84
|
+
}
|
|
85
|
+
else if ((matches = ASC_TIME.exec(value))) {
|
|
86
|
+
[, month, day, hour, minute, second, fraction, year] = matches;
|
|
87
|
+
}
|
|
88
|
+
if (year && second) {
|
|
89
|
+
const date = new Date();
|
|
90
|
+
date.setUTCFullYear(Number(year));
|
|
91
|
+
date.setUTCMonth(months.indexOf(month));
|
|
92
|
+
range(day, 1, 31);
|
|
93
|
+
date.setUTCDate(Number(day));
|
|
94
|
+
range(hour, 0, 23);
|
|
95
|
+
date.setUTCHours(Number(hour));
|
|
96
|
+
range(minute, 0, 59);
|
|
97
|
+
date.setUTCMinutes(Number(minute));
|
|
98
|
+
range(second, 0, 60);
|
|
99
|
+
date.setUTCSeconds(Number(second));
|
|
100
|
+
date.setUTCMilliseconds(fraction ? Math.round(parseFloat(`0.${fraction}`) * 1000) : 0);
|
|
101
|
+
return date;
|
|
102
|
+
}
|
|
103
|
+
throw new TypeError(`Invalid RFC7231 date-time value ${value}.`);
|
|
104
|
+
};
|
|
105
|
+
function range(v, min, max) {
|
|
106
|
+
const _v = Number(v);
|
|
107
|
+
if (_v < min || _v > max) {
|
|
108
|
+
throw new Error(`Value ${_v} out of range [${min}, ${max}]`);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
@@ -1,25 +1,12 @@
|
|
|
1
|
+
const format = /^-?\d*(\.\d+)?$/;
|
|
1
2
|
export class NumericValue {
|
|
2
3
|
string;
|
|
3
4
|
type;
|
|
4
5
|
constructor(string, type) {
|
|
5
6
|
this.string = string;
|
|
6
7
|
this.type = type;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
const char = string.charCodeAt(i);
|
|
10
|
-
if (i === 0 && char === 45) {
|
|
11
|
-
continue;
|
|
12
|
-
}
|
|
13
|
-
if (char === 46) {
|
|
14
|
-
if (dot) {
|
|
15
|
-
throw new Error("@smithy/core/serde - NumericValue must contain at most one decimal point.");
|
|
16
|
-
}
|
|
17
|
-
dot = 1;
|
|
18
|
-
continue;
|
|
19
|
-
}
|
|
20
|
-
if (char < 48 || char > 57) {
|
|
21
|
-
throw new Error(`@smithy/core/serde - NumericValue must only contain [0-9], at most one decimal point ".", and an optional negation prefix "-".`);
|
|
22
|
-
}
|
|
8
|
+
if (!format.test(string)) {
|
|
9
|
+
throw new Error(`@smithy/core/serde - NumericValue must only contain [0-9], at most one decimal point ".", and an optional negation prefix "-".`);
|
|
23
10
|
}
|
|
24
11
|
}
|
|
25
12
|
toString() {
|
|
@@ -30,16 +17,7 @@ export class NumericValue {
|
|
|
30
17
|
return false;
|
|
31
18
|
}
|
|
32
19
|
const _nv = object;
|
|
33
|
-
|
|
34
|
-
if (prototypeMatch) {
|
|
35
|
-
return prototypeMatch;
|
|
36
|
-
}
|
|
37
|
-
if (typeof _nv.string === "string" &&
|
|
38
|
-
typeof _nv.type === "string" &&
|
|
39
|
-
_nv.constructor?.name?.endsWith("NumericValue")) {
|
|
40
|
-
return true;
|
|
41
|
-
}
|
|
42
|
-
return prototypeMatch;
|
|
20
|
+
return NumericValue.prototype.isPrototypeOf(object) || (_nv.type === "bigDecimal" && format.test(_nv.string));
|
|
43
21
|
}
|
|
44
22
|
}
|
|
45
23
|
export function nv(input) {
|
|
@@ -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 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
|
+
}
|