@cloudsnorkel/cdk-github-runners 0.7.4 → 0.7.5

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.
@@ -24,6 +24,10 @@ var __copyProps = (to, from, except, desc) => {
24
24
  return to;
25
25
  };
26
26
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
27
+ // If the importer is in node compatibility mode or this is not an ESM
28
+ // file that has been converted to a CommonJS file using a Babel-
29
+ // compatible transform (i.e. "__esModule" has not been set), then set
30
+ // "default" to the CommonJS "module.exports" for node compatibility.
27
31
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
28
32
  mod
29
33
  ));
@@ -1659,10 +1663,10 @@ var require_default_error_handler = __commonJS({
1659
1663
  };
1660
1664
  exports.throwDefaultError = throwDefaultError;
1661
1665
  var deserializeMetadata = (output) => {
1662
- var _a;
1666
+ var _a, _b;
1663
1667
  return {
1664
1668
  httpStatusCode: output.statusCode,
1665
- requestId: (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"],
1669
+ requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"],
1666
1670
  extendedRequestId: output.headers["x-amz-id-2"],
1667
1671
  cfId: output.headers["x-amz-cf-id"]
1668
1672
  };
@@ -13936,10 +13940,7 @@ var require_resolveRegionConfig = __commonJS({
13936
13940
  if ((0, isFipsRegion_1.isFipsRegion)(providedRegion)) {
13937
13941
  return true;
13938
13942
  }
13939
- if (!useFipsEndpoint) {
13940
- return Promise.resolve(false);
13941
- }
13942
- return typeof useFipsEndpoint === "boolean" ? Promise.resolve(useFipsEndpoint) : useFipsEndpoint();
13943
+ return typeof useFipsEndpoint !== "function" ? Promise.resolve(!!useFipsEndpoint) : useFipsEndpoint();
13943
13944
  }
13944
13945
  };
13945
13946
  };
@@ -16566,7 +16567,7 @@ var require_package = __commonJS({
16566
16567
  module2.exports = {
16567
16568
  name: "@aws-sdk/client-lambda",
16568
16569
  description: "AWS SDK for JavaScript Lambda Client for Node.js, Browser and React Native",
16569
- version: "3.231.0",
16570
+ version: "3.245.0",
16570
16571
  scripts: {
16571
16572
  build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
16572
16573
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -16575,7 +16576,8 @@ var require_package = __commonJS({
16575
16576
  "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
16576
16577
  "build:types": "tsc -p tsconfig.types.json",
16577
16578
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
16578
- clean: "rimraf ./dist-* && rimraf *.tsbuildinfo"
16579
+ clean: "rimraf ./dist-* && rimraf *.tsbuildinfo",
16580
+ "generate:client": "(cd ../../ && yarn generate-clients -g ./codegen/sdk-codegen/aws-models/lambda.json --keepFiles)"
16579
16581
  },
16580
16582
  main: "./dist-cjs/index.js",
16581
16583
  types: "./dist-types/index.d.ts",
@@ -16584,9 +16586,9 @@ var require_package = __commonJS({
16584
16586
  dependencies: {
16585
16587
  "@aws-crypto/sha256-browser": "2.0.0",
16586
16588
  "@aws-crypto/sha256-js": "2.0.0",
16587
- "@aws-sdk/client-sts": "3.231.0",
16588
- "@aws-sdk/config-resolver": "3.231.0",
16589
- "@aws-sdk/credential-provider-node": "3.231.0",
16589
+ "@aws-sdk/client-sts": "3.245.0",
16590
+ "@aws-sdk/config-resolver": "3.234.0",
16591
+ "@aws-sdk/credential-provider-node": "3.245.0",
16590
16592
  "@aws-sdk/fetch-http-handler": "3.226.0",
16591
16593
  "@aws-sdk/hash-node": "3.226.0",
16592
16594
  "@aws-sdk/invalid-dependency": "3.226.0",
@@ -16595,7 +16597,7 @@ var require_package = __commonJS({
16595
16597
  "@aws-sdk/middleware-host-header": "3.226.0",
16596
16598
  "@aws-sdk/middleware-logger": "3.226.0",
16597
16599
  "@aws-sdk/middleware-recursion-detection": "3.226.0",
16598
- "@aws-sdk/middleware-retry": "3.229.0",
16600
+ "@aws-sdk/middleware-retry": "3.235.0",
16599
16601
  "@aws-sdk/middleware-serde": "3.226.0",
16600
16602
  "@aws-sdk/middleware-signing": "3.226.0",
16601
16603
  "@aws-sdk/middleware-stack": "3.226.0",
@@ -16603,15 +16605,15 @@ var require_package = __commonJS({
16603
16605
  "@aws-sdk/node-config-provider": "3.226.0",
16604
16606
  "@aws-sdk/node-http-handler": "3.226.0",
16605
16607
  "@aws-sdk/protocol-http": "3.226.0",
16606
- "@aws-sdk/smithy-client": "3.226.0",
16608
+ "@aws-sdk/smithy-client": "3.234.0",
16607
16609
  "@aws-sdk/types": "3.226.0",
16608
16610
  "@aws-sdk/url-parser": "3.226.0",
16609
16611
  "@aws-sdk/util-base64": "3.208.0",
16610
16612
  "@aws-sdk/util-body-length-browser": "3.188.0",
16611
16613
  "@aws-sdk/util-body-length-node": "3.208.0",
16612
- "@aws-sdk/util-defaults-mode-browser": "3.226.0",
16613
- "@aws-sdk/util-defaults-mode-node": "3.231.0",
16614
- "@aws-sdk/util-endpoints": "3.226.0",
16614
+ "@aws-sdk/util-defaults-mode-browser": "3.234.0",
16615
+ "@aws-sdk/util-defaults-mode-node": "3.234.0",
16616
+ "@aws-sdk/util-endpoints": "3.245.0",
16615
16617
  "@aws-sdk/util-retry": "3.229.0",
16616
16618
  "@aws-sdk/util-user-agent-browser": "3.226.0",
16617
16619
  "@aws-sdk/util-user-agent-node": "3.226.0",
@@ -16950,6 +16952,7 @@ var require_validator = __commonJS({
16950
16952
  var util = require_util2();
16951
16953
  var defaultOptions = {
16952
16954
  allowBooleanAttributes: false,
16955
+ //A tag can have attributes without any value
16953
16956
  unpairedTags: []
16954
16957
  };
16955
16958
  exports.validate = function(xmlData, options) {
@@ -17244,6 +17247,7 @@ var require_validator = __commonJS({
17244
17247
  const lines = xmlData.substring(0, index).split(/\r?\n/);
17245
17248
  return {
17246
17249
  line: lines.length,
17250
+ // column number is last line's length + 1, because column numbering starts at 1:
17247
17251
  col: lines[lines.length - 1].length + 1
17248
17252
  };
17249
17253
  }
@@ -17263,10 +17267,14 @@ var require_OptionsBuilder = __commonJS({
17263
17267
  textNodeName: "#text",
17264
17268
  ignoreAttributes: true,
17265
17269
  removeNSPrefix: false,
17270
+ // remove NS from tag name or attribute name if true
17266
17271
  allowBooleanAttributes: false,
17272
+ //a tag can have attributes without any value
17273
+ //ignoreRootElement : false,
17267
17274
  parseTagValue: true,
17268
17275
  parseAttributeValue: false,
17269
17276
  trimValues: true,
17277
+ //Trim string values of tag and attributes
17270
17278
  cdataPropName: false,
17271
17279
  numberParseOptions: {
17272
17280
  hex: true,
@@ -17279,6 +17287,7 @@ var require_OptionsBuilder = __commonJS({
17279
17287
  return val;
17280
17288
  },
17281
17289
  stopNodes: [],
17290
+ //nested tags will not be parsed even for errors
17282
17291
  alwaysCreateTextNode: false,
17283
17292
  isArray: () => false,
17284
17293
  commentPropName: false,
@@ -17343,7 +17352,8 @@ var require_DocTypeReader = __commonJS({
17343
17352
  i += 8;
17344
17353
  } else if (hasBody && xmlData[i + 1] === "!" && xmlData[i + 2] === "N" && xmlData[i + 3] === "O" && xmlData[i + 4] === "T" && xmlData[i + 5] === "A" && xmlData[i + 6] === "T" && xmlData[i + 7] === "I" && xmlData[i + 8] === "O" && xmlData[i + 9] === "N") {
17345
17354
  i += 9;
17346
- } else if (xmlData[i + 1] === "!" && xmlData[i + 2] === "-" && xmlData[i + 3] === "-") {
17355
+ } else if (//comment
17356
+ xmlData[i + 1] === "!" && xmlData[i + 2] === "-" && xmlData[i + 3] === "-") {
17347
17357
  comment = true;
17348
17358
  } else {
17349
17359
  throw new Error("Invalid DOCTYPE");
@@ -17409,6 +17419,7 @@ var require_strnum = __commonJS({
17409
17419
  leadingZeros: true,
17410
17420
  decimalPoint: ".",
17411
17421
  eNotation: true
17422
+ //skipLike: /regex/
17412
17423
  };
17413
17424
  function toNumber(str, options = {}) {
17414
17425
  options = Object.assign({}, consider, options);
@@ -17513,6 +17524,11 @@ var require_OrderedObjParser = __commonJS({
17513
17524
  this.ampEntity = { regex: /&(amp|#38|#x26);/g, val: "&" };
17514
17525
  this.htmlEntities = {
17515
17526
  "space": { regex: /&(nbsp|#160);/g, val: " " },
17527
+ // "lt" : { regex: /&(lt|#60);/g, val: "<" },
17528
+ // "gt" : { regex: /&(gt|#62);/g, val: ">" },
17529
+ // "amp" : { regex: /&(amp|#38);/g, val: "&" },
17530
+ // "quot" : { regex: /&(quot|#34);/g, val: "\"" },
17531
+ // "apos" : { regex: /&(apos|#39);/g, val: "'" },
17516
17532
  "cent": { regex: /&(cent|#162);/g, val: "\xA2" },
17517
17533
  "pound": { regex: /&(pound|#163);/g, val: "\xA3" },
17518
17534
  "yen": { regex: /&(yen|#165);/g, val: "\xA5" },
@@ -18049,6 +18065,11 @@ var require_XMLParser = __commonJS({
18049
18065
  this.externalEntities = {};
18050
18066
  this.options = buildOptions(options);
18051
18067
  }
18068
+ /**
18069
+ * Parse XML dats to JS object
18070
+ * @param {string|Buffer} xmlData
18071
+ * @param {boolean|Object} validationOption
18072
+ */
18052
18073
  parse(xmlData, validationOption) {
18053
18074
  if (typeof xmlData === "string") {
18054
18075
  } else if (xmlData.toString) {
@@ -18072,6 +18093,11 @@ var require_XMLParser = __commonJS({
18072
18093
  else
18073
18094
  return prettify(orderedResult, this.options);
18074
18095
  }
18096
+ /**
18097
+ * Add Entity which is not by default supported by this library
18098
+ * @param {string} key
18099
+ * @param {string} value
18100
+ */
18075
18101
  addEntity(key, value) {
18076
18102
  if (value.indexOf("&") !== -1) {
18077
18103
  throw new Error("Entity value can't have '&'");
@@ -18219,6 +18245,7 @@ var require_json2xml = __commonJS({
18219
18245
  unpairedTags: [],
18220
18246
  entities: [
18221
18247
  { regex: new RegExp("&", "g"), val: "&amp;" },
18248
+ //it must be on top
18222
18249
  { regex: new RegExp(">", "g"), val: "&gt;" },
18223
18250
  { regex: new RegExp("<", "g"), val: "&lt;" },
18224
18251
  { regex: new RegExp("'", "g"), val: "&apos;" },
@@ -20009,7 +20036,7 @@ var require_package2 = __commonJS({
20009
20036
  module2.exports = {
20010
20037
  name: "@aws-sdk/client-sts",
20011
20038
  description: "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
20012
- version: "3.231.0",
20039
+ version: "3.245.0",
20013
20040
  scripts: {
20014
20041
  build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
20015
20042
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20020,7 +20047,8 @@ var require_package2 = __commonJS({
20020
20047
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
20021
20048
  clean: "rimraf ./dist-* && rimraf *.tsbuildinfo",
20022
20049
  test: "yarn test:unit",
20023
- "test:unit": "jest"
20050
+ "test:unit": "jest",
20051
+ "generate:client": "(cd ../../ && yarn generate-clients -g ./codegen/sdk-codegen/aws-models/sts.json --keepFiles)"
20024
20052
  },
20025
20053
  main: "./dist-cjs/index.js",
20026
20054
  types: "./dist-types/index.d.ts",
@@ -20029,8 +20057,8 @@ var require_package2 = __commonJS({
20029
20057
  dependencies: {
20030
20058
  "@aws-crypto/sha256-browser": "2.0.0",
20031
20059
  "@aws-crypto/sha256-js": "2.0.0",
20032
- "@aws-sdk/config-resolver": "3.231.0",
20033
- "@aws-sdk/credential-provider-node": "3.231.0",
20060
+ "@aws-sdk/config-resolver": "3.234.0",
20061
+ "@aws-sdk/credential-provider-node": "3.245.0",
20034
20062
  "@aws-sdk/fetch-http-handler": "3.226.0",
20035
20063
  "@aws-sdk/hash-node": "3.226.0",
20036
20064
  "@aws-sdk/invalid-dependency": "3.226.0",
@@ -20039,7 +20067,7 @@ var require_package2 = __commonJS({
20039
20067
  "@aws-sdk/middleware-host-header": "3.226.0",
20040
20068
  "@aws-sdk/middleware-logger": "3.226.0",
20041
20069
  "@aws-sdk/middleware-recursion-detection": "3.226.0",
20042
- "@aws-sdk/middleware-retry": "3.229.0",
20070
+ "@aws-sdk/middleware-retry": "3.235.0",
20043
20071
  "@aws-sdk/middleware-sdk-sts": "3.226.0",
20044
20072
  "@aws-sdk/middleware-serde": "3.226.0",
20045
20073
  "@aws-sdk/middleware-signing": "3.226.0",
@@ -20048,15 +20076,15 @@ var require_package2 = __commonJS({
20048
20076
  "@aws-sdk/node-config-provider": "3.226.0",
20049
20077
  "@aws-sdk/node-http-handler": "3.226.0",
20050
20078
  "@aws-sdk/protocol-http": "3.226.0",
20051
- "@aws-sdk/smithy-client": "3.226.0",
20079
+ "@aws-sdk/smithy-client": "3.234.0",
20052
20080
  "@aws-sdk/types": "3.226.0",
20053
20081
  "@aws-sdk/url-parser": "3.226.0",
20054
20082
  "@aws-sdk/util-base64": "3.208.0",
20055
20083
  "@aws-sdk/util-body-length-browser": "3.188.0",
20056
20084
  "@aws-sdk/util-body-length-node": "3.208.0",
20057
- "@aws-sdk/util-defaults-mode-browser": "3.226.0",
20058
- "@aws-sdk/util-defaults-mode-node": "3.231.0",
20059
- "@aws-sdk/util-endpoints": "3.226.0",
20085
+ "@aws-sdk/util-defaults-mode-browser": "3.234.0",
20086
+ "@aws-sdk/util-defaults-mode-node": "3.234.0",
20087
+ "@aws-sdk/util-endpoints": "3.245.0",
20060
20088
  "@aws-sdk/util-retry": "3.229.0",
20061
20089
  "@aws-sdk/util-user-agent-browser": "3.226.0",
20062
20090
  "@aws-sdk/util-user-agent-node": "3.226.0",
@@ -22008,7 +22036,7 @@ var require_package3 = __commonJS({
22008
22036
  module2.exports = {
22009
22037
  name: "@aws-sdk/client-sso",
22010
22038
  description: "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
22011
- version: "3.231.0",
22039
+ version: "3.245.0",
22012
22040
  scripts: {
22013
22041
  build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
22014
22042
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -22017,7 +22045,8 @@ var require_package3 = __commonJS({
22017
22045
  "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
22018
22046
  "build:types": "tsc -p tsconfig.types.json",
22019
22047
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
22020
- clean: "rimraf ./dist-* && rimraf *.tsbuildinfo"
22048
+ clean: "rimraf ./dist-* && rimraf *.tsbuildinfo",
22049
+ "generate:client": "(cd ../../ && yarn generate-clients -g ./codegen/sdk-codegen/aws-models/sso.json --keepFiles)"
22021
22050
  },
22022
22051
  main: "./dist-cjs/index.js",
22023
22052
  types: "./dist-types/index.d.ts",
@@ -22026,7 +22055,7 @@ var require_package3 = __commonJS({
22026
22055
  dependencies: {
22027
22056
  "@aws-crypto/sha256-browser": "2.0.0",
22028
22057
  "@aws-crypto/sha256-js": "2.0.0",
22029
- "@aws-sdk/config-resolver": "3.231.0",
22058
+ "@aws-sdk/config-resolver": "3.234.0",
22030
22059
  "@aws-sdk/fetch-http-handler": "3.226.0",
22031
22060
  "@aws-sdk/hash-node": "3.226.0",
22032
22061
  "@aws-sdk/invalid-dependency": "3.226.0",
@@ -22035,22 +22064,22 @@ var require_package3 = __commonJS({
22035
22064
  "@aws-sdk/middleware-host-header": "3.226.0",
22036
22065
  "@aws-sdk/middleware-logger": "3.226.0",
22037
22066
  "@aws-sdk/middleware-recursion-detection": "3.226.0",
22038
- "@aws-sdk/middleware-retry": "3.229.0",
22067
+ "@aws-sdk/middleware-retry": "3.235.0",
22039
22068
  "@aws-sdk/middleware-serde": "3.226.0",
22040
22069
  "@aws-sdk/middleware-stack": "3.226.0",
22041
22070
  "@aws-sdk/middleware-user-agent": "3.226.0",
22042
22071
  "@aws-sdk/node-config-provider": "3.226.0",
22043
22072
  "@aws-sdk/node-http-handler": "3.226.0",
22044
22073
  "@aws-sdk/protocol-http": "3.226.0",
22045
- "@aws-sdk/smithy-client": "3.226.0",
22074
+ "@aws-sdk/smithy-client": "3.234.0",
22046
22075
  "@aws-sdk/types": "3.226.0",
22047
22076
  "@aws-sdk/url-parser": "3.226.0",
22048
22077
  "@aws-sdk/util-base64": "3.208.0",
22049
22078
  "@aws-sdk/util-body-length-browser": "3.188.0",
22050
22079
  "@aws-sdk/util-body-length-node": "3.208.0",
22051
- "@aws-sdk/util-defaults-mode-browser": "3.226.0",
22052
- "@aws-sdk/util-defaults-mode-node": "3.231.0",
22053
- "@aws-sdk/util-endpoints": "3.226.0",
22080
+ "@aws-sdk/util-defaults-mode-browser": "3.234.0",
22081
+ "@aws-sdk/util-defaults-mode-node": "3.234.0",
22082
+ "@aws-sdk/util-endpoints": "3.245.0",
22054
22083
  "@aws-sdk/util-retry": "3.229.0",
22055
22084
  "@aws-sdk/util-user-agent-browser": "3.226.0",
22056
22085
  "@aws-sdk/util-user-agent-node": "3.226.0",
@@ -24156,321 +24185,27 @@ var require_ruleset = __commonJS({
24156
24185
  "use strict";
24157
24186
  Object.defineProperty(exports, "__esModule", { value: true });
24158
24187
  exports.ruleSet = void 0;
24159
- exports.ruleSet = {
24160
- version: "1.0",
24161
- parameters: {
24162
- Region: {
24163
- builtIn: "AWS::Region",
24164
- required: false,
24165
- documentation: "The AWS region used to dispatch the request.",
24166
- type: "String"
24167
- },
24168
- UseDualStack: {
24169
- builtIn: "AWS::UseDualStack",
24170
- required: true,
24171
- default: false,
24172
- documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
24173
- type: "Boolean"
24174
- },
24175
- UseFIPS: {
24176
- builtIn: "AWS::UseFIPS",
24177
- required: true,
24178
- default: false,
24179
- documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
24180
- type: "Boolean"
24181
- },
24182
- Endpoint: {
24183
- builtIn: "SDK::Endpoint",
24184
- required: false,
24185
- documentation: "Override the endpoint used to send this request",
24186
- type: "String"
24187
- }
24188
- },
24189
- rules: [
24190
- {
24191
- conditions: [
24192
- {
24193
- fn: "aws.partition",
24194
- argv: [
24195
- {
24196
- ref: "Region"
24197
- }
24198
- ],
24199
- assign: "PartitionResult"
24200
- }
24201
- ],
24202
- type: "tree",
24203
- rules: [
24204
- {
24205
- conditions: [
24206
- {
24207
- fn: "isSet",
24208
- argv: [
24209
- {
24210
- ref: "Endpoint"
24211
- }
24212
- ]
24213
- },
24214
- {
24215
- fn: "parseURL",
24216
- argv: [
24217
- {
24218
- ref: "Endpoint"
24219
- }
24220
- ],
24221
- assign: "url"
24222
- }
24223
- ],
24224
- type: "tree",
24225
- rules: [
24226
- {
24227
- conditions: [
24228
- {
24229
- fn: "booleanEquals",
24230
- argv: [
24231
- {
24232
- ref: "UseFIPS"
24233
- },
24234
- true
24235
- ]
24236
- }
24237
- ],
24238
- error: "Invalid Configuration: FIPS and custom endpoint are not supported",
24239
- type: "error"
24240
- },
24241
- {
24242
- conditions: [],
24243
- type: "tree",
24244
- rules: [
24245
- {
24246
- conditions: [
24247
- {
24248
- fn: "booleanEquals",
24249
- argv: [
24250
- {
24251
- ref: "UseDualStack"
24252
- },
24253
- true
24254
- ]
24255
- }
24256
- ],
24257
- error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
24258
- type: "error"
24259
- },
24260
- {
24261
- conditions: [],
24262
- endpoint: {
24263
- url: {
24264
- ref: "Endpoint"
24265
- },
24266
- properties: {},
24267
- headers: {}
24268
- },
24269
- type: "endpoint"
24270
- }
24271
- ]
24272
- }
24273
- ]
24274
- },
24275
- {
24276
- conditions: [
24277
- {
24278
- fn: "booleanEquals",
24279
- argv: [
24280
- {
24281
- ref: "UseFIPS"
24282
- },
24283
- true
24284
- ]
24285
- },
24286
- {
24287
- fn: "booleanEquals",
24288
- argv: [
24289
- {
24290
- ref: "UseDualStack"
24291
- },
24292
- true
24293
- ]
24294
- }
24295
- ],
24296
- type: "tree",
24297
- rules: [
24298
- {
24299
- conditions: [
24300
- {
24301
- fn: "booleanEquals",
24302
- argv: [
24303
- true,
24304
- {
24305
- fn: "getAttr",
24306
- argv: [
24307
- {
24308
- ref: "PartitionResult"
24309
- },
24310
- "supportsFIPS"
24311
- ]
24312
- }
24313
- ]
24314
- },
24315
- {
24316
- fn: "booleanEquals",
24317
- argv: [
24318
- true,
24319
- {
24320
- fn: "getAttr",
24321
- argv: [
24322
- {
24323
- ref: "PartitionResult"
24324
- },
24325
- "supportsDualStack"
24326
- ]
24327
- }
24328
- ]
24329
- }
24330
- ],
24331
- type: "tree",
24332
- rules: [
24333
- {
24334
- conditions: [],
24335
- endpoint: {
24336
- url: "https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
24337
- properties: {},
24338
- headers: {}
24339
- },
24340
- type: "endpoint"
24341
- }
24342
- ]
24343
- },
24344
- {
24345
- conditions: [],
24346
- error: "FIPS and DualStack are enabled, but this partition does not support one or both",
24347
- type: "error"
24348
- }
24349
- ]
24350
- },
24351
- {
24352
- conditions: [
24353
- {
24354
- fn: "booleanEquals",
24355
- argv: [
24356
- {
24357
- ref: "UseFIPS"
24358
- },
24359
- true
24360
- ]
24361
- }
24362
- ],
24363
- type: "tree",
24364
- rules: [
24365
- {
24366
- conditions: [
24367
- {
24368
- fn: "booleanEquals",
24369
- argv: [
24370
- true,
24371
- {
24372
- fn: "getAttr",
24373
- argv: [
24374
- {
24375
- ref: "PartitionResult"
24376
- },
24377
- "supportsFIPS"
24378
- ]
24379
- }
24380
- ]
24381
- }
24382
- ],
24383
- type: "tree",
24384
- rules: [
24385
- {
24386
- conditions: [],
24387
- type: "tree",
24388
- rules: [
24389
- {
24390
- conditions: [],
24391
- endpoint: {
24392
- url: "https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}",
24393
- properties: {},
24394
- headers: {}
24395
- },
24396
- type: "endpoint"
24397
- }
24398
- ]
24399
- }
24400
- ]
24401
- },
24402
- {
24403
- conditions: [],
24404
- error: "FIPS is enabled but this partition does not support FIPS",
24405
- type: "error"
24406
- }
24407
- ]
24408
- },
24409
- {
24410
- conditions: [
24411
- {
24412
- fn: "booleanEquals",
24413
- argv: [
24414
- {
24415
- ref: "UseDualStack"
24416
- },
24417
- true
24418
- ]
24419
- }
24420
- ],
24421
- type: "tree",
24422
- rules: [
24423
- {
24424
- conditions: [
24425
- {
24426
- fn: "booleanEquals",
24427
- argv: [
24428
- true,
24429
- {
24430
- fn: "getAttr",
24431
- argv: [
24432
- {
24433
- ref: "PartitionResult"
24434
- },
24435
- "supportsDualStack"
24436
- ]
24437
- }
24438
- ]
24439
- }
24440
- ],
24441
- type: "tree",
24442
- rules: [
24443
- {
24444
- conditions: [],
24445
- endpoint: {
24446
- url: "https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}",
24447
- properties: {},
24448
- headers: {}
24449
- },
24450
- type: "endpoint"
24451
- }
24452
- ]
24453
- },
24454
- {
24455
- conditions: [],
24456
- error: "DualStack is enabled but this partition does not support DualStack",
24457
- type: "error"
24458
- }
24459
- ]
24460
- },
24461
- {
24462
- conditions: [],
24463
- endpoint: {
24464
- url: "https://portal.sso.{Region}.{PartitionResult#dnsSuffix}",
24465
- properties: {},
24466
- headers: {}
24467
- },
24468
- type: "endpoint"
24469
- }
24470
- ]
24471
- }
24472
- ]
24473
- };
24188
+ var p = "required";
24189
+ var q = "fn";
24190
+ var r = "argv";
24191
+ var s = "ref";
24192
+ var a = "PartitionResult";
24193
+ var b = "tree";
24194
+ var c = "error";
24195
+ var d = "endpoint";
24196
+ var e = { [p]: false, "type": "String" };
24197
+ var f = { [p]: true, "default": false, "type": "Boolean" };
24198
+ var g = { [s]: "Endpoint" };
24199
+ var h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] };
24200
+ var i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] };
24201
+ var j = {};
24202
+ var k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] };
24203
+ var l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] };
24204
+ var m = [g];
24205
+ var n = [h];
24206
+ var o = [i];
24207
+ var _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://portal.sso.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
24208
+ exports.ruleSet = _data;
24474
24209
  }
24475
24210
  });
24476
24211
 
@@ -25867,7 +25602,7 @@ var require_package4 = __commonJS({
25867
25602
  module2.exports = {
25868
25603
  name: "@aws-sdk/client-sso-oidc",
25869
25604
  description: "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
25870
- version: "3.231.0",
25605
+ version: "3.245.0",
25871
25606
  scripts: {
25872
25607
  build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
25873
25608
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -25876,7 +25611,8 @@ var require_package4 = __commonJS({
25876
25611
  "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
25877
25612
  "build:types": "tsc -p tsconfig.types.json",
25878
25613
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
25879
- clean: "rimraf ./dist-* && rimraf *.tsbuildinfo"
25614
+ clean: "rimraf ./dist-* && rimraf *.tsbuildinfo",
25615
+ "generate:client": "(cd ../../ && yarn generate-clients -g ./codegen/sdk-codegen/aws-models/sso-oidc.json --keepFiles)"
25880
25616
  },
25881
25617
  main: "./dist-cjs/index.js",
25882
25618
  types: "./dist-types/index.d.ts",
@@ -25885,7 +25621,7 @@ var require_package4 = __commonJS({
25885
25621
  dependencies: {
25886
25622
  "@aws-crypto/sha256-browser": "2.0.0",
25887
25623
  "@aws-crypto/sha256-js": "2.0.0",
25888
- "@aws-sdk/config-resolver": "3.231.0",
25624
+ "@aws-sdk/config-resolver": "3.234.0",
25889
25625
  "@aws-sdk/fetch-http-handler": "3.226.0",
25890
25626
  "@aws-sdk/hash-node": "3.226.0",
25891
25627
  "@aws-sdk/invalid-dependency": "3.226.0",
@@ -25894,22 +25630,22 @@ var require_package4 = __commonJS({
25894
25630
  "@aws-sdk/middleware-host-header": "3.226.0",
25895
25631
  "@aws-sdk/middleware-logger": "3.226.0",
25896
25632
  "@aws-sdk/middleware-recursion-detection": "3.226.0",
25897
- "@aws-sdk/middleware-retry": "3.229.0",
25633
+ "@aws-sdk/middleware-retry": "3.235.0",
25898
25634
  "@aws-sdk/middleware-serde": "3.226.0",
25899
25635
  "@aws-sdk/middleware-stack": "3.226.0",
25900
25636
  "@aws-sdk/middleware-user-agent": "3.226.0",
25901
25637
  "@aws-sdk/node-config-provider": "3.226.0",
25902
25638
  "@aws-sdk/node-http-handler": "3.226.0",
25903
25639
  "@aws-sdk/protocol-http": "3.226.0",
25904
- "@aws-sdk/smithy-client": "3.226.0",
25640
+ "@aws-sdk/smithy-client": "3.234.0",
25905
25641
  "@aws-sdk/types": "3.226.0",
25906
25642
  "@aws-sdk/url-parser": "3.226.0",
25907
25643
  "@aws-sdk/util-base64": "3.208.0",
25908
25644
  "@aws-sdk/util-body-length-browser": "3.188.0",
25909
25645
  "@aws-sdk/util-body-length-node": "3.208.0",
25910
- "@aws-sdk/util-defaults-mode-browser": "3.226.0",
25911
- "@aws-sdk/util-defaults-mode-node": "3.231.0",
25912
- "@aws-sdk/util-endpoints": "3.226.0",
25646
+ "@aws-sdk/util-defaults-mode-browser": "3.234.0",
25647
+ "@aws-sdk/util-defaults-mode-node": "3.234.0",
25648
+ "@aws-sdk/util-endpoints": "3.245.0",
25913
25649
  "@aws-sdk/util-retry": "3.229.0",
25914
25650
  "@aws-sdk/util-user-agent-browser": "3.226.0",
25915
25651
  "@aws-sdk/util-user-agent-node": "3.226.0",
@@ -25972,321 +25708,27 @@ var require_ruleset2 = __commonJS({
25972
25708
  "use strict";
25973
25709
  Object.defineProperty(exports, "__esModule", { value: true });
25974
25710
  exports.ruleSet = void 0;
25975
- exports.ruleSet = {
25976
- version: "1.0",
25977
- parameters: {
25978
- Region: {
25979
- builtIn: "AWS::Region",
25980
- required: false,
25981
- documentation: "The AWS region used to dispatch the request.",
25982
- type: "String"
25983
- },
25984
- UseDualStack: {
25985
- builtIn: "AWS::UseDualStack",
25986
- required: true,
25987
- default: false,
25988
- documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
25989
- type: "Boolean"
25990
- },
25991
- UseFIPS: {
25992
- builtIn: "AWS::UseFIPS",
25993
- required: true,
25994
- default: false,
25995
- documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
25996
- type: "Boolean"
25997
- },
25998
- Endpoint: {
25999
- builtIn: "SDK::Endpoint",
26000
- required: false,
26001
- documentation: "Override the endpoint used to send this request",
26002
- type: "String"
26003
- }
26004
- },
26005
- rules: [
26006
- {
26007
- conditions: [
26008
- {
26009
- fn: "aws.partition",
26010
- argv: [
26011
- {
26012
- ref: "Region"
26013
- }
26014
- ],
26015
- assign: "PartitionResult"
26016
- }
26017
- ],
26018
- type: "tree",
26019
- rules: [
26020
- {
26021
- conditions: [
26022
- {
26023
- fn: "isSet",
26024
- argv: [
26025
- {
26026
- ref: "Endpoint"
26027
- }
26028
- ]
26029
- },
26030
- {
26031
- fn: "parseURL",
26032
- argv: [
26033
- {
26034
- ref: "Endpoint"
26035
- }
26036
- ],
26037
- assign: "url"
26038
- }
26039
- ],
26040
- type: "tree",
26041
- rules: [
26042
- {
26043
- conditions: [
26044
- {
26045
- fn: "booleanEquals",
26046
- argv: [
26047
- {
26048
- ref: "UseFIPS"
26049
- },
26050
- true
26051
- ]
26052
- }
26053
- ],
26054
- error: "Invalid Configuration: FIPS and custom endpoint are not supported",
26055
- type: "error"
26056
- },
26057
- {
26058
- conditions: [],
26059
- type: "tree",
26060
- rules: [
26061
- {
26062
- conditions: [
26063
- {
26064
- fn: "booleanEquals",
26065
- argv: [
26066
- {
26067
- ref: "UseDualStack"
26068
- },
26069
- true
26070
- ]
26071
- }
26072
- ],
26073
- error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
26074
- type: "error"
26075
- },
26076
- {
26077
- conditions: [],
26078
- endpoint: {
26079
- url: {
26080
- ref: "Endpoint"
26081
- },
26082
- properties: {},
26083
- headers: {}
26084
- },
26085
- type: "endpoint"
26086
- }
26087
- ]
26088
- }
26089
- ]
26090
- },
26091
- {
26092
- conditions: [
26093
- {
26094
- fn: "booleanEquals",
26095
- argv: [
26096
- {
26097
- ref: "UseFIPS"
26098
- },
26099
- true
26100
- ]
26101
- },
26102
- {
26103
- fn: "booleanEquals",
26104
- argv: [
26105
- {
26106
- ref: "UseDualStack"
26107
- },
26108
- true
26109
- ]
26110
- }
26111
- ],
26112
- type: "tree",
26113
- rules: [
26114
- {
26115
- conditions: [
26116
- {
26117
- fn: "booleanEquals",
26118
- argv: [
26119
- true,
26120
- {
26121
- fn: "getAttr",
26122
- argv: [
26123
- {
26124
- ref: "PartitionResult"
26125
- },
26126
- "supportsFIPS"
26127
- ]
26128
- }
26129
- ]
26130
- },
26131
- {
26132
- fn: "booleanEquals",
26133
- argv: [
26134
- true,
26135
- {
26136
- fn: "getAttr",
26137
- argv: [
26138
- {
26139
- ref: "PartitionResult"
26140
- },
26141
- "supportsDualStack"
26142
- ]
26143
- }
26144
- ]
26145
- }
26146
- ],
26147
- type: "tree",
26148
- rules: [
26149
- {
26150
- conditions: [],
26151
- endpoint: {
26152
- url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
26153
- properties: {},
26154
- headers: {}
26155
- },
26156
- type: "endpoint"
26157
- }
26158
- ]
26159
- },
26160
- {
26161
- conditions: [],
26162
- error: "FIPS and DualStack are enabled, but this partition does not support one or both",
26163
- type: "error"
26164
- }
26165
- ]
26166
- },
26167
- {
26168
- conditions: [
26169
- {
26170
- fn: "booleanEquals",
26171
- argv: [
26172
- {
26173
- ref: "UseFIPS"
26174
- },
26175
- true
26176
- ]
26177
- }
26178
- ],
26179
- type: "tree",
26180
- rules: [
26181
- {
26182
- conditions: [
26183
- {
26184
- fn: "booleanEquals",
26185
- argv: [
26186
- true,
26187
- {
26188
- fn: "getAttr",
26189
- argv: [
26190
- {
26191
- ref: "PartitionResult"
26192
- },
26193
- "supportsFIPS"
26194
- ]
26195
- }
26196
- ]
26197
- }
26198
- ],
26199
- type: "tree",
26200
- rules: [
26201
- {
26202
- conditions: [],
26203
- type: "tree",
26204
- rules: [
26205
- {
26206
- conditions: [],
26207
- endpoint: {
26208
- url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",
26209
- properties: {},
26210
- headers: {}
26211
- },
26212
- type: "endpoint"
26213
- }
26214
- ]
26215
- }
26216
- ]
26217
- },
26218
- {
26219
- conditions: [],
26220
- error: "FIPS is enabled but this partition does not support FIPS",
26221
- type: "error"
26222
- }
26223
- ]
26224
- },
26225
- {
26226
- conditions: [
26227
- {
26228
- fn: "booleanEquals",
26229
- argv: [
26230
- {
26231
- ref: "UseDualStack"
26232
- },
26233
- true
26234
- ]
26235
- }
26236
- ],
26237
- type: "tree",
26238
- rules: [
26239
- {
26240
- conditions: [
26241
- {
26242
- fn: "booleanEquals",
26243
- argv: [
26244
- true,
26245
- {
26246
- fn: "getAttr",
26247
- argv: [
26248
- {
26249
- ref: "PartitionResult"
26250
- },
26251
- "supportsDualStack"
26252
- ]
26253
- }
26254
- ]
26255
- }
26256
- ],
26257
- type: "tree",
26258
- rules: [
26259
- {
26260
- conditions: [],
26261
- endpoint: {
26262
- url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",
26263
- properties: {},
26264
- headers: {}
26265
- },
26266
- type: "endpoint"
26267
- }
26268
- ]
26269
- },
26270
- {
26271
- conditions: [],
26272
- error: "DualStack is enabled but this partition does not support DualStack",
26273
- type: "error"
26274
- }
26275
- ]
26276
- },
26277
- {
26278
- conditions: [],
26279
- endpoint: {
26280
- url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}",
26281
- properties: {},
26282
- headers: {}
26283
- },
26284
- type: "endpoint"
26285
- }
26286
- ]
26287
- }
26288
- ]
26289
- };
25711
+ var p = "required";
25712
+ var q = "fn";
25713
+ var r = "argv";
25714
+ var s = "ref";
25715
+ var a = "PartitionResult";
25716
+ var b = "tree";
25717
+ var c = "error";
25718
+ var d = "endpoint";
25719
+ var e = { [p]: false, "type": "String" };
25720
+ var f = { [p]: true, "default": false, "type": "Boolean" };
25721
+ var g = { [s]: "Endpoint" };
25722
+ var h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] };
25723
+ var i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] };
25724
+ var j = {};
25725
+ var k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] };
25726
+ var l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] };
25727
+ var m = [g];
25728
+ var n = [h];
25729
+ var o = [i];
25730
+ var _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
25731
+ exports.ruleSet = _data;
26290
25732
  }
26291
25733
  });
26292
25734
 
@@ -27158,882 +26600,47 @@ var require_ruleset3 = __commonJS({
27158
26600
  "use strict";
27159
26601
  Object.defineProperty(exports, "__esModule", { value: true });
27160
26602
  exports.ruleSet = void 0;
27161
- exports.ruleSet = {
27162
- version: "1.0",
27163
- parameters: {
27164
- Region: {
27165
- builtIn: "AWS::Region",
27166
- required: false,
27167
- documentation: "The AWS region used to dispatch the request.",
27168
- type: "String"
27169
- },
27170
- UseDualStack: {
27171
- builtIn: "AWS::UseDualStack",
27172
- required: true,
27173
- default: false,
27174
- documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
27175
- type: "Boolean"
27176
- },
27177
- UseFIPS: {
27178
- builtIn: "AWS::UseFIPS",
27179
- required: true,
27180
- default: false,
27181
- documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
27182
- type: "Boolean"
27183
- },
27184
- Endpoint: {
27185
- builtIn: "SDK::Endpoint",
27186
- required: false,
27187
- documentation: "Override the endpoint used to send this request",
27188
- type: "String"
27189
- },
27190
- UseGlobalEndpoint: {
27191
- builtIn: "AWS::STS::UseGlobalEndpoint",
27192
- required: true,
27193
- default: false,
27194
- documentation: "Whether the global endpoint should be used, rather then the regional endpoint for us-east-1.",
27195
- type: "Boolean"
27196
- }
27197
- },
27198
- rules: [
27199
- {
27200
- conditions: [
27201
- {
27202
- fn: "aws.partition",
27203
- argv: [
27204
- {
27205
- ref: "Region"
27206
- }
27207
- ],
27208
- assign: "PartitionResult"
27209
- }
27210
- ],
27211
- type: "tree",
27212
- rules: [
27213
- {
27214
- conditions: [
27215
- {
27216
- fn: "booleanEquals",
27217
- argv: [
27218
- {
27219
- ref: "UseGlobalEndpoint"
27220
- },
27221
- true
27222
- ]
27223
- },
27224
- {
27225
- fn: "booleanEquals",
27226
- argv: [
27227
- {
27228
- ref: "UseFIPS"
27229
- },
27230
- false
27231
- ]
27232
- },
27233
- {
27234
- fn: "booleanEquals",
27235
- argv: [
27236
- {
27237
- ref: "UseDualStack"
27238
- },
27239
- false
27240
- ]
27241
- },
27242
- {
27243
- fn: "not",
27244
- argv: [
27245
- {
27246
- fn: "isSet",
27247
- argv: [
27248
- {
27249
- ref: "Endpoint"
27250
- }
27251
- ]
27252
- }
27253
- ]
27254
- }
27255
- ],
27256
- type: "tree",
27257
- rules: [
27258
- {
27259
- conditions: [
27260
- {
27261
- fn: "stringEquals",
27262
- argv: [
27263
- {
27264
- ref: "Region"
27265
- },
27266
- "ap-northeast-1"
27267
- ]
27268
- }
27269
- ],
27270
- endpoint: {
27271
- url: "https://sts.amazonaws.com",
27272
- properties: {
27273
- authSchemes: [
27274
- {
27275
- name: "sigv4",
27276
- signingName: "sts",
27277
- signingRegion: "us-east-1"
27278
- }
27279
- ]
27280
- },
27281
- headers: {}
27282
- },
27283
- type: "endpoint"
27284
- },
27285
- {
27286
- conditions: [
27287
- {
27288
- fn: "stringEquals",
27289
- argv: [
27290
- {
27291
- ref: "Region"
27292
- },
27293
- "ap-south-1"
27294
- ]
27295
- }
27296
- ],
27297
- endpoint: {
27298
- url: "https://sts.amazonaws.com",
27299
- properties: {
27300
- authSchemes: [
27301
- {
27302
- name: "sigv4",
27303
- signingName: "sts",
27304
- signingRegion: "us-east-1"
27305
- }
27306
- ]
27307
- },
27308
- headers: {}
27309
- },
27310
- type: "endpoint"
27311
- },
27312
- {
27313
- conditions: [
27314
- {
27315
- fn: "stringEquals",
27316
- argv: [
27317
- {
27318
- ref: "Region"
27319
- },
27320
- "ap-southeast-1"
27321
- ]
27322
- }
27323
- ],
27324
- endpoint: {
27325
- url: "https://sts.amazonaws.com",
27326
- properties: {
27327
- authSchemes: [
27328
- {
27329
- name: "sigv4",
27330
- signingName: "sts",
27331
- signingRegion: "us-east-1"
27332
- }
27333
- ]
27334
- },
27335
- headers: {}
27336
- },
27337
- type: "endpoint"
27338
- },
27339
- {
27340
- conditions: [
27341
- {
27342
- fn: "stringEquals",
27343
- argv: [
27344
- {
27345
- ref: "Region"
27346
- },
27347
- "ap-southeast-2"
27348
- ]
27349
- }
27350
- ],
27351
- endpoint: {
27352
- url: "https://sts.amazonaws.com",
27353
- properties: {
27354
- authSchemes: [
27355
- {
27356
- name: "sigv4",
27357
- signingName: "sts",
27358
- signingRegion: "us-east-1"
27359
- }
27360
- ]
27361
- },
27362
- headers: {}
27363
- },
27364
- type: "endpoint"
27365
- },
27366
- {
27367
- conditions: [
27368
- {
27369
- fn: "stringEquals",
27370
- argv: [
27371
- {
27372
- ref: "Region"
27373
- },
27374
- "aws-global"
27375
- ]
27376
- }
27377
- ],
27378
- endpoint: {
27379
- url: "https://sts.amazonaws.com",
27380
- properties: {
27381
- authSchemes: [
27382
- {
27383
- name: "sigv4",
27384
- signingName: "sts",
27385
- signingRegion: "us-east-1"
27386
- }
27387
- ]
27388
- },
27389
- headers: {}
27390
- },
27391
- type: "endpoint"
27392
- },
27393
- {
27394
- conditions: [
27395
- {
27396
- fn: "stringEquals",
27397
- argv: [
27398
- {
27399
- ref: "Region"
27400
- },
27401
- "ca-central-1"
27402
- ]
27403
- }
27404
- ],
27405
- endpoint: {
27406
- url: "https://sts.amazonaws.com",
27407
- properties: {
27408
- authSchemes: [
27409
- {
27410
- name: "sigv4",
27411
- signingName: "sts",
27412
- signingRegion: "us-east-1"
27413
- }
27414
- ]
27415
- },
27416
- headers: {}
27417
- },
27418
- type: "endpoint"
27419
- },
27420
- {
27421
- conditions: [
27422
- {
27423
- fn: "stringEquals",
27424
- argv: [
27425
- {
27426
- ref: "Region"
27427
- },
27428
- "eu-central-1"
27429
- ]
27430
- }
27431
- ],
27432
- endpoint: {
27433
- url: "https://sts.amazonaws.com",
27434
- properties: {
27435
- authSchemes: [
27436
- {
27437
- name: "sigv4",
27438
- signingName: "sts",
27439
- signingRegion: "us-east-1"
27440
- }
27441
- ]
27442
- },
27443
- headers: {}
27444
- },
27445
- type: "endpoint"
27446
- },
27447
- {
27448
- conditions: [
27449
- {
27450
- fn: "stringEquals",
27451
- argv: [
27452
- {
27453
- ref: "Region"
27454
- },
27455
- "eu-north-1"
27456
- ]
27457
- }
27458
- ],
27459
- endpoint: {
27460
- url: "https://sts.amazonaws.com",
27461
- properties: {
27462
- authSchemes: [
27463
- {
27464
- name: "sigv4",
27465
- signingName: "sts",
27466
- signingRegion: "us-east-1"
27467
- }
27468
- ]
27469
- },
27470
- headers: {}
27471
- },
27472
- type: "endpoint"
27473
- },
27474
- {
27475
- conditions: [
27476
- {
27477
- fn: "stringEquals",
27478
- argv: [
27479
- {
27480
- ref: "Region"
27481
- },
27482
- "eu-west-1"
27483
- ]
27484
- }
27485
- ],
27486
- endpoint: {
27487
- url: "https://sts.amazonaws.com",
27488
- properties: {
27489
- authSchemes: [
27490
- {
27491
- name: "sigv4",
27492
- signingName: "sts",
27493
- signingRegion: "us-east-1"
27494
- }
27495
- ]
27496
- },
27497
- headers: {}
27498
- },
27499
- type: "endpoint"
27500
- },
27501
- {
27502
- conditions: [
27503
- {
27504
- fn: "stringEquals",
27505
- argv: [
27506
- {
27507
- ref: "Region"
27508
- },
27509
- "eu-west-2"
27510
- ]
27511
- }
27512
- ],
27513
- endpoint: {
27514
- url: "https://sts.amazonaws.com",
27515
- properties: {
27516
- authSchemes: [
27517
- {
27518
- name: "sigv4",
27519
- signingName: "sts",
27520
- signingRegion: "us-east-1"
27521
- }
27522
- ]
27523
- },
27524
- headers: {}
27525
- },
27526
- type: "endpoint"
27527
- },
27528
- {
27529
- conditions: [
27530
- {
27531
- fn: "stringEquals",
27532
- argv: [
27533
- {
27534
- ref: "Region"
27535
- },
27536
- "eu-west-3"
27537
- ]
27538
- }
27539
- ],
27540
- endpoint: {
27541
- url: "https://sts.amazonaws.com",
27542
- properties: {
27543
- authSchemes: [
27544
- {
27545
- name: "sigv4",
27546
- signingName: "sts",
27547
- signingRegion: "us-east-1"
27548
- }
27549
- ]
27550
- },
27551
- headers: {}
27552
- },
27553
- type: "endpoint"
27554
- },
27555
- {
27556
- conditions: [
27557
- {
27558
- fn: "stringEquals",
27559
- argv: [
27560
- {
27561
- ref: "Region"
27562
- },
27563
- "sa-east-1"
27564
- ]
27565
- }
27566
- ],
27567
- endpoint: {
27568
- url: "https://sts.amazonaws.com",
27569
- properties: {
27570
- authSchemes: [
27571
- {
27572
- name: "sigv4",
27573
- signingName: "sts",
27574
- signingRegion: "us-east-1"
27575
- }
27576
- ]
27577
- },
27578
- headers: {}
27579
- },
27580
- type: "endpoint"
27581
- },
27582
- {
27583
- conditions: [
27584
- {
27585
- fn: "stringEquals",
27586
- argv: [
27587
- {
27588
- ref: "Region"
27589
- },
27590
- "us-east-1"
27591
- ]
27592
- }
27593
- ],
27594
- endpoint: {
27595
- url: "https://sts.amazonaws.com",
27596
- properties: {
27597
- authSchemes: [
27598
- {
27599
- name: "sigv4",
27600
- signingName: "sts",
27601
- signingRegion: "us-east-1"
27602
- }
27603
- ]
27604
- },
27605
- headers: {}
27606
- },
27607
- type: "endpoint"
27608
- },
27609
- {
27610
- conditions: [
27611
- {
27612
- fn: "stringEquals",
27613
- argv: [
27614
- {
27615
- ref: "Region"
27616
- },
27617
- "us-east-2"
27618
- ]
27619
- }
27620
- ],
27621
- endpoint: {
27622
- url: "https://sts.amazonaws.com",
27623
- properties: {
27624
- authSchemes: [
27625
- {
27626
- name: "sigv4",
27627
- signingName: "sts",
27628
- signingRegion: "us-east-1"
27629
- }
27630
- ]
27631
- },
27632
- headers: {}
27633
- },
27634
- type: "endpoint"
27635
- },
27636
- {
27637
- conditions: [
27638
- {
27639
- fn: "stringEquals",
27640
- argv: [
27641
- {
27642
- ref: "Region"
27643
- },
27644
- "us-west-1"
27645
- ]
27646
- }
27647
- ],
27648
- endpoint: {
27649
- url: "https://sts.amazonaws.com",
27650
- properties: {
27651
- authSchemes: [
27652
- {
27653
- name: "sigv4",
27654
- signingName: "sts",
27655
- signingRegion: "us-east-1"
27656
- }
27657
- ]
27658
- },
27659
- headers: {}
27660
- },
27661
- type: "endpoint"
27662
- },
27663
- {
27664
- conditions: [
27665
- {
27666
- fn: "stringEquals",
27667
- argv: [
27668
- {
27669
- ref: "Region"
27670
- },
27671
- "us-west-2"
27672
- ]
27673
- }
27674
- ],
27675
- endpoint: {
27676
- url: "https://sts.amazonaws.com",
27677
- properties: {
27678
- authSchemes: [
27679
- {
27680
- name: "sigv4",
27681
- signingName: "sts",
27682
- signingRegion: "us-east-1"
27683
- }
27684
- ]
27685
- },
27686
- headers: {}
27687
- },
27688
- type: "endpoint"
27689
- },
27690
- {
27691
- conditions: [],
27692
- endpoint: {
27693
- url: "https://sts.{Region}.{PartitionResult#dnsSuffix}",
27694
- properties: {
27695
- authSchemes: [
27696
- {
27697
- name: "sigv4",
27698
- signingName: "sts",
27699
- signingRegion: "{Region}"
27700
- }
27701
- ]
27702
- },
27703
- headers: {}
27704
- },
27705
- type: "endpoint"
27706
- }
27707
- ]
27708
- },
27709
- {
27710
- conditions: [
27711
- {
27712
- fn: "isSet",
27713
- argv: [
27714
- {
27715
- ref: "Endpoint"
27716
- }
27717
- ]
27718
- },
27719
- {
27720
- fn: "parseURL",
27721
- argv: [
27722
- {
27723
- ref: "Endpoint"
27724
- }
27725
- ],
27726
- assign: "url"
27727
- }
27728
- ],
27729
- type: "tree",
27730
- rules: [
27731
- {
27732
- conditions: [
27733
- {
27734
- fn: "booleanEquals",
27735
- argv: [
27736
- {
27737
- ref: "UseFIPS"
27738
- },
27739
- true
27740
- ]
27741
- }
27742
- ],
27743
- error: "Invalid Configuration: FIPS and custom endpoint are not supported",
27744
- type: "error"
27745
- },
27746
- {
27747
- conditions: [],
27748
- type: "tree",
27749
- rules: [
27750
- {
27751
- conditions: [
27752
- {
27753
- fn: "booleanEquals",
27754
- argv: [
27755
- {
27756
- ref: "UseDualStack"
27757
- },
27758
- true
27759
- ]
27760
- }
27761
- ],
27762
- error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
27763
- type: "error"
27764
- },
27765
- {
27766
- conditions: [],
27767
- endpoint: {
27768
- url: {
27769
- ref: "Endpoint"
27770
- },
27771
- properties: {},
27772
- headers: {}
27773
- },
27774
- type: "endpoint"
27775
- }
27776
- ]
27777
- }
27778
- ]
27779
- },
27780
- {
27781
- conditions: [
27782
- {
27783
- fn: "booleanEquals",
27784
- argv: [
27785
- {
27786
- ref: "UseFIPS"
27787
- },
27788
- true
27789
- ]
27790
- },
27791
- {
27792
- fn: "booleanEquals",
27793
- argv: [
27794
- {
27795
- ref: "UseDualStack"
27796
- },
27797
- true
27798
- ]
27799
- }
27800
- ],
27801
- type: "tree",
27802
- rules: [
27803
- {
27804
- conditions: [
27805
- {
27806
- fn: "booleanEquals",
27807
- argv: [
27808
- true,
27809
- {
27810
- fn: "getAttr",
27811
- argv: [
27812
- {
27813
- ref: "PartitionResult"
27814
- },
27815
- "supportsFIPS"
27816
- ]
27817
- }
27818
- ]
27819
- },
27820
- {
27821
- fn: "booleanEquals",
27822
- argv: [
27823
- true,
27824
- {
27825
- fn: "getAttr",
27826
- argv: [
27827
- {
27828
- ref: "PartitionResult"
27829
- },
27830
- "supportsDualStack"
27831
- ]
27832
- }
27833
- ]
27834
- }
27835
- ],
27836
- type: "tree",
27837
- rules: [
27838
- {
27839
- conditions: [],
27840
- endpoint: {
27841
- url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
27842
- properties: {},
27843
- headers: {}
27844
- },
27845
- type: "endpoint"
27846
- }
27847
- ]
27848
- },
27849
- {
27850
- conditions: [],
27851
- error: "FIPS and DualStack are enabled, but this partition does not support one or both",
27852
- type: "error"
27853
- }
27854
- ]
27855
- },
27856
- {
27857
- conditions: [
27858
- {
27859
- fn: "booleanEquals",
27860
- argv: [
27861
- {
27862
- ref: "UseFIPS"
27863
- },
27864
- true
27865
- ]
27866
- }
27867
- ],
27868
- type: "tree",
27869
- rules: [
27870
- {
27871
- conditions: [
27872
- {
27873
- fn: "booleanEquals",
27874
- argv: [
27875
- true,
27876
- {
27877
- fn: "getAttr",
27878
- argv: [
27879
- {
27880
- ref: "PartitionResult"
27881
- },
27882
- "supportsFIPS"
27883
- ]
27884
- }
27885
- ]
27886
- }
27887
- ],
27888
- type: "tree",
27889
- rules: [
27890
- {
27891
- conditions: [],
27892
- type: "tree",
27893
- rules: [
27894
- {
27895
- conditions: [
27896
- {
27897
- fn: "stringEquals",
27898
- argv: [
27899
- "aws-us-gov",
27900
- {
27901
- fn: "getAttr",
27902
- argv: [
27903
- {
27904
- ref: "PartitionResult"
27905
- },
27906
- "name"
27907
- ]
27908
- }
27909
- ]
27910
- }
27911
- ],
27912
- endpoint: {
27913
- url: "https://sts.{Region}.{PartitionResult#dnsSuffix}",
27914
- properties: {},
27915
- headers: {}
27916
- },
27917
- type: "endpoint"
27918
- },
27919
- {
27920
- conditions: [],
27921
- endpoint: {
27922
- url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",
27923
- properties: {},
27924
- headers: {}
27925
- },
27926
- type: "endpoint"
27927
- }
27928
- ]
27929
- }
27930
- ]
27931
- },
27932
- {
27933
- conditions: [],
27934
- error: "FIPS is enabled but this partition does not support FIPS",
27935
- type: "error"
27936
- }
27937
- ]
27938
- },
27939
- {
27940
- conditions: [
27941
- {
27942
- fn: "booleanEquals",
27943
- argv: [
27944
- {
27945
- ref: "UseDualStack"
27946
- },
27947
- true
27948
- ]
27949
- }
27950
- ],
27951
- type: "tree",
27952
- rules: [
27953
- {
27954
- conditions: [
27955
- {
27956
- fn: "booleanEquals",
27957
- argv: [
27958
- true,
27959
- {
27960
- fn: "getAttr",
27961
- argv: [
27962
- {
27963
- ref: "PartitionResult"
27964
- },
27965
- "supportsDualStack"
27966
- ]
27967
- }
27968
- ]
27969
- }
27970
- ],
27971
- type: "tree",
27972
- rules: [
27973
- {
27974
- conditions: [],
27975
- endpoint: {
27976
- url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",
27977
- properties: {},
27978
- headers: {}
27979
- },
27980
- type: "endpoint"
27981
- }
27982
- ]
27983
- },
27984
- {
27985
- conditions: [],
27986
- error: "DualStack is enabled but this partition does not support DualStack",
27987
- type: "error"
27988
- }
27989
- ]
27990
- },
27991
- {
27992
- conditions: [],
27993
- type: "tree",
27994
- rules: [
27995
- {
27996
- conditions: [
27997
- {
27998
- fn: "stringEquals",
27999
- argv: [
28000
- {
28001
- ref: "Region"
28002
- },
28003
- "aws-global"
28004
- ]
28005
- }
28006
- ],
28007
- endpoint: {
28008
- url: "https://sts.amazonaws.com",
28009
- properties: {
28010
- authSchemes: [
28011
- {
28012
- name: "sigv4",
28013
- signingRegion: "us-east-1",
28014
- signingName: "sts"
28015
- }
28016
- ]
28017
- },
28018
- headers: {}
28019
- },
28020
- type: "endpoint"
28021
- },
28022
- {
28023
- conditions: [],
28024
- endpoint: {
28025
- url: "https://sts.{Region}.{PartitionResult#dnsSuffix}",
28026
- properties: {},
28027
- headers: {}
28028
- },
28029
- type: "endpoint"
28030
- }
28031
- ]
28032
- }
28033
- ]
28034
- }
28035
- ]
28036
- };
26603
+ var H = "required";
26604
+ var I = "fn";
26605
+ var J = "argv";
26606
+ var K = "ref";
26607
+ var L = "properties";
26608
+ var M = "headers";
26609
+ var a = false;
26610
+ var b = true;
26611
+ var c = "PartitionResult";
26612
+ var d = "tree";
26613
+ var e = "booleanEquals";
26614
+ var f = "stringEquals";
26615
+ var g = "https://sts.amazonaws.com";
26616
+ var h = "sigv4";
26617
+ var i = "sts";
26618
+ var j = "us-east-1";
26619
+ var k = "endpoint";
26620
+ var l = "https://sts.{Region}.{PartitionResult#dnsSuffix}";
26621
+ var m = "error";
26622
+ var n = "getAttr";
26623
+ var o = { [H]: false, "type": "String" };
26624
+ var p = { [H]: true, "default": false, "type": "Boolean" };
26625
+ var q = { [K]: "Region" };
26626
+ var r = { [K]: "UseFIPS" };
26627
+ var s = { [K]: "UseDualStack" };
26628
+ var t = { [I]: "isSet", [J]: [{ [K]: "Endpoint" }] };
26629
+ var u = { [K]: "Endpoint" };
26630
+ var v = { "url": g, [L]: { "authSchemes": [{ "name": h, "signingName": i, "signingRegion": j }] }, [M]: {} };
26631
+ var w = {};
26632
+ var x = { [I]: e, [J]: [r, true] };
26633
+ var y = { [I]: e, [J]: [s, true] };
26634
+ var z = { [I]: e, [J]: [true, { [I]: n, [J]: [{ [K]: c }, "supportsFIPS"] }] };
26635
+ var A = { [K]: c };
26636
+ var B = { [I]: e, [J]: [true, { [I]: n, [J]: [A, "supportsDualStack"] }] };
26637
+ var C = { "url": l, [L]: {}, [M]: {} };
26638
+ var D = [u];
26639
+ var E = [{ [I]: f, [J]: [q, "aws-global"] }];
26640
+ var F = [x];
26641
+ var G = [y];
26642
+ var _data = { version: "1.0", parameters: { Region: o, UseDualStack: p, UseFIPS: p, Endpoint: o, UseGlobalEndpoint: p }, rules: [{ conditions: [{ [I]: "aws.partition", [J]: [q], assign: c }], type: d, rules: [{ conditions: [{ [I]: e, [J]: [{ [K]: "UseGlobalEndpoint" }, b] }, { [I]: e, [J]: [r, a] }, { [I]: e, [J]: [s, a] }, { [I]: "not", [J]: [t] }], type: d, rules: [{ conditions: [{ [I]: f, [J]: [q, "ap-northeast-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "ap-south-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "ap-southeast-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "ap-southeast-2"] }], endpoint: v, type: k }, { conditions: E, endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "ca-central-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "eu-central-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "eu-north-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "eu-west-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "eu-west-2"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "eu-west-3"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "sa-east-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, j] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "us-east-2"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "us-west-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "us-west-2"] }], endpoint: v, type: k }, { endpoint: { url: l, [L]: { authSchemes: [{ name: h, signingName: i, signingRegion: "{Region}" }] }, [M]: w }, type: k }] }, { conditions: [t, { [I]: "parseURL", [J]: D, assign: "url" }], type: d, rules: [{ conditions: F, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: m }, { type: d, rules: [{ conditions: G, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: m }, { endpoint: { url: u, [L]: w, [M]: w }, type: k }] }] }, { conditions: [x, y], type: d, rules: [{ conditions: [z, B], type: d, rules: [{ endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [L]: w, [M]: w }, type: k }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: m }] }, { conditions: F, type: d, rules: [{ conditions: [z], type: d, rules: [{ type: d, rules: [{ conditions: [{ [I]: f, [J]: ["aws-us-gov", { [I]: n, [J]: [A, "name"] }] }], endpoint: C, type: k }, { endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", [L]: w, [M]: w }, type: k }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: m }] }, { conditions: G, type: d, rules: [{ conditions: [B], type: d, rules: [{ endpoint: { url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", [L]: w, [M]: w }, type: k }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: m }] }, { type: d, rules: [{ conditions: E, endpoint: { url: g, [L]: { authSchemes: [{ name: h, signingRegion: j, signingName: i }] }, [M]: w }, type: k }, { endpoint: C, type: k }] }] }] };
26643
+ exports.ruleSet = _data;
28037
26644
  }
28038
26645
  });
28039
26646
 
@@ -28382,321 +26989,28 @@ var require_ruleset4 = __commonJS({
28382
26989
  "use strict";
28383
26990
  Object.defineProperty(exports, "__esModule", { value: true });
28384
26991
  exports.ruleSet = void 0;
28385
- exports.ruleSet = {
28386
- version: "1.0",
28387
- parameters: {
28388
- Region: {
28389
- builtIn: "AWS::Region",
28390
- required: true,
28391
- documentation: "The AWS region used to dispatch the request.",
28392
- type: "String"
28393
- },
28394
- UseDualStack: {
28395
- builtIn: "AWS::UseDualStack",
28396
- required: true,
28397
- default: false,
28398
- documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
28399
- type: "Boolean"
28400
- },
28401
- UseFIPS: {
28402
- builtIn: "AWS::UseFIPS",
28403
- required: true,
28404
- default: false,
28405
- documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
28406
- type: "Boolean"
28407
- },
28408
- Endpoint: {
28409
- builtIn: "SDK::Endpoint",
28410
- required: false,
28411
- documentation: "Override the endpoint used to send this request",
28412
- type: "String"
28413
- }
28414
- },
28415
- rules: [
28416
- {
28417
- conditions: [
28418
- {
28419
- fn: "aws.partition",
28420
- argv: [
28421
- {
28422
- ref: "Region"
28423
- }
28424
- ],
28425
- assign: "PartitionResult"
28426
- }
28427
- ],
28428
- type: "tree",
28429
- rules: [
28430
- {
28431
- conditions: [
28432
- {
28433
- fn: "isSet",
28434
- argv: [
28435
- {
28436
- ref: "Endpoint"
28437
- }
28438
- ]
28439
- },
28440
- {
28441
- fn: "parseURL",
28442
- argv: [
28443
- {
28444
- ref: "Endpoint"
28445
- }
28446
- ],
28447
- assign: "url"
28448
- }
28449
- ],
28450
- type: "tree",
28451
- rules: [
28452
- {
28453
- conditions: [
28454
- {
28455
- fn: "booleanEquals",
28456
- argv: [
28457
- {
28458
- ref: "UseFIPS"
28459
- },
28460
- true
28461
- ]
28462
- }
28463
- ],
28464
- error: "Invalid Configuration: FIPS and custom endpoint are not supported",
28465
- type: "error"
28466
- },
28467
- {
28468
- conditions: [],
28469
- type: "tree",
28470
- rules: [
28471
- {
28472
- conditions: [
28473
- {
28474
- fn: "booleanEquals",
28475
- argv: [
28476
- {
28477
- ref: "UseDualStack"
28478
- },
28479
- true
28480
- ]
28481
- }
28482
- ],
28483
- error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
28484
- type: "error"
28485
- },
28486
- {
28487
- conditions: [],
28488
- endpoint: {
28489
- url: {
28490
- ref: "Endpoint"
28491
- },
28492
- properties: {},
28493
- headers: {}
28494
- },
28495
- type: "endpoint"
28496
- }
28497
- ]
28498
- }
28499
- ]
28500
- },
28501
- {
28502
- conditions: [
28503
- {
28504
- fn: "booleanEquals",
28505
- argv: [
28506
- {
28507
- ref: "UseFIPS"
28508
- },
28509
- true
28510
- ]
28511
- },
28512
- {
28513
- fn: "booleanEquals",
28514
- argv: [
28515
- {
28516
- ref: "UseDualStack"
28517
- },
28518
- true
28519
- ]
28520
- }
28521
- ],
28522
- type: "tree",
28523
- rules: [
28524
- {
28525
- conditions: [
28526
- {
28527
- fn: "booleanEquals",
28528
- argv: [
28529
- true,
28530
- {
28531
- fn: "getAttr",
28532
- argv: [
28533
- {
28534
- ref: "PartitionResult"
28535
- },
28536
- "supportsFIPS"
28537
- ]
28538
- }
28539
- ]
28540
- },
28541
- {
28542
- fn: "booleanEquals",
28543
- argv: [
28544
- true,
28545
- {
28546
- fn: "getAttr",
28547
- argv: [
28548
- {
28549
- ref: "PartitionResult"
28550
- },
28551
- "supportsDualStack"
28552
- ]
28553
- }
28554
- ]
28555
- }
28556
- ],
28557
- type: "tree",
28558
- rules: [
28559
- {
28560
- conditions: [],
28561
- endpoint: {
28562
- url: "https://lambda-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
28563
- properties: {},
28564
- headers: {}
28565
- },
28566
- type: "endpoint"
28567
- }
28568
- ]
28569
- },
28570
- {
28571
- conditions: [],
28572
- error: "FIPS and DualStack are enabled, but this partition does not support one or both",
28573
- type: "error"
28574
- }
28575
- ]
28576
- },
28577
- {
28578
- conditions: [
28579
- {
28580
- fn: "booleanEquals",
28581
- argv: [
28582
- {
28583
- ref: "UseFIPS"
28584
- },
28585
- true
28586
- ]
28587
- }
28588
- ],
28589
- type: "tree",
28590
- rules: [
28591
- {
28592
- conditions: [
28593
- {
28594
- fn: "booleanEquals",
28595
- argv: [
28596
- true,
28597
- {
28598
- fn: "getAttr",
28599
- argv: [
28600
- {
28601
- ref: "PartitionResult"
28602
- },
28603
- "supportsFIPS"
28604
- ]
28605
- }
28606
- ]
28607
- }
28608
- ],
28609
- type: "tree",
28610
- rules: [
28611
- {
28612
- conditions: [],
28613
- type: "tree",
28614
- rules: [
28615
- {
28616
- conditions: [],
28617
- endpoint: {
28618
- url: "https://lambda-fips.{Region}.{PartitionResult#dnsSuffix}",
28619
- properties: {},
28620
- headers: {}
28621
- },
28622
- type: "endpoint"
28623
- }
28624
- ]
28625
- }
28626
- ]
28627
- },
28628
- {
28629
- conditions: [],
28630
- error: "FIPS is enabled but this partition does not support FIPS",
28631
- type: "error"
28632
- }
28633
- ]
28634
- },
28635
- {
28636
- conditions: [
28637
- {
28638
- fn: "booleanEquals",
28639
- argv: [
28640
- {
28641
- ref: "UseDualStack"
28642
- },
28643
- true
28644
- ]
28645
- }
28646
- ],
28647
- type: "tree",
28648
- rules: [
28649
- {
28650
- conditions: [
28651
- {
28652
- fn: "booleanEquals",
28653
- argv: [
28654
- true,
28655
- {
28656
- fn: "getAttr",
28657
- argv: [
28658
- {
28659
- ref: "PartitionResult"
28660
- },
28661
- "supportsDualStack"
28662
- ]
28663
- }
28664
- ]
28665
- }
28666
- ],
28667
- type: "tree",
28668
- rules: [
28669
- {
28670
- conditions: [],
28671
- endpoint: {
28672
- url: "https://lambda.{Region}.{PartitionResult#dualStackDnsSuffix}",
28673
- properties: {},
28674
- headers: {}
28675
- },
28676
- type: "endpoint"
28677
- }
28678
- ]
28679
- },
28680
- {
28681
- conditions: [],
28682
- error: "DualStack is enabled but this partition does not support DualStack",
28683
- type: "error"
28684
- }
28685
- ]
28686
- },
28687
- {
28688
- conditions: [],
28689
- endpoint: {
28690
- url: "https://lambda.{Region}.{PartitionResult#dnsSuffix}",
28691
- properties: {},
28692
- headers: {}
28693
- },
28694
- type: "endpoint"
28695
- }
28696
- ]
28697
- }
28698
- ]
28699
- };
26992
+ var r = "fn";
26993
+ var s = "argv";
26994
+ var t = "ref";
26995
+ var a = true;
26996
+ var b = false;
26997
+ var c = "String";
26998
+ var d = "PartitionResult";
26999
+ var e = "tree";
27000
+ var f = "error";
27001
+ var g = "endpoint";
27002
+ var h = { "required": true, "default": false, "type": "Boolean" };
27003
+ var i = { [t]: "Endpoint" };
27004
+ var j = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] };
27005
+ var k = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] };
27006
+ var l = {};
27007
+ var m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsFIPS"] }] };
27008
+ var n = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsDualStack"] }] };
27009
+ var o = [i];
27010
+ var p = [j];
27011
+ var q = [k];
27012
+ var _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [r]: "aws.partition", [s]: [{ [t]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [r]: "isSet", [s]: o }, { [r]: "parseURL", [s]: o, assign: "url" }], type: e, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://lambda-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://lambda-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: q, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://lambda.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://lambda.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
27013
+ exports.ruleSet = _data;
28700
27014
  }
28701
27015
  });
28702
27016