@cdklabs/cdk-ecs-codedeploy 0.0.246 → 0.0.248
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 +4 -4
- package/.jsii.tabl.json +1 -1
- package/API.md +2 -2
- package/lib/api-canary/index.js +1 -1
- package/lib/ecs-appspec/index.js +1 -1
- package/lib/ecs-deployment/index.js +1 -1
- package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.d.ts +2 -2
- package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/index.js +65 -7
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.shared.js +10 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/CodeDeployClient.js +17 -4
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.shared.js +10 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeExtensions.js +3 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/CodeDeployClient.d.ts +13 -11
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.browser.d.ts +6 -6
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.d.ts +4 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.native.d.ts +6 -4
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/CodeDeployClient.d.ts +11 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.d.ts +4 -4
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/node_modules/@aws-sdk/client-codedeploy/package.json +16 -16
- 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/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 +43 -17
- package/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js +17 -15
- package/node_modules/@aws-sdk/client-sts/dist-types/defaultRoleAssumers.d.ts +4 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers.d.ts +11 -3
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/defaultRoleAssumers.d.ts +4 -7
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/defaultStsRoleAssumers.d.ts +11 -3
- package/node_modules/@aws-sdk/client-sts/package.json +14 -14
- package/node_modules/@aws-sdk/core/CHANGELOG.md +22 -0
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +13 -7
- package/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +6 -2
- package/node_modules/@aws-sdk/core/package.json +2 -2
- package/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.ts +10 -2
- package/node_modules/@aws-sdk/core/tsconfig.cjs.tsbuildinfo +1 -1
- package/node_modules/@aws-sdk/core/tsconfig.es.tsbuildinfo +1 -1
- package/node_modules/@aws-sdk/core/tsconfig.types.tsbuildinfo +1 -1
- 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/dist-cjs/index.js +10 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +5 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js +1 -0
- 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/dist-cjs/fromWebToken.js +5 -1
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js +5 -1
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-host-header/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-user-agent/package.json +3 -3
- package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +16 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +3 -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/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-signing/LICENSE +0 -201
- package/node_modules/@aws-sdk/middleware-signing/README.md +0 -4
- package/node_modules/@aws-sdk/middleware-signing/dist-cjs/awsAuthConfiguration.js +0 -1
- package/node_modules/@aws-sdk/middleware-signing/dist-cjs/awsAuthMiddleware.js +0 -1
- package/node_modules/@aws-sdk/middleware-signing/dist-cjs/index.js +0 -227
- package/node_modules/@aws-sdk/middleware-signing/dist-es/awsAuthConfiguration.js +0 -103
- package/node_modules/@aws-sdk/middleware-signing/dist-es/awsAuthMiddleware.js +0 -55
- package/node_modules/@aws-sdk/middleware-signing/dist-es/index.js +0 -2
- package/node_modules/@aws-sdk/middleware-signing/dist-es/utils/getSkewCorrectedDate.js +0 -1
- package/node_modules/@aws-sdk/middleware-signing/dist-es/utils/getUpdatedSystemClockOffset.js +0 -8
- package/node_modules/@aws-sdk/middleware-signing/dist-es/utils/isClockSkewed.js +0 -2
- package/node_modules/@aws-sdk/middleware-signing/dist-types/awsAuthConfiguration.d.ts +0 -99
- package/node_modules/@aws-sdk/middleware-signing/dist-types/awsAuthMiddleware.d.ts +0 -6
- package/node_modules/@aws-sdk/middleware-signing/dist-types/index.d.ts +0 -2
- package/node_modules/@aws-sdk/middleware-signing/dist-types/ts3.4/awsAuthConfiguration.d.ts +0 -68
- package/node_modules/@aws-sdk/middleware-signing/dist-types/ts3.4/awsAuthMiddleware.d.ts +0 -19
- package/node_modules/@aws-sdk/middleware-signing/dist-types/ts3.4/index.d.ts +0 -2
- package/node_modules/@aws-sdk/middleware-signing/dist-types/ts3.4/utils/getSkewCorrectedDate.d.ts +0 -1
- package/node_modules/@aws-sdk/middleware-signing/dist-types/ts3.4/utils/getUpdatedSystemClockOffset.d.ts +0 -4
- package/node_modules/@aws-sdk/middleware-signing/dist-types/ts3.4/utils/isClockSkewed.d.ts +0 -4
- package/node_modules/@aws-sdk/middleware-signing/dist-types/utils/getSkewCorrectedDate.d.ts +0 -6
- package/node_modules/@aws-sdk/middleware-signing/dist-types/utils/getUpdatedSystemClockOffset.d.ts +0 -8
- package/node_modules/@aws-sdk/middleware-signing/dist-types/utils/isClockSkewed.d.ts +0 -7
- package/node_modules/@aws-sdk/middleware-signing/package.json +0 -59
- /package/node_modules/@aws-sdk/{middleware-signing/dist-cjs/utils/getSkewCorrectedDate.js → client-codedeploy/dist-cjs/auth/httpAuthExtensionConfiguration.js} +0 -0
- /package/node_modules/@aws-sdk/{middleware-signing/dist-cjs/utils/isClockSkewed.js → client-sso/dist-cjs/auth/httpAuthExtensionConfiguration.js} +0 -0
- /package/node_modules/@aws-sdk/{middleware-signing/dist-cjs/utils/getUpdatedSystemClockOffset.js → client-sso-oidc/dist-cjs/auth/httpAuthExtensionConfiguration.js} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Pluggable } from "@smithy/types";
|
|
2
|
-
import { DefaultCredentialProvider, RoleAssumer, RoleAssumerWithWebIdentity } from "./defaultStsRoleAssumers";
|
|
3
|
-
import { ServiceInputTypes, ServiceOutputTypes
|
|
2
|
+
import { DefaultCredentialProvider, RoleAssumer, RoleAssumerWithWebIdentity, STSRoleAssumerOptions } from "./defaultStsRoleAssumers";
|
|
3
|
+
import { ServiceInputTypes, ServiceOutputTypes } from "./STSClient";
|
|
4
4
|
/**
|
|
5
5
|
* The default role assumer that used by credential providers when sts:AssumeRole API is needed.
|
|
6
6
|
*/
|
|
7
|
-
export declare const getDefaultRoleAssumer: (stsOptions?:
|
|
7
|
+
export declare const getDefaultRoleAssumer: (stsOptions?: STSRoleAssumerOptions, stsPlugins?: Pluggable<ServiceInputTypes, ServiceOutputTypes>[]) => RoleAssumer;
|
|
8
8
|
/**
|
|
9
9
|
* The default role assumer that used by credential providers when sts:AssumeRoleWithWebIdentity API is needed.
|
|
10
10
|
*/
|
|
11
|
-
export declare const getDefaultRoleAssumerWithWebIdentity: (stsOptions?:
|
|
11
|
+
export declare const getDefaultRoleAssumerWithWebIdentity: (stsOptions?: STSRoleAssumerOptions, stsPlugins?: Pluggable<ServiceInputTypes, ServiceOutputTypes>[]) => RoleAssumerWithWebIdentity;
|
|
12
12
|
/**
|
|
13
13
|
* The default credential providers depend STS client to assume role with desired API: sts:assumeRole,
|
|
14
14
|
* sts:assumeRoleWithWebIdentity, etc. This function decorates the default credential provider with role assumers which
|
|
@@ -1,7 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { CredentialProviderOptions } from "@aws-sdk/types";
|
|
2
|
+
import { AwsCredentialIdentity, Logger, Provider } from "@smithy/types";
|
|
2
3
|
import { AssumeRoleCommandInput } from "./commands/AssumeRoleCommand";
|
|
3
4
|
import { AssumeRoleWithWebIdentityCommandInput } from "./commands/AssumeRoleWithWebIdentityCommand";
|
|
4
5
|
import type { STSClient, STSClientConfig } from "./STSClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export type STSRoleAssumerOptions = Pick<STSClientConfig, "logger" | "region" | "requestHandler"> & {
|
|
10
|
+
credentialProviderLogger?: Logger;
|
|
11
|
+
parentClientConfig?: CredentialProviderOptions["parentClientConfig"];
|
|
12
|
+
};
|
|
5
13
|
/**
|
|
6
14
|
* @internal
|
|
7
15
|
*/
|
|
@@ -10,7 +18,7 @@ export type RoleAssumer = (sourceCreds: AwsCredentialIdentity, params: AssumeRol
|
|
|
10
18
|
* The default role assumer that used by credential providers when sts:AssumeRole API is needed.
|
|
11
19
|
* @internal
|
|
12
20
|
*/
|
|
13
|
-
export declare const getDefaultRoleAssumer: (stsOptions:
|
|
21
|
+
export declare const getDefaultRoleAssumer: (stsOptions: STSRoleAssumerOptions, stsClientCtor: new (options: STSClientConfig) => STSClient) => RoleAssumer;
|
|
14
22
|
/**
|
|
15
23
|
* @internal
|
|
16
24
|
*/
|
|
@@ -19,7 +27,7 @@ export type RoleAssumerWithWebIdentity = (params: AssumeRoleWithWebIdentityComma
|
|
|
19
27
|
* The default role assumer that used by credential providers when sts:AssumeRoleWithWebIdentity API is needed.
|
|
20
28
|
* @internal
|
|
21
29
|
*/
|
|
22
|
-
export declare const getDefaultRoleAssumerWithWebIdentity: (stsOptions:
|
|
30
|
+
export declare const getDefaultRoleAssumerWithWebIdentity: (stsOptions: STSRoleAssumerOptions, stsClientCtor: new (options: STSClientConfig) => STSClient) => RoleAssumerWithWebIdentity;
|
|
23
31
|
/**
|
|
24
32
|
* @internal
|
|
25
33
|
*/
|
|
@@ -3,18 +3,15 @@ import {
|
|
|
3
3
|
DefaultCredentialProvider,
|
|
4
4
|
RoleAssumer,
|
|
5
5
|
RoleAssumerWithWebIdentity,
|
|
6
|
+
STSRoleAssumerOptions,
|
|
6
7
|
} from "./defaultStsRoleAssumers";
|
|
7
|
-
import {
|
|
8
|
-
ServiceInputTypes,
|
|
9
|
-
ServiceOutputTypes,
|
|
10
|
-
STSClientConfig,
|
|
11
|
-
} from "./STSClient";
|
|
8
|
+
import { ServiceInputTypes, ServiceOutputTypes } from "./STSClient";
|
|
12
9
|
export declare const getDefaultRoleAssumer: (
|
|
13
|
-
stsOptions?:
|
|
10
|
+
stsOptions?: STSRoleAssumerOptions,
|
|
14
11
|
stsPlugins?: Pluggable<ServiceInputTypes, ServiceOutputTypes>[]
|
|
15
12
|
) => RoleAssumer;
|
|
16
13
|
export declare const getDefaultRoleAssumerWithWebIdentity: (
|
|
17
|
-
stsOptions?:
|
|
14
|
+
stsOptions?: STSRoleAssumerOptions,
|
|
18
15
|
stsPlugins?: Pluggable<ServiceInputTypes, ServiceOutputTypes>[]
|
|
19
16
|
) => RoleAssumerWithWebIdentity;
|
|
20
17
|
export declare const decorateDefaultCredentialProvider: (
|
|
@@ -1,20 +1,28 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CredentialProviderOptions } from "@aws-sdk/types";
|
|
2
|
+
import { AwsCredentialIdentity, Logger, Provider } from "@smithy/types";
|
|
2
3
|
import { AssumeRoleCommandInput } from "./commands/AssumeRoleCommand";
|
|
3
4
|
import { AssumeRoleWithWebIdentityCommandInput } from "./commands/AssumeRoleWithWebIdentityCommand";
|
|
4
5
|
import { STSClient, STSClientConfig } from "./STSClient";
|
|
6
|
+
export type STSRoleAssumerOptions = Pick<
|
|
7
|
+
STSClientConfig,
|
|
8
|
+
"logger" | "region" | "requestHandler"
|
|
9
|
+
> & {
|
|
10
|
+
credentialProviderLogger?: Logger;
|
|
11
|
+
parentClientConfig?: CredentialProviderOptions["parentClientConfig"];
|
|
12
|
+
};
|
|
5
13
|
export type RoleAssumer = (
|
|
6
14
|
sourceCreds: AwsCredentialIdentity,
|
|
7
15
|
params: AssumeRoleCommandInput
|
|
8
16
|
) => Promise<AwsCredentialIdentity>;
|
|
9
17
|
export declare const getDefaultRoleAssumer: (
|
|
10
|
-
stsOptions:
|
|
18
|
+
stsOptions: STSRoleAssumerOptions,
|
|
11
19
|
stsClientCtor: new (options: STSClientConfig) => STSClient
|
|
12
20
|
) => RoleAssumer;
|
|
13
21
|
export type RoleAssumerWithWebIdentity = (
|
|
14
22
|
params: AssumeRoleWithWebIdentityCommandInput
|
|
15
23
|
) => Promise<AwsCredentialIdentity>;
|
|
16
24
|
export declare const getDefaultRoleAssumerWithWebIdentity: (
|
|
17
|
-
stsOptions:
|
|
25
|
+
stsOptions: STSRoleAssumerOptions,
|
|
18
26
|
stsClientCtor: new (options: STSClientConfig) => STSClient
|
|
19
27
|
) => RoleAssumerWithWebIdentity;
|
|
20
28
|
export type DefaultCredentialProvider = (
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sts",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.513.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-sts",
|
|
@@ -22,18 +22,18 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
25
|
-
"@aws-sdk/core": "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-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
25
|
+
"@aws-sdk/core": "3.513.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.511.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.511.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.511.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.511.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.511.0",
|
|
31
|
+
"@aws-sdk/types": "3.511.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.511.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.511.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.511.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.1.1",
|
|
36
|
-
"@smithy/core": "^1.3.
|
|
36
|
+
"@smithy/core": "^1.3.2",
|
|
37
37
|
"@smithy/fetch-http-handler": "^2.4.1",
|
|
38
38
|
"@smithy/hash-node": "^2.1.1",
|
|
39
39
|
"@smithy/invalid-dependency": "^2.1.1",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.1.1",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.2.1",
|
|
54
54
|
"@smithy/util-defaults-mode-browser": "^2.1.1",
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.2.0",
|
|
56
56
|
"@smithy/util-endpoints": "^1.1.1",
|
|
57
57
|
"@smithy/util-middleware": "^2.1.1",
|
|
58
58
|
"@smithy/util-retry": "^2.1.1",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
},
|
|
89
89
|
"license": "Apache-2.0",
|
|
90
90
|
"peerDependencies": {
|
|
91
|
-
"@aws-sdk/credential-provider-node": "^3.
|
|
91
|
+
"@aws-sdk/credential-provider-node": "^3.513.0"
|
|
92
92
|
},
|
|
93
93
|
"browser": {
|
|
94
94
|
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
@@ -3,6 +3,28 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.513.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.512.0...v3.513.0) (2024-02-13)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **experimentalIdentityAndAuth:** release phase for services without customizations ([#5787](https://github.com/aws/aws-sdk-js-v3/issues/5787)) ([4004ff6](https://github.com/aws/aws-sdk-js-v3/commit/4004ff68a8ad20f6e60e8fab1f8952928f92f4b7))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.511.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.510.0...v3.511.0) (2024-02-09)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **credential-provider-node:** pass client region to inner credential client region ([#5758](https://github.com/aws/aws-sdk-js-v3/issues/5758)) ([8c0b29e](https://github.com/aws/aws-sdk-js-v3/commit/8c0b29eabfe0ce8dbd2cbdcfb8b0a31b003bc3f2))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
6
28
|
# [3.496.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.495.0...v3.496.0) (2024-01-19)
|
|
7
29
|
|
|
8
30
|
|
|
@@ -154,7 +154,13 @@ var resolveAwsSdkSigV4Config = /* @__PURE__ */ __name((config) => {
|
|
|
154
154
|
}
|
|
155
155
|
if (!normalizedCreds) {
|
|
156
156
|
if (config.credentialDefaultProvider) {
|
|
157
|
-
normalizedCreds = (0, import_core.normalizeProvider)(
|
|
157
|
+
normalizedCreds = (0, import_core.normalizeProvider)(
|
|
158
|
+
config.credentialDefaultProvider(
|
|
159
|
+
Object.assign({}, config, {
|
|
160
|
+
parentClientConfig: config
|
|
161
|
+
})
|
|
162
|
+
)
|
|
163
|
+
);
|
|
158
164
|
} else {
|
|
159
165
|
normalizedCreds = /* @__PURE__ */ __name(async () => {
|
|
160
166
|
throw new Error("`credentials` is missing");
|
|
@@ -303,14 +309,14 @@ var awsExpectUnion = /* @__PURE__ */ __name((value) => {
|
|
|
303
309
|
// Annotate the CommonJS export names for ESM import in node:
|
|
304
310
|
|
|
305
311
|
0 && (module.exports = {
|
|
306
|
-
|
|
312
|
+
emitWarningIfUnsupportedVersion,
|
|
307
313
|
AwsSdkSigV4Signer,
|
|
314
|
+
AWSSDKSigV4Signer,
|
|
315
|
+
resolveAwsSdkSigV4Config,
|
|
316
|
+
resolveAWSSDKSigV4Config,
|
|
317
|
+
_toStr,
|
|
308
318
|
_toBool,
|
|
309
319
|
_toNum,
|
|
310
|
-
|
|
311
|
-
awsExpectUnion,
|
|
312
|
-
emitWarningIfUnsupportedVersion,
|
|
313
|
-
resolveAWSSDKSigV4Config,
|
|
314
|
-
resolveAwsSdkSigV4Config
|
|
320
|
+
awsExpectUnion
|
|
315
321
|
});
|
|
316
322
|
|
package/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js
CHANGED
|
@@ -7,10 +7,14 @@ export const resolveAwsSdkSigV4Config = (config) => {
|
|
|
7
7
|
}
|
|
8
8
|
if (!normalizedCreds) {
|
|
9
9
|
if (config.credentialDefaultProvider) {
|
|
10
|
-
normalizedCreds = normalizeProvider(config.credentialDefaultProvider(config
|
|
10
|
+
normalizedCreds = normalizeProvider(config.credentialDefaultProvider(Object.assign({}, config, {
|
|
11
|
+
parentClientConfig: config,
|
|
12
|
+
})));
|
|
11
13
|
}
|
|
12
14
|
else {
|
|
13
|
-
normalizedCreds = async () => {
|
|
15
|
+
normalizedCreds = async () => {
|
|
16
|
+
throw new Error("`credentials` is missing");
|
|
17
|
+
};
|
|
14
18
|
}
|
|
15
19
|
}
|
|
16
20
|
const { signingEscapePath = true, systemClockOffset = config.systemClockOffset || 0, sha256, } = config;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.513.0",
|
|
4
4
|
"description": "Core functions & classes shared by multiple AWS SDK clients",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/core": "^1.3.
|
|
27
|
+
"@smithy/core": "^1.3.2",
|
|
28
28
|
"@smithy/protocol-http": "^3.1.1",
|
|
29
29
|
"@smithy/signature-v4": "^2.1.1",
|
|
30
30
|
"@smithy/smithy-client": "^2.3.1",
|
|
@@ -111,9 +111,17 @@ export const resolveAwsSdkSigV4Config = <T>(
|
|
|
111
111
|
// credentialDefaultProvider should always be populated, but in case
|
|
112
112
|
// it isn't, set a default identity provider that throws an error
|
|
113
113
|
if (config.credentialDefaultProvider) {
|
|
114
|
-
normalizedCreds = normalizeProvider(
|
|
114
|
+
normalizedCreds = normalizeProvider(
|
|
115
|
+
config.credentialDefaultProvider(
|
|
116
|
+
Object.assign({}, config as any, {
|
|
117
|
+
parentClientConfig: config,
|
|
118
|
+
})
|
|
119
|
+
)
|
|
120
|
+
);
|
|
115
121
|
} else {
|
|
116
|
-
normalizedCreds = async () => {
|
|
122
|
+
normalizedCreds = async () => {
|
|
123
|
+
throw new Error("`credentials` is missing");
|
|
124
|
+
};
|
|
117
125
|
}
|
|
118
126
|
}
|
|
119
127
|
|