@aws-sdk/client-ec2 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.
- package/README.md +21 -0
- package/dist-cjs/endpoint/bdd.js +52 -0
- package/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/dist-cjs/index.js +53 -0
- package/dist-cjs/schemas/schemas_0.js +183 -85
- package/dist-es/EC2.js +6 -0
- package/dist-es/commands/AcceptTransitGatewayClientVpnAttachmentCommand.js +16 -0
- package/dist-es/commands/DeleteTransitGatewayClientVpnAttachmentCommand.js +16 -0
- package/dist-es/commands/RejectTransitGatewayClientVpnAttachmentCommand.js +16 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoint/bdd.js +49 -0
- package/dist-es/endpoint/endpointResolver.js +3 -3
- package/dist-es/models/enums.js +10 -0
- package/dist-es/schemas/schemas_0.js +120 -22
- package/dist-types/EC2.d.ts +21 -0
- package/dist-types/EC2Client.d.ts +5 -2
- package/dist-types/commands/AcceptTransitGatewayClientVpnAttachmentCommand.d.ts +82 -0
- package/dist-types/commands/AcceptTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/AssociateClientVpnTargetNetworkCommand.d.ts +3 -1
- package/dist-types/commands/AssociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
- package/dist-types/commands/AssociateTransitGatewayPolicyTableCommand.d.ts +1 -1
- package/dist-types/commands/AssociateTransitGatewayRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +10 -1
- package/dist-types/commands/CreateClientVpnRouteCommand.d.ts +1 -1
- package/dist-types/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateSecondaryNetworkCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayMeteringPolicyEntryCommand.d.ts +4 -4
- package/dist-types/commands/CreateTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayRouteCommand.d.ts +1 -1
- package/dist-types/commands/DeleteClientVpnEndpointCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTrafficMirrorFilterCommand.d.ts +2 -1
- package/dist-types/commands/DeleteTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTrafficMirrorSessionCommand.d.ts +1 -2
- package/dist-types/commands/DeleteTransitGatewayClientVpnAttachmentCommand.d.ts +82 -0
- package/dist-types/commands/DeleteTransitGatewayMeteringPolicyEntryCommand.d.ts +2 -2
- package/dist-types/commands/DeleteTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTransitGatewayRouteCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClientVpnEndpointsCommand.d.ts +11 -1
- package/dist-types/commands/DescribeClientVpnRoutesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeClientVpnTargetNetworksCommand.d.ts +6 -0
- package/dist-types/commands/DescribeInstanceCreditSpecificationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceEventNotificationAttributesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceEventWindowsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTagsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeTrafficMirrorFilterRulesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrafficMirrorFiltersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrafficMirrorSessionsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +1 -1
- package/dist-types/commands/DisableTransitGatewayRouteTablePropagationCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/EnableTransitGatewayRouteTablePropagationCommand.d.ts +1 -1
- package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +2 -1
- package/dist-types/commands/GetCoipPoolUsageCommand.d.ts +1 -1
- package/dist-types/commands/GetConsoleOutputCommand.d.ts +1 -1
- package/dist-types/commands/GetTransitGatewayMeteringPolicyEntriesCommand.d.ts +2 -2
- package/dist-types/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/GetTransitGatewayPrefixListReferencesCommand.d.ts +1 -1
- package/dist-types/commands/GetTransitGatewayRouteTableAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/GetTransitGatewayRouteTablePropagationsCommand.d.ts +1 -1
- package/dist-types/commands/ModifyClientVpnEndpointCommand.d.ts +9 -0
- package/dist-types/commands/ModifySnapshotAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ModifySnapshotTierCommand.d.ts +1 -1
- package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
- package/dist-types/commands/ModifySubnetAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
- package/dist-types/commands/RejectTransitGatewayClientVpnAttachmentCommand.d.ts +82 -0
- package/dist-types/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ReplaceTransitGatewayRouteCommand.d.ts +1 -1
- package/dist-types/commands/SearchTransitGatewayMulticastGroupsCommand.d.ts +1 -1
- package/dist-types/commands/SearchTransitGatewayRoutesCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/models/enums.d.ts +18 -0
- package/dist-types/models/models_0.d.ts +106 -181
- package/dist-types/models/models_1.d.ts +179 -119
- package/dist-types/models/models_2.d.ts +119 -56
- package/dist-types/models/models_3.d.ts +126 -205
- package/dist-types/models/models_4.d.ts +208 -266
- package/dist-types/models/models_5.d.ts +267 -292
- package/dist-types/models/models_6.d.ts +295 -238
- package/dist-types/models/models_7.d.ts +263 -3
- package/dist-types/schemas/schemas_0.d.ts +12 -0
- package/dist-types/ts3.4/EC2.d.ts +69 -0
- package/dist-types/ts3.4/EC2Client.d.ts +18 -0
- package/dist-types/ts3.4/commands/AcceptTransitGatewayClientVpnAttachmentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateSecondaryNetworkCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTrafficMirrorFilterCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeleteTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTrafficMirrorSessionCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteTransitGatewayClientVpnAttachmentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeInstanceCreditSpecificationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeInstanceEventNotificationAttributesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeInstanceEventWindowsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeTrafficMirrorFilterRulesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTrafficMirrorFiltersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTrafficMirrorSessionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetCapacityReservationUsageCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetCoipPoolUsageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetConsoleOutputCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifySnapshotAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifySnapshotTierCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifySubnetAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RejectTransitGatewayClientVpnAttachmentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +12 -0
- package/dist-types/ts3.4/models/models_0.d.ts +30 -36
- package/dist-types/ts3.4/models/models_1.d.ts +33 -33
- package/dist-types/ts3.4/models/models_2.d.ts +31 -15
- package/dist-types/ts3.4/models/models_3.d.ts +36 -33
- package/dist-types/ts3.4/models/models_4.d.ts +36 -44
- package/dist-types/ts3.4/models/models_5.d.ts +43 -48
- package/dist-types/ts3.4/models/models_6.d.ts +52 -51
- package/dist-types/ts3.4/models/models_7.d.ts +61 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +12 -0
- package/package.json +5 -5
- package/dist-cjs/endpoint/ruleset.js +0 -7
- package/dist-es/endpoint/ruleset.js +0 -4
- package/dist-types/endpoint/ruleset.d.ts +0 -2
- 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.
|
|
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-ec2",
|
|
@@ -25,18 +25,18 @@
|
|
|
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.
|
|
29
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
28
|
+
"@aws-sdk/core": "^3.974.2",
|
|
29
|
+
"@aws-sdk/credential-provider-node": "^3.972.33",
|
|
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
33
|
"@aws-sdk/middleware-sdk-ec2": "^3.972.20",
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "^3.972.32",
|
|
35
35
|
"@aws-sdk/region-config-resolver": "^3.972.12",
|
|
36
36
|
"@aws-sdk/types": "^3.973.8",
|
|
37
37
|
"@aws-sdk/util-endpoints": "^3.996.7",
|
|
38
38
|
"@aws-sdk/util-user-agent-browser": "^3.972.10",
|
|
39
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
39
|
+
"@aws-sdk/util-user-agent-node": "^3.973.18",
|
|
40
40
|
"@smithy/config-resolver": "^4.4.16",
|
|
41
41
|
"@smithy/core": "^3.23.15",
|
|
42
42
|
"@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 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;
|