@jjrawlins/cdk-iam-policy-builder-helper 0.0.70 → 0.0.72

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 (102) hide show
  1. package/.jsii +3 -3
  2. package/cdk-iam-policy-builder-helper/go.mod +1 -1
  3. package/cdk-iam-policy-builder-helper/jsii/jsii.go +2 -2
  4. package/cdk-iam-policy-builder-helper/version +1 -1
  5. package/lib/constructs/Actions.d.ts +17 -0
  6. package/lib/constructs/Actions.js +18 -1
  7. package/methods_list.txt +17 -0
  8. package/node_modules/@aws-sdk/client-iam/package.json +34 -34
  9. package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js +1 -1
  10. package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/ruleset.js +1 -1
  11. package/node_modules/@aws-sdk/client-sso/package.json +32 -32
  12. package/node_modules/@aws-sdk/core/package.json +11 -11
  13. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  14. package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
  15. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  16. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  17. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  18. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +1 -0
  19. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +1 -0
  20. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  21. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
  22. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  23. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  24. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  25. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +3 -3
  26. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js +2 -2
  27. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js +1 -1
  28. package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
  29. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +1 -1
  30. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +1 -1
  31. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +4 -2
  32. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js +1 -1
  33. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js +4 -2
  34. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js +1 -1
  35. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +1 -1
  36. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/defaultStsRoleAssumers.d.ts +1 -1
  37. package/node_modules/@aws-sdk/nested-clients/package.json +32 -32
  38. package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
  39. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +3 -1
  40. package/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +3 -1
  41. package/node_modules/@aws-sdk/token-providers/package.json +7 -7
  42. package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +1 -0
  43. package/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +1 -0
  44. package/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +1 -0
  45. package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +1 -0
  46. package/node_modules/@aws-sdk/types/package.json +2 -2
  47. package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
  48. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  49. package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
  50. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  51. package/node_modules/@smithy/abort-controller/package.json +2 -2
  52. package/node_modules/@smithy/config-resolver/package.json +5 -5
  53. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +5 -14
  54. package/node_modules/@smithy/core/dist-es/submodules/serde/schema-serde-lib/schema-date-utils.js +5 -14
  55. package/node_modules/@smithy/core/package.json +7 -7
  56. package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  57. package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
  58. package/node_modules/@smithy/hash-node/package.json +2 -2
  59. package/node_modules/@smithy/invalid-dependency/package.json +2 -2
  60. package/node_modules/@smithy/middleware-content-length/package.json +3 -3
  61. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  62. package/node_modules/@smithy/middleware-retry/package.json +8 -8
  63. package/node_modules/@smithy/middleware-serde/package.json +3 -3
  64. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  65. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  66. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +7 -4
  67. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +5 -2
  68. package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +2 -2
  69. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +2 -2
  70. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +2 -2
  71. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +2 -1
  72. package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +2 -1
  73. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  74. package/node_modules/@smithy/property-provider/package.json +2 -2
  75. package/node_modules/@smithy/protocol-http/package.json +2 -2
  76. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  77. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  78. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  79. package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
  80. package/node_modules/@smithy/signature-v4/package.json +4 -4
  81. package/node_modules/@smithy/smithy-client/package.json +7 -7
  82. package/node_modules/@smithy/types/dist-es/index.js +1 -0
  83. package/node_modules/@smithy/types/dist-types/index.d.ts +1 -0
  84. package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +1 -0
  85. package/node_modules/@smithy/types/package.json +1 -1
  86. package/node_modules/@smithy/url-parser/package.json +3 -3
  87. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  88. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  89. package/node_modules/@smithy/util-endpoints/package.json +3 -3
  90. package/node_modules/@smithy/util-middleware/package.json +2 -2
  91. package/node_modules/@smithy/util-retry/package.json +3 -3
  92. package/node_modules/@smithy/util-stream/package.json +4 -4
  93. package/node_modules/@smithy/util-waiter/dist-cjs/index.js +17 -4
  94. package/node_modules/@smithy/util-waiter/dist-es/circularReplacer.js +12 -0
  95. package/node_modules/@smithy/util-waiter/dist-es/poller.js +2 -1
  96. package/node_modules/@smithy/util-waiter/dist-es/waiter.js +4 -3
  97. package/node_modules/@smithy/util-waiter/dist-types/circularReplacer.d.ts +6 -0
  98. package/node_modules/@smithy/util-waiter/dist-types/poller.d.ts +1 -1
  99. package/node_modules/@smithy/util-waiter/dist-types/ts3.4/circularReplacer.d.ts +6 -0
  100. package/node_modules/@smithy/util-waiter/dist-types/ts3.4/poller.d.ts +1 -1
  101. package/node_modules/@smithy/util-waiter/package.json +3 -3
  102. package/package.json +3 -3
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-recursion-detection",
3
- "version": "3.920.0",
3
+ "version": "3.922.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 middleware-recursion-detection",
@@ -24,10 +24,10 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/types": "3.920.0",
27
+ "@aws-sdk/types": "3.922.0",
28
28
  "@aws/lambda-invoke-store": "^0.1.1",
