@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,22 @@
|
|
|
1
|
+
import { homedir } from "os";
|
|
2
|
+
import { sep } from "path";
|
|
3
|
+
const homeDirCache = {};
|
|
4
|
+
const getHomeDirCacheKey = () => {
|
|
5
|
+
if (process && process.geteuid) {
|
|
6
|
+
return `${process.geteuid()}`;
|
|
7
|
+
}
|
|
8
|
+
return "DEFAULT";
|
|
9
|
+
};
|
|
10
|
+
export const getHomeDir = () => {
|
|
11
|
+
const { HOME, USERPROFILE, HOMEPATH, HOMEDRIVE = `C:${sep}` } = process.env;
|
|
12
|
+
if (HOME)
|
|
13
|
+
return HOME;
|
|
14
|
+
if (USERPROFILE)
|
|
15
|
+
return USERPROFILE;
|
|
16
|
+
if (HOMEPATH)
|
|
17
|
+
return `${HOMEDRIVE}${HOMEPATH}`;
|
|
18
|
+
const homeDirCacheKey = getHomeDirCacheKey();
|
|
19
|
+
if (!homeDirCache[homeDirCacheKey])
|
|
20
|
+
homeDirCache[homeDirCacheKey] = homedir();
|
|
21
|
+
return homeDirCache[homeDirCacheKey];
|
|
22
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { createHash } from "crypto";
|
|
2
|
+
import { join } from "path";
|
|
3
|
+
import { getHomeDir } from "./getHomeDir";
|
|
4
|
+
export const getSSOTokenFilepath = (id) => {
|
|
5
|
+
const hasher = createHash("sha1");
|
|
6
|
+
const cacheName = hasher.update(id).digest("hex");
|
|
7
|
+
return join(getHomeDir(), ".aws", "sso", "cache", `${cacheName}.json`);
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { promises as fsPromises } from "fs";
|
|
2
|
+
import { getSSOTokenFilepath } from "./getSSOTokenFilepath";
|
|
3
|
+
const { readFile } = fsPromises;
|
|
4
|
+
export const getSSOTokenFromFile = async (id) => {
|
|
5
|
+
const ssoTokenFilepath = getSSOTokenFilepath(id);
|
|
6
|
+
const ssoTokenText = await readFile(ssoTokenFilepath, "utf8");
|
|
7
|
+
return JSON.parse(ssoTokenText);
|
|
8
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { IniSectionType } from "@smithy/types";
|
|
2
|
+
import { CONFIG_PREFIX_SEPARATOR } from "./loadSharedConfigFiles";
|
|
3
|
+
export const getSsoSessionData = (data) => Object.entries(data)
|
|
4
|
+
.filter(([key]) => key.startsWith(IniSectionType.SSO_SESSION + CONFIG_PREFIX_SEPARATOR))
|
|
5
|
+
.reduce((acc, [key, value]) => ({ ...acc, [key.substring(key.indexOf(CONFIG_PREFIX_SEPARATOR) + 1)]: value }), {});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./getHomeDir";
|
|
2
|
+
export * from "./getProfileName";
|
|
3
|
+
export * from "./getSSOTokenFilepath";
|
|
4
|
+
export * from "./getSSOTokenFromFile";
|
|
5
|
+
export * from "./loadSharedConfigFiles";
|
|
6
|
+
export * from "./loadSsoSessionData";
|
|
7
|
+
export * from "./parseKnownFiles";
|
|
8
|
+
export * from "./types";
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { join } from "path";
|
|
2
|
+
import { getConfigData } from "./getConfigData";
|
|
3
|
+
import { getConfigFilepath } from "./getConfigFilepath";
|
|
4
|
+
import { getCredentialsFilepath } from "./getCredentialsFilepath";
|
|
5
|
+
import { getHomeDir } from "./getHomeDir";
|
|
6
|
+
import { parseIni } from "./parseIni";
|
|
7
|
+
import { slurpFile } from "./slurpFile";
|
|
8
|
+
const swallowError = () => ({});
|
|
9
|
+
export const CONFIG_PREFIX_SEPARATOR = ".";
|
|
10
|
+
export const loadSharedConfigFiles = async (init = {}) => {
|
|
11
|
+
const { filepath = getCredentialsFilepath(), configFilepath = getConfigFilepath() } = init;
|
|
12
|
+
const homeDir = getHomeDir();
|
|
13
|
+
const relativeHomeDirPrefix = "~/";
|
|
14
|
+
let resolvedFilepath = filepath;
|
|
15
|
+
if (filepath.startsWith(relativeHomeDirPrefix)) {
|
|
16
|
+
resolvedFilepath = join(homeDir, filepath.slice(2));
|
|
17
|
+
}
|
|
18
|
+
let resolvedConfigFilepath = configFilepath;
|
|
19
|
+
if (configFilepath.startsWith(relativeHomeDirPrefix)) {
|
|
20
|
+
resolvedConfigFilepath = join(homeDir, configFilepath.slice(2));
|
|
21
|
+
}
|
|
22
|
+
const parsedFiles = await Promise.all([
|
|
23
|
+
slurpFile(resolvedConfigFilepath, {
|
|
24
|
+
ignoreCache: init.ignoreCache,
|
|
25
|
+
})
|
|
26
|
+
.then(parseIni)
|
|
27
|
+
.then(getConfigData)
|
|
28
|
+
.catch(swallowError),
|
|
29
|
+
slurpFile(resolvedFilepath, {
|
|
30
|
+
ignoreCache: init.ignoreCache,
|
|
31
|
+
})
|
|
32
|
+
.then(parseIni)
|
|
33
|
+
.catch(swallowError),
|
|
34
|
+
]);
|
|
35
|
+
return {
|
|
36
|
+
configFile: parsedFiles[0],
|
|
37
|
+
credentialsFile: parsedFiles[1],
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { getConfigFilepath } from "./getConfigFilepath";
|
|
2
|
+
import { getSsoSessionData } from "./getSsoSessionData";
|
|
3
|
+
import { parseIni } from "./parseIni";
|
|
4
|
+
import { slurpFile } from "./slurpFile";
|
|
5
|
+
const swallowError = () => ({});
|
|
6
|
+
export const loadSsoSessionData = async (init = {}) => slurpFile(init.configFilepath ?? getConfigFilepath())
|
|
7
|
+
.then(parseIni)
|
|
8
|
+
.then(getSsoSessionData)
|
|
9
|
+
.catch(swallowError);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export const mergeConfigFiles = (...files) => {
|
|
2
|
+
const merged = {};
|
|
3
|
+
for (const file of files) {
|
|
4
|
+
for (const [key, values] of Object.entries(file)) {
|
|
5
|
+
if (merged[key] !== undefined) {
|
|
6
|
+
Object.assign(merged[key], values);
|
|
7
|
+
}
|
|
8
|
+
else {
|
|
9
|
+
merged[key] = values;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
return merged;
|
|
14
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { IniSectionType } from "@smithy/types";
|
|
2
|
+
import { CONFIG_PREFIX_SEPARATOR } from "./loadSharedConfigFiles";
|
|
3
|
+
const prefixKeyRegex = /^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/;
|
|
4
|
+
const profileNameBlockList = ["__proto__", "profile __proto__"];
|
|
5
|
+
export const parseIni = (iniData) => {
|
|
6
|
+
const map = {};
|
|
7
|
+
let currentSection;
|
|
8
|
+
let currentSubSection;
|
|
9
|
+
for (const iniLine of iniData.split(/\r?\n/)) {
|
|
10
|
+
const trimmedLine = iniLine.split(/(^|\s)[;#]/)[0].trim();
|
|
11
|
+
const isSection = trimmedLine[0] === "[" && trimmedLine[trimmedLine.length - 1] === "]";
|
|
12
|
+
if (isSection) {
|
|
13
|
+
currentSection = undefined;
|
|
14
|
+
currentSubSection = undefined;
|
|
15
|
+
const sectionName = trimmedLine.substring(1, trimmedLine.length - 1);
|
|
16
|
+
const matches = prefixKeyRegex.exec(sectionName);
|
|
17
|
+
if (matches) {
|
|
18
|
+
const [, prefix, , name] = matches;
|
|
19
|
+
if (Object.values(IniSectionType).includes(prefix)) {
|
|
20
|
+
currentSection = [prefix, name].join(CONFIG_PREFIX_SEPARATOR);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
currentSection = sectionName;
|
|
25
|
+
}
|
|
26
|
+
if (profileNameBlockList.includes(sectionName)) {
|
|
27
|
+
throw new Error(`Found invalid profile name "${sectionName}"`);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
else if (currentSection) {
|
|
31
|
+
const indexOfEqualsSign = trimmedLine.indexOf("=");
|
|
32
|
+
if (![0, -1].includes(indexOfEqualsSign)) {
|
|
33
|
+
const [name, value] = [
|
|
34
|
+
trimmedLine.substring(0, indexOfEqualsSign).trim(),
|
|
35
|
+
trimmedLine.substring(indexOfEqualsSign + 1).trim(),
|
|
36
|
+
];
|
|
37
|
+
if (value === "") {
|
|
38
|
+
currentSubSection = name;
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
if (currentSubSection && iniLine.trimStart() === iniLine) {
|
|
42
|
+
currentSubSection = undefined;
|
|
43
|
+
}
|
|
44
|
+
map[currentSection] = map[currentSection] || {};
|
|
45
|
+
const key = currentSubSection ? [currentSubSection, name].join(CONFIG_PREFIX_SEPARATOR) : name;
|
|
46
|
+
map[currentSection][key] = value;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
return map;
|
|
52
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { loadSharedConfigFiles } from "./loadSharedConfigFiles";
|
|
2
|
+
import { mergeConfigFiles } from "./mergeConfigFiles";
|
|
3
|
+
export const parseKnownFiles = async (init) => {
|
|
4
|
+
const parsedFiles = await loadSharedConfigFiles(init);
|
|
5
|
+
return mergeConfigFiles(parsedFiles.configFile, parsedFiles.credentialsFile);
|
|
6
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { promises as fsPromises } from "fs";
|
|
2
|
+
const { readFile } = fsPromises;
|
|
3
|
+
const filePromisesHash = {};
|
|
4
|
+
export const slurpFile = (path, options) => {
|
|
5
|
+
if (!filePromisesHash[path] || options?.ignoreCache) {
|
|
6
|
+
filePromisesHash[path] = readFile(path, "utf8");
|
|
7
|
+
}
|
|
8
|
+
return filePromisesHash[path];
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ParsedIniData } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* Returns the config data from parsed ini data.
|
|
4
|
+
* * Returns data for `default`
|
|
5
|
+
* * Returns profile name without prefix.
|
|
6
|
+
* * Returns non-profiles as is.
|
|
7
|
+
*/
|
|
8
|
+
export declare const getConfigData: (data: ParsedIniData) => ParsedIniData;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
*/
|
|
4
|
+
export declare const ENV_PROFILE = "AWS_PROFILE";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export declare const DEFAULT_PROFILE = "default";
|
|
9
|
+
/**
|
|
10
|
+
* Returns profile with priority order code - ENV - default.
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export declare const getProfileName: (init: {
|
|
14
|
+
profile?: string;
|
|
15
|
+
}) => string;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cached SSO token retrieved from SSO login flow.
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface SSOToken {
|
|
6
|
+
/**
|
|
7
|
+
* A base64 encoded string returned by the sso-oidc service.
|
|
8
|
+
*/
|
|
9
|
+
accessToken: string;
|
|
10
|
+
/**
|
|
11
|
+
* The expiration time of the accessToken as an RFC 3339 formatted timestamp.
|
|
12
|
+
*/
|
|
13
|
+
expiresAt: string;
|
|
14
|
+
/**
|
|
15
|
+
* The token used to obtain an access token in the event that the accessToken is invalid or expired.
|
|
16
|
+
*/
|
|
17
|
+
refreshToken?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The unique identifier string for each client. The client ID generated when performing the registration
|
|
20
|
+
* portion of the OIDC authorization flow. This is used to refresh the accessToken.
|
|
21
|
+
*/
|
|
22
|
+
clientId?: string;
|
|
23
|
+
/**
|
|
24
|
+
* A secret string generated when performing the registration portion of the OIDC authorization flow.
|
|
25
|
+
* This is used to refresh the accessToken.
|
|
26
|
+
*/
|
|
27
|
+
clientSecret?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The expiration time of the client registration (clientId and clientSecret) as an RFC 3339 formatted timestamp.
|
|
30
|
+
*/
|
|
31
|
+
registrationExpiresAt?: string;
|
|
32
|
+
/**
|
|
33
|
+
* The configured sso_region for the profile that credentials are being resolved for.
|
|
34
|
+
*/
|
|
35
|
+
region?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The configured sso_start_url for the profile that credentials are being resolved for.
|
|
38
|
+
*/
|
|
39
|
+
startUrl?: string;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* @internal
|
|
43
|
+
* @param id - can be either a start URL or the SSO session name.
|
|
44
|
+
* Returns the SSO token from the file system.
|
|
45
|
+
*/
|
|
46
|
+
export declare const getSSOTokenFromFile: (id: string) => Promise<SSOToken>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ParsedIniData } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* Returns the sso-session data from parsed ini data by reading
|
|
4
|
+
* ssoSessionName after sso-session prefix including/excluding quotes
|
|
5
|
+
*/
|
|
6
|
+
export declare const getSsoSessionData: (data: ParsedIniData) => ParsedIniData;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./getHomeDir";
|
|
2
|
+
export * from "./getProfileName";
|
|
3
|
+
export * from "./getSSOTokenFilepath";
|
|
4
|
+
export * from "./getSSOTokenFromFile";
|
|
5
|
+
export * from "./loadSharedConfigFiles";
|
|
6
|
+
export * from "./loadSsoSessionData";
|
|
7
|
+
export * from "./parseKnownFiles";
|
|
8
|
+
export * from "./types";
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { Logger, SharedConfigFiles } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface SharedConfigInit {
|
|
6
|
+
/**
|
|
7
|
+
* The path at which to locate the ini credentials file. Defaults to the
|
|
8
|
+
* value of the `AWS_SHARED_CREDENTIALS_FILE` environment variable (if
|
|
9
|
+
* defined) or `~/.aws/credentials` otherwise.
|
|
10
|
+
*/
|
|
11
|
+
filepath?: string;
|
|
12
|
+
/**
|
|
13
|
+
* The path at which to locate the ini config file. Defaults to the value of
|
|
14
|
+
* the `AWS_CONFIG_FILE` environment variable (if defined) or
|
|
15
|
+
* `~/.aws/config` otherwise.
|
|
16
|
+
*/
|
|
17
|
+
configFilepath?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Configuration files are normally cached after the first time they are loaded. When this
|
|
20
|
+
* property is set, the provider will always reload any configuration files loaded before.
|
|
21
|
+
*/
|
|
22
|
+
ignoreCache?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* For credential resolution trace logging.
|
|
25
|
+
*/
|
|
26
|
+
logger?: Logger;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
31
|
+
export declare const CONFIG_PREFIX_SEPARATOR = ".";
|
|
32
|
+
/**
|
|
33
|
+
* Loads the config and credentials files.
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
export declare const loadSharedConfigFiles: (init?: SharedConfigInit) => Promise<SharedConfigFiles>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ParsedIniData } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* Subset of {@link SharedConfigInit}.
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface SsoSessionInit {
|
|
7
|
+
/**
|
|
8
|
+
* The path at which to locate the ini config file. Defaults to the value of
|
|
9
|
+
* the `AWS_CONFIG_FILE` environment variable (if defined) or
|
|
10
|
+
* `~/.aws/config` otherwise.
|
|
11
|
+
*/
|
|
12
|
+
configFilepath?: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export declare const loadSsoSessionData: (init?: SsoSessionInit) => Promise<ParsedIniData>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ParsedIniData } from "@smithy/types";
|
|
2
|
+
import type { SharedConfigInit } from "./loadSharedConfigFiles";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface SourceProfileInit extends SharedConfigInit {
|
|
7
|
+
/**
|
|
8
|
+
* The configuration profile to use.
|
|
9
|
+
*/
|
|
10
|
+
profile?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Load profiles from credentials and config INI files and normalize them into a
|
|
14
|
+
* single profile list.
|
|
15
|
+
*
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const parseKnownFiles: (init: SourceProfileInit) => Promise<ParsedIniData>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ParsedIniData } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* Returns the config data from parsed ini data.
|
|
4
|
+
* * Returns data for `default`
|
|
5
|
+
* * Returns profile name without prefix.
|
|
6
|
+
* * Returns non-profiles as is.
|
|
7
|
+
*/
|
|
8
|
+
export declare const getConfigData: (data: ParsedIniData) => ParsedIniData;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
*/
|
|
4
|
+
export declare const ENV_PROFILE = "AWS_PROFILE";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export declare const DEFAULT_PROFILE = "default";
|
|
9
|
+
/**
|
|
10
|
+
* Returns profile with priority order code - ENV - default.
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export declare const getProfileName: (init: {
|
|
14
|
+
profile?: string;
|
|
15
|
+
}) => string;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cached SSO token retrieved from SSO login flow.
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface SSOToken {
|
|
6
|
+
/**
|
|
7
|
+
* A base64 encoded string returned by the sso-oidc service.
|
|
8
|
+
*/
|
|
9
|
+
accessToken: string;
|
|
10
|
+
/**
|
|
11
|
+
* The expiration time of the accessToken as an RFC 3339 formatted timestamp.
|
|
12
|
+
*/
|
|
13
|
+
expiresAt: string;
|
|
14
|
+
/**
|
|
15
|
+
* The token used to obtain an access token in the event that the accessToken is invalid or expired.
|
|
16
|
+
*/
|
|
17
|
+
refreshToken?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The unique identifier string for each client. The client ID generated when performing the registration
|
|
20
|
+
* portion of the OIDC authorization flow. This is used to refresh the accessToken.
|
|
21
|
+
*/
|
|
22
|
+
clientId?: string;
|
|
23
|
+
/**
|
|
24
|
+
* A secret string generated when performing the registration portion of the OIDC authorization flow.
|
|
25
|
+
* This is used to refresh the accessToken.
|
|
26
|
+
*/
|
|
27
|
+
clientSecret?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The expiration time of the client registration (clientId and clientSecret) as an RFC 3339 formatted timestamp.
|
|
30
|
+
*/
|
|
31
|
+
registrationExpiresAt?: string;
|
|
32
|
+
/**
|
|
33
|
+
* The configured sso_region for the profile that credentials are being resolved for.
|
|
34
|
+
*/
|
|
35
|
+
region?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The configured sso_start_url for the profile that credentials are being resolved for.
|
|
38
|
+
*/
|
|
39
|
+
startUrl?: string;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* @internal
|
|
43
|
+
* @param id - can be either a start URL or the SSO session name.
|
|
44
|
+
* Returns the SSO token from the file system.
|
|
45
|
+
*/
|
|
46
|
+
export declare const getSSOTokenFromFile: (id: string) => Promise<SSOToken>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ParsedIniData } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* Returns the sso-session data from parsed ini data by reading
|
|
4
|
+
* ssoSessionName after sso-session prefix including/excluding quotes
|
|
5
|
+
*/
|
|
6
|
+
export declare const getSsoSessionData: (data: ParsedIniData) => ParsedIniData;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./getHomeDir";
|
|
2
|
+
export * from "./getProfileName";
|
|
3
|
+
export * from "./getSSOTokenFilepath";
|
|
4
|
+
export * from "./getSSOTokenFromFile";
|
|
5
|
+
export * from "./loadSharedConfigFiles";
|
|
6
|
+
export * from "./loadSsoSessionData";
|
|
7
|
+
export * from "./parseKnownFiles";
|
|
8
|
+
export * from "./types";
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Logger, SharedConfigFiles } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface SharedConfigInit {
|
|
6
|
+
/**
|
|
7
|
+
* The path at which to locate the ini credentials file. Defaults to the
|
|
8
|
+
* value of the `AWS_SHARED_CREDENTIALS_FILE` environment variable (if
|
|
9
|
+
* defined) or `~/.aws/credentials` otherwise.
|
|
10
|
+
*/
|
|
11
|
+
filepath?: string;
|
|
12
|
+
/**
|
|
13
|
+
* The path at which to locate the ini config file. Defaults to the value of
|
|
14
|
+
* the `AWS_CONFIG_FILE` environment variable (if defined) or
|
|
15
|
+
* `~/.aws/config` otherwise.
|
|
16
|
+
*/
|
|
17
|
+
configFilepath?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Configuration files are normally cached after the first time they are loaded. When this
|
|
20
|
+
* property is set, the provider will always reload any configuration files loaded before.
|
|
21
|
+
*/
|
|
22
|
+
ignoreCache?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* For credential resolution trace logging.
|
|
25
|
+
*/
|
|
26
|
+
logger?: Logger;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
31
|
+
export declare const CONFIG_PREFIX_SEPARATOR = ".";
|
|
32
|
+
/**
|
|
33
|
+
* Loads the config and credentials files.
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
export declare const loadSharedConfigFiles: (init?: SharedConfigInit) => Promise<SharedConfigFiles>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ParsedIniData } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* Subset of {@link SharedConfigInit}.
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface SsoSessionInit {
|
|
7
|
+
/**
|
|
8
|
+
* The path at which to locate the ini config file. Defaults to the value of
|
|
9
|
+
* the `AWS_CONFIG_FILE` environment variable (if defined) or
|
|
10
|
+
* `~/.aws/config` otherwise.
|
|
11
|
+
*/
|
|
12
|
+
configFilepath?: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export declare const loadSsoSessionData: (init?: SsoSessionInit) => Promise<ParsedIniData>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ParsedIniData } from "@smithy/types";
|
|
2
|
+
import { SharedConfigInit } from "./loadSharedConfigFiles";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface SourceProfileInit extends SharedConfigInit {
|
|
7
|
+
/**
|
|
8
|
+
* The configuration profile to use.
|
|
9
|
+
*/
|
|
10
|
+
profile?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Load profiles from credentials and config INI files and normalize them into a
|
|
14
|
+
* single profile list.
|
|
15
|
+
*
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const parseKnownFiles: (init: SourceProfileInit) => Promise<ParsedIniData>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ParsedIniData as __ParsedIniData, Profile as __Profile, SharedConfigFiles as __SharedConfigFiles } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
* @deprecated Use Profile from "\@smithy/types" instead
|
|
5
|
+
*/
|
|
6
|
+
export type Profile = __Profile;
|
|
7
|
+
/**
|
|
8
|
+
* @internal
|
|
9
|
+
* @deprecated Use ParsedIniData from "\@smithy/types" instead
|
|
10
|
+
*/
|
|
11
|
+
export type ParsedIniData = __ParsedIniData;
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
* @deprecated Use SharedConfigFiles from "\@smithy/types" instead
|
|
15
|
+
*/
|
|
16
|
+
export type SharedConfigFiles = __SharedConfigFiles;
|