@aws-sdk/client-observabilityadmin 3.1032.0 → 3.1033.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.
Files changed (29) hide show
  1. package/dist-cjs/endpoint/bdd.js +49 -0
  2. package/dist-cjs/endpoint/endpointResolver.js +2 -2
  3. package/dist-cjs/index.js +1 -0
  4. package/dist-cjs/schemas/schemas_0.js +3 -2
  5. package/dist-es/endpoint/bdd.js +46 -0
  6. package/dist-es/endpoint/endpointResolver.js +3 -3
  7. package/dist-es/models/enums.js +1 -0
  8. package/dist-es/schemas/schemas_0.js +3 -2
  9. package/dist-types/commands/CreateTelemetryRuleCommand.d.ts +2 -1
  10. package/dist-types/commands/CreateTelemetryRuleForOrganizationCommand.d.ts +2 -1
  11. package/dist-types/commands/GetTelemetryRuleCommand.d.ts +2 -1
  12. package/dist-types/commands/GetTelemetryRuleForOrganizationCommand.d.ts +2 -1
  13. package/dist-types/commands/ListResourceTelemetryCommand.d.ts +2 -2
  14. package/dist-types/commands/ListResourceTelemetryForOrganizationCommand.d.ts +2 -2
  15. package/dist-types/commands/ListTelemetryRulesCommand.d.ts +1 -1
  16. package/dist-types/commands/ListTelemetryRulesForOrganizationCommand.d.ts +1 -1
  17. package/dist-types/commands/UpdateTelemetryRuleCommand.d.ts +2 -1
  18. package/dist-types/commands/UpdateTelemetryRuleForOrganizationCommand.d.ts +2 -1
  19. package/dist-types/endpoint/bdd.d.ts +2 -0
  20. package/dist-types/models/enums.d.ts +1 -0
  21. package/dist-types/models/models_0.d.ts +5 -0
  22. package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  23. package/dist-types/ts3.4/models/enums.d.ts +1 -0
  24. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  25. package/package.json +5 -5
  26. package/dist-cjs/endpoint/ruleset.js +0 -7
  27. package/dist-es/endpoint/ruleset.js +0 -4
  28. package/dist-types/endpoint/ruleset.d.ts +0 -2
  29. package/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
@@ -0,0 +1,49 @@
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 k = "ref";
6
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
7
+ const _data = {
8
+ conditions: [
9
+ [c, [g]],
10
+ [c, j],
11
+ ["aws.partition", j, d],
12
+ [e, [{ [k]: "UseFIPS" }, b]],
13
+ [e, [{ [k]: "UseDualStack" }, b]],
14
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
15
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
16
+ ],
17
+ results: [
18
+ [a],
19
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
20
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
21
+ [g, i],
22
+ ["https://observabilityadmin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
23
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
24
+ ["https://observabilityadmin-fips.{Region}.{PartitionResult#dnsSuffix}", i],
25
+ [a, "FIPS is enabled but this partition does not support FIPS"],
26
+ ["https://observabilityadmin.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
27
+ [a, "DualStack is enabled but this partition does not support DualStack"],
28
+ ["https://observabilityadmin.{Region}.{PartitionResult#dnsSuffix}", i],
29
+ [a, "Invalid Configuration: Missing Region"]
30
+ ]
31
+ };
32
+ const root = 2;
33
+ const r = 100_000_000;
34
+ const nodes = new Int32Array([
35
+ -1, 1, -1,
36
+ 0, 12, 3,
37
+ 1, 4, r + 11,
38
+ 2, 5, r + 11,
39
+ 3, 8, 6,
40
+ 4, 7, r + 10,
41
+ 5, r + 8, r + 9,
42
+ 4, 10, 9,
43
+ 6, r + 6, r + 7,
44
+ 5, 11, r + 5,
45
+ 6, r + 4, r + 5,
46
+ 3, r + 1, 13,
47
+ 4, r + 2, r + 3,
48
+ ]);
49
+ 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", "UseDualStack", "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
  }));
package/dist-cjs/index.js CHANGED
@@ -736,6 +736,7 @@ const ResourceType = {
736
736
  AWS_LAMDBA_FUNCTION: "AWS::Lambda::Function",
737
737
  AWS_ROUTE53_RESOLVER_RESOLVER_ENDPOINT: "AWS::Route53Resolver::ResolverEndpoint",
738
738
  AWS_SECURITY_HUB: "AWS::SecurityHub::Hub",
739
+ AWS_SECURITY_HUB_HUBV2: "AWS::SecurityHub::HubV2",
739
740
  AWS_WAF_V2_WEB_ACL: "AWS::WAFv2::WebACL",
740
741
  };
741
742
  const TelemetrySourceType = {
@@ -10,6 +10,7 @@ const _ADE = "AccessDeniedException";
10
10
  const _AES = "AdvancedEventSelector";
11
11
  const _AESd = "AdvancedEventSelectors";
12
12
  const _AFS = "AdvancedFieldSelector";
13
+ const _AFU = "AllowFieldUpdates";
13
14
  const _AI = "AccountIdentifiers";
14
15
  const _AIc = "AccountIdentifier";
15
16
  const _AR = "AllRegions";
@@ -777,8 +778,8 @@ exports.TelemetryPipelineSummary$ = [3, n0, _TPS,
777
778
  ];
778
779
  exports.TelemetryRule$ = [3, n0, _TR,
779
780
  0,
780
- [_TT, _RT, _TSTe, _DC, _Sc, _SCe, _Re, _AR],
781
- [0, 0, 64 | 0, () => exports.TelemetryDestinationConfiguration$, 0, 0, 64 | 0, 2], 1
781
+ [_TT, _RT, _TSTe, _DC, _Sc, _SCe, _AFU, _Re, _AR],
782
+ [0, 0, 64 | 0, () => exports.TelemetryDestinationConfiguration$, 0, 0, 2, 64 | 0, 2], 1
782
783
  ];
783
784
  exports.TelemetryRuleSummary$ = [3, n0, _TRSe,
784
785
  0,
@@ -0,0 +1,46 @@
1
+ import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
2
+ const k = "ref";
3
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
4
+ const _data = {
5
+ conditions: [
6
+ [c, [g]],
7
+ [c, j],
8
+ ["aws.partition", j, d],
9
+ [e, [{ [k]: "UseFIPS" }, b]],
10
+ [e, [{ [k]: "UseDualStack" }, b]],
11
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
12
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
13
+ ],
14
+ results: [
15
+ [a],
16
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
17
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
18
+ [g, i],
19
+ ["https://observabilityadmin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
20
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
21
+ ["https://observabilityadmin-fips.{Region}.{PartitionResult#dnsSuffix}", i],
22
+ [a, "FIPS is enabled but this partition does not support FIPS"],
23
+ ["https://observabilityadmin.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
24
+ [a, "DualStack is enabled but this partition does not support DualStack"],
25
+ ["https://observabilityadmin.{Region}.{PartitionResult#dnsSuffix}", i],
26
+ [a, "Invalid Configuration: Missing Region"]
27
+ ]
28
+ };
29
+ const root = 2;
30
+ const r = 100_000_000;
31
+ const nodes = new Int32Array([
32
+ -1, 1, -1,
33
+ 0, 12, 3,
34
+ 1, 4, r + 11,
35
+ 2, 5, r + 11,
36
+ 3, 8, 6,
37
+ 4, 7, r + 10,
38
+ 5, r + 8, r + 9,
39
+ 4, 10, 9,
40
+ 6, r + 6, r + 7,
41
+ 5, 11, r + 5,
42
+ 6, r + 4, r + 5,
43
+ 3, r + 1, 13,
44
+ 4, r + 2, r + 3,
45
+ ]);
46
+ 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", "UseDualStack", "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
  }));
@@ -72,6 +72,7 @@ export const ResourceType = {
72
72
  AWS_LAMDBA_FUNCTION: "AWS::Lambda::Function",
73
73
  AWS_ROUTE53_RESOLVER_RESOLVER_ENDPOINT: "AWS::Route53Resolver::ResolverEndpoint",
74
74
  AWS_SECURITY_HUB: "AWS::SecurityHub::Hub",
75
+ AWS_SECURITY_HUB_HUBV2: "AWS::SecurityHub::HubV2",
75
76
  AWS_WAF_V2_WEB_ACL: "AWS::WAFv2::WebACL",
76
77
  };
77
78
  export const TelemetrySourceType = {
@@ -4,6 +4,7 @@ const _ADE = "AccessDeniedException";
4
4
  const _AES = "AdvancedEventSelector";
5
5
  const _AESd = "AdvancedEventSelectors";
6
6
  const _AFS = "AdvancedFieldSelector";
7
+ const _AFU = "AllowFieldUpdates";
7
8
  const _AI = "AccountIdentifiers";
8
9
  const _AIc = "AccountIdentifier";
9
10
  const _AR = "AllRegions";
@@ -771,8 +772,8 @@ export var TelemetryPipelineSummary$ = [3, n0, _TPS,
771
772
  ];
772
773
  export var TelemetryRule$ = [3, n0, _TR,
773
774
  0,
774
- [_TT, _RT, _TSTe, _DC, _Sc, _SCe, _Re, _AR],
775
- [0, 0, 64 | 0, () => TelemetryDestinationConfiguration$, 0, 0, 64 | 0, 2], 1
775
+ [_TT, _RT, _TSTe, _DC, _Sc, _SCe, _AFU, _Re, _AR],
776
+ [0, 0, 64 | 0, () => TelemetryDestinationConfiguration$, 0, 0, 2, 64 | 0, 2], 1
776
777
  ];
777
778
  export var TelemetryRuleSummary$ = [3, n0, _TRSe,
778
779
  0,
@@ -39,7 +39,7 @@ declare const CreateTelemetryRuleCommand_base: {
39
39
  * const input = { // CreateTelemetryRuleInput
40
40
  * RuleName: "STRING_VALUE", // required
41
41
  * Rule: { // TelemetryRule
42
- * ResourceType: "AWS::EC2::Instance" || "AWS::EC2::VPC" || "AWS::Lambda::Function" || "AWS::CloudTrail" || "AWS::EKS::Cluster" || "AWS::WAFv2::WebACL" || "AWS::ElasticLoadBalancingV2::LoadBalancer" || "AWS::Route53Resolver::ResolverEndpoint" || "AWS::BedrockAgentCore::Runtime" || "AWS::BedrockAgentCore::Browser" || "AWS::BedrockAgentCore::CodeInterpreter" || "AWS::BedrockAgentCore::Gateway" || "AWS::BedrockAgentCore::Memory" || "AWS::SecurityHub::Hub" || "AWS::CloudFront::Distribution",
42
+ * ResourceType: "AWS::EC2::Instance" || "AWS::EC2::VPC" || "AWS::Lambda::Function" || "AWS::CloudTrail" || "AWS::EKS::Cluster" || "AWS::WAFv2::WebACL" || "AWS::ElasticLoadBalancingV2::LoadBalancer" || "AWS::Route53Resolver::ResolverEndpoint" || "AWS::BedrockAgentCore::Runtime" || "AWS::BedrockAgentCore::Browser" || "AWS::BedrockAgentCore::CodeInterpreter" || "AWS::BedrockAgentCore::Gateway" || "AWS::BedrockAgentCore::Memory" || "AWS::SecurityHub::Hub" || "AWS::CloudFront::Distribution" || "AWS::SecurityHub::HubV2",
43
43
  * TelemetryType: "Logs" || "Metrics" || "Traces", // required
44
44
  * TelemetrySourceTypes: [ // TelemetrySourceTypes
45
45
  * "VPC_FLOW_LOGS" || "ROUTE53_RESOLVER_QUERY_LOGS" || "EKS_AUDIT_LOGS" || "EKS_AUTHENTICATOR_LOGS" || "EKS_CONTROLLER_MANAGER_LOGS" || "EKS_SCHEDULER_LOGS" || "EKS_API_LOGS",
@@ -125,6 +125,7 @@ declare const CreateTelemetryRuleCommand_base: {
125
125
  * },
126
126
  * Scope: "STRING_VALUE",
127
127
  * SelectionCriteria: "STRING_VALUE",
128
+ * AllowFieldUpdates: true || false,
128
129
  * Regions: [ // Regions
129
130
  * "STRING_VALUE",
130
131
  * ],
@@ -39,7 +39,7 @@ declare const CreateTelemetryRuleForOrganizationCommand_base: {
39
39
  * const input = { // CreateTelemetryRuleForOrganizationInput
40
40
  * RuleName: "STRING_VALUE", // required
41
41
  * Rule: { // TelemetryRule
42
- * ResourceType: "AWS::EC2::Instance" || "AWS::EC2::VPC" || "AWS::Lambda::Function" || "AWS::CloudTrail" || "AWS::EKS::Cluster" || "AWS::WAFv2::WebACL" || "AWS::ElasticLoadBalancingV2::LoadBalancer" || "AWS::Route53Resolver::ResolverEndpoint" || "AWS::BedrockAgentCore::Runtime" || "AWS::BedrockAgentCore::Browser" || "AWS::BedrockAgentCore::CodeInterpreter" || "AWS::BedrockAgentCore::Gateway" || "AWS::BedrockAgentCore::Memory" || "AWS::SecurityHub::Hub" || "AWS::CloudFront::Distribution",
42
+ * ResourceType: "AWS::EC2::Instance" || "AWS::EC2::VPC" || "AWS::Lambda::Function" || "AWS::CloudTrail" || "AWS::EKS::Cluster" || "AWS::WAFv2::WebACL" || "AWS::ElasticLoadBalancingV2::LoadBalancer" || "AWS::Route53Resolver::ResolverEndpoint" || "AWS::BedrockAgentCore::Runtime" || "AWS::BedrockAgentCore::Browser" || "AWS::BedrockAgentCore::CodeInterpreter" || "AWS::BedrockAgentCore::Gateway" || "AWS::BedrockAgentCore::Memory" || "AWS::SecurityHub::Hub" || "AWS::CloudFront::Distribution" || "AWS::SecurityHub::HubV2",
43
43
  * TelemetryType: "Logs" || "Metrics" || "Traces", // required
44
44
  * TelemetrySourceTypes: [ // TelemetrySourceTypes
45
45
  * "VPC_FLOW_LOGS" || "ROUTE53_RESOLVER_QUERY_LOGS" || "EKS_AUDIT_LOGS" || "EKS_AUTHENTICATOR_LOGS" || "EKS_CONTROLLER_MANAGER_LOGS" || "EKS_SCHEDULER_LOGS" || "EKS_API_LOGS",
@@ -125,6 +125,7 @@ declare const CreateTelemetryRuleForOrganizationCommand_base: {
125
125
  * },
126
126
  * Scope: "STRING_VALUE",
127
127
  * SelectionCriteria: "STRING_VALUE",
128
+ * AllowFieldUpdates: true || false,
128
129
  * Regions: [ // Regions
129
130
  * "STRING_VALUE",
130
131
  * ],
@@ -47,7 +47,7 @@ declare const GetTelemetryRuleCommand_base: {
47
47
  * // CreatedTimeStamp: Number("long"),
48
48
  * // LastUpdateTimeStamp: Number("long"),
49
49
  * // TelemetryRule: { // TelemetryRule
50
- * // ResourceType: "AWS::EC2::Instance" || "AWS::EC2::VPC" || "AWS::Lambda::Function" || "AWS::CloudTrail" || "AWS::EKS::Cluster" || "AWS::WAFv2::WebACL" || "AWS::ElasticLoadBalancingV2::LoadBalancer" || "AWS::Route53Resolver::ResolverEndpoint" || "AWS::BedrockAgentCore::Runtime" || "AWS::BedrockAgentCore::Browser" || "AWS::BedrockAgentCore::CodeInterpreter" || "AWS::BedrockAgentCore::Gateway" || "AWS::BedrockAgentCore::Memory" || "AWS::SecurityHub::Hub" || "AWS::CloudFront::Distribution",
50
+ * // ResourceType: "AWS::EC2::Instance" || "AWS::EC2::VPC" || "AWS::Lambda::Function" || "AWS::CloudTrail" || "AWS::EKS::Cluster" || "AWS::WAFv2::WebACL" || "AWS::ElasticLoadBalancingV2::LoadBalancer" || "AWS::Route53Resolver::ResolverEndpoint" || "AWS::BedrockAgentCore::Runtime" || "AWS::BedrockAgentCore::Browser" || "AWS::BedrockAgentCore::CodeInterpreter" || "AWS::BedrockAgentCore::Gateway" || "AWS::BedrockAgentCore::Memory" || "AWS::SecurityHub::Hub" || "AWS::CloudFront::Distribution" || "AWS::SecurityHub::HubV2",
51
51
  * // TelemetryType: "Logs" || "Metrics" || "Traces", // required
52
52
  * // TelemetrySourceTypes: [ // TelemetrySourceTypes
53
53
  * // "VPC_FLOW_LOGS" || "ROUTE53_RESOLVER_QUERY_LOGS" || "EKS_AUDIT_LOGS" || "EKS_AUTHENTICATOR_LOGS" || "EKS_CONTROLLER_MANAGER_LOGS" || "EKS_SCHEDULER_LOGS" || "EKS_API_LOGS",
@@ -133,6 +133,7 @@ declare const GetTelemetryRuleCommand_base: {
133
133
  * // },
134
134
  * // Scope: "STRING_VALUE",
135
135
  * // SelectionCriteria: "STRING_VALUE",
136
+ * // AllowFieldUpdates: true || false,
136
137
  * // Regions: [ // Regions
137
138
  * // "STRING_VALUE",
138
139
  * // ],
@@ -47,7 +47,7 @@ declare const GetTelemetryRuleForOrganizationCommand_base: {
47
47
  * // CreatedTimeStamp: Number("long"),
48
48
  * // LastUpdateTimeStamp: Number("long"),
49
49
  * // TelemetryRule: { // TelemetryRule
50
- * // ResourceType: "AWS::EC2::Instance" || "AWS::EC2::VPC" || "AWS::Lambda::Function" || "AWS::CloudTrail" || "AWS::EKS::Cluster" || "AWS::WAFv2::WebACL" || "AWS::ElasticLoadBalancingV2::LoadBalancer" || "AWS::Route53Resolver::ResolverEndpoint" || "AWS::BedrockAgentCore::Runtime" || "AWS::BedrockAgentCore::Browser" || "AWS::BedrockAgentCore::CodeInterpreter" || "AWS::BedrockAgentCore::Gateway" || "AWS::BedrockAgentCore::Memory" || "AWS::SecurityHub::Hub" || "AWS::CloudFront::Distribution",
50
+ * // ResourceType: "AWS::EC2::Instance" || "AWS::EC2::VPC" || "AWS::Lambda::Function" || "AWS::CloudTrail" || "AWS::EKS::Cluster" || "AWS::WAFv2::WebACL" || "AWS::ElasticLoadBalancingV2::LoadBalancer" || "AWS::Route53Resolver::ResolverEndpoint" || "AWS::BedrockAgentCore::Runtime" || "AWS::BedrockAgentCore::Browser" || "AWS::BedrockAgentCore::CodeInterpreter" || "AWS::BedrockAgentCore::Gateway" || "AWS::BedrockAgentCore::Memory" || "AWS::SecurityHub::Hub" || "AWS::CloudFront::Distribution" || "AWS::SecurityHub::HubV2",
51
51
  * // TelemetryType: "Logs" || "Metrics" || "Traces", // required
52
52
  * // TelemetrySourceTypes: [ // TelemetrySourceTypes
53
53
  * // "VPC_FLOW_LOGS" || "ROUTE53_RESOLVER_QUERY_LOGS" || "EKS_AUDIT_LOGS" || "EKS_AUTHENTICATOR_LOGS" || "EKS_CONTROLLER_MANAGER_LOGS" || "EKS_SCHEDULER_LOGS" || "EKS_API_LOGS",
@@ -133,6 +133,7 @@ declare const GetTelemetryRuleForOrganizationCommand_base: {
133
133
  * // },
134
134
  * // Scope: "STRING_VALUE",
135
135
  * // SelectionCriteria: "STRING_VALUE",
136
+ * // AllowFieldUpdates: true || false,
136
137
  * // Regions: [ // Regions
137
138
  * // "STRING_VALUE",
138
139
  * // ],
@@ -39,7 +39,7 @@ declare const ListResourceTelemetryCommand_base: {
39
39
  * const input = { // ListResourceTelemetryInput
40
40
  * ResourceIdentifierPrefix: "STRING_VALUE",
41
41
  * ResourceTypes: [ // ResourceTypes
42
- * "AWS::EC2::Instance" || "AWS::EC2::VPC" || "AWS::Lambda::Function" || "AWS::CloudTrail" || "AWS::EKS::Cluster" || "AWS::WAFv2::WebACL" || "AWS::ElasticLoadBalancingV2::LoadBalancer" || "AWS::Route53Resolver::ResolverEndpoint" || "AWS::BedrockAgentCore::Runtime" || "AWS::BedrockAgentCore::Browser" || "AWS::BedrockAgentCore::CodeInterpreter" || "AWS::BedrockAgentCore::Gateway" || "AWS::BedrockAgentCore::Memory" || "AWS::SecurityHub::Hub" || "AWS::CloudFront::Distribution",
42
+ * "AWS::EC2::Instance" || "AWS::EC2::VPC" || "AWS::Lambda::Function" || "AWS::CloudTrail" || "AWS::EKS::Cluster" || "AWS::WAFv2::WebACL" || "AWS::ElasticLoadBalancingV2::LoadBalancer" || "AWS::Route53Resolver::ResolverEndpoint" || "AWS::BedrockAgentCore::Runtime" || "AWS::BedrockAgentCore::Browser" || "AWS::BedrockAgentCore::CodeInterpreter" || "AWS::BedrockAgentCore::Gateway" || "AWS::BedrockAgentCore::Memory" || "AWS::SecurityHub::Hub" || "AWS::CloudFront::Distribution" || "AWS::SecurityHub::HubV2",
43
43
  * ],
44
44
  * TelemetryConfigurationState: { // TelemetryConfigurationState
45
45
  * "<keys>": "Enabled" || "Disabled" || "NotApplicable",
@@ -59,7 +59,7 @@ declare const ListResourceTelemetryCommand_base: {
59
59
  * // TelemetryConfigurationState: { // TelemetryConfigurationState
60
60
  * // "<keys>": "Enabled" || "Disabled" || "NotApplicable",
61
61
  * // },
62
- * // ResourceType: "AWS::EC2::Instance" || "AWS::EC2::VPC" || "AWS::Lambda::Function" || "AWS::CloudTrail" || "AWS::EKS::Cluster" || "AWS::WAFv2::WebACL" || "AWS::ElasticLoadBalancingV2::LoadBalancer" || "AWS::Route53Resolver::ResolverEndpoint" || "AWS::BedrockAgentCore::Runtime" || "AWS::BedrockAgentCore::Browser" || "AWS::BedrockAgentCore::CodeInterpreter" || "AWS::BedrockAgentCore::Gateway" || "AWS::BedrockAgentCore::Memory" || "AWS::SecurityHub::Hub" || "AWS::CloudFront::Distribution",
62
+ * // ResourceType: "AWS::EC2::Instance" || "AWS::EC2::VPC" || "AWS::Lambda::Function" || "AWS::CloudTrail" || "AWS::EKS::Cluster" || "AWS::WAFv2::WebACL" || "AWS::ElasticLoadBalancingV2::LoadBalancer" || "AWS::Route53Resolver::ResolverEndpoint" || "AWS::BedrockAgentCore::Runtime" || "AWS::BedrockAgentCore::Browser" || "AWS::BedrockAgentCore::CodeInterpreter" || "AWS::BedrockAgentCore::Gateway" || "AWS::BedrockAgentCore::Memory" || "AWS::SecurityHub::Hub" || "AWS::CloudFront::Distribution" || "AWS::SecurityHub::HubV2",
63
63
  * // ResourceIdentifier: "STRING_VALUE",
64
64
  * // ResourceTags: { // TagMapOutput
65
65
  * // "<keys>": "STRING_VALUE",
@@ -42,7 +42,7 @@ declare const ListResourceTelemetryForOrganizationCommand_base: {
42
42
  * ],
43
43
  * ResourceIdentifierPrefix: "STRING_VALUE",
44
44
  * ResourceTypes: [ // ResourceTypes
45
- * "AWS::EC2::Instance" || "AWS::EC2::VPC" || "AWS::Lambda::Function" || "AWS::CloudTrail" || "AWS::EKS::Cluster" || "AWS::WAFv2::WebACL" || "AWS::ElasticLoadBalancingV2::LoadBalancer" || "AWS::Route53Resolver::ResolverEndpoint" || "AWS::BedrockAgentCore::Runtime" || "AWS::BedrockAgentCore::Browser" || "AWS::BedrockAgentCore::CodeInterpreter" || "AWS::BedrockAgentCore::Gateway" || "AWS::BedrockAgentCore::Memory" || "AWS::SecurityHub::Hub" || "AWS::CloudFront::Distribution",
45
+ * "AWS::EC2::Instance" || "AWS::EC2::VPC" || "AWS::Lambda::Function" || "AWS::CloudTrail" || "AWS::EKS::Cluster" || "AWS::WAFv2::WebACL" || "AWS::ElasticLoadBalancingV2::LoadBalancer" || "AWS::Route53Resolver::ResolverEndpoint" || "AWS::BedrockAgentCore::Runtime" || "AWS::BedrockAgentCore::Browser" || "AWS::BedrockAgentCore::CodeInterpreter" || "AWS::BedrockAgentCore::Gateway" || "AWS::BedrockAgentCore::Memory" || "AWS::SecurityHub::Hub" || "AWS::CloudFront::Distribution" || "AWS::SecurityHub::HubV2",
46
46
  * ],
47
47
  * TelemetryConfigurationState: { // TelemetryConfigurationState
48
48
  * "<keys>": "Enabled" || "Disabled" || "NotApplicable",
@@ -62,7 +62,7 @@ declare const ListResourceTelemetryForOrganizationCommand_base: {
62
62
  * // TelemetryConfigurationState: { // TelemetryConfigurationState
63
63
  * // "<keys>": "Enabled" || "Disabled" || "NotApplicable",
64
64
  * // },
65
- * // ResourceType: "AWS::EC2::Instance" || "AWS::EC2::VPC" || "AWS::Lambda::Function" || "AWS::CloudTrail" || "AWS::EKS::Cluster" || "AWS::WAFv2::WebACL" || "AWS::ElasticLoadBalancingV2::LoadBalancer" || "AWS::Route53Resolver::ResolverEndpoint" || "AWS::BedrockAgentCore::Runtime" || "AWS::BedrockAgentCore::Browser" || "AWS::BedrockAgentCore::CodeInterpreter" || "AWS::BedrockAgentCore::Gateway" || "AWS::BedrockAgentCore::Memory" || "AWS::SecurityHub::Hub" || "AWS::CloudFront::Distribution",
65
+ * // ResourceType: "AWS::EC2::Instance" || "AWS::EC2::VPC" || "AWS::Lambda::Function" || "AWS::CloudTrail" || "AWS::EKS::Cluster" || "AWS::WAFv2::WebACL" || "AWS::ElasticLoadBalancingV2::LoadBalancer" || "AWS::Route53Resolver::ResolverEndpoint" || "AWS::BedrockAgentCore::Runtime" || "AWS::BedrockAgentCore::Browser" || "AWS::BedrockAgentCore::CodeInterpreter" || "AWS::BedrockAgentCore::Gateway" || "AWS::BedrockAgentCore::Memory" || "AWS::SecurityHub::Hub" || "AWS::CloudFront::Distribution" || "AWS::SecurityHub::HubV2",
66
66
  * // ResourceIdentifier: "STRING_VALUE",
67
67
  * // ResourceTags: { // TagMapOutput
68
68
  * // "<keys>": "STRING_VALUE",
@@ -50,7 +50,7 @@ declare const ListTelemetryRulesCommand_base: {
50
50
  * // RuleArn: "STRING_VALUE",
51
51
  * // CreatedTimeStamp: Number("long"),
52
52
  * // LastUpdateTimeStamp: Number("long"),
53
- * // ResourceType: "AWS::EC2::Instance" || "AWS::EC2::VPC" || "AWS::Lambda::Function" || "AWS::CloudTrail" || "AWS::EKS::Cluster" || "AWS::WAFv2::WebACL" || "AWS::ElasticLoadBalancingV2::LoadBalancer" || "AWS::Route53Resolver::ResolverEndpoint" || "AWS::BedrockAgentCore::Runtime" || "AWS::BedrockAgentCore::Browser" || "AWS::BedrockAgentCore::CodeInterpreter" || "AWS::BedrockAgentCore::Gateway" || "AWS::BedrockAgentCore::Memory" || "AWS::SecurityHub::Hub" || "AWS::CloudFront::Distribution",
53
+ * // ResourceType: "AWS::EC2::Instance" || "AWS::EC2::VPC" || "AWS::Lambda::Function" || "AWS::CloudTrail" || "AWS::EKS::Cluster" || "AWS::WAFv2::WebACL" || "AWS::ElasticLoadBalancingV2::LoadBalancer" || "AWS::Route53Resolver::ResolverEndpoint" || "AWS::BedrockAgentCore::Runtime" || "AWS::BedrockAgentCore::Browser" || "AWS::BedrockAgentCore::CodeInterpreter" || "AWS::BedrockAgentCore::Gateway" || "AWS::BedrockAgentCore::Memory" || "AWS::SecurityHub::Hub" || "AWS::CloudFront::Distribution" || "AWS::SecurityHub::HubV2",
54
54
  * // TelemetryType: "Logs" || "Metrics" || "Traces",
55
55
  * // TelemetrySourceTypes: [ // TelemetrySourceTypes
56
56
  * // "VPC_FLOW_LOGS" || "ROUTE53_RESOLVER_QUERY_LOGS" || "EKS_AUDIT_LOGS" || "EKS_AUTHENTICATOR_LOGS" || "EKS_CONTROLLER_MANAGER_LOGS" || "EKS_SCHEDULER_LOGS" || "EKS_API_LOGS",
@@ -56,7 +56,7 @@ declare const ListTelemetryRulesForOrganizationCommand_base: {
56
56
  * // RuleArn: "STRING_VALUE",
57
57
  * // CreatedTimeStamp: Number("long"),
58
58
  * // LastUpdateTimeStamp: Number("long"),
59
- * // ResourceType: "AWS::EC2::Instance" || "AWS::EC2::VPC" || "AWS::Lambda::Function" || "AWS::CloudTrail" || "AWS::EKS::Cluster" || "AWS::WAFv2::WebACL" || "AWS::ElasticLoadBalancingV2::LoadBalancer" || "AWS::Route53Resolver::ResolverEndpoint" || "AWS::BedrockAgentCore::Runtime" || "AWS::BedrockAgentCore::Browser" || "AWS::BedrockAgentCore::CodeInterpreter" || "AWS::BedrockAgentCore::Gateway" || "AWS::BedrockAgentCore::Memory" || "AWS::SecurityHub::Hub" || "AWS::CloudFront::Distribution",
59
+ * // ResourceType: "AWS::EC2::Instance" || "AWS::EC2::VPC" || "AWS::Lambda::Function" || "AWS::CloudTrail" || "AWS::EKS::Cluster" || "AWS::WAFv2::WebACL" || "AWS::ElasticLoadBalancingV2::LoadBalancer" || "AWS::Route53Resolver::ResolverEndpoint" || "AWS::BedrockAgentCore::Runtime" || "AWS::BedrockAgentCore::Browser" || "AWS::BedrockAgentCore::CodeInterpreter" || "AWS::BedrockAgentCore::Gateway" || "AWS::BedrockAgentCore::Memory" || "AWS::SecurityHub::Hub" || "AWS::CloudFront::Distribution" || "AWS::SecurityHub::HubV2",
60
60
  * // TelemetryType: "Logs" || "Metrics" || "Traces",
61
61
  * // TelemetrySourceTypes: [ // TelemetrySourceTypes
62
62
  * // "VPC_FLOW_LOGS" || "ROUTE53_RESOLVER_QUERY_LOGS" || "EKS_AUDIT_LOGS" || "EKS_AUTHENTICATOR_LOGS" || "EKS_CONTROLLER_MANAGER_LOGS" || "EKS_SCHEDULER_LOGS" || "EKS_API_LOGS",
@@ -39,7 +39,7 @@ declare const UpdateTelemetryRuleCommand_base: {
39
39
  * const input = { // UpdateTelemetryRuleInput
40
40
  * RuleIdentifier: "STRING_VALUE", // required
41
41
  * Rule: { // TelemetryRule
42
- * ResourceType: "AWS::EC2::Instance" || "AWS::EC2::VPC" || "AWS::Lambda::Function" || "AWS::CloudTrail" || "AWS::EKS::Cluster" || "AWS::WAFv2::WebACL" || "AWS::ElasticLoadBalancingV2::LoadBalancer" || "AWS::Route53Resolver::ResolverEndpoint" || "AWS::BedrockAgentCore::Runtime" || "AWS::BedrockAgentCore::Browser" || "AWS::BedrockAgentCore::CodeInterpreter" || "AWS::BedrockAgentCore::Gateway" || "AWS::BedrockAgentCore::Memory" || "AWS::SecurityHub::Hub" || "AWS::CloudFront::Distribution",
42
+ * ResourceType: "AWS::EC2::Instance" || "AWS::EC2::VPC" || "AWS::Lambda::Function" || "AWS::CloudTrail" || "AWS::EKS::Cluster" || "AWS::WAFv2::WebACL" || "AWS::ElasticLoadBalancingV2::LoadBalancer" || "AWS::Route53Resolver::ResolverEndpoint" || "AWS::BedrockAgentCore::Runtime" || "AWS::BedrockAgentCore::Browser" || "AWS::BedrockAgentCore::CodeInterpreter" || "AWS::BedrockAgentCore::Gateway" || "AWS::BedrockAgentCore::Memory" || "AWS::SecurityHub::Hub" || "AWS::CloudFront::Distribution" || "AWS::SecurityHub::HubV2",
43
43
  * TelemetryType: "Logs" || "Metrics" || "Traces", // required
44
44
  * TelemetrySourceTypes: [ // TelemetrySourceTypes
45
45
  * "VPC_FLOW_LOGS" || "ROUTE53_RESOLVER_QUERY_LOGS" || "EKS_AUDIT_LOGS" || "EKS_AUTHENTICATOR_LOGS" || "EKS_CONTROLLER_MANAGER_LOGS" || "EKS_SCHEDULER_LOGS" || "EKS_API_LOGS",
@@ -125,6 +125,7 @@ declare const UpdateTelemetryRuleCommand_base: {
125
125
  * },
126
126
  * Scope: "STRING_VALUE",
127
127
  * SelectionCriteria: "STRING_VALUE",
128
+ * AllowFieldUpdates: true || false,
128
129
  * Regions: [ // Regions
129
130
  * "STRING_VALUE",
130
131
  * ],
@@ -39,7 +39,7 @@ declare const UpdateTelemetryRuleForOrganizationCommand_base: {
39
39
  * const input = { // UpdateTelemetryRuleForOrganizationInput
40
40
  * RuleIdentifier: "STRING_VALUE", // required
41
41
  * Rule: { // TelemetryRule
42
- * ResourceType: "AWS::EC2::Instance" || "AWS::EC2::VPC" || "AWS::Lambda::Function" || "AWS::CloudTrail" || "AWS::EKS::Cluster" || "AWS::WAFv2::WebACL" || "AWS::ElasticLoadBalancingV2::LoadBalancer" || "AWS::Route53Resolver::ResolverEndpoint" || "AWS::BedrockAgentCore::Runtime" || "AWS::BedrockAgentCore::Browser" || "AWS::BedrockAgentCore::CodeInterpreter" || "AWS::BedrockAgentCore::Gateway" || "AWS::BedrockAgentCore::Memory" || "AWS::SecurityHub::Hub" || "AWS::CloudFront::Distribution",
42
+ * ResourceType: "AWS::EC2::Instance" || "AWS::EC2::VPC" || "AWS::Lambda::Function" || "AWS::CloudTrail" || "AWS::EKS::Cluster" || "AWS::WAFv2::WebACL" || "AWS::ElasticLoadBalancingV2::LoadBalancer" || "AWS::Route53Resolver::ResolverEndpoint" || "AWS::BedrockAgentCore::Runtime" || "AWS::BedrockAgentCore::Browser" || "AWS::BedrockAgentCore::CodeInterpreter" || "AWS::BedrockAgentCore::Gateway" || "AWS::BedrockAgentCore::Memory" || "AWS::SecurityHub::Hub" || "AWS::CloudFront::Distribution" || "AWS::SecurityHub::HubV2",
43
43
  * TelemetryType: "Logs" || "Metrics" || "Traces", // required
44
44
  * TelemetrySourceTypes: [ // TelemetrySourceTypes
45
45
  * "VPC_FLOW_LOGS" || "ROUTE53_RESOLVER_QUERY_LOGS" || "EKS_AUDIT_LOGS" || "EKS_AUTHENTICATOR_LOGS" || "EKS_CONTROLLER_MANAGER_LOGS" || "EKS_SCHEDULER_LOGS" || "EKS_API_LOGS",
@@ -125,6 +125,7 @@ declare const UpdateTelemetryRuleForOrganizationCommand_base: {
125
125
  * },
126
126
  * Scope: "STRING_VALUE",
127
127
  * SelectionCriteria: "STRING_VALUE",
128
+ * AllowFieldUpdates: true || false,
128
129
  * Regions: [ // Regions
129
130
  * "STRING_VALUE",
130
131
  * ],
@@ -0,0 +1,2 @@
1
+ import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
2
+ export declare const bdd: BinaryDecisionDiagram;
@@ -180,6 +180,7 @@ export declare const ResourceType: {
180
180
  readonly AWS_LAMDBA_FUNCTION: "AWS::Lambda::Function";
181
181
  readonly AWS_ROUTE53_RESOLVER_RESOLVER_ENDPOINT: "AWS::Route53Resolver::ResolverEndpoint";
182
182
  readonly AWS_SECURITY_HUB: "AWS::SecurityHub::Hub";
183
+ readonly AWS_SECURITY_HUB_HUBV2: "AWS::SecurityHub::HubV2";
183
184
  readonly AWS_WAF_V2_WEB_ACL: "AWS::WAFv2::WebACL";
184
185
  };
185
186
  /**
@@ -729,6 +729,11 @@ export interface TelemetryRule {
729
729
  * @public
730
730
  */
731
731
  SelectionCriteria?: string | undefined;
732
+ /**
733
+ * <p> If set to <code>true</code>, Amazon CloudWatch Observability Admin detects and remediates configuration drift in telemetry resources that it manages. For example, if a VPC flow log's format, traffic type, or aggregation interval no longer matches the rule's destination configuration, the flow log is replaced with one that matches. Only Observability Admin-managed resources are updated; customer-created resources are never modified. Currently supported for <code>AWS::EC2::VPC</code> resources (VPC flow logs). </p>
734
+ * @public
735
+ */
736
+ AllowFieldUpdates?: boolean | undefined;
732
737
  /**
733
738
  * <p> An optional list of Amazon Web Services Regions where this telemetry rule should be replicated. When specified, the rule is created in the home region and automatically replicated to all listed regions. Mutually exclusive with <code>AllRegions</code>. </p>
734
739
  * @public
@@ -0,0 +1,2 @@
1
+ import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
2
+ export declare const bdd: BinaryDecisionDiagram;
@@ -92,6 +92,7 @@ export declare const ResourceType: {
92
92
  readonly AWS_LAMDBA_FUNCTION: "AWS::Lambda::Function";
93
93
  readonly AWS_ROUTE53_RESOLVER_RESOLVER_ENDPOINT: "AWS::Route53Resolver::ResolverEndpoint";
94
94
  readonly AWS_SECURITY_HUB: "AWS::SecurityHub::Hub";
95
+ readonly AWS_SECURITY_HUB_HUBV2: "AWS::SecurityHub::HubV2";
95
96
  readonly AWS_WAF_V2_WEB_ACL: "AWS::WAFv2::WebACL";
96
97
  };
97
98
  export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
@@ -202,6 +202,7 @@ export interface TelemetryRule {
202
202
  DestinationConfiguration?: TelemetryDestinationConfiguration | undefined;
203
203
  Scope?: string | undefined;
204
204
  SelectionCriteria?: string | undefined;
205
+ AllowFieldUpdates?: boolean | undefined;
205
206
  Regions?: string[] | undefined;
206
207
  AllRegions?: boolean | undefined;
207
208
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-observabilityadmin",
3
3
  "description": "AWS SDK for JavaScript Observabilityadmin Client for Node.js, Browser and React Native",
4
- "version": "3.1032.0",
4
+ "version": "3.1033.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-observabilityadmin",
@@ -21,17 +21,17 @@
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.2",
25
+ "@aws-sdk/credential-provider-node": "^3.972.33",
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",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.32",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.12",
31
31
  "@aws-sdk/types": "^3.973.8",
32
32
  "@aws-sdk/util-endpoints": "^3.996.7",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.10",
34
- "@aws-sdk/util-user-agent-node": "^3.973.17",
34
+ "@aws-sdk/util-user-agent-node": "^3.973.18",
35
35
  "@smithy/config-resolver": "^4.4.16",
36
36
  "@smithy/core": "^3.23.15",
37
37
  "@smithy/fetch-http-handler": "^5.3.17",
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ruleSet = void 0;
4
- const s = "required", t = "fn", u = "argv", v = "ref";
5
- const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "string" }, i = { [s]: true, "default": false, "type": "boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
6
- const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://observabilityadmin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://observabilityadmin-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://observabilityadmin.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://observabilityadmin.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
7
- exports.ruleSet = _data;
@@ -1,4 +0,0 @@
1
- const s = "required", t = "fn", u = "argv", v = "ref";
2
- const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "string" }, i = { [s]: true, "default": false, "type": "boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
3
- const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://observabilityadmin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://observabilityadmin-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://observabilityadmin.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://observabilityadmin.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], 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;