@mavogel/awscdk-rootmail 0.0.320 → 0.0.321
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 +3 -3
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +17 -17
- package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +3 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/models/models_0.js +3 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/AssociateVPCWithHostedZoneCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ChangeResourceRecordSetsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateHealthCheckCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateHostedZoneCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateVPCAssociationAuthorizationCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/DeleteVPCAssociationAuthorizationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/DisassociateVPCFromHostedZoneCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetHealthCheckCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetHostedZoneCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListHealthChecksCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListHostedZonesByVPCCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListResourceRecordSetsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListVPCAssociationAuthorizationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/UpdateHealthCheckCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-route-53/dist-types/models/models_0.d.ts +7 -4
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/node_modules/@aws-sdk/client-route-53/package.json +19 -19
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/package.json +32 -32
- package/node_modules/@aws-sdk/client-ses/package.json +17 -17
- package/node_modules/@aws-sdk/client-ssm/package.json +17 -17
- package/node_modules/@aws-sdk/client-sso/package.json +16 -16
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +366 -226
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +95 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.js +39 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/common.js +2 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_0Protocol.js +2 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_1Protocol.js +2 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +19 -29
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +10 -54
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +13 -34
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +11 -62
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +3 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +57 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +23 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +2 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +2 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +6 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +2 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsQueryProtocol.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +39 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +33 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +2 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +2 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +5 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +2 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +1 -0
- package/node_modules/@aws-sdk/core/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +3 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +3 -1
- package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js +3 -1
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-expect-continue/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-host-header/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-logger/dist-types/loggerMiddleware.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-sdk-route53/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +13 -9
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-middleware.js +15 -10
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +9 -9
- package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +6 -6
- package/node_modules/@aws-sdk/nested-clients/package.json +16 -16
- package/node_modules/@aws-sdk/region-config-resolver/package.json +1 -1
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
- package/node_modules/@aws-sdk/token-providers/package.json +5 -5
- package/node_modules/@aws-sdk/util-arn-parser/package.json +1 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +36 -33
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +36 -33
- package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +36 -33
- package/node_modules/@aws-sdk/util-endpoints/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +1 -1
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@aws-sdk/xml-builder/package.json +1 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/index.js +15 -15
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveCustomEndpointsConfig.d.ts +2 -2
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/utils/getEndpointFromRegion.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/regionConfig/config.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/regionConfig/resolveRegionConfig.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/EndpointVariant.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/PartitionHash.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/RegionHash.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getHostnameFromVariants.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getRegionInfo.d.ts +3 -3
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedPartition.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/LICENSE +201 -0
- package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/README.md +4 -0
- package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-cjs/booleanSelector.js +1 -0
- package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-cjs/index.js +60 -0
- package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-cjs/numberSelector.js +1 -0
- package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-cjs/types.js +1 -0
- package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-es/booleanSelector.js +9 -0
- package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-es/index.js +3 -0
- package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-es/numberSelector.js +9 -0
- package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-es/types.js +5 -0
- package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-types/booleanSelector.d.ts +10 -0
- package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-types/index.d.ts +3 -0
- package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-types/numberSelector.d.ts +9 -0
- package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-types/ts3.4/booleanSelector.d.ts +10 -0
- package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-types/ts3.4/index.d.ts +3 -0
- package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-types/ts3.4/numberSelector.d.ts +9 -0
- package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-types/ts3.4/types.d.ts +4 -0
- package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-types/types.d.ts +4 -0
- package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/package.json +63 -0
- package/node_modules/@smithy/config-resolver/package.json +6 -5
- package/node_modules/@smithy/core/dist-cjs/index.js +10 -11
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +47 -18
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +261 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +137 -42
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +28 -3
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +5 -5
- package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +0 -1
- package/node_modules/@smithy/core/dist-es/middleware-http-signing/httpSigningMiddleware.js +0 -1
- package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +36 -15
- package/node_modules/@smithy/core/dist-es/submodules/cbor/byte-printer.js +35 -1
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +200 -0
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +11 -26
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +36 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +36 -10
- package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +17 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +4 -2
- package/node_modules/@smithy/core/dist-types/getSmithyContext.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/getHttpAuthSchemePlugin.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/resolveAuthOptions.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/middleware-http-signing/getHttpSigningMiddleware.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/middleware-http-signing/httpSigningMiddleware.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/normalizeProvider.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +6 -2
- package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +2 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-decode.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts +60 -0
- package/node_modules/@smithy/core/dist-types/submodules/event-streams/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +39 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/collect-stream-body.d.ts +1 -1
- 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 +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/ToStringShapeSerializer.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/determineTimestampFormat.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/getSchemaSerdePlugin.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaSerializationMiddleware.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/sentinels.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/serde/copyDocumentWithTransform.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +5 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +60 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +39 -1
- 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/determineTimestampFormat.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/util-identity-and-auth/DefaultIdentityProviderConfig.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/noAuth.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/util-identity-and-auth/memoizeIdentityProvider.d.ts +1 -1
- package/node_modules/@smithy/core/event-streams.d.ts +7 -0
- package/node_modules/@smithy/core/event-streams.js +6 -0
- package/node_modules/@smithy/core/package.json +19 -9
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/fetch-http-handler/dist-types/create-request.d.ts +1 -1
- package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +3 -2
- package/node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts +1 -1
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +2 -1
- package/node_modules/@smithy/fetch-http-handler/package.json +9 -8
- package/node_modules/@smithy/hash-node/node_modules/@smithy/util-buffer-from/LICENSE +201 -0
- package/node_modules/@smithy/hash-node/node_modules/@smithy/util-buffer-from/README.md +10 -0
- package/node_modules/@smithy/hash-node/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +47 -0
- package/node_modules/@smithy/hash-node/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
- package/node_modules/@smithy/hash-node/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts +13 -0
- package/node_modules/@smithy/hash-node/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts +13 -0
- package/node_modules/@smithy/hash-node/node_modules/@smithy/util-buffer-from/package.json +61 -0
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +5 -5
- package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointFromInstructions.d.ts +3 -3
- package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointUrlConfig.d.ts +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/toEndpointV1.d.ts +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/endpointMiddleware.d.ts +3 -3
- package/node_modules/@smithy/middleware-endpoint/dist-types/getEndpointPlugin.d.ts +3 -3
- package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointRequiredConfig.d.ts +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/service-customizations/s3.d.ts +1 -1
- 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/getConfigData.js +1 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js +1 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js +1 -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/getProfileName.js +1 -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 +12 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js +1 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +206 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js +1 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js +1 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js +1 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js +1 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js +1 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +13 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js +1 -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 +8 -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 +8 -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 +9 -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/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 +46 -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 +8 -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 +5 -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 +46 -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 +8 -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 +5 -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 +9 -8
- package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +33 -47
- package/node_modules/@smithy/middleware-retry/dist-types/AdaptiveRetryStrategy.d.ts +4 -3
- package/node_modules/@smithy/middleware-retry/dist-types/StandardRetryStrategy.d.ts +2 -2
- package/node_modules/@smithy/middleware-retry/dist-types/configurations.d.ts +2 -2
- package/node_modules/@smithy/middleware-retry/dist-types/defaultRetryQuota.d.ts +1 -1
- package/node_modules/@smithy/middleware-retry/dist-types/omitRetryHeadersMiddleware.d.ts +1 -1
- package/node_modules/@smithy/middleware-retry/dist-types/retryDecider.d.ts +1 -1
- package/node_modules/@smithy/middleware-retry/dist-types/retryMiddleware.d.ts +2 -2
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts +2 -1
- package/node_modules/@smithy/middleware-retry/dist-types/types.d.ts +1 -1
- package/node_modules/@smithy/middleware-retry/dist-types/util.d.ts +1 -1
- package/node_modules/@smithy/middleware-retry/package.json +11 -10
- package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +5 -5
- package/node_modules/@smithy/middleware-serde/dist-types/deserializerMiddleware.d.ts +1 -1
- package/node_modules/@smithy/middleware-serde/dist-types/serdePlugin.d.ts +1 -1
- package/node_modules/@smithy/middleware-serde/dist-types/serializerMiddleware.d.ts +1 -1
- package/node_modules/@smithy/middleware-serde/package.json +6 -5
- package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +25 -30
- package/node_modules/@smithy/middleware-stack/dist-types/MiddlewareStack.d.ts +1 -1
- package/node_modules/@smithy/middleware-stack/dist-types/types.d.ts +1 -1
- package/node_modules/@smithy/middleware-stack/package.json +3 -2
- package/node_modules/@smithy/node-config-provider/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/node-config-provider/dist-types/configLoader.d.ts +4 -4
- package/node_modules/@smithy/node-config-provider/dist-types/fromEnv.d.ts +1 -1
- package/node_modules/@smithy/node-config-provider/dist-types/fromSharedConfigFiles.d.ts +2 -2
- package/node_modules/@smithy/node-config-provider/dist-types/fromStatic.d.ts +1 -1
- 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/CredentialsProviderError.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/chain.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/index.js +170 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/memoize.js +1 -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 +22 -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/getConfigData.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js +1 -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/getProfileName.js +1 -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 +12 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +206 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +13 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js +1 -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 +8 -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 +8 -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 +9 -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/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 +46 -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 +8 -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 +5 -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 +46 -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 +8 -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 +5 -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 +5 -4
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +5 -5
- package/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +3 -2
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +4 -4
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +3 -2
- package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +2 -1
- package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +4 -4
- package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +2 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +2 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +2 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +2 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +2 -1
- package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +3 -3
- 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/AbortController.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/AbortSignal.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/index.js +84 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/AbortController.js +9 -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 +6 -5
- package/node_modules/@smithy/protocol-http/dist-cjs/index.js +4 -5
- package/node_modules/@smithy/protocol-http/dist-types/Field.d.ts +2 -1
- package/node_modules/@smithy/protocol-http/dist-types/Fields.d.ts +2 -2
- package/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +1 -1
- package/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +2 -1
- package/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts +1 -1
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/Field.d.ts +2 -1
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +2 -1
- package/node_modules/@smithy/protocol-http/dist-types/types.d.ts +1 -1
- package/node_modules/@smithy/protocol-http/package.json +3 -2
- package/node_modules/@smithy/querystring-builder/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/querystring-builder/dist-types/index.d.ts +1 -1
- package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/LICENSE +201 -0
- package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/README.md +10 -0
- package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-cjs/escape-uri-path.js +1 -0
- package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-cjs/escape-uri.js +1 -0
- package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-cjs/index.js +43 -0
- package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-es/escape-uri-path.js +2 -0
- package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-es/escape-uri.js +2 -0
- package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-es/index.js +2 -0
- package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-types/escape-uri-path.d.ts +4 -0
- package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-types/escape-uri.d.ts +4 -0
- package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-types/index.d.ts +8 -0
- package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-types/ts3.4/escape-uri-path.d.ts +4 -0
- package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-types/ts3.4/escape-uri.d.ts +4 -0
- package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-types/ts3.4/index.d.ts +8 -0
- package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/package.json +60 -0
- package/node_modules/@smithy/querystring-builder/package.json +4 -3
- package/node_modules/@smithy/querystring-parser/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/querystring-parser/dist-types/index.d.ts +1 -1
- package/node_modules/@smithy/querystring-parser/package.json +3 -2
- package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/service-error-classification/dist-types/index.d.ts +1 -1
- package/node_modules/@smithy/service-error-classification/package.json +3 -2
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +55 -21
- package/node_modules/@smithy/smithy-client/dist-cjs/schemaLogFilter.js +1 -0
- package/node_modules/@smithy/smithy-client/dist-es/command.js +7 -4
- package/node_modules/@smithy/smithy-client/dist-es/schemaLogFilter.js +34 -0
- package/node_modules/@smithy/smithy-client/dist-types/NoOpLogger.d.ts +1 -1
- package/node_modules/@smithy/smithy-client/dist-types/client.d.ts +1 -1
- package/node_modules/@smithy/smithy-client/dist-types/create-aggregated-client.d.ts +1 -1
- package/node_modules/@smithy/smithy-client/dist-types/exceptions.d.ts +1 -1
- package/node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts +2 -2
- package/node_modules/@smithy/smithy-client/dist-types/extensions/retry.d.ts +1 -1
- package/node_modules/@smithy/smithy-client/dist-types/schemaLogFilter.d.ts +9 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/schemaLogFilter.d.ts +9 -0
- package/node_modules/@smithy/smithy-client/package.json +8 -7
- package/node_modules/@smithy/types/dist-cjs/index.js +7 -7
- package/node_modules/@smithy/types/dist-types/auth/HttpAuthScheme.d.ts +4 -4
- package/node_modules/@smithy/types/dist-types/auth/HttpAuthSchemeProvider.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/auth/HttpSigner.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/auth/IdentityProviderConfig.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/checksum.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/client.d.ts +4 -4
- package/node_modules/@smithy/types/dist-types/command.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/connection/manager.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/encode.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/endpoint.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/endpoints/EndpointRuleObject.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/endpoints/ErrorRuleObject.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/endpoints/RuleSetObject.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/endpoints/TreeRuleObject.d.ts +3 -3
- package/node_modules/@smithy/types/dist-types/endpoints/shared.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/eventStream.d.ts +3 -3
- package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/extensions/defaultClientConfiguration.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/extensions/defaultExtensionConfiguration.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/extensions/retry.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/http.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/identity/apiKeyIdentity.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/identity/awsCredentialIdentity.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/identity/tokenIdentity.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/retry.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +2 -0
- package/node_modules/@smithy/types/dist-types/serde.d.ts +4 -4
- package/node_modules/@smithy/types/dist-types/shapes.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/signature.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/stream.d.ts +3 -3
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +2 -0
- package/node_modules/@smithy/types/dist-types/uri.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/util.d.ts +3 -3
- package/node_modules/@smithy/types/dist-types/waiter.d.ts +1 -1
- package/node_modules/@smithy/types/package.json +2 -1
- package/node_modules/@smithy/url-parser/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/url-parser/dist-types/index.d.ts +1 -1
- package/node_modules/@smithy/url-parser/package.json +4 -3
- package/node_modules/@smithy/util-base64/dist-cjs/index.js +4 -4
- package/node_modules/@smithy/util-base64/dist-cjs/toBase64.browser.js +1 -2
- package/node_modules/@smithy/util-base64/package.json +7 -6
- package/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js +6 -9
- package/node_modules/@smithy/util-body-length-browser/package.json +5 -4
- package/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
- package/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/README.md +10 -0
- package/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +32 -0
- package/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
- package/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts +4 -0
- package/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts +4 -0
- package/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/package.json +61 -0
- package/node_modules/@smithy/util-buffer-from/package.json +6 -5
- package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js +3 -3
- 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/CredentialsProviderError.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/chain.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/index.js +170 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/memoize.js +1 -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 +22 -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 +5 -4
- package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +7 -7
- package/node_modules/@smithy/util-defaults-mode-node/dist-types/defaultsModeConfig.d.ts +1 -1
- 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/config/Endpoint.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointConfigOptions.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointMode.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointModeConfigOptions.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/error/InstanceMetadataV1FallbackError.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/fromContainerMetadata.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/fromInstanceMetadata.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +444 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/ImdsCredentials.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/RemoteProviderInit.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/httpRequest.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/index.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/retry.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/types.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getExtendedInstanceMetadataCredentials.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getInstanceMetadataEndpoint.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/staticStabilityProvider.js +1 -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 +9 -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/CredentialsProviderError.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/chain.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/index.js +170 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/memoize.js +1 -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 +22 -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 +8 -7
- package/node_modules/@smithy/util-middleware/dist-cjs/index.js +4 -5
- package/node_modules/@smithy/util-middleware/dist-types/getSmithyContext.d.ts +1 -1
- package/node_modules/@smithy/util-middleware/dist-types/normalizeProvider.d.ts +1 -1
- package/node_modules/@smithy/util-middleware/package.json +3 -2
- package/node_modules/@smithy/util-retry/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/util-retry/dist-types/AdaptiveRetryStrategy.d.ts +2 -2
- package/node_modules/@smithy/util-retry/dist-types/DefaultRateLimiter.d.ts +1 -1
- package/node_modules/@smithy/util-retry/dist-types/StandardRetryStrategy.d.ts +1 -1
- package/node_modules/@smithy/util-retry/dist-types/defaultRetryBackoffStrategy.d.ts +1 -1
- package/node_modules/@smithy/util-retry/dist-types/defaultRetryToken.d.ts +1 -1
- package/node_modules/@smithy/util-retry/package.json +4 -3
- package/node_modules/@smithy/util-stream/dist-cjs/index.js +11 -11
- package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.browser.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +3 -2
- package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.browser.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.d.ts +3 -3
- package/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.browser.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/headStream.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.browser.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +2 -1
- package/node_modules/@smithy/util-stream/node_modules/@smithy/util-hex-encoding/LICENSE +201 -0
- package/node_modules/@smithy/util-stream/node_modules/@smithy/util-hex-encoding/README.md +4 -0
- package/node_modules/@smithy/util-stream/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js +67 -0
- package/node_modules/@smithy/util-stream/node_modules/@smithy/util-hex-encoding/dist-es/index.js +33 -0
- package/node_modules/@smithy/util-stream/node_modules/@smithy/util-hex-encoding/dist-types/index.d.ts +12 -0
- package/node_modules/@smithy/util-stream/node_modules/@smithy/util-hex-encoding/dist-types/ts3.4/index.d.ts +12 -0
- package/node_modules/@smithy/util-stream/node_modules/@smithy/util-hex-encoding/package.json +61 -0
- package/node_modules/@smithy/util-stream/package.json +13 -12
- package/node_modules/@smithy/util-utf8/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/util-utf8/package.json +6 -5
- package/node_modules/cdk-nag/.jsii +4 -4
- package/node_modules/cdk-nag/README.md +1 -1
- package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
- package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
- package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
- package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
- package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
- package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
- package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
- package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
- package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
- package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
- package/node_modules/cdk-nag/lib/packs/serverless.js +1 -1
- package/node_modules/cdk-nag/package.json +4 -4
- package/package.json +1 -1
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// src/submodules/event-streams/index.ts
|
|
20
|
+
var index_exports = {};
|
|
21
|
+
__export(index_exports, {
|
|
22
|
+
EventStreamSerde: () => EventStreamSerde
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(index_exports);
|
|
25
|
+
|
|
26
|
+
// src/submodules/event-streams/EventStreamSerde.ts
|
|
27
|
+
var import_schema = require("@smithy/core/schema");
|
|
28
|
+
var import_util_utf8 = require("@smithy/util-utf8");
|
|
29
|
+
var EventStreamSerde = class {
|
|
30
|
+
/**
|
|
31
|
+
* Properties are injected by the HttpProtocol.
|
|
32
|
+
*/
|
|
33
|
+
constructor({
|
|
34
|
+
marshaller,
|
|
35
|
+
serializer,
|
|
36
|
+
deserializer,
|
|
37
|
+
serdeContext,
|
|
38
|
+
defaultContentType
|
|
39
|
+
}) {
|
|
40
|
+
this.marshaller = marshaller;
|
|
41
|
+
this.serializer = serializer;
|
|
42
|
+
this.deserializer = deserializer;
|
|
43
|
+
this.serdeContext = serdeContext;
|
|
44
|
+
this.defaultContentType = defaultContentType;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* @param eventStream - the iterable provided by the caller.
|
|
48
|
+
* @param requestSchema - the schema of the event stream container (struct).
|
|
49
|
+
* @param [initialRequest] - only provided if the initial-request is part of the event stream (RPC).
|
|
50
|
+
*
|
|
51
|
+
* @returns a stream suitable for the HTTP body of a request.
|
|
52
|
+
*/
|
|
53
|
+
async serializeEventStream({
|
|
54
|
+
eventStream,
|
|
55
|
+
requestSchema,
|
|
56
|
+
initialRequest
|
|
57
|
+
}) {
|
|
58
|
+
const marshaller = this.marshaller;
|
|
59
|
+
const eventStreamMember = requestSchema.getEventStreamMember();
|
|
60
|
+
const unionSchema = requestSchema.getMemberSchema(eventStreamMember);
|
|
61
|
+
const memberSchemas = unionSchema.getMemberSchemas();
|
|
62
|
+
const serializer = this.serializer;
|
|
63
|
+
const defaultContentType = this.defaultContentType;
|
|
64
|
+
const initialRequestMarker = Symbol("initialRequestMarker");
|
|
65
|
+
const eventStreamIterable = {
|
|
66
|
+
async *[Symbol.asyncIterator]() {
|
|
67
|
+
if (initialRequest) {
|
|
68
|
+
const headers = {
|
|
69
|
+
":event-type": { type: "string", value: "initial-request" },
|
|
70
|
+
":message-type": { type: "string", value: "event" },
|
|
71
|
+
":content-type": { type: "string", value: defaultContentType }
|
|
72
|
+
};
|
|
73
|
+
serializer.write(requestSchema, initialRequest);
|
|
74
|
+
const body = serializer.flush();
|
|
75
|
+
yield {
|
|
76
|
+
[initialRequestMarker]: true,
|
|
77
|
+
headers,
|
|
78
|
+
body
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
for await (const page of eventStream) {
|
|
82
|
+
yield page;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
return marshaller.serialize(eventStreamIterable, (event) => {
|
|
87
|
+
if (event[initialRequestMarker]) {
|
|
88
|
+
return {
|
|
89
|
+
headers: event.headers,
|
|
90
|
+
body: event.body
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
const unionMember = Object.keys(event).find((key) => {
|
|
94
|
+
return key !== "__type";
|
|
95
|
+
}) ?? "";
|
|
96
|
+
const { additionalHeaders, body, eventType, explicitPayloadContentType } = this.writeEventBody(
|
|
97
|
+
unionMember,
|
|
98
|
+
unionSchema,
|
|
99
|
+
event
|
|
100
|
+
);
|
|
101
|
+
const headers = {
|
|
102
|
+
":event-type": { type: "string", value: eventType },
|
|
103
|
+
":message-type": { type: "string", value: "event" },
|
|
104
|
+
":content-type": { type: "string", value: explicitPayloadContentType ?? defaultContentType },
|
|
105
|
+
...additionalHeaders
|
|
106
|
+
};
|
|
107
|
+
return {
|
|
108
|
+
headers,
|
|
109
|
+
body
|
|
110
|
+
};
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* @param response - http response from which to read the event stream.
|
|
115
|
+
* @param unionSchema - schema of the event stream container (struct).
|
|
116
|
+
* @param [initialResponseContainer] - provided and written to only if the initial response is part of the event stream (RPC).
|
|
117
|
+
*
|
|
118
|
+
* @returns the asyncIterable of the event stream for the end-user.
|
|
119
|
+
*/
|
|
120
|
+
async deserializeEventStream({
|
|
121
|
+
response,
|
|
122
|
+
responseSchema,
|
|
123
|
+
initialResponseContainer
|
|
124
|
+
}) {
|
|
125
|
+
const marshaller = this.marshaller;
|
|
126
|
+
const eventStreamMember = responseSchema.getEventStreamMember();
|
|
127
|
+
const unionSchema = responseSchema.getMemberSchema(eventStreamMember);
|
|
128
|
+
const memberSchemas = unionSchema.getMemberSchemas();
|
|
129
|
+
const initialResponseMarker = Symbol("initialResponseMarker");
|
|
130
|
+
const asyncIterable = marshaller.deserialize(response.body, async (event) => {
|
|
131
|
+
const unionMember = Object.keys(event).find((key) => {
|
|
132
|
+
return key !== "__type";
|
|
133
|
+
}) ?? "";
|
|
134
|
+
if (unionMember === "initial-response") {
|
|
135
|
+
const dataObject = await this.deserializer.read(responseSchema, event[unionMember].body);
|
|
136
|
+
delete dataObject[eventStreamMember];
|
|
137
|
+
return {
|
|
138
|
+
[initialResponseMarker]: true,
|
|
139
|
+
...dataObject
|
|
140
|
+
};
|
|
141
|
+
} else if (unionMember in memberSchemas) {
|
|
142
|
+
const eventStreamSchema = memberSchemas[unionMember];
|
|
143
|
+
return {
|
|
144
|
+
[unionMember]: await this.deserializer.read(eventStreamSchema, event[unionMember].body)
|
|
145
|
+
};
|
|
146
|
+
} else {
|
|
147
|
+
return {
|
|
148
|
+
$unknown: event
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
});
|
|
152
|
+
const asyncIterator = asyncIterable[Symbol.asyncIterator]();
|
|
153
|
+
const firstEvent = await asyncIterator.next();
|
|
154
|
+
if (firstEvent.done) {
|
|
155
|
+
return asyncIterable;
|
|
156
|
+
}
|
|
157
|
+
if (firstEvent.value?.[initialResponseMarker]) {
|
|
158
|
+
if (!responseSchema) {
|
|
159
|
+
throw new Error(
|
|
160
|
+
"@smithy::core/protocols - initial-response event encountered in event stream but no response schema given."
|
|
161
|
+
);
|
|
162
|
+
}
|
|
163
|
+
for (const [key, value] of Object.entries(firstEvent.value)) {
|
|
164
|
+
initialResponseContainer[key] = value;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
return {
|
|
168
|
+
async *[Symbol.asyncIterator]() {
|
|
169
|
+
if (!firstEvent?.value?.[initialResponseMarker]) {
|
|
170
|
+
yield firstEvent.value;
|
|
171
|
+
}
|
|
172
|
+
while (true) {
|
|
173
|
+
const { done, value } = await asyncIterator.next();
|
|
174
|
+
if (done) {
|
|
175
|
+
break;
|
|
176
|
+
}
|
|
177
|
+
yield value;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* @param unionMember - member name within the structure that contains an event stream union.
|
|
184
|
+
* @param unionSchema - schema of the union.
|
|
185
|
+
* @param event
|
|
186
|
+
*
|
|
187
|
+
* @returns the event body (bytes) and event type (string).
|
|
188
|
+
*/
|
|
189
|
+
writeEventBody(unionMember, unionSchema, event) {
|
|
190
|
+
const serializer = this.serializer;
|
|
191
|
+
let eventType = unionMember;
|
|
192
|
+
let explicitPayloadMember = null;
|
|
193
|
+
let explicitPayloadContentType;
|
|
194
|
+
const isKnownSchema = unionSchema.hasMemberSchema(unionMember);
|
|
195
|
+
const additionalHeaders = {};
|
|
196
|
+
if (!isKnownSchema) {
|
|
197
|
+
const [type, value] = event[unionMember];
|
|
198
|
+
eventType = type;
|
|
199
|
+
serializer.write(import_schema.SCHEMA.DOCUMENT, value);
|
|
200
|
+
} else {
|
|
201
|
+
const eventSchema = unionSchema.getMemberSchema(unionMember);
|
|
202
|
+
if (eventSchema.isStructSchema()) {
|
|
203
|
+
for (const [memberName, memberSchema] of eventSchema.structIterator()) {
|
|
204
|
+
const { eventHeader, eventPayload } = memberSchema.getMergedTraits();
|
|
205
|
+
if (eventPayload) {
|
|
206
|
+
explicitPayloadMember = memberName;
|
|
207
|
+
break;
|
|
208
|
+
} else if (eventHeader) {
|
|
209
|
+
const value = event[unionMember][memberName];
|
|
210
|
+
let type = "binary";
|
|
211
|
+
if (memberSchema.isNumericSchema()) {
|
|
212
|
+
if ((-2) ** 31 <= value && value <= 2 ** 31 - 1) {
|
|
213
|
+
type = "integer";
|
|
214
|
+
} else {
|
|
215
|
+
type = "long";
|
|
216
|
+
}
|
|
217
|
+
} else if (memberSchema.isTimestampSchema()) {
|
|
218
|
+
type = "timestamp";
|
|
219
|
+
} else if (memberSchema.isStringSchema()) {
|
|
220
|
+
type = "string";
|
|
221
|
+
} else if (memberSchema.isBooleanSchema()) {
|
|
222
|
+
type = "boolean";
|
|
223
|
+
}
|
|
224
|
+
if (value != null) {
|
|
225
|
+
additionalHeaders[memberName] = {
|
|
226
|
+
type,
|
|
227
|
+
value
|
|
228
|
+
};
|
|
229
|
+
delete event[unionMember][memberName];
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
if (explicitPayloadMember !== null) {
|
|
234
|
+
const payloadSchema = eventSchema.getMemberSchema(explicitPayloadMember);
|
|
235
|
+
if (payloadSchema.isBlobSchema()) {
|
|
236
|
+
explicitPayloadContentType = "application/octet-stream";
|
|
237
|
+
} else if (payloadSchema.isStringSchema()) {
|
|
238
|
+
explicitPayloadContentType = "text/plain";
|
|
239
|
+
}
|
|
240
|
+
serializer.write(payloadSchema, event[unionMember][explicitPayloadMember]);
|
|
241
|
+
} else {
|
|
242
|
+
serializer.write(eventSchema, event[unionMember]);
|
|
243
|
+
}
|
|
244
|
+
} else {
|
|
245
|
+
throw new Error("@smithy/core/event-streams - non-struct member not supported in event stream union.");
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
const messageSerialization = serializer.flush();
|
|
249
|
+
const body = typeof messageSerialization === "string" ? (this.serdeContext?.utf8Decoder ?? import_util_utf8.fromUtf8)(messageSerialization) : messageSerialization;
|
|
250
|
+
return {
|
|
251
|
+
body,
|
|
252
|
+
eventType,
|
|
253
|
+
explicitPayloadContentType,
|
|
254
|
+
additionalHeaders
|
|
255
|
+
};
|
|
256
|
+
}
|
|
257
|
+
};
|
|
258
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
259
|
+
0 && (module.exports = {
|
|
260
|
+
EventStreamSerde
|
|
261
|
+
});
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
1
2
|
var __defProp = Object.defineProperty;
|
|
2
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
4
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
7
|
var __export = (target, all) => {
|
|
6
8
|
for (var name in all)
|
|
@@ -14,15 +16,24 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
14
16
|
}
|
|
15
17
|
return to;
|
|
16
18
|
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
17
27
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
28
|
|
|
19
29
|
// src/submodules/protocols/index.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
30
|
+
var index_exports = {};
|
|
31
|
+
__export(index_exports, {
|
|
22
32
|
FromStringShapeDeserializer: () => FromStringShapeDeserializer,
|
|
23
33
|
HttpBindingProtocol: () => HttpBindingProtocol,
|
|
24
34
|
HttpInterceptingShapeDeserializer: () => HttpInterceptingShapeDeserializer,
|
|
25
35
|
HttpInterceptingShapeSerializer: () => HttpInterceptingShapeSerializer,
|
|
36
|
+
HttpProtocol: () => HttpProtocol,
|
|
26
37
|
RequestBuilder: () => RequestBuilder,
|
|
27
38
|
RpcProtocol: () => RpcProtocol,
|
|
28
39
|
ToStringShapeSerializer: () => ToStringShapeSerializer,
|
|
@@ -32,7 +43,7 @@ __export(protocols_exports, {
|
|
|
32
43
|
requestBuilder: () => requestBuilder,
|
|
33
44
|
resolvedPath: () => resolvedPath
|
|
34
45
|
});
|
|
35
|
-
module.exports = __toCommonJS(
|
|
46
|
+
module.exports = __toCommonJS(index_exports);
|
|
36
47
|
|
|
37
48
|
// src/submodules/protocols/collect-stream-body.ts
|
|
38
49
|
var import_util_stream = require("@smithy/util-stream");
|
|
@@ -136,9 +147,80 @@ var HttpProtocol = class {
|
|
|
136
147
|
cfId: output.headers["x-amz-cf-id"]
|
|
137
148
|
};
|
|
138
149
|
}
|
|
150
|
+
/**
|
|
151
|
+
* @param eventStream - the iterable provided by the caller.
|
|
152
|
+
* @param requestSchema - the schema of the event stream container (struct).
|
|
153
|
+
* @param [initialRequest] - only provided if the initial-request is part of the event stream (RPC).
|
|
154
|
+
*
|
|
155
|
+
* @returns a stream suitable for the HTTP body of a request.
|
|
156
|
+
*/
|
|
157
|
+
async serializeEventStream({
|
|
158
|
+
eventStream,
|
|
159
|
+
requestSchema,
|
|
160
|
+
initialRequest
|
|
161
|
+
}) {
|
|
162
|
+
const eventStreamSerde = await this.loadEventStreamCapability();
|
|
163
|
+
return eventStreamSerde.serializeEventStream({
|
|
164
|
+
eventStream,
|
|
165
|
+
requestSchema,
|
|
166
|
+
initialRequest
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* @param response - http response from which to read the event stream.
|
|
171
|
+
* @param unionSchema - schema of the event stream container (struct).
|
|
172
|
+
* @param [initialResponseContainer] - provided and written to only if the initial response is part of the event stream (RPC).
|
|
173
|
+
*
|
|
174
|
+
* @returns the asyncIterable of the event stream.
|
|
175
|
+
*/
|
|
176
|
+
async deserializeEventStream({
|
|
177
|
+
response,
|
|
178
|
+
responseSchema,
|
|
179
|
+
initialResponseContainer
|
|
180
|
+
}) {
|
|
181
|
+
const eventStreamSerde = await this.loadEventStreamCapability();
|
|
182
|
+
return eventStreamSerde.deserializeEventStream({
|
|
183
|
+
response,
|
|
184
|
+
responseSchema,
|
|
185
|
+
initialResponseContainer
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Loads eventStream capability async (for chunking).
|
|
190
|
+
*/
|
|
191
|
+
async loadEventStreamCapability() {
|
|
192
|
+
const { EventStreamSerde } = await Promise.resolve().then(() => __toESM(require("@smithy/core/event-streams")));
|
|
193
|
+
return new EventStreamSerde({
|
|
194
|
+
marshaller: this.getEventStreamMarshaller(),
|
|
195
|
+
serializer: this.serializer,
|
|
196
|
+
deserializer: this.deserializer,
|
|
197
|
+
serdeContext: this.serdeContext,
|
|
198
|
+
defaultContentType: this.getDefaultContentType()
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* @returns content-type default header value for event stream events and other documents.
|
|
203
|
+
*/
|
|
204
|
+
getDefaultContentType() {
|
|
205
|
+
throw new Error(
|
|
206
|
+
`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`
|
|
207
|
+
);
|
|
208
|
+
}
|
|
139
209
|
async deserializeHttpMessage(schema, context, response, arg4, arg5) {
|
|
210
|
+
void schema;
|
|
211
|
+
void context;
|
|
212
|
+
void response;
|
|
213
|
+
void arg4;
|
|
214
|
+
void arg5;
|
|
140
215
|
return [];
|
|
141
216
|
}
|
|
217
|
+
getEventStreamMarshaller() {
|
|
218
|
+
const context = this.serdeContext;
|
|
219
|
+
if (!context.eventStreamMarshaller) {
|
|
220
|
+
throw new Error("@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext.");
|
|
221
|
+
}
|
|
222
|
+
return context.eventStreamMarshaller;
|
|
223
|
+
}
|
|
142
224
|
};
|
|
143
225
|
|
|
144
226
|
// src/submodules/protocols/HttpBindingProtocol.ts
|
|
@@ -192,7 +274,12 @@ var HttpBindingProtocol = class extends HttpProtocol {
|
|
|
192
274
|
if (isStreaming) {
|
|
193
275
|
const isEventStream = memberNs.isStructSchema();
|
|
194
276
|
if (isEventStream) {
|
|
195
|
-
|
|
277
|
+
if (input[memberName]) {
|
|
278
|
+
payload = await this.serializeEventStream({
|
|
279
|
+
eventStream: input[memberName],
|
|
280
|
+
requestSchema: ns
|
|
281
|
+
});
|
|
282
|
+
}
|
|
196
283
|
} else {
|
|
197
284
|
payload = inputMemberValue;
|
|
198
285
|
}
|
|
@@ -307,11 +394,8 @@ var HttpBindingProtocol = class extends HttpProtocol {
|
|
|
307
394
|
}
|
|
308
395
|
}
|
|
309
396
|
}
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
...dataObject
|
|
313
|
-
};
|
|
314
|
-
return output;
|
|
397
|
+
dataObject.$metadata = this.deserializeMetadata(response);
|
|
398
|
+
return dataObject;
|
|
315
399
|
}
|
|
316
400
|
async deserializeHttpMessage(schema, context, response, arg4, arg5) {
|
|
317
401
|
let dataObject;
|
|
@@ -330,25 +414,9 @@ var HttpBindingProtocol = class extends HttpProtocol {
|
|
|
330
414
|
if (isStreaming) {
|
|
331
415
|
const isEventStream = memberSchema.isStructSchema();
|
|
332
416
|
if (isEventStream) {
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
}
|
|
337
|
-
const memberSchemas = memberSchema.getMemberSchemas();
|
|
338
|
-
dataObject[memberName] = context2.eventStreamMarshaller.deserialize(response.body, async (event) => {
|
|
339
|
-
const unionMember = Object.keys(event).find((key) => {
|
|
340
|
-
return key !== "__type";
|
|
341
|
-
}) ?? "";
|
|
342
|
-
if (unionMember in memberSchemas) {
|
|
343
|
-
const eventStreamSchema = memberSchemas[unionMember];
|
|
344
|
-
return {
|
|
345
|
-
[unionMember]: await deserializer.read(eventStreamSchema, event[unionMember].body)
|
|
346
|
-
};
|
|
347
|
-
} else {
|
|
348
|
-
return {
|
|
349
|
-
$unknown: event
|
|
350
|
-
};
|
|
351
|
-
}
|
|
417
|
+
dataObject[memberName] = await this.deserializeEventStream({
|
|
418
|
+
response,
|
|
419
|
+
responseSchema: ns
|
|
352
420
|
});
|
|
353
421
|
} else {
|
|
354
422
|
dataObject[memberName] = (0, import_util_stream2.sdkStreamMixin)(response.body);
|
|
@@ -430,8 +498,26 @@ var RpcProtocol = class extends HttpProtocol {
|
|
|
430
498
|
...input
|
|
431
499
|
};
|
|
432
500
|
if (input) {
|
|
433
|
-
|
|
434
|
-
|
|
501
|
+
const eventStreamMember = ns.getEventStreamMember();
|
|
502
|
+
if (eventStreamMember) {
|
|
503
|
+
if (_input[eventStreamMember]) {
|
|
504
|
+
const initialRequest = {};
|
|
505
|
+
for (const [memberName, memberSchema] of ns.structIterator()) {
|
|
506
|
+
if (memberName !== eventStreamMember && _input[memberName]) {
|
|
507
|
+
serializer.write(memberSchema, _input[memberName]);
|
|
508
|
+
initialRequest[memberName] = serializer.flush();
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
payload = await this.serializeEventStream({
|
|
512
|
+
eventStream: _input[eventStreamMember],
|
|
513
|
+
requestSchema: ns,
|
|
514
|
+
initialRequest
|
|
515
|
+
});
|
|
516
|
+
}
|
|
517
|
+
} else {
|
|
518
|
+
serializer.write(schema, _input);
|
|
519
|
+
payload = serializer.flush();
|
|
520
|
+
}
|
|
435
521
|
}
|
|
436
522
|
request.headers = headers;
|
|
437
523
|
request.query = query;
|
|
@@ -444,9 +530,9 @@ var RpcProtocol = class extends HttpProtocol {
|
|
|
444
530
|
const ns = import_schema3.NormalizedSchema.of(operationSchema.output);
|
|
445
531
|
const dataObject = {};
|
|
446
532
|
if (response.statusCode >= 300) {
|
|
447
|
-
const
|
|
448
|
-
if (
|
|
449
|
-
Object.assign(dataObject, await deserializer.read(import_schema3.SCHEMA.DOCUMENT,
|
|
533
|
+
const bytes = await collectBody(response.body, context);
|
|
534
|
+
if (bytes.byteLength > 0) {
|
|
535
|
+
Object.assign(dataObject, await deserializer.read(import_schema3.SCHEMA.DOCUMENT, bytes));
|
|
450
536
|
}
|
|
451
537
|
await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response));
|
|
452
538
|
throw new Error("@smithy/core/protocols - RPC Protocol error handler failed to throw.");
|
|
@@ -456,15 +542,21 @@ var RpcProtocol = class extends HttpProtocol {
|
|
|
456
542
|
delete response.headers[header];
|
|
457
543
|
response.headers[header.toLowerCase()] = value;
|
|
458
544
|
}
|
|
459
|
-
const
|
|
460
|
-
if (
|
|
461
|
-
|
|
545
|
+
const eventStreamMember = ns.getEventStreamMember();
|
|
546
|
+
if (eventStreamMember) {
|
|
547
|
+
dataObject[eventStreamMember] = await this.deserializeEventStream({
|
|
548
|
+
response,
|
|
549
|
+
responseSchema: ns,
|
|
550
|
+
initialResponseContainer: dataObject
|
|
551
|
+
});
|
|
552
|
+
} else {
|
|
553
|
+
const bytes = await collectBody(response.body, context);
|
|
554
|
+
if (bytes.byteLength > 0) {
|
|
555
|
+
Object.assign(dataObject, await deserializer.read(ns, bytes));
|
|
556
|
+
}
|
|
462
557
|
}
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
...dataObject
|
|
466
|
-
};
|
|
467
|
-
return output;
|
|
558
|
+
dataObject.$metadata = this.deserializeMetadata(response);
|
|
559
|
+
return dataObject;
|
|
468
560
|
}
|
|
469
561
|
};
|
|
470
562
|
|
|
@@ -721,7 +813,9 @@ var ToStringShapeSerializer = class {
|
|
|
721
813
|
if (ns.isTimestampSchema()) {
|
|
722
814
|
if (!(value instanceof Date)) {
|
|
723
815
|
throw new Error(
|
|
724
|
-
`@smithy/core/protocols - received non-Date value ${value} when schema expected Date in ${ns.getName(
|
|
816
|
+
`@smithy/core/protocols - received non-Date value ${value} when schema expected Date in ${ns.getName(
|
|
817
|
+
true
|
|
818
|
+
)}`
|
|
725
819
|
);
|
|
726
820
|
}
|
|
727
821
|
const format = determineTimestampFormat(ns, this.settings);
|
|
@@ -822,6 +916,7 @@ var HttpInterceptingShapeSerializer = class {
|
|
|
822
916
|
HttpBindingProtocol,
|
|
823
917
|
HttpInterceptingShapeDeserializer,
|
|
824
918
|
HttpInterceptingShapeSerializer,
|
|
919
|
+
HttpProtocol,
|
|
825
920
|
RequestBuilder,
|
|
826
921
|
RpcProtocol,
|
|
827
922
|
ToStringShapeSerializer,
|
|
@@ -17,8 +17,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
18
|
|
|
19
19
|
// src/submodules/schema/index.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
20
|
+
var index_exports = {};
|
|
21
|
+
__export(index_exports, {
|
|
22
22
|
ErrorSchema: () => ErrorSchema,
|
|
23
23
|
ListSchema: () => ListSchema,
|
|
24
24
|
MapSchema: () => MapSchema,
|
|
@@ -40,7 +40,7 @@ __export(schema_exports, {
|
|
|
40
40
|
sim: () => sim,
|
|
41
41
|
struct: () => struct
|
|
42
42
|
});
|
|
43
|
-
module.exports = __toCommonJS(
|
|
43
|
+
module.exports = __toCommonJS(index_exports);
|
|
44
44
|
|
|
45
45
|
// src/submodules/schema/deref.ts
|
|
46
46
|
var deref = (schemaRef) => {
|
|
@@ -748,6 +748,17 @@ var NormalizedSchema = class _NormalizedSchema {
|
|
|
748
748
|
}
|
|
749
749
|
throw new Error(`@smithy/core/schema - the schema ${this.getName(true)} does not have a value member.`);
|
|
750
750
|
}
|
|
751
|
+
/**
|
|
752
|
+
* @param member - to query.
|
|
753
|
+
* @returns whether there is a memberSchema with the given member name. False if not a structure (or union).
|
|
754
|
+
*/
|
|
755
|
+
hasMemberSchema(member) {
|
|
756
|
+
if (this.isStructSchema()) {
|
|
757
|
+
const struct2 = this.getSchema();
|
|
758
|
+
return member in struct2.members;
|
|
759
|
+
}
|
|
760
|
+
return false;
|
|
761
|
+
}
|
|
751
762
|
/**
|
|
752
763
|
* @returns the NormalizedSchema for the given member name. The returned instance will return true for `isMemberSchema()`
|
|
753
764
|
* and will have the member name given.
|
|
@@ -794,6 +805,20 @@ var NormalizedSchema = class _NormalizedSchema {
|
|
|
794
805
|
}
|
|
795
806
|
return {};
|
|
796
807
|
}
|
|
808
|
+
/**
|
|
809
|
+
* @returns member name of event stream or empty string indicating none exists or this
|
|
810
|
+
* isn't a structure schema.
|
|
811
|
+
*/
|
|
812
|
+
getEventStreamMember() {
|
|
813
|
+
if (this.isStructSchema()) {
|
|
814
|
+
for (const [memberName, memberSchema] of this.structIterator()) {
|
|
815
|
+
if (memberSchema.isStreaming() && memberSchema.isStructSchema()) {
|
|
816
|
+
return memberName;
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
return "";
|
|
821
|
+
}
|
|
797
822
|
/**
|
|
798
823
|
* Allows iteration over members of a structure schema.
|
|
799
824
|
* Each yield is a pair of the member name and member schema.
|
|
@@ -17,8 +17,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
18
|
|
|
19
19
|
// src/submodules/serde/index.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
20
|
+
var index_exports = {};
|
|
21
|
+
__export(index_exports, {
|
|
22
22
|
LazyJsonString: () => LazyJsonString,
|
|
23
23
|
NumericValue: () => NumericValue,
|
|
24
24
|
copyDocumentWithTransform: () => copyDocumentWithTransform,
|
|
@@ -59,7 +59,7 @@ __export(serde_exports, {
|
|
|
59
59
|
strictParseLong: () => strictParseLong,
|
|
60
60
|
strictParseShort: () => strictParseShort
|
|
61
61
|
});
|
|
62
|
-
module.exports = __toCommonJS(
|
|
62
|
+
module.exports = __toCommonJS(index_exports);
|
|
63
63
|
|
|
64
64
|
// src/submodules/serde/copyDocumentWithTransform.ts
|
|
65
65
|
var copyDocumentWithTransform = (source, schemaRef, transform = (_) => _) => source;
|
|
@@ -653,11 +653,11 @@ var NumericValue = class _NumericValue {
|
|
|
653
653
|
return false;
|
|
654
654
|
}
|
|
655
655
|
const _nv = object;
|
|
656
|
-
const prototypeMatch = _NumericValue.prototype.isPrototypeOf(object
|
|
656
|
+
const prototypeMatch = _NumericValue.prototype.isPrototypeOf(object);
|
|
657
657
|
if (prototypeMatch) {
|
|
658
658
|
return prototypeMatch;
|
|
659
659
|
}
|
|
660
|
-
if (typeof _nv.string === "string" && typeof _nv.type === "string" && _nv.constructor?.name
|
|
660
|
+
if (typeof _nv.string === "string" && typeof _nv.type === "string" && _nv.constructor?.name?.endsWith("NumericValue")) {
|
|
661
661
|
return true;
|
|
662
662
|
}
|
|
663
663
|
return prototypeMatch;
|