@aws-sdk/client-ec2 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.
Files changed (126) hide show
  1. package/README.md +21 -0
  2. package/dist-cjs/endpoint/bdd.js +52 -0
  3. package/dist-cjs/endpoint/endpointResolver.js +2 -2
  4. package/dist-cjs/index.js +53 -0
  5. package/dist-cjs/schemas/schemas_0.js +183 -85
  6. package/dist-es/EC2.js +6 -0
  7. package/dist-es/commands/AcceptTransitGatewayClientVpnAttachmentCommand.js +16 -0
  8. package/dist-es/commands/DeleteTransitGatewayClientVpnAttachmentCommand.js +16 -0
  9. package/dist-es/commands/RejectTransitGatewayClientVpnAttachmentCommand.js +16 -0
  10. package/dist-es/commands/index.js +3 -0
  11. package/dist-es/endpoint/bdd.js +49 -0
  12. package/dist-es/endpoint/endpointResolver.js +3 -3
  13. package/dist-es/models/enums.js +10 -0
  14. package/dist-es/schemas/schemas_0.js +120 -22
  15. package/dist-types/EC2.d.ts +21 -0
  16. package/dist-types/EC2Client.d.ts +5 -2
  17. package/dist-types/commands/AcceptTransitGatewayClientVpnAttachmentCommand.d.ts +82 -0
  18. package/dist-types/commands/AcceptTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
  19. package/dist-types/commands/AssociateClientVpnTargetNetworkCommand.d.ts +3 -1
  20. package/dist-types/commands/AssociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  21. package/dist-types/commands/AssociateTransitGatewayPolicyTableCommand.d.ts +1 -1
  22. package/dist-types/commands/AssociateTransitGatewayRouteTableCommand.d.ts +1 -1
  23. package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +10 -1
  24. package/dist-types/commands/CreateClientVpnRouteCommand.d.ts +1 -1
  25. package/dist-types/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +1 -1
  26. package/dist-types/commands/CreateSecondaryNetworkCommand.d.ts +1 -1
  27. package/dist-types/commands/CreateTransitGatewayMeteringPolicyEntryCommand.d.ts +4 -4
  28. package/dist-types/commands/CreateTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  29. package/dist-types/commands/CreateTransitGatewayRouteCommand.d.ts +1 -1
  30. package/dist-types/commands/DeleteClientVpnEndpointCommand.d.ts +1 -1
  31. package/dist-types/commands/DeleteTrafficMirrorFilterCommand.d.ts +2 -1
  32. package/dist-types/commands/DeleteTrafficMirrorFilterRuleCommand.d.ts +1 -1
  33. package/dist-types/commands/DeleteTrafficMirrorSessionCommand.d.ts +1 -2
  34. package/dist-types/commands/DeleteTransitGatewayClientVpnAttachmentCommand.d.ts +82 -0
  35. package/dist-types/commands/DeleteTransitGatewayMeteringPolicyEntryCommand.d.ts +2 -2
  36. package/dist-types/commands/DeleteTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  37. package/dist-types/commands/DeleteTransitGatewayRouteCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeClientVpnEndpointsCommand.d.ts +11 -1
  39. package/dist-types/commands/DescribeClientVpnRoutesCommand.d.ts +1 -0
  40. package/dist-types/commands/DescribeClientVpnTargetNetworksCommand.d.ts +6 -0
  41. package/dist-types/commands/DescribeInstanceCreditSpecificationsCommand.d.ts +1 -1
  42. package/dist-types/commands/DescribeInstanceEventNotificationAttributesCommand.d.ts +1 -1
  43. package/dist-types/commands/DescribeInstanceEventWindowsCommand.d.ts +1 -1
  44. package/dist-types/commands/DescribeTagsCommand.d.ts +2 -1
  45. package/dist-types/commands/DescribeTrafficMirrorFilterRulesCommand.d.ts +1 -1
  46. package/dist-types/commands/DescribeTrafficMirrorFiltersCommand.d.ts +1 -1
  47. package/dist-types/commands/DescribeTrafficMirrorSessionsCommand.d.ts +1 -2
  48. package/dist-types/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +1 -1
  49. package/dist-types/commands/DisableTransitGatewayRouteTablePropagationCommand.d.ts +1 -1
  50. package/dist-types/commands/DisassociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  51. package/dist-types/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +1 -1
  52. package/dist-types/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +1 -1
  53. package/dist-types/commands/EnableTransitGatewayRouteTablePropagationCommand.d.ts +1 -1
  54. package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +2 -1
  55. package/dist-types/commands/GetCoipPoolUsageCommand.d.ts +1 -1
  56. package/dist-types/commands/GetConsoleOutputCommand.d.ts +1 -1
  57. package/dist-types/commands/GetTransitGatewayMeteringPolicyEntriesCommand.d.ts +2 -2
  58. package/dist-types/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
  59. package/dist-types/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +1 -1
  60. package/dist-types/commands/GetTransitGatewayPrefixListReferencesCommand.d.ts +1 -1
  61. package/dist-types/commands/GetTransitGatewayRouteTableAssociationsCommand.d.ts +1 -1
  62. package/dist-types/commands/GetTransitGatewayRouteTablePropagationsCommand.d.ts +1 -1
  63. package/dist-types/commands/ModifyClientVpnEndpointCommand.d.ts +9 -0
  64. package/dist-types/commands/ModifySnapshotAttributeCommand.d.ts +1 -1
  65. package/dist-types/commands/ModifySnapshotTierCommand.d.ts +1 -1
  66. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
  67. package/dist-types/commands/ModifySubnetAttributeCommand.d.ts +1 -1
  68. package/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  69. package/dist-types/commands/RejectTransitGatewayClientVpnAttachmentCommand.d.ts +82 -0
  70. package/dist-types/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
  71. package/dist-types/commands/ReplaceTransitGatewayRouteCommand.d.ts +1 -1
  72. package/dist-types/commands/SearchTransitGatewayMulticastGroupsCommand.d.ts +1 -1
  73. package/dist-types/commands/SearchTransitGatewayRoutesCommand.d.ts +1 -1
  74. package/dist-types/commands/index.d.ts +3 -0
  75. package/dist-types/endpoint/bdd.d.ts +2 -0
  76. package/dist-types/models/enums.d.ts +18 -0
  77. package/dist-types/models/models_0.d.ts +106 -181
  78. package/dist-types/models/models_1.d.ts +179 -119
  79. package/dist-types/models/models_2.d.ts +119 -56
  80. package/dist-types/models/models_3.d.ts +126 -205
  81. package/dist-types/models/models_4.d.ts +208 -266
  82. package/dist-types/models/models_5.d.ts +267 -292
  83. package/dist-types/models/models_6.d.ts +295 -238
  84. package/dist-types/models/models_7.d.ts +263 -3
  85. package/dist-types/schemas/schemas_0.d.ts +12 -0
  86. package/dist-types/ts3.4/EC2.d.ts +69 -0
  87. package/dist-types/ts3.4/EC2Client.d.ts +18 -0
  88. package/dist-types/ts3.4/commands/AcceptTransitGatewayClientVpnAttachmentCommand.d.ts +51 -0
  89. package/dist-types/ts3.4/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/CreateSecondaryNetworkCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/DeleteTrafficMirrorFilterCommand.d.ts +2 -4
  92. package/dist-types/ts3.4/commands/DeleteTrafficMirrorFilterRuleCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/DeleteTrafficMirrorSessionCommand.d.ts +4 -2
  94. package/dist-types/ts3.4/commands/DeleteTransitGatewayClientVpnAttachmentCommand.d.ts +51 -0
  95. package/dist-types/ts3.4/commands/DescribeInstanceCreditSpecificationsCommand.d.ts +1 -1
  96. package/dist-types/ts3.4/commands/DescribeInstanceEventNotificationAttributesCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/DescribeInstanceEventWindowsCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +2 -1
  99. package/dist-types/ts3.4/commands/DescribeTrafficMirrorFilterRulesCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/DescribeTrafficMirrorFiltersCommand.d.ts +1 -1
  101. package/dist-types/ts3.4/commands/DescribeTrafficMirrorSessionsCommand.d.ts +4 -2
  102. package/dist-types/ts3.4/commands/GetCapacityReservationUsageCommand.d.ts +2 -4
  103. package/dist-types/ts3.4/commands/GetCoipPoolUsageCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/GetConsoleOutputCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/ModifySnapshotAttributeCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/ModifySnapshotTierCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/ModifySubnetAttributeCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/RejectTransitGatewayClientVpnAttachmentCommand.d.ts +51 -0
  110. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  111. package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  112. package/dist-types/ts3.4/models/enums.d.ts +12 -0
  113. package/dist-types/ts3.4/models/models_0.d.ts +30 -36
  114. package/dist-types/ts3.4/models/models_1.d.ts +33 -33
  115. package/dist-types/ts3.4/models/models_2.d.ts +31 -15
  116. package/dist-types/ts3.4/models/models_3.d.ts +36 -33
  117. package/dist-types/ts3.4/models/models_4.d.ts +36 -44
  118. package/dist-types/ts3.4/models/models_5.d.ts +43 -48
  119. package/dist-types/ts3.4/models/models_6.d.ts +52 -51
  120. package/dist-types/ts3.4/models/models_7.d.ts +61 -0
  121. package/dist-types/ts3.4/schemas/schemas_0.d.ts +12 -0
  122. package/package.json +20 -20
  123. package/dist-cjs/endpoint/ruleset.js +0 -7
  124. package/dist-es/endpoint/ruleset.js +0 -4
  125. package/dist-types/endpoint/ruleset.d.ts +0 -2
  126. package/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
