p6-cdk-namer 1.3.59 → 1.3.61

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.
Files changed (34) hide show
  1. package/.jsii +3 -3
  2. package/API.md +7 -6
  3. package/lib/p6cdknamer.js +1 -1
  4. package/node_modules/@aws-sdk/client-iam/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
  5. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-ini/package.json +4 -4
  6. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-node/package.json +4 -4
  7. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
  8. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-web-identity/package.json +2 -2
  9. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +1 -1
  10. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +1 -1
  11. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/nested-clients/package.json +4 -4
  12. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
  13. package/node_modules/@aws-sdk/client-iam/node_modules/@smithy/config-resolver/dist-cjs/index.js +6 -1
  14. package/node_modules/@aws-sdk/client-iam/node_modules/@smithy/config-resolver/dist-es/regionConfig/checkRegion.js +6 -1
  15. package/node_modules/@aws-sdk/client-iam/node_modules/@smithy/config-resolver/package.json +1 -1
  16. package/node_modules/@aws-sdk/client-iam/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  17. package/node_modules/@aws-sdk/client-iam/package.json +5 -5
  18. package/node_modules/@aws-sdk/client-sso/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
  19. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
  20. package/node_modules/@aws-sdk/client-sso/node_modules/@smithy/config-resolver/dist-cjs/index.js +6 -1
  21. package/node_modules/@aws-sdk/client-sso/node_modules/@smithy/config-resolver/dist-es/regionConfig/checkRegion.js +6 -1
  22. package/node_modules/@aws-sdk/client-sso/node_modules/@smithy/config-resolver/package.json +1 -1
  23. package/node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  24. package/node_modules/@aws-sdk/client-sso/package.json +4 -4
  25. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +1 -1
  26. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +1 -1
  27. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/package.json +4 -4
  28. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
  29. package/node_modules/@aws-sdk/token-providers/node_modules/@smithy/config-resolver/dist-cjs/index.js +6 -1
  30. package/node_modules/@aws-sdk/token-providers/node_modules/@smithy/config-resolver/dist-es/regionConfig/checkRegion.js +6 -1
  31. package/node_modules/@aws-sdk/token-providers/node_modules/@smithy/config-resolver/package.json +1 -1
  32. package/node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  33. package/node_modules/@aws-sdk/token-providers/package.json +2 -2
  34. package/package.json +7 -7
package/.jsii CHANGED
@@ -8,7 +8,7 @@
8
8
  ]
9
9
  },
10
10
  "bundled": {
11
- "@aws-sdk/client-iam": "^3.922.0",
11
+ "@aws-sdk/client-iam": "^3.925.0",
12
12
  "cdk-iam-floyd": "^0.728.0",
13
13
  "winston": "^3.18.3"
14
14
  },
@@ -4198,6 +4198,6 @@
4198
4198
  "symbolId": "src/p6cdknamer:P6CDKNamer"
4199
4199
  }
4200
4200
  },
4201
- "version": "1.3.59",
4202
- "fingerprint": "XXLWCkBSKwFUTgKjXdgpifDrWyRsz5Q9W3H8IhBLgpc="
4201
+ "version": "1.3.61",
4202
+ "fingerprint": "DbdlrLewteWhnfd2JNNYFbFhd6ClYYqjwrGMj3K+SX0="
4203
4203
  }
package/API.md CHANGED
@@ -183,12 +183,13 @@ public readonly env: ResourceEnvironment;
183
183
 
184
184
  The environment this resource belongs to.
185
185
 
186
- For resources that are created and managed by the CDK
187
- (generally, those created by creating new class instances like Role, Bucket, etc.),
188
- this is always the same as the environment of the stack they belong to;
189
- however, for imported resources
190
- (those obtained from static methods like fromRoleArn, fromBucketName, etc.),
191
- that might be different than the stack they were imported into.
186
+ For resources that are created and managed in a Stack (those created by
187
+ creating new class instances like `new Role()`, `new Bucket()`, etc.), this
188
+ is always the same as the environment of the stack they belong to.
189
+
190
+ For referenced resources (those obtained from referencing methods like
191
+ `Role.fromRoleArn()`, `Bucket.fromBucketName()`, etc.), they might be
192
+ different than the stack they were imported into.
192
193
 
