@mavogel/awscdk-rootmail 0.0.322 → 0.0.324
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +2 -2
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +4442 -4660
- package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +41 -41
- package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +7328 -7804
- package/node_modules/@aws-sdk/client-route-53/package.json +40 -40
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +11771 -11916
- package/node_modules/@aws-sdk/client-s3/package.json +55 -55
- package/node_modules/@aws-sdk/client-ses/dist-cjs/index.js +7284 -7626
- package/node_modules/@aws-sdk/client-ses/package.json +38 -38
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +12508 -13696
- package/node_modules/@aws-sdk/client-ssm/package.json +39 -39
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +478 -596
- package/node_modules/@aws-sdk/client-sso/package.json +36 -36
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +1969 -6
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +48 -88
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +35 -74
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +273 -365
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +1581 -1863
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +2 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +2 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +4 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +4 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +3 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +4 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +2 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +4 -4
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ConfigurableSerdeContext.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonCodec.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeDeserializer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeSerializer.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QuerySerializerSettings.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlCodec.d.ts +1 -1
- package/node_modules/@aws-sdk/core/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +38 -73
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +194 -259
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +72 -132
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +71 -107
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +176 -249
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-CVy8iqsZ.js +14 -0
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +16 -25
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-expect-continue/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +381 -478
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +11 -11
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-sdk-route53/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +511 -641
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +13 -13
- package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +170 -203
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/index.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +583 -858
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +795 -928
- package/node_modules/@aws-sdk/nested-clients/package.json +36 -36
- package/node_modules/@aws-sdk/region-config-resolver/package.json +6 -6
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +108 -137
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -6
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +147 -222
- package/node_modules/@aws-sdk/token-providers/package.json +7 -7
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
- package/node_modules/@aws-sdk/util-user-agent-browser/README.md +22 -3
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/createUserAgentStringParsingProvider.js +57 -0
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +39 -8
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-es/createUserAgentStringParsingProvider.js +20 -0
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js +37 -6
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/createUserAgentStringParsingProvider.d.ts +14 -0
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts +14 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts +4 -3
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/createUserAgentStringParsingProvider.d.ts +9 -0
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.d.ts +5 -0
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +50 -94
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/crt-availability.d.ts +1 -2
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/defaultUserAgent.d.ts +10 -5
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@smithy/abort-controller/dist-cjs/index.js +28 -80
- package/node_modules/@smithy/abort-controller/dist-es/AbortController.js +1 -3
- package/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +2 -2
- package/node_modules/@smithy/abort-controller/package.json +2 -2
- package/node_modules/@smithy/chunked-blob-reader/dist-cjs/index.js +9 -37
- package/node_modules/@smithy/chunked-blob-reader/package.json +1 -1
- package/node_modules/@smithy/chunked-blob-reader-native/dist-cjs/index.js +28 -55
- package/node_modules/@smithy/chunked-blob-reader-native/package.json +2 -2
- package/node_modules/@smithy/config-resolver/dist-cjs/index.js +158 -215
- package/node_modules/@smithy/config-resolver/package.json +5 -5
- package/node_modules/@smithy/core/dist-cjs/index.js +308 -412
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +945 -969
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +200 -249
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +796 -894
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +562 -802
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +675 -679
- package/node_modules/@smithy/core/dist-es/index.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +7 -14
- package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +3 -3
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +18 -18
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +5 -5
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +10 -3
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +4 -4
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +7 -4
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/protocols/SerdeContext.js +6 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js +9 -7
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/FromStringShapeDeserializer.js +23 -21
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeDeserializer.js +5 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeSerializer.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js +9 -10
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/determineTimestampFormat.js +5 -6
- package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +8 -5
- package/node_modules/@smithy/core/dist-es/submodules/schema/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +5 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +5 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js +3 -5
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +5 -5
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +6 -5
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +114 -182
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js +6 -5
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/Schema.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +5 -5
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +6 -5
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/sentinels.js +14 -14
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js +22 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/schema-serde-lib/schema-date-utils.js +110 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +6 -26
- package/node_modules/@smithy/core/dist-es/util-identity-and-auth/DefaultIdentityProviderConfig.js +1 -1
- package/node_modules/@smithy/core/dist-es/util-identity-and-auth/memoizeIdentityProvider.js +4 -2
- package/node_modules/@smithy/core/dist-types/index.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +5 -10
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +5 -2
- package/node_modules/@smithy/core/dist-types/submodules/protocols/SerdeContext.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +3 -4
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +5 -2
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +5 -2
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/ToStringShapeSerializer.d.ts +3 -4
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +4 -4
- package/node_modules/@smithy/core/dist-types/submodules/schema/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +26 -24
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/sentinels.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/translateTraits.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/schema-serde-lib/schema-date-utils.d.ts +47 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +5 -10
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +5 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/SerdeContext.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +3 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +5 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +5 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts +3 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +4 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +26 -24
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/schema-serde-lib/schema-date-utils.d.ts +47 -0
- package/node_modules/@smithy/core/package.json +11 -11
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +340 -412
- package/node_modules/@smithy/credential-provider-imds/dist-es/error/InstanceMetadataV1FallbackError.js +2 -1
- package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
- package/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +372 -457
- package/node_modules/@smithy/eventstream-codec/dist-es/EventStreamCodec.js +3 -0
- package/node_modules/@smithy/eventstream-codec/dist-es/HeaderMarshaller.js +2 -0
- package/node_modules/@smithy/eventstream-codec/dist-es/Int64.js +2 -1
- package/node_modules/@smithy/eventstream-codec/dist-es/MessageDecoderStream.js +1 -0
- package/node_modules/@smithy/eventstream-codec/dist-es/MessageEncoderStream.js +1 -0
- package/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageDecoderStream.js +1 -0
- package/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageEncoderStream.js +1 -0
- package/node_modules/@smithy/eventstream-codec/package.json +4 -4
- package/node_modules/@smithy/eventstream-serde-browser/dist-cjs/index.js +51 -96
- package/node_modules/@smithy/eventstream-serde-browser/dist-es/EventStreamMarshaller.js +1 -0
- package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -3
- package/node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js +4 -33
- package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +2 -2
- package/node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js +44 -80
- package/node_modules/@smithy/eventstream-serde-node/dist-es/EventStreamMarshaller.js +1 -0
- package/node_modules/@smithy/eventstream-serde-node/package.json +3 -3
- package/node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js +120 -170
- package/node_modules/@smithy/eventstream-serde-universal/dist-es/EventStreamMarshaller.js +2 -0
- package/node_modules/@smithy/eventstream-serde-universal/package.json +4 -4
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +190 -238
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +2 -0
- package/node_modules/@smithy/fetch-http-handler/package.json +6 -6
- package/node_modules/@smithy/hash-blob-browser/dist-cjs/index.js +10 -36
- package/node_modules/@smithy/hash-blob-browser/package.json +5 -5
- package/node_modules/@smithy/hash-node/dist-cjs/index.js +38 -63
- package/node_modules/@smithy/hash-node/dist-es/index.js +3 -0
- package/node_modules/@smithy/hash-node/package.json +4 -4
- package/node_modules/@smithy/hash-stream-node/dist-cjs/index.js +58 -92
- package/node_modules/@smithy/hash-stream-node/dist-es/HashCalculator.js +1 -0
- package/node_modules/@smithy/hash-stream-node/package.json +4 -4
- package/node_modules/@smithy/invalid-dependency/dist-cjs/index.js +7 -38
- package/node_modules/@smithy/invalid-dependency/package.json +2 -2
- package/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +4 -30
- package/node_modules/@smithy/is-array-buffer/package.json +1 -1
- package/node_modules/@smithy/md5-js/dist-cjs/index.js +153 -186
- package/node_modules/@smithy/md5-js/dist-es/index.js +5 -0
- package/node_modules/@smithy/md5-js/package.json +5 -5
- package/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +39 -64
- package/node_modules/@smithy/middleware-content-length/package.json +3 -3
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +219 -277
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/LICENSE +201 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/README.md +105 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +26 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +12 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +16 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +189 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +17 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js +16 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +18 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +4 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +4 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +22 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +3 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +8 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +12 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +5 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +9 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +39 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +9 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +14 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +52 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +6 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +13 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js +1 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/externalDataInterceptor.d.ts +9 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +8 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +2 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +2 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +6 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +15 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +5 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +50 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +6 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +9 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +36 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +17 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +7 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +2 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +18 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +7 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/externalDataInterceptor.d.ts +9 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +8 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +2 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +2 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +6 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +15 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +5 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +50 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +6 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +9 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +36 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +17 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +7 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +2 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +18 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +7 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +16 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +16 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/package.json +73 -0
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
- package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +327 -380
- package/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.browser.js +1 -1
- package/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js +2 -2
- package/node_modules/@smithy/middleware-retry/dist-es/AdaptiveRetryStrategy.js +1 -0
- package/node_modules/@smithy/middleware-retry/dist-es/StandardRetryStrategy.js +5 -1
- package/node_modules/@smithy/middleware-retry/package.json +9 -9
- package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +89 -118
- package/node_modules/@smithy/middleware-serde/package.json +3 -3
- package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +274 -297
- package/node_modules/@smithy/middleware-stack/package.json +2 -2
- package/node_modules/@smithy/node-config-provider/dist-cjs/index.js +51 -98
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/LICENSE +201 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/README.md +10 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/index.js +117 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +8 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/ProviderError.js +23 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +8 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/chain.js +21 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/fromStatic.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/index.js +6 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/memoize.js +45 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +31 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +39 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +31 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/chain.d.ts +13 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +5 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/index.d.ts +24 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +40 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +31 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +39 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +31 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +13 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +5 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +24 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +40 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/package.json +61 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/LICENSE +201 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/README.md +105 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +26 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +12 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +16 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +189 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +17 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js +16 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +18 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +4 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +4 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +22 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +3 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +8 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +12 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +5 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +9 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +39 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +9 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +14 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +52 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +6 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +13 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/externalDataInterceptor.d.ts +9 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +8 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +2 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +2 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +6 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +15 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +5 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +50 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +6 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +9 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +36 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +17 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +7 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +2 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +18 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +7 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/externalDataInterceptor.d.ts +9 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +8 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +2 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +2 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +6 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +15 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +5 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +50 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +6 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +9 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +36 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +17 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +7 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +2 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +18 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +7 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +16 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +16 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/package.json +73 -0
- package/node_modules/@smithy/node-config-provider/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +685 -769
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +12 -6
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +2 -1
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +4 -2
- package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +3 -1
- package/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js +21 -0
- package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +2 -3
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +1 -4
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +3 -1
- package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +6 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +6 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/LICENSE +201 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/README.md +4 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/index.js +32 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/AbortController.js +7 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +20 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/index.js +2 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +16 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +21 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/index.d.ts +9 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +16 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +21 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts +9 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/package.json +63 -0
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@smithy/property-provider/dist-cjs/index.js +105 -158
- package/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +1 -1
- package/node_modules/@smithy/property-provider/dist-es/ProviderError.js +2 -1
- package/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +1 -1
- package/node_modules/@smithy/property-provider/package.json +2 -2
- package/node_modules/@smithy/protocol-http/dist-cjs/index.js +154 -246
- package/node_modules/@smithy/protocol-http/dist-es/Field.js +3 -0
- package/node_modules/@smithy/protocol-http/dist-es/Fields.js +2 -1
- package/node_modules/@smithy/protocol-http/dist-es/httpRequest.js +11 -0
- package/node_modules/@smithy/protocol-http/dist-es/httpResponse.js +4 -0
- package/node_modules/@smithy/protocol-http/package.json +2 -2
- package/node_modules/@smithy/querystring-builder/dist-cjs/index.js +21 -47
- package/node_modules/@smithy/querystring-builder/package.json +3 -3
- package/node_modules/@smithy/querystring-parser/dist-cjs/index.js +22 -48
- package/node_modules/@smithy/querystring-parser/package.json +2 -2
- package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +70 -103
- package/node_modules/@smithy/service-error-classification/package.json +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +171 -210
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +525 -648
- package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +2 -1
- package/node_modules/@smithy/signature-v4/dist-es/SignatureV4.js +1 -1
- package/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js +6 -0
- package/node_modules/@smithy/signature-v4/package.json +8 -8
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +555 -747
- package/node_modules/@smithy/smithy-client/dist-es/client.js +4 -1
- package/node_modules/@smithy/smithy-client/dist-es/command.js +22 -22
- package/node_modules/@smithy/smithy-client/dist-es/exceptions.js +4 -0
- package/node_modules/@smithy/smithy-client/dist-types/command.d.ts +3 -3
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts +3 -3
- package/node_modules/@smithy/smithy-client/package.json +7 -7
- package/node_modules/@smithy/types/dist-cjs/index.js +80 -133
- package/node_modules/@smithy/types/dist-es/index.js +1 -0
- package/node_modules/@smithy/types/dist-es/schema/static-schemas.js +1 -0
- package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +17 -10
- package/node_modules/@smithy/types/dist-types/index.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +2 -1
- package/node_modules/@smithy/types/dist-types/schema/static-schemas.d.ts +82 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +17 -10
- package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +2 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +101 -0
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/dist-cjs/index.js +20 -46
- package/node_modules/@smithy/url-parser/package.json +3 -3
- package/node_modules/@smithy/util-base64/dist-cjs/constants.browser.js +9 -32
- package/node_modules/@smithy/util-base64/dist-cjs/index.js +16 -24
- package/node_modules/@smithy/util-base64/dist-es/constants.browser.js +9 -28
- package/node_modules/@smithy/util-base64/dist-types/constants.browser.d.ts +5 -6
- package/node_modules/@smithy/util-base64/dist-types/ts3.4/constants.browser.d.ts +5 -6
- package/node_modules/@smithy/util-base64/package.json +3 -3
- package/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js +26 -50
- package/node_modules/@smithy/util-body-length-browser/package.json +1 -1
- package/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +29 -50
- package/node_modules/@smithy/util-body-length-node/dist-es/calculateBodyLength.js +8 -6
- package/node_modules/@smithy/util-body-length-node/package.json +1 -1
- package/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +17 -44
- package/node_modules/@smithy/util-buffer-from/package.json +2 -2
- package/node_modules/@smithy/util-config-provider/dist-cjs/index.js +26 -56
- package/node_modules/@smithy/util-config-provider/package.json +1 -1
- package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js +9 -22
- package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/resolveDefaultsModeConfig.js +13 -12
- package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/resolveDefaultsModeConfig.native.js +2 -2
- package/node_modules/@smithy/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.js +11 -8
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/LICENSE +201 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/README.md +10 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/index.js +117 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +8 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/ProviderError.js +23 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +8 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/chain.js +21 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/fromStatic.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/index.js +6 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/memoize.js +45 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +31 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +39 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +31 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/chain.d.ts +13 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +5 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/index.d.ts +24 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +40 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +31 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +39 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +31 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +13 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +5 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +24 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +40 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/package.json +61 -0
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -5
- package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +65 -110
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/LICENSE +201 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/README.md +11 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +372 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/Endpoint.js +5 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointConfigOptions.js +7 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointMode.js +5 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointModeConfigOptions.js +8 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/error/InstanceMetadataV1FallbackError.js +10 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js +77 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/fromInstanceMetadata.js +134 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/index.js +7 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js +13 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/RemoteProviderInit.js +3 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js +36 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/index.js +2 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/retry.js +7 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/types.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/utils/getExtendedInstanceMetadataCredentials.js +17 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/utils/getInstanceMetadataEndpoint.js +19 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/utils/staticStabilityProvider.js +25 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/Endpoint.d.ts +7 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointConfigOptions.d.ts +13 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointMode.d.ts +7 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointModeConfigOptions.d.ts +13 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/error/InstanceMetadataV1FallbackError.d.ts +12 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/fromContainerMetadata.d.ts +21 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/fromInstanceMetadata.d.ts +10 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/index.d.ts +28 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/ImdsCredentials.d.ts +19 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/RemoteProviderInit.d.ts +40 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +6 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/index.d.ts +8 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/retry.d.ts +10 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/Endpoint.d.ts +7 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointConfigOptions.d.ts +13 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointMode.d.ts +7 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointModeConfigOptions.d.ts +13 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/error/InstanceMetadataV1FallbackError.d.ts +12 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromContainerMetadata.d.ts +21 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromInstanceMetadata.d.ts +10 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/index.d.ts +28 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/ImdsCredentials.d.ts +19 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/RemoteProviderInit.d.ts +40 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts +6 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/index.d.ts +8 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/retry.d.ts +10 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/types.d.ts +7 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getExtendedInstanceMetadataCredentials.d.ts +6 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getInstanceMetadataEndpoint.d.ts +21 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/staticStabilityProvider.d.ts +16 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/types.d.ts +7 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/utils/getExtendedInstanceMetadataCredentials.d.ts +6 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/utils/getInstanceMetadataEndpoint.d.ts +21 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/utils/staticStabilityProvider.d.ts +16 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/package.json +70 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/LICENSE +201 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/README.md +10 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/index.js +117 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +8 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/ProviderError.js +23 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +8 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/chain.js +21 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/fromStatic.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/index.js +6 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/memoize.js +45 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +31 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +39 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +31 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/chain.d.ts +13 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +5 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/index.d.ts +24 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +40 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +31 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +39 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +31 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +13 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +5 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +24 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +40 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/package.json +61 -0
- package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +445 -526
- package/node_modules/@smithy/util-endpoints/dist-es/cache/EndpointCache.js +3 -2
- package/node_modules/@smithy/util-endpoints/package.json +3 -3
- package/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js +29 -58
- package/node_modules/@smithy/util-hex-encoding/package.json +1 -1
- package/node_modules/@smithy/util-middleware/dist-cjs/index.js +11 -40
- package/node_modules/@smithy/util-middleware/package.json +2 -2
- package/node_modules/@smithy/util-retry/dist-cjs/index.js +260 -340
- package/node_modules/@smithy/util-retry/dist-es/AdaptiveRetryStrategy.js +4 -1
- package/node_modules/@smithy/util-retry/dist-es/ConfiguredRetryStrategy.js +1 -0
- package/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js +17 -8
- package/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js +5 -3
- package/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js +3 -2
- package/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js +7 -3
- package/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js +2 -3
- package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js +1 -1
- package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js +2 -3
- package/node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js +1 -2
- package/node_modules/@smithy/util-stream/dist-cjs/headStream.js +4 -8
- package/node_modules/@smithy/util-stream/dist-cjs/index.js +80 -92
- package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js +1 -2
- package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +1 -2
- package/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js +3 -7
- package/node_modules/@smithy/util-stream/dist-es/ByteArrayCollector.js +3 -2
- package/node_modules/@smithy/util-stream/dist-es/blob/Uint8ArrayBlobAdapter.js +3 -5
- package/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.js +5 -0
- package/node_modules/@smithy/util-stream/dist-es/headStream.js +3 -6
- package/node_modules/@smithy/util-stream/dist-types/blob/Uint8ArrayBlobAdapter.d.ts +1 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/blob/Uint8ArrayBlobAdapter.d.ts +1 -0
- package/node_modules/@smithy/util-stream/package.json +8 -8
- package/node_modules/@smithy/util-uri-escape/dist-cjs/index.js +6 -40
- package/node_modules/@smithy/util-uri-escape/package.json +1 -1
- package/node_modules/@smithy/util-utf8/dist-cjs/index.js +27 -60
- package/node_modules/@smithy/util-utf8/package.json +2 -2
- package/node_modules/@smithy/util-waiter/dist-cjs/index.js +152 -189
- package/node_modules/@smithy/util-waiter/package.json +3 -3
- package/node_modules/@smithy/uuid/dist-cjs/index.js +33 -42
- package/node_modules/@smithy/uuid/package.json +1 -1
- package/node_modules/cdk-nag/.jsii +3 -3
- package/node_modules/cdk-nag/API.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/node_modules/mailparser/CHANGELOG.md +7 -0
- package/node_modules/mailparser/lib/mail-parser.js +12 -3
- package/node_modules/mailparser/node_modules/iconv-lite/Changelog.md +236 -0
- package/node_modules/mailparser/node_modules/iconv-lite/LICENSE +21 -0
- package/node_modules/mailparser/node_modules/iconv-lite/README.md +138 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/index.js +23 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/internal.js +218 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/sbcs-data.js +178 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/utf16.js +187 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/utf32.js +307 -0
- package/node_modules/mailparser/node_modules/iconv-lite/encodings/utf7.js +283 -0
- package/node_modules/mailparser/node_modules/iconv-lite/lib/bom-handling.js +48 -0
- package/node_modules/mailparser/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
- package/node_modules/mailparser/node_modules/iconv-lite/lib/index.d.ts +41 -0
- package/node_modules/mailparser/node_modules/iconv-lite/lib/index.js +183 -0
- package/node_modules/mailparser/node_modules/iconv-lite/lib/streams.js +105 -0
- package/node_modules/mailparser/node_modules/iconv-lite/package.json +59 -0
- package/node_modules/mailparser/package.json +5 -5
- package/node_modules/mailsplit/index.js +2 -0
- package/node_modules/mailsplit/lib/chunked-passthrough.js +37 -0
- package/node_modules/mailsplit/package.json +1 -1
- package/node_modules/nodemailer/.ncurc.js +3 -5
- package/node_modules/nodemailer/.prettierignore +8 -0
- package/node_modules/nodemailer/.prettierrc +12 -0
- package/node_modules/nodemailer/.prettierrc.js +2 -0
- package/node_modules/nodemailer/.release-please-config.json +9 -0
- package/node_modules/nodemailer/CHANGELOG.md +323 -305
- package/node_modules/nodemailer/CODE_OF_CONDUCT.md +13 -13
- package/node_modules/nodemailer/README.md +10 -10
- package/node_modules/nodemailer/eslint.config.js +88 -0
- package/node_modules/nodemailer/lib/addressparser/index.js +47 -7
- package/node_modules/nodemailer/lib/base64/index.js +11 -14
- package/node_modules/nodemailer/lib/dkim/index.js +3 -1
- package/node_modules/nodemailer/lib/dkim/sign.js +1 -1
- package/node_modules/nodemailer/lib/fetch/index.js +7 -1
- package/node_modules/nodemailer/lib/mail-composer/index.js +47 -9
- package/node_modules/nodemailer/lib/mailer/index.js +8 -1
- package/node_modules/nodemailer/lib/mailer/mail-message.js +2 -1
- package/node_modules/nodemailer/lib/mime-funcs/index.js +2 -2
- package/node_modules/nodemailer/lib/mime-funcs/mime-types.js +12 -3
- package/node_modules/nodemailer/lib/mime-node/index.js +11 -9
- package/node_modules/nodemailer/lib/nodemailer.js +3 -1
- package/node_modules/nodemailer/lib/qp/index.js +10 -2
- package/node_modules/nodemailer/lib/shared/index.js +108 -42
- package/node_modules/nodemailer/lib/smtp-connection/http-proxy-client.js +2 -2
- package/node_modules/nodemailer/lib/smtp-connection/index.js +13 -6
- package/node_modules/nodemailer/lib/smtp-pool/pool-resource.js +3 -2
- package/node_modules/nodemailer/lib/smtp-transport/index.js +1 -1
- package/node_modules/nodemailer/lib/well-known/services.json +277 -42
- package/node_modules/nodemailer/lib/xoauth2/index.js +58 -7
- package/node_modules/nodemailer/package.json +9 -5
- package/node_modules/tlds/index.json +0 -1
- package/node_modules/tlds/package.json +1 -1
- package/package.json +1 -1
- package/node_modules/@smithy/abort-controller/dist-cjs/AbortController.js +0 -1
- package/node_modules/@smithy/abort-controller/dist-cjs/AbortSignal.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/NodeUseFipsEndpointConfigOptions.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/index.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/resolveCustomEndpointsConfig.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/resolveEndpointsConfig.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/utils/getEndpointFromRegion.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/config.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/getRealRegion.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/index.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/isFipsRegion.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/resolveRegionConfig.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/EndpointVariant.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/EndpointVariantTag.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/PartitionHash.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/RegionHash.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getHostnameFromVariants.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getRegionInfo.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getResolvedHostname.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getResolvedPartition.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getResolvedSigningRegion.js +0 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/index.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/config/Endpoint.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointConfigOptions.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointMode.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointModeConfigOptions.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/error/InstanceMetadataV1FallbackError.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/fromContainerMetadata.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/fromInstanceMetadata.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/ImdsCredentials.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/RemoteProviderInit.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/httpRequest.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/index.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/retry.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/types.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getExtendedInstanceMetadataCredentials.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getInstanceMetadataEndpoint.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/staticStabilityProvider.js +0 -1
- package/node_modules/@smithy/eventstream-codec/dist-cjs/EventStreamCodec.js +0 -1
- package/node_modules/@smithy/eventstream-codec/dist-cjs/HeaderMarshaller.js +0 -1
- package/node_modules/@smithy/eventstream-codec/dist-cjs/Int64.js +0 -1
- package/node_modules/@smithy/eventstream-codec/dist-cjs/Message.js +0 -1
- package/node_modules/@smithy/eventstream-codec/dist-cjs/MessageDecoderStream.js +0 -1
- package/node_modules/@smithy/eventstream-codec/dist-cjs/MessageEncoderStream.js +0 -1
- package/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageDecoderStream.js +0 -1
- package/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageEncoderStream.js +0 -1
- package/node_modules/@smithy/eventstream-codec/dist-cjs/TestVectors.fixture.js +0 -1
- package/node_modules/@smithy/eventstream-codec/dist-cjs/splitMessage.js +0 -1
- package/node_modules/@smithy/eventstream-codec/dist-cjs/vectorTypes.fixture.js +0 -1
- package/node_modules/@smithy/eventstream-serde-browser/dist-cjs/EventStreamMarshaller.js +0 -1
- package/node_modules/@smithy/eventstream-serde-browser/dist-cjs/provider.js +0 -1
- package/node_modules/@smithy/eventstream-serde-browser/dist-cjs/utils.js +0 -1
- package/node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/EventStreamSerdeConfig.js +0 -1
- package/node_modules/@smithy/eventstream-serde-node/dist-cjs/EventStreamMarshaller.js +0 -1
- package/node_modules/@smithy/eventstream-serde-node/dist-cjs/provider.js +0 -1
- package/node_modules/@smithy/eventstream-serde-node/dist-cjs/utils.js +0 -1
- package/node_modules/@smithy/eventstream-serde-universal/dist-cjs/EventStreamMarshaller.js +0 -1
- package/node_modules/@smithy/eventstream-serde-universal/dist-cjs/getChunkedStream.js +0 -1
- package/node_modules/@smithy/eventstream-serde-universal/dist-cjs/getUnmarshalledStream.js +0 -1
- package/node_modules/@smithy/eventstream-serde-universal/dist-cjs/provider.js +0 -1
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/create-request.js +0 -1
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/fetch-http-handler.js +0 -1
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/request-timeout.js +0 -1
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/stream-collector.js +0 -1
- package/node_modules/@smithy/hash-stream-node/dist-cjs/HashCalculator.js +0 -1
- package/node_modules/@smithy/hash-stream-node/dist-cjs/fileStreamHasher.js +0 -1
- package/node_modules/@smithy/hash-stream-node/dist-cjs/readableStreamHasher.js +0 -1
- package/node_modules/@smithy/invalid-dependency/dist-cjs/invalidFunction.js +0 -1
- package/node_modules/@smithy/invalid-dependency/dist-cjs/invalidProvider.js +0 -1
- package/node_modules/@smithy/md5-js/dist-cjs/constants.js +0 -1
- package/node_modules/@smithy/middleware-serde/dist-cjs/deserializerMiddleware.js +0 -1
- package/node_modules/@smithy/middleware-serde/dist-cjs/serdePlugin.js +0 -1
- package/node_modules/@smithy/middleware-serde/dist-cjs/serializerMiddleware.js +0 -1
- package/node_modules/@smithy/middleware-stack/dist-cjs/MiddlewareStack.js +0 -1
- package/node_modules/@smithy/middleware-stack/dist-cjs/types.js +0 -1
- package/node_modules/@smithy/node-config-provider/dist-cjs/configLoader.js +0 -1
- package/node_modules/@smithy/node-config-provider/dist-cjs/fromEnv.js +0 -1
- package/node_modules/@smithy/node-config-provider/dist-cjs/fromSharedConfigFiles.js +0 -1
- package/node_modules/@smithy/node-config-provider/dist-cjs/fromStatic.js +0 -1
- package/node_modules/@smithy/node-config-provider/dist-cjs/getSelectorName.js +0 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/constants.js +0 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/get-transformed-headers.js +0 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/node-http-handler.js +0 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-manager.js +0 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-pool.js +0 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-handler.js +0 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/readable.mock.js +0 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/server.mock.js +0 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/set-connection-timeout.js +0 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-keep-alive.js +0 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-timeout.js +0 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/collector.js +0 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/index.js +0 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/readable.mock.js +0 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/timing.js +0 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/write-request-body.js +0 -1
- package/node_modules/@smithy/property-provider/dist-cjs/CredentialsProviderError.js +0 -1
- package/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +0 -1
- package/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +0 -1
- package/node_modules/@smithy/property-provider/dist-cjs/chain.js +0 -1
- package/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +0 -1
- package/node_modules/@smithy/property-provider/dist-cjs/memoize.js +0 -1
- package/node_modules/@smithy/protocol-http/dist-cjs/Field.js +0 -1
- package/node_modules/@smithy/protocol-http/dist-cjs/Fields.js +0 -1
- package/node_modules/@smithy/protocol-http/dist-cjs/extensions/httpExtensionConfiguration.js +0 -1
- package/node_modules/@smithy/protocol-http/dist-cjs/extensions/index.js +0 -1
- package/node_modules/@smithy/protocol-http/dist-cjs/httpHandler.js +0 -1
- package/node_modules/@smithy/protocol-http/dist-cjs/httpRequest.js +0 -1
- package/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js +0 -1
- package/node_modules/@smithy/protocol-http/dist-cjs/isValidHostname.js +0 -1
- package/node_modules/@smithy/protocol-http/dist-cjs/types.js +0 -1
- package/node_modules/@smithy/service-error-classification/dist-cjs/constants.js +0 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/externalDataInterceptor.js +0 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js +0 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js +0 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js +0 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js +0 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js +0 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js +0 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js +0 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js +0 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js +0 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js +0 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js +0 -1
- package/node_modules/@smithy/signature-v4/dist-cjs/HeaderFormatter.js +0 -1
- package/node_modules/@smithy/signature-v4/dist-cjs/SignatureV4.js +0 -1
- package/node_modules/@smithy/signature-v4/dist-cjs/SignatureV4Base.js +0 -1
- package/node_modules/@smithy/signature-v4/dist-cjs/constants.js +0 -1
- package/node_modules/@smithy/signature-v4/dist-cjs/credentialDerivation.js +0 -1
- package/node_modules/@smithy/signature-v4/dist-cjs/getCanonicalHeaders.js +0 -1
- package/node_modules/@smithy/signature-v4/dist-cjs/getCanonicalQuery.js +0 -1
- package/node_modules/@smithy/signature-v4/dist-cjs/getPayloadHash.js +0 -1
- package/node_modules/@smithy/signature-v4/dist-cjs/headerUtil.js +0 -1
- package/node_modules/@smithy/signature-v4/dist-cjs/moveHeadersToQuery.js +0 -1
- package/node_modules/@smithy/signature-v4/dist-cjs/prepareRequest.js +0 -1
- package/node_modules/@smithy/signature-v4/dist-cjs/signature-v4a-container.js +0 -1
- package/node_modules/@smithy/signature-v4/dist-cjs/suite.fixture.js +0 -1
- package/node_modules/@smithy/signature-v4/dist-cjs/utilDate.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/abort-handler.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/abort.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/auth/HttpApiKeyAuth.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/auth/HttpAuthScheme.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/auth/HttpAuthSchemeProvider.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/auth/HttpSigner.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/auth/IdentityProviderConfig.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/auth/auth.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/auth/index.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/blob/blob-payload-input-types.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/checksum.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/client.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/command.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/connection/config.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/connection/index.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/connection/manager.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/connection/pool.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/crypto.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/downlevel-ts3.4/transform/type-transform.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/encode.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/endpoint.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/endpoints/EndpointRuleObject.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/endpoints/ErrorRuleObject.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/endpoints/RuleSetObject.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/endpoints/TreeRuleObject.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/endpoints/index.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/endpoints/shared.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/eventStream.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/extensions/checksum.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/extensions/defaultClientConfiguration.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/extensions/defaultExtensionConfiguration.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/extensions/index.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/extensions/retry.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/externals-check/browser-externals-check.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/feature-ids.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/http/httpHandlerInitialization.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/http.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/identity/apiKeyIdentity.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/identity/awsCredentialIdentity.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/identity/identity.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/identity/index.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/identity/tokenIdentity.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/logger.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/middleware.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/pagination.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/profile.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/response.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/retry.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/schema/schema.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/schema/sentinels.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/schema/traits.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/serde.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/shapes.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/signature.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/stream.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-common-types.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-input-types.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-output-types.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/transfer.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/transform/client-method-transforms.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/transform/client-payload-blob-type-narrow.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/transform/exact.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/transform/mutable.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/transform/no-undefined.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/transform/type-transform.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/uri.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/util.js +0 -1
- package/node_modules/@smithy/types/dist-cjs/waiter.js +0 -1
- package/node_modules/@smithy/util-body-length-browser/dist-cjs/calculateBodyLength.js +0 -1
- package/node_modules/@smithy/util-body-length-node/dist-cjs/calculateBodyLength.js +0 -1
- package/node_modules/@smithy/util-config-provider/dist-cjs/booleanSelector.js +0 -1
- package/node_modules/@smithy/util-config-provider/dist-cjs/numberSelector.js +0 -1
- package/node_modules/@smithy/util-config-provider/dist-cjs/types.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/cache/EndpointCache.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/debug/debugId.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/debug/index.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/debug/toDebugString.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/getEndpointUrlConfig.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/booleanEquals.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/getAttr.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/getAttrPathList.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/index.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/isIpAddress.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/isSet.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/isValidHostLabel.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/not.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/parseURL.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/stringEquals.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/substring.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/uriEncode.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/resolveEndpoint.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/EndpointError.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/EndpointFunctions.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/EndpointRuleObject.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/ErrorRuleObject.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/RuleSetObject.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/TreeRuleObject.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/index.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/shared.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/callFunction.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/customEndpointFunctions.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/endpointFunctions.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateCondition.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateConditions.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateEndpointRule.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateErrorRule.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateExpression.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateRules.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateTemplate.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateTreeRule.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getEndpointHeaders.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getEndpointProperties.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getEndpointProperty.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getEndpointUrl.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getReferenceValue.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/index.js +0 -1
- package/node_modules/@smithy/util-middleware/dist-cjs/getSmithyContext.js +0 -1
- package/node_modules/@smithy/util-middleware/dist-cjs/normalizeProvider.js +0 -1
- package/node_modules/@smithy/util-retry/dist-cjs/AdaptiveRetryStrategy.js +0 -1
- package/node_modules/@smithy/util-retry/dist-cjs/ConfiguredRetryStrategy.js +0 -1
- package/node_modules/@smithy/util-retry/dist-cjs/DefaultRateLimiter.js +0 -1
- package/node_modules/@smithy/util-retry/dist-cjs/StandardRetryStrategy.js +0 -1
- package/node_modules/@smithy/util-retry/dist-cjs/config.js +0 -1
- package/node_modules/@smithy/util-retry/dist-cjs/constants.js +0 -1
- package/node_modules/@smithy/util-retry/dist-cjs/defaultRetryBackoffStrategy.js +0 -1
- package/node_modules/@smithy/util-retry/dist-cjs/defaultRetryToken.js +0 -1
- package/node_modules/@smithy/util-retry/dist-cjs/types.js +0 -1
- package/node_modules/@smithy/util-stream/dist-cjs/blob/Uint8ArrayBlobAdapter.js +0 -1
- package/node_modules/@smithy/util-stream/dist-cjs/blob/transforms.js +0 -1
- package/node_modules/@smithy/util-uri-escape/dist-cjs/escape-uri-path.js +0 -1
- package/node_modules/@smithy/util-uri-escape/dist-cjs/escape-uri.js +0 -1
- package/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js +0 -1
- package/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js +0 -1
- package/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js +0 -1
- package/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js +0 -1
- package/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js +0 -1
- package/node_modules/@smithy/util-waiter/dist-cjs/createWaiter.js +0 -1
- package/node_modules/@smithy/util-waiter/dist-cjs/poller.js +0 -1
- package/node_modules/@smithy/util-waiter/dist-cjs/utils/index.js +0 -1
- package/node_modules/@smithy/util-waiter/dist-cjs/utils/sleep.js +0 -1
- package/node_modules/@smithy/util-waiter/dist-cjs/utils/validate.js +0 -1
- package/node_modules/@smithy/util-waiter/dist-cjs/waiter.js +0 -1
- package/node_modules/@smithy/uuid/dist-cjs/randomUUID.browser.js +0 -1
- package/node_modules/@smithy/uuid/dist-cjs/v4.js +0 -1
- /package/node_modules/@smithy/core/dist-es/{protocols → request-builder}/requestBuilder.js +0 -0
- /package/node_modules/@smithy/core/dist-types/{protocols → request-builder}/requestBuilder.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/ts3.4/{protocols → request-builder}/requestBuilder.d.ts +0 -0
|
@@ -1,899 +1,624 @@
|
|
|
1
|
-
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all)
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
-
};
|
|
11
|
-
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
-
for (let key of __getOwnPropNames(from))
|
|
14
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
-
}
|
|
17
|
-
return to;
|
|
18
|
-
};
|
|
19
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
-
|
|
21
|
-
// src/submodules/sso-oidc/index.ts
|
|
22
|
-
var index_exports = {};
|
|
23
|
-
__export(index_exports, {
|
|
24
|
-
$Command: () => import_smithy_client6.Command,
|
|
25
|
-
AccessDeniedException: () => AccessDeniedException,
|
|
26
|
-
AccessDeniedExceptionReason: () => AccessDeniedExceptionReason,
|
|
27
|
-
AuthorizationPendingException: () => AuthorizationPendingException,
|
|
28
|
-
CreateTokenCommand: () => CreateTokenCommand,
|
|
29
|
-
CreateTokenRequestFilterSensitiveLog: () => CreateTokenRequestFilterSensitiveLog,
|
|
30
|
-
CreateTokenResponseFilterSensitiveLog: () => CreateTokenResponseFilterSensitiveLog,
|
|
31
|
-
ExpiredTokenException: () => ExpiredTokenException,
|
|
32
|
-
InternalServerException: () => InternalServerException,
|
|
33
|
-
InvalidClientException: () => InvalidClientException,
|
|
34
|
-
InvalidGrantException: () => InvalidGrantException,
|
|
35
|
-
InvalidRequestException: () => InvalidRequestException,
|
|
36
|
-
InvalidRequestExceptionReason: () => InvalidRequestExceptionReason,
|
|
37
|
-
InvalidScopeException: () => InvalidScopeException,
|
|
38
|
-
SSOOIDC: () => SSOOIDC,
|
|
39
|
-
SSOOIDCClient: () => SSOOIDCClient,
|
|
40
|
-
SSOOIDCServiceException: () => SSOOIDCServiceException,
|
|
41
|
-
SlowDownException: () => SlowDownException,
|
|
42
|
-
UnauthorizedClientException: () => UnauthorizedClientException,
|
|
43
|
-
UnsupportedGrantTypeException: () => UnsupportedGrantTypeException,
|
|
44
|
-
__Client: () => import_smithy_client2.Client
|
|
45
|
-
});
|
|
46
|
-
module.exports = __toCommonJS(index_exports);
|
|
1
|
+
'use strict';
|
|
47
2
|
|
|
48
|
-
|
|
49
|
-
var
|
|
50
|
-
var
|
|
51
|
-
var
|
|
52
|
-
var
|
|
53
|
-
var
|
|
54
|
-
var
|
|
55
|
-
var
|
|
56
|
-
var
|
|
57
|
-
var
|
|
58
|
-
var
|
|
59
|
-
var
|
|
3
|
+
var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
4
|
+
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
+
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
+
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
|
+
var configResolver = require('@smithy/config-resolver');
|
|
8
|
+
var core = require('@smithy/core');
|
|
9
|
+
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
|
+
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
|
+
var middlewareRetry = require('@smithy/middleware-retry');
|
|
12
|
+
var smithyClient = require('@smithy/smithy-client');
|
|
13
|
+
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
14
|
+
var runtimeConfig = require('./runtimeConfig');
|
|
15
|
+
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
+
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
+
var core$1 = require('@aws-sdk/core');
|
|
60
19
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
20
|
+
const resolveClientEndpointParameters = (options) => {
|
|
21
|
+
return Object.assign(options, {
|
|
22
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
23
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
24
|
+
defaultSigningName: "sso-oauth",
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
const commonParams = {
|
|
28
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
29
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
30
|
+
Region: { type: "builtInParams", name: "region" },
|
|
31
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
74
32
|
};
|
|
75
33
|
|
|
76
|
-
|
|
77
|
-
|
|
34
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
37
|
+
let _credentials = runtimeConfig.credentials;
|
|
38
|
+
return {
|
|
39
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
40
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
41
|
+
if (index === -1) {
|
|
42
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
httpAuthSchemes() {
|
|
49
|
+
return _httpAuthSchemes;
|
|
50
|
+
},
|
|
51
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
52
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
53
|
+
},
|
|
54
|
+
httpAuthSchemeProvider() {
|
|
55
|
+
return _httpAuthSchemeProvider;
|
|
56
|
+
},
|
|
57
|
+
setCredentials(credentials) {
|
|
58
|
+
_credentials = credentials;
|
|
59
|
+
},
|
|
60
|
+
credentials() {
|
|
61
|
+
return _credentials;
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
66
|
+
return {
|
|
67
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
68
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
69
|
+
credentials: config.credentials(),
|
|
70
|
+
};
|
|
71
|
+
};
|
|
78
72
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
73
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
74
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
75
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
76
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
77
|
+
};
|
|
83
78
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
79
|
+
class SSOOIDCClient extends smithyClient.Client {
|
|
80
|
+
config;
|
|
81
|
+
constructor(...[configuration]) {
|
|
82
|
+
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
83
|
+
super(_config_0);
|
|
84
|
+
this.initConfig = _config_0;
|
|
85
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
86
|
+
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
87
|
+
const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
|
|
88
|
+
const _config_4 = configResolver.resolveRegionConfig(_config_3);
|
|
89
|
+
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
90
|
+
const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
|
|
91
|
+
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
92
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
93
|
+
this.config = _config_8;
|
|
94
|
+
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
95
|
+
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
101
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultSSOOIDCHttpAuthSchemeParametersProvider,
|
|
102
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
103
|
+
"aws.auth#sigv4": config.credentials,
|
|
104
|
+
}),
|
|
105
|
+
}));
|
|
106
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
112
107
|
}
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
118
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
119
|
-
credentials: config.credentials()
|
|
120
|
-
};
|
|
121
|
-
}, "resolveHttpAuthRuntimeConfig");
|
|
108
|
+
destroy() {
|
|
109
|
+
super.destroy();
|
|
110
|
+
}
|
|
111
|
+
}
|
|
122
112
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
130
|
-
);
|
|
131
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
132
|
-
return Object.assign(
|
|
133
|
-
runtimeConfig,
|
|
134
|
-
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
135
|
-
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
136
|
-
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
137
|
-
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
138
|
-
);
|
|
139
|
-
}, "resolveRuntimeExtensions");
|
|
113
|
+
class SSOOIDCServiceException extends smithyClient.ServiceException {
|
|
114
|
+
constructor(options) {
|
|
115
|
+
super(options);
|
|
116
|
+
Object.setPrototypeOf(this, SSOOIDCServiceException.prototype);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
140
119
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
static {
|
|
144
|
-
__name(this, "SSOOIDCClient");
|
|
145
|
-
}
|
|
146
|
-
/**
|
|
147
|
-
* The resolved configuration of SSOOIDCClient class. This is resolved and normalized from the {@link SSOOIDCClientConfig | constructor configuration interface}.
|
|
148
|
-
*/
|
|
149
|
-
config;
|
|
150
|
-
constructor(...[configuration]) {
|
|
151
|
-
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
152
|
-
super(_config_0);
|
|
153
|
-
this.initConfig = _config_0;
|
|
154
|
-
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
155
|
-
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
156
|
-
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
157
|
-
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
158
|
-
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
159
|
-
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
160
|
-
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
161
|
-
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
162
|
-
this.config = _config_8;
|
|
163
|
-
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
164
|
-
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
165
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
166
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
167
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
168
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
169
|
-
this.middlewareStack.use(
|
|
170
|
-
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
171
|
-
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSSOOIDCHttpAuthSchemeParametersProvider,
|
|
172
|
-
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
173
|
-
"aws.auth#sigv4": config.credentials
|
|
174
|
-
}), "identityProviderConfigProvider")
|
|
175
|
-
})
|
|
176
|
-
);
|
|
177
|
-
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
178
|
-
}
|
|
179
|
-
/**
|
|
180
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
181
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
182
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
183
|
-
*/
|
|
184
|
-
destroy() {
|
|
185
|
-
super.destroy();
|
|
186
|
-
}
|
|
120
|
+
const AccessDeniedExceptionReason = {
|
|
121
|
+
KMS_ACCESS_DENIED: "KMS_AccessDeniedException",
|
|
187
122
|
};
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
123
|
+
class AccessDeniedException extends SSOOIDCServiceException {
|
|
124
|
+
name = "AccessDeniedException";
|
|
125
|
+
$fault = "client";
|
|
126
|
+
error;
|
|
127
|
+
reason;
|
|
128
|
+
error_description;
|
|
129
|
+
constructor(opts) {
|
|
130
|
+
super({
|
|
131
|
+
name: "AccessDeniedException",
|
|
132
|
+
$fault: "client",
|
|
133
|
+
...opts,
|
|
134
|
+
});
|
|
135
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
136
|
+
this.error = opts.error;
|
|
137
|
+
this.reason = opts.reason;
|
|
138
|
+
this.error_description = opts.error_description;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
class AuthorizationPendingException extends SSOOIDCServiceException {
|
|
142
|
+
name = "AuthorizationPendingException";
|
|
143
|
+
$fault = "client";
|
|
144
|
+
error;
|
|
145
|
+
error_description;
|
|
146
|
+
constructor(opts) {
|
|
147
|
+
super({
|
|
148
|
+
name: "AuthorizationPendingException",
|
|
149
|
+
$fault: "client",
|
|
150
|
+
...opts,
|
|
151
|
+
});
|
|
152
|
+
Object.setPrototypeOf(this, AuthorizationPendingException.prototype);
|
|
153
|
+
this.error = opts.error;
|
|
154
|
+
this.error_description = opts.error_description;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
const CreateTokenRequestFilterSensitiveLog = (obj) => ({
|
|
158
|
+
...obj,
|
|
159
|
+
...(obj.clientSecret && { clientSecret: smithyClient.SENSITIVE_STRING }),
|
|
160
|
+
...(obj.refreshToken && { refreshToken: smithyClient.SENSITIVE_STRING }),
|
|
161
|
+
...(obj.codeVerifier && { codeVerifier: smithyClient.SENSITIVE_STRING }),
|
|
162
|
+
});
|
|
163
|
+
const CreateTokenResponseFilterSensitiveLog = (obj) => ({
|
|
164
|
+
...obj,
|
|
165
|
+
...(obj.accessToken && { accessToken: smithyClient.SENSITIVE_STRING }),
|
|
166
|
+
...(obj.refreshToken && { refreshToken: smithyClient.SENSITIVE_STRING }),
|
|
167
|
+
...(obj.idToken && { idToken: smithyClient.SENSITIVE_STRING }),
|
|
168
|
+
});
|
|
169
|
+
class ExpiredTokenException extends SSOOIDCServiceException {
|
|
170
|
+
name = "ExpiredTokenException";
|
|
171
|
+
$fault = "client";
|
|
172
|
+
error;
|
|
173
|
+
error_description;
|
|
174
|
+
constructor(opts) {
|
|
175
|
+
super({
|
|
176
|
+
name: "ExpiredTokenException",
|
|
177
|
+
$fault: "client",
|
|
178
|
+
...opts,
|
|
179
|
+
});
|
|
180
|
+
Object.setPrototypeOf(this, ExpiredTokenException.prototype);
|
|
181
|
+
this.error = opts.error;
|
|
182
|
+
this.error_description = opts.error_description;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
class InternalServerException extends SSOOIDCServiceException {
|
|
186
|
+
name = "InternalServerException";
|
|
187
|
+
$fault = "server";
|
|
188
|
+
error;
|
|
189
|
+
error_description;
|
|
190
|
+
constructor(opts) {
|
|
191
|
+
super({
|
|
192
|
+
name: "InternalServerException",
|
|
193
|
+
$fault: "server",
|
|
194
|
+
...opts,
|
|
195
|
+
});
|
|
196
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
197
|
+
this.error = opts.error;
|
|
198
|
+
this.error_description = opts.error_description;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
class InvalidClientException extends SSOOIDCServiceException {
|
|
202
|
+
name = "InvalidClientException";
|
|
203
|
+
$fault = "client";
|
|
204
|
+
error;
|
|
205
|
+
error_description;
|
|
206
|
+
constructor(opts) {
|
|
207
|
+
super({
|
|
208
|
+
name: "InvalidClientException",
|
|
209
|
+
$fault: "client",
|
|
210
|
+
...opts,
|
|
211
|
+
});
|
|
212
|
+
Object.setPrototypeOf(this, InvalidClientException.prototype);
|
|
213
|
+
this.error = opts.error;
|
|
214
|
+
this.error_description = opts.error_description;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
class InvalidGrantException extends SSOOIDCServiceException {
|
|
218
|
+
name = "InvalidGrantException";
|
|
219
|
+
$fault = "client";
|
|
220
|
+
error;
|
|
221
|
+
error_description;
|
|
222
|
+
constructor(opts) {
|
|
223
|
+
super({
|
|
224
|
+
name: "InvalidGrantException",
|
|
225
|
+
$fault: "client",
|
|
226
|
+
...opts,
|
|
227
|
+
});
|
|
228
|
+
Object.setPrototypeOf(this, InvalidGrantException.prototype);
|
|
229
|
+
this.error = opts.error;
|
|
230
|
+
this.error_description = opts.error_description;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
const InvalidRequestExceptionReason = {
|
|
234
|
+
KMS_DISABLED_KEY: "KMS_DisabledException",
|
|
235
|
+
KMS_INVALID_KEY_USAGE: "KMS_InvalidKeyUsageException",
|
|
236
|
+
KMS_INVALID_STATE: "KMS_InvalidStateException",
|
|
237
|
+
KMS_KEY_NOT_FOUND: "KMS_NotFoundException",
|
|
213
238
|
};
|
|
239
|
+
class InvalidRequestException extends SSOOIDCServiceException {
|
|
240
|
+
name = "InvalidRequestException";
|
|
241
|
+
$fault = "client";
|
|
242
|
+
error;
|
|
243
|
+
reason;
|
|
244
|
+
error_description;
|
|
245
|
+
constructor(opts) {
|
|
246
|
+
super({
|
|
247
|
+
name: "InvalidRequestException",
|
|
248
|
+
$fault: "client",
|
|
249
|
+
...opts,
|
|
250
|
+
});
|
|
251
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
252
|
+
this.error = opts.error;
|
|
253
|
+
this.reason = opts.reason;
|
|
254
|
+
this.error_description = opts.error_description;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
class InvalidScopeException extends SSOOIDCServiceException {
|
|
258
|
+
name = "InvalidScopeException";
|
|
259
|
+
$fault = "client";
|
|
260
|
+
error;
|
|
261
|
+
error_description;
|
|
262
|
+
constructor(opts) {
|
|
263
|
+
super({
|
|
264
|
+
name: "InvalidScopeException",
|
|
265
|
+
$fault: "client",
|
|
266
|
+
...opts,
|
|
267
|
+
});
|
|
268
|
+
Object.setPrototypeOf(this, InvalidScopeException.prototype);
|
|
269
|
+
this.error = opts.error;
|
|
270
|
+
this.error_description = opts.error_description;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
class SlowDownException extends SSOOIDCServiceException {
|
|
274
|
+
name = "SlowDownException";
|
|
275
|
+
$fault = "client";
|
|
276
|
+
error;
|
|
277
|
+
error_description;
|
|
278
|
+
constructor(opts) {
|
|
279
|
+
super({
|
|
280
|
+
name: "SlowDownException",
|
|
281
|
+
$fault: "client",
|
|
282
|
+
...opts,
|
|
283
|
+
});
|
|
284
|
+
Object.setPrototypeOf(this, SlowDownException.prototype);
|
|
285
|
+
this.error = opts.error;
|
|
286
|
+
this.error_description = opts.error_description;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
class UnauthorizedClientException extends SSOOIDCServiceException {
|
|
290
|
+
name = "UnauthorizedClientException";
|
|
291
|
+
$fault = "client";
|
|
292
|
+
error;
|
|
293
|
+
error_description;
|
|
294
|
+
constructor(opts) {
|
|
295
|
+
super({
|
|
296
|
+
name: "UnauthorizedClientException",
|
|
297
|
+
$fault: "client",
|
|
298
|
+
...opts,
|
|
299
|
+
});
|
|
300
|
+
Object.setPrototypeOf(this, UnauthorizedClientException.prototype);
|
|
301
|
+
this.error = opts.error;
|
|
302
|
+
this.error_description = opts.error_description;
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
class UnsupportedGrantTypeException extends SSOOIDCServiceException {
|
|
306
|
+
name = "UnsupportedGrantTypeException";
|
|
307
|
+
$fault = "client";
|
|
308
|
+
error;
|
|
309
|
+
error_description;
|
|
310
|
+
constructor(opts) {
|
|
311
|
+
super({
|
|
312
|
+
name: "UnsupportedGrantTypeException",
|
|
313
|
+
$fault: "client",
|
|
314
|
+
...opts,
|
|
315
|
+
});
|
|
316
|
+
Object.setPrototypeOf(this, UnsupportedGrantTypeException.prototype);
|
|
317
|
+
this.error = opts.error;
|
|
318
|
+
this.error_description = opts.error_description;
|
|
319
|
+
}
|
|
320
|
+
}
|
|
214
321
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
322
|
+
const se_CreateTokenCommand = async (input, context) => {
|
|
323
|
+
const b = core.requestBuilder(input, context);
|
|
324
|
+
const headers = {
|
|
325
|
+
"content-type": "application/json",
|
|
326
|
+
};
|
|
327
|
+
b.bp("/token");
|
|
328
|
+
let body;
|
|
329
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
330
|
+
clientId: [],
|
|
331
|
+
clientSecret: [],
|
|
332
|
+
code: [],
|
|
333
|
+
codeVerifier: [],
|
|
334
|
+
deviceCode: [],
|
|
335
|
+
grantType: [],
|
|
336
|
+
redirectUri: [],
|
|
337
|
+
refreshToken: [],
|
|
338
|
+
scope: (_) => smithyClient._json(_),
|
|
339
|
+
}));
|
|
340
|
+
b.m("POST").h(headers).b(body);
|
|
341
|
+
return b.build();
|
|
218
342
|
};
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
*/
|
|
234
|
-
reason;
|
|
235
|
-
/**
|
|
236
|
-
* <p>Human-readable text providing additional information, used to assist the client developer
|
|
237
|
-
* in understanding the error that occurred.</p>
|
|
238
|
-
* @public
|
|
239
|
-
*/
|
|
240
|
-
error_description;
|
|
241
|
-
/**
|
|
242
|
-
* @internal
|
|
243
|
-
*/
|
|
244
|
-
constructor(opts) {
|
|
245
|
-
super({
|
|
246
|
-
name: "AccessDeniedException",
|
|
247
|
-
$fault: "client",
|
|
248
|
-
...opts
|
|
343
|
+
const de_CreateTokenCommand = async (output, context) => {
|
|
344
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
345
|
+
return de_CommandError(output, context);
|
|
346
|
+
}
|
|
347
|
+
const contents = smithyClient.map({
|
|
348
|
+
$metadata: deserializeMetadata(output),
|
|
349
|
+
});
|
|
350
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
351
|
+
const doc = smithyClient.take(data, {
|
|
352
|
+
accessToken: smithyClient.expectString,
|
|
353
|
+
expiresIn: smithyClient.expectInt32,
|
|
354
|
+
idToken: smithyClient.expectString,
|
|
355
|
+
refreshToken: smithyClient.expectString,
|
|
356
|
+
tokenType: smithyClient.expectString,
|
|
249
357
|
});
|
|
250
|
-
Object.
|
|
251
|
-
|
|
252
|
-
this.reason = opts.reason;
|
|
253
|
-
this.error_description = opts.error_description;
|
|
254
|
-
}
|
|
358
|
+
Object.assign(contents, doc);
|
|
359
|
+
return contents;
|
|
255
360
|
};
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
361
|
+
const de_CommandError = async (output, context) => {
|
|
362
|
+
const parsedOutput = {
|
|
363
|
+
...output,
|
|
364
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
365
|
+
};
|
|
366
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
367
|
+
switch (errorCode) {
|
|
368
|
+
case "AccessDeniedException":
|
|
369
|
+
case "com.amazonaws.ssooidc#AccessDeniedException":
|
|
370
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
371
|
+
case "AuthorizationPendingException":
|
|
372
|
+
case "com.amazonaws.ssooidc#AuthorizationPendingException":
|
|
373
|
+
throw await de_AuthorizationPendingExceptionRes(parsedOutput);
|
|
374
|
+
case "ExpiredTokenException":
|
|
375
|
+
case "com.amazonaws.ssooidc#ExpiredTokenException":
|
|
376
|
+
throw await de_ExpiredTokenExceptionRes(parsedOutput);
|
|
377
|
+
case "InternalServerException":
|
|
378
|
+
case "com.amazonaws.ssooidc#InternalServerException":
|
|
379
|
+
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
380
|
+
case "InvalidClientException":
|
|
381
|
+
case "com.amazonaws.ssooidc#InvalidClientException":
|
|
382
|
+
throw await de_InvalidClientExceptionRes(parsedOutput);
|
|
383
|
+
case "InvalidGrantException":
|
|
384
|
+
case "com.amazonaws.ssooidc#InvalidGrantException":
|
|
385
|
+
throw await de_InvalidGrantExceptionRes(parsedOutput);
|
|
386
|
+
case "InvalidRequestException":
|
|
387
|
+
case "com.amazonaws.ssooidc#InvalidRequestException":
|
|
388
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput);
|
|
389
|
+
case "InvalidScopeException":
|
|
390
|
+
case "com.amazonaws.ssooidc#InvalidScopeException":
|
|
391
|
+
throw await de_InvalidScopeExceptionRes(parsedOutput);
|
|
392
|
+
case "SlowDownException":
|
|
393
|
+
case "com.amazonaws.ssooidc#SlowDownException":
|
|
394
|
+
throw await de_SlowDownExceptionRes(parsedOutput);
|
|
395
|
+
case "UnauthorizedClientException":
|
|
396
|
+
case "com.amazonaws.ssooidc#UnauthorizedClientException":
|
|
397
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput);
|
|
398
|
+
case "UnsupportedGrantTypeException":
|
|
399
|
+
case "com.amazonaws.ssooidc#UnsupportedGrantTypeException":
|
|
400
|
+
throw await de_UnsupportedGrantTypeExceptionRes(parsedOutput);
|
|
401
|
+
default:
|
|
402
|
+
const parsedBody = parsedOutput.body;
|
|
403
|
+
return throwDefaultError({
|
|
404
|
+
output,
|
|
405
|
+
parsedBody,
|
|
406
|
+
errorCode,
|
|
407
|
+
});
|
|
408
|
+
}
|
|
409
|
+
};
|
|
410
|
+
const throwDefaultError = smithyClient.withBaseException(SSOOIDCServiceException);
|
|
411
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
412
|
+
const contents = smithyClient.map({});
|
|
413
|
+
const data = parsedOutput.body;
|
|
414
|
+
const doc = smithyClient.take(data, {
|
|
415
|
+
error: smithyClient.expectString,
|
|
416
|
+
error_description: smithyClient.expectString,
|
|
417
|
+
reason: smithyClient.expectString,
|
|
418
|
+
});
|
|
419
|
+
Object.assign(contents, doc);
|
|
420
|
+
const exception = new AccessDeniedException({
|
|
421
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
422
|
+
...contents,
|
|
282
423
|
});
|
|
283
|
-
|
|
284
|
-
this.error = opts.error;
|
|
285
|
-
this.error_description = opts.error_description;
|
|
286
|
-
}
|
|
424
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
287
425
|
};
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
var CreateTokenResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
295
|
-
...obj,
|
|
296
|
-
...obj.accessToken && { accessToken: import_smithy_client4.SENSITIVE_STRING },
|
|
297
|
-
...obj.refreshToken && { refreshToken: import_smithy_client4.SENSITIVE_STRING },
|
|
298
|
-
...obj.idToken && { idToken: import_smithy_client4.SENSITIVE_STRING }
|
|
299
|
-
}), "CreateTokenResponseFilterSensitiveLog");
|
|
300
|
-
var ExpiredTokenException = class _ExpiredTokenException extends SSOOIDCServiceException {
|
|
301
|
-
static {
|
|
302
|
-
__name(this, "ExpiredTokenException");
|
|
303
|
-
}
|
|
304
|
-
name = "ExpiredTokenException";
|
|
305
|
-
$fault = "client";
|
|
306
|
-
/**
|
|
307
|
-
* <p>Single error code. For this exception the value will be <code>expired_token</code>.</p>
|
|
308
|
-
* @public
|
|
309
|
-
*/
|
|
310
|
-
error;
|
|
311
|
-
/**
|
|
312
|
-
* <p>Human-readable text providing additional information, used to assist the client developer
|
|
313
|
-
* in understanding the error that occurred.</p>
|
|
314
|
-
* @public
|
|
315
|
-
*/
|
|
316
|
-
error_description;
|
|
317
|
-
/**
|
|
318
|
-
* @internal
|
|
319
|
-
*/
|
|
320
|
-
constructor(opts) {
|
|
321
|
-
super({
|
|
322
|
-
name: "ExpiredTokenException",
|
|
323
|
-
$fault: "client",
|
|
324
|
-
...opts
|
|
426
|
+
const de_AuthorizationPendingExceptionRes = async (parsedOutput, context) => {
|
|
427
|
+
const contents = smithyClient.map({});
|
|
428
|
+
const data = parsedOutput.body;
|
|
429
|
+
const doc = smithyClient.take(data, {
|
|
430
|
+
error: smithyClient.expectString,
|
|
431
|
+
error_description: smithyClient.expectString,
|
|
325
432
|
});
|
|
326
|
-
Object.
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
433
|
+
Object.assign(contents, doc);
|
|
434
|
+
const exception = new AuthorizationPendingException({
|
|
435
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
436
|
+
...contents,
|
|
437
|
+
});
|
|
438
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
330
439
|
};
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
/**
|
|
343
|
-
* <p>Human-readable text providing additional information, used to assist the client developer
|
|
344
|
-
* in understanding the error that occurred.</p>
|
|
345
|
-
* @public
|
|
346
|
-
*/
|
|
347
|
-
error_description;
|
|
348
|
-
/**
|
|
349
|
-
* @internal
|
|
350
|
-
*/
|
|
351
|
-
constructor(opts) {
|
|
352
|
-
super({
|
|
353
|
-
name: "InternalServerException",
|
|
354
|
-
$fault: "server",
|
|
355
|
-
...opts
|
|
440
|
+
const de_ExpiredTokenExceptionRes = async (parsedOutput, context) => {
|
|
441
|
+
const contents = smithyClient.map({});
|
|
442
|
+
const data = parsedOutput.body;
|
|
443
|
+
const doc = smithyClient.take(data, {
|
|
444
|
+
error: smithyClient.expectString,
|
|
445
|
+
error_description: smithyClient.expectString,
|
|
446
|
+
});
|
|
447
|
+
Object.assign(contents, doc);
|
|
448
|
+
const exception = new ExpiredTokenException({
|
|
449
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
450
|
+
...contents,
|
|
356
451
|
});
|
|
357
|
-
|
|
358
|
-
this.error = opts.error;
|
|
359
|
-
this.error_description = opts.error_description;
|
|
360
|
-
}
|
|
452
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
361
453
|
};
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
error;
|
|
374
|
-
/**
|
|
375
|
-
* <p>Human-readable text providing additional information, used to assist the client developer
|
|
376
|
-
* in understanding the error that occurred.</p>
|
|
377
|
-
* @public
|
|
378
|
-
*/
|
|
379
|
-
error_description;
|
|
380
|
-
/**
|
|
381
|
-
* @internal
|
|
382
|
-
*/
|
|
383
|
-
constructor(opts) {
|
|
384
|
-
super({
|
|
385
|
-
name: "InvalidClientException",
|
|
386
|
-
$fault: "client",
|
|
387
|
-
...opts
|
|
454
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
455
|
+
const contents = smithyClient.map({});
|
|
456
|
+
const data = parsedOutput.body;
|
|
457
|
+
const doc = smithyClient.take(data, {
|
|
458
|
+
error: smithyClient.expectString,
|
|
459
|
+
error_description: smithyClient.expectString,
|
|
460
|
+
});
|
|
461
|
+
Object.assign(contents, doc);
|
|
462
|
+
const exception = new InternalServerException({
|
|
463
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
464
|
+
...contents,
|
|
388
465
|
});
|
|
389
|
-
|
|
390
|
-
this.error = opts.error;
|
|
391
|
-
this.error_description = opts.error_description;
|
|
392
|
-
}
|
|
466
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
393
467
|
};
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
/**
|
|
401
|
-
* <p>Single error code. For this exception the value will be <code>invalid_grant</code>.</p>
|
|
402
|
-
* @public
|
|
403
|
-
*/
|
|
404
|
-
error;
|
|
405
|
-
/**
|
|
406
|
-
* <p>Human-readable text providing additional information, used to assist the client developer
|
|
407
|
-
* in understanding the error that occurred.</p>
|
|
408
|
-
* @public
|
|
409
|
-
*/
|
|
410
|
-
error_description;
|
|
411
|
-
/**
|
|
412
|
-
* @internal
|
|
413
|
-
*/
|
|
414
|
-
constructor(opts) {
|
|
415
|
-
super({
|
|
416
|
-
name: "InvalidGrantException",
|
|
417
|
-
$fault: "client",
|
|
418
|
-
...opts
|
|
468
|
+
const de_InvalidClientExceptionRes = async (parsedOutput, context) => {
|
|
469
|
+
const contents = smithyClient.map({});
|
|
470
|
+
const data = parsedOutput.body;
|
|
471
|
+
const doc = smithyClient.take(data, {
|
|
472
|
+
error: smithyClient.expectString,
|
|
473
|
+
error_description: smithyClient.expectString,
|
|
419
474
|
});
|
|
420
|
-
Object.
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
475
|
+
Object.assign(contents, doc);
|
|
476
|
+
const exception = new InvalidClientException({
|
|
477
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
478
|
+
...contents,
|
|
479
|
+
});
|
|
480
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
424
481
|
};
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
482
|
+
const de_InvalidGrantExceptionRes = async (parsedOutput, context) => {
|
|
483
|
+
const contents = smithyClient.map({});
|
|
484
|
+
const data = parsedOutput.body;
|
|
485
|
+
const doc = smithyClient.take(data, {
|
|
486
|
+
error: smithyClient.expectString,
|
|
487
|
+
error_description: smithyClient.expectString,
|
|
488
|
+
});
|
|
489
|
+
Object.assign(contents, doc);
|
|
490
|
+
const exception = new InvalidGrantException({
|
|
491
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
492
|
+
...contents,
|
|
493
|
+
});
|
|
494
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
430
495
|
};
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
* <p>Single error code. For this exception the value will be
|
|
439
|
-
* <code>invalid_request</code>.</p>
|
|
440
|
-
* @public
|
|
441
|
-
*/
|
|
442
|
-
error;
|
|
443
|
-
/**
|
|
444
|
-
* <p>A string that uniquely identifies a reason for the error.</p>
|
|
445
|
-
* @public
|
|
446
|
-
*/
|
|
447
|
-
reason;
|
|
448
|
-
/**
|
|
449
|
-
* <p>Human-readable text providing additional information, used to assist the client developer
|
|
450
|
-
* in understanding the error that occurred.</p>
|
|
451
|
-
* @public
|
|
452
|
-
*/
|
|
453
|
-
error_description;
|
|
454
|
-
/**
|
|
455
|
-
* @internal
|
|
456
|
-
*/
|
|
457
|
-
constructor(opts) {
|
|
458
|
-
super({
|
|
459
|
-
name: "InvalidRequestException",
|
|
460
|
-
$fault: "client",
|
|
461
|
-
...opts
|
|
496
|
+
const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
497
|
+
const contents = smithyClient.map({});
|
|
498
|
+
const data = parsedOutput.body;
|
|
499
|
+
const doc = smithyClient.take(data, {
|
|
500
|
+
error: smithyClient.expectString,
|
|
501
|
+
error_description: smithyClient.expectString,
|
|
502
|
+
reason: smithyClient.expectString,
|
|
462
503
|
});
|
|
463
|
-
Object.
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
504
|
+
Object.assign(contents, doc);
|
|
505
|
+
const exception = new InvalidRequestException({
|
|
506
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
507
|
+
...contents,
|
|
508
|
+
});
|
|
509
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
468
510
|
};
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
/**
|
|
481
|
-
* <p>Human-readable text providing additional information, used to assist the client developer
|
|
482
|
-
* in understanding the error that occurred.</p>
|
|
483
|
-
* @public
|
|
484
|
-
*/
|
|
485
|
-
error_description;
|
|
486
|
-
/**
|
|
487
|
-
* @internal
|
|
488
|
-
*/
|
|
489
|
-
constructor(opts) {
|
|
490
|
-
super({
|
|
491
|
-
name: "InvalidScopeException",
|
|
492
|
-
$fault: "client",
|
|
493
|
-
...opts
|
|
511
|
+
const de_InvalidScopeExceptionRes = async (parsedOutput, context) => {
|
|
512
|
+
const contents = smithyClient.map({});
|
|
513
|
+
const data = parsedOutput.body;
|
|
514
|
+
const doc = smithyClient.take(data, {
|
|
515
|
+
error: smithyClient.expectString,
|
|
516
|
+
error_description: smithyClient.expectString,
|
|
517
|
+
});
|
|
518
|
+
Object.assign(contents, doc);
|
|
519
|
+
const exception = new InvalidScopeException({
|
|
520
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
521
|
+
...contents,
|
|
494
522
|
});
|
|
495
|
-
|
|
496
|
-
this.error = opts.error;
|
|
497
|
-
this.error_description = opts.error_description;
|
|
498
|
-
}
|
|
523
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
499
524
|
};
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
/**
|
|
512
|
-
* <p>Human-readable text providing additional information, used to assist the client developer
|
|
513
|
-
* in understanding the error that occurred.</p>
|
|
514
|
-
* @public
|
|
515
|
-
*/
|
|
516
|
-
error_description;
|
|
517
|
-
/**
|
|
518
|
-
* @internal
|
|
519
|
-
*/
|
|
520
|
-
constructor(opts) {
|
|
521
|
-
super({
|
|
522
|
-
name: "SlowDownException",
|
|
523
|
-
$fault: "client",
|
|
524
|
-
...opts
|
|
525
|
+
const de_SlowDownExceptionRes = async (parsedOutput, context) => {
|
|
526
|
+
const contents = smithyClient.map({});
|
|
527
|
+
const data = parsedOutput.body;
|
|
528
|
+
const doc = smithyClient.take(data, {
|
|
529
|
+
error: smithyClient.expectString,
|
|
530
|
+
error_description: smithyClient.expectString,
|
|
531
|
+
});
|
|
532
|
+
Object.assign(contents, doc);
|
|
533
|
+
const exception = new SlowDownException({
|
|
534
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
535
|
+
...contents,
|
|
525
536
|
});
|
|
526
|
-
|
|
527
|
-
this.error = opts.error;
|
|
528
|
-
this.error_description = opts.error_description;
|
|
529
|
-
}
|
|
537
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
530
538
|
};
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
/**
|
|
538
|
-
* <p>Single error code. For this exception the value will be
|
|
539
|
-
* <code>unauthorized_client</code>.</p>
|
|
540
|
-
* @public
|
|
541
|
-
*/
|
|
542
|
-
error;
|
|
543
|
-
/**
|
|
544
|
-
* <p>Human-readable text providing additional information, used to assist the client developer
|
|
545
|
-
* in understanding the error that occurred.</p>
|
|
546
|
-
* @public
|
|
547
|
-
*/
|
|
548
|
-
error_description;
|
|
549
|
-
/**
|
|
550
|
-
* @internal
|
|
551
|
-
*/
|
|
552
|
-
constructor(opts) {
|
|
553
|
-
super({
|
|
554
|
-
name: "UnauthorizedClientException",
|
|
555
|
-
$fault: "client",
|
|
556
|
-
...opts
|
|
539
|
+
const de_UnauthorizedClientExceptionRes = async (parsedOutput, context) => {
|
|
540
|
+
const contents = smithyClient.map({});
|
|
541
|
+
const data = parsedOutput.body;
|
|
542
|
+
const doc = smithyClient.take(data, {
|
|
543
|
+
error: smithyClient.expectString,
|
|
544
|
+
error_description: smithyClient.expectString,
|
|
557
545
|
});
|
|
558
|
-
Object.
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
546
|
+
Object.assign(contents, doc);
|
|
547
|
+
const exception = new UnauthorizedClientException({
|
|
548
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
549
|
+
...contents,
|
|
550
|
+
});
|
|
551
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
562
552
|
};
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
error;
|
|
575
|
-
/**
|
|
576
|
-
* <p>Human-readable text providing additional information, used to assist the client developer
|
|
577
|
-
* in understanding the error that occurred.</p>
|
|
578
|
-
* @public
|
|
579
|
-
*/
|
|
580
|
-
error_description;
|
|
581
|
-
/**
|
|
582
|
-
* @internal
|
|
583
|
-
*/
|
|
584
|
-
constructor(opts) {
|
|
585
|
-
super({
|
|
586
|
-
name: "UnsupportedGrantTypeException",
|
|
587
|
-
$fault: "client",
|
|
588
|
-
...opts
|
|
553
|
+
const de_UnsupportedGrantTypeExceptionRes = async (parsedOutput, context) => {
|
|
554
|
+
const contents = smithyClient.map({});
|
|
555
|
+
const data = parsedOutput.body;
|
|
556
|
+
const doc = smithyClient.take(data, {
|
|
557
|
+
error: smithyClient.expectString,
|
|
558
|
+
error_description: smithyClient.expectString,
|
|
559
|
+
});
|
|
560
|
+
Object.assign(contents, doc);
|
|
561
|
+
const exception = new UnsupportedGrantTypeException({
|
|
562
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
563
|
+
...contents,
|
|
589
564
|
});
|
|
590
|
-
|
|
591
|
-
this.error = opts.error;
|
|
592
|
-
this.error_description = opts.error_description;
|
|
593
|
-
}
|
|
565
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
594
566
|
};
|
|
567
|
+
const deserializeMetadata = (output) => ({
|
|
568
|
+
httpStatusCode: output.statusCode,
|
|
569
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
570
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
571
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
572
|
+
});
|
|
595
573
|
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
(
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
codeVerifier: [],
|
|
613
|
-
deviceCode: [],
|
|
614
|
-
grantType: [],
|
|
615
|
-
redirectUri: [],
|
|
616
|
-
refreshToken: [],
|
|
617
|
-
scope: /* @__PURE__ */ __name((_) => (0, import_smithy_client5._json)(_), "scope")
|
|
618
|
-
})
|
|
619
|
-
);
|
|
620
|
-
b.m("POST").h(headers).b(body);
|
|
621
|
-
return b.build();
|
|
622
|
-
}, "se_CreateTokenCommand");
|
|
623
|
-
var de_CreateTokenCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
624
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
625
|
-
return de_CommandError(output, context);
|
|
626
|
-
}
|
|
627
|
-
const contents = (0, import_smithy_client5.map)({
|
|
628
|
-
$metadata: deserializeMetadata(output)
|
|
629
|
-
});
|
|
630
|
-
const data = (0, import_smithy_client5.expectNonNull)((0, import_smithy_client5.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
631
|
-
const doc = (0, import_smithy_client5.take)(data, {
|
|
632
|
-
accessToken: import_smithy_client5.expectString,
|
|
633
|
-
expiresIn: import_smithy_client5.expectInt32,
|
|
634
|
-
idToken: import_smithy_client5.expectString,
|
|
635
|
-
refreshToken: import_smithy_client5.expectString,
|
|
636
|
-
tokenType: import_smithy_client5.expectString
|
|
637
|
-
});
|
|
638
|
-
Object.assign(contents, doc);
|
|
639
|
-
return contents;
|
|
640
|
-
}, "de_CreateTokenCommand");
|
|
641
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
642
|
-
const parsedOutput = {
|
|
643
|
-
...output,
|
|
644
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
645
|
-
};
|
|
646
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
647
|
-
switch (errorCode) {
|
|
648
|
-
case "AccessDeniedException":
|
|
649
|
-
case "com.amazonaws.ssooidc#AccessDeniedException":
|
|
650
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
651
|
-
case "AuthorizationPendingException":
|
|
652
|
-
case "com.amazonaws.ssooidc#AuthorizationPendingException":
|
|
653
|
-
throw await de_AuthorizationPendingExceptionRes(parsedOutput, context);
|
|
654
|
-
case "ExpiredTokenException":
|
|
655
|
-
case "com.amazonaws.ssooidc#ExpiredTokenException":
|
|
656
|
-
throw await de_ExpiredTokenExceptionRes(parsedOutput, context);
|
|
657
|
-
case "InternalServerException":
|
|
658
|
-
case "com.amazonaws.ssooidc#InternalServerException":
|
|
659
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
660
|
-
case "InvalidClientException":
|
|
661
|
-
case "com.amazonaws.ssooidc#InvalidClientException":
|
|
662
|
-
throw await de_InvalidClientExceptionRes(parsedOutput, context);
|
|
663
|
-
case "InvalidGrantException":
|
|
664
|
-
case "com.amazonaws.ssooidc#InvalidGrantException":
|
|
665
|
-
throw await de_InvalidGrantExceptionRes(parsedOutput, context);
|
|
666
|
-
case "InvalidRequestException":
|
|
667
|
-
case "com.amazonaws.ssooidc#InvalidRequestException":
|
|
668
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
669
|
-
case "InvalidScopeException":
|
|
670
|
-
case "com.amazonaws.ssooidc#InvalidScopeException":
|
|
671
|
-
throw await de_InvalidScopeExceptionRes(parsedOutput, context);
|
|
672
|
-
case "SlowDownException":
|
|
673
|
-
case "com.amazonaws.ssooidc#SlowDownException":
|
|
674
|
-
throw await de_SlowDownExceptionRes(parsedOutput, context);
|
|
675
|
-
case "UnauthorizedClientException":
|
|
676
|
-
case "com.amazonaws.ssooidc#UnauthorizedClientException":
|
|
677
|
-
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
678
|
-
case "UnsupportedGrantTypeException":
|
|
679
|
-
case "com.amazonaws.ssooidc#UnsupportedGrantTypeException":
|
|
680
|
-
throw await de_UnsupportedGrantTypeExceptionRes(parsedOutput, context);
|
|
681
|
-
default:
|
|
682
|
-
const parsedBody = parsedOutput.body;
|
|
683
|
-
return throwDefaultError({
|
|
684
|
-
output,
|
|
685
|
-
parsedBody,
|
|
686
|
-
errorCode
|
|
687
|
-
});
|
|
688
|
-
}
|
|
689
|
-
}, "de_CommandError");
|
|
690
|
-
var throwDefaultError = (0, import_smithy_client5.withBaseException)(SSOOIDCServiceException);
|
|
691
|
-
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
692
|
-
const contents = (0, import_smithy_client5.map)({});
|
|
693
|
-
const data = parsedOutput.body;
|
|
694
|
-
const doc = (0, import_smithy_client5.take)(data, {
|
|
695
|
-
error: import_smithy_client5.expectString,
|
|
696
|
-
error_description: import_smithy_client5.expectString,
|
|
697
|
-
reason: import_smithy_client5.expectString
|
|
698
|
-
});
|
|
699
|
-
Object.assign(contents, doc);
|
|
700
|
-
const exception = new AccessDeniedException({
|
|
701
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
702
|
-
...contents
|
|
703
|
-
});
|
|
704
|
-
return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);
|
|
705
|
-
}, "de_AccessDeniedExceptionRes");
|
|
706
|
-
var de_AuthorizationPendingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
707
|
-
const contents = (0, import_smithy_client5.map)({});
|
|
708
|
-
const data = parsedOutput.body;
|
|
709
|
-
const doc = (0, import_smithy_client5.take)(data, {
|
|
710
|
-
error: import_smithy_client5.expectString,
|
|
711
|
-
error_description: import_smithy_client5.expectString
|
|
712
|
-
});
|
|
713
|
-
Object.assign(contents, doc);
|
|
714
|
-
const exception = new AuthorizationPendingException({
|
|
715
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
716
|
-
...contents
|
|
717
|
-
});
|
|
718
|
-
return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);
|
|
719
|
-
}, "de_AuthorizationPendingExceptionRes");
|
|
720
|
-
var de_ExpiredTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
721
|
-
const contents = (0, import_smithy_client5.map)({});
|
|
722
|
-
const data = parsedOutput.body;
|
|
723
|
-
const doc = (0, import_smithy_client5.take)(data, {
|
|
724
|
-
error: import_smithy_client5.expectString,
|
|
725
|
-
error_description: import_smithy_client5.expectString
|
|
726
|
-
});
|
|
727
|
-
Object.assign(contents, doc);
|
|
728
|
-
const exception = new ExpiredTokenException({
|
|
729
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
730
|
-
...contents
|
|
731
|
-
});
|
|
732
|
-
return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);
|
|
733
|
-
}, "de_ExpiredTokenExceptionRes");
|
|
734
|
-
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
735
|
-
const contents = (0, import_smithy_client5.map)({});
|
|
736
|
-
const data = parsedOutput.body;
|
|
737
|
-
const doc = (0, import_smithy_client5.take)(data, {
|
|
738
|
-
error: import_smithy_client5.expectString,
|
|
739
|
-
error_description: import_smithy_client5.expectString
|
|
740
|
-
});
|
|
741
|
-
Object.assign(contents, doc);
|
|
742
|
-
const exception = new InternalServerException({
|
|
743
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
744
|
-
...contents
|
|
745
|
-
});
|
|
746
|
-
return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);
|
|
747
|
-
}, "de_InternalServerExceptionRes");
|
|
748
|
-
var de_InvalidClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
749
|
-
const contents = (0, import_smithy_client5.map)({});
|
|
750
|
-
const data = parsedOutput.body;
|
|
751
|
-
const doc = (0, import_smithy_client5.take)(data, {
|
|
752
|
-
error: import_smithy_client5.expectString,
|
|
753
|
-
error_description: import_smithy_client5.expectString
|
|
754
|
-
});
|
|
755
|
-
Object.assign(contents, doc);
|
|
756
|
-
const exception = new InvalidClientException({
|
|
757
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
758
|
-
...contents
|
|
759
|
-
});
|
|
760
|
-
return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);
|
|
761
|
-
}, "de_InvalidClientExceptionRes");
|
|
762
|
-
var de_InvalidGrantExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
763
|
-
const contents = (0, import_smithy_client5.map)({});
|
|
764
|
-
const data = parsedOutput.body;
|
|
765
|
-
const doc = (0, import_smithy_client5.take)(data, {
|
|
766
|
-
error: import_smithy_client5.expectString,
|
|
767
|
-
error_description: import_smithy_client5.expectString
|
|
768
|
-
});
|
|
769
|
-
Object.assign(contents, doc);
|
|
770
|
-
const exception = new InvalidGrantException({
|
|
771
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
772
|
-
...contents
|
|
773
|
-
});
|
|
774
|
-
return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);
|
|
775
|
-
}, "de_InvalidGrantExceptionRes");
|
|
776
|
-
var de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
777
|
-
const contents = (0, import_smithy_client5.map)({});
|
|
778
|
-
const data = parsedOutput.body;
|
|
779
|
-
const doc = (0, import_smithy_client5.take)(data, {
|
|
780
|
-
error: import_smithy_client5.expectString,
|
|
781
|
-
error_description: import_smithy_client5.expectString,
|
|
782
|
-
reason: import_smithy_client5.expectString
|
|
783
|
-
});
|
|
784
|
-
Object.assign(contents, doc);
|
|
785
|
-
const exception = new InvalidRequestException({
|
|
786
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
787
|
-
...contents
|
|
788
|
-
});
|
|
789
|
-
return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);
|
|
790
|
-
}, "de_InvalidRequestExceptionRes");
|
|
791
|
-
var de_InvalidScopeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
792
|
-
const contents = (0, import_smithy_client5.map)({});
|
|
793
|
-
const data = parsedOutput.body;
|
|
794
|
-
const doc = (0, import_smithy_client5.take)(data, {
|
|
795
|
-
error: import_smithy_client5.expectString,
|
|
796
|
-
error_description: import_smithy_client5.expectString
|
|
797
|
-
});
|
|
798
|
-
Object.assign(contents, doc);
|
|
799
|
-
const exception = new InvalidScopeException({
|
|
800
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
801
|
-
...contents
|
|
802
|
-
});
|
|
803
|
-
return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);
|
|
804
|
-
}, "de_InvalidScopeExceptionRes");
|
|
805
|
-
var de_SlowDownExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
806
|
-
const contents = (0, import_smithy_client5.map)({});
|
|
807
|
-
const data = parsedOutput.body;
|
|
808
|
-
const doc = (0, import_smithy_client5.take)(data, {
|
|
809
|
-
error: import_smithy_client5.expectString,
|
|
810
|
-
error_description: import_smithy_client5.expectString
|
|
811
|
-
});
|
|
812
|
-
Object.assign(contents, doc);
|
|
813
|
-
const exception = new SlowDownException({
|
|
814
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
815
|
-
...contents
|
|
816
|
-
});
|
|
817
|
-
return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);
|
|
818
|
-
}, "de_SlowDownExceptionRes");
|
|
819
|
-
var de_UnauthorizedClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
820
|
-
const contents = (0, import_smithy_client5.map)({});
|
|
821
|
-
const data = parsedOutput.body;
|
|
822
|
-
const doc = (0, import_smithy_client5.take)(data, {
|
|
823
|
-
error: import_smithy_client5.expectString,
|
|
824
|
-
error_description: import_smithy_client5.expectString
|
|
825
|
-
});
|
|
826
|
-
Object.assign(contents, doc);
|
|
827
|
-
const exception = new UnauthorizedClientException({
|
|
828
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
829
|
-
...contents
|
|
830
|
-
});
|
|
831
|
-
return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);
|
|
832
|
-
}, "de_UnauthorizedClientExceptionRes");
|
|
833
|
-
var de_UnsupportedGrantTypeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
834
|
-
const contents = (0, import_smithy_client5.map)({});
|
|
835
|
-
const data = parsedOutput.body;
|
|
836
|
-
const doc = (0, import_smithy_client5.take)(data, {
|
|
837
|
-
error: import_smithy_client5.expectString,
|
|
838
|
-
error_description: import_smithy_client5.expectString
|
|
839
|
-
});
|
|
840
|
-
Object.assign(contents, doc);
|
|
841
|
-
const exception = new UnsupportedGrantTypeException({
|
|
842
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
843
|
-
...contents
|
|
844
|
-
});
|
|
845
|
-
return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);
|
|
846
|
-
}, "de_UnsupportedGrantTypeExceptionRes");
|
|
847
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
848
|
-
httpStatusCode: output.statusCode,
|
|
849
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
850
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
851
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
852
|
-
}), "deserializeMetadata");
|
|
574
|
+
class CreateTokenCommand extends smithyClient.Command
|
|
575
|
+
.classBuilder()
|
|
576
|
+
.ep(commonParams)
|
|
577
|
+
.m(function (Command, cs, config, o) {
|
|
578
|
+
return [
|
|
579
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
580
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
581
|
+
];
|
|
582
|
+
})
|
|
583
|
+
.s("AWSSSOOIDCService", "CreateToken", {})
|
|
584
|
+
.n("SSOOIDCClient", "CreateTokenCommand")
|
|
585
|
+
.f(CreateTokenRequestFilterSensitiveLog, CreateTokenResponseFilterSensitiveLog)
|
|
586
|
+
.ser(se_CreateTokenCommand)
|
|
587
|
+
.de(de_CreateTokenCommand)
|
|
588
|
+
.build() {
|
|
589
|
+
}
|
|
853
590
|
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
return [
|
|
857
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
858
|
-
(0, import_middleware_endpoint2.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
859
|
-
];
|
|
860
|
-
}).s("AWSSSOOIDCService", "CreateToken", {}).n("SSOOIDCClient", "CreateTokenCommand").f(CreateTokenRequestFilterSensitiveLog, CreateTokenResponseFilterSensitiveLog).ser(se_CreateTokenCommand).de(de_CreateTokenCommand).build() {
|
|
861
|
-
static {
|
|
862
|
-
__name(this, "CreateTokenCommand");
|
|
863
|
-
}
|
|
591
|
+
const commands = {
|
|
592
|
+
CreateTokenCommand,
|
|
864
593
|
};
|
|
594
|
+
class SSOOIDC extends SSOOIDCClient {
|
|
595
|
+
}
|
|
596
|
+
smithyClient.createAggregatedClient(commands, SSOOIDC);
|
|
865
597
|
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
};
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
}
|
|
874
|
-
};
|
|
875
|
-
(0, import_smithy_client7.createAggregatedClient)(commands, SSOOIDC);
|
|
876
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
877
|
-
0 && (module.exports = {
|
|
878
|
-
$Command,
|
|
879
|
-
AccessDeniedException,
|
|
880
|
-
AccessDeniedExceptionReason,
|
|
881
|
-
AuthorizationPendingException,
|
|
882
|
-
CreateTokenCommand,
|
|
883
|
-
CreateTokenRequestFilterSensitiveLog,
|
|
884
|
-
CreateTokenResponseFilterSensitiveLog,
|
|
885
|
-
ExpiredTokenException,
|
|
886
|
-
InternalServerException,
|
|
887
|
-
InvalidClientException,
|
|
888
|
-
InvalidGrantException,
|
|
889
|
-
InvalidRequestException,
|
|
890
|
-
InvalidRequestExceptionReason,
|
|
891
|
-
InvalidScopeException,
|
|
892
|
-
SSOOIDC,
|
|
893
|
-
SSOOIDCClient,
|
|
894
|
-
SSOOIDCServiceException,
|
|
895
|
-
SlowDownException,
|
|
896
|
-
UnauthorizedClientException,
|
|
897
|
-
UnsupportedGrantTypeException,
|
|
898
|
-
__Client
|
|
598
|
+
Object.defineProperty(exports, "$Command", {
|
|
599
|
+
enumerable: true,
|
|
600
|
+
get: function () { return smithyClient.Command; }
|
|
601
|
+
});
|
|
602
|
+
Object.defineProperty(exports, "__Client", {
|
|
603
|
+
enumerable: true,
|
|
604
|
+
get: function () { return smithyClient.Client; }
|
|
899
605
|
});
|
|
606
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
607
|
+
exports.AccessDeniedExceptionReason = AccessDeniedExceptionReason;
|
|
608
|
+
exports.AuthorizationPendingException = AuthorizationPendingException;
|
|
609
|
+
exports.CreateTokenCommand = CreateTokenCommand;
|
|
610
|
+
exports.CreateTokenRequestFilterSensitiveLog = CreateTokenRequestFilterSensitiveLog;
|
|
611
|
+
exports.CreateTokenResponseFilterSensitiveLog = CreateTokenResponseFilterSensitiveLog;
|
|
612
|
+
exports.ExpiredTokenException = ExpiredTokenException;
|
|
613
|
+
exports.InternalServerException = InternalServerException;
|
|
614
|
+
exports.InvalidClientException = InvalidClientException;
|
|
615
|
+
exports.InvalidGrantException = InvalidGrantException;
|
|
616
|
+
exports.InvalidRequestException = InvalidRequestException;
|
|
617
|
+
exports.InvalidRequestExceptionReason = InvalidRequestExceptionReason;
|
|
618
|
+
exports.InvalidScopeException = InvalidScopeException;
|
|
619
|
+
exports.SSOOIDC = SSOOIDC;
|
|
620
|
+
exports.SSOOIDCClient = SSOOIDCClient;
|
|
621
|
+
exports.SSOOIDCServiceException = SSOOIDCServiceException;
|
|
622
|
+
exports.SlowDownException = SlowDownException;
|
|
623
|
+
exports.UnauthorizedClientException = UnauthorizedClientException;
|
|
624
|
+
exports.UnsupportedGrantTypeException = UnsupportedGrantTypeException;
|