@@ -16,6 +16,8 @@ export declare var AcceptCapacityReservationBillingOwnershipRequest$: StaticStru
16
16
  export declare var AcceptCapacityReservationBillingOwnershipResult$: StaticStructureSchema;
17
17
  export declare var AcceptReservedInstancesExchangeQuoteRequest$: StaticStructureSchema;
18
18
  export declare var AcceptReservedInstancesExchangeQuoteResult$: StaticStructureSchema;
19
+ export declare var AcceptTransitGatewayClientVpnAttachmentRequest$: StaticStructureSchema;
20
+ export declare var AcceptTransitGatewayClientVpnAttachmentResult$: StaticStructureSchema;
19
21
  export declare var AcceptTransitGatewayMulticastDomainAssociationsRequest$: StaticStructureSchema;
20
22
  export declare var AcceptTransitGatewayMulticastDomainAssociationsResult$: StaticStructureSchema;
21
23
  export declare var AcceptTransitGatewayPeeringAttachmentRequest$: StaticStructureSchema;
@@ -605,6 +607,8 @@ export declare var DeleteTrafficMirrorSessionRequest$: StaticStructureSchema;
605
607
  export declare var DeleteTrafficMirrorSessionResult$: StaticStructureSchema;
606
608
  export declare var DeleteTrafficMirrorTargetRequest$: StaticStructureSchema;