193
194
  ---
194
195
 
package/lib/p6cdknamer.js CHANGED
@@ -41,7 +41,7 @@ const lambdajs = __importStar(require("aws-cdk-lib/aws-lambda-nodejs"));
41
41
  const cr = __importStar(require("aws-cdk-lib/custom-resources"));
42
42
  const floyd = __importStar(require("cdk-iam-floyd"));
43
43
  class P6CDKNamer extends cdk.Resource {
44
- static [JSII_RTTI_SYMBOL_1] = { fqn: "p6-cdk-namer.P6CDKNamer", version: "1.3.59" };
44
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "p6-cdk-namer.P6CDKNamer", version: "1.3.61" };
45
45
  constructor(scope, id, props) {
46
46
  super(scope, id);
47
47
  const policy = new floyd.Statement.Iam().allow().toCreateAccountAlias();
@@ -26,7 +26,7 @@ export interface IAMHttpAuthSchemeProvider extends HttpAuthSchemeProvider<IAMHtt
26
26
  */
27
27
  export declare const defaultIAMHttpAuthSchemeProvider: IAMHttpAuthSchemeProvider;
28
28
  /**
29
- * @internal
29
+ * @public
30
30
  */
31
31
  export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
32
32
  /**
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.922.0",
3
+ "version": "3.925.0",
4
4
  "description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -32,9 +32,9 @@
32
32
  "@aws-sdk/credential-provider-env": "3.922.0",
33
33
  "@aws-sdk/credential-provider-http": "3.922.0",
34
34
  "@aws-sdk/credential-provider-process": "3.922.0",
35
- "@aws-sdk/credential-provider-sso": "3.922.0",
36
- "@aws-sdk/credential-provider-web-identity": "3.922.0",
37
- "@aws-sdk/nested-clients": "3.922.0",
35
+ "@aws-sdk/credential-provider-sso": "3.925.0",
36
+ "@aws-sdk/credential-provider-web-identity": "3.925.0",
37
+ "@aws-sdk/nested-clients": "3.925.0",
38
38
  "@aws-sdk/types": "3.922.0",
39
39
  "@smithy/credential-provider-imds": "^4.2.4",
40
40
  "@smithy/property-provider": "^4.2.4",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.922.0",
3
+ "version": "3.925.0",
4
4
  "description": "AWS credential provider that sources credentials from a Node.JS environment. ",
5
5
  "engines": {
6
6
  "node": ">=18.0.0"
@@ -33,10 +33,10 @@
33
33
  "dependencies": {
34
34
  "@aws-sdk/credential-provider-env": "3.922.0",
35
35
  "@aws-sdk/credential-provider-http": "3.922.0",
36
- "@aws-sdk/credential-provider-ini": "3.922.0",
36
+ "@aws-sdk/credential-provider-ini": "3.925.0",
37
37
  "@aws-sdk/credential-provider-process": "3.922.0",
38
- "@aws-sdk/credential-provider-sso": "3.922.0",
39
- "@aws-sdk/credential-provider-web-identity": "3.922.0",
38
+ "@aws-sdk/credential-provider-sso": "3.925.0",
39
+ "@aws-sdk/credential-provider-web-identity": "3.925.0",
40
40
  "@aws-sdk/types": "3.922.0",
41
41
  "@smithy/credential-provider-imds": "^4.2.4",
42
42
  "@smithy/property-provider": "^4.2.4",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-sso",
3
- "version": "3.922.0",
3
+ "version": "3.925.0",
4
4
  "description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,9 +26,9 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/client-sso": "3.922.0",
29
+ "@aws-sdk/client-sso": "3.925.0",
30
30
  "@aws-sdk/core": "3.922.0",
31
- "@aws-sdk/token-providers": "3.922.0",
31
+ "@aws-sdk/token-providers": "3.925.0",
32
32
  "@aws-sdk/types": "3.922.0",
33
33
  "@smithy/property-provider": "^4.2.4",
34
34
  "@smithy/shared-ini-file-loader": "^4.3.4",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-web-identity",
3
- "version": "3.922.0",
3
+ "version": "3.925.0",
4
4
  "description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -35,7 +35,7 @@
35
35
  "license": "Apache-2.0",
36
36
  "dependencies": {
37
37
  "@aws-sdk/core": "3.922.0",
38
- "@aws-sdk/nested-clients": "3.922.0",
38
+ "@aws-sdk/nested-clients": "3.925.0",
39
39
  "@aws-sdk/types": "3.922.0",
40
40
  "@smithy/property-provider": "^4.2.4",
41
41
  "@smithy/shared-ini-file-loader": "^4.3.4",
@@ -26,7 +26,7 @@ export interface SSOOIDCHttpAuthSchemeProvider extends HttpAuthSchemeProvider<SS
26
26
  */
27
27
  export declare const defaultSSOOIDCHttpAuthSchemeProvider: SSOOIDCHttpAuthSchemeProvider;
28
28
  /**
29
- * @internal
29
+ * @public
30
30
  */
31
31
  export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
32
32
  /**
@@ -36,7 +36,7 @@ export interface StsAuthResolvedConfig {
36
36
  }
37
37
  export declare const resolveStsAuthConfig: <T>(input: T & StsAuthInputConfig) => T & StsAuthResolvedConfig;
38
38
  /**
39
- * @internal
39
+ * @public
40
40
  */
41
41
  export interface HttpAuthSchemeInputConfig extends StsAuthInputConfig, AwsSdkSigV4AuthInputConfig {
42
42
  /**
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/nested-clients",
3
- "version": "3.922.0",
3
+ "version": "3.925.0",
4
4
  "description": "Nested clients for AWS SDK packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -34,12 +34,12 @@
34
34
  "@aws-sdk/middleware-logger": "3.922.0",
35
35
  "@aws-sdk/middleware-recursion-detection": "3.922.0",
36
36
  "@aws-sdk/middleware-user-agent": "3.922.0",
37
- "@aws-sdk/region-config-resolver": "3.922.0",
37
+ "@aws-sdk/region-config-resolver": "3.925.0",
38
38
  "@aws-sdk/types": "3.922.0",
39
39
  "@aws-sdk/util-endpoints": "3.922.0",
40
40
  "@aws-sdk/util-user-agent-browser": "3.922.0",
41
41
  "@aws-sdk/util-user-agent-node": "3.922.0",
42
- "@smithy/config-resolver": "^4.4.1",
42
+ "@smithy/config-resolver": "^4.4.2",
43
43
  "@smithy/core": "^3.17.2",
44
44
  "@smithy/fetch-http-handler": "^5.3.5",
45
45
  "@smithy/hash-node": "^4.2.4",
@@ -59,7 +59,7 @@
59
59
  "@smithy/util-body-length-browser": "^4.2.0",
60
60
  "@smithy/util-body-length-node": "^4.2.1",
61
61
  "@smithy/util-defaults-mode-browser": "^4.3.5",
62
- "@smithy/util-defaults-mode-node": "^4.2.7",
62
+ "@smithy/util-defaults-mode-node": "^4.2.8",
63
63
  "@smithy/util-endpoints": "^3.2.4",
64
64
  "@smithy/util-middleware": "^4.2.4",
65
65
  "@smithy/util-retry": "^4.2.4",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/region-config-resolver",
3
- "version": "3.922.0",
3
+ "version": "3.925.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline region-config-resolver",
@@ -24,7 +24,7 @@
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
26
  "@aws-sdk/types": "3.922.0",
27
- "@smithy/config-resolver": "^4.4.1",
27
+ "@smithy/config-resolver": "^4.4.2",
28
28
  "@smithy/node-config-provider": "^4.3.4",
29
29
  "@smithy/types": "^4.8.1",
30
30
  "tslib": "^2.6.2"
@@ -77,7 +77,12 @@ const NODE_REGION_CONFIG_FILE_OPTIONS = {
77
77
  const validRegions = new Set();
78
78
  const checkRegion = (region, check = utilEndpoints.isValidHostLabel) => {
79
79
  if (!validRegions.has(region) && !check(region)) {
80
- throw new Error(`Region not accepted: region="${region}" is not a valid hostname component.`);
80
+ if (region === "*") {
81
+ console.warn(`@smithy/config-resolver WARN - Please use the caller region instead of "*". See "sigv4a" in https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md.`);
82
+ }
83
+ else {
84
+ throw new Error(`Region not accepted: region="${region}" is not a valid hostname component.`);
85
+ }
81
86
  }
82
87
  else {
83
88
  validRegions.add(region);
@@ -2,7 +2,12 @@ import { isValidHostLabel } from "@smithy/util-endpoints";
2
2
  const validRegions = new Set();
3
3
  export const checkRegion = (region, check = isValidHostLabel) => {
4
4
  if (!validRegions.has(region) && !check(region)) {
5
- throw new Error(`Region not accepted: region="${region}" is not a valid hostname component.`);
5
+ if (region === "*") {
6
+ console.warn(`@smithy/config-resolver WARN - Please use the caller region instead of "*". See "sigv4a" in https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md.`);
7
+ }
8
+ else {
9
+ throw new Error(`Region not accepted: region="${region}" is not a valid hostname component.`);
10
+ }
6
11
  }
7
12
  else {
8
13
  validRegions.add(region);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/config-resolver",
3
- "version": "4.4.1",
3
+ "version": "4.4.2",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline config-resolver",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-defaults-mode-node",
3
- "version": "4.2.7",
3
+ "version": "4.2.8",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline util-defaults-mode-node",
@@ -24,7 +24,7 @@
24
24
  "license": "Apache-2.0",
25
25
  "sideEffects": false,
26
26
  "dependencies": {
27
- "@smithy/config-resolver": "^4.4.1",
27
+ "@smithy/config-resolver": "^4.4.2",
28
28
  "@smithy/credential-provider-imds": "^4.2.4",
29
29
  "@smithy/node-config-provider": "^4.3.4",
30
30
  "@smithy/property-provider": "^4.2.4",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iam",
3
3
  "description": "AWS SDK for JavaScript Iam Client for Node.js, Browser and React Native",
4
- "version": "3.922.0",
4
+ "version": "3.925.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-iam",
@@ -21,17 +21,17 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.922.0",
24
- "@aws-sdk/credential-provider-node": "3.922.0",
24
+ "@aws-sdk/credential-provider-node": "3.925.0",
25
25
  "@aws-sdk/middleware-host-header": "3.922.0",
26
26
  "@aws-sdk/middleware-logger": "3.922.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.922.0",
28
28
  "@aws-sdk/middleware-user-agent": "3.922.0",
29
- "@aws-sdk/region-config-resolver": "3.922.0",
29
+ "@aws-sdk/region-config-resolver": "3.925.0",
30
30
  "@aws-sdk/types": "3.922.0",
31
31
  "@aws-sdk/util-endpoints": "3.922.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.922.0",
33
33
  "@aws-sdk/util-user-agent-node": "3.922.0",
34
- "@smithy/config-resolver": "^4.4.1",
34
+ "@smithy/config-resolver": "^4.4.2",
35
35
  "@smithy/core": "^3.17.2",
36
36
  "@smithy/fetch-http-handler": "^5.3.5",
37
37
  "@smithy/hash-node": "^4.2.4",
@@ -51,7 +51,7 @@
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
53
  "@smithy/util-defaults-mode-browser": "^4.3.5",
54
- "@smithy/util-defaults-mode-node": "^4.2.7",
54
+ "@smithy/util-defaults-mode-node": "^4.2.8",
55
55
  "@smithy/util-endpoints": "^3.2.4",
56
56
  "@smithy/util-middleware": "^4.2.4",
57
57
  "@smithy/util-retry": "^4.2.4",
@@ -26,7 +26,7 @@ export interface SSOHttpAuthSchemeProvider extends HttpAuthSchemeProvider<SSOHtt
26
26
  */
27
27
  export declare const defaultSSOHttpAuthSchemeProvider: SSOHttpAuthSchemeProvider;
28
28
  /**
29
- * @internal
29
+ * @public
30
30
  */
31
31
  export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
32
32
  /**
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/region-config-resolver",
3
- "version": "3.922.0",
3
+ "version": "3.925.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline region-config-resolver",
@@ -24,7 +24,7 @@
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
26
  "@aws-sdk/types": "3.922.0",
27
- "@smithy/config-resolver": "^4.4.1",
27
+ "@smithy/config-resolver": "^4.4.2",
28
28
  "@smithy/node-config-provider": "^4.3.4",
29
29
  "@smithy/types": "^4.8.1",
30
30
  "tslib": "^2.6.2"
@@ -77,7 +77,12 @@ const NODE_REGION_CONFIG_FILE_OPTIONS = {
77
77
  const validRegions = new Set();
78
78
  const checkRegion = (region, check = utilEndpoints.isValidHostLabel) => {
79
79
  if (!validRegions.has(region) && !check(region)) {
80
- throw new Error(`Region not accepted: region="${region}" is not a valid hostname component.`);
80
+ if (region === "*") {
81
+ console.warn(`@smithy/config-resolver WARN - Please use the caller region instead of "*". See "sigv4a" in https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md.`);
82
+ }
83
+ else {
84
+ throw new Error(`Region not accepted: region="${region}" is not a valid hostname component.`);
85
+ }
81
86
  }
82
87
  else {
83
88
  validRegions.add(region);
@@ -2,7 +2,12 @@ import { isValidHostLabel } from "@smithy/util-endpoints";
2
2
  const validRegions = new Set();
3
3
  export const checkRegion = (region, check = isValidHostLabel) => {
4
4
  if (!validRegions.has(region) && !check(region)) {
5
- throw new Error(`Region not accepted: region="${region}" is not a valid hostname component.`);
5
+ if (region === "*") {
6
+ console.warn(`@smithy/config-resolver WARN - Please use the caller region instead of "*". See "sigv4a" in https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md.`);
7
+ }
8
+ else {
9
+ throw new Error(`Region not accepted: region="${region}" is not a valid hostname component.`);
10
+ }
6
11
  }
7
12
  else {
8
13
  validRegions.add(region);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/config-resolver",
3
- "version": "4.4.1",
3
+ "version": "4.4.2",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline config-resolver",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-defaults-mode-node",
3
- "version": "4.2.7",
3
+ "version": "4.2.8",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline util-defaults-mode-node",
@@ -24,7 +24,7 @@
24
24
  "license": "Apache-2.0",
25
25
  "sideEffects": false,
26
26
  "dependencies": {
27
- "@smithy/config-resolver": "^4.4.1",
27
+ "@smithy/config-resolver": "^4.4.2",
28
28
  "@smithy/credential-provider-imds": "^4.2.4",
29
29
  "@smithy/node-config-provider": "^4.3.4",
30
30
  "@smithy/property-provider": "^4.2.4",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso",
3
3
  "description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
4
- "version": "3.922.0",
4
+ "version": "3.925.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",
@@ -25,12 +25,12 @@
25
25
  "@aws-sdk/middleware-logger": "3.922.0",
26
26
  "@aws-sdk/middleware-recursion-detection": "3.922.0",
27
27
  "@aws-sdk/middleware-user-agent": "3.922.0",
28
- "@aws-sdk/region-config-resolver": "3.922.0",
28
+ "@aws-sdk/region-config-resolver": "3.925.0",
29
29
  "@aws-sdk/types": "3.922.0",
30
30
  "@aws-sdk/util-endpoints": "3.922.0",
31
31
  "@aws-sdk/util-user-agent-browser": "3.922.0",
32
32
  "@aws-sdk/util-user-agent-node": "3.922.0",
33
- "@smithy/config-resolver": "^4.4.1",
33
+ "@smithy/config-resolver": "^4.4.2",
34
34
  "@smithy/core": "^3.17.2",
35
35
  "@smithy/fetch-http-handler": "^5.3.5",
36
36
  "@smithy/hash-node": "^4.2.4",
@@ -50,7 +50,7 @@
50
50
  "@smithy/util-body-length-browser": "^4.2.0",
51
51
  "@smithy/util-body-length-node": "^4.2.1",
52
52
  "@smithy/util-defaults-mode-browser": "^4.3.5",
53
- "@smithy/util-defaults-mode-node": "^4.2.7",
53
+ "@smithy/util-defaults-mode-node": "^4.2.8",
54
54
  "@smithy/util-endpoints": "^3.2.4",
55
55
  "@smithy/util-middleware": "^4.2.4",
56
56
  "@smithy/util-retry": "^4.2.4",
@@ -26,7 +26,7 @@ export interface SSOOIDCHttpAuthSchemeProvider extends HttpAuthSchemeProvider<SS
26
26
  */
27
27
  export declare const defaultSSOOIDCHttpAuthSchemeProvider: SSOOIDCHttpAuthSchemeProvider;
28
28
  /**
29
- * @internal
29
+ * @public
30
30
  */
31
31
  export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
32
32
  /**
@@ -36,7 +36,7 @@ export interface StsAuthResolvedConfig {
36
36
  }
37
37
  export declare const resolveStsAuthConfig: <T>(input: T & StsAuthInputConfig) => T & StsAuthResolvedConfig;
38
38
  /**
39
- * @internal
39
+ * @public
40
40
  */
41
41
  export interface HttpAuthSchemeInputConfig extends StsAuthInputConfig, AwsSdkSigV4AuthInputConfig {
42
42
  /**
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/nested-clients",
3
- "version": "3.922.0",
3
+ "version": "3.925.0",
4
4
  "description": "Nested clients for AWS SDK packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -34,12 +34,12 @@
34
34
  "@aws-sdk/middleware-logger": "3.922.0",
35
35
  "@aws-sdk/middleware-recursion-detection": "3.922.0",
36
36
  "@aws-sdk/middleware-user-agent": "3.922.0",
37
- "@aws-sdk/region-config-resolver": "3.922.0",
37
+ "@aws-sdk/region-config-resolver": "3.925.0",
38
38
  "@aws-sdk/types": "3.922.0",
39
39
  "@aws-sdk/util-endpoints": "3.922.0",
40
40
  "@aws-sdk/util-user-agent-browser": "3.922.0",
41
41
  "@aws-sdk/util-user-agent-node": "3.922.0",
42
- "@smithy/config-resolver": "^4.4.1",
42
+ "@smithy/config-resolver": "^4.4.2",
43
43
  "@smithy/core": "^3.17.2",
44
44
  "@smithy/fetch-http-handler": "^5.3.5",
45
45
  "@smithy/hash-node": "^4.2.4",
@@ -59,7 +59,7 @@
59
59
  "@smithy/util-body-length-browser": "^4.2.0",
60
60
  "@smithy/util-body-length-node": "^4.2.1",
61
61
  "@smithy/util-defaults-mode-browser": "^4.3.5",
62
- "@smithy/util-defaults-mode-node": "^4.2.7",
62
+ "@smithy/util-defaults-mode-node": "^4.2.8",
63
63
  "@smithy/util-endpoints": "^3.2.4",
64
64
  "@smithy/util-middleware": "^4.2.4",
65
65
  "@smithy/util-retry": "^4.2.4",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/region-config-resolver",
3
- "version": "3.922.0",
3
+ "version": "3.925.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline region-config-resolver",
@@ -24,7 +24,7 @@
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
26
  "@aws-sdk/types": "3.922.0",
27
- "@smithy/config-resolver": "^4.4.1",
27
+ "@smithy/config-resolver": "^4.4.2",
28
28
  "@smithy/node-config-provider": "^4.3.4",
29
29
  "@smithy/types": "^4.8.1",
30
30
  "tslib": "^2.6.2"
@@ -77,7 +77,12 @@ const NODE_REGION_CONFIG_FILE_OPTIONS = {
77
77
  const validRegions = new Set();
78
78
  const checkRegion = (region, check = utilEndpoints.isValidHostLabel) => {
79
79
  if (!validRegions.has(region) && !check(region)) {
80
- throw new Error(`Region not accepted: region="${region}" is not a valid hostname component.`);
80
+ if (region === "*") {
81
+ console.warn(`@smithy/config-resolver WARN - Please use the caller region instead of "*". See "sigv4a" in https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md.`);
82
+ }
83
+ else {
84
+ throw new Error(`Region not accepted: region="${region}" is not a valid hostname component.`);
85
+ }
81
86
  }
82
87
  else {
83
88
  validRegions.add(region);
@@ -2,7 +2,12 @@ import { isValidHostLabel } from "@smithy/util-endpoints";
2
2
  const validRegions = new Set();
3
3
  export const checkRegion = (region, check = isValidHostLabel) => {
4
4
  if (!validRegions.has(region) && !check(region)) {
5
- throw new Error(`Region not accepted: region="${region}" is not a valid hostname component.`);
5
+ if (region === "*") {
6
+ console.warn(`@smithy/config-resolver WARN - Please use the caller region instead of "*". See "sigv4a" in https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md.`);
7
+ }
8
+ else {
9
+ throw new Error(`Region not accepted: region="${region}" is not a valid hostname component.`);
10
+ }
6
11
  }
7
12
  else {
8
13
  validRegions.add(region);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/config-resolver",
3
- "version": "4.4.1",
3
+ "version": "4.4.2",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline config-resolver",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-defaults-mode-node",
3
- "version": "4.2.7",
3
+ "version": "4.2.8",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline util-defaults-mode-node",
@@ -24,7 +24,7 @@
24
24
  "license": "Apache-2.0",
25
25
  "sideEffects": false,
26
26
  "dependencies": {
27
- "@smithy/config-resolver": "^4.4.1",
27
+ "@smithy/config-resolver": "^4.4.2",
28
28
  "@smithy/credential-provider-imds": "^4.2.4",
29
29
  "@smithy/node-config-provider": "^4.3.4",
30
30
  "@smithy/property-provider": "^4.2.4",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.922.0",
3
+ "version": "3.925.0",
4
4
  "description": "A collection of token providers",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -30,7 +30,7 @@
30
30
  "license": "Apache-2.0",
31
31
  "dependencies": {
32
32
  "@aws-sdk/core": "3.922.0",
33
- "@aws-sdk/nested-clients": "3.922.0",
33
+ "@aws-sdk/nested-clients": "3.925.0",
34
34
  "@aws-sdk/types": "3.922.0",
35
35
  "@smithy/property-provider": "^4.2.4",
36
36
  "@smithy/shared-ini-file-loader": "^4.3.4",
package/package.json CHANGED
@@ -54,20 +54,20 @@
54
54
  "@antfu/eslint-config": "^6.2.0",
55
55
  "@types/aws-lambda": "^8.10.157",
56
56
  "@types/jest": "^30.0.0",
57
- "@typescript-eslint/eslint-plugin": "^8.46.2",
58
- "@typescript-eslint/parser": "^8.46.2",
57
+ "@typescript-eslint/eslint-plugin": "^8.46.3",
58
+ "@typescript-eslint/parser": "^8.46.3",
59
59
  "aws-cdk": "^2.1031.1",
60
- "aws-cdk-lib": "^2.221.1",
60
+ "aws-cdk-lib": "^2.222.0",
61
61
  "cdk-dia": "^0.12.1",
62
62
  "constructs": "^10.4.2",
63
63
  "esbuild": "^0.25.12",
64
- "eslint": "^9.39.0",
64
+ "eslint": "^9.39.1",
65
65
  "eslint-plugin-import": "^2.32.0",
66
66
  "http-server": "^14.1.1",
67
67
  "jest": "^30.2.0",
68
68
  "jsii": "^5.9.11",
69
69
  "jsii-diff": "^1.118.0",
70
- "jsii-docgen": "^10.11.1",
70
+ "jsii-docgen": "^10.11.2",
71
71
  "jsii-pacmak": "^1.118.0",
72
72
  "jsii-rosetta": "^5.9.13",
73
73
  "publib": "^0.2.1025",
@@ -80,7 +80,7 @@
80
80
  "constructs": "^10.4.2"
81
81
  },
82
82
  "dependencies": {
83
- "@aws-sdk/client-iam": "^3.922.0",
83
+ "@aws-sdk/client-iam": "^3.925.0",
84
84
  "cdk-iam-floyd": "^0.728.0",
85
85
  "winston": "^3.18.3"
86
86
  },
@@ -100,7 +100,7 @@
100
100
  "main": "lib/index.js",
101
101
  "types": "lib/index.d.ts",
102
102
  "license": "Apache-2.0",
103
- "version": "1.3.59",
103
+ "version": "1.3.61",
104
104
  "jsii": {
105
105
  "outdir": "dist",
106
106
  "tsc": {