@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
|
@@ -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
|
CloneReceiptRuleSetCommandInput,
|
|
50
50
|
CloneReceiptRuleSetCommandOutput,
|
|
@@ -496,9 +496,9 @@ export interface ClientDefaults
|
|
|
496
496
|
serviceId?: string;
|
|
497
497
|
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
498
498
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
499
|
-
region?: string | __Provider<string>;
|
|
500
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
501
499
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
500
|
+
region?: string | __Provider<string>;
|
|
501
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
502
502
|
maxAttempts?: number | __Provider<number>;
|
|
503
503
|
retryMode?: string | __Provider<string>;
|
|
504
504
|
logger?: __Logger;
|
|
@@ -513,8 +513,8 @@ export type SESClientConfigType = Partial<
|
|
|
513
513
|
EndpointInputConfig<EndpointParameters> &
|
|
514
514
|
RetryInputConfig &
|
|
515
515
|
HostHeaderInputConfig &
|
|
516
|
-
AwsAuthInputConfig &
|
|
517
516
|
UserAgentInputConfig &
|
|
517
|
+
HttpAuthSchemeInputConfig &
|
|
518
518
|
ClientInputEndpointParameters;
|
|
519
519
|
export interface SESClientConfig extends SESClientConfigType {}
|
|
520
520
|
export type SESClientResolvedConfigType =
|
|
@@ -525,8 +525,8 @@ export type SESClientResolvedConfigType =
|
|
|
525
525
|
EndpointResolvedConfig<EndpointParameters> &
|
|
526
526
|
RetryResolvedConfig &
|
|
527
527
|
HostHeaderResolvedConfig &
|
|
528
|
-
AwsAuthResolvedConfig &
|
|
529
528
|
UserAgentResolvedConfig &
|
|
529
|
+
HttpAuthSchemeResolvedConfig &
|
|
530
530
|
ClientResolvedEndpointParameters;
|
|
531
531
|
export interface SESClientResolvedConfig extends SESClientResolvedConfigType {}
|
|
532
532
|
export declare class SESClient extends __Client<
|
|
@@ -538,4 +538,6 @@ export declare class SESClient extends __Client<
|
|
|
538
538
|
readonly config: SESClientResolvedConfig;
|
|
539
539
|
constructor(...[configuration]: __CheckOptionalClientConfig<SESClientConfig>);
|
|
540
540
|
destroy(): void;
|
|
541
|
+
private getDefaultHttpAuthSchemeParametersProvider;
|
|
542
|
+
private getIdentityProviderConfigProvider;
|
|
541
543
|
}
|
package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsCredentialIdentity,
|
|
3
|
+
AwsCredentialIdentityProvider,
|
|
4
|
+
HttpAuthScheme,
|
|
5
|
+
} from "@smithy/types";
|
|
6
|
+
import { SESHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
7
|
+
export interface HttpAuthExtensionConfiguration {
|
|
8
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
+
setHttpAuthSchemeProvider(
|
|
11
|
+
httpAuthSchemeProvider: SESHttpAuthSchemeProvider
|
|
12
|
+
): void;
|
|
13
|
+
httpAuthSchemeProvider(): SESHttpAuthSchemeProvider;
|
|
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: SESHttpAuthSchemeProvider;
|
|
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;
|
|
@@ -0,0 +1,43 @@
|
|
|
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 { SESClientResolvedConfig } from "../SESClient";
|
|
14
|
+
export interface SESHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
15
|
+
region?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface SESHttpAuthSchemeParametersProvider
|
|
18
|
+
extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
SESClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
SESHttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
24
|
+
export declare const defaultSESHttpAuthSchemeParametersProvider: (
|
|
25
|
+
config: SESClientResolvedConfig,
|
|
26
|
+
context: HandlerExecutionContext,
|
|
27
|
+
input: object
|
|
28
|
+
) => Promise<SESHttpAuthSchemeParameters>;
|
|
29
|
+
export interface SESHttpAuthSchemeProvider
|
|
30
|
+
extends HttpAuthSchemeProvider<SESHttpAuthSchemeParameters> {}
|
|
31
|
+
export declare const defaultSESHttpAuthSchemeProvider: SESHttpAuthSchemeProvider;
|
|
32
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
33
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
34
|
+
httpAuthSchemeProvider?: SESHttpAuthSchemeProvider;
|
|
35
|
+
}
|
|
36
|
+
export interface HttpAuthSchemeResolvedConfig
|
|
37
|
+
extends AwsSdkSigV4AuthResolvedConfig {
|
|
38
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
39
|
+
readonly httpAuthSchemeProvider: SESHttpAuthSchemeProvider;
|
|
40
|
+
}
|
|
41
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
42
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
43
|
+
) => 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 SESExtensionConfiguration
|
|
5
6
|
extends HttpHandlerExtensionConfiguration,
|
|
6
7
|
DefaultExtensionConfiguration,
|
|
7
|
-
AwsRegionExtensionConfiguration
|
|
8
|
+
AwsRegionExtensionConfiguration,
|
|
9
|
+
HttpAuthExtensionConfiguration {}
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: SESClientConfig) => {
|
|
|
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,12 @@ export declare const getRuntimeConfig: (config: SESClientConfig) => {
|
|
|
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: import("@smithy/types").HttpAuthScheme[];
|
|
77
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SESHttpAuthSchemeProvider;
|
|
75
78
|
credentials?:
|
|
76
79
|
| import("@smithy/types").AwsCredentialIdentity
|
|
77
|
-
| import("@smithy/types").
|
|
78
|
-
import("@smithy/types").AwsCredentialIdentity
|
|
79
|
-
>
|
|
80
|
+
| import("@smithy/types").AwsCredentialIdentityProvider
|
|
80
81
|
| undefined;
|
|
81
82
|
signer?:
|
|
82
83
|
| import("@smithy/types").RequestSigner
|
|
@@ -93,5 +94,4 @@ export declare const getRuntimeConfig: (config: SESClientConfig) => {
|
|
|
93
94
|
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
94
95
|
) => import("@smithy/types").RequestSigner)
|
|
95
96
|
| undefined;
|
|
96
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
97
97
|
};
|
|
@@ -76,11 +76,12 @@ export declare const getRuntimeConfig: (config: SESClientConfig) => {
|
|
|
76
76
|
| import("@smithy/types").RetryStrategy
|
|
77
77
|
| import("@smithy/types").RetryStrategyV2
|
|
78
78
|
| undefined;
|
|
79
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
80
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
81
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SESHttpAuthSchemeProvider;
|
|
79
82
|
credentials?:
|
|
80
83
|
| import("@smithy/types").AwsCredentialIdentity
|
|
81
|
-
| import("@smithy/types").
|
|
82
|
-
import("@smithy/types").AwsCredentialIdentity
|
|
83
|
-
>
|
|
84
|
+
| import("@smithy/types").AwsCredentialIdentityProvider
|
|
84
85
|
| undefined;
|
|
85
86
|
signer?:
|
|
86
87
|
| import("@smithy/types").RequestSigner
|
|
@@ -97,5 +98,4 @@ export declare const getRuntimeConfig: (config: SESClientConfig) => {
|
|
|
97
98
|
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
98
99
|
) => import("@smithy/types").RequestSigner)
|
|
99
100
|
| undefined;
|
|
100
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
101
101
|
};
|
|
@@ -29,13 +29,13 @@ export declare const getRuntimeConfig: (config: SESClientConfig) => {
|
|
|
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,12 @@ export declare const getRuntimeConfig: (config: SESClientConfig) => {
|
|
|
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: import("@smithy/types").HttpAuthScheme[];
|
|
68
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SESHttpAuthSchemeProvider;
|
|
66
69
|
credentials?:
|
|
67
70
|
| import("@smithy/types").AwsCredentialIdentity
|
|
68
|
-
| import("@smithy/types").
|
|
69
|
-
import("@smithy/types").AwsCredentialIdentity
|
|
70
|
-
>
|
|
71
|
+
| import("@smithy/types").AwsCredentialIdentityProvider
|
|
71
72
|
| undefined;
|
|
72
73
|
signer?:
|
|
73
74
|
| import("@smithy/types").RequestSigner
|
|
@@ -84,5 +85,4 @@ export declare const getRuntimeConfig: (config: SESClientConfig) => {
|
|
|
84
85
|
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
85
86
|
) => import("@smithy/types").RequestSigner)
|
|
86
87
|
| undefined;
|
|
87
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
88
88
|
};
|
|
@@ -11,6 +11,8 @@ export declare const getRuntimeConfig: (config: SESClientConfig) => {
|
|
|
11
11
|
}
|
|
12
12
|
) => import("@smithy/types").EndpointV2;
|
|
13
13
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
14
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SESHttpAuthSchemeProvider;
|
|
15
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
14
16
|
logger: import("@smithy/types").Logger;
|
|
15
17
|
serviceId: string;
|
|
16
18
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ses",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ses 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-ses",
|
|
@@ -20,21 +20,20 @@
|
|
|
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/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-
|
|
30
|
-
"@aws-sdk/
|
|
31
|
-
"@aws-sdk/
|
|
32
|
-
"@aws-sdk/
|
|
33
|
-
"@aws-sdk/util-
|
|
34
|
-
"@aws-sdk/util-user-agent-
|
|
35
|
-
"@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/credential-provider-node": "3.515.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.515.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.515.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.515.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.515.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.515.0",
|
|
31
|
+
"@aws-sdk/types": "3.515.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.515.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.515.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.515.0",
|
|
36
35
|
"@smithy/config-resolver": "^2.1.1",
|
|
37
|
-
"@smithy/core": "^1.3.
|
|
36
|
+
"@smithy/core": "^1.3.2",
|
|
38
37
|
"@smithy/fetch-http-handler": "^2.4.1",
|
|
39
38
|
"@smithy/hash-node": "^2.1.1",
|
|
40
39
|
"@smithy/invalid-dependency": "^2.1.1",
|
|
@@ -53,8 +52,9 @@
|
|
|
53
52
|
"@smithy/util-body-length-browser": "^2.1.1",
|
|
54
53
|
"@smithy/util-body-length-node": "^2.2.1",
|
|
55
54
|
"@smithy/util-defaults-mode-browser": "^2.1.1",
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^2.
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.2.0",
|
|
57
56
|
"@smithy/util-endpoints": "^1.1.1",
|
|
57
|
+
"@smithy/util-middleware": "^2.1.1",
|
|
58
58
|
"@smithy/util-retry": "^2.1.1",
|
|
59
59
|
"@smithy/util-utf8": "^2.1.1",
|
|
60
60
|
"@smithy/util-waiter": "^2.1.1",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveHttpAuthSchemeConfig = exports.defaultSSMHttpAuthSchemeProvider = exports.defaultSSMHttpAuthSchemeParametersProvider = void 0;
|
|
4
|
+
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const util_middleware_1 = require("@smithy/util-middleware");
|
|
6
|
+
const defaultSSMHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
|
+
return {
|
|
8
|
+
operation: (0, util_middleware_1.getSmithyContext)(context).operation,
|
|
9
|
+
region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||
|
|
10
|
+
(() => {
|
|
11
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
12
|
+
})(),
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
exports.defaultSSMHttpAuthSchemeParametersProvider = defaultSSMHttpAuthSchemeParametersProvider;
|
|
16
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
17
|
+
return {
|
|
18
|
+
schemeId: "aws.auth#sigv4",
|
|
19
|
+
signingProperties: {
|
|
20
|
+
name: "ssm",
|
|
21
|
+
region: authParameters.region,
|
|
22
|
+
},
|
|
23
|
+
propertiesExtractor: (config, context) => ({
|
|
24
|
+
signingProperties: {
|
|
25
|
+
config,
|
|
26
|
+
context,
|
|
27
|
+
},
|
|
28
|
+
}),
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
const defaultSSMHttpAuthSchemeProvider = (authParameters) => {
|
|
32
|
+
const options = [];
|
|
33
|
+
switch (authParameters.operation) {
|
|
34
|
+
default: {
|
|
35
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return options;
|
|
39
|
+
};
|
|
40
|
+
exports.defaultSSMHttpAuthSchemeProvider = defaultSSMHttpAuthSchemeProvider;
|
|
41
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
42
|
+
const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
|
|
43
|
+
return {
|
|
44
|
+
...config_0,
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
|
@@ -494,13 +494,14 @@ module.exports = __toCommonJS(src_exports);
|
|
|
494
494
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
495
495
|
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
496
496
|
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
497
|
-
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
498
497
|
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
499
498
|
var import_config_resolver = require("@smithy/config-resolver");
|
|
499
|
+
var import_core = require("@smithy/core");
|
|
500
500
|
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
501
501
|
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
502
502
|
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
503
503
|
|
|
504
|
+
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
504
505
|
|
|
505
506
|
// src/endpoint/EndpointParameters.ts
|
|
506
507
|
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
@@ -525,19 +526,62 @@ var import_runtimeConfig = require("././runtimeConfig");
|
|
|
525
526
|
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
526
527
|
var import_protocol_http = require("@smithy/protocol-http");
|
|
527
528
|
var import_smithy_client = require("@smithy/smithy-client");
|
|
529
|
+
|
|
530
|
+
// src/auth/httpAuthExtensionConfiguration.ts
|
|
531
|
+
var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
532
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
533
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
534
|
+
let _credentials = runtimeConfig.credentials;
|
|
535
|
+
return {
|
|
536
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
537
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
538
|
+
if (index === -1) {
|
|
539
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
540
|
+
} else {
|
|
541
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
542
|
+
}
|
|
543
|
+
},
|
|
544
|
+
httpAuthSchemes() {
|
|
545
|
+
return _httpAuthSchemes;
|
|
546
|
+
},
|
|
547
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
548
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
549
|
+
},
|
|
550
|
+
httpAuthSchemeProvider() {
|
|
551
|
+
return _httpAuthSchemeProvider;
|
|
552
|
+
},
|
|
553
|
+
setCredentials(credentials) {
|
|
554
|
+
_credentials = credentials;
|
|
555
|
+
},
|
|
556
|
+
credentials() {
|
|
557
|
+
return _credentials;
|
|
558
|
+
}
|
|
559
|
+
};
|
|
560
|
+
}, "getHttpAuthExtensionConfiguration");
|
|
561
|
+
var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
562
|
+
return {
|
|
563
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
564
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
565
|
+
credentials: config.credentials()
|
|
566
|
+
};
|
|
567
|
+
}, "resolveHttpAuthRuntimeConfig");
|
|
568
|
+
|
|
569
|
+
// src/runtimeExtensions.ts
|
|
528
570
|
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
529
571
|
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
530
572
|
const extensionConfiguration = {
|
|
531
573
|
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
532
574
|
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
533
|
-
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
575
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
|
576
|
+
...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig))
|
|
534
577
|
};
|
|
535
578
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
536
579
|
return {
|
|
537
580
|
...runtimeConfig,
|
|
538
581
|
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
539
582
|
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
540
|
-
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
583
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
584
|
+
...resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
541
585
|
};
|
|
542
586
|
}, "resolveRuntimeExtensions");
|
|
543
587
|
|
|
@@ -550,8 +594,8 @@ var _SSMClient = class _SSMClient extends import_smithy_client.Client {
|
|
|
550
594
|
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
551
595
|
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
552
596
|
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
553
|
-
const _config_6 = (0,
|
|
554
|
-
const _config_7 = (0,
|
|
597
|
+
const _config_6 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_5);
|
|
598
|
+
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
555
599
|
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
556
600
|
super(_config_8);
|
|
557
601
|
this.config = _config_8;
|
|
@@ -560,8 +604,14 @@ var _SSMClient = class _SSMClient extends import_smithy_client.Client {
|
|
|
560
604
|
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
561
605
|
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
562
606
|
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
563
|
-
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
564
607
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
608
|
+
this.middlewareStack.use(
|
|
609
|
+
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
610
|
+
httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
|
|
611
|
+
identityProviderConfigProvider: this.getIdentityProviderConfigProvider()
|
|
612
|
+
})
|
|
613
|
+
);
|
|
614
|
+
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
565
615
|
}
|
|
566
616
|
/**
|
|
567
617
|
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
@@ -571,6 +621,14 @@ var _SSMClient = class _SSMClient extends import_smithy_client.Client {
|
|
|
571
621
|
destroy() {
|
|
572
622
|
super.destroy();
|
|
573
623
|
}
|
|
624
|
+
getDefaultHttpAuthSchemeParametersProvider() {
|
|
625
|
+
return import_httpAuthSchemeProvider.defaultSSMHttpAuthSchemeParametersProvider;
|
|
626
|
+
}
|
|
627
|
+
getIdentityProviderConfigProvider() {
|
|
628
|
+
return async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
629
|
+
"aws.auth#sigv4": config.credentials
|
|
630
|
+
});
|
|
631
|
+
}
|
|
574
632
|
};
|
|
575
633
|
__name(_SSMClient, "SSMClient");
|
|
576
634
|
var SSMClient = _SSMClient;
|
|
@@ -12236,7 +12294,7 @@ var SSM = _SSM;
|
|
|
12236
12294
|
(0, import_smithy_client.createAggregatedClient)(commands, SSM);
|
|
12237
12295
|
|
|
12238
12296
|
// src/pagination/DescribeActivationsPaginator.ts
|
|
12239
|
-
|
|
12297
|
+
|
|
12240
12298
|
var paginateDescribeActivations = (0, import_core.createPaginator)(SSMClient, DescribeActivationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
12241
12299
|
|
|
12242
12300
|
// src/pagination/DescribeAssociationExecutionTargetsPaginator.ts
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
|
+
const core_1 = require("@aws-sdk/core");
|
|
4
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
6
|
const url_parser_1 = require("@smithy/url-parser");
|
|
6
7
|
const util_base64_1 = require("@smithy/util-base64");
|
|
7
8
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
9
|
+
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
8
10
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
9
11
|
const getRuntimeConfig = (config) => {
|
|
10
12
|
return {
|
|
@@ -14,6 +16,14 @@ const getRuntimeConfig = (config) => {
|
|
|
14
16
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
15
17
|
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
16
18
|
extensions: config?.extensions ?? [],
|
|
19
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSSMHttpAuthSchemeProvider,
|
|
20
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
21
|
+
{
|
|
22
|
+
schemeId: "aws.auth#sigv4",
|
|
23
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
24
|
+
signer: new core_1.AwsSdkSigV4Signer(),
|
|
25
|
+
},
|
|
26
|
+
],
|
|
17
27
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
18
28
|
serviceId: config?.serviceId ?? "SSM",
|
|
19
29
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
2
2
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
3
3
|
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
4
|
-
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
5
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
6
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
|
+
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
7
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
8
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
9
|
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
10
10
|
import { Client as __Client, } from "@smithy/smithy-client";
|
|
11
|
+
import { defaultSSMHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
11
12
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
12
13
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
13
14
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
@@ -20,8 +21,8 @@ export class SSMClient extends __Client {
|
|
|
20
21
|
const _config_3 = resolveEndpointConfig(_config_2);
|
|
21
22
|
const _config_4 = resolveRetryConfig(_config_3);
|
|
22
23
|
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
23
|
-
const _config_6 =
|
|
24
|
-
const _config_7 =
|
|
24
|
+
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
25
|
+
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
25
26
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
26
27
|
super(_config_8);
|
|
27
28
|
this.config = _config_8;
|
|
@@ -30,10 +31,22 @@ export class SSMClient extends __Client {
|
|
|
30
31
|
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
31
32
|
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
32
33
|
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
33
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
34
34
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
35
|
+
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
36
|
+
httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
|
|
37
|
+
identityProviderConfigProvider: this.getIdentityProviderConfigProvider(),
|
|
38
|
+
}));
|
|
39
|
+
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
35
40
|
}
|
|
36
41
|
destroy() {
|
|
37
42
|
super.destroy();
|
|
38
43
|
}
|
|
44
|
+
getDefaultHttpAuthSchemeParametersProvider() {
|
|
45
|
+
return defaultSSMHttpAuthSchemeParametersProvider;
|
|
46
|
+
}
|
|
47
|
+
getIdentityProviderConfigProvider() {
|
|
48
|
+
return async (config) => new DefaultIdentityProviderConfig({
|
|
49
|
+
"aws.auth#sigv4": config.credentials,
|
|
50
|
+
});
|
|
51
|
+
}
|
|
39
52
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
2
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
3
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
4
|
+
let _credentials = runtimeConfig.credentials;
|
|
5
|
+
return {
|
|
6
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
7
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
8
|
+
if (index === -1) {
|
|
9
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
10
|
+
}
|
|
11
|
+
else {
|
|
12
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
httpAuthSchemes() {
|
|
16
|
+
return _httpAuthSchemes;
|
|
17
|
+
},
|
|
18
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
19
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
20
|
+
},
|
|
21
|
+
httpAuthSchemeProvider() {
|
|
22
|
+
return _httpAuthSchemeProvider;
|
|
23
|
+
},
|
|
24
|
+
setCredentials(credentials) {
|
|
25
|
+
_credentials = credentials;
|
|
26
|
+
},
|
|
27
|
+
credentials() {
|
|
28
|
+
return _credentials;
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export const resolveHttpAuthRuntimeConfig = (config) => {
|
|
33
|
+
return {
|
|
34
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
35
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
36
|
+
credentials: config.credentials(),
|
|
37
|
+
};
|
|
38
|
+
};
|