29
- "@smithy/protocol-http": "^5.3.3",
30
- "@smithy/types": "^4.8.0",
29
+ "@smithy/protocol-http": "^5.3.4",
30
+ "@smithy/types": "^4.8.1",
31
31
  "tslib": "^2.6.2"
32
32
  },
33
33
  "engines": {
@@ -86,8 +86,8 @@ const USER_AGENT = "user-agent";
86
86
  const X_AMZ_USER_AGENT = "x-amz-user-agent";
87
87
  const SPACE = " ";
88
88
  const UA_NAME_SEPARATOR = "/";
89
- const UA_NAME_ESCAPE_REGEX = /[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g;
90
- const UA_VALUE_ESCAPE_REGEX = /[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w\#]/g;
89
+ const UA_NAME_ESCAPE_REGEX = /[^!$%&'*+\-.^_`|~\w]/g;
90
+ const UA_VALUE_ESCAPE_REGEX = /[^!$%&'*+\-.^_`|~\w#]/g;
91
91
  const UA_ESCAPE_CHAR = "-";
92
92
 
93
93
  const BYTE_LIMIT = 1024;
@@ -123,7 +123,7 @@ const userAgentMiddleware = (options) => (next, context) => async (args) => {
123
123
  const customUserAgent = options?.customUserAgent?.map(escapeUserAgent) || [];
124
124
  const appId = await options.userAgentAppId();
125
125
  if (appId) {
126
- defaultUserAgent.push(escapeUserAgent([`app/${appId}`]));
126
+ defaultUserAgent.push(escapeUserAgent([`app`, `${appId}`]));
127
127
  }
128
128
  const prefix = utilEndpoints.getUserAgentPrefix();
129
129
  const sdkUserAgentValue = (prefix ? [prefix] : [])
@@ -2,6 +2,6 @@ export const USER_AGENT = "user-agent";
2
2
  export const X_AMZ_USER_AGENT = "x-amz-user-agent";
3
3
  export const SPACE = " ";
4
4
  export const UA_NAME_SEPARATOR = "/";
5
- export const UA_NAME_ESCAPE_REGEX = /[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g;
6
- export const UA_VALUE_ESCAPE_REGEX = /[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w\#]/g;
5
+ export const UA_NAME_ESCAPE_REGEX = /[^!$%&'*+\-.^_`|~\w]/g;
6
+ export const UA_VALUE_ESCAPE_REGEX = /[^!$%&'*+\-.^_`|~\w#]/g;
7
7
  export const UA_ESCAPE_CHAR = "-";
@@ -17,7 +17,7 @@ export const userAgentMiddleware = (options) => (next, context) => async (args)
17
17
  const customUserAgent = options?.customUserAgent?.map(escapeUserAgent) || [];
18
18
  const appId = await options.userAgentAppId();
19
19
  if (appId) {
20
- defaultUserAgent.push(escapeUserAgent([`app/${appId}`]));
20
+ defaultUserAgent.push(escapeUserAgent([`app`, `${appId}`]));
21
21
  }
22
22
  const prefix = getUserAgentPrefix();
23
23
  const sdkUserAgentValue = (prefix ? [prefix] : [])
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-user-agent",
3
- "version": "3.920.0",
3
+ "version": "3.922.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 middleware-user-agent",
@@ -25,12 +25,12 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@aws-sdk/core": "3.920.0",
29
- "@aws-sdk/types": "3.920.0",
30
- "@aws-sdk/util-endpoints": "3.920.0",
31
- "@smithy/core": "^3.17.1",
32
- "@smithy/protocol-http": "^5.3.3",
33
- "@smithy/types": "^4.8.0",
28
+ "@aws-sdk/core": "3.922.0",
29
+ "@aws-sdk/types": "3.922.0",
30
+ "@aws-sdk/util-endpoints": "3.922.0",
31
+ "@smithy/core": "^3.17.2",
32
+ "@smithy/protocol-http": "^5.3.4",
33
+ "@smithy/types": "^4.8.1",
34
34
  "tslib": "^2.6.2"
35
35
  },
36
36
  "devDependencies": {
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
4
  const u = "required", v = "fn", w = "argv", x = "ref";
5
- const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, "type": "String" }, j = { [u]: true, "default": false, "type": "Boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }];
5
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, "type": "string" }, j = { [u]: true, "default": false, "type": "boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }];
6
6
  const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://oidc.{Region}.amazonaws.com", properties: n, headers: n }, type: e }, { endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
7
7
  exports.ruleSet = _data;
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
4
  const F = "required", G = "type", H = "fn", I = "argv", J = "ref";
5
- const a = false, b = true, c = "booleanEquals", d = "stringEquals", e = "sigv4", f = "sts", g = "us-east-1", h = "endpoint", i = "https://sts.{Region}.{PartitionResult#dnsSuffix}", j = "tree", k = "error", l = "getAttr", m = { [F]: false, [G]: "String" }, n = { [F]: true, "default": false, [G]: "Boolean" }, o = { [J]: "Endpoint" }, p = { [H]: "isSet", [I]: [{ [J]: "Region" }] }, q = { [J]: "Region" }, r = { [H]: "aws.partition", [I]: [q], "assign": "PartitionResult" }, s = { [J]: "UseFIPS" }, t = { [J]: "UseDualStack" }, u = { "url": "https://sts.amazonaws.com", "properties": { "authSchemes": [{ "name": e, "signingName": f, "signingRegion": g }] }, "headers": {} }, v = {}, w = { "conditions": [{ [H]: d, [I]: [q, "aws-global"] }], [h]: u, [G]: h }, x = { [H]: c, [I]: [s, true] }, y = { [H]: c, [I]: [t, true] }, z = { [H]: l, [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] }, A = { [J]: "PartitionResult" }, B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, "supportsDualStack"] }] }, C = [{ [H]: "isSet", [I]: [o] }], D = [x], E = [y];
5
+ const a = false, b = true, c = "booleanEquals", d = "stringEquals", e = "sigv4", f = "sts", g = "us-east-1", h = "endpoint", i = "https://sts.{Region}.{PartitionResult#dnsSuffix}", j = "tree", k = "error", l = "getAttr", m = { [F]: false, [G]: "string" }, n = { [F]: true, "default": false, [G]: "boolean" }, o = { [J]: "Endpoint" }, p = { [H]: "isSet", [I]: [{ [J]: "Region" }] }, q = { [J]: "Region" }, r = { [H]: "aws.partition", [I]: [q], "assign": "PartitionResult" }, s = { [J]: "UseFIPS" }, t = { [J]: "UseDualStack" }, u = { "url": "https://sts.amazonaws.com", "properties": { "authSchemes": [{ "name": e, "signingName": f, "signingRegion": g }] }, "headers": {} }, v = {}, w = { "conditions": [{ [H]: d, [I]: [q, "aws-global"] }], [h]: u, [G]: h }, x = { [H]: c, [I]: [s, true] }, y = { [H]: c, [I]: [t, true] }, z = { [H]: l, [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] }, A = { [J]: "PartitionResult" }, B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, "supportsDualStack"] }] }, C = [{ [H]: "isSet", [I]: [o] }], D = [x], E = [y];
6
6
  const _data = { version: "1.0", parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n }, rules: [{ conditions: [{ [H]: c, [I]: [{ [J]: "UseGlobalEndpoint" }, b] }, { [H]: "not", [I]: C }, p, r, { [H]: c, [I]: [s, a] }, { [H]: c, [I]: [t, a] }], rules: [{ conditions: [{ [H]: d, [I]: [q, "ap-northeast-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-south-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-southeast-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-southeast-2"] }], endpoint: u, [G]: h }, w, { conditions: [{ [H]: d, [I]: [q, "ca-central-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-central-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-north-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-2"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-3"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "sa-east-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, g] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-east-2"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-west-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-west-2"] }], endpoint: u, [G]: h }, { endpoint: { url: i, properties: { authSchemes: [{ name: e, signingName: f, signingRegion: "{Region}" }] }, headers: v }, [G]: h }], [G]: j }, { conditions: C, rules: [{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: k }, { conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: k }, { endpoint: { url: o, properties: v, headers: v }, [G]: h }], [G]: j }, { conditions: [p], rules: [{ conditions: [r], rules: [{ conditions: [x, y], rules: [{ conditions: [{ [H]: c, [I]: [b, z] }, B], rules: [{ endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: k }], [G]: j }, { conditions: D, rules: [{ conditions: [{ [H]: c, [I]: [z, b] }], rules: [{ conditions: [{ [H]: d, [I]: [{ [H]: l, [I]: [A, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://sts.{Region}.amazonaws.com", properties: v, headers: v }, [G]: h }, { endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "FIPS is enabled but this partition does not support FIPS", [G]: k }], [G]: j }, { conditions: E, rules: [{ conditions: [B], rules: [{ endpoint: { url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "DualStack is enabled but this partition does not support DualStack", [G]: k }], [G]: j }, w, { endpoint: { url: i, properties: v, headers: v }, [G]: h }], [G]: j }], [G]: j }, { error: "Invalid Configuration: Missing Region", [G]: k }] };
7
7
  exports.ruleSet = _data;
@@ -702,7 +702,7 @@ const getDefaultRoleAssumer$1 = (stsOptions, STSClient) => {
702
702
  return async (sourceCreds, params) => {
703
703
  closureSourceCreds = sourceCreds;
704
704
  if (!stsClient) {
705
- const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, } = stsOptions;
705
+ const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId, } = stsOptions;
706
706
  const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, {
707
707
  logger,
708
708
  profile,
@@ -710,6 +710,7 @@ const getDefaultRoleAssumer$1 = (stsOptions, STSClient) => {
710
710
  const isCompatibleRequestHandler = !isH2(requestHandler);
711
711
  stsClient = new STSClient({
712
712
  ...stsOptions,
713
+ userAgentAppId,
713
714
  profile,
714
715
  credentialDefaultProvider: () => async () => closureSourceCreds,
715
716
  region: resolvedRegion,
@@ -738,7 +739,7 @@ const getDefaultRoleAssumerWithWebIdentity$1 = (stsOptions, STSClient) => {
738
739
  let stsClient;
739
740
  return async (params) => {
740
741
  if (!stsClient) {
741
- const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, } = stsOptions;
742
+ const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId, } = stsOptions;
742
743
  const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, {
743
744
  logger,
744
745
  profile,
@@ -746,6 +747,7 @@ const getDefaultRoleAssumerWithWebIdentity$1 = (stsOptions, STSClient) => {
746
747
  const isCompatibleRequestHandler = !isH2(requestHandler);
747
748
  stsClient = new STSClient({
748
749
  ...stsOptions,
750
+ userAgentAppId,
749
751
  profile,
750
752
  region: resolvedRegion,
751
753
  requestHandler: isCompatibleRequestHandler ? requestHandler : undefined,
@@ -1,4 +1,4 @@
1
1
  const u = "required", v = "fn", w = "argv", x = "ref";
2
- const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, "type": "String" }, j = { [u]: true, "default": false, "type": "Boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }];
2
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, "type": "string" }, j = { [u]: true, "default": false, "type": "boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }];
3
3
  const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://oidc.{Region}.amazonaws.com", properties: n, headers: n }, type: e }, { endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
4
4
  export const ruleSet = _data;
@@ -24,7 +24,7 @@ export const getDefaultRoleAssumer = (stsOptions, STSClient) => {
24
24
  return async (sourceCreds, params) => {
25
25
  closureSourceCreds = sourceCreds;
26
26
  if (!stsClient) {
27
- const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, } = stsOptions;
27
+ const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId, } = stsOptions;
28
28
  const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, {
29
29
  logger,
30
30
  profile,
@@ -32,6 +32,7 @@ export const getDefaultRoleAssumer = (stsOptions, STSClient) => {
32
32
  const isCompatibleRequestHandler = !isH2(requestHandler);
33
33
  stsClient = new STSClient({
34
34
  ...stsOptions,
35
+ userAgentAppId,
35
36
  profile,
36
37
  credentialDefaultProvider: () => async () => closureSourceCreds,
37
38
  region: resolvedRegion,
@@ -60,7 +61,7 @@ export const getDefaultRoleAssumerWithWebIdentity = (stsOptions, STSClient) => {
60
61
  let stsClient;
61
62
  return async (params) => {
62
63
  if (!stsClient) {
63
- const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, } = stsOptions;
64
+ const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId, } = stsOptions;
64
65
  const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, {
65
66
  logger,
66
67
  profile,
@@ -68,6 +69,7 @@ export const getDefaultRoleAssumerWithWebIdentity = (stsOptions, STSClient) => {
68
69
  const isCompatibleRequestHandler = !isH2(requestHandler);
69
70
  stsClient = new STSClient({
70
71
  ...stsOptions,
72
+ userAgentAppId,
71
73
  profile,
72
74
  region: resolvedRegion,
73
75
  requestHandler: isCompatibleRequestHandler ? requestHandler : undefined,
@@ -1,4 +1,4 @@
1
1
  const F = "required", G = "type", H = "fn", I = "argv", J = "ref";
2
- const a = false, b = true, c = "booleanEquals", d = "stringEquals", e = "sigv4", f = "sts", g = "us-east-1", h = "endpoint", i = "https://sts.{Region}.{PartitionResult#dnsSuffix}", j = "tree", k = "error", l = "getAttr", m = { [F]: false, [G]: "String" }, n = { [F]: true, "default": false, [G]: "Boolean" }, o = { [J]: "Endpoint" }, p = { [H]: "isSet", [I]: [{ [J]: "Region" }] }, q = { [J]: "Region" }, r = { [H]: "aws.partition", [I]: [q], "assign": "PartitionResult" }, s = { [J]: "UseFIPS" }, t = { [J]: "UseDualStack" }, u = { "url": "https://sts.amazonaws.com", "properties": { "authSchemes": [{ "name": e, "signingName": f, "signingRegion": g }] }, "headers": {} }, v = {}, w = { "conditions": [{ [H]: d, [I]: [q, "aws-global"] }], [h]: u, [G]: h }, x = { [H]: c, [I]: [s, true] }, y = { [H]: c, [I]: [t, true] }, z = { [H]: l, [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] }, A = { [J]: "PartitionResult" }, B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, "supportsDualStack"] }] }, C = [{ [H]: "isSet", [I]: [o] }], D = [x], E = [y];
2
+ const a = false, b = true, c = "booleanEquals", d = "stringEquals", e = "sigv4", f = "sts", g = "us-east-1", h = "endpoint", i = "https://sts.{Region}.{PartitionResult#dnsSuffix}", j = "tree", k = "error", l = "getAttr", m = { [F]: false, [G]: "string" }, n = { [F]: true, "default": false, [G]: "boolean" }, o = { [J]: "Endpoint" }, p = { [H]: "isSet", [I]: [{ [J]: "Region" }] }, q = { [J]: "Region" }, r = { [H]: "aws.partition", [I]: [q], "assign": "PartitionResult" }, s = { [J]: "UseFIPS" }, t = { [J]: "UseDualStack" }, u = { "url": "https://sts.amazonaws.com", "properties": { "authSchemes": [{ "name": e, "signingName": f, "signingRegion": g }] }, "headers": {} }, v = {}, w = { "conditions": [{ [H]: d, [I]: [q, "aws-global"] }], [h]: u, [G]: h }, x = { [H]: c, [I]: [s, true] }, y = { [H]: c, [I]: [t, true] }, z = { [H]: l, [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] }, A = { [J]: "PartitionResult" }, B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, "supportsDualStack"] }] }, C = [{ [H]: "isSet", [I]: [o] }], D = [x], E = [y];
3
3
  const _data = { version: "1.0", parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n }, rules: [{ conditions: [{ [H]: c, [I]: [{ [J]: "UseGlobalEndpoint" }, b] }, { [H]: "not", [I]: C }, p, r, { [H]: c, [I]: [s, a] }, { [H]: c, [I]: [t, a] }], rules: [{ conditions: [{ [H]: d, [I]: [q, "ap-northeast-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-south-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-southeast-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-southeast-2"] }], endpoint: u, [G]: h }, w, { conditions: [{ [H]: d, [I]: [q, "ca-central-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-central-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-north-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-2"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-3"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "sa-east-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, g] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-east-2"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-west-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-west-2"] }], endpoint: u, [G]: h }, { endpoint: { url: i, properties: { authSchemes: [{ name: e, signingName: f, signingRegion: "{Region}" }] }, headers: v }, [G]: h }], [G]: j }, { conditions: C, rules: [{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: k }, { conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: k }, { endpoint: { url: o, properties: v, headers: v }, [G]: h }], [G]: j }, { conditions: [p], rules: [{ conditions: [r], rules: [{ conditions: [x, y], rules: [{ conditions: [{ [H]: c, [I]: [b, z] }, B], rules: [{ endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: k }], [G]: j }, { conditions: D, rules: [{ conditions: [{ [H]: c, [I]: [z, b] }], rules: [{ conditions: [{ [H]: d, [I]: [{ [H]: l, [I]: [A, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://sts.{Region}.amazonaws.com", properties: v, headers: v }, [G]: h }, { endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "FIPS is enabled but this partition does not support FIPS", [G]: k }], [G]: j }, { conditions: E, rules: [{ conditions: [B], rules: [{ endpoint: { url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "DualStack is enabled but this partition does not support DualStack", [G]: k }], [G]: j }, w, { endpoint: { url: i, properties: v, headers: v }, [G]: h }], [G]: j }], [G]: j }, { error: "Invalid Configuration: Missing Region", [G]: k }] };
4
4
  export const ruleSet = _data;
@@ -6,7 +6,7 @@ import type { STSClient, STSClientConfig } from "./STSClient";
6
6
  /**
7
7
  * @public
8
8
  */
9
- export type STSRoleAssumerOptions = Pick<STSClientConfig, "logger" | "region" | "requestHandler" | "profile"> & {
9
+ export type STSRoleAssumerOptions = Pick<STSClientConfig, "logger" | "region" | "requestHandler" | "profile" | "userAgentAppId"> & {
10
10
  credentialProviderLogger?: Logger;
11
11
  parentClientConfig?: CredentialProviderOptions["parentClientConfig"];
12
12
  };
@@ -5,7 +5,7 @@ import { AssumeRoleWithWebIdentityCommandInput } from "./commands/AssumeRoleWith
5
5
  import { STSClient, STSClientConfig } from "./STSClient";
6
6
  export type STSRoleAssumerOptions = Pick<
7
7
  STSClientConfig,
8
- "logger" | "region" | "requestHandler" | "profile"
8
+ "logger" | "region" | "requestHandler" | "profile" | "userAgentAppId"
9
9
  > & {
10
10
  credentialProviderLogger?: Logger;
11
11
  parentClientConfig?: CredentialProviderOptions["parentClientConfig"];
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/nested-clients",
3
- "version": "3.920.0",
3
+ "version": "3.922.0",
4
4
  "description": "Nested clients for AWS SDK packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -29,40 +29,40 @@
29
29
  "dependencies": {
30
30
  "@aws-crypto/sha256-browser": "5.2.0",
31
31
  "@aws-crypto/sha256-js": "5.2.0",
32
- "@aws-sdk/core": "3.920.0",
33
- "@aws-sdk/middleware-host-header": "3.920.0",
34
- "@aws-sdk/middleware-logger": "3.920.0",
35
- "@aws-sdk/middleware-recursion-detection": "3.920.0",
36
- "@aws-sdk/middleware-user-agent": "3.920.0",
37
- "@aws-sdk/region-config-resolver": "3.920.0",
38
- "@aws-sdk/types": "3.920.0",
39
- "@aws-sdk/util-endpoints": "3.920.0",
40
- "@aws-sdk/util-user-agent-browser": "3.920.0",
41
- "@aws-sdk/util-user-agent-node": "3.920.0",
42
- "@smithy/config-resolver": "^4.4.0",
43
- "@smithy/core": "^3.17.1",
44
- "@smithy/fetch-http-handler": "^5.3.4",
45
- "@smithy/hash-node": "^4.2.3",
46
- "@smithy/invalid-dependency": "^4.2.3",
47
- "@smithy/middleware-content-length": "^4.2.3",
48
- "@smithy/middleware-endpoint": "^4.3.5",
49
- "@smithy/middleware-retry": "^4.4.5",
50
- "@smithy/middleware-serde": "^4.2.3",
51
- "@smithy/middleware-stack": "^4.2.3",
52
- "@smithy/node-config-provider": "^4.3.3",
53
- "@smithy/node-http-handler": "^4.4.3",
54
- "@smithy/protocol-http": "^5.3.3",
55
- "@smithy/smithy-client": "^4.9.1",
56
- "@smithy/types": "^4.8.0",
57
- "@smithy/url-parser": "^4.2.3",
32
+ "@aws-sdk/core": "3.922.0",
33
+ "@aws-sdk/middleware-host-header": "3.922.0",
34
+ "@aws-sdk/middleware-logger": "3.922.0",
35
+ "@aws-sdk/middleware-recursion-detection": "3.922.0",
36
+ "@aws-sdk/middleware-user-agent": "3.922.0",
37
+ "@aws-sdk/region-config-resolver": "3.922.0",
38
+ "@aws-sdk/types": "3.922.0",
39
+ "@aws-sdk/util-endpoints": "3.922.0",
40
+ "@aws-sdk/util-user-agent-browser": "3.922.0",
41
+ "@aws-sdk/util-user-agent-node": "3.922.0",
42
+ "@smithy/config-resolver": "^4.4.1",
43
+ "@smithy/core": "^3.17.2",
44
+ "@smithy/fetch-http-handler": "^5.3.5",
45
+ "@smithy/hash-node": "^4.2.4",
46
+ "@smithy/invalid-dependency": "^4.2.4",
47
+ "@smithy/middleware-content-length": "^4.2.4",
48
+ "@smithy/middleware-endpoint": "^4.3.6",
49
+ "@smithy/middleware-retry": "^4.4.6",
50
+ "@smithy/middleware-serde": "^4.2.4",
51
+ "@smithy/middleware-stack": "^4.2.4",
52
+ "@smithy/node-config-provider": "^4.3.4",
53
+ "@smithy/node-http-handler": "^4.4.4",
54
+ "@smithy/protocol-http": "^5.3.4",
55
+ "@smithy/smithy-client": "^4.9.2",
56
+ "@smithy/types": "^4.8.1",
57
+ "@smithy/url-parser": "^4.2.4",
58
58
  "@smithy/util-base64": "^4.3.0",
59
59
  "@smithy/util-body-length-browser": "^4.2.0",
60
60
  "@smithy/util-body-length-node": "^4.2.1",
61
- "@smithy/util-defaults-mode-browser": "^4.3.4",
62
- "@smithy/util-defaults-mode-node": "^4.2.6",
63
- "@smithy/util-endpoints": "^3.2.3",
64
- "@smithy/util-middleware": "^4.2.3",
65
- "@smithy/util-retry": "^4.2.3",
61
+ "@smithy/util-defaults-mode-browser": "^4.3.5",
62
+ "@smithy/util-defaults-mode-node": "^4.2.7",
63
+ "@smithy/util-endpoints": "^3.2.4",
64
+ "@smithy/util-middleware": "^4.2.4",
65
+ "@smithy/util-retry": "^4.2.4",
66
66
  "@smithy/util-utf8": "^4.2.0",
67
67
  "tslib": "^2.6.2"
68
68
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/region-config-resolver",
3
- "version": "3.920.0",
3
+ "version": "3.922.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",
@@ -23,10 +23,10 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@aws-sdk/types": "3.920.0",
27
- "@smithy/config-resolver": "^4.4.0",
28
- "@smithy/node-config-provider": "^4.3.3",
29
- "@smithy/types": "^4.8.0",
26
+ "@aws-sdk/types": "3.922.0",
27
+ "@smithy/config-resolver": "^4.4.1",
28
+ "@smithy/node-config-provider": "^4.3.4",
29
+ "@smithy/types": "^4.8.1",
30
30
  "tslib": "^2.6.2"
31
31
  },
32
32
  "devDependencies": {
@@ -25,9 +25,11 @@ const REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with th
25
25
 
26
26
  const getSsoOidcClient = async (ssoRegion, init = {}) => {
27
27
  const { SSOOIDCClient } = await import('@aws-sdk/nested-clients/sso-oidc');
28
+ const coalesce = (prop) => init.clientConfig?.[prop] ?? init.parentClientConfig?.[prop];
28
29
  const ssoOidcClient = new SSOOIDCClient(Object.assign({}, init.clientConfig ?? {}, {
29
30
  region: ssoRegion ?? init.clientConfig?.region,
30
- logger: init.clientConfig?.logger ?? init.parentClientConfig?.logger,
31
+ logger: coalesce("logger"),
32
+ userAgentAppId: coalesce("userAgentAppId"),
31
33
  }));
32
34
  return ssoOidcClient;
33
35
  };
@@ -1,8 +1,10 @@
1
1
  export const getSsoOidcClient = async (ssoRegion, init = {}) => {
2
2
  const { SSOOIDCClient } = await import("@aws-sdk/nested-clients/sso-oidc");
3
+ const coalesce = (prop) => init.clientConfig?.[prop] ?? init.parentClientConfig?.[prop];
3
4
  const ssoOidcClient = new SSOOIDCClient(Object.assign({}, init.clientConfig ?? {}, {
4
5
  region: ssoRegion ?? init.clientConfig?.region,
5
- logger: init.clientConfig?.logger ?? init.parentClientConfig?.logger,
6
+ logger: coalesce("logger"),
7
+ userAgentAppId: coalesce("userAgentAppId"),
6
8
  }));
7
9
  return ssoOidcClient;
8
10
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.920.0",
3
+ "version": "3.922.0",
4
4
  "description": "A collection of token providers",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -29,12 +29,12 @@
29
29
  },
30
30
  "license": "Apache-2.0",
31
31
  "dependencies": {
32
- "@aws-sdk/core": "3.920.0",
33
- "@aws-sdk/nested-clients": "3.920.0",
34
- "@aws-sdk/types": "3.920.0",
35
- "@smithy/property-provider": "^4.2.3",
36
- "@smithy/shared-ini-file-loader": "^4.3.3",
37
- "@smithy/types": "^4.8.0",
32
+ "@aws-sdk/core": "3.922.0",
33
+ "@aws-sdk/nested-clients": "3.922.0",
34
+ "@aws-sdk/types": "3.922.0",
35
+ "@smithy/property-provider": "^4.2.4",
36
+ "@smithy/shared-ini-file-loader": "^4.3.4",
37
+ "@smithy/types": "^4.8.1",
38
38
  "tslib": "^2.6.2"
39
39
  },
40
40
  "devDependencies": {
@@ -46,6 +46,7 @@ export type CredentialProviderOptions = {
46
46
  region?: string | Provider<string>;
47
47
  profile?: string;
48
48
  logger?: Logger;
49
+ userAgentAppId?(): Promise<string | undefined>;
49
50
  [key: string]: unknown;
50
51
  };
51
52
  };
@@ -26,6 +26,7 @@ export interface AwsIdentityProperties {
26
26
  profile?: string;
27
27
  region(): Promise<string>;
28
28
  requestHandler?: RequestHandler<any, any>;
29
+ userAgentAppId?(): Promise<string | undefined>;
29
30
  };
30
31
  }
31
32
  /**
@@ -9,6 +9,7 @@ export type CredentialProviderOptions = {
9
9
  region?: string | Provider<string>;
10
10
  profile?: string;
11
11
  logger?: Logger;
12
+ userAgentAppId?(): Promise<string | undefined>;
12
13
  [key: string]: unknown;
13
14
  };
14
15
  };
@@ -18,6 +18,7 @@ export interface AwsIdentityProperties {
18
18
  profile?: string;
19
19
  region(): Promise<string>;
20
20
  requestHandler?: RequestHandler<any, any>;
21
+ userAgentAppId?(): Promise<string | undefined>;
21
22
  };
22
23
  }
23
24
  export type RuntimeConfigIdentityProvider<T> = (
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/types",
3
- "version": "3.920.0",
3
+ "version": "3.922.0",
4
4
  "main": "./dist-cjs/index.js",
5
5
  "module": "./dist-es/index.js",
6
6
  "types": "./dist-types/index.d.ts",
@@ -42,7 +42,7 @@
42
42
  "directory": "packages/types"
43
43
  },
44
44
  "dependencies": {
45
- "@smithy/types": "^4.8.0",
45
+ "@smithy/types": "^4.8.1",
46
46
  "tslib": "^2.6.2"
47
47
  },
48
48
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-endpoints",
3
- "version": "3.920.0",
3
+ "version": "3.922.0",
4
4
  "description": "Utilities to help with endpoint resolution",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -25,10 +25,10 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@aws-sdk/types": "3.920.0",
29
- "@smithy/types": "^4.8.0",
30
- "@smithy/url-parser": "^4.2.3",
31
- "@smithy/util-endpoints": "^3.2.3",
28
+ "@aws-sdk/types": "3.922.0",
29
+ "@smithy/types": "^4.8.1",
30
+ "@smithy/url-parser": "^4.2.4",
31
+ "@smithy/util-endpoints": "^3.2.4",
32
32
  "tslib": "^2.6.2"
33
33
  },
34
34
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-browser",
3
- "version": "3.920.0",
3
+ "version": "3.922.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 util-user-agent-browser",
@@ -24,8 +24,8 @@
24
24
  "license": "Apache-2.0",
25
25
  "react-native": "dist-es/index.native.js",
26
26
  "dependencies": {
27
- "@aws-sdk/types": "3.920.0",
28
- "@smithy/types": "^4.8.0",
27
+ "@aws-sdk/types": "3.922.0",
28
+ "@smithy/types": "^4.8.1",
29
29
  "bowser": "^2.11.0",
30
30
  "tslib": "^2.6.2"
31
31
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-node",
3
- "version": "3.920.0",
3
+ "version": "3.922.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 util-user-agent-node",
@@ -22,10 +22,10 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@aws-sdk/middleware-user-agent": "3.920.0",
26
- "@aws-sdk/types": "3.920.0",
27
- "@smithy/node-config-provider": "^4.3.3",
28
- "@smithy/types": "^4.8.0",
25
+ "@aws-sdk/middleware-user-agent": "3.922.0",
26
+ "@aws-sdk/types": "3.922.0",
27
+ "@smithy/node-config-provider": "^4.3.4",
28
+ "@smithy/types": "^4.8.1",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "devDependencies": {
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@aws-sdk/xml-builder",
3
- "version": "3.914.0",
3
+ "version": "3.921.0",
4
4
  "description": "XML builder for the AWS SDK",
5
5
  "dependencies": {
6
- "@smithy/types": "^4.8.0",
6
+ "@smithy/types": "^4.8.1",
7
7
  "fast-xml-parser": "5.2.5",
8
8
  "tslib": "^2.6.2"
9
9
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/abort-controller",
3
- "version": "4.2.3",
3
+ "version": "4.2.4",
4
4
  "description": "A simple abort controller library",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,7 +26,7 @@
26
26
  "license": "Apache-2.0",
27
27
  "sideEffects": false,
28
28
  "dependencies": {
29
- "@smithy/types": "^4.8.0",
29
+ "@smithy/types": "^4.8.1",
30
30
  "tslib": "^2.6.2"
31
31
  },
32
32
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/config-resolver",
3
- "version": "4.4.0",
3
+ "version": "4.4.1",
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",
@@ -25,11 +25,11 @@
25
25
  "license": "Apache-2.0",
26
26
  "sideEffects": false,
27
27
  "dependencies": {
28
- "@smithy/node-config-provider": "^4.3.3",
29
- "@smithy/types": "^4.8.0",
28
+ "@smithy/node-config-provider": "^4.3.4",
29
+ "@smithy/types": "^4.8.1",
30
30
  "@smithy/util-config-provider": "^4.2.0",
31
- "@smithy/util-endpoints": "^3.2.3",
32
- "@smithy/util-middleware": "^4.2.3",
31
+ "@smithy/util-endpoints": "^3.2.4",
32
+ "@smithy/util-middleware": "^4.2.4",
33
33
  "tslib": "^2.6.2"
34
34
  },
35
35
  "devDependencies": {