@aws-sdk/client-ec2 3.1157.0 → 3.1159.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 +14 -0
- package/dist-cjs/index.js +320 -90
- package/dist-es/EC2.js +6 -0
- package/dist-es/commands/GetCapacityManagerSupportabilityScoresCommand.js +4 -0
- package/dist-es/commands/GetImageFindingsCommand.js +4 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/enums.js +59 -29
- package/dist-es/pagination/GetImageFindingsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +231 -60
- package/dist-types/EC2.d.ts +21 -0
- package/dist-types/EC2Client.d.ts +4 -2
- package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +82 -1
- package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -2
- package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +81 -0
- package/dist-types/commands/DescribeImagesCommand.d.ts +9 -0
- package/dist-types/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +1 -2
- package/dist-types/commands/GetAllowedImagesSettingsCommand.d.ts +9 -0
- package/dist-types/commands/GetCapacityManagerMetricDataCommand.d.ts +2 -2
- package/dist-types/commands/GetCapacityManagerMetricDimensionsCommand.d.ts +1 -1
- package/dist-types/commands/GetCapacityManagerSupportabilityScoresCommand.d.ts +183 -0
- package/dist-types/commands/GetImageFindingsCommand.d.ts +90 -0
- package/dist-types/commands/GetVerifiedAccessEndpointTargetsCommand.d.ts +2 -1
- package/dist-types/commands/GetVerifiedAccessGroupPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetVpcResourcesBlockingEncryptionEnforcementCommand.d.ts +1 -1
- package/dist-types/commands/GetVpnConnectionDeviceSampleConfigurationCommand.d.ts +1 -2
- package/dist-types/commands/RejectTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/RejectTransitGatewayVpcAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/RejectVpcEndpointConnectionsCommand.d.ts +1 -1
- package/dist-types/commands/RejectVpcPeeringConnectionCommand.d.ts +1 -1
- package/dist-types/commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand.d.ts +9 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/enums.d.ts +139 -77
- package/dist-types/models/models_0.d.ts +109 -281
- package/dist-types/models/models_1.d.ts +1775 -1588
- package/dist-types/models/models_2.d.ts +2 -2
- package/dist-types/models/models_3.d.ts +17 -2
- package/dist-types/models/models_4.d.ts +175 -55
- package/dist-types/models/models_5.d.ts +55 -23
- package/dist-types/models/models_6.d.ts +397 -202
- package/dist-types/models/models_7.d.ts +176 -114
- package/dist-types/models/models_8.d.ts +230 -2
- package/dist-types/pagination/GetImageFindingsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +11 -0
- package/dist-types/ts3.4/EC2.d.ts +41 -0
- package/dist-types/ts3.4/EC2Client.d.ts +12 -0
- package/dist-types/ts3.4/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateCarrierGatewayCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetCapacityManagerSupportabilityScoresCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetImageFindingsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetVerifiedAccessEndpointTargetsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetVerifiedAccessGroupPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetVpcResourcesBlockingEncryptionEnforcementCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetVpnConnectionDeviceSampleConfigurationCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/RejectTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RejectTransitGatewayVpcAttachmentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RejectVpcEndpointConnectionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RejectVpcPeeringConnectionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +70 -35
- package/dist-types/ts3.4/models/models_0.d.ts +15 -57
- package/dist-types/ts3.4/models/models_1.d.ts +115 -66
- package/dist-types/ts3.4/models/models_2.d.ts +1 -1
- package/dist-types/ts3.4/models/models_3.d.ts +6 -2
- package/dist-types/ts3.4/models/models_4.d.ts +11 -11
- package/dist-types/ts3.4/models/models_5.d.ts +13 -6
- package/dist-types/ts3.4/models/models_6.d.ts +62 -45
- package/dist-types/ts3.4/models/models_7.d.ts +40 -30
- package/dist-types/ts3.4/models/models_8.d.ts +42 -0
- package/dist-types/ts3.4/pagination/GetImageFindingsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +11 -0
- package/package.json +4 -4
package/dist-es/EC2.js
CHANGED
|
@@ -560,6 +560,7 @@ import { GetCapacityManagerAttributesCommand, } from "./commands/GetCapacityMana
|
|
|
560
560
|
import { GetCapacityManagerMetricDataCommand, } from "./commands/GetCapacityManagerMetricDataCommand";
|
|
561
561
|
import { GetCapacityManagerMetricDimensionsCommand, } from "./commands/GetCapacityManagerMetricDimensionsCommand";
|
|
562
562
|
import { GetCapacityManagerMonitoredTagKeysCommand, } from "./commands/GetCapacityManagerMonitoredTagKeysCommand";
|
|
563
|
+
import { GetCapacityManagerSupportabilityScoresCommand, } from "./commands/GetCapacityManagerSupportabilityScoresCommand";
|
|
563
564
|
import { GetCapacityReservationUsageCommand, } from "./commands/GetCapacityReservationUsageCommand";
|
|
564
565
|
import { GetClientVpnEndpointAuthorizationPolicyCommand, } from "./commands/GetClientVpnEndpointAuthorizationPolicyCommand";
|
|
565
566
|
import { GetCoipPoolUsageCommand, } from "./commands/GetCoipPoolUsageCommand";
|
|
@@ -575,6 +576,7 @@ import { GetGroupsForCapacityReservationCommand, } from "./commands/GetGroupsFor
|
|
|
575
576
|
import { GetHostReservationPurchasePreviewCommand, } from "./commands/GetHostReservationPurchasePreviewCommand";
|
|
576
577
|
import { GetImageAncestryCommand, } from "./commands/GetImageAncestryCommand";
|
|
577
578
|
import { GetImageBlockPublicAccessStateCommand, } from "./commands/GetImageBlockPublicAccessStateCommand";
|
|
579
|
+
import { GetImageFindingsCommand, } from "./commands/GetImageFindingsCommand";
|
|
578
580
|
import { GetInstanceMetadataDefaultsCommand, } from "./commands/GetInstanceMetadataDefaultsCommand";
|
|
579
581
|
import { GetInstanceTpmEkPubCommand, } from "./commands/GetInstanceTpmEkPubCommand";
|
|
580
582
|
import { GetInstanceTypesFromInstanceRequirementsCommand, } from "./commands/GetInstanceTypesFromInstanceRequirementsCommand";
|
|
@@ -952,6 +954,7 @@ import { paginateGetCapacityManagerMetricData } from "./pagination/GetCapacityMa
|
|
|
952
954
|
import { paginateGetCapacityManagerMetricDimensions } from "./pagination/GetCapacityManagerMetricDimensionsPaginator";
|
|
953
955
|
import { paginateGetCapacityManagerMonitoredTagKeys } from "./pagination/GetCapacityManagerMonitoredTagKeysPaginator";
|
|
954
956
|
import { paginateGetGroupsForCapacityReservation } from "./pagination/GetGroupsForCapacityReservationPaginator";
|
|
957
|
+
import { paginateGetImageFindings } from "./pagination/GetImageFindingsPaginator";
|
|
955
958
|
import { paginateGetInstanceTypesFromInstanceRequirements, } from "./pagination/GetInstanceTypesFromInstanceRequirementsPaginator";
|
|
956
959
|
import { paginateGetIpamAddressHistory } from "./pagination/GetIpamAddressHistoryPaginator";
|
|
957
960
|
import { paginateGetIpamDiscoveredAccounts } from "./pagination/GetIpamDiscoveredAccountsPaginator";
|
|
@@ -1585,6 +1588,7 @@ const commands = {
|
|
|
1585
1588
|
GetCapacityManagerMetricDataCommand,
|
|
1586
1589
|
GetCapacityManagerMetricDimensionsCommand,
|
|
1587
1590
|
GetCapacityManagerMonitoredTagKeysCommand,
|
|
1591
|
+
GetCapacityManagerSupportabilityScoresCommand,
|
|
1588
1592
|
GetCapacityReservationUsageCommand,
|
|
1589
1593
|
GetClientVpnEndpointAuthorizationPolicyCommand,
|
|
1590
1594
|
GetCoipPoolUsageCommand,
|
|
@@ -1600,6 +1604,7 @@ const commands = {
|
|
|
1600
1604
|
GetHostReservationPurchasePreviewCommand,
|
|
1601
1605
|
GetImageAncestryCommand,
|
|
1602
1606
|
GetImageBlockPublicAccessStateCommand,
|
|
1607
|
+
GetImageFindingsCommand,
|
|
1603
1608
|
GetInstanceMetadataDefaultsCommand,
|
|
1604
1609
|
GetInstanceTpmEkPubCommand,
|
|
1605
1610
|
GetInstanceTypesFromInstanceRequirementsCommand,
|
|
@@ -1978,6 +1983,7 @@ const paginators = {
|
|
|
1978
1983
|
paginateGetCapacityManagerMetricDimensions,
|
|
1979
1984
|
paginateGetCapacityManagerMonitoredTagKeys,
|
|
1980
1985
|
paginateGetGroupsForCapacityReservation,
|
|
1986
|
+
paginateGetImageFindings,
|
|
1981
1987
|
paginateGetInstanceTypesFromInstanceRequirements,
|
|
1982
1988
|
paginateGetIpamAddressHistory,
|
|
1983
1989
|
paginateGetIpamDiscoveredAccounts,
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
2
|
+
import { GetCapacityManagerSupportabilityScores$ } from "../schemas/schemas_0";
|
|
3
|
+
export class GetCapacityManagerSupportabilityScoresCommand extends command(_ep0, _mw0, "GetCapacityManagerSupportabilityScores", GetCapacityManagerSupportabilityScores$) {
|
|
4
|
+
}
|
|
@@ -559,6 +559,7 @@ export * from "./GetCapacityManagerAttributesCommand";
|
|
|
559
559
|
export * from "./GetCapacityManagerMetricDataCommand";
|
|
560
560
|
export * from "./GetCapacityManagerMetricDimensionsCommand";
|
|
561
561
|
export * from "./GetCapacityManagerMonitoredTagKeysCommand";
|
|
562
|
+
export * from "./GetCapacityManagerSupportabilityScoresCommand";
|
|
562
563
|
export * from "./GetCapacityReservationUsageCommand";
|
|
563
564
|
export * from "./GetClientVpnEndpointAuthorizationPolicyCommand";
|
|
564
565
|
export * from "./GetCoipPoolUsageCommand";
|
|
@@ -574,6 +575,7 @@ export * from "./GetGroupsForCapacityReservationCommand";
|
|
|
574
575
|
export * from "./GetHostReservationPurchasePreviewCommand";
|
|
575
576
|
export * from "./GetImageAncestryCommand";
|
|
576
577
|
export * from "./GetImageBlockPublicAccessStateCommand";
|
|
578
|
+
export * from "./GetImageFindingsCommand";
|
|
577
579
|
export * from "./GetInstanceMetadataDefaultsCommand";
|
|
578
580
|
export * from "./GetInstanceTpmEkPubCommand";
|
|
579
581
|
export * from "./GetInstanceTypesFromInstanceRequirementsCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -714,6 +714,35 @@ export const CapacityReservationModificationQuoteState = {
|
|
|
714
714
|
export const FleetInstanceMatchCriteria = {
|
|
715
715
|
open: "open",
|
|
716
716
|
};
|
|
717
|
+
export const BareMetal = {
|
|
718
|
+
EXCLUDED: "excluded",
|
|
719
|
+
INCLUDED: "included",
|
|
720
|
+
REQUIRED: "required",
|
|
721
|
+
};
|
|
722
|
+
export const BurstablePerformance = {
|
|
723
|
+
EXCLUDED: "excluded",
|
|
724
|
+
INCLUDED: "included",
|
|
725
|
+
REQUIRED: "required",
|
|
726
|
+
};
|
|
727
|
+
export const CpuManufacturer = {
|
|
728
|
+
AMAZON_WEB_SERVICES: "amazon-web-services",
|
|
729
|
+
AMD: "amd",
|
|
730
|
+
APPLE: "apple",
|
|
731
|
+
INTEL: "intel",
|
|
732
|
+
};
|
|
733
|
+
export const InstanceGeneration = {
|
|
734
|
+
CURRENT: "current",
|
|
735
|
+
PREVIOUS: "previous",
|
|
736
|
+
};
|
|
737
|
+
export const LocalStorage = {
|
|
738
|
+
EXCLUDED: "excluded",
|
|
739
|
+
INCLUDED: "included",
|
|
740
|
+
REQUIRED: "required",
|
|
741
|
+
};
|
|
742
|
+
export const LocalStorageType = {
|
|
743
|
+
HDD: "hdd",
|
|
744
|
+
SSD: "ssd",
|
|
745
|
+
};
|
|
717
746
|
export const _InstanceType = {
|
|
718
747
|
a1_2xlarge: "a1.2xlarge",
|
|
719
748
|
a1_4xlarge: "a1.4xlarge",
|
|
@@ -2265,35 +2294,6 @@ export const FleetExcessCapacityTerminationPolicy = {
|
|
|
2265
2294
|
NO_TERMINATION: "no-termination",
|
|
2266
2295
|
TERMINATION: "termination",
|
|
2267
2296
|
};
|
|
2268
|
-
export const BareMetal = {
|
|
2269
|
-
EXCLUDED: "excluded",
|
|
2270
|
-
INCLUDED: "included",
|
|
2271
|
-
REQUIRED: "required",
|
|
2272
|
-
};
|
|
2273
|
-
export const BurstablePerformance = {
|
|
2274
|
-
EXCLUDED: "excluded",
|
|
2275
|
-
INCLUDED: "included",
|
|
2276
|
-
REQUIRED: "required",
|
|
2277
|
-
};
|
|
2278
|
-
export const CpuManufacturer = {
|
|
2279
|
-
AMAZON_WEB_SERVICES: "amazon-web-services",
|
|
2280
|
-
AMD: "amd",
|
|
2281
|
-
APPLE: "apple",
|
|
2282
|
-
INTEL: "intel",
|
|
2283
|
-
};
|
|
2284
|
-
export const InstanceGeneration = {
|
|
2285
|
-
CURRENT: "current",
|
|
2286
|
-
PREVIOUS: "previous",
|
|
2287
|
-
};
|
|
2288
|
-
export const LocalStorage = {
|
|
2289
|
-
EXCLUDED: "excluded",
|
|
2290
|
-
INCLUDED: "included",
|
|
2291
|
-
REQUIRED: "required",
|
|
2292
|
-
};
|
|
2293
|
-
export const LocalStorageType = {
|
|
2294
|
-
HDD: "hdd",
|
|
2295
|
-
SSD: "ssd",
|
|
2296
|
-
};
|
|
2297
2297
|
export const FleetInstanceMetadataEndpointState = {
|
|
2298
2298
|
DISABLED: "disabled",
|
|
2299
2299
|
ENABLED: "enabled",
|
|
@@ -3539,6 +3539,13 @@ export const DeviceType = {
|
|
|
3539
3539
|
ebs: "ebs",
|
|
3540
3540
|
instance_store: "instance-store",
|
|
3541
3541
|
};
|
|
3542
|
+
export const SeverityLabel = {
|
|
3543
|
+
critical: "critical",
|
|
3544
|
+
high: "high",
|
|
3545
|
+
informational: "informational",
|
|
3546
|
+
low: "low",
|
|
3547
|
+
medium: "medium",
|
|
3548
|
+
};
|
|
3542
3549
|
export const ImageState = {
|
|
3543
3550
|
available: "available",
|
|
3544
3551
|
deregistered: "deregistered",
|
|
@@ -4011,6 +4018,11 @@ export const GroupBy = {
|
|
|
4011
4018
|
TENANCY: "tenancy",
|
|
4012
4019
|
};
|
|
4013
4020
|
export const Metric = {
|
|
4021
|
+
AVG_INST_AZ_COUNT_PER_REQUESTED_VCPU: "avg-inst-az-count-per-requested-vcpu",
|
|
4022
|
+
CAPACITY_REQUEST_FULFILLMENT_RATE: "capacity-request-fulfillment-rate",
|
|
4023
|
+
CAPACITY_TOTAL_FULFILLED_VCPU: "capacity-total-fulfilled-vcpu",
|
|
4024
|
+
CAPACITY_TOTAL_REQUESTED_VCPU: "capacity-total-requested-vcpu",
|
|
4025
|
+
INST_AZ_FULFILLMENT_RATE: "inst-az-fulfillment-rate",
|
|
4014
4026
|
RESERVATION_AVG_COMMITTED_SIZE_INST: "reservation-avg-committed-size-inst",
|
|
4015
4027
|
RESERVATION_AVG_COMMITTED_SIZE_VCPU: "reservation-avg-committed-size-vcpu",
|
|
4016
4028
|
RESERVATION_AVG_FUTURE_SIZE_INST: "reservation-avg-future-size-inst",
|
|
@@ -4045,7 +4057,12 @@ export const Metric = {
|
|
|
4045
4057
|
RESERVED_TOTAL_ESTIMATED_COST: "reserved-total-estimated-cost",
|
|
4046
4058
|
RESERVED_TOTAL_USAGE_HRS_INST: "reserved-total-usage-hrs-inst",
|
|
4047
4059
|
RESERVED_TOTAL_USAGE_HRS_VCPU: "reserved-total-usage-hrs-vcpu",
|
|
4060
|
+
SPOT_AVG_INST_AZ_COUNT_PER_REQUESTED_VCPU: "spot-avg-inst-az-count-per-requested-vcpu",
|
|
4048
4061
|
SPOT_AVG_RUN_TIME_BEFORE_INTERRUPTION_INST: "spot-avg-run-time-before-interruption-inst",
|
|
4062
|
+
SPOT_CAPACITY_REQUEST_FULFILLMENT_RATE: "spot-capacity-request-fulfillment-rate",
|
|
4063
|
+
SPOT_CAPACITY_TOTAL_FULFILLED_VCPU: "spot-capacity-total-fulfilled-vcpu",
|
|
4064
|
+
SPOT_CAPACITY_TOTAL_REQUESTED_VCPU: "spot-capacity-total-requested-vcpu",
|
|
4065
|
+
SPOT_INST_AZ_FULFILLMENT_RATE: "spot-inst-az-fulfillment-rate",
|
|
4049
4066
|
SPOT_INTERRUPTION_RATE_INST: "spot-interruption-rate-inst",
|
|
4050
4067
|
SPOT_INTERRUPTION_RATE_VCPU: "spot-interruption-rate-vcpu",
|
|
4051
4068
|
SPOT_MAX_RUN_TIME_BEFORE_INTERRUPTION_INST: "spot-max-run-time-before-interruption-inst",
|
|
@@ -4079,6 +4096,19 @@ export const CapacityManagerMonitoredTagKeyStatus = {
|
|
|
4079
4096
|
DEACTIVATING: "deactivating",
|
|
4080
4097
|
SUSPENDED: "suspended",
|
|
4081
4098
|
};
|
|
4099
|
+
export const CapacityUnit = {
|
|
4100
|
+
INSTANCES: "instances",
|
|
4101
|
+
VCPUS: "vcpus",
|
|
4102
|
+
};
|
|
4103
|
+
export const SupportabilityMarketType = {
|
|
4104
|
+
ON_DEMAND: "on-demand",
|
|
4105
|
+
SPOT: "spot",
|
|
4106
|
+
};
|
|
4107
|
+
export const SupportabilityScore = {
|
|
4108
|
+
HIGH: "high",
|
|
4109
|
+
LOW: "low",
|
|
4110
|
+
MEDIUM: "medium",
|
|
4111
|
+
};
|
|
4082
4112
|
export const ClientVpnAuthorizationPolicyShadowMode = {
|
|
4083
4113
|
disabled: "disabled",
|
|
4084
4114
|
enabled: "enabled",
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { GetImageFindingsCommand, } from "../commands/GetImageFindingsCommand";
|
|
3
|
+
import { EC2Client } from "../EC2Client";
|
|
4
|
+
export const paginateGetImageFindings = createPaginator(EC2Client, GetImageFindingsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -142,6 +142,7 @@ export * from "./GetCapacityManagerMetricDataPaginator";
|
|
|
142
142
|
export * from "./GetCapacityManagerMetricDimensionsPaginator";
|
|
143
143
|
export * from "./GetCapacityManagerMonitoredTagKeysPaginator";
|
|
144
144
|
export * from "./GetGroupsForCapacityReservationPaginator";
|
|
145
|
+
export * from "./GetImageFindingsPaginator";
|
|
145
146
|
export * from "./GetInstanceTypesFromInstanceRequirementsPaginator";
|
|
146
147
|
export * from "./GetIpamAddressHistoryPaginator";
|
|
147
148
|
export * from "./GetIpamDiscoveredAccountsPaginator";
|