607
609
  export declare var DeleteTrafficMirrorTargetResult$: StaticStructureSchema;
610
+ export declare var DeleteTransitGatewayClientVpnAttachmentRequest$: StaticStructureSchema;
611
+ export declare var DeleteTransitGatewayClientVpnAttachmentResult$: StaticStructureSchema;
608
612
  export declare var DeleteTransitGatewayConnectPeerRequest$: StaticStructureSchema;
609
613
  export declare var DeleteTransitGatewayConnectPeerResult$: StaticStructureSchema;
610
614
  export declare var DeleteTransitGatewayConnectRequest$: StaticStructureSchema;
@@ -1982,6 +1986,8 @@ export declare var RegisterTransitGatewayMulticastGroupSourcesRequest$: StaticSt
1982
1986
  export declare var RegisterTransitGatewayMulticastGroupSourcesResult$: StaticStructureSchema;
1983
1987
  export declare var RejectCapacityReservationBillingOwnershipRequest$: StaticStructureSchema;
1984
1988
  export declare var RejectCapacityReservationBillingOwnershipResult$: StaticStructureSchema;
1989
+ export declare var RejectTransitGatewayClientVpnAttachmentRequest$: StaticStructureSchema;
1990
+ export declare var RejectTransitGatewayClientVpnAttachmentResult$: StaticStructureSchema;
1985
1991
  export declare var RejectTransitGatewayMulticastDomainAssociationsRequest$: StaticStructureSchema;
1986
1992
  export declare var RejectTransitGatewayMulticastDomainAssociationsResult$: StaticStructureSchema;
1987
1993
  export declare var RejectTransitGatewayPeeringAttachmentRequest$: StaticStructureSchema;
@@ -2226,6 +2232,9 @@ export declare var TransitGatewayAttachment$: StaticStructureSchema;
2226
2232
  export declare var TransitGatewayAttachmentAssociation$: StaticStructureSchema;
