@mavogel/awscdk-rootmail 0.0.15 → 0.0.17
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 +8 -8
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/auth/httpAuthExtensionConfiguration.js +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +66 -8
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/runtimeConfig.shared.js +10 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/CloudWatchLogsClient.js +18 -5
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/runtimeConfig.shared.js +10 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/runtimeExtensions.js +3 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/CloudWatchLogsClient.d.ts +13 -11
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.browser.d.ts +5 -3
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.d.ts +4 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.native.d.ts +6 -4
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/CloudWatchLogsClient.d.ts +11 -9
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.d.ts +4 -4
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -8
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +18 -18
- package/node_modules/@aws-sdk/client-route-53/package.json +16 -16
- package/node_modules/@aws-sdk/client-s3/package.json +24 -24
- package/node_modules/@aws-sdk/client-ses/dist-cjs/auth/httpAuthExtensionConfiguration.js +1 -0
- package/node_modules/@aws-sdk/client-ses/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/node_modules/@aws-sdk/client-ses/dist-cjs/index.js +65 -7
- package/node_modules/@aws-sdk/client-ses/dist-cjs/runtimeConfig.shared.js +10 -0
- package/node_modules/@aws-sdk/client-ses/dist-es/SESClient.js +17 -4
- package/node_modules/@aws-sdk/client-ses/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/node_modules/@aws-sdk/client-ses/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/node_modules/@aws-sdk/client-ses/dist-es/runtimeConfig.shared.js +10 -0
- package/node_modules/@aws-sdk/client-ses/dist-es/runtimeExtensions.js +3 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/SESClient.d.ts +13 -11
- package/node_modules/@aws-sdk/client-ses/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.browser.d.ts +5 -3
- package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.native.d.ts +6 -4
- package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/SESClient.d.ts +11 -9
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.d.ts +4 -4
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -8
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/package.json +16 -16
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/auth/httpAuthExtensionConfiguration.js +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +65 -7
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.shared.js +10 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/SSMClient.js +17 -4
- package/node_modules/@aws-sdk/client-ssm/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.shared.js +10 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/runtimeExtensions.js +3 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts +13 -11
- package/node_modules/@aws-sdk/client-ssm/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.browser.d.ts +5 -3
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts +6 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSMClient.d.ts +11 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +4 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -8
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/package.json +18 -18
- package/node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthExtensionConfiguration.js +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js +68 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +67 -6
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js +16 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +19 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthSchemeProvider.js +62 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js +16 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeExtensions.js +3 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +9 -6
- package/node_modules/@aws-sdk/client-sso/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +16 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +16 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +17 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +9 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +46 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +46 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +47 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
- package/node_modules/@aws-sdk/client-sso/package.json +14 -13
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/auth/httpAuthExtensionConfiguration.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/auth/httpAuthSchemeProvider.js +64 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +66 -9
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.shared.js +16 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +17 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/auth/httpAuthSchemeProvider.js +58 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenWithIAMCommand.js +0 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.shared.js +16 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeExtensions.js +3 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +13 -11
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +13 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +12 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +14 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +11 -9
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +30 -5
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +29 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +33 -8
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +16 -16
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +31 -33
- package/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js +8 -15
- package/node_modules/@aws-sdk/client-sts/package.json +14 -14
- package/node_modules/@aws-sdk/core/CHANGELOG.md +11 -0
- package/node_modules/@aws-sdk/core/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-expect-continue/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-location-constraint/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-sdk-route53/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-signing/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-ssec/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
- package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +3 -3
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +1 -0
- package/node_modules/@aws-sdk/types/package.json +1 -1
- package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/cdk-nag/.jsii +2 -2
- 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/package.json +2 -2
- package/package.json +9 -9
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/CHANGELOG.md +0 -229
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/CONTRIBUTING.md +0 -18
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/LICENSE.md +0 -9
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/README.md +0 -505
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/bin/uuid +0 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/esm-browser/index.js +0 -9
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/esm-browser/md5.js +0 -215
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/esm-browser/nil.js +0 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/esm-browser/parse.js +0 -35
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/esm-browser/regex.js +0 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/esm-browser/rng.js +0 -19
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/esm-browser/sha1.js +0 -96
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/esm-browser/stringify.js +0 -30
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/esm-browser/v1.js +0 -95
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/esm-browser/v3.js +0 -4
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/esm-browser/v35.js +0 -64
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/esm-browser/v4.js +0 -24
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/esm-browser/v5.js +0 -4
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/esm-browser/validate.js +0 -7
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/esm-browser/version.js +0 -11
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/esm-node/index.js +0 -9
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/esm-node/md5.js +0 -13
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/esm-node/nil.js +0 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/esm-node/parse.js +0 -35
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/esm-node/regex.js +0 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/esm-node/rng.js +0 -12
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/esm-node/sha1.js +0 -13
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/esm-node/stringify.js +0 -29
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/esm-node/v1.js +0 -95
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/esm-node/v3.js +0 -4
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/esm-node/v35.js +0 -64
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/esm-node/v4.js +0 -24
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/esm-node/v5.js +0 -4
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/esm-node/validate.js +0 -7
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/esm-node/version.js +0 -11
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/index.js +0 -79
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/md5-browser.js +0 -223
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/md5.js +0 -23
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/nil.js +0 -8
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/parse.js +0 -45
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/regex.js +0 -8
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/rng-browser.js +0 -26
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/rng.js +0 -24
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/sha1-browser.js +0 -104
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/sha1.js +0 -23
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/stringify.js +0 -39
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/umd/uuid.min.js +0 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/umd/uuidNIL.min.js +0 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/umd/uuidParse.min.js +0 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/umd/uuidStringify.min.js +0 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/umd/uuidValidate.min.js +0 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/umd/uuidVersion.min.js +0 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/umd/uuidv1.min.js +0 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/umd/uuidv3.min.js +0 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/umd/uuidv4.min.js +0 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/umd/uuidv5.min.js +0 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/uuid-bin.js +0 -85
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/v1.js +0 -107
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/v3.js +0 -16
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/v35.js +0 -78
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/v4.js +0 -37
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/v5.js +0 -16
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/validate.js +0 -17
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/dist/version.js +0 -21
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/package.json +0 -135
- package/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid/wrapper.mjs +0 -10
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/CHANGELOG.md +0 -229
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/CONTRIBUTING.md +0 -18
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/LICENSE.md +0 -9
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/README.md +0 -505
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/bin/uuid +0 -2
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/esm-browser/index.js +0 -9
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/esm-browser/md5.js +0 -215
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/esm-browser/nil.js +0 -1
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/esm-browser/parse.js +0 -35
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/esm-browser/regex.js +0 -1
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/esm-browser/rng.js +0 -19
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/esm-browser/sha1.js +0 -96
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/esm-browser/stringify.js +0 -30
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/esm-browser/v1.js +0 -95
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/esm-browser/v3.js +0 -4
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/esm-browser/v35.js +0 -64
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/esm-browser/v4.js +0 -24
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/esm-browser/v5.js +0 -4
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/esm-browser/validate.js +0 -7
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/esm-browser/version.js +0 -11
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/esm-node/index.js +0 -9
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/esm-node/md5.js +0 -13
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/esm-node/nil.js +0 -1
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/esm-node/parse.js +0 -35
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/esm-node/regex.js +0 -1
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/esm-node/rng.js +0 -12
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/esm-node/sha1.js +0 -13
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/esm-node/stringify.js +0 -29
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/esm-node/v1.js +0 -95
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/esm-node/v3.js +0 -4
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/esm-node/v35.js +0 -64
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/esm-node/v4.js +0 -24
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/esm-node/v5.js +0 -4
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/esm-node/validate.js +0 -7
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/esm-node/version.js +0 -11
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/index.js +0 -79
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/md5-browser.js +0 -223
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/md5.js +0 -23
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/nil.js +0 -8
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/parse.js +0 -45
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/regex.js +0 -8
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/rng-browser.js +0 -26
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/rng.js +0 -24
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/sha1-browser.js +0 -104
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/sha1.js +0 -23
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/stringify.js +0 -39
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/umd/uuid.min.js +0 -1
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/umd/uuidNIL.min.js +0 -1
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/umd/uuidParse.min.js +0 -1
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/umd/uuidStringify.min.js +0 -1
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/umd/uuidValidate.min.js +0 -1
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/umd/uuidVersion.min.js +0 -1
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/umd/uuidv1.min.js +0 -1
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/umd/uuidv3.min.js +0 -1
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/umd/uuidv4.min.js +0 -1
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/umd/uuidv5.min.js +0 -1
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/uuid-bin.js +0 -85
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/v1.js +0 -107
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/v3.js +0 -16
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/v35.js +0 -78
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/v4.js +0 -37
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/v5.js +0 -16
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/validate.js +0 -17
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/dist/version.js +0 -21
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/package.json +0 -135
- package/node_modules/@aws-sdk/client-ssm/node_modules/uuid/wrapper.mjs +0 -10
|
@@ -21,9 +21,9 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
21
21
|
serviceId: string;
|
|
22
22
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
23
23
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
24
|
-
region: string | import("@smithy/types").Provider<any>;
|
|
25
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
24
|
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
25
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
26
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
27
27
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
28
28
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
29
29
|
logger: import("@smithy/types").Logger;
|
|
@@ -35,11 +35,21 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
35
35
|
}) => import("@smithy/types").EndpointV2;
|
|
36
36
|
tls?: boolean | undefined;
|
|
37
37
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
38
|
-
|
|
38
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
39
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
40
|
+
schemeId: string;
|
|
41
|
+
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
42
|
+
signer: import("@aws-sdk/core").AwsSdkSigV4Signer;
|
|
43
|
+
} | {
|
|
44
|
+
schemeId: string;
|
|
45
|
+
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | (() => Promise<{}>);
|
|
46
|
+
signer: import("@smithy/core").NoAuthSigner;
|
|
47
|
+
})[];
|
|
48
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOOIDCHttpAuthSchemeProvider;
|
|
49
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
39
50
|
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
|
|
40
51
|
signingEscapePath?: boolean | undefined;
|
|
41
52
|
systemClockOffset?: number | undefined;
|
|
42
53
|
signingRegion?: string | undefined;
|
|
43
54
|
signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
|
|
44
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
45
55
|
};
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { NoAuthSigner } from "@smithy/core";
|
|
3
|
+
import { IdentityProviderConfig } from "@smithy/types";
|
|
1
4
|
import { SSOOIDCClientConfig } from "./SSOOIDCClient";
|
|
2
5
|
/**
|
|
3
6
|
* @internal
|
|
@@ -11,6 +14,16 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
11
14
|
logger?: import("@smithy/types").Logger | undefined;
|
|
12
15
|
}) => import("@smithy/types").EndpointV2;
|
|
13
16
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
17
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOOIDCHttpAuthSchemeProvider;
|
|
18
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
19
|
+
schemeId: string;
|
|
20
|
+
identityProvider: (ipc: IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
21
|
+
signer: AwsSdkSigV4Signer;
|
|
22
|
+
} | {
|
|
23
|
+
schemeId: string;
|
|
24
|
+
identityProvider: (ipc: IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | (() => Promise<{}>);
|
|
25
|
+
signer: NoAuthSigner;
|
|
26
|
+
})[];
|
|
14
27
|
logger: import("@smithy/types").Logger;
|
|
15
28
|
serviceId: string;
|
|
16
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -2,15 +2,10 @@ import {
|
|
|
2
2
|
HostHeaderInputConfig,
|
|
3
3
|
HostHeaderResolvedConfig,
|
|
4
4
|
} from "@aws-sdk/middleware-host-header";
|
|
5
|
-
import {
|
|
6
|
-
AwsAuthInputConfig,
|
|
7
|
-
AwsAuthResolvedConfig,
|
|
8
|
-
} from "@aws-sdk/middleware-signing";
|
|
9
5
|
import {
|
|
10
6
|
UserAgentInputConfig,
|
|
11
7
|
UserAgentResolvedConfig,
|
|
12
8
|
} from "@aws-sdk/middleware-user-agent";
|
|
13
|
-
import { Credentials as __Credentials } from "@aws-sdk/types";
|
|
14
9
|
import {
|
|
15
10
|
RegionInputConfig,
|
|
16
11
|
RegionResolvedConfig,
|
|
@@ -31,6 +26,7 @@ import {
|
|
|
31
26
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
32
27
|
} from "@smithy/smithy-client";
|
|
33
28
|
import {
|
|
29
|
+
AwsCredentialIdentityProvider,
|
|
34
30
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
35
31
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
36
32
|
ChecksumConstructor as __ChecksumConstructor,
|
|
@@ -45,6 +41,10 @@ import {
|
|
|
45
41
|
UrlParser as __UrlParser,
|
|
46
42
|
UserAgent as __UserAgent,
|
|
47
43
|
} from "@smithy/types";
|
|
44
|
+
import {
|
|
45
|
+
HttpAuthSchemeInputConfig,
|
|
46
|
+
HttpAuthSchemeResolvedConfig,
|
|
47
|
+
} from "./auth/httpAuthSchemeProvider";
|
|
48
48
|
import {
|
|
49
49
|
CreateTokenCommandInput,
|
|
50
50
|
CreateTokenCommandOutput,
|
|
@@ -94,9 +94,9 @@ export interface ClientDefaults
|
|
|
94
94
|
serviceId?: string;
|
|
95
95
|
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
96
96
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
97
|
-
region?: string | __Provider<string>;
|
|
98
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
99
97
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
98
|
+
region?: string | __Provider<string>;
|
|
99
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
100
100
|
maxAttempts?: number | __Provider<number>;
|
|
101
101
|
retryMode?: string | __Provider<string>;
|
|
102
102
|
logger?: __Logger;
|
|
@@ -111,8 +111,8 @@ export type SSOOIDCClientConfigType = Partial<
|
|
|
111
111
|
EndpointInputConfig<EndpointParameters> &
|
|
112
112
|
RetryInputConfig &
|
|
113
113
|
HostHeaderInputConfig &
|
|
114
|
-
AwsAuthInputConfig &
|
|
115
114
|
UserAgentInputConfig &
|
|
115
|
+
HttpAuthSchemeInputConfig &
|
|
116
116
|
ClientInputEndpointParameters;
|
|
117
117
|
export interface SSOOIDCClientConfig extends SSOOIDCClientConfigType {}
|
|
118
118
|
export type SSOOIDCClientResolvedConfigType =
|
|
@@ -123,8 +123,8 @@ export type SSOOIDCClientResolvedConfigType =
|
|
|
123
123
|
EndpointResolvedConfig<EndpointParameters> &
|
|
124
124
|
RetryResolvedConfig &
|
|
125
125
|
HostHeaderResolvedConfig &
|
|
126
|
-
AwsAuthResolvedConfig &
|
|
127
126
|
UserAgentResolvedConfig &
|
|
127
|
+
HttpAuthSchemeResolvedConfig &
|
|
128
128
|
ClientResolvedEndpointParameters;
|
|
129
129
|
export interface SSOOIDCClientResolvedConfig
|
|
130
130
|
extends SSOOIDCClientResolvedConfigType {}
|
|
@@ -139,4 +139,6 @@ export declare class SSOOIDCClient extends __Client<
|
|
|
139
139
|
...[configuration]: __CheckOptionalClientConfig<SSOOIDCClientConfig>
|
|
140
140
|
);
|
|
141
141
|
destroy(): void;
|
|
142
|
+
private getDefaultHttpAuthSchemeParametersProvider;
|
|
143
|
+
private getIdentityProviderConfigProvider;
|
|
142
144
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsCredentialIdentity,
|
|
3
|
+
AwsCredentialIdentityProvider,
|
|
4
|
+
HttpAuthScheme,
|
|
5
|
+
} from "@smithy/types";
|
|
6
|
+
import { SSOOIDCHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
7
|
+
export interface HttpAuthExtensionConfiguration {
|
|
8
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
+
setHttpAuthSchemeProvider(
|
|
11
|
+
httpAuthSchemeProvider: SSOOIDCHttpAuthSchemeProvider
|
|
12
|
+
): void;
|
|
13
|
+
httpAuthSchemeProvider(): SSOOIDCHttpAuthSchemeProvider;
|
|
14
|
+
setCredentials(
|
|
15
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
|
|
16
|
+
): void;
|
|
17
|
+
credentials():
|
|
18
|
+
| AwsCredentialIdentity
|
|
19
|
+
| AwsCredentialIdentityProvider
|
|
20
|
+
| undefined;
|
|
21
|
+
}
|
|
22
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
24
|
+
httpAuthSchemeProvider: SSOOIDCHttpAuthSchemeProvider;
|
|
25
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
|
+
}>;
|
|
27
|
+
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
+
runtimeConfig: HttpAuthRuntimeConfig
|
|
29
|
+
) => HttpAuthExtensionConfiguration;
|
|
30
|
+
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
+
config: HttpAuthExtensionConfiguration
|
|
32
|
+
) => HttpAuthRuntimeConfig;
|
package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsSdkSigV4AuthInputConfig,
|
|
3
|
+
AwsSdkSigV4AuthResolvedConfig,
|
|
4
|
+
AwsSdkSigV4PreviouslyResolved,
|
|
5
|
+
} from "@aws-sdk/core";
|
|
6
|
+
import {
|
|
7
|
+
HandlerExecutionContext,
|
|
8
|
+
HttpAuthScheme,
|
|
9
|
+
HttpAuthSchemeParameters,
|
|
10
|
+
HttpAuthSchemeParametersProvider,
|
|
11
|
+
HttpAuthSchemeProvider,
|
|
12
|
+
} from "@smithy/types";
|
|
13
|
+
import { SSOOIDCClientResolvedConfig } from "../SSOOIDCClient";
|
|
14
|
+
export interface SSOOIDCHttpAuthSchemeParameters
|
|
15
|
+
extends HttpAuthSchemeParameters {
|
|
16
|
+
region?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface SSOOIDCHttpAuthSchemeParametersProvider
|
|
19
|
+
extends HttpAuthSchemeParametersProvider<
|
|
20
|
+
SSOOIDCClientResolvedConfig,
|
|
21
|
+
HandlerExecutionContext,
|
|
22
|
+
SSOOIDCHttpAuthSchemeParameters,
|
|
23
|
+
object
|
|
24
|
+
> {}
|
|
25
|
+
export declare const defaultSSOOIDCHttpAuthSchemeParametersProvider: (
|
|
26
|
+
config: SSOOIDCClientResolvedConfig,
|
|
27
|
+
context: HandlerExecutionContext,
|
|
28
|
+
input: object
|
|
29
|
+
) => Promise<SSOOIDCHttpAuthSchemeParameters>;
|
|
30
|
+
export interface SSOOIDCHttpAuthSchemeProvider
|
|
31
|
+
extends HttpAuthSchemeProvider<SSOOIDCHttpAuthSchemeParameters> {}
|
|
32
|
+
export declare const defaultSSOOIDCHttpAuthSchemeProvider: SSOOIDCHttpAuthSchemeProvider;
|
|
33
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
34
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
35
|
+
httpAuthSchemeProvider?: SSOOIDCHttpAuthSchemeProvider;
|
|
36
|
+
}
|
|
37
|
+
export interface HttpAuthSchemeResolvedConfig
|
|
38
|
+
extends AwsSdkSigV4AuthResolvedConfig {
|
|
39
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
40
|
+
readonly httpAuthSchemeProvider: SSOOIDCHttpAuthSchemeProvider;
|
|
41
|
+
}
|
|
42
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
43
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
44
|
+
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
2
|
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
4
5
|
export interface SSOOIDCExtensionConfiguration
|
|
5
6
|
extends HttpHandlerExtensionConfiguration,
|
|
6
7
|
DefaultExtensionConfiguration,
|
|
7
|
-
AwsRegionExtensionConfiguration
|
|
8
|
+
AwsRegionExtensionConfiguration,
|
|
9
|
+
HttpAuthExtensionConfiguration {}
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider: (
|
|
10
10
|
input: any
|
|
11
|
-
) => import("@smithy/types").
|
|
11
|
+
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
12
12
|
defaultUserAgentProvider: import("@smithy/types").Provider<
|
|
13
13
|
import("@smithy/types").UserAgent
|
|
14
14
|
>;
|
|
@@ -72,11 +72,37 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
72
72
|
| import("@smithy/types").RetryStrategy
|
|
73
73
|
| import("@smithy/types").RetryStrategyV2
|
|
74
74
|
| undefined;
|
|
75
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
76
|
+
httpAuthSchemes:
|
|
77
|
+
| import("@smithy/types").HttpAuthScheme[]
|
|
78
|
+
| (
|
|
79
|
+
| {
|
|
80
|
+
schemeId: string;
|
|
81
|
+
identityProvider: (
|
|
82
|
+
ipc: import("@smithy/types").IdentityProviderConfig
|
|
83
|
+
) =>
|
|
84
|
+
| import("@smithy/types").IdentityProvider<
|
|
85
|
+
import("@smithy/types").Identity
|
|
86
|
+
>
|
|
87
|
+
| undefined;
|
|
88
|
+
signer: import("@aws-sdk/core").AwsSdkSigV4Signer;
|
|
89
|
+
}
|
|
90
|
+
| {
|
|
91
|
+
schemeId: string;
|
|
92
|
+
identityProvider: (
|
|
93
|
+
ipc: import("@smithy/types").IdentityProviderConfig
|
|
94
|
+
) =>
|
|
95
|
+
| import("@smithy/types").IdentityProvider<
|
|
96
|
+
import("@smithy/types").Identity
|
|
97
|
+
>
|
|
98
|
+
| (() => Promise<{}>);
|
|
99
|
+
signer: import("@smithy/core").NoAuthSigner;
|
|
100
|
+
}
|
|
101
|
+
)[];
|
|
102
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOOIDCHttpAuthSchemeProvider;
|
|
75
103
|
credentials?:
|
|
76
104
|
| import("@smithy/types").AwsCredentialIdentity
|
|
77
|
-
| import("@smithy/types").
|
|
78
|
-
import("@smithy/types").AwsCredentialIdentity
|
|
79
|
-
>
|
|
105
|
+
| import("@smithy/types").AwsCredentialIdentityProvider
|
|
80
106
|
| undefined;
|
|
81
107
|
signer?:
|
|
82
108
|
| import("@smithy/types").RequestSigner
|
|
@@ -93,5 +119,4 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
93
119
|
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
94
120
|
) => import("@smithy/types").RequestSigner)
|
|
95
121
|
| undefined;
|
|
96
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
97
122
|
};
|
|
@@ -70,11 +70,37 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
70
70
|
| import("@smithy/types").RetryStrategy
|
|
71
71
|
| import("@smithy/types").RetryStrategyV2
|
|
72
72
|
| undefined;
|
|
73
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
74
|
+
httpAuthSchemes:
|
|
75
|
+
| import("@smithy/types").HttpAuthScheme[]
|
|
76
|
+
| (
|
|
77
|
+
| {
|
|
78
|
+
schemeId: string;
|
|
79
|
+
identityProvider: (
|
|
80
|
+
ipc: import("@smithy/types").IdentityProviderConfig
|
|
81
|
+
) =>
|
|
82
|
+
| import("@smithy/types").IdentityProvider<
|
|
83
|
+
import("@smithy/types").Identity
|
|
84
|
+
>
|
|
85
|
+
| undefined;
|
|
86
|
+
signer: import("@aws-sdk/core").AwsSdkSigV4Signer;
|
|
87
|
+
}
|
|
88
|
+
| {
|
|
89
|
+
schemeId: string;
|
|
90
|
+
identityProvider: (
|
|
91
|
+
ipc: import("@smithy/types").IdentityProviderConfig
|
|
92
|
+
) =>
|
|
93
|
+
| import("@smithy/types").IdentityProvider<
|
|
94
|
+
import("@smithy/types").Identity
|
|
95
|
+
>
|
|
96
|
+
| (() => Promise<{}>);
|
|
97
|
+
signer: import("@smithy/core").NoAuthSigner;
|
|
98
|
+
}
|
|
99
|
+
)[];
|
|
100
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOOIDCHttpAuthSchemeProvider;
|
|
73
101
|
credentials?:
|
|
74
102
|
| import("@smithy/types").AwsCredentialIdentity
|
|
75
|
-
| import("@smithy/types").
|
|
76
|
-
import("@smithy/types").AwsCredentialIdentity
|
|
77
|
-
>
|
|
103
|
+
| import("@smithy/types").AwsCredentialIdentityProvider
|
|
78
104
|
| undefined;
|
|
79
105
|
signer?:
|
|
80
106
|
| import("@smithy/types").RequestSigner
|
|
@@ -91,5 +117,4 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
91
117
|
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
92
118
|
) => import("@smithy/types").RequestSigner)
|
|
93
119
|
| undefined;
|
|
94
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
95
120
|
};
|
|
@@ -29,13 +29,13 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
29
29
|
serviceId: string;
|
|
30
30
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
31
31
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
32
|
-
region: string | import("@smithy/types").Provider<any>;
|
|
33
|
-
credentialDefaultProvider: (
|
|
34
|
-
input: any
|
|
35
|
-
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
36
32
|
defaultUserAgentProvider: import("@smithy/types").Provider<
|
|
37
33
|
import("@smithy/types").UserAgent
|
|
38
34
|
>;
|
|
35
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
36
|
+
credentialDefaultProvider: (
|
|
37
|
+
input: any
|
|
38
|
+
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
39
39
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
40
40
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
41
41
|
logger: import("@smithy/types").Logger;
|
|
@@ -63,11 +63,37 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
63
63
|
| import("@smithy/types").RetryStrategy
|
|
64
64
|
| import("@smithy/types").RetryStrategyV2
|
|
65
65
|
| undefined;
|
|
66
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
67
|
+
httpAuthSchemes:
|
|
68
|
+
| import("@smithy/types").HttpAuthScheme[]
|
|
69
|
+
| (
|
|
70
|
+
| {
|
|
71
|
+
schemeId: string;
|
|
72
|
+
identityProvider: (
|
|
73
|
+
ipc: import("@smithy/types").IdentityProviderConfig
|
|
74
|
+
) =>
|
|
75
|
+
| import("@smithy/types").IdentityProvider<
|
|
76
|
+
import("@smithy/types").Identity
|
|
77
|
+
>
|
|
78
|
+
| undefined;
|
|
79
|
+
signer: import("@aws-sdk/core").AwsSdkSigV4Signer;
|
|
80
|
+
}
|
|
81
|
+
| {
|
|
82
|
+
schemeId: string;
|
|
83
|
+
identityProvider: (
|
|
84
|
+
ipc: import("@smithy/types").IdentityProviderConfig
|
|
85
|
+
) =>
|
|
86
|
+
| import("@smithy/types").IdentityProvider<
|
|
87
|
+
import("@smithy/types").Identity
|
|
88
|
+
>
|
|
89
|
+
| (() => Promise<{}>);
|
|
90
|
+
signer: import("@smithy/core").NoAuthSigner;
|
|
91
|
+
}
|
|
92
|
+
)[];
|
|
93
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOOIDCHttpAuthSchemeProvider;
|
|
66
94
|
credentials?:
|
|
67
95
|
| import("@smithy/types").AwsCredentialIdentity
|
|
68
|
-
| import("@smithy/types").
|
|
69
|
-
import("@smithy/types").AwsCredentialIdentity
|
|
70
|
-
>
|
|
96
|
+
| import("@smithy/types").AwsCredentialIdentityProvider
|
|
71
97
|
| undefined;
|
|
72
98
|
signer?:
|
|
73
99
|
| import("@smithy/types").RequestSigner
|
|
@@ -84,5 +110,4 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
84
110
|
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
85
111
|
) => import("@smithy/types").RequestSigner)
|
|
86
112
|
| undefined;
|
|
87
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
88
113
|
};
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { NoAuthSigner } from "@smithy/core";
|
|
3
|
+
import { IdentityProviderConfig } from "@smithy/types";
|
|
1
4
|
import { SSOOIDCClientConfig } from "./SSOOIDCClient";
|
|
2
5
|
export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
3
6
|
apiVersion: string;
|
|
@@ -11,6 +14,33 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
11
14
|
}
|
|
12
15
|
) => import("@smithy/types").EndpointV2;
|
|
13
16
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
17
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOOIDCHttpAuthSchemeProvider;
|
|
18
|
+
httpAuthSchemes:
|
|
19
|
+
| import("@smithy/types").HttpAuthScheme[]
|
|
20
|
+
| (
|
|
21
|
+
| {
|
|
22
|
+
schemeId: string;
|
|
23
|
+
identityProvider: (
|
|
24
|
+
ipc: IdentityProviderConfig
|
|
25
|
+
) =>
|
|
26
|
+
| import("@smithy/types").IdentityProvider<
|
|
27
|
+
import("@smithy/types").Identity
|
|
28
|
+
>
|
|
29
|
+
| undefined;
|
|
30
|
+
signer: AwsSdkSigV4Signer;
|
|
31
|
+
}
|
|
32
|
+
| {
|
|
33
|
+
schemeId: string;
|
|
34
|
+
identityProvider: (
|
|
35
|
+
ipc: IdentityProviderConfig
|
|
36
|
+
) =>
|
|
37
|
+
| import("@smithy/types").IdentityProvider<
|
|
38
|
+
import("@smithy/types").Identity
|
|
39
|
+
>
|
|
40
|
+
| (() => Promise<{}>);
|
|
41
|
+
signer: NoAuthSigner;
|
|
42
|
+
}
|
|
43
|
+
)[];
|
|
14
44
|
logger: import("@smithy/types").Logger;
|
|
15
45
|
serviceId: string;
|
|
16
46
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sso-oidc",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.515.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sso-oidc",
|
|
@@ -20,20 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-
|
|
29
|
-
"@aws-sdk/
|
|
30
|
-
"@aws-sdk/
|
|
31
|
-
"@aws-sdk/
|
|
32
|
-
"@aws-sdk/util-
|
|
33
|
-
"@aws-sdk/util-user-agent-
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.511.0",
|
|
23
|
+
"@aws-sdk/client-sts": "3.515.0",
|
|
24
|
+
"@aws-sdk/core": "3.513.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.515.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.515.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.515.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.515.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.515.0",
|
|
30
|
+
"@aws-sdk/types": "3.515.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.515.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.515.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.515.0",
|
|
35
34
|
"@smithy/config-resolver": "^2.1.1",
|
|
36
|
-
"@smithy/core": "^1.3.
|
|
35
|
+
"@smithy/core": "^1.3.2",
|
|
37
36
|
"@smithy/fetch-http-handler": "^2.4.1",
|
|
38
37
|
"@smithy/hash-node": "^2.1.1",
|
|
39
38
|
"@smithy/invalid-dependency": "^2.1.1",
|
|
@@ -52,8 +51,9 @@
|
|
|
52
51
|
"@smithy/util-body-length-browser": "^2.1.1",
|
|
53
52
|
"@smithy/util-body-length-node": "^2.2.1",
|
|
54
53
|
"@smithy/util-defaults-mode-browser": "^2.1.1",
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^2.2.0",
|
|
56
55
|
"@smithy/util-endpoints": "^1.1.1",
|
|
56
|
+
"@smithy/util-middleware": "^2.1.1",
|
|
57
57
|
"@smithy/util-retry": "^2.1.1",
|
|
58
58
|
"@smithy/util-utf8": "^2.1.1",
|
|
59
59
|
"tslib": "^2.5.0"
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
},
|
|
87
87
|
"license": "Apache-2.0",
|
|
88
88
|
"peerDependencies": {
|
|
89
|
-
"@aws-sdk/credential-provider-node": "^3.
|
|
89
|
+
"@aws-sdk/credential-provider-node": "^3.515.0"
|
|
90
90
|
},
|
|
91
91
|
"browser": {
|
|
92
92
|
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
@@ -1334,55 +1334,48 @@ var STS = _STS;
|
|
|
1334
1334
|
// src/index.ts
|
|
1335
1335
|
var import_EndpointParameters9 = require("./endpoint/EndpointParameters");
|
|
1336
1336
|
var import_runtimeExtensions = require("././runtimeExtensions");
|
|
1337
|
-
|
|
1337
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
1338
1338
|
|
|
1339
1339
|
// src/defaultStsRoleAssumers.ts
|
|
1340
|
-
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
1341
1340
|
var ASSUME_ROLE_DEFAULT_REGION = "us-east-1";
|
|
1342
1341
|
var resolveRegion = /* @__PURE__ */ __name(async (_region, _parentRegion, credentialProviderLogger) => {
|
|
1343
|
-
var _a2
|
|
1342
|
+
var _a2;
|
|
1344
1343
|
const region = typeof _region === "function" ? await _region() : _region;
|
|
1345
1344
|
const parentRegion = typeof _parentRegion === "function" ? await _parentRegion() : _parentRegion;
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
} else {
|
|
1356
|
-
(_b = credentialProviderLogger == null ? void 0 : credentialProviderLogger.debug) == null ? void 0 : _b.call(
|
|
1357
|
-
credentialProviderLogger,
|
|
1358
|
-
"@aws-sdk/client-sts::resolveRegion",
|
|
1359
|
-
"accepting first of:",
|
|
1360
|
-
`${region} (provider)`,
|
|
1361
|
-
`${parentRegion} (parent client)`,
|
|
1362
|
-
`${ASSUME_ROLE_DEFAULT_REGION} (STS default)`
|
|
1363
|
-
);
|
|
1364
|
-
return region ?? parentRegion ?? ASSUME_ROLE_DEFAULT_REGION;
|
|
1365
|
-
}
|
|
1345
|
+
(_a2 = credentialProviderLogger == null ? void 0 : credentialProviderLogger.debug) == null ? void 0 : _a2.call(
|
|
1346
|
+
credentialProviderLogger,
|
|
1347
|
+
"@aws-sdk/client-sts::resolveRegion",
|
|
1348
|
+
"accepting first of:",
|
|
1349
|
+
`${region} (provider)`,
|
|
1350
|
+
`${parentRegion} (parent client)`,
|
|
1351
|
+
`${ASSUME_ROLE_DEFAULT_REGION} (STS default)`
|
|
1352
|
+
);
|
|
1353
|
+
return region ?? parentRegion ?? ASSUME_ROLE_DEFAULT_REGION;
|
|
1366
1354
|
}, "resolveRegion");
|
|
1367
1355
|
var getDefaultRoleAssumer = /* @__PURE__ */ __name((stsOptions, stsClientCtor) => {
|
|
1368
1356
|
let stsClient;
|
|
1369
1357
|
let closureSourceCreds;
|
|
1370
1358
|
return async (sourceCreds, params) => {
|
|
1371
|
-
var _a2;
|
|
1359
|
+
var _a2, _b, _c;
|
|
1372
1360
|
closureSourceCreds = sourceCreds;
|
|
1373
1361
|
if (!stsClient) {
|
|
1374
|
-
const {
|
|
1362
|
+
const {
|
|
1363
|
+
logger = (_a2 = stsOptions == null ? void 0 : stsOptions.parentClientConfig) == null ? void 0 : _a2.logger,
|
|
1364
|
+
region,
|
|
1365
|
+
requestHandler = (_b = stsOptions == null ? void 0 : stsOptions.parentClientConfig) == null ? void 0 : _b.requestHandler,
|
|
1366
|
+
credentialProviderLogger
|
|
1367
|
+
} = stsOptions;
|
|
1375
1368
|
const resolvedRegion = await resolveRegion(
|
|
1376
1369
|
region,
|
|
1377
|
-
(
|
|
1370
|
+
(_c = stsOptions == null ? void 0 : stsOptions.parentClientConfig) == null ? void 0 : _c.region,
|
|
1378
1371
|
credentialProviderLogger
|
|
1379
1372
|
);
|
|
1380
1373
|
stsClient = new stsClientCtor({
|
|
1381
|
-
logger,
|
|
1382
1374
|
// A hack to make sts client uses the credential in current closure.
|
|
1383
1375
|
credentialDefaultProvider: () => async () => closureSourceCreds,
|
|
1384
1376
|
region: resolvedRegion,
|
|
1385
|
-
|
|
1377
|
+
requestHandler,
|
|
1378
|
+
logger
|
|
1386
1379
|
});
|
|
1387
1380
|
}
|
|
1388
1381
|
const { Credentials: Credentials2 } = await stsClient.send(new AssumeRoleCommand(params));
|
|
@@ -1402,18 +1395,23 @@ var getDefaultRoleAssumer = /* @__PURE__ */ __name((stsOptions, stsClientCtor) =
|
|
|
1402
1395
|
var getDefaultRoleAssumerWithWebIdentity = /* @__PURE__ */ __name((stsOptions, stsClientCtor) => {
|
|
1403
1396
|
let stsClient;
|
|
1404
1397
|
return async (params) => {
|
|
1405
|
-
var _a2;
|
|
1398
|
+
var _a2, _b, _c;
|
|
1406
1399
|
if (!stsClient) {
|
|
1407
|
-
const {
|
|
1400
|
+
const {
|
|
1401
|
+
logger = (_a2 = stsOptions == null ? void 0 : stsOptions.parentClientConfig) == null ? void 0 : _a2.logger,
|
|
1402
|
+
region,
|
|
1403
|
+
requestHandler = (_b = stsOptions == null ? void 0 : stsOptions.parentClientConfig) == null ? void 0 : _b.requestHandler,
|
|
1404
|
+
credentialProviderLogger
|
|
1405
|
+
} = stsOptions;
|
|
1408
1406
|
const resolvedRegion = await resolveRegion(
|
|
1409
1407
|
region,
|
|
1410
|
-
(
|
|
1408
|
+
(_c = stsOptions == null ? void 0 : stsOptions.parentClientConfig) == null ? void 0 : _c.region,
|
|
1411
1409
|
credentialProviderLogger
|
|
1412
1410
|
);
|
|
1413
1411
|
stsClient = new stsClientCtor({
|
|
1414
|
-
logger,
|
|
1415
1412
|
region: resolvedRegion,
|
|
1416
|
-
|
|
1413
|
+
requestHandler,
|
|
1414
|
+
logger
|
|
1417
1415
|
});
|
|
1418
1416
|
}
|
|
1419
1417
|
const { Credentials: Credentials2 } = await stsClient.send(new AssumeRoleWithWebIdentityCommand(params));
|
|
@@ -1,18 +1,11 @@
|
|
|
1
|
-
import { partition } from "@aws-sdk/util-endpoints";
|
|
2
1
|
import { AssumeRoleCommand } from "./commands/AssumeRoleCommand";
|
|
3
2
|
import { AssumeRoleWithWebIdentityCommand, } from "./commands/AssumeRoleWithWebIdentityCommand";
|
|
4
3
|
const ASSUME_ROLE_DEFAULT_REGION = "us-east-1";
|
|
5
4
|
const resolveRegion = async (_region, _parentRegion, credentialProviderLogger) => {
|
|
6
5
|
const region = typeof _region === "function" ? await _region() : _region;
|
|
7
6
|
const parentRegion = typeof _parentRegion === "function" ? await _parentRegion() : _parentRegion;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
return region ?? ASSUME_ROLE_DEFAULT_REGION;
|
|
11
|
-
}
|
|
12
|
-
else {
|
|
13
|
-
credentialProviderLogger?.debug?.("@aws-sdk/client-sts::resolveRegion", "accepting first of:", `${region} (provider)`, `${parentRegion} (parent client)`, `${ASSUME_ROLE_DEFAULT_REGION} (STS default)`);
|
|
14
|
-
return region ?? parentRegion ?? ASSUME_ROLE_DEFAULT_REGION;
|
|
15
|
-
}
|
|
7
|
+
credentialProviderLogger?.debug?.("@aws-sdk/client-sts::resolveRegion", "accepting first of:", `${region} (provider)`, `${parentRegion} (parent client)`, `${ASSUME_ROLE_DEFAULT_REGION} (STS default)`);
|
|
8
|
+
return region ?? parentRegion ?? ASSUME_ROLE_DEFAULT_REGION;
|
|
16
9
|
};
|
|
17
10
|
export const getDefaultRoleAssumer = (stsOptions, stsClientCtor) => {
|
|
18
11
|
let stsClient;
|
|
@@ -20,13 +13,13 @@ export const getDefaultRoleAssumer = (stsOptions, stsClientCtor) => {
|
|
|
20
13
|
return async (sourceCreds, params) => {
|
|
21
14
|
closureSourceCreds = sourceCreds;
|
|
22
15
|
if (!stsClient) {
|
|
23
|
-
const { logger, region, requestHandler, credentialProviderLogger } = stsOptions;
|
|
16
|
+
const { logger = stsOptions?.parentClientConfig?.logger, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, } = stsOptions;
|
|
24
17
|
const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger);
|
|
25
18
|
stsClient = new stsClientCtor({
|
|
26
|
-
logger,
|
|
27
19
|
credentialDefaultProvider: () => async () => closureSourceCreds,
|
|
28
20
|
region: resolvedRegion,
|
|
29
|
-
|
|
21
|
+
requestHandler: requestHandler,
|
|
22
|
+
logger: logger,
|
|
30
23
|
});
|
|
31
24
|
}
|
|
32
25
|
const { Credentials } = await stsClient.send(new AssumeRoleCommand(params));
|
|
@@ -46,12 +39,12 @@ export const getDefaultRoleAssumerWithWebIdentity = (stsOptions, stsClientCtor)
|
|
|
46
39
|
let stsClient;
|
|
47
40
|
return async (params) => {
|
|
48
41
|
if (!stsClient) {
|
|
49
|
-
const { logger, region, requestHandler, credentialProviderLogger } = stsOptions;
|
|
42
|
+
const { logger = stsOptions?.parentClientConfig?.logger, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, } = stsOptions;
|
|
50
43
|
const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger);
|
|
51
44
|
stsClient = new stsClientCtor({
|
|
52
|
-
logger,
|
|
53
45
|
region: resolvedRegion,
|
|
54
|
-
|
|
46
|
+
requestHandler: requestHandler,
|
|
47
|
+
logger: logger,
|
|
55
48
|
});
|
|
56
49
|
}
|
|
57
50
|
const { Credentials } = await stsClient.send(new AssumeRoleWithWebIdentityCommand(params));
|