@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
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { UserAgent } from "@smithy/types";
|
|
2
|
+
import type { DefaultUserAgentOptions } from "./configurations";
|
|
3
|
+
import type { PreviouslyResolved } from "./index";
|
|
4
|
+
/**
|
|
5
|
+
* This is an alternative to the default user agent provider that uses the bowser
|
|
6
|
+
* library to parse the user agent string.
|
|
7
|
+
*
|
|
8
|
+
* Use this with your client's `defaultUserAgentProvider` constructor object field
|
|
9
|
+
* to use the legacy behavior.
|
|
10
|
+
*
|
|
11
|
+
* @deprecated use the default provider unless you need the older UA-parsing functionality.
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export declare const createUserAgentStringParsingProvider: ({ serviceId, clientVersion }: DefaultUserAgentOptions) => ((config?: PreviouslyResolved) => Promise<UserAgent>);
|
|
@@ -1,15 +1,25 @@
|
|
|
1
1
|
import { Provider, UserAgent } from "@smithy/types";
|
|
2
|
-
import { DefaultUserAgentOptions } from "./configurations";
|
|
2
|
+
import type { DefaultUserAgentOptions } from "./configurations";
|
|
3
|
+
export { createUserAgentStringParsingProvider } from "./createUserAgentStringParsingProvider";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
3
7
|
export interface PreviouslyResolved {
|
|
4
8
|
userAgentAppId: Provider<string | undefined>;
|
|
5
9
|
}
|
|
6
10
|
/**
|
|
11
|
+
* Default provider of the AWS SDK user agent string in react-native.
|
|
7
12
|
* @internal
|
|
8
|
-
*
|
|
9
|
-
* Default provider to the user agent in browsers. It's a best effort to infer
|
|
10
|
-
* the device information. It uses bowser library to detect the browser and version
|
|
11
13
|
*/
|
|
12
14
|
export declare const createDefaultUserAgentProvider: ({ serviceId, clientVersion }: DefaultUserAgentOptions) => ((config?: PreviouslyResolved) => Promise<UserAgent>);
|
|
15
|
+
/**
|
|
16
|
+
* Rudimentary UA string parsing as a fallback.
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
export declare const fallback: {
|
|
20
|
+
os(ua: string): string | undefined;
|
|
21
|
+
browser(ua: string): string | undefined;
|
|
22
|
+
};
|
|
13
23
|
/**
|
|
14
24
|
* @internal
|
|
15
25
|
* @deprecated use createDefaultUserAgentProvider
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { Provider, UserAgent } from "@smithy/types";
|
|
2
2
|
import { DefaultUserAgentOptions } from "./configurations";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
3
6
|
export interface PreviouslyResolved {
|
|
4
7
|
userAgentAppId: Provider<string | undefined>;
|
|
5
8
|
}
|
|
6
9
|
/**
|
|
10
|
+
* Default provider to the user agent in ReactNative.
|
|
7
11
|
* @internal
|
|
8
|
-
*
|
|
9
|
-
* Default provider to the user agent in ReactNative. It's a best effort to infer
|
|
10
|
-
* the device information. It uses bowser library to detect the browser and virsion
|
|
11
12
|
*/
|
|
12
13
|
export declare const createDefaultUserAgentProvider: ({ serviceId, clientVersion }: DefaultUserAgentOptions) => ((config?: PreviouslyResolved) => Promise<UserAgent>);
|
|
13
14
|
/**
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { UserAgent } from "@smithy/types";
|
|
2
|
+
import { DefaultUserAgentOptions } from "./configurations";
|
|
3
|
+
import { PreviouslyResolved } from "./index";
|
|
4
|
+
export declare const createUserAgentStringParsingProvider: ({
|
|
5
|
+
serviceId,
|
|
6
|
+
clientVersion,
|
|
7
|
+
}: DefaultUserAgentOptions) => (
|
|
8
|
+
config?: PreviouslyResolved
|
|
9
|
+
) => Promise<UserAgent>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Provider, UserAgent } from "@smithy/types";
|
|
2
2
|
import { DefaultUserAgentOptions } from "./configurations";
|
|
3
|
+
export { createUserAgentStringParsingProvider } from "./createUserAgentStringParsingProvider";
|
|
3
4
|
export interface PreviouslyResolved {
|
|
4
5
|
userAgentAppId: Provider<string | undefined>;
|
|
5
6
|
}
|
|
@@ -9,6 +10,10 @@ export declare const createDefaultUserAgentProvider: ({
|
|
|
9
10
|
}: DefaultUserAgentOptions) => (
|
|
10
11
|
config?: PreviouslyResolved
|
|
11
12
|
) => Promise<UserAgent>;
|
|
13
|
+
export declare const fallback: {
|
|
14
|
+
os(ua: string): string | undefined;
|
|
15
|
+
browser(ua: string): string | undefined;
|
|
16
|
+
};
|
|
12
17
|
export declare const defaultUserAgent: ({
|
|
13
18
|
serviceId,
|
|
14
19
|
clientVersion,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-browser",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.907.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline util-user-agent-browser",
|
|
@@ -1,102 +1,58 @@
|
|
|
1
|
-
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all)
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
-
};
|
|
11
|
-
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
-
for (let key of __getOwnPropNames(from))
|
|
14
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
-
}
|
|
17
|
-
return to;
|
|
18
|
-
};
|
|
19
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
-
|
|
21
|
-
// src/index.ts
|
|
22
|
-
var index_exports = {};
|
|
23
|
-
__export(index_exports, {
|
|
24
|
-
NODE_APP_ID_CONFIG_OPTIONS: () => NODE_APP_ID_CONFIG_OPTIONS,
|
|
25
|
-
UA_APP_ID_ENV_NAME: () => UA_APP_ID_ENV_NAME,
|
|
26
|
-
UA_APP_ID_INI_NAME: () => UA_APP_ID_INI_NAME,
|
|
27
|
-
createDefaultUserAgentProvider: () => createDefaultUserAgentProvider,
|
|
28
|
-
crtAvailability: () => crtAvailability,
|
|
29
|
-
defaultUserAgent: () => defaultUserAgent
|
|
30
|
-
});
|
|
31
|
-
module.exports = __toCommonJS(index_exports);
|
|
1
|
+
'use strict';
|
|
32
2
|
|
|
33
|
-
|
|
34
|
-
var
|
|
35
|
-
var
|
|
3
|
+
var os = require('os');
|
|
4
|
+
var process = require('process');
|
|
5
|
+
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
36
6
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
isCrtAvailable: false
|
|
7
|
+
const crtAvailability = {
|
|
8
|
+
isCrtAvailable: false,
|
|
40
9
|
};
|
|
41
10
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
return ["md/crt-avail"];
|
|
46
|
-
}
|
|
47
|
-
return null;
|
|
48
|
-
}, "isCrtAvailable");
|
|
49
|
-
|
|
50
|
-
// src/defaultUserAgent.ts
|
|
51
|
-
var createDefaultUserAgentProvider = /* @__PURE__ */ __name(({ serviceId, clientVersion }) => {
|
|
52
|
-
return async (config) => {
|
|
53
|
-
const sections = [
|
|
54
|
-
// sdk-metadata
|
|
55
|
-
["aws-sdk-js", clientVersion],
|
|
56
|
-
// ua-metadata
|
|
57
|
-
["ua", "2.1"],
|
|
58
|
-
// os-metadata
|
|
59
|
-
[`os/${(0, import_os.platform)()}`, (0, import_os.release)()],
|
|
60
|
-
// language-metadata
|
|
61
|
-
// ECMAScript edition doesn't matter in JS, so no version needed.
|
|
62
|
-
["lang/js"],
|
|
63
|
-
["md/nodejs", `${import_process.versions.node}`]
|
|
64
|
-
];
|
|
65
|
-
const crtAvailable = isCrtAvailable();
|
|
66
|
-
if (crtAvailable) {
|
|
67
|
-
sections.push(crtAvailable);
|
|
68
|
-
}
|
|
69
|
-
if (serviceId) {
|
|
70
|
-
sections.push([`api/${serviceId}`, clientVersion]);
|
|
11
|
+
const isCrtAvailable = () => {
|
|
12
|
+
if (crtAvailability.isCrtAvailable) {
|
|
13
|
+
return ["md/crt-avail"];
|
|
71
14
|
}
|
|
72
|
-
|
|
73
|
-
sections.push([`exec-env/${import_process.env.AWS_EXECUTION_ENV}`]);
|
|
74
|
-
}
|
|
75
|
-
const appId = await config?.userAgentAppId?.();
|
|
76
|
-
const resolvedUserAgent = appId ? [...sections, [`app/${appId}`]] : [...sections];
|
|
77
|
-
return resolvedUserAgent;
|
|
78
|
-
};
|
|
79
|
-
}, "createDefaultUserAgentProvider");
|
|
80
|
-
var defaultUserAgent = createDefaultUserAgentProvider;
|
|
81
|
-
|
|
82
|
-
// src/nodeAppIdConfigOptions.ts
|
|
83
|
-
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
84
|
-
var UA_APP_ID_ENV_NAME = "AWS_SDK_UA_APP_ID";
|
|
85
|
-
var UA_APP_ID_INI_NAME = "sdk_ua_app_id";
|
|
86
|
-
var UA_APP_ID_INI_NAME_DEPRECATED = "sdk-ua-app-id";
|
|
87
|
-
var NODE_APP_ID_CONFIG_OPTIONS = {
|
|
88
|
-
environmentVariableSelector: /* @__PURE__ */ __name((env2) => env2[UA_APP_ID_ENV_NAME], "environmentVariableSelector"),
|
|
89
|
-
configFileSelector: /* @__PURE__ */ __name((profile) => profile[UA_APP_ID_INI_NAME] ?? profile[UA_APP_ID_INI_NAME_DEPRECATED], "configFileSelector"),
|
|
90
|
-
default: import_middleware_user_agent.DEFAULT_UA_APP_ID
|
|
15
|
+
return null;
|
|
91
16
|
};
|
|
92
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
93
17
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
}
|
|
18
|
+
const createDefaultUserAgentProvider = ({ serviceId, clientVersion }) => {
|
|
19
|
+
return async (config) => {
|
|
20
|
+
const sections = [
|
|
21
|
+
["aws-sdk-js", clientVersion],
|
|
22
|
+
["ua", "2.1"],
|
|
23
|
+
[`os/${os.platform()}`, os.release()],
|
|
24
|
+
["lang/js"],
|
|
25
|
+
["md/nodejs", `${process.versions.node}`],
|
|
26
|
+
];
|
|
27
|
+
const crtAvailable = isCrtAvailable();
|
|
28
|
+
if (crtAvailable) {
|
|
29
|
+
sections.push(crtAvailable);
|
|
30
|
+
}
|
|
31
|
+
if (serviceId) {
|
|
32
|
+
sections.push([`api/${serviceId}`, clientVersion]);
|
|
33
|
+
}
|
|
34
|
+
if (process.env.AWS_EXECUTION_ENV) {
|
|
35
|
+
sections.push([`exec-env/${process.env.AWS_EXECUTION_ENV}`]);
|
|
36
|
+
}
|
|
37
|
+
const appId = await config?.userAgentAppId?.();
|
|
38
|
+
const resolvedUserAgent = appId ? [...sections, [`app/${appId}`]] : [...sections];
|
|
39
|
+
return resolvedUserAgent;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
const defaultUserAgent = createDefaultUserAgentProvider;
|
|
43
|
+
|
|
44
|
+
const UA_APP_ID_ENV_NAME = "AWS_SDK_UA_APP_ID";
|
|
45
|
+
const UA_APP_ID_INI_NAME = "sdk_ua_app_id";
|
|
46
|
+
const UA_APP_ID_INI_NAME_DEPRECATED = "sdk-ua-app-id";
|
|
47
|
+
const NODE_APP_ID_CONFIG_OPTIONS = {
|
|
48
|
+
environmentVariableSelector: (env) => env[UA_APP_ID_ENV_NAME],
|
|
49
|
+
configFileSelector: (profile) => profile[UA_APP_ID_INI_NAME] ?? profile[UA_APP_ID_INI_NAME_DEPRECATED],
|
|
50
|
+
default: middlewareUserAgent.DEFAULT_UA_APP_ID,
|
|
51
|
+
};
|
|
102
52
|
|
|
53
|
+
exports.NODE_APP_ID_CONFIG_OPTIONS = NODE_APP_ID_CONFIG_OPTIONS;
|
|
54
|
+
exports.UA_APP_ID_ENV_NAME = UA_APP_ID_ENV_NAME;
|
|
55
|
+
exports.UA_APP_ID_INI_NAME = UA_APP_ID_INI_NAME;
|
|
56
|
+
exports.createDefaultUserAgentProvider = createDefaultUserAgentProvider;
|
|
57
|
+
exports.crtAvailability = crtAvailability;
|
|
58
|
+
exports.defaultUserAgent = defaultUserAgent;
|
|
@@ -1,23 +1,28 @@
|
|
|
1
1
|
import { Provider, UserAgent } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
2
5
|
export { crtAvailability } from "./crt-availability";
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
3
9
|
export interface DefaultUserAgentOptions {
|
|
4
10
|
serviceId?: string;
|
|
5
11
|
clientVersion: string;
|
|
6
12
|
}
|
|
13
|
+
/**
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
7
16
|
export interface PreviouslyResolved {
|
|
8
17
|
userAgentAppId: Provider<string | undefined>;
|
|
9
18
|
}
|
|
10
19
|
/**
|
|
11
|
-
* @internal
|
|
12
|
-
*
|
|
13
20
|
* Collect metrics from runtime to put into user agent.
|
|
21
|
+
* @internal
|
|
14
22
|
*/
|
|
15
23
|
export declare const createDefaultUserAgentProvider: ({ serviceId, clientVersion }: DefaultUserAgentOptions) => (config?: PreviouslyResolved) => Promise<UserAgent>;
|
|
16
24
|
/**
|
|
17
|
-
*
|
|
18
25
|
* @internal
|
|
19
|
-
*
|
|
20
26
|
* @deprecated use createDefaultUserAgentProvider
|
|
21
|
-
*
|
|
22
27
|
*/
|
|
23
28
|
export declare const defaultUserAgent: ({ serviceId, clientVersion }: DefaultUserAgentOptions) => (config?: PreviouslyResolved) => Promise<UserAgent>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.908.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline util-user-agent-node",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
25
|
+
"@aws-sdk/middleware-user-agent": "3.908.0",
|
|
26
26
|
"@aws-sdk/types": "3.901.0",
|
|
27
27
|
"@smithy/node-config-provider": "^4.3.0",
|
|
28
28
|
"@smithy/types": "^4.6.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/chunked-blob-reader-native",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.1",
|
|
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 chunked-blob-reader-native",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/util-base64": "^4.
|
|
27
|
+
"@smithy/util-base64": "^4.3.0",
|
|
28
28
|
"tslib": "^2.6.2"
|
|
29
29
|
},
|
|
30
30
|
"typesVersions": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/config-resolver",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.1",
|
|
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 config-resolver",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@smithy/node-config-provider": "^4.3.
|
|
29
|
-
"@smithy/types": "^4.
|
|
28
|
+
"@smithy/node-config-provider": "^4.3.1",
|
|
29
|
+
"@smithy/types": "^4.7.0",
|
|
30
30
|
"@smithy/util-config-provider": "^4.2.0",
|
|
31
|
-
"@smithy/util-middleware": "^4.2.
|
|
31
|
+
"@smithy/util-middleware": "^4.2.1",
|
|
32
32
|
"tslib": "^2.6.2"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
@@ -780,8 +780,7 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
780
780
|
return new protocolHttp.HttpRequest(contents);
|
|
781
781
|
};
|
|
782
782
|
|
|
783
|
-
class CborCodec {
|
|
784
|
-
serdeContext;
|
|
783
|
+
class CborCodec extends protocols.SerdeContext {
|
|
785
784
|
createSerializer() {
|
|
786
785
|
const serializer = new CborShapeSerializer();
|
|
787
786
|
serializer.setSerdeContext(this.serdeContext);
|
|
@@ -792,16 +791,9 @@ class CborCodec {
|
|
|
792
791
|
deserializer.setSerdeContext(this.serdeContext);
|
|
793
792
|
return deserializer;
|
|
794
793
|
}
|
|
795
|
-
setSerdeContext(serdeContext) {
|
|
796
|
-
this.serdeContext = serdeContext;
|
|
797
|
-
}
|
|
798
794
|
}
|
|
799
|
-
class CborShapeSerializer {
|
|
800
|
-
serdeContext;
|
|
795
|
+
class CborShapeSerializer extends protocols.SerdeContext {
|
|
801
796
|
value;
|
|
802
|
-
setSerdeContext(serdeContext) {
|
|
803
|
-
this.serdeContext = serdeContext;
|
|
804
|
-
}
|
|
805
797
|
write(schema, value) {
|
|
806
798
|
this.value = this.serialize(schema, value);
|
|
807
799
|
}
|
|
@@ -875,11 +867,7 @@ class CborShapeSerializer {
|
|
|
875
867
|
return buffer;
|
|
876
868
|
}
|
|
877
869
|
}
|
|
878
|
-
class CborShapeDeserializer {
|
|
879
|
-
serdeContext;
|
|
880
|
-
setSerdeContext(serdeContext) {
|
|
881
|
-
this.serdeContext = serdeContext;
|
|
882
|
-
}
|
|
870
|
+
class CborShapeDeserializer extends protocols.SerdeContext {
|
|
883
871
|
read(schema, bytes) {
|
|
884
872
|
const data = cbor.deserialize(bytes);
|
|
885
873
|
return this.readValue(schema, data);
|
|
@@ -887,7 +875,7 @@ class CborShapeDeserializer {
|
|
|
887
875
|
readValue(_schema, value) {
|
|
888
876
|
const ns = schema.NormalizedSchema.of(_schema);
|
|
889
877
|
if (ns.isTimestampSchema() && typeof value === "number") {
|
|
890
|
-
return serde.
|
|
878
|
+
return serde._parseEpochTimestamp(value);
|
|
891
879
|
}
|
|
892
880
|
if (ns.isBlobSchema()) {
|
|
893
881
|
if (typeof value === "string") {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var schema = require('@smithy/core/schema');
|
|
4
3
|
var utilUtf8 = require('@smithy/util-utf8');
|
|
5
4
|
|
|
6
5
|
class EventStreamSerde {
|
|
@@ -131,12 +130,15 @@ class EventStreamSerde {
|
|
|
131
130
|
let eventType = unionMember;
|
|
132
131
|
let explicitPayloadMember = null;
|
|
133
132
|
let explicitPayloadContentType;
|
|
134
|
-
const isKnownSchema =
|
|
133
|
+
const isKnownSchema = (() => {
|
|
134
|
+
const struct = unionSchema.getSchema();
|
|
135
|
+
return struct.memberNames.includes(unionMember);
|
|
136
|
+
})();
|
|
135
137
|
const additionalHeaders = {};
|
|
136
138
|
if (!isKnownSchema) {
|
|
137
139
|
const [type, value] = event[unionMember];
|
|
138
140
|
eventType = type;
|
|
139
|
-
serializer.write(
|
|
141
|
+
serializer.write(15, value);
|
|
140
142
|
}
|
|
141
143
|
else {
|
|
142
144
|
const eventSchema = unionSchema.getMemberSchema(unionMember);
|
|
@@ -24,10 +24,17 @@ function extendedEncodeURIComponent(str) {
|
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
class
|
|
28
|
-
options;
|
|
27
|
+
class SerdeContext {
|
|
29
28
|
serdeContext;
|
|
29
|
+
setSerdeContext(serdeContext) {
|
|
30
|
+
this.serdeContext = serdeContext;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
class HttpProtocol extends SerdeContext {
|
|
35
|
+
options;
|
|
30
36
|
constructor(options) {
|
|
37
|
+
super();
|
|
31
38
|
this.options = options;
|
|
32
39
|
}
|
|
33
40
|
getRequestType() {
|
|
@@ -53,10 +60,10 @@ class HttpProtocol {
|
|
|
53
60
|
request.fragment = endpoint.url.hash || void 0;
|
|
54
61
|
request.username = endpoint.url.username || void 0;
|
|
55
62
|
request.password = endpoint.url.password || void 0;
|
|
63
|
+
if (!request.query) {
|
|
64
|
+
request.query = {};
|
|
65
|
+
}
|
|
56
66
|
for (const [k, v] of endpoint.url.searchParams.entries()) {
|
|
57
|
-
if (!request.query) {
|
|
58
|
-
request.query = {};
|
|
59
|
-
}
|
|
60
67
|
request.query[k] = v;
|
|
61
68
|
}
|
|
62
69
|
return request;
|
|
@@ -165,7 +172,7 @@ class HttpBindingProtocol extends HttpProtocol {
|
|
|
165
172
|
if (endpoint) {
|
|
166
173
|
this.updateServiceEndpoint(request, endpoint);
|
|
167
174
|
this.setHostPrefix(request, operationSchema, input);
|
|
168
|
-
const opTraits = schema.
|
|
175
|
+
const opTraits = schema.translateTraits(operationSchema.traits);
|
|
169
176
|
if (opTraits.http) {
|
|
170
177
|
request.method = opTraits.http[0];
|
|
171
178
|
const [path, search] = opTraits.http[1].split("?");
|
|
@@ -289,7 +296,7 @@ class HttpBindingProtocol extends HttpProtocol {
|
|
|
289
296
|
if (response.statusCode >= 300) {
|
|
290
297
|
const bytes = await collectBody(response.body, context);
|
|
291
298
|
if (bytes.byteLength > 0) {
|
|
292
|
-
Object.assign(dataObject, await deserializer.read(
|
|
299
|
+
Object.assign(dataObject, await deserializer.read(15, bytes));
|
|
293
300
|
}
|
|
294
301
|
await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response));
|
|
295
302
|
throw new Error("@smithy/core/protocols - HTTP Protocol error handler failed to throw.");
|
|
@@ -355,7 +362,7 @@ class HttpBindingProtocol extends HttpProtocol {
|
|
|
355
362
|
headerListValueSchema.getMergedTraits().httpHeader = key;
|
|
356
363
|
let sections;
|
|
357
364
|
if (headerListValueSchema.isTimestampSchema() &&
|
|
358
|
-
headerListValueSchema.getSchema() ===
|
|
365
|
+
headerListValueSchema.getSchema() === 4) {
|
|
359
366
|
sections = serde.splitEvery(value, ",", 2);
|
|
360
367
|
}
|
|
361
368
|
else {
|
|
@@ -455,7 +462,7 @@ class RpcProtocol extends HttpProtocol {
|
|
|
455
462
|
if (response.statusCode >= 300) {
|
|
456
463
|
const bytes = await collectBody(response.body, context);
|
|
457
464
|
if (bytes.byteLength > 0) {
|
|
458
|
-
Object.assign(dataObject, await deserializer.read(
|
|
465
|
+
Object.assign(dataObject, await deserializer.read(15, bytes));
|
|
459
466
|
}
|
|
460
467
|
await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response));
|
|
461
468
|
throw new Error("@smithy/core/protocols - RPC Protocol error handler failed to throw.");
|
|
@@ -574,32 +581,29 @@ class RequestBuilder {
|
|
|
574
581
|
function determineTimestampFormat(ns, settings) {
|
|
575
582
|
if (settings.timestampFormat.useTrait) {
|
|
576
583
|
if (ns.isTimestampSchema() &&
|
|
577
|
-
(ns.getSchema() ===
|
|
578
|
-
ns.getSchema() ===
|
|
579
|
-
ns.getSchema() ===
|
|
584
|
+
(ns.getSchema() === 5 ||
|
|
585
|
+
ns.getSchema() === 6 ||
|
|
586
|
+
ns.getSchema() === 7)) {
|
|
580
587
|
return ns.getSchema();
|
|
581
588
|
}
|
|
582
589
|
}
|
|
583
590
|
const { httpLabel, httpPrefixHeaders, httpHeader, httpQuery } = ns.getMergedTraits();
|
|
584
591
|
const bindingFormat = settings.httpBindings
|
|
585
592
|
? typeof httpPrefixHeaders === "string" || Boolean(httpHeader)
|
|
586
|
-
?
|
|
593
|
+
? 6
|
|
587
594
|
: Boolean(httpQuery) || Boolean(httpLabel)
|
|
588
|
-
?
|
|
595
|
+
? 5
|
|
589
596
|
: undefined
|
|
590
597
|
: undefined;
|
|
591
598
|
return bindingFormat ?? settings.timestampFormat.default;
|
|
592
599
|
}
|
|
593
600
|
|
|
594
|
-
class FromStringShapeDeserializer {
|
|
601
|
+
class FromStringShapeDeserializer extends SerdeContext {
|
|
595
602
|
settings;
|
|
596
|
-
serdeContext;
|
|
597
603
|
constructor(settings) {
|
|
604
|
+
super();
|
|
598
605
|
this.settings = settings;
|
|
599
606
|
}
|
|
600
|
-
setSerdeContext(serdeContext) {
|
|
601
|
-
this.serdeContext = serdeContext;
|
|
602
|
-
}
|
|
603
607
|
read(_schema, data) {
|
|
604
608
|
const ns = schema.NormalizedSchema.of(_schema);
|
|
605
609
|
if (ns.isListSchema()) {
|
|
@@ -611,12 +615,12 @@ class FromStringShapeDeserializer {
|
|
|
611
615
|
if (ns.isTimestampSchema()) {
|
|
612
616
|
const format = determineTimestampFormat(ns, this.settings);
|
|
613
617
|
switch (format) {
|
|
614
|
-
case
|
|
615
|
-
return serde.
|
|
616
|
-
case
|
|
617
|
-
return serde.
|
|
618
|
-
case
|
|
619
|
-
return serde.
|
|
618
|
+
case 5:
|
|
619
|
+
return serde._parseRfc3339DateTimeWithOffset(data);
|
|
620
|
+
case 6:
|
|
621
|
+
return serde._parseRfc7231DateTime(data);
|
|
622
|
+
case 7:
|
|
623
|
+
return serde._parseEpochTimestamp(data);
|
|
620
624
|
default:
|
|
621
625
|
console.warn("Missing timestamp format, parsing value with Date constructor:", data);
|
|
622
626
|
return new Date(data);
|
|
@@ -636,15 +640,17 @@ class FromStringShapeDeserializer {
|
|
|
636
640
|
return intermediateValue;
|
|
637
641
|
}
|
|
638
642
|
}
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
643
|
+
if (ns.isNumericSchema()) {
|
|
644
|
+
return Number(data);
|
|
645
|
+
}
|
|
646
|
+
if (ns.isBigIntegerSchema()) {
|
|
647
|
+
return BigInt(data);
|
|
648
|
+
}
|
|
649
|
+
if (ns.isBigDecimalSchema()) {
|
|
650
|
+
return new serde.NumericValue(data, "bigDecimal");
|
|
651
|
+
}
|
|
652
|
+
if (ns.isBooleanSchema()) {
|
|
653
|
+
return String(data).toLowerCase() === "true";
|
|
648
654
|
}
|
|
649
655
|
return data;
|
|
650
656
|
}
|
|
@@ -653,11 +659,11 @@ class FromStringShapeDeserializer {
|
|
|
653
659
|
}
|
|
654
660
|
}
|
|
655
661
|
|
|
656
|
-
class HttpInterceptingShapeDeserializer {
|
|
662
|
+
class HttpInterceptingShapeDeserializer extends SerdeContext {
|
|
657
663
|
codecDeserializer;
|
|
658
664
|
stringDeserializer;
|
|
659
|
-
serdeContext;
|
|
660
665
|
constructor(codecDeserializer, codecSettings) {
|
|
666
|
+
super();
|
|
661
667
|
this.codecDeserializer = codecDeserializer;
|
|
662
668
|
this.stringDeserializer = new FromStringShapeDeserializer(codecSettings);
|
|
663
669
|
}
|
|
@@ -692,16 +698,13 @@ class HttpInterceptingShapeDeserializer {
|
|
|
692
698
|
}
|
|
693
699
|
}
|
|
694
700
|
|
|
695
|
-
class ToStringShapeSerializer {
|
|
701
|
+
class ToStringShapeSerializer extends SerdeContext {
|
|
696
702
|
settings;
|
|
697
703
|
stringBuffer = "";
|
|
698
|
-
serdeContext = undefined;
|
|
699
704
|
constructor(settings) {
|
|
705
|
+
super();
|
|
700
706
|
this.settings = settings;
|
|
701
707
|
}
|
|
702
|
-
setSerdeContext(serdeContext) {
|
|
703
|
-
this.serdeContext = serdeContext;
|
|
704
|
-
}
|
|
705
708
|
write(schema$1, value) {
|
|
706
709
|
const ns = schema.NormalizedSchema.of(schema$1);
|
|
707
710
|
switch (typeof value) {
|
|
@@ -716,13 +719,13 @@ class ToStringShapeSerializer {
|
|
|
716
719
|
}
|
|
717
720
|
const format = determineTimestampFormat(ns, this.settings);
|
|
718
721
|
switch (format) {
|
|
719
|
-
case
|
|
722
|
+
case 5:
|
|
720
723
|
this.stringBuffer = value.toISOString().replace(".000Z", "Z");
|
|
721
724
|
break;
|
|
722
|
-
case
|
|
725
|
+
case 6:
|
|
723
726
|
this.stringBuffer = serde.dateToUtcString(value);
|
|
724
727
|
break;
|
|
725
|
-
case
|
|
728
|
+
case 7:
|
|
726
729
|
this.stringBuffer = String(value.getTime() / 1000);
|
|
727
730
|
break;
|
|
728
731
|
default:
|
|
@@ -816,6 +819,7 @@ exports.HttpInterceptingShapeSerializer = HttpInterceptingShapeSerializer;
|
|
|
816
819
|
exports.HttpProtocol = HttpProtocol;
|
|
817
820
|
exports.RequestBuilder = RequestBuilder;
|
|
818
821
|
exports.RpcProtocol = RpcProtocol;
|
|
822
|
+
exports.SerdeContext = SerdeContext;
|
|
819
823
|
exports.ToStringShapeSerializer = ToStringShapeSerializer;
|
|
820
824
|
exports.collectBody = collectBody;
|
|
821
825
|
exports.determineTimestampFormat = determineTimestampFormat;
|