2227
2233
  export declare var TransitGatewayAttachmentBgpConfiguration$: StaticStructureSchema;
2228
2234
  export declare var TransitGatewayAttachmentPropagation$: StaticStructureSchema;
2235
+ export declare var TransitGatewayClientVpnAttachment$: StaticStructureSchema;
2236
+ export declare var TransitGatewayConfigurationDescribeEndpointStructure$: StaticStructureSchema;
2237
+ export declare var TransitGatewayConfigurationInputStructure$: StaticStructureSchema;
2229
2238
  export declare var TransitGatewayConnect$: StaticStructureSchema;
2230
2239
  export declare var TransitGatewayConnectOptions$: StaticStructureSchema;
2231
2240
  export declare var TransitGatewayConnectPeer$: StaticStructureSchema;
@@ -2373,6 +2382,7 @@ export declare var WithdrawByoipCidrResult$: StaticStructureSchema;
2373
2382
  export declare var AcceptAddressTransfer$: StaticOperationSchema;
2374
2383
  export declare var AcceptCapacityReservationBillingOwnership$: StaticOperationSchema;
2375
2384
  export declare var AcceptReservedInstancesExchangeQuote$: StaticOperationSchema;
2385
+ export declare var AcceptTransitGatewayClientVpnAttachment$: StaticOperationSchema;
2376
2386
  export declare var AcceptTransitGatewayMulticastDomainAssociations$: StaticOperationSchema;
2377
2387
  export declare var AcceptTransitGatewayPeeringAttachment$: StaticOperationSchema;
2378
2388
  export declare var AcceptTransitGatewayVpcAttachment$: StaticOperationSchema;
@@ -2599,6 +2609,7 @@ export declare var DeleteTrafficMirrorFilterRule$: StaticOperationSchema;
2599
2609
  export declare var DeleteTrafficMirrorSession$: StaticOperationSchema;
2600
2610
  export declare var DeleteTrafficMirrorTarget$: StaticOperationSchema;
2601
2611
  export declare var DeleteTransitGateway$: StaticOperationSchema;
2612
+ export declare var DeleteTransitGatewayClientVpnAttachment$: StaticOperationSchema;
2602
2613
  export declare var DeleteTransitGatewayConnect$: StaticOperationSchema;
2603
2614
  export declare var DeleteTransitGatewayConnectPeer$: StaticOperationSchema;
2604
2615
  export declare var DeleteTransitGatewayMeteringPolicy$: StaticOperationSchema;
@@ -3068,6 +3079,7 @@ export declare var RegisterInstanceEventNotificationAttributes$: StaticOperation
3068
3079
  export declare var RegisterTransitGatewayMulticastGroupMembers$: StaticOperationSchema;
3069
3080
  export declare var RegisterTransitGatewayMulticastGroupSources$: StaticOperationSchema;
3070
3081
  export declare var RejectCapacityReservationBillingOwnership$: StaticOperationSchema;
3082
+ export declare var RejectTransitGatewayClientVpnAttachment$: StaticOperationSchema;
3071
3083
  export declare var RejectTransitGatewayMulticastDomainAssociations$: StaticOperationSchema;
3072
3084
  export declare var RejectTransitGatewayPeeringAttachment$: StaticOperationSchema;
3073
3085
  export declare var RejectTransitGatewayVpcAttachment$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ec2",
3
3
  "description": "AWS SDK for JavaScript Ec2 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-ec2",
@@ -25,48 +25,48 @@
25
25
  "dependencies": {
26
26
  "@aws-crypto/sha256-browser": "5.2.0",
27
27
  "@aws-crypto/sha256-js": "5.2.0",
28
- "@aws-sdk/core": "^3.974.1",
29
- "@aws-sdk/credential-provider-node": "^3.972.32",
28
+ "@aws-sdk/core": "^3.974.3",
29
+ "@aws-sdk/credential-provider-node": "^3.972.34",
30
30
  "@aws-sdk/middleware-host-header": "^3.972.10",
31
31
  "@aws-sdk/middleware-logger": "^3.972.10",
32
32
  "@aws-sdk/middleware-recursion-detection": "^3.972.11",
33
- "@aws-sdk/middleware-sdk-ec2": "^3.972.20",
34
- "@aws-sdk/middleware-user-agent": "^3.972.31",
35
- "@aws-sdk/region-config-resolver": "^3.972.12",
33
+ "@aws-sdk/middleware-sdk-ec2": "^3.972.21",
34
+ "@aws-sdk/middleware-user-agent": "^3.972.33",
35
+ "@aws-sdk/region-config-resolver": "^3.972.13",
36
36
  "@aws-sdk/types": "^3.973.8",
37
- "@aws-sdk/util-endpoints": "^3.996.7",
37
+ "@aws-sdk/util-endpoints": "^3.996.8",
38
38
  "@aws-sdk/util-user-agent-browser": "^3.972.10",
39
- "@aws-sdk/util-user-agent-node": "^3.973.17",
40
- "@smithy/config-resolver": "^4.4.16",
41
- "@smithy/core": "^3.23.15",
39
+ "@aws-sdk/util-user-agent-node": "^3.973.19",
40
+ "@smithy/config-resolver": "^4.4.17",
41
+ "@smithy/core": "^3.23.16",
42
42
  "@smithy/fetch-http-handler": "^5.3.17",
43
43
  "@smithy/hash-node": "^4.2.14",
44
44
  "@smithy/invalid-dependency": "^4.2.14",
45
45
  "@smithy/middleware-content-length": "^4.2.14",
46
- "@smithy/middleware-endpoint": "^4.4.30",
47
- "@smithy/middleware-retry": "^4.5.3",
48
- "@smithy/middleware-serde": "^4.2.18",
46
+ "@smithy/middleware-endpoint": "^4.4.31",
47
+ "@smithy/middleware-retry": "^4.5.4",
48
+ "@smithy/middleware-serde": "^4.2.19",
49
49
  "@smithy/middleware-stack": "^4.2.14",
50
50
  "@smithy/node-config-provider": "^4.3.14",
51
- "@smithy/node-http-handler": "^4.5.3",
51
+ "@smithy/node-http-handler": "^4.6.0",
52
52
  "@smithy/protocol-http": "^5.3.14",
53
- "@smithy/smithy-client": "^4.12.11",
53
+ "@smithy/smithy-client": "^4.12.12",
54
54
  "@smithy/types": "^4.14.1",
55
55
  "@smithy/url-parser": "^4.2.14",
56
56
  "@smithy/util-base64": "^4.3.2",
57
57
  "@smithy/util-body-length-browser": "^4.2.2",
58
58
  "@smithy/util-body-length-node": "^4.2.3",
59
- "@smithy/util-defaults-mode-browser": "^4.3.47",
60
- "@smithy/util-defaults-mode-node": "^4.2.52",
61
- "@smithy/util-endpoints": "^3.4.1",
59
+ "@smithy/util-defaults-mode-browser": "^4.3.48",
60
+ "@smithy/util-defaults-mode-node": "^4.2.53",
61
+ "@smithy/util-endpoints": "^3.4.2",
62
62
  "@smithy/util-middleware": "^4.2.14",
63
- "@smithy/util-retry": "^4.3.2",
63
+ "@smithy/util-retry": "^4.3.3",
64
64
  "@smithy/util-utf8": "^4.2.2",
65
65
  "@smithy/util-waiter": "^4.2.16",
66
66
  "tslib": "^2.6.2"
67
67
  },
68
68
  "devDependencies": {
69
- "@smithy/snapshot-testing": "^2.0.6",
69
+ "@smithy/snapshot-testing": "^2.0.7",
70
70
  "@tsconfig/node20": "20.1.8",
71
71
  "@types/node": "^20.14.8",
72
72
  "concurrently": "7.0.0",
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ruleSet = void 0;
4
- const u = "required", v = "fn", w = "argv", x = "ref";
5
- const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, "type": "string" }, j = { [u]: true, "default": false, "type": "boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }];
6
- const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: "https://ec2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://ec2.{Region}.amazonaws.com", properties: n, headers: n }, type: e }, { endpoint: { url: "https://ec2-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: "https://ec2.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://ec2.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
7
- exports.ruleSet = _data;
@@ -1,4 +0,0 @@
1
- const u = "required", v = "fn", w = "argv", x = "ref";
2
- const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, "type": "string" }, j = { [u]: true, "default": false, "type": "boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }];
3
- const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: "https://ec2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://ec2.{Region}.amazonaws.com", properties: n, headers: n }, type: e }, { endpoint: { url: "https://ec2-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: "https://ec2.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://ec2.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
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;