@aws-sdk/client-ec2 3.36.1 → 3.40.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/CHANGELOG.md +46 -0
- package/dist-cjs/EC2.js +30 -0
- package/dist-cjs/commands/CreateFleetCommand.js +2 -1
- package/dist-cjs/commands/CreateFlowLogsCommand.js +3 -3
- package/dist-cjs/commands/CreateFpgaImageCommand.js +3 -3
- package/dist-cjs/commands/CreateImageCommand.js +3 -3
- package/dist-cjs/commands/CreateInstanceEventWindowCommand.js +1 -2
- package/dist-cjs/commands/CreateVpcEndpointServiceConfigurationCommand.js +3 -3
- package/dist-cjs/commands/CreateVpcPeeringConnectionCommand.js +3 -3
- package/dist-cjs/commands/CreateVpnConnectionCommand.js +1 -2
- package/dist-cjs/commands/DescribeHostsCommand.js +2 -1
- package/dist-cjs/commands/DescribeIamInstanceProfileAssociationsCommand.js +3 -3
- package/dist-cjs/commands/DescribeIdFormatCommand.js +3 -3
- package/dist-cjs/commands/DescribeIdentityIdFormatCommand.js +3 -3
- package/dist-cjs/commands/DescribeImageAttributeCommand.js +3 -3
- package/dist-cjs/commands/DescribeImagesCommand.js +3 -3
- package/dist-cjs/commands/DescribeImportImageTasksCommand.js +1 -2
- package/dist-cjs/commands/DescribeTagsCommand.js +3 -3
- package/dist-cjs/commands/DescribeTrafficMirrorFiltersCommand.js +3 -3
- package/dist-cjs/commands/DescribeTrafficMirrorSessionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeTrafficMirrorTargetsCommand.js +3 -3
- package/dist-cjs/commands/DescribeTransitGatewayAttachmentsCommand.js +3 -3
- package/dist-cjs/commands/DescribeTransitGatewayConnectPeersCommand.js +3 -3
- package/dist-cjs/commands/DescribeTransitGatewayConnectsCommand.js +3 -3
- package/dist-cjs/commands/DescribeTransitGatewayMulticastDomainsCommand.js +3 -3
- package/dist-cjs/commands/DescribeTransitGatewayPeeringAttachmentsCommand.js +3 -3
- package/dist-cjs/commands/DescribeTransitGatewayRouteTablesCommand.js +3 -3
- package/dist-cjs/commands/DescribeTransitGatewayVpcAttachmentsCommand.js +3 -3
- package/dist-cjs/commands/DescribeTransitGatewaysCommand.js +3 -3
- package/dist-cjs/commands/DescribeTrunkInterfaceAssociationsCommand.js +3 -3
- package/dist-cjs/commands/DescribeVolumeAttributeCommand.js +3 -3
- package/dist-cjs/commands/GetInstanceTypesFromInstanceRequirementsCommand.js +36 -0
- package/dist-cjs/commands/GetSpotPlacementScoresCommand.js +36 -0
- package/dist-cjs/commands/ModifyInstanceCreditSpecificationCommand.js +2 -1
- package/dist-cjs/commands/ModifyInstanceEventStartTimeCommand.js +3 -3
- package/dist-cjs/commands/ModifyInstanceEventWindowCommand.js +3 -3
- package/dist-cjs/commands/ModifyInstanceMetadataOptionsCommand.js +3 -3
- package/dist-cjs/commands/ModifyInstancePlacementCommand.js +3 -3
- package/dist-cjs/commands/ModifyLaunchTemplateCommand.js +3 -3
- package/dist-cjs/commands/ModifyManagedPrefixListCommand.js +3 -3
- package/dist-cjs/commands/ModifyNetworkInterfaceAttributeCommand.js +2 -2
- package/dist-cjs/commands/ModifyReservedInstancesCommand.js +3 -3
- package/dist-cjs/commands/ModifySecurityGroupRulesCommand.js +3 -3
- package/dist-cjs/commands/ModifySnapshotAttributeCommand.js +2 -2
- package/dist-cjs/commands/ModifySpotFleetRequestCommand.js +3 -3
- package/dist-cjs/commands/ModifySubnetAttributeCommand.js +2 -2
- package/dist-cjs/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.js +3 -3
- package/dist-cjs/commands/ModifyTrafficMirrorFilterRuleCommand.js +3 -3
- package/dist-cjs/commands/ModifyTrafficMirrorSessionCommand.js +1 -2
- package/dist-cjs/commands/index.js +476 -0
- package/dist-cjs/endpoints.js +187 -23
- package/dist-cjs/index.js +5 -609
- package/dist-cjs/models/models_0.js +144 -108
- package/dist-cjs/models/models_1.js +153 -181
- package/dist-cjs/models/models_2.js +188 -144
- package/dist-cjs/models/models_3.js +150 -192
- package/dist-cjs/models/models_4.js +234 -223
- package/dist-cjs/models/models_5.js +222 -4
- package/dist-cjs/pagination/GetInstanceTypesFromInstanceRequirementsPaginator.js +35 -0
- package/dist-cjs/pagination/GetSpotPlacementScoresPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +109 -0
- package/dist-cjs/protocols/Aws_ec2.js +2226 -915
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-cjs/waiters/index.js +35 -0
- package/dist-es/EC2.js +30 -0
- package/dist-es/commands/CreateFleetCommand.js +2 -1
- package/dist-es/commands/CreateFlowLogsCommand.js +1 -1
- package/dist-es/commands/CreateFpgaImageCommand.js +1 -1
- package/dist-es/commands/CreateImageCommand.js +1 -1
- package/dist-es/commands/CreateInstanceEventWindowCommand.js +1 -2
- package/dist-es/commands/CreateVpcEndpointServiceConfigurationCommand.js +1 -1
- package/dist-es/commands/CreateVpcPeeringConnectionCommand.js +1 -1
- package/dist-es/commands/CreateVpnConnectionCommand.js +1 -2
- package/dist-es/commands/DescribeHostsCommand.js +2 -1
- package/dist-es/commands/DescribeIamInstanceProfileAssociationsCommand.js +1 -1
- package/dist-es/commands/DescribeIdFormatCommand.js +1 -1
- package/dist-es/commands/DescribeIdentityIdFormatCommand.js +1 -1
- package/dist-es/commands/DescribeImageAttributeCommand.js +1 -1
- package/dist-es/commands/DescribeImagesCommand.js +1 -1
- package/dist-es/commands/DescribeImportImageTasksCommand.js +1 -2
- package/dist-es/commands/DescribeTagsCommand.js +1 -1
- package/dist-es/commands/DescribeTrafficMirrorFiltersCommand.js +1 -1
- package/dist-es/commands/DescribeTrafficMirrorSessionsCommand.js +1 -1
- package/dist-es/commands/DescribeTrafficMirrorTargetsCommand.js +1 -1
- package/dist-es/commands/DescribeTransitGatewayAttachmentsCommand.js +1 -1
- package/dist-es/commands/DescribeTransitGatewayConnectPeersCommand.js +1 -1
- package/dist-es/commands/DescribeTransitGatewayConnectsCommand.js +1 -1
- package/dist-es/commands/DescribeTransitGatewayMulticastDomainsCommand.js +1 -1
- package/dist-es/commands/DescribeTransitGatewayPeeringAttachmentsCommand.js +1 -1
- package/dist-es/commands/DescribeTransitGatewayRouteTablesCommand.js +1 -1
- package/dist-es/commands/DescribeTransitGatewayVpcAttachmentsCommand.js +1 -1
- package/dist-es/commands/DescribeTransitGatewaysCommand.js +1 -1
- package/dist-es/commands/DescribeTrunkInterfaceAssociationsCommand.js +1 -1
- package/dist-es/commands/DescribeVolumeAttributeCommand.js +1 -1
- package/dist-es/commands/GetInstanceTypesFromInstanceRequirementsCommand.js +39 -0
- package/dist-es/commands/GetSpotPlacementScoresCommand.js +39 -0
- package/dist-es/commands/ModifyInstanceCreditSpecificationCommand.js +2 -1
- package/dist-es/commands/ModifyInstanceEventStartTimeCommand.js +1 -1
- package/dist-es/commands/ModifyInstanceEventWindowCommand.js +1 -1
- package/dist-es/commands/ModifyInstanceMetadataOptionsCommand.js +1 -1
- package/dist-es/commands/ModifyInstancePlacementCommand.js +1 -1
- package/dist-es/commands/ModifyLaunchTemplateCommand.js +1 -1
- package/dist-es/commands/ModifyManagedPrefixListCommand.js +1 -1
- package/dist-es/commands/ModifyNetworkInterfaceAttributeCommand.js +1 -1
- package/dist-es/commands/ModifyReservedInstancesCommand.js +1 -1
- package/dist-es/commands/ModifySecurityGroupRulesCommand.js +1 -1
- package/dist-es/commands/ModifySnapshotAttributeCommand.js +1 -1
- package/dist-es/commands/ModifySpotFleetRequestCommand.js +1 -1
- package/dist-es/commands/ModifySubnetAttributeCommand.js +1 -1
- package/dist-es/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.js +1 -1
- package/dist-es/commands/ModifyTrafficMirrorFilterRuleCommand.js +1 -1
- package/dist-es/commands/ModifyTrafficMirrorSessionCommand.js +1 -2
- package/dist-es/commands/index.js +473 -0
- package/dist-es/endpoints.js +187 -23
- package/dist-es/index.js +5 -609
- package/dist-es/models/models_0.js +116 -73
- package/dist-es/models/models_1.js +102 -124
- package/dist-es/models/models_2.js +128 -92
- package/dist-es/models/models_3.js +98 -124
- package/dist-es/models/models_4.js +152 -147
- package/dist-es/models/models_5.js +147 -0
- package/dist-es/pagination/GetInstanceTypesFromInstanceRequirementsPaginator.js +74 -0
- package/dist-es/pagination/GetSpotPlacementScoresPaginator.js +74 -0
- package/dist-es/pagination/index.js +106 -0
- package/dist-es/protocols/Aws_ec2.js +3652 -2148
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-es/waiters/index.js +32 -0
- package/dist-types/EC2.d.ts +54 -22
- package/dist-types/EC2Client.d.ts +12 -2
- package/dist-types/commands/CreateFleetCommand.d.ts +2 -1
- package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
- package/dist-types/commands/CreateFpgaImageCommand.d.ts +2 -2
- package/dist-types/commands/CreateImageCommand.d.ts +1 -1
- package/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -2
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcEndpointCommand.d.ts +6 -5
- package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -2
- package/dist-types/commands/DescribeAvailabilityZonesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeFleetHistoryCommand.d.ts +2 -1
- package/dist-types/commands/DescribeFpgaImagesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeHostsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeIdFormatCommand.d.ts +2 -2
- package/dist-types/commands/DescribeIdentityIdFormatCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImageAttributeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImagesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImportImageTasksCommand.d.ts +1 -2
- package/dist-types/commands/DescribeRegionsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +2 -0
- package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrafficMirrorFiltersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrafficMirrorSessionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrafficMirrorTargetsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayConnectPeersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayConnectsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVolumeAttributeCommand.d.ts +1 -1
- package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +44 -0
- package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +42 -0
- package/dist-types/commands/GetVpnConnectionDeviceSampleConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/ModifyIdFormatCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceCreditSpecificationCommand.d.ts +2 -1
- package/dist-types/commands/ModifyInstanceEventStartTimeCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceEventWindowCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceMetadataOptionsCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstancePlacementCommand.d.ts +1 -1
- package/dist-types/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
- package/dist-types/commands/ModifyManagedPrefixListCommand.d.ts +1 -1
- package/dist-types/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +1 -1
- package/dist-types/commands/ModifySecurityGroupRulesCommand.d.ts +1 -1
- package/dist-types/commands/ModifySnapshotAttributeCommand.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/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -3
- package/dist-types/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -2
- package/dist-types/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +473 -0
- package/dist-types/index.d.ts +5 -609
- package/dist-types/models/models_0.d.ts +610 -699
- package/dist-types/models/models_1.d.ts +4710 -4496
- package/dist-types/models/models_2.d.ts +4647 -4707
- package/dist-types/models/models_3.d.ts +6978 -6938
- package/dist-types/models/models_4.d.ts +4834 -4487
- package/dist-types/models/models_5.d.ts +974 -20
- package/dist-types/pagination/GetInstanceTypesFromInstanceRequirementsPaginator.d.ts +4 -0
- package/dist-types/pagination/GetSpotPlacementScoresPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +106 -0
- package/dist-types/protocols/Aws_ec2.d.ts +6 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/EC2.d.ts +10 -0
- package/dist-types/ts3.4/EC2Client.d.ts +8 -2
- package/dist-types/ts3.4/commands/CreateFleetCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreateFlowLogsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateFpgaImageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateImageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateInstanceEventWindowCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateVpnConnectionCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/DescribeHostsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeIdFormatCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeIdentityIdFormatCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeImageAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeImportImageTasksCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTrafficMirrorFiltersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTrafficMirrorSessionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTrafficMirrorTargetsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayConnectPeersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayConnectsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeVolumeAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSpotPlacementScoresCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ModifyInstanceCreditSpecificationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ModifyInstanceEventStartTimeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyInstanceEventWindowCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyInstanceMetadataOptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyInstancePlacementCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyManagedPrefixListCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyReservedInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifySecurityGroupRulesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifySnapshotAttributeCommand.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/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/index.d.ts +473 -0
- package/dist-types/ts3.4/index.d.ts +5 -609
- package/dist-types/ts3.4/models/models_0.d.ts +231 -266
- package/dist-types/ts3.4/models/models_1.d.ts +401 -417
- package/dist-types/ts3.4/models/models_2.d.ts +439 -413
- package/dist-types/ts3.4/models/models_3.d.ts +2348 -2330
- package/dist-types/ts3.4/models/models_4.d.ts +2003 -1964
- package/dist-types/ts3.4/models/models_5.d.ts +485 -7
- package/dist-types/ts3.4/pagination/GetInstanceTypesFromInstanceRequirementsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetSpotPlacementScoresPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +106 -0
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/waiters/index.d.ts +32 -0
- package/dist-types/waiters/index.d.ts +32 -0
- package/package.json +34 -34
package/dist-cjs/endpoints.js
CHANGED
|
@@ -3,34 +3,132 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.defaultRegionInfoProvider = void 0;
|
|
4
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
5
|
const regionHash = {
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
"ap-south-1": {
|
|
7
|
+
variants: [
|
|
8
|
+
{
|
|
9
|
+
hostname: "ec2.ap-south-1.amazonaws.com",
|
|
10
|
+
tags: [],
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
hostname: "api.ec2.ap-south-1.aws",
|
|
14
|
+
tags: ["dualstack"],
|
|
15
|
+
},
|
|
16
|
+
],
|
|
9
17
|
},
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
18
|
+
"ca-central-1": {
|
|
19
|
+
variants: [
|
|
20
|
+
{
|
|
21
|
+
hostname: "ec2.ca-central-1.amazonaws.com",
|
|
22
|
+
tags: [],
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
hostname: "ec2-fips.ca-central-1.amazonaws.com",
|
|
26
|
+
tags: ["fips"],
|
|
27
|
+
},
|
|
28
|
+
],
|
|
13
29
|
},
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
30
|
+
"eu-west-1": {
|
|
31
|
+
variants: [
|
|
32
|
+
{
|
|
33
|
+
hostname: "ec2.eu-west-1.amazonaws.com",
|
|
34
|
+
tags: [],
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
hostname: "api.ec2.eu-west-1.aws",
|
|
38
|
+
tags: ["dualstack"],
|
|
39
|
+
},
|
|
40
|
+
],
|
|
17
41
|
},
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
42
|
+
"sa-east-1": {
|
|
43
|
+
variants: [
|
|
44
|
+
{
|
|
45
|
+
hostname: "ec2.sa-east-1.amazonaws.com",
|
|
46
|
+
tags: [],
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
hostname: "api.ec2.sa-east-1.aws",
|
|
50
|
+
tags: ["dualstack"],
|
|
51
|
+
},
|
|
52
|
+
],
|
|
21
53
|
},
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
|
|
54
|
+
"us-east-1": {
|
|
55
|
+
variants: [
|
|
56
|
+
{
|
|
57
|
+
hostname: "ec2.us-east-1.amazonaws.com",
|
|
58
|
+
tags: [],
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
hostname: "api.ec2.us-east-1.aws",
|
|
62
|
+
tags: ["dualstack"],
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
hostname: "ec2-fips.us-east-1.amazonaws.com",
|
|
66
|
+
tags: ["fips"],
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
},
|
|
70
|
+
"us-east-2": {
|
|
71
|
+
variants: [
|
|
72
|
+
{
|
|
73
|
+
hostname: "ec2.us-east-2.amazonaws.com",
|
|
74
|
+
tags: [],
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
hostname: "api.ec2.us-east-2.aws",
|
|
78
|
+
tags: ["dualstack"],
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
hostname: "ec2-fips.us-east-2.amazonaws.com",
|
|
82
|
+
tags: ["fips"],
|
|
83
|
+
},
|
|
84
|
+
],
|
|
25
85
|
},
|
|
26
86
|
"us-gov-east-1": {
|
|
27
|
-
|
|
87
|
+
variants: [
|
|
88
|
+
{
|
|
89
|
+
hostname: "ec2.us-gov-east-1.amazonaws.com",
|
|
90
|
+
tags: [],
|
|
91
|
+
},
|
|
92
|
+
],
|
|
28
93
|
signingRegion: "us-gov-east-1",
|
|
29
94
|
},
|
|
30
95
|
"us-gov-west-1": {
|
|
31
|
-
|
|
96
|
+
variants: [
|
|
97
|
+
{
|
|
98
|
+
hostname: "ec2.us-gov-west-1.amazonaws.com",
|
|
99
|
+
tags: [],
|
|
100
|
+
},
|
|
101
|
+
],
|
|
32
102
|
signingRegion: "us-gov-west-1",
|
|
33
103
|
},
|
|
104
|
+
"us-west-1": {
|
|
105
|
+
variants: [
|
|
106
|
+
{
|
|
107
|
+
hostname: "ec2.us-west-1.amazonaws.com",
|
|
108
|
+
tags: [],
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
hostname: "ec2-fips.us-west-1.amazonaws.com",
|
|
112
|
+
tags: ["fips"],
|
|
113
|
+
},
|
|
114
|
+
],
|
|
115
|
+
},
|
|
116
|
+
"us-west-2": {
|
|
117
|
+
variants: [
|
|
118
|
+
{
|
|
119
|
+
hostname: "ec2.us-west-2.amazonaws.com",
|
|
120
|
+
tags: [],
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
hostname: "api.ec2.us-west-2.aws",
|
|
124
|
+
tags: ["dualstack"],
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
hostname: "ec2-fips.us-west-2.amazonaws.com",
|
|
128
|
+
tags: ["fips"],
|
|
129
|
+
},
|
|
130
|
+
],
|
|
131
|
+
},
|
|
34
132
|
};
|
|
35
133
|
const partitionHash = {
|
|
36
134
|
aws: {
|
|
@@ -62,23 +160,89 @@ const partitionHash = {
|
|
|
62
160
|
"us-west-1",
|
|
63
161
|
"us-west-2",
|
|
64
162
|
],
|
|
65
|
-
|
|
163
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
164
|
+
variants: [
|
|
165
|
+
{
|
|
166
|
+
hostname: "ec2.{region}.amazonaws.com",
|
|
167
|
+
tags: [],
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
hostname: "ec2-fips.{region}.amazonaws.com",
|
|
171
|
+
tags: ["fips"],
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
hostname: "ec2-fips.{region}.api.aws",
|
|
175
|
+
tags: ["dualstack", "fips"],
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
hostname: "ec2.{region}.api.aws",
|
|
179
|
+
tags: ["dualstack"],
|
|
180
|
+
},
|
|
181
|
+
],
|
|
66
182
|
},
|
|
67
183
|
"aws-cn": {
|
|
68
184
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
69
|
-
|
|
185
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
186
|
+
variants: [
|
|
187
|
+
{
|
|
188
|
+
hostname: "ec2.{region}.amazonaws.com.cn",
|
|
189
|
+
tags: [],
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
hostname: "ec2-fips.{region}.amazonaws.com.cn",
|
|
193
|
+
tags: ["fips"],
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
hostname: "ec2-fips.{region}.api.amazonwebservices.com.cn",
|
|
197
|
+
tags: ["dualstack", "fips"],
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
hostname: "ec2.{region}.api.amazonwebservices.com.cn",
|
|
201
|
+
tags: ["dualstack"],
|
|
202
|
+
},
|
|
203
|
+
],
|
|
70
204
|
},
|
|
71
205
|
"aws-iso": {
|
|
72
|
-
regions: ["us-iso-east-1"],
|
|
73
|
-
|
|
206
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
207
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
208
|
+
variants: [
|
|
209
|
+
{
|
|
210
|
+
hostname: "ec2.{region}.c2s.ic.gov",
|
|
211
|
+
tags: [],
|
|
212
|
+
},
|
|
213
|
+
],
|
|
74
214
|
},
|
|
75
215
|
"aws-iso-b": {
|
|
76
216
|
regions: ["us-isob-east-1"],
|
|
77
|
-
|
|
217
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
218
|
+
variants: [
|
|
219
|
+
{
|
|
220
|
+
hostname: "ec2.{region}.sc2s.sgov.gov",
|
|
221
|
+
tags: [],
|
|
222
|
+
},
|
|
223
|
+
],
|
|
78
224
|
},
|
|
79
225
|
"aws-us-gov": {
|
|
80
226
|
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
81
|
-
|
|
227
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
228
|
+
variants: [
|
|
229
|
+
{
|
|
230
|
+
hostname: "ec2.{region}.amazonaws.com",
|
|
231
|
+
tags: [],
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
hostname: "ec2-fips.{region}.amazonaws.com",
|
|
235
|
+
tags: ["fips"],
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
hostname: "ec2-fips.{region}.api.aws",
|
|
239
|
+
tags: ["dualstack", "fips"],
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
hostname: "ec2.{region}.api.aws",
|
|
243
|
+
tags: ["dualstack"],
|
|
244
|
+
},
|
|
245
|
+
],
|
|
82
246
|
},
|
|
83
247
|
};
|
|
84
248
|
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|