@aws-sdk/client-ec2 3.301.0 → 3.303.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 (66) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/EC2.js +30 -0
  3. package/dist-cjs/commands/GetVpnTunnelReplacementStatusCommand.js +45 -0
  4. package/dist-cjs/commands/ReplaceVpnTunnelCommand.js +45 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/endpoint/ruleset.js +3 -3
  7. package/dist-cjs/models/models_0.js +1126 -1192
  8. package/dist-cjs/models/models_1.js +397 -469
  9. package/dist-cjs/models/models_2.js +280 -336
  10. package/dist-cjs/models/models_3.js +241 -286
  11. package/dist-cjs/models/models_4.js +197 -235
  12. package/dist-cjs/models/models_5.js +77 -91
  13. package/dist-cjs/models/models_6.js +65 -79
  14. package/dist-cjs/protocols/Aws_ec2.js +180 -15
  15. package/dist-es/EC2.js +30 -0
  16. package/dist-es/commands/GetVpnTunnelReplacementStatusCommand.js +41 -0
  17. package/dist-es/commands/ReplaceVpnTunnelCommand.js +41 -0
  18. package/dist-es/commands/index.js +2 -0
  19. package/dist-es/endpoint/ruleset.js +3 -3
  20. package/dist-es/models/models_0.js +1126 -1192
  21. package/dist-es/models/models_1.js +397 -469
  22. package/dist-es/models/models_2.js +280 -336
  23. package/dist-es/models/models_3.js +241 -286
  24. package/dist-es/models/models_4.js +197 -235
  25. package/dist-es/models/models_5.js +77 -91
  26. package/dist-es/models/models_6.js +65 -79
  27. package/dist-es/protocols/Aws_ec2.js +161 -0
  28. package/dist-types/EC2.d.ts +16 -0
  29. package/dist-types/EC2Client.d.ts +4 -2
  30. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -0
  31. package/dist-types/commands/GetVpnTunnelReplacementStatusCommand.d.ts +65 -0
  32. package/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
  33. package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +2 -0
  34. package/dist-types/commands/ReplaceVpnTunnelCommand.d.ts +66 -0
  35. package/dist-types/commands/StartInstancesCommand.d.ts +2 -1
  36. package/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  37. package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -2
  38. package/dist-types/commands/index.d.ts +2 -0
  39. package/dist-types/models/models_0.d.ts +1464 -1134
  40. package/dist-types/models/models_1.d.ts +757 -397
  41. package/dist-types/models/models_2.d.ts +568 -280
  42. package/dist-types/models/models_3.d.ts +466 -241
  43. package/dist-types/models/models_4.d.ts +387 -197
  44. package/dist-types/models/models_5.d.ts +212 -191
  45. package/dist-types/models/models_6.d.ts +290 -159
  46. package/dist-types/models/models_7.d.ts +95 -3
  47. package/dist-types/protocols/Aws_ec2.d.ts +6 -0
  48. package/dist-types/ts3.4/EC2.d.ts +34 -0
  49. package/dist-types/ts3.4/EC2Client.d.ts +12 -0
  50. package/dist-types/ts3.4/commands/GetVpnTunnelReplacementStatusCommand.d.ts +41 -0
  51. package/dist-types/ts3.4/commands/ImportSnapshotCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/ReplaceVpnTunnelCommand.d.ts +37 -0
  53. package/dist-types/ts3.4/commands/StartInstancesCommand.d.ts +2 -4
  54. package/dist-types/ts3.4/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/StartNetworkInsightsAnalysisCommand.d.ts +4 -2
  56. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  57. package/dist-types/ts3.4/models/models_0.d.ts +1244 -1126
  58. package/dist-types/ts3.4/models/models_1.d.ts +523 -397
  59. package/dist-types/ts3.4/models/models_2.d.ts +381 -280
  60. package/dist-types/ts3.4/models/models_3.d.ts +324 -241
  61. package/dist-types/ts3.4/models/models_4.d.ts +261 -197
  62. package/dist-types/ts3.4/models/models_5.d.ts +123 -101
  63. package/dist-types/ts3.4/models/models_6.d.ts +126 -91
  64. package/dist-types/ts3.4/models/models_7.d.ts +37 -3
  65. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +24 -0
  66. package/package.json +36 -36
package/README.md CHANGED
@@ -3839,6 +3839,14 @@ GetVpnConnectionDeviceTypes
3839
3839
 
3840
3840
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/classes/getvpnconnectiondevicetypescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/interfaces/getvpnconnectiondevicetypescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/interfaces/getvpnconnectiondevicetypescommandoutput.html)
3841
3841
 
3842
+ </details>
3843
+ <details>
3844
+ <summary>
3845
+ GetVpnTunnelReplacementStatus
3846
+ </summary>
3847
+
3848
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/classes/getvpntunnelreplacementstatuscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/interfaces/getvpntunnelreplacementstatuscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/interfaces/getvpntunnelreplacementstatuscommandoutput.html)
3849
+
3842
3850
  </details>
3843
3851
  <details>
3844
3852
  <summary>
@@ -4639,6 +4647,14 @@ ReplaceTransitGatewayRoute
4639
4647
 
4640
4648
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/classes/replacetransitgatewayroutecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/interfaces/replacetransitgatewayroutecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/interfaces/replacetransitgatewayroutecommandoutput.html)
4641
4649
 
4650
+ </details>
4651
+ <details>
4652
+ <summary>
4653
+ ReplaceVpnTunnel
4654
+ </summary>
4655
+
4656
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/classes/replacevpntunnelcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/interfaces/replacevpntunnelcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/interfaces/replacevpntunnelcommandoutput.html)
4657
+
4642
4658
  </details>
4643
4659
  <details>
4644
4660
  <summary>
package/dist-cjs/EC2.js CHANGED
@@ -452,6 +452,7 @@ const GetVerifiedAccessEndpointPolicyCommand_1 = require("./commands/GetVerified
452
452
  const GetVerifiedAccessGroupPolicyCommand_1 = require("./commands/GetVerifiedAccessGroupPolicyCommand");
453
453
  const GetVpnConnectionDeviceSampleConfigurationCommand_1 = require("./commands/GetVpnConnectionDeviceSampleConfigurationCommand");
454
454
  const GetVpnConnectionDeviceTypesCommand_1 = require("./commands/GetVpnConnectionDeviceTypesCommand");
455
+ const GetVpnTunnelReplacementStatusCommand_1 = require("./commands/GetVpnTunnelReplacementStatusCommand");
455
456
  const ImportClientVpnClientCertificateRevocationListCommand_1 = require("./commands/ImportClientVpnClientCertificateRevocationListCommand");
456
457
  const ImportImageCommand_1 = require("./commands/ImportImageCommand");
457
458
  const ImportInstanceCommand_1 = require("./commands/ImportInstanceCommand");
@@ -552,6 +553,7 @@ const ReplaceNetworkAclEntryCommand_1 = require("./commands/ReplaceNetworkAclEnt
552
553
  const ReplaceRouteCommand_1 = require("./commands/ReplaceRouteCommand");
553
554
  const ReplaceRouteTableAssociationCommand_1 = require("./commands/ReplaceRouteTableAssociationCommand");
554
555
  const ReplaceTransitGatewayRouteCommand_1 = require("./commands/ReplaceTransitGatewayRouteCommand");
556
+ const ReplaceVpnTunnelCommand_1 = require("./commands/ReplaceVpnTunnelCommand");
555
557
  const ReportInstanceStatusCommand_1 = require("./commands/ReportInstanceStatusCommand");
556
558
  const RequestSpotFleetCommand_1 = require("./commands/RequestSpotFleetCommand");
557
559
  const RequestSpotInstancesCommand_1 = require("./commands/RequestSpotInstancesCommand");
@@ -6906,6 +6908,20 @@ class EC2 extends EC2Client_1.EC2Client {
6906
6908
  return this.send(command, optionsOrCb);
6907
6909
  }
6908
6910
  }
6911
+ getVpnTunnelReplacementStatus(args, optionsOrCb, cb) {
6912
+ const command = new GetVpnTunnelReplacementStatusCommand_1.GetVpnTunnelReplacementStatusCommand(args);
6913
+ if (typeof optionsOrCb === "function") {
6914
+ this.send(command, optionsOrCb);
6915
+ }
6916
+ else if (typeof cb === "function") {
6917
+ if (typeof optionsOrCb !== "object")
6918
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
6919
+ this.send(command, optionsOrCb || {}, cb);
6920
+ }
6921
+ else {
6922
+ return this.send(command, optionsOrCb);
6923
+ }
6924
+ }
6909
6925
  importClientVpnClientCertificateRevocationList(args, optionsOrCb, cb) {
6910
6926
  const command = new ImportClientVpnClientCertificateRevocationListCommand_1.ImportClientVpnClientCertificateRevocationListCommand(args);
6911
6927
  if (typeof optionsOrCb === "function") {
@@ -8306,6 +8322,20 @@ class EC2 extends EC2Client_1.EC2Client {
8306
8322
  return this.send(command, optionsOrCb);
8307
8323
  }
8308
8324
  }
8325
+ replaceVpnTunnel(args, optionsOrCb, cb) {
8326
+ const command = new ReplaceVpnTunnelCommand_1.ReplaceVpnTunnelCommand(args);
8327
+ if (typeof optionsOrCb === "function") {
8328
+ this.send(command, optionsOrCb);
8329
+ }
8330
+ else if (typeof cb === "function") {
8331
+ if (typeof optionsOrCb !== "object")
8332
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
8333
+ this.send(command, optionsOrCb || {}, cb);
8334
+ }
8335
+ else {
8336
+ return this.send(command, optionsOrCb);
8337
+ }
8338
+ }
8309
8339
  reportInstanceStatus(args, optionsOrCb, cb) {
8310
8340
  const command = new ReportInstanceStatusCommand_1.ReportInstanceStatusCommand(args);
8311
8341
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetVpnTunnelReplacementStatusCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const Aws_ec2_1 = require("../protocols/Aws_ec2");
8
+ class GetVpnTunnelReplacementStatusCommand extends smithy_client_1.Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetVpnTunnelReplacementStatusCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "EC2Client";
27
+ const commandName = "GetVpnTunnelReplacementStatusCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_ec2_1.serializeAws_ec2GetVpnTunnelReplacementStatusCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_ec2_1.deserializeAws_ec2GetVpnTunnelReplacementStatusCommand)(output, context);
43
+ }
44
+ }
45
+ exports.GetVpnTunnelReplacementStatusCommand = GetVpnTunnelReplacementStatusCommand;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ReplaceVpnTunnelCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const Aws_ec2_1 = require("../protocols/Aws_ec2");
8
+ class ReplaceVpnTunnelCommand extends smithy_client_1.Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ReplaceVpnTunnelCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "EC2Client";
27
+ const commandName = "ReplaceVpnTunnelCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_ec2_1.serializeAws_ec2ReplaceVpnTunnelCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_ec2_1.deserializeAws_ec2ReplaceVpnTunnelCommand)(output, context);
43
+ }
44
+ }
45
+ exports.ReplaceVpnTunnelCommand = ReplaceVpnTunnelCommand;
@@ -452,6 +452,7 @@ tslib_1.__exportStar(require("./GetVerifiedAccessEndpointPolicyCommand"), export
452
452
  tslib_1.__exportStar(require("./GetVerifiedAccessGroupPolicyCommand"), exports);
453
453
  tslib_1.__exportStar(require("./GetVpnConnectionDeviceSampleConfigurationCommand"), exports);
454
454
  tslib_1.__exportStar(require("./GetVpnConnectionDeviceTypesCommand"), exports);
455
+ tslib_1.__exportStar(require("./GetVpnTunnelReplacementStatusCommand"), exports);
455
456
  tslib_1.__exportStar(require("./ImportClientVpnClientCertificateRevocationListCommand"), exports);
456
457
  tslib_1.__exportStar(require("./ImportImageCommand"), exports);
457
458
  tslib_1.__exportStar(require("./ImportInstanceCommand"), exports);
@@ -552,6 +553,7 @@ tslib_1.__exportStar(require("./ReplaceNetworkAclEntryCommand"), exports);
552
553
  tslib_1.__exportStar(require("./ReplaceRouteCommand"), exports);
553
554
  tslib_1.__exportStar(require("./ReplaceRouteTableAssociationCommand"), exports);
554
555
  tslib_1.__exportStar(require("./ReplaceTransitGatewayRouteCommand"), exports);
556
+ tslib_1.__exportStar(require("./ReplaceVpnTunnelCommand"), exports);
555
557
  tslib_1.__exportStar(require("./ReportInstanceStatusCommand"), exports);
556
558
  tslib_1.__exportStar(require("./RequestSpotFleetCommand"), exports);
557
559
  tslib_1.__exportStar(require("./RequestSpotInstancesCommand"), exports);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const u = "required", v = "fn", w = "argv", x = "ref";
5
- const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = "stringEquals", h = { [u]: false, "type": "String" }, i = { [u]: true, "default": false, "type": "Boolean" }, j = { [x]: "Endpoint" }, k = { [v]: "booleanEquals", [w]: [{ [x]: "UseFIPS" }, true] }, l = { [v]: "booleanEquals", [w]: [{ [x]: "UseDualStack" }, true] }, m = {}, n = { [x]: "Region" }, o = { [v]: "booleanEquals", [w]: [true, { [v]: f, [w]: [{ [x]: e }, "supportsFIPS"] }] }, p = { [x]: e }, q = { [v]: "booleanEquals", [w]: [true, { [v]: f, [w]: [p, "supportsDualStack"] }] }, r = [k], s = [l], t = [n];
6
- const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [v]: a, [w]: [j] }], type: b, rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: j, properties: m, headers: m }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [v]: a, [w]: t }], type: b, rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: e }], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ conditions: [o, q], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://ec2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: r, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ conditions: [{ [v]: g, [w]: ["aws-us-gov", { [v]: f, [w]: [p, "name"] }] }], endpoint: { url: "https://ec2.{Region}.amazonaws.com", properties: m, headers: m }, type: d }, { endpoint: { url: "https://ec2-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: s, type: b, rules: [{ conditions: [q], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://ec2.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ conditions: [{ [v]: g, [w]: [n, "us-gov-east-1"] }], endpoint: { url: "https://ec2.us-gov-east-1.amazonaws.com", properties: m, headers: m }, type: d }, { conditions: [{ [v]: g, [w]: [n, "us-gov-west-1"] }], endpoint: { url: "https://ec2.us-gov-west-1.amazonaws.com", properties: m, headers: m }, type: d }, { endpoint: { url: "https://ec2.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
4
+ const s = "required", t = "fn", u = "argv", v = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://ec2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://ec2.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://ec2-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://ec2.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://ec2.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
7
7
  exports.ruleSet = _data;