@aws-sdk/client-application-signals 3.1032.0 → 3.1034.0

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.
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.bdd = void 0;
4
+ const util_endpoints_1 = require("@smithy/util-endpoints");
5
+ const a = "isSet", b = { "ref": "Endpoint" }, c = [{ "ref": "Region" }];
6
+ const _data = {
7
+ conditions: [
8
+ [a, [b]],
9
+ [a, c],
10
+ ["aws.partition", c, "PartitionResult"],
11
+ ["booleanEquals", [{ ref: "UseFIPS" }, true]]
12
+ ],
13
+ results: [
14
+ [-1],
15
+ [-1, "Invalid Configuration: FIPS and custom endpoint are not supported"],
16
+ [b, {}],
17
+ ["https://application-signals-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", {}],
18
+ ["https://application-signals.{Region}.{PartitionResult#dualStackDnsSuffix}", {}],
19
+ [-1, "Invalid Configuration: Missing Region"]
20
+ ]
21
+ };
22
+ const root = 2;
23
+ const r = 100_000_000;
24
+ const nodes = new Int32Array([
25
+ -1, 1, -1,
26
+ 0, 6, 3,
27
+ 1, 4, r + 5,
28
+ 2, 5, r + 5,
29
+ 3, r + 3, r + 4,
30
+ 3, r + 1, r + 2,
31
+ ]);
32
+ exports.bdd = util_endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
@@ -3,13 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultEndpointResolver = void 0;
4
4
  const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
5
  const util_endpoints_2 = require("@smithy/util-endpoints");
6
- const ruleset_1 = require("./ruleset");
6
+ const bdd_1 = require("./bdd");
7
7
  const cache = new util_endpoints_2.EndpointCache({
8
8
  size: 50,
9
9
  params: ["Endpoint", "Region", "UseFIPS"],
10
10
  });
11
11
  const defaultEndpointResolver = (endpointParams, context = {}) => {
12
- return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
12
+ return cache.get(endpointParams, () => (0, util_endpoints_2.decideEndpoint)(bdd_1.bdd, {
13
13
  endpointParams: endpointParams,
14
14
  logger: context.logger,
15
15
  }));
@@ -47,6 +47,7 @@ const _CEha = "ChangeEvents";
47
47
  const _CI = "CalendarInterval";
48
48
  const _CN = "CanaryName";
49
49
  const _CO = "ComparisonOperator";
50
+ const _CRS = "CreateRecommendedSlo";
50
51
  const _CSLO = "CreateServiceLevelObjective";
51
52
  const _CSLOI = "CreateServiceLevelObjectiveInput";
52
53
  const _CSLOO = "CreateServiceLevelObjectiveOutput";
@@ -394,8 +395,8 @@ exports.ChangeEvent$ = [3, n0, _CEh,
394
395
  ];
395
396
  exports.CreateServiceLevelObjectiveInput$ = [3, n0, _CSLOI,
396
397
  0,
397
- [_N, _D, _SC, _RBSC, _G, _Ta, _BRCu],
398
- [0, 0, () => exports.ServiceLevelIndicatorConfig$, () => exports.RequestBasedServiceLevelIndicatorConfig$, () => exports.Goal$, () => TagList, () => BurnRateConfigurations], 1
398
+ [_N, _D, _SC, _RBSC, _G, _Ta, _BRCu, _CRS],
399
+ [0, 0, () => exports.ServiceLevelIndicatorConfig$, () => exports.RequestBasedServiceLevelIndicatorConfig$, () => exports.Goal$, () => TagList, () => BurnRateConfigurations, 2], 1
399
400
  ];
400
401
  exports.CreateServiceLevelObjectiveOutput$ = [3, n0, _CSLOO,
401
402
  0,
@@ -695,7 +696,7 @@ exports.ServiceLevelIndicator$ = [3, n0, _SLI,
695
696
  exports.ServiceLevelIndicatorConfig$ = [3, n0, _SLIC,
696
697
  0,
697
698
  [_SMC, _MTe, _CO],
698
- [() => exports.ServiceLevelIndicatorMetricConfig$, 1, 0], 3
699
+ [() => exports.ServiceLevelIndicatorMetricConfig$, 1, 0], 1
699
700
  ];
700
701
  exports.ServiceLevelIndicatorMetric$ = [3, n0, _SLIM,
701
702
  0,
@@ -0,0 +1,29 @@
1
+ import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
2
+ const a = "isSet", b = { "ref": "Endpoint" }, c = [{ "ref": "Region" }];
3
+ const _data = {
4
+ conditions: [
5
+ [a, [b]],
6
+ [a, c],
7
+ ["aws.partition", c, "PartitionResult"],
8
+ ["booleanEquals", [{ ref: "UseFIPS" }, true]]
9
+ ],
10
+ results: [
11
+ [-1],
12
+ [-1, "Invalid Configuration: FIPS and custom endpoint are not supported"],
13
+ [b, {}],
14
+ ["https://application-signals-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", {}],
15
+ ["https://application-signals.{Region}.{PartitionResult#dualStackDnsSuffix}", {}],
16
+ [-1, "Invalid Configuration: Missing Region"]
17
+ ]
18
+ };
19
+ const root = 2;
20
+ const r = 100_000_000;
21
+ const nodes = new Int32Array([
22
+ -1, 1, -1,
23
+ 0, 6, 3,
24
+ 1, 4, r + 5,
25
+ 2, 5, r + 5,
26
+ 3, r + 3, r + 4,
27
+ 3, r + 1, r + 2,
28
+ ]);
29
+ export const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
@@ -1,12 +1,12 @@
1
1
  import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
- import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
3
- import { ruleSet } from "./ruleset";
2
+ import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/util-endpoints";
3
+ import { bdd } from "./bdd";
4
4
  const cache = new EndpointCache({
5
5
  size: 50,
6
6
  params: ["Endpoint", "Region", "UseFIPS"],
7
7
  });
8
8
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
9
- return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
9
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
10
10
  endpointParams: endpointParams,
11
11
  logger: context.logger,
12
12
  }));
@@ -42,6 +42,7 @@ const _CEha = "ChangeEvents";
42
42
  const _CI = "CalendarInterval";
43
43
  const _CN = "CanaryName";
44
44
  const _CO = "ComparisonOperator";
45
+ const _CRS = "CreateRecommendedSlo";
45
46
  const _CSLO = "CreateServiceLevelObjective";
46
47
  const _CSLOI = "CreateServiceLevelObjectiveInput";
47
48
  const _CSLOO = "CreateServiceLevelObjectiveOutput";
@@ -389,8 +390,8 @@ export var ChangeEvent$ = [3, n0, _CEh,
389
390
  ];
390
391
  export var CreateServiceLevelObjectiveInput$ = [3, n0, _CSLOI,
391
392
  0,
392
- [_N, _D, _SC, _RBSC, _G, _Ta, _BRCu],
393
- [0, 0, () => ServiceLevelIndicatorConfig$, () => RequestBasedServiceLevelIndicatorConfig$, () => Goal$, () => TagList, () => BurnRateConfigurations], 1
393
+ [_N, _D, _SC, _RBSC, _G, _Ta, _BRCu, _CRS],
394
+ [0, 0, () => ServiceLevelIndicatorConfig$, () => RequestBasedServiceLevelIndicatorConfig$, () => Goal$, () => TagList, () => BurnRateConfigurations, 2], 1
394
395
  ];
395
396
  export var CreateServiceLevelObjectiveOutput$ = [3, n0, _CSLOO,
396
397
  0,
@@ -690,7 +691,7 @@ export var ServiceLevelIndicator$ = [3, n0, _SLI,
690
691
  export var ServiceLevelIndicatorConfig$ = [3, n0, _SLIC,
691
692
  0,
692
693
  [_SMC, _MTe, _CO],
693
- [() => ServiceLevelIndicatorMetricConfig$, 1, 0], 3
694
+ [() => ServiceLevelIndicatorMetricConfig$, 1, 0], 1
694
695
  ];
695
696
  export var ServiceLevelIndicatorMetric$ = [3, n0, _SLIM,
696
697
  0,
@@ -89,8 +89,8 @@ declare const CreateServiceLevelObjectiveCommand_base: {
89
89
  * DependencyOperationName: "STRING_VALUE", // required
90
90
  * },
91
91
  * },
92
- * MetricThreshold: Number("double"), // required
93
- * ComparisonOperator: "GreaterThanOrEqualTo" || "GreaterThan" || "LessThan" || "LessThanOrEqualTo", // required
92
+ * MetricThreshold: Number("double"),
93
+ * ComparisonOperator: "GreaterThanOrEqualTo" || "GreaterThan" || "LessThan" || "LessThanOrEqualTo",
94
94
  * },
95
95
  * RequestBasedSliConfig: { // RequestBasedServiceLevelIndicatorConfig
96
96
  * RequestBasedSliMetricConfig: { // RequestBasedServiceLevelIndicatorMetricConfig
@@ -215,6 +215,7 @@ declare const CreateServiceLevelObjectiveCommand_base: {
215
215
  * LookBackWindowMinutes: Number("int"), // required
216
216
  * },
217
217
  * ],
218
+ * CreateRecommendedSlo: true || false,
218
219
  * };
219
220
  * const command = new CreateServiceLevelObjectiveCommand(input);
220
221
  * const response = await client.send(command);
@@ -89,8 +89,8 @@ declare const UpdateServiceLevelObjectiveCommand_base: {
89
89
  * DependencyOperationName: "STRING_VALUE", // required
90
90
  * },
91
91
  * },
92
- * MetricThreshold: Number("double"), // required
93
- * ComparisonOperator: "GreaterThanOrEqualTo" || "GreaterThan" || "LessThan" || "LessThanOrEqualTo", // required
92
+ * MetricThreshold: Number("double"),
93
+ * ComparisonOperator: "GreaterThanOrEqualTo" || "GreaterThan" || "LessThan" || "LessThanOrEqualTo",
94
94
  * },
95
95
  * RequestBasedSliConfig: { // RequestBasedServiceLevelIndicatorConfig
96
96
  * RequestBasedSliMetricConfig: { // RequestBasedServiceLevelIndicatorMetricConfig
@@ -0,0 +1,2 @@
1
+ import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
2
+ export declare const bdd: BinaryDecisionDiagram;
@@ -956,7 +956,7 @@ export interface ListAuditFindingsInput {
956
956
  */
957
957
  EndTime: Date | undefined;
958
958
  /**
959
- * <p>A list of auditor names to filter the findings by. Only findings generated by the specified auditors will be returned.</p> <p>The following auditors are available for configuration:</p> <ul> <li> <p> <code>slo</code> - SloAuditor: Identifies SLO violations and detects breached thresholds during the Assessment phase.</p> </li> <li> <p> <code>operation_metric</code> - OperationMetricAuditor: Detects anomalies in service operation metrics from Application Signals RED metrics during the Assessment phase</p> <note> <p>Anomaly detection is not supported for sparse metrics (those missing more than 80% of datapoints within the given time period).</p> </note> </li> <li> <p> <code>service_quota</code> - ServiceQuotaAuditor: Monitors resource utilization against service quotas during the Assessment phase</p> </li> <li> <p> <code>trace</code> - TraceAuditor: Performs deep-dive analysis of distributed traces, correlating traces with breached SLOs or abnormal RED metrics during the Analysis phase</p> </li> <li> <p> <code>dependency_metric</code> - CriticalPathAuditor: Analyzes service dependency impacts and maps dependency relationships from Application Signals RED metrics during the Analysis phase</p> </li> <li> <p> <code>top_contributor</code> - TopContributorAuditor: Identifies infrastructure-level contributors to issues by analyzing EMF logs of Application Signals RED metrics during the Analysis phase</p> </li> <li> <p> <code>log</code> - LogAuditor: Extracts insights from application logs, categorizing error types and ranking severity by frequency during the Analysis phase</p> </li> </ul> <note> <p> <code>InitAuditor</code> and <code>Summarizer</code> auditors are not configurable as they are automatically triggered during the audit process.</p> </note>
959
+ * <p>A list of auditor names to filter the findings by. Only findings generated by the specified auditors will be returned.</p> <p>The following auditors are available for configuration:</p> <ul> <li> <p> <code>slo</code> - SloAuditor: Identifies SLO violations and detects breached thresholds during the Assessment phase.</p> </li> <li> <p> <code>operation_metric</code> - OperationMetricAuditor: Detects anomalies in service operation metrics from Application Signals RED metrics during the Assessment phase</p> <note> <p>Anomaly detection is not supported for sparse metrics (those missing more than 80% of datapoints within the given time period).</p> </note> </li> <li> <p> <code>service_quota</code> - ServiceQuotaAuditor: Monitors resource utilization against service quotas during the Assessment phase</p> </li> <li> <p> <code>trace</code> - TraceAuditor: Performs deep-dive analysis of distributed traces, correlating traces with breached SLOs or abnormal RED metrics during the Analysis phase</p> </li> <li> <p> <code>dependency_metric</code> - CriticalPathAuditor: Analyzes service dependency impacts and maps dependency relationships from Application Signals RED metrics during the Analysis phase</p> </li> <li> <p> <code>top_contributor</code> - TopContributorAuditor: Identifies infrastructure-level contributors to issues by analyzing EMF logs of Application Signals RED metrics during the Analysis phase</p> </li> <li> <p> <code>log</code> - LogAuditor: Extracts insights from application logs, categorizing error types and ranking severity by frequency during the Analysis phase</p> </li> <li> <p> <code>change_indicator</code> - ChangeIndicatorAuditor: Detects change events (deployments, configuration changes) that occurred within 10 minutes before and during a detected anomaly, and surfaces them as findings with deployment timestamps in the Analysis phase. When changes are detected, the <code>top_contributor</code> auditor skips its analysis to avoid redundancy.</p> </li> </ul> <note> <p> <code>InitAuditor</code> and <code>Summarizer</code> auditors are not configurable as they are automatically triggered during the audit process.</p> </note>
960
960
  * @public
961
961
  */
962
962
  Auditors?: string[] | undefined;
@@ -2002,15 +2002,15 @@ export interface ServiceLevelIndicatorConfig {
2002
2002
  */
2003
2003
  SliMetricConfig: ServiceLevelIndicatorMetricConfig | undefined;
2004
2004
  /**
2005
- * <p>This parameter is used only when a request-based SLO tracks the <code>Latency</code> metric. Specify the threshold value that the observed <code>Latency</code> metric values are to be compared to.</p>
2005
+ * <p>This parameter is used only when a request-based SLO tracks the <code>Latency</code> metric. Specify the threshold value that the observed <code>Latency</code> metric values are to be compared to.</p> <p>This is not required if <code>CreateRecommendedSlo</code> is set to <code>true</code>.</p>
2006
2006
  * @public
2007
2007
  */
2008
- MetricThreshold: number | undefined;
2008
+ MetricThreshold?: number | undefined;
2009
2009
  /**
2010
- * <p>The arithmetic operation to use when comparing the specified metric to the threshold.</p>
2010
+ * <p>The arithmetic operation to use when comparing the specified metric to the threshold.</p> <p>This is not required if <code>CreateRecommendedSlo</code> is set to <code>true</code>.</p>
2011
2011
  * @public
2012
2012
  */
2013
- ComparisonOperator: ServiceLevelIndicatorComparisonOperator | undefined;
2013
+ ComparisonOperator?: ServiceLevelIndicatorComparisonOperator | undefined;
2014
2014
  }
2015
2015
  /**
2016
2016
  * @public
@@ -2051,6 +2051,11 @@ export interface CreateServiceLevelObjectiveInput {
2051
2051
  * @public
2052
2052
  */
2053
2053
  BurnRateConfigurations?: BurnRateConfiguration[] | undefined;
2054
+ /**
2055
+ * <p>Set this to <code>true</code> to create a recommended SLO out of the box. When set to <code>true</code>, you don't need to specify the <code>MetricThreshold</code> or <code>ComparisonOperator</code> in the <code>SliConfig</code> or <code>RequestBasedSliConfig</code>. The default value is <code>false</code>.</p> <p>This is supported for SLOs on a service, service operation, or a dependency.</p>
2056
+ * @public
2057
+ */
2058
+ CreateRecommendedSlo?: boolean | undefined;
2054
2059
  }
2055
2060
  /**
2056
2061
  * <p>A structure containing information about one service level objective (SLO) that has been created in Application Signals. Creating SLOs can help you ensure your services are performing to the level that you expect. SLOs help you set and track a specific target level for the reliability and availability of your applications and services. Each SLO uses a service level indicator (SLI), which is a key performance metric, to calculate how much underperformance can be tolerated before the goal that you set for the SLO is not achieved.</p>
@@ -0,0 +1,2 @@
1
+ import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
2
+ export declare const bdd: BinaryDecisionDiagram;
@@ -552,8 +552,8 @@ export interface ServiceLevelIndicatorMetricConfig {
552
552
  }
553
553
  export interface ServiceLevelIndicatorConfig {
554
554
  SliMetricConfig: ServiceLevelIndicatorMetricConfig | undefined;
555
- MetricThreshold: number | undefined;
556
- ComparisonOperator: ServiceLevelIndicatorComparisonOperator | undefined;
555
+ MetricThreshold?: number | undefined;
556
+ ComparisonOperator?: ServiceLevelIndicatorComparisonOperator | undefined;
557
557
  }
558
558
  export interface CreateServiceLevelObjectiveInput {
559
559
  Name: string | undefined;
@@ -563,6 +563,7 @@ export interface CreateServiceLevelObjectiveInput {
563
563
  Goal?: Goal | undefined;
564
564
  Tags?: Tag[] | undefined;
565
565
  BurnRateConfigurations?: BurnRateConfiguration[] | undefined;
566
+ CreateRecommendedSlo?: boolean | undefined;
566
567
  }
567
568
  export interface ServiceLevelObjective {
568
569
  Arn: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-application-signals",
3
3
  "description": "AWS SDK for JavaScript Application Signals Client for Node.js, Browser and React Native",
4
- "version": "3.1032.0",
4
+ "version": "3.1034.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-application-signals",
@@ -21,41 +21,41 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.974.1",
25
- "@aws-sdk/credential-provider-node": "^3.972.32",
24
+ "@aws-sdk/core": "^3.974.3",
25
+ "@aws-sdk/credential-provider-node": "^3.972.34",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.10",
27
27
  "@aws-sdk/middleware-logger": "^3.972.10",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.11",
29
- "@aws-sdk/middleware-user-agent": "^3.972.31",
30
- "@aws-sdk/region-config-resolver": "^3.972.12",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.33",
30
+ "@aws-sdk/region-config-resolver": "^3.972.13",
31
31
  "@aws-sdk/types": "^3.973.8",
32
- "@aws-sdk/util-endpoints": "^3.996.7",
32
+ "@aws-sdk/util-endpoints": "^3.996.8",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.10",
34
- "@aws-sdk/util-user-agent-node": "^3.973.17",
35
- "@smithy/config-resolver": "^4.4.16",
36
- "@smithy/core": "^3.23.15",
34
+ "@aws-sdk/util-user-agent-node": "^3.973.19",
35
+ "@smithy/config-resolver": "^4.4.17",
36
+ "@smithy/core": "^3.23.16",
37
37
  "@smithy/fetch-http-handler": "^5.3.17",
38
38
  "@smithy/hash-node": "^4.2.14",
39
39
  "@smithy/invalid-dependency": "^4.2.14",
40
40
  "@smithy/middleware-content-length": "^4.2.14",
41
- "@smithy/middleware-endpoint": "^4.4.30",
42
- "@smithy/middleware-retry": "^4.5.3",
43
- "@smithy/middleware-serde": "^4.2.18",
41
+ "@smithy/middleware-endpoint": "^4.4.31",
42
+ "@smithy/middleware-retry": "^4.5.4",
43
+ "@smithy/middleware-serde": "^4.2.19",
44
44
  "@smithy/middleware-stack": "^4.2.14",
45
45
  "@smithy/node-config-provider": "^4.3.14",
46
- "@smithy/node-http-handler": "^4.5.3",
46
+ "@smithy/node-http-handler": "^4.6.0",
47
47
  "@smithy/protocol-http": "^5.3.14",
48
- "@smithy/smithy-client": "^4.12.11",
48
+ "@smithy/smithy-client": "^4.12.12",
49
49
  "@smithy/types": "^4.14.1",
50
50
  "@smithy/url-parser": "^4.2.14",
51
51
  "@smithy/util-base64": "^4.3.2",
52
52
  "@smithy/util-body-length-browser": "^4.2.2",
53
53
  "@smithy/util-body-length-node": "^4.2.3",
54
- "@smithy/util-defaults-mode-browser": "^4.3.47",
55
- "@smithy/util-defaults-mode-node": "^4.2.52",
56
- "@smithy/util-endpoints": "^3.4.1",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.48",
55
+ "@smithy/util-defaults-mode-node": "^4.2.53",
56
+ "@smithy/util-endpoints": "^3.4.2",
57
57
  "@smithy/util-middleware": "^4.2.14",
58
- "@smithy/util-retry": "^4.3.2",
58
+ "@smithy/util-retry": "^4.3.3",
59
59
  "@smithy/util-utf8": "^4.2.2",
60
60
  "tslib": "^2.6.2"
61
61
  },
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ruleSet = void 0;
4
- const l = "ref";
5
- const a = true, b = false, c = "isSet", d = "error", e = "endpoint", f = "tree", g = { "required": false, "type": "string" }, h = { [l]: "Endpoint" }, i = {}, j = [{ "fn": "booleanEquals", "argv": [{ [l]: "UseFIPS" }, true] }], k = [{ [l]: "Region" }];
6
- const _data = { version: "1.0", parameters: { UseFIPS: { required: a, default: b, type: "boolean" }, Endpoint: g, Region: g }, rules: [{ conditions: [{ fn: c, argv: [h] }], rules: [{ conditions: j, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { endpoint: { url: h, properties: i, headers: i }, type: e }], type: f }, { rules: [{ conditions: [{ fn: c, argv: k }], rules: [{ conditions: [{ fn: "aws.partition", argv: k, assign: "PartitionResult" }], rules: [{ conditions: j, endpoint: { url: "https://application-signals-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: i, headers: i }, type: e }, { endpoint: { url: "https://application-signals.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: i, headers: i }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
7
- exports.ruleSet = _data;
@@ -1,4 +0,0 @@
1
- const l = "ref";
2
- const a = true, b = false, c = "isSet", d = "error", e = "endpoint", f = "tree", g = { "required": false, "type": "string" }, h = { [l]: "Endpoint" }, i = {}, j = [{ "fn": "booleanEquals", "argv": [{ [l]: "UseFIPS" }, true] }], k = [{ [l]: "Region" }];
3
- const _data = { version: "1.0", parameters: { UseFIPS: { required: a, default: b, type: "boolean" }, Endpoint: g, Region: g }, rules: [{ conditions: [{ fn: c, argv: [h] }], rules: [{ conditions: j, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { endpoint: { url: h, properties: i, headers: i }, type: e }], type: f }, { rules: [{ conditions: [{ fn: c, argv: k }], rules: [{ conditions: [{ fn: "aws.partition", argv: k, assign: "PartitionResult" }], rules: [{ conditions: j, endpoint: { url: "https://application-signals-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: i, headers: i }, type: e }, { endpoint: { url: "https://application-signals.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: i, headers: i }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
4
- export const ruleSet = _data;
@@ -1,2 +0,0 @@
1
- import { RuleSetObject } from "@smithy/types";
2
- export declare const ruleSet: RuleSetObject;
@@ -1,2 +0,0 @@
1
- import { RuleSetObject } from "@smithy/types";
2
- export declare const ruleSet: RuleSetObject;