@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
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DisassociateTransitGatewayPolicyTableRequest } from "../models/
|
|
3
|
-
import type { DisassociateTransitGatewayPolicyTableResult } from "../models/models_6";
|
|
2
|
+
import type { DisassociateTransitGatewayPolicyTableRequest, DisassociateTransitGatewayPolicyTableResult } from "../models/models_6";
|
|
4
3
|
/**
|
|
5
4
|
* @public
|
|
6
5
|
*/
|
|
@@ -74,6 +74,15 @@ declare const GetAllowedImagesSettingsCommand_base: {
|
|
|
74
74
|
* // MaximumDaysSinceWatermarkCreated: Number("int"),
|
|
75
75
|
* // },
|
|
76
76
|
* // ],
|
|
77
|
+
* // ScanResultCondition: { // ScanResultCondition
|
|
78
|
+
* // MaxDaysSinceLastFindingScan: Number("int"),
|
|
79
|
+
* // MaximumSeverityLabel: "informational" || "low" || "medium" || "high" || "critical",
|
|
80
|
+
* // MaxDaysSinceInformationalFixAvailable: Number("int"),
|
|
81
|
+
* // MaxDaysSinceLowFixAvailable: Number("int"),
|
|
82
|
+
* // MaxDaysSinceMediumFixAvailable: Number("int"),
|
|
83
|
+
* // MaxDaysSinceHighFixAvailable: Number("int"),
|
|
84
|
+
* // MaxDaysSinceCriticalFixAvailable: Number("int"),
|
|
85
|
+
* // },
|
|
77
86
|
* // },
|
|
78
87
|
* // ],
|
|
79
88
|
* // ManagedBy: "account" || "declarative-policy",
|
|
@@ -38,7 +38,7 @@ declare const GetCapacityManagerMetricDataCommand_base: {
|
|
|
38
38
|
* const client = new EC2Client(config);
|
|
39
39
|
* const input = { // GetCapacityManagerMetricDataRequest
|
|
40
40
|
* MetricNames: [ // MetricSet // required
|
|
41
|
-
* "reservation-total-capacity-hrs-vcpu" || "reservation-total-capacity-hrs-inst" || "reservation-max-size-vcpu" || "reservation-max-size-inst" || "reservation-min-size-vcpu" || "reservation-min-size-inst" || "reservation-unused-total-capacity-hrs-vcpu" || "reservation-unused-total-capacity-hrs-inst" || "reservation-unused-total-estimated-cost" || "reservation-max-unused-size-vcpu" || "reservation-max-unused-size-inst" || "reservation-min-unused-size-vcpu" || "reservation-min-unused-size-inst" || "reservation-max-utilization" || "reservation-min-utilization" || "reservation-avg-utilization-vcpu" || "reservation-avg-utilization-inst" || "reservation-total-count" || "reservation-total-estimated-cost" || "reservation-avg-future-size-vcpu" || "reservation-avg-future-size-inst" || "reservation-min-future-size-vcpu" || "reservation-min-future-size-inst" || "reservation-max-future-size-vcpu" || "reservation-max-future-size-inst" || "reservation-avg-committed-size-vcpu" || "reservation-avg-committed-size-inst" || "reservation-max-committed-size-vcpu" || "reservation-max-committed-size-inst" || "reservation-min-committed-size-vcpu" || "reservation-min-committed-size-inst" || "reserved-total-usage-hrs-vcpu" || "reserved-total-usage-hrs-inst" || "reserved-total-estimated-cost" || "unreserved-total-usage-hrs-vcpu" || "unreserved-total-usage-hrs-inst" || "unreserved-total-estimated-cost" || "spot-total-usage-hrs-vcpu" || "spot-total-usage-hrs-inst" || "spot-total-estimated-cost" || "spot-avg-run-time-before-interruption-inst" || "spot-max-run-time-before-interruption-inst" || "spot-min-run-time-before-interruption-inst" || "spot-total-interruptions-inst" || "spot-total-interruptions-vcpu" || "spot-total-count-inst" || "spot-total-count-vcpu" || "spot-interruption-rate-inst" || "spot-interruption-rate-vcpu",
|
|
41
|
+
* "reservation-total-capacity-hrs-vcpu" || "reservation-total-capacity-hrs-inst" || "reservation-max-size-vcpu" || "reservation-max-size-inst" || "reservation-min-size-vcpu" || "reservation-min-size-inst" || "reservation-unused-total-capacity-hrs-vcpu" || "reservation-unused-total-capacity-hrs-inst" || "reservation-unused-total-estimated-cost" || "reservation-max-unused-size-vcpu" || "reservation-max-unused-size-inst" || "reservation-min-unused-size-vcpu" || "reservation-min-unused-size-inst" || "reservation-max-utilization" || "reservation-min-utilization" || "reservation-avg-utilization-vcpu" || "reservation-avg-utilization-inst" || "reservation-total-count" || "reservation-total-estimated-cost" || "reservation-avg-future-size-vcpu" || "reservation-avg-future-size-inst" || "reservation-min-future-size-vcpu" || "reservation-min-future-size-inst" || "reservation-max-future-size-vcpu" || "reservation-max-future-size-inst" || "reservation-avg-committed-size-vcpu" || "reservation-avg-committed-size-inst" || "reservation-max-committed-size-vcpu" || "reservation-max-committed-size-inst" || "reservation-min-committed-size-vcpu" || "reservation-min-committed-size-inst" || "reserved-total-usage-hrs-vcpu" || "reserved-total-usage-hrs-inst" || "reserved-total-estimated-cost" || "unreserved-total-usage-hrs-vcpu" || "unreserved-total-usage-hrs-inst" || "unreserved-total-estimated-cost" || "spot-total-usage-hrs-vcpu" || "spot-total-usage-hrs-inst" || "spot-total-estimated-cost" || "spot-avg-run-time-before-interruption-inst" || "spot-max-run-time-before-interruption-inst" || "spot-min-run-time-before-interruption-inst" || "spot-total-interruptions-inst" || "spot-total-interruptions-vcpu" || "spot-total-count-inst" || "spot-total-count-vcpu" || "spot-interruption-rate-inst" || "spot-interruption-rate-vcpu" || "capacity-total-requested-vcpu" || "capacity-total-fulfilled-vcpu" || "spot-capacity-total-requested-vcpu" || "spot-capacity-total-fulfilled-vcpu" || "capacity-request-fulfillment-rate" || "avg-inst-az-count-per-requested-vcpu" || "inst-az-fulfillment-rate" || "spot-capacity-request-fulfillment-rate" || "spot-avg-inst-az-count-per-requested-vcpu" || "spot-inst-az-fulfillment-rate",
|
|
42
42
|
* ],
|
|
43
43
|
* StartTime: new Date("TIMESTAMP"), // required
|
|
44
44
|
* EndTime: new Date("TIMESTAMP"), // required
|
|
@@ -95,7 +95,7 @@ declare const GetCapacityManagerMetricDataCommand_base: {
|
|
|
95
95
|
* // Timestamp: new Date("TIMESTAMP"),
|
|
96
96
|
* // MetricValues: [ // MetricValueSet
|
|
97
97
|
* // { // MetricValue
|
|
98
|
-
* // Metric: "reservation-total-capacity-hrs-vcpu" || "reservation-total-capacity-hrs-inst" || "reservation-max-size-vcpu" || "reservation-max-size-inst" || "reservation-min-size-vcpu" || "reservation-min-size-inst" || "reservation-unused-total-capacity-hrs-vcpu" || "reservation-unused-total-capacity-hrs-inst" || "reservation-unused-total-estimated-cost" || "reservation-max-unused-size-vcpu" || "reservation-max-unused-size-inst" || "reservation-min-unused-size-vcpu" || "reservation-min-unused-size-inst" || "reservation-max-utilization" || "reservation-min-utilization" || "reservation-avg-utilization-vcpu" || "reservation-avg-utilization-inst" || "reservation-total-count" || "reservation-total-estimated-cost" || "reservation-avg-future-size-vcpu" || "reservation-avg-future-size-inst" || "reservation-min-future-size-vcpu" || "reservation-min-future-size-inst" || "reservation-max-future-size-vcpu" || "reservation-max-future-size-inst" || "reservation-avg-committed-size-vcpu" || "reservation-avg-committed-size-inst" || "reservation-max-committed-size-vcpu" || "reservation-max-committed-size-inst" || "reservation-min-committed-size-vcpu" || "reservation-min-committed-size-inst" || "reserved-total-usage-hrs-vcpu" || "reserved-total-usage-hrs-inst" || "reserved-total-estimated-cost" || "unreserved-total-usage-hrs-vcpu" || "unreserved-total-usage-hrs-inst" || "unreserved-total-estimated-cost" || "spot-total-usage-hrs-vcpu" || "spot-total-usage-hrs-inst" || "spot-total-estimated-cost" || "spot-avg-run-time-before-interruption-inst" || "spot-max-run-time-before-interruption-inst" || "spot-min-run-time-before-interruption-inst" || "spot-total-interruptions-inst" || "spot-total-interruptions-vcpu" || "spot-total-count-inst" || "spot-total-count-vcpu" || "spot-interruption-rate-inst" || "spot-interruption-rate-vcpu",
|
|
98
|
+
* // Metric: "reservation-total-capacity-hrs-vcpu" || "reservation-total-capacity-hrs-inst" || "reservation-max-size-vcpu" || "reservation-max-size-inst" || "reservation-min-size-vcpu" || "reservation-min-size-inst" || "reservation-unused-total-capacity-hrs-vcpu" || "reservation-unused-total-capacity-hrs-inst" || "reservation-unused-total-estimated-cost" || "reservation-max-unused-size-vcpu" || "reservation-max-unused-size-inst" || "reservation-min-unused-size-vcpu" || "reservation-min-unused-size-inst" || "reservation-max-utilization" || "reservation-min-utilization" || "reservation-avg-utilization-vcpu" || "reservation-avg-utilization-inst" || "reservation-total-count" || "reservation-total-estimated-cost" || "reservation-avg-future-size-vcpu" || "reservation-avg-future-size-inst" || "reservation-min-future-size-vcpu" || "reservation-min-future-size-inst" || "reservation-max-future-size-vcpu" || "reservation-max-future-size-inst" || "reservation-avg-committed-size-vcpu" || "reservation-avg-committed-size-inst" || "reservation-max-committed-size-vcpu" || "reservation-max-committed-size-inst" || "reservation-min-committed-size-vcpu" || "reservation-min-committed-size-inst" || "reserved-total-usage-hrs-vcpu" || "reserved-total-usage-hrs-inst" || "reserved-total-estimated-cost" || "unreserved-total-usage-hrs-vcpu" || "unreserved-total-usage-hrs-inst" || "unreserved-total-estimated-cost" || "spot-total-usage-hrs-vcpu" || "spot-total-usage-hrs-inst" || "spot-total-estimated-cost" || "spot-avg-run-time-before-interruption-inst" || "spot-max-run-time-before-interruption-inst" || "spot-min-run-time-before-interruption-inst" || "spot-total-interruptions-inst" || "spot-total-interruptions-vcpu" || "spot-total-count-inst" || "spot-total-count-vcpu" || "spot-interruption-rate-inst" || "spot-interruption-rate-vcpu" || "capacity-total-requested-vcpu" || "capacity-total-fulfilled-vcpu" || "spot-capacity-total-requested-vcpu" || "spot-capacity-total-fulfilled-vcpu" || "capacity-request-fulfillment-rate" || "avg-inst-az-count-per-requested-vcpu" || "inst-az-fulfillment-rate" || "spot-capacity-request-fulfillment-rate" || "spot-avg-inst-az-count-per-requested-vcpu" || "spot-inst-az-fulfillment-rate",
|
|
99
99
|
* // Value: Number("double"),
|
|
100
100
|
* // },
|
|
101
101
|
* // ],
|
|
@@ -54,7 +54,7 @@ declare const GetCapacityManagerMetricDimensionsCommand_base: {
|
|
|
54
54
|
* StartTime: new Date("TIMESTAMP"), // required
|
|
55
55
|
* EndTime: new Date("TIMESTAMP"), // required
|
|
56
56
|
* MetricNames: [ // MetricSet // required
|
|
57
|
-
* "reservation-total-capacity-hrs-vcpu" || "reservation-total-capacity-hrs-inst" || "reservation-max-size-vcpu" || "reservation-max-size-inst" || "reservation-min-size-vcpu" || "reservation-min-size-inst" || "reservation-unused-total-capacity-hrs-vcpu" || "reservation-unused-total-capacity-hrs-inst" || "reservation-unused-total-estimated-cost" || "reservation-max-unused-size-vcpu" || "reservation-max-unused-size-inst" || "reservation-min-unused-size-vcpu" || "reservation-min-unused-size-inst" || "reservation-max-utilization" || "reservation-min-utilization" || "reservation-avg-utilization-vcpu" || "reservation-avg-utilization-inst" || "reservation-total-count" || "reservation-total-estimated-cost" || "reservation-avg-future-size-vcpu" || "reservation-avg-future-size-inst" || "reservation-min-future-size-vcpu" || "reservation-min-future-size-inst" || "reservation-max-future-size-vcpu" || "reservation-max-future-size-inst" || "reservation-avg-committed-size-vcpu" || "reservation-avg-committed-size-inst" || "reservation-max-committed-size-vcpu" || "reservation-max-committed-size-inst" || "reservation-min-committed-size-vcpu" || "reservation-min-committed-size-inst" || "reserved-total-usage-hrs-vcpu" || "reserved-total-usage-hrs-inst" || "reserved-total-estimated-cost" || "unreserved-total-usage-hrs-vcpu" || "unreserved-total-usage-hrs-inst" || "unreserved-total-estimated-cost" || "spot-total-usage-hrs-vcpu" || "spot-total-usage-hrs-inst" || "spot-total-estimated-cost" || "spot-avg-run-time-before-interruption-inst" || "spot-max-run-time-before-interruption-inst" || "spot-min-run-time-before-interruption-inst" || "spot-total-interruptions-inst" || "spot-total-interruptions-vcpu" || "spot-total-count-inst" || "spot-total-count-vcpu" || "spot-interruption-rate-inst" || "spot-interruption-rate-vcpu",
|
|
57
|
+
* "reservation-total-capacity-hrs-vcpu" || "reservation-total-capacity-hrs-inst" || "reservation-max-size-vcpu" || "reservation-max-size-inst" || "reservation-min-size-vcpu" || "reservation-min-size-inst" || "reservation-unused-total-capacity-hrs-vcpu" || "reservation-unused-total-capacity-hrs-inst" || "reservation-unused-total-estimated-cost" || "reservation-max-unused-size-vcpu" || "reservation-max-unused-size-inst" || "reservation-min-unused-size-vcpu" || "reservation-min-unused-size-inst" || "reservation-max-utilization" || "reservation-min-utilization" || "reservation-avg-utilization-vcpu" || "reservation-avg-utilization-inst" || "reservation-total-count" || "reservation-total-estimated-cost" || "reservation-avg-future-size-vcpu" || "reservation-avg-future-size-inst" || "reservation-min-future-size-vcpu" || "reservation-min-future-size-inst" || "reservation-max-future-size-vcpu" || "reservation-max-future-size-inst" || "reservation-avg-committed-size-vcpu" || "reservation-avg-committed-size-inst" || "reservation-max-committed-size-vcpu" || "reservation-max-committed-size-inst" || "reservation-min-committed-size-vcpu" || "reservation-min-committed-size-inst" || "reserved-total-usage-hrs-vcpu" || "reserved-total-usage-hrs-inst" || "reserved-total-estimated-cost" || "unreserved-total-usage-hrs-vcpu" || "unreserved-total-usage-hrs-inst" || "unreserved-total-estimated-cost" || "spot-total-usage-hrs-vcpu" || "spot-total-usage-hrs-inst" || "spot-total-estimated-cost" || "spot-avg-run-time-before-interruption-inst" || "spot-max-run-time-before-interruption-inst" || "spot-min-run-time-before-interruption-inst" || "spot-total-interruptions-inst" || "spot-total-interruptions-vcpu" || "spot-total-count-inst" || "spot-total-count-vcpu" || "spot-interruption-rate-inst" || "spot-interruption-rate-vcpu" || "capacity-total-requested-vcpu" || "capacity-total-fulfilled-vcpu" || "spot-capacity-total-requested-vcpu" || "spot-capacity-total-fulfilled-vcpu" || "capacity-request-fulfillment-rate" || "avg-inst-az-count-per-requested-vcpu" || "inst-az-fulfillment-rate" || "spot-capacity-request-fulfillment-rate" || "spot-avg-inst-az-count-per-requested-vcpu" || "spot-inst-az-fulfillment-rate",
|
|
58
58
|
* ],
|
|
59
59
|
* MaxResults: Number("int"),
|
|
60
60
|
* NextToken: "STRING_VALUE",
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetCapacityManagerSupportabilityScoresRequest, GetCapacityManagerSupportabilityScoresResult } from "../models/models_6";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetCapacityManagerSupportabilityScoresCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetCapacityManagerSupportabilityScoresCommandInput extends GetCapacityManagerSupportabilityScoresRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetCapacityManagerSupportabilityScoresCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetCapacityManagerSupportabilityScoresCommandOutput extends GetCapacityManagerSupportabilityScoresResult, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetCapacityManagerSupportabilityScoresCommand_base: {
|
|
22
|
+
new (input: GetCapacityManagerSupportabilityScoresCommandInput): import("@smithy/core/client").CommandImpl<GetCapacityManagerSupportabilityScoresCommandInput, GetCapacityManagerSupportabilityScoresCommandOutput, import("..").EC2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetCapacityManagerSupportabilityScoresCommandInput): import("@smithy/core/client").CommandImpl<GetCapacityManagerSupportabilityScoresCommandInput, GetCapacityManagerSupportabilityScoresCommandOutput, import("..").EC2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>
|
|
28
|
+
* Scores how well each instance type and Availability Zone combination can support a capacity request, based on current Amazon EC2 capacity.
|
|
29
|
+
* The response includes a score for each combination and an aggregate score for all combinations in the request.
|
|
30
|
+
* This action doesn't launch or reserve instances, and a score doesn't guarantee that a later launch will succeed.
|
|
31
|
+
* </p>
|
|
32
|
+
* <p>
|
|
33
|
+
* Call this action in the Region where you turned on Capacity Manager. A single request can include Availability Zones in any Region.
|
|
34
|
+
* Real-time supportability checks are available only to Amazon Web Services Support customers on the Unified Operations plan.
|
|
35
|
+
* </p>
|
|
36
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/capacity-manager-supportability.html">Check supportability</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
37
|
+
* @example
|
|
38
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
39
|
+
* ```javascript
|
|
40
|
+
* import { EC2Client, GetCapacityManagerSupportabilityScoresCommand } from "@aws-sdk/client-ec2"; // ES Modules import
|
|
41
|
+
* // const { EC2Client, GetCapacityManagerSupportabilityScoresCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
42
|
+
* // import type { EC2ClientConfig } from "@aws-sdk/client-ec2";
|
|
43
|
+
* const config = {}; // type is EC2ClientConfig
|
|
44
|
+
* const client = new EC2Client(config);
|
|
45
|
+
* const input = { // GetCapacityManagerSupportabilityScoresRequest
|
|
46
|
+
* MarketType: "on-demand" || "spot", // required
|
|
47
|
+
* CapacityAmount: Number("int"), // required
|
|
48
|
+
* CapacityUnit: "vcpus" || "instances", // required
|
|
49
|
+
* CapacityAvailabilityZoneIds: [ // CapacityAvailabilityZoneIdList // required
|
|
50
|
+
* "STRING_VALUE",
|
|
51
|
+
* ],
|
|
52
|
+
* InstanceTypes: [ // SupportabilityInstanceTypeList
|
|
53
|
+
* "STRING_VALUE",
|
|
54
|
+
* ],
|
|
55
|
+
* InstanceRequirementsWithMetadata: { // InstanceRequirementsWithMetadataRequest
|
|
56
|
+
* ArchitectureTypes: [ // ArchitectureTypeSet
|
|
57
|
+
* "i386" || "x86_64" || "arm64" || "x86_64_mac" || "arm64_mac",
|
|
58
|
+
* ],
|
|
59
|
+
* VirtualizationTypes: [ // VirtualizationTypeSet
|
|
60
|
+
* "hvm" || "paravirtual",
|
|
61
|
+
* ],
|
|
62
|
+
* InstanceRequirements: { // InstanceRequirementsRequest
|
|
63
|
+
* VCpuCount: { // VCpuCountRangeRequest
|
|
64
|
+
* Min: Number("int"), // required
|
|
65
|
+
* Max: Number("int"),
|
|
66
|
+
* },
|
|
67
|
+
* MemoryMiB: { // MemoryMiBRequest
|
|
68
|
+
* Min: Number("int"), // required
|
|
69
|
+
* Max: Number("int"),
|
|
70
|
+
* },
|
|
71
|
+
* CpuManufacturers: [ // CpuManufacturerSet
|
|
72
|
+
* "intel" || "amd" || "amazon-web-services" || "apple",
|
|
73
|
+
* ],
|
|
74
|
+
* MemoryGiBPerVCpu: { // MemoryGiBPerVCpuRequest
|
|
75
|
+
* Min: Number("double"),
|
|
76
|
+
* Max: Number("double"),
|
|
77
|
+
* },
|
|
78
|
+
* ExcludedInstanceTypes: [ // ExcludedInstanceTypeSet
|
|
79
|
+
* "STRING_VALUE",
|
|
80
|
+
* ],
|
|
81
|
+
* InstanceGenerations: [ // InstanceGenerationSet
|
|
82
|
+
* "current" || "previous",
|
|
83
|
+
* ],
|
|
84
|
+
* SpotMaxPricePercentageOverLowestPrice: Number("int"),
|
|
85
|
+
* OnDemandMaxPricePercentageOverLowestPrice: Number("int"),
|
|
86
|
+
* BareMetal: "included" || "required" || "excluded",
|
|
87
|
+
* BurstablePerformance: "included" || "required" || "excluded",
|
|
88
|
+
* RequireHibernateSupport: true || false,
|
|
89
|
+
* NetworkInterfaceCount: { // NetworkInterfaceCountRequest
|
|
90
|
+
* Min: Number("int"),
|
|
91
|
+
* Max: Number("int"),
|
|
92
|
+
* },
|
|
93
|
+
* LocalStorage: "included" || "required" || "excluded",
|
|
94
|
+
* LocalStorageTypes: [ // LocalStorageTypeSet
|
|
95
|
+
* "hdd" || "ssd",
|
|
96
|
+
* ],
|
|
97
|
+
* TotalLocalStorageGB: { // TotalLocalStorageGBRequest
|
|
98
|
+
* Min: Number("double"),
|
|
99
|
+
* Max: Number("double"),
|
|
100
|
+
* },
|
|
101
|
+
* BaselineEbsBandwidthMbps: { // BaselineEbsBandwidthMbpsRequest
|
|
102
|
+
* Min: Number("int"),
|
|
103
|
+
* Max: Number("int"),
|
|
104
|
+
* },
|
|
105
|
+
* AcceleratorTypes: [ // AcceleratorTypeSet
|
|
106
|
+
* "gpu" || "fpga" || "inference" || "media",
|
|
107
|
+
* ],
|
|
108
|
+
* AcceleratorCount: { // AcceleratorCountRequest
|
|
109
|
+
* Min: Number("int"),
|
|
110
|
+
* Max: Number("int"),
|
|
111
|
+
* },
|
|
112
|
+
* AcceleratorManufacturers: [ // AcceleratorManufacturerSet
|
|
113
|
+
* "amazon-web-services" || "amd" || "nvidia" || "xilinx" || "habana",
|
|
114
|
+
* ],
|
|
115
|
+
* AcceleratorNames: [ // AcceleratorNameSet
|
|
116
|
+
* "a100" || "inferentia" || "k520" || "k80" || "m60" || "radeon-pro-v520" || "t4" || "vu9p" || "v100" || "a10g" || "h100" || "t4g" || "l40s" || "l4" || "gaudi-hl-205" || "inferentia2" || "trainium" || "trainium2" || "u30",
|
|
117
|
+
* ],
|
|
118
|
+
* AcceleratorTotalMemoryMiB: { // AcceleratorTotalMemoryMiBRequest
|
|
119
|
+
* Min: Number("int"),
|
|
120
|
+
* Max: Number("int"),
|
|
121
|
+
* },
|
|
122
|
+
* NetworkBandwidthGbps: { // NetworkBandwidthGbpsRequest
|
|
123
|
+
* Min: Number("double"),
|
|
124
|
+
* Max: Number("double"),
|
|
125
|
+
* },
|
|
126
|
+
* AllowedInstanceTypes: [ // AllowedInstanceTypeSet
|
|
127
|
+
* "STRING_VALUE",
|
|
128
|
+
* ],
|
|
129
|
+
* MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
|
|
130
|
+
* BaselinePerformanceFactors: { // BaselinePerformanceFactorsRequest
|
|
131
|
+
* Cpu: { // CpuPerformanceFactorRequest
|
|
132
|
+
* References: [ // PerformanceFactorReferenceSetRequest
|
|
133
|
+
* { // PerformanceFactorReferenceRequest
|
|
134
|
+
* InstanceFamily: "STRING_VALUE",
|
|
135
|
+
* },
|
|
136
|
+
* ],
|
|
137
|
+
* },
|
|
138
|
+
* },
|
|
139
|
+
* RequireEncryptionInTransit: true || false,
|
|
140
|
+
* },
|
|
141
|
+
* },
|
|
142
|
+
* DryRun: true || false,
|
|
143
|
+
* };
|
|
144
|
+
* const command = new GetCapacityManagerSupportabilityScoresCommand(input);
|
|
145
|
+
* const response = await client.send(command);
|
|
146
|
+
* // { // GetCapacityManagerSupportabilityScoresResult
|
|
147
|
+
* // AggregateScore: "high" || "medium" || "low",
|
|
148
|
+
* // CapacityManagerSupportabilityScores: [ // CapacityManagerSupportabilityScoreSet
|
|
149
|
+
* // { // CapacityManagerSupportabilityScore
|
|
150
|
+
* // InstanceType: "STRING_VALUE",
|
|
151
|
+
* // AvailabilityZoneId: "STRING_VALUE",
|
|
152
|
+
* // Score: "high" || "medium" || "low",
|
|
153
|
+
* // },
|
|
154
|
+
* // ],
|
|
155
|
+
* // };
|
|
156
|
+
*
|
|
157
|
+
* ```
|
|
158
|
+
*
|
|
159
|
+
* @param GetCapacityManagerSupportabilityScoresCommandInput - {@link GetCapacityManagerSupportabilityScoresCommandInput}
|
|
160
|
+
* @returns {@link GetCapacityManagerSupportabilityScoresCommandOutput}
|
|
161
|
+
* @see {@link GetCapacityManagerSupportabilityScoresCommandInput} for command's `input` shape.
|
|
162
|
+
* @see {@link GetCapacityManagerSupportabilityScoresCommandOutput} for command's `response` shape.
|
|
163
|
+
* @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
|
|
164
|
+
*
|
|
165
|
+
* @throws {@link EC2ServiceException}
|
|
166
|
+
* <p>Base exception class for all service exceptions from EC2 service.</p>
|
|
167
|
+
*
|
|
168
|
+
*
|
|
169
|
+
* @public
|
|
170
|
+
*/
|
|
171
|
+
export declare class GetCapacityManagerSupportabilityScoresCommand extends GetCapacityManagerSupportabilityScoresCommand_base {
|
|
172
|
+
/** @internal type navigation helper, not in runtime. */
|
|
173
|
+
protected static __types: {
|
|
174
|
+
api: {
|
|
175
|
+
input: GetCapacityManagerSupportabilityScoresRequest;
|
|
176
|
+
output: GetCapacityManagerSupportabilityScoresResult;
|
|
177
|
+
};
|
|
178
|
+
sdk: {
|
|
179
|
+
input: GetCapacityManagerSupportabilityScoresCommandInput;
|
|
180
|
+
output: GetCapacityManagerSupportabilityScoresCommandOutput;
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetImageFindingsRequest, GetImageFindingsResult } from "../models/models_6";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetImageFindingsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetImageFindingsCommandInput extends GetImageFindingsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetImageFindingsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetImageFindingsCommandOutput extends GetImageFindingsResult, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetImageFindingsCommand_base: {
|
|
22
|
+
new (input: GetImageFindingsCommandInput): import("@smithy/core/client").CommandImpl<GetImageFindingsCommandInput, GetImageFindingsCommandOutput, import("..").EC2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetImageFindingsCommandInput): import("@smithy/core/client").CommandImpl<GetImageFindingsCommandInput, GetImageFindingsCommandOutput, import("..").EC2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Describes the Amazon Inspector vulnerability findings for the specified AMI.</p>
|
|
28
|
+
* <p>You can get findings for AMIs that you own, AMIs that are shared with you, and public
|
|
29
|
+
* AMIs. Amazon Inspector returns findings only for AMIs that it has scanned.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { EC2Client, GetImageFindingsCommand } from "@aws-sdk/client-ec2"; // ES Modules import
|
|
34
|
+
* // const { EC2Client, GetImageFindingsCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
35
|
+
* // import type { EC2ClientConfig } from "@aws-sdk/client-ec2";
|
|
36
|
+
* const config = {}; // type is EC2ClientConfig
|
|
37
|
+
* const client = new EC2Client(config);
|
|
38
|
+
* const input = { // GetImageFindingsRequest
|
|
39
|
+
* ImageId: "STRING_VALUE", // required
|
|
40
|
+
* MaxResults: Number("int"),
|
|
41
|
+
* NextToken: "STRING_VALUE",
|
|
42
|
+
* DryRun: true || false,
|
|
43
|
+
* };
|
|
44
|
+
* const command = new GetImageFindingsCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // GetImageFindingsResult
|
|
47
|
+
* // ImageFindings: [ // GetImageFindingsEntrySet
|
|
48
|
+
* // { // ImageFinding
|
|
49
|
+
* // FixAvailable: true || false,
|
|
50
|
+
* // Score: Number("double"),
|
|
51
|
+
* // FirstObservedAt: new Date("TIMESTAMP"),
|
|
52
|
+
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
53
|
+
* // Title: "STRING_VALUE",
|
|
54
|
+
* // Paths: [ // ImageFindingPathSet
|
|
55
|
+
* // "STRING_VALUE",
|
|
56
|
+
* // ],
|
|
57
|
+
* // SeverityLabel: "informational" || "low" || "medium" || "high" || "critical",
|
|
58
|
+
* // SnapshotId: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // NextToken: "STRING_VALUE",
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @param GetImageFindingsCommandInput - {@link GetImageFindingsCommandInput}
|
|
67
|
+
* @returns {@link GetImageFindingsCommandOutput}
|
|
68
|
+
* @see {@link GetImageFindingsCommandInput} for command's `input` shape.
|
|
69
|
+
* @see {@link GetImageFindingsCommandOutput} for command's `response` shape.
|
|
70
|
+
* @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link EC2ServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from EC2 service.</p>
|
|
74
|
+
*
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class GetImageFindingsCommand extends GetImageFindingsCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: GetImageFindingsRequest;
|
|
83
|
+
output: GetImageFindingsResult;
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: GetImageFindingsCommandInput;
|
|
87
|
+
output: GetImageFindingsCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { GetVerifiedAccessEndpointTargetsRequest
|
|
2
|
+
import type { GetVerifiedAccessEndpointTargetsRequest } from "../models/models_6";
|
|
3
|
+
import type { GetVerifiedAccessEndpointTargetsResult } from "../models/models_7";
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { GetVerifiedAccessGroupPolicyRequest, GetVerifiedAccessGroupPolicyResult } from "../models/
|
|
2
|
+
import type { GetVerifiedAccessGroupPolicyRequest, GetVerifiedAccessGroupPolicyResult } from "../models/models_7";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { GetVpcResourcesBlockingEncryptionEnforcementRequest, GetVpcResourcesBlockingEncryptionEnforcementResult } from "../models/
|
|
2
|
+
import type { GetVpcResourcesBlockingEncryptionEnforcementRequest, GetVpcResourcesBlockingEncryptionEnforcementResult } from "../models/models_7";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { GetVpnConnectionDeviceSampleConfigurationRequest } from "../models/
|
|
3
|
-
import type { GetVpnConnectionDeviceSampleConfigurationResult } from "../models/models_7";
|
|
2
|
+
import type { GetVpnConnectionDeviceSampleConfigurationRequest, GetVpnConnectionDeviceSampleConfigurationResult } from "../models/models_7";
|
|
4
3
|
/**
|
|
5
4
|
* @public
|
|
6
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { RejectTransitGatewayPeeringAttachmentRequest, RejectTransitGatewayPeeringAttachmentResult } from "../models/
|
|
2
|
+
import type { RejectTransitGatewayPeeringAttachmentRequest, RejectTransitGatewayPeeringAttachmentResult } from "../models/models_8";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { RejectTransitGatewayVpcAttachmentRequest, RejectTransitGatewayVpcAttachmentResult } from "../models/
|
|
2
|
+
import type { RejectTransitGatewayVpcAttachmentRequest, RejectTransitGatewayVpcAttachmentResult } from "../models/models_8";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { RejectVpcEndpointConnectionsRequest, RejectVpcEndpointConnectionsResult } from "../models/
|
|
2
|
+
import type { RejectVpcEndpointConnectionsRequest, RejectVpcEndpointConnectionsResult } from "../models/models_8";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { RejectVpcPeeringConnectionRequest, RejectVpcPeeringConnectionResult } from "../models/
|
|
2
|
+
import type { RejectVpcPeeringConnectionRequest, RejectVpcPeeringConnectionResult } from "../models/models_8";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -74,6 +74,15 @@ declare const ReplaceImageCriteriaInAllowedImagesSettingsCommand_base: {
|
|
|
74
74
|
* MaximumDaysSinceWatermarkCreated: Number("int"),
|
|
75
75
|
* },
|
|
76
76
|
* ],
|
|
77
|
+
* ScanResultCondition: { // ScanResultConditionRequest
|
|
78
|
+
* MaxDaysSinceLastFindingScan: Number("int"),
|
|
79
|
+
* MaximumSeverityLabel: "informational" || "low" || "medium" || "high" || "critical",
|
|
80
|
+
* MaxDaysSinceInformationalFixAvailable: Number("int"),
|
|
81
|
+
* MaxDaysSinceLowFixAvailable: Number("int"),
|
|
82
|
+
* MaxDaysSinceMediumFixAvailable: Number("int"),
|
|
83
|
+
* MaxDaysSinceHighFixAvailable: Number("int"),
|
|
84
|
+
* MaxDaysSinceCriticalFixAvailable: Number("int"),
|
|
85
|
+
* },
|
|
77
86
|
* },
|
|
78
87
|
* ],
|
|
79
88
|
* DryRun: true || false,
|
|
@@ -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";
|