@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.
Files changed (75) hide show
  1. package/README.md +14 -0
  2. package/dist-cjs/index.js +320 -90
  3. package/dist-es/EC2.js +6 -0
  4. package/dist-es/commands/GetCapacityManagerSupportabilityScoresCommand.js +4 -0
  5. package/dist-es/commands/GetImageFindingsCommand.js +4 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/enums.js +59 -29
  8. package/dist-es/pagination/GetImageFindingsPaginator.js +4 -0
  9. package/dist-es/pagination/index.js +1 -0
  10. package/dist-es/schemas/schemas_0.js +231 -60
  11. package/dist-types/EC2.d.ts +21 -0
  12. package/dist-types/EC2Client.d.ts +4 -2
  13. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +82 -1
  14. package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -2
  15. package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +81 -0
  16. package/dist-types/commands/DescribeImagesCommand.d.ts +9 -0
  17. package/dist-types/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +1 -2
  18. package/dist-types/commands/GetAllowedImagesSettingsCommand.d.ts +9 -0
  19. package/dist-types/commands/GetCapacityManagerMetricDataCommand.d.ts +2 -2
  20. package/dist-types/commands/GetCapacityManagerMetricDimensionsCommand.d.ts +1 -1
  21. package/dist-types/commands/GetCapacityManagerSupportabilityScoresCommand.d.ts +183 -0
  22. package/dist-types/commands/GetImageFindingsCommand.d.ts +90 -0
  23. package/dist-types/commands/GetVerifiedAccessEndpointTargetsCommand.d.ts +2 -1
  24. package/dist-types/commands/GetVerifiedAccessGroupPolicyCommand.d.ts +1 -1
  25. package/dist-types/commands/GetVpcResourcesBlockingEncryptionEnforcementCommand.d.ts +1 -1
  26. package/dist-types/commands/GetVpnConnectionDeviceSampleConfigurationCommand.d.ts +1 -2
  27. package/dist-types/commands/RejectTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  28. package/dist-types/commands/RejectTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  29. package/dist-types/commands/RejectVpcEndpointConnectionsCommand.d.ts +1 -1
  30. package/dist-types/commands/RejectVpcPeeringConnectionCommand.d.ts +1 -1
  31. package/dist-types/commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand.d.ts +9 -0
  32. package/dist-types/commands/index.d.ts +2 -0
  33. package/dist-types/models/enums.d.ts +139 -77
  34. package/dist-types/models/models_0.d.ts +109 -281
  35. package/dist-types/models/models_1.d.ts +1775 -1588
  36. package/dist-types/models/models_2.d.ts +2 -2
  37. package/dist-types/models/models_3.d.ts +17 -2
  38. package/dist-types/models/models_4.d.ts +175 -55
  39. package/dist-types/models/models_5.d.ts +55 -23
  40. package/dist-types/models/models_6.d.ts +397 -202
  41. package/dist-types/models/models_7.d.ts +176 -114
  42. package/dist-types/models/models_8.d.ts +230 -2
  43. package/dist-types/pagination/GetImageFindingsPaginator.d.ts +7 -0
  44. package/dist-types/pagination/index.d.ts +1 -0
  45. package/dist-types/schemas/schemas_0.d.ts +11 -0
  46. package/dist-types/ts3.4/EC2.d.ts +41 -0
  47. package/dist-types/ts3.4/EC2Client.d.ts +12 -0
  48. package/dist-types/ts3.4/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/CreateCarrierGatewayCommand.d.ts +1 -2
  50. package/dist-types/ts3.4/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +4 -2
  51. package/dist-types/ts3.4/commands/GetCapacityManagerSupportabilityScoresCommand.d.ts +42 -0
  52. package/dist-types/ts3.4/commands/GetImageFindingsCommand.d.ts +38 -0
  53. package/dist-types/ts3.4/commands/GetVerifiedAccessEndpointTargetsCommand.d.ts +2 -4
  54. package/dist-types/ts3.4/commands/GetVerifiedAccessGroupPolicyCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/GetVpcResourcesBlockingEncryptionEnforcementCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/GetVpnConnectionDeviceSampleConfigurationCommand.d.ts +4 -2
  57. package/dist-types/ts3.4/commands/RejectTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/RejectTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/RejectVpcEndpointConnectionsCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/RejectVpcPeeringConnectionCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  62. package/dist-types/ts3.4/models/enums.d.ts +70 -35
  63. package/dist-types/ts3.4/models/models_0.d.ts +15 -57
  64. package/dist-types/ts3.4/models/models_1.d.ts +115 -66
  65. package/dist-types/ts3.4/models/models_2.d.ts +1 -1
  66. package/dist-types/ts3.4/models/models_3.d.ts +6 -2
  67. package/dist-types/ts3.4/models/models_4.d.ts +11 -11
  68. package/dist-types/ts3.4/models/models_5.d.ts +13 -6
  69. package/dist-types/ts3.4/models/models_6.d.ts +62 -45
  70. package/dist-types/ts3.4/models/models_7.d.ts +40 -30
  71. package/dist-types/ts3.4/models/models_8.d.ts +42 -0
  72. package/dist-types/ts3.4/pagination/GetImageFindingsPaginator.d.ts +11 -0
  73. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  74. package/dist-types/ts3.4/schemas/schemas_0.d.ts +11 -0
  75. package/package.json +4 -4
@@ -13,7 +13,10 @@ import {
13
13
  BlockPublicAccessMode,
14
14
  BootModeOverrideValues,
15
15
  BurstablePerformance,
16
+ CapacityReservationFleetState,
17
+ CapacityReservationInstancePlatform,
16
18
  CapacityReservationPreference,
19
+ CarrierGatewayState,
17
20
  ClientVpnAuthenticationType,
18
21
  ClientVpnDeviceTrustProviderType,
19
22
  ClientVpnEndpointStatusCode,
@@ -28,9 +31,11 @@ import {
28
31
  EndpointIpAddressType,
29
32
  ExportEnvironment,
30
33
  ExportTaskState,
34
+ FleetCapacityReservationTenancy,
31
35
  FleetCapacityReservationUsageStrategy,
32
36
  FleetExcessCapacityTerminationPolicy,
33
37
  FleetHttpTokensState,
38
+ FleetInstanceMatchCriteria,
34
39
  FleetInstanceMetadataEndpointState,
35
40
  FleetOnDemandAllocationStrategy,
36
41
  FleetReplacementStrategy,
@@ -132,9 +137,12 @@ import {
132
137
  AccessScopePathRequest,
133
138
  AddIpamOperatingRegion,
134
139
  AddPrefixListEntry,
135
- CarrierGateway,
140
+ BaselineEbsBandwidthMbpsRequest,
141
+ BaselinePerformanceFactorsRequest,
136
142
  InstanceEventWindow,
137
143
  IpamRoutingPolicyRegistrationDelta,
144
+ MemoryGiBPerVCpuRequest,
145
+ MemoryMiBRequest,
138
146
  NatGatewayAddress,
139
147
  OperatorResponse,
140
148
  PortRange,
@@ -145,6 +153,112 @@ import {
145
153
  VpcCidrBlockAssociation,
146
154
  VpcIpv6CidrBlockAssociation,
147
155
  } from "./models_0";
156
+ export interface NetworkBandwidthGbpsRequest {
157
+ Min?: number | undefined;
158
+ Max?: number | undefined;
159
+ }
160
+ export interface NetworkInterfaceCountRequest {
161
+ Min?: number | undefined;
162
+ Max?: number | undefined;
163
+ }
164
+ export interface TotalLocalStorageGBRequest {
165
+ Min?: number | undefined;
166
+ Max?: number | undefined;
167
+ }
168
+ export interface VCpuCountRangeRequest {
169
+ Min: number | undefined;
170
+ Max?: number | undefined;
171
+ }
172
+ export interface InstanceRequirementsRequest {
173
+ VCpuCount: VCpuCountRangeRequest | undefined;
174
+ MemoryMiB: MemoryMiBRequest | undefined;
175
+ CpuManufacturers?: CpuManufacturer[] | undefined;
176
+ MemoryGiBPerVCpu?: MemoryGiBPerVCpuRequest | undefined;
177
+ ExcludedInstanceTypes?: string[] | undefined;
178
+ InstanceGenerations?: InstanceGeneration[] | undefined;
179
+ SpotMaxPricePercentageOverLowestPrice?: number | undefined;
180
+ OnDemandMaxPricePercentageOverLowestPrice?: number | undefined;
181
+ BareMetal?: BareMetal | undefined;
182
+ BurstablePerformance?: BurstablePerformance | undefined;
183
+ RequireHibernateSupport?: boolean | undefined;
184
+ NetworkInterfaceCount?: NetworkInterfaceCountRequest | undefined;
185
+ LocalStorage?: LocalStorage | undefined;
186
+ LocalStorageTypes?: LocalStorageType[] | undefined;
187
+ TotalLocalStorageGB?: TotalLocalStorageGBRequest | undefined;
188
+ BaselineEbsBandwidthMbps?: BaselineEbsBandwidthMbpsRequest | undefined;
189
+ AcceleratorTypes?: AcceleratorType[] | undefined;
190
+ AcceleratorCount?: AcceleratorCountRequest | undefined;
191
+ AcceleratorManufacturers?: AcceleratorManufacturer[] | undefined;
192
+ AcceleratorNames?: AcceleratorName[] | undefined;
193
+ AcceleratorTotalMemoryMiB?: AcceleratorTotalMemoryMiBRequest | undefined;
194
+ NetworkBandwidthGbps?: NetworkBandwidthGbpsRequest | undefined;
195
+ AllowedInstanceTypes?: string[] | undefined;
196
+ MaxSpotPriceAsPercentageOfOptimalOnDemandPrice?: number | undefined;
197
+ BaselinePerformanceFactors?: BaselinePerformanceFactorsRequest | undefined;
198
+ RequireEncryptionInTransit?: boolean | undefined;
199
+ }
200
+ export interface ReservationFleetInstanceSpecification {
201
+ InstanceType?: _InstanceType | undefined;
202
+ InstancePlatform?: CapacityReservationInstancePlatform | undefined;
203
+ Weight?: number | undefined;
204
+ AvailabilityZone?: string | undefined;
205
+ AvailabilityZoneId?: string | undefined;
206
+ EbsOptimized?: boolean | undefined;
207
+ Priority?: number | undefined;
208
+ }
209
+ export interface CreateCapacityReservationFleetRequest {
210
+ AllocationStrategy?: string | undefined;
211
+ ClientToken?: string | undefined;
212
+ InstanceTypeSpecifications?: ReservationFleetInstanceSpecification[] | undefined;
213
+ InstanceRequirements?: InstanceRequirementsRequest | undefined;
214
+ AvailabilityZone?: string | undefined;
215
+ AvailabilityZoneId?: string | undefined;
216
+ Tenancy?: FleetCapacityReservationTenancy | undefined;
217
+ TotalTargetCapacity: number | undefined;
218
+ EndDate?: Date | undefined;
219
+ InstanceMatchCriteria?: FleetInstanceMatchCriteria | undefined;
220
+ TagSpecifications?: TagSpecification[] | undefined;
221
+ DryRun?: boolean | undefined;
222
+ }
223
+ export interface FleetCapacityReservation {
224
+ CapacityReservationId?: string | undefined;
225
+ AvailabilityZoneId?: string | undefined;
226
+ InstanceType?: _InstanceType | undefined;
227
+ InstancePlatform?: CapacityReservationInstancePlatform | undefined;
228
+ AvailabilityZone?: string | undefined;
229
+ TotalInstanceCount?: number | undefined;
230
+ FulfilledCapacity?: number | undefined;
231
+ EbsOptimized?: boolean | undefined;
232
+ CreateDate?: Date | undefined;
233
+ Weight?: number | undefined;
234
+ Priority?: number | undefined;
235
+ }
236
+ export interface CreateCapacityReservationFleetResult {
237
+ CapacityReservationFleetId?: string | undefined;
238
+ State?: CapacityReservationFleetState | undefined;
239
+ TotalTargetCapacity?: number | undefined;
240
+ TotalFulfilledCapacity?: number | undefined;
241
+ InstanceMatchCriteria?: FleetInstanceMatchCriteria | undefined;
242
+ AllocationStrategy?: string | undefined;
243
+ CreateTime?: Date | undefined;
244
+ EndDate?: Date | undefined;
245
+ Tenancy?: FleetCapacityReservationTenancy | undefined;
246
+ FleetCapacityReservations?: FleetCapacityReservation[] | undefined;
247
+ Tags?: Tag[] | undefined;
248
+ }
249
+ export interface CreateCarrierGatewayRequest {
250
+ VpcId: string | undefined;
251
+ TagSpecifications?: TagSpecification[] | undefined;
252
+ DryRun?: boolean | undefined;
253
+ ClientToken?: string | undefined;
254
+ }
255
+ export interface CarrierGateway {
256
+ CarrierGatewayId?: string | undefined;
257
+ VpcId?: string | undefined;
258
+ State?: CarrierGatewayState | undefined;
259
+ OwnerId?: string | undefined;
260
+ Tags?: Tag[] | undefined;
261
+ }
148
262
  export interface CreateCarrierGatewayResult {
149
263
  CarrierGateway?: CarrierGateway | undefined;
150
264
  }
@@ -482,71 +596,6 @@ export interface FleetIamInstanceProfileSpecificationRequest {
482
596
  Arn?: string | undefined;
483
597
  Name?: string | undefined;
484
598
  }
485
- export interface BaselineEbsBandwidthMbpsRequest {
486
- Min?: number | undefined;
487
- Max?: number | undefined;
488
- }
489
- export interface PerformanceFactorReferenceRequest {
490
- InstanceFamily?: string | undefined;
491
- }
492
- export interface CpuPerformanceFactorRequest {
493
- References?: PerformanceFactorReferenceRequest[] | undefined;
494
- }
495
- export interface BaselinePerformanceFactorsRequest {
496
- Cpu?: CpuPerformanceFactorRequest | undefined;
497
- }
498
- export interface MemoryGiBPerVCpuRequest {
499
- Min?: number | undefined;
500
- Max?: number | undefined;
501
- }
502
- export interface MemoryMiBRequest {
503
- Min: number | undefined;
504
- Max?: number | undefined;
505
- }
506
- export interface NetworkBandwidthGbpsRequest {
507
- Min?: number | undefined;
508
- Max?: number | undefined;
509
- }
510
- export interface NetworkInterfaceCountRequest {
511
- Min?: number | undefined;
512
- Max?: number | undefined;
513
- }
514
- export interface TotalLocalStorageGBRequest {
515
- Min?: number | undefined;
516
- Max?: number | undefined;
517
- }
518
- export interface VCpuCountRangeRequest {
519
- Min: number | undefined;
520
- Max?: number | undefined;
521
- }
522
- export interface InstanceRequirementsRequest {
523
- VCpuCount: VCpuCountRangeRequest | undefined;
524
- MemoryMiB: MemoryMiBRequest | undefined;
525
- CpuManufacturers?: CpuManufacturer[] | undefined;
526
- MemoryGiBPerVCpu?: MemoryGiBPerVCpuRequest | undefined;
527
- ExcludedInstanceTypes?: string[] | undefined;
528
- InstanceGenerations?: InstanceGeneration[] | undefined;
529
- SpotMaxPricePercentageOverLowestPrice?: number | undefined;
530
- OnDemandMaxPricePercentageOverLowestPrice?: number | undefined;
531
- BareMetal?: BareMetal | undefined;
532
- BurstablePerformance?: BurstablePerformance | undefined;
533
- RequireHibernateSupport?: boolean | undefined;
534
- NetworkInterfaceCount?: NetworkInterfaceCountRequest | undefined;
535
- LocalStorage?: LocalStorage | undefined;
536
- LocalStorageTypes?: LocalStorageType[] | undefined;
537
- TotalLocalStorageGB?: TotalLocalStorageGBRequest | undefined;
538
- BaselineEbsBandwidthMbps?: BaselineEbsBandwidthMbpsRequest | undefined;
539
- AcceleratorTypes?: AcceleratorType[] | undefined;
540
- AcceleratorCount?: AcceleratorCountRequest | undefined;
541
- AcceleratorManufacturers?: AcceleratorManufacturer[] | undefined;
542
- AcceleratorNames?: AcceleratorName[] | undefined;
543
- AcceleratorTotalMemoryMiB?: AcceleratorTotalMemoryMiBRequest | undefined;
544
- NetworkBandwidthGbps?: NetworkBandwidthGbpsRequest | undefined;
545
- AllowedInstanceTypes?: string[] | undefined;
546
- MaxSpotPriceAsPercentageOfOptimalOnDemandPrice?: number | undefined;
547
- BaselinePerformanceFactors?: BaselinePerformanceFactorsRequest | undefined;
548
- RequireEncryptionInTransit?: boolean | undefined;
549
- }
550
599
  export interface FleetInstanceMetadataOptionsRequest {
551
600
  HttpTokens?: FleetHttpTokensState | undefined;
552
601
  HttpPutResponseHopLimit?: number | undefined;
@@ -109,7 +109,6 @@ import {
109
109
  } from "./enums";
110
110
  import {
111
111
  ApplicationStatusCheckResponseObject,
112
- CarrierGateway,
113
112
  IpamRoutingPolicyRegistrationDelta,
114
113
  Ipv4PrefixSpecification,
115
114
  OperatorResponse,
@@ -128,6 +127,7 @@ import {
128
127
  } from "./models_0";
129
128
  import {
130
129
  AttachmentEnaSrdUdpSpecification,
130
+ CarrierGateway,
131
131
  ClientVpnEndpointStatus,
132
132
  ClientVpnRouteStatus,
133
133
  CoipCidr,
@@ -61,9 +61,7 @@ import {
61
61
  CapacityReservation,
62
62
  CapacityReservationCancellationQuote,
63
63
  CapacityReservationModificationQuote,
64
- CarrierGateway,
65
64
  ClientVpnAuthorizationRuleStatus,
66
- FleetCapacityReservation,
67
65
  Tag,
68
66
  TransitGatewayClientVpnAttachment,
69
67
  TransitGatewayPeeringAttachment,
@@ -73,6 +71,7 @@ import {
73
71
  VerifiedAccessTrustProvider,
74
72
  } from "./models_0";
75
73
  import {
74
+ CarrierGateway,
76
75
  ClientVpnEndpointStatus,
77
76
  ClientVpnRouteStatus,
78
77
  CoipPool,
@@ -80,6 +79,8 @@ import {
80
79
  DhcpOptions,
81
80
  EgressOnlyInternetGateway,
82
81
  ExportTask,
82
+ FleetCapacityReservation,
83
+ InstanceRequirementsRequest,
83
84
  LaunchTemplate,
84
85
  LocalGatewayRoute,
85
86
  LocalGatewayRouteTable,
@@ -1138,6 +1139,9 @@ export interface CapacityReservationFleet {
1138
1139
  InstanceMatchCriteria?: FleetInstanceMatchCriteria | undefined;
1139
1140
  AllocationStrategy?: string | undefined;
1140
1141
  InstanceTypeSpecifications?: FleetCapacityReservation[] | undefined;
1142
+ InstanceRequirements?: InstanceRequirementsRequest | undefined;
1143
+ AvailabilityZone?: string | undefined;
1144
+ AvailabilityZoneId?: string | undefined;
1141
1145
  Tags?: Tag[] | undefined;
1142
1146
  }
1143
1147
  export interface DescribeCapacityReservationFleetsResult {
@@ -94,6 +94,7 @@ import {
94
94
  Scope,
95
95
  SecondaryInterfaceStatus,
96
96
  SecondaryInterfaceType,
97
+ SeverityLabel,
97
98
  SpotAllocationStrategy,
98
99
  SpotInstanceInterruptionBehavior,
99
100
  SqlServerLicenseUsage,
@@ -593,6 +594,15 @@ export interface InstanceTypeSpecification {
593
594
  SupportedInstanceTypes?: InstanceTypeItem[] | undefined;
594
595
  UnsupportedInstanceTypes?: InstanceTypeItem[] | undefined;
595
596
  }
597
+ export interface ScanResults {
598
+ HighestFindingSeverityLabel?: SeverityLabel | undefined;
599
+ FindingScanDate?: Date | undefined;
600
+ InformationalFixAvailableSince?: Date | undefined;
601
+ LowFixAvailableSince?: Date | undefined;
602
+ MediumFixAvailableSince?: Date | undefined;
603
+ HighFixAvailableSince?: Date | undefined;
604
+ CriticalFixAvailableSince?: Date | undefined;
605
+ }
596
606
  export interface Image {
597
607
  PlatformDetails?: string | undefined;
598
608
  UsageOperation?: string | undefined;
@@ -621,6 +631,7 @@ export interface Image {
621
631
  FreeTierEligible?: boolean | undefined;
622
632
  PublicSsmParameterName?: string | undefined;
623
633
  ImageWatermarks?: ImageWatermark[] | undefined;
634
+ ScanResults?: ScanResults | undefined;
624
635
  InstanceTypeSpecification?: InstanceTypeSpecification | undefined;
625
636
  ImageId?: string | undefined;
626
637
  ImageLocation?: string | undefined;
@@ -2139,14 +2150,3 @@ export interface ReservedInstancesModificationResult {
2139
2150
  export interface ReservedInstancesId {
2140
2151
  ReservedInstancesId?: string | undefined;
2141
2152
  }
2142
- export interface ReservedInstancesModification {
2143
- ClientToken?: string | undefined;
2144
- CreateDate?: Date | undefined;
2145
- EffectiveDate?: Date | undefined;
2146
- ModificationResults?: ReservedInstancesModificationResult[] | undefined;
2147
- ReservedInstancesIds?: ReservedInstancesId[] | undefined;
2148
- ReservedInstancesModificationId?: string | undefined;
2149
- Status?: string | undefined;
2150
- StatusMessage?: string | undefined;
2151
- UpdateDate?: Date | undefined;
2152
- }
@@ -155,8 +155,20 @@ import {
155
155
  ProductCode,
156
156
  RecurringCharge,
157
157
  RegisteredInstance,
158
- ReservedInstancesModification,
158
+ ReservedInstancesId,
159
+ ReservedInstancesModificationResult,
159
160
  } from "./models_4";
161
+ export interface ReservedInstancesModification {
162
+ ClientToken?: string | undefined;
163
+ CreateDate?: Date | undefined;
164
+ EffectiveDate?: Date | undefined;
165
+ ModificationResults?: ReservedInstancesModificationResult[] | undefined;
166
+ ReservedInstancesIds?: ReservedInstancesId[] | undefined;
167
+ ReservedInstancesModificationId?: string | undefined;
168
+ Status?: string | undefined;
169
+ StatusMessage?: string | undefined;
170
+ UpdateDate?: Date | undefined;
171
+ }
160
172
  export interface DescribeReservedInstancesModificationsResult {
161
173
  NextToken?: string | undefined;
162
174
  ReservedInstancesModifications?: ReservedInstancesModification[] | undefined;
@@ -1902,8 +1914,3 @@ export interface DisassociateTransitGatewayMulticastDomainRequest {
1902
1914
  export interface DisassociateTransitGatewayMulticastDomainResult {
1903
1915
  Associations?: TransitGatewayMulticastDomainAssociations | undefined;
1904
1916
  }
1905
- export interface DisassociateTransitGatewayPolicyTableRequest {
1906
- TransitGatewayPolicyTableId: string | undefined;
1907
- TransitGatewayAttachmentId: string | undefined;
1908
- DryRun?: boolean | undefined;
1909
- }
@@ -6,6 +6,7 @@ import {
6
6
  CapacityManagerStatus,
7
7
  CapacityReservationState,
8
8
  CapacityTenancy,
9
+ CapacityUnit,
9
10
  ChronologicalOrder,
10
11
  ClientCertificateRevocationListStatusCode,
11
12
  ClientVpnAuthorizationPolicyShadowMode,
@@ -59,9 +60,12 @@ import {
59
60
  ReservationType,
60
61
  RouteServerRouteInstallationStatus,
61
62
  RouteServerRouteStatus,
63
+ SeverityLabel,
62
64
  SnapshotBlockPublicAccessState,
63
65
  SSEType,
64
66
  StatisticType,
67
+ SupportabilityMarketType,
68
+ SupportabilityScore,
65
69
  TargetCapacityUnitType,
66
70
  TransitGatewayAssociationState,
67
71
  TransitGatewayAttachmentNatGatewaySupportState,
@@ -119,6 +123,11 @@ import {
119
123
  TransitGatewayPropagation,
120
124
  UnsuccessfulSuppressionResponseObject,
121
125
  } from "./models_5";
126
+ export interface DisassociateTransitGatewayPolicyTableRequest {
127
+ TransitGatewayPolicyTableId: string | undefined;
128
+ TransitGatewayAttachmentId: string | undefined;
129
+ DryRun?: boolean | undefined;
130
+ }
122
131
  export interface DisassociateTransitGatewayPolicyTableResult {
123
132
  Association?: TransitGatewayPolicyTableAssociation | undefined;
124
133
  }
@@ -493,6 +502,15 @@ export interface ImageWatermarkFilterResponse {
493
502
  MaximumDaysSinceSourceImageCreated?: number | undefined;
494
503
  MaximumDaysSinceWatermarkCreated?: number | undefined;
495
504
  }
505
+ export interface ScanResultCondition {
506
+ MaxDaysSinceLastFindingScan?: number | undefined;
507
+ MaximumSeverityLabel?: SeverityLabel | undefined;
508
+ MaxDaysSinceInformationalFixAvailable?: number | undefined;
509
+ MaxDaysSinceLowFixAvailable?: number | undefined;
510
+ MaxDaysSinceMediumFixAvailable?: number | undefined;
511
+ MaxDaysSinceHighFixAvailable?: number | undefined;
512
+ MaxDaysSinceCriticalFixAvailable?: number | undefined;
513
+ }
496
514
  export interface ImageCriterion {
497
515
  ImageProviders?: string[] | undefined;
498
516
  MarketplaceProductCodes?: string[] | undefined;
@@ -500,6 +518,7 @@ export interface ImageCriterion {
500
518
  DeprecationTimeCondition?: DeprecationTimeCondition | undefined;
501
519
  CreationDateCondition?: CreationDateCondition | undefined;
502
520
  ImageWatermarks?: ImageWatermarkFilterResponse[] | undefined;
521
+ ScanResultCondition?: ScanResultCondition | undefined;
503
522
  }
504
523
  export interface GetAllowedImagesSettingsResult {
505
524
  State?: string | undefined;
@@ -667,6 +686,29 @@ export interface GetCapacityManagerMonitoredTagKeysResult {
667
686
  CapacityManagerTagKeys?: CapacityManagerMonitoredTagKey[] | undefined;
668
687
  NextToken?: string | undefined;
669
688
  }
689
+ export interface InstanceRequirementsWithMetadataRequest {
690
+ ArchitectureTypes?: ArchitectureType[] | undefined;
691
+ VirtualizationTypes?: VirtualizationType[] | undefined;
692
+ InstanceRequirements?: InstanceRequirementsRequest | undefined;
693
+ }
694
+ export interface GetCapacityManagerSupportabilityScoresRequest {
695
+ MarketType: SupportabilityMarketType | undefined;
696
+ CapacityAmount: number | undefined;
697
+ CapacityUnit: CapacityUnit | undefined;
698
+ CapacityAvailabilityZoneIds: string[] | undefined;
699
+ InstanceTypes?: string[] | undefined;
700
+ InstanceRequirementsWithMetadata?: InstanceRequirementsWithMetadataRequest | undefined;
701
+ DryRun?: boolean | undefined;
702
+ }
703
+ export interface CapacityManagerSupportabilityScore {
704
+ InstanceType?: string | undefined;
705
+ AvailabilityZoneId?: string | undefined;
706
+ Score?: SupportabilityScore | undefined;
707
+ }
708
+ export interface GetCapacityManagerSupportabilityScoresResult {
709
+ AggregateScore?: SupportabilityScore | undefined;
710
+ CapacityManagerSupportabilityScores?: CapacityManagerSupportabilityScore[] | undefined;
711
+ }
670
712
  export interface GetCapacityReservationUsageRequest {
671
713
  CapacityReservationId: string | undefined;
672
714
  NextToken?: string | undefined;
@@ -870,6 +912,26 @@ export interface GetImageBlockPublicAccessStateResult {
870
912
  ImageBlockPublicAccessState?: string | undefined;
871
913
  ManagedBy?: ManagedBy | undefined;
872
914
  }
915
+ export interface GetImageFindingsRequest {
916
+ ImageId: string | undefined;
917
+ MaxResults?: number | undefined;
918
+ NextToken?: string | undefined;
919
+ DryRun?: boolean | undefined;
920
+ }
921
+ export interface ImageFinding {
922
+ FixAvailable?: boolean | undefined;
923
+ Score?: number | undefined;
924
+ FirstObservedAt?: Date | undefined;
925
+ UpdatedAt?: Date | undefined;
926
+ Title?: string | undefined;
927
+ Paths?: string[] | undefined;
928
+ SeverityLabel?: SeverityLabel | undefined;
929
+ SnapshotId?: string | undefined;
930
+ }
931
+ export interface GetImageFindingsResult {
932
+ ImageFindings?: ImageFinding[] | undefined;
933
+ NextToken?: string | undefined;
934
+ }
873
935
  export interface GetInstanceMetadataDefaultsRequest {
874
936
  DryRun?: boolean | undefined;
875
937
  }
@@ -1521,11 +1583,6 @@ export interface GetSnapshotBlockPublicAccessStateResult {
1521
1583
  State?: SnapshotBlockPublicAccessState | undefined;
1522
1584
  ManagedBy?: ManagedBy | undefined;
1523
1585
  }
1524
- export interface InstanceRequirementsWithMetadataRequest {
1525
- ArchitectureTypes?: ArchitectureType[] | undefined;
1526
- VirtualizationTypes?: VirtualizationType[] | undefined;
1527
- InstanceRequirements?: InstanceRequirementsRequest | undefined;
1528
- }
1529
1586
  export interface GetSpotPlacementScoresRequest {
1530
1587
  InstanceTypes?: string[] | undefined;
1531
1588
  TargetCapacity: number | undefined;
@@ -1701,43 +1758,3 @@ export interface GetVerifiedAccessEndpointTargetsRequest {
1701
1758
  NextToken?: string | undefined;
1702
1759
  DryRun?: boolean | undefined;
1703
1760
  }
1704
- export interface VerifiedAccessEndpointTarget {
1705
- VerifiedAccessEndpointId?: string | undefined;
1706
- VerifiedAccessEndpointTargetIpAddress?: string | undefined;
1707
- VerifiedAccessEndpointTargetDns?: string | undefined;
1708
- }
1709
- export interface GetVerifiedAccessEndpointTargetsResult {
1710
- VerifiedAccessEndpointTargets?: VerifiedAccessEndpointTarget[] | undefined;
1711
- NextToken?: string | undefined;
1712
- }
1713
- export interface GetVerifiedAccessGroupPolicyRequest {
1714
- VerifiedAccessGroupId: string | undefined;
1715
- DryRun?: boolean | undefined;
1716
- }
1717
- export interface GetVerifiedAccessGroupPolicyResult {
1718
- PolicyEnabled?: boolean | undefined;
1719
- PolicyDocument?: string | undefined;
1720
- }
1721
- export interface GetVpcResourcesBlockingEncryptionEnforcementRequest {
1722
- VpcId: string | undefined;
1723
- MaxResults?: number | undefined;
1724
- NextToken?: string | undefined;
1725
- DryRun?: boolean | undefined;
1726
- }
1727
- export interface VpcEncryptionNonCompliantResource {
1728
- Id?: string | undefined;
1729
- Type?: string | undefined;
1730
- Description?: string | undefined;
1731
- IsExcludable?: boolean | undefined;
1732
- }
1733
- export interface GetVpcResourcesBlockingEncryptionEnforcementResult {
1734
- NonCompliantResources?: VpcEncryptionNonCompliantResource[] | undefined;
1735
- NextToken?: string | undefined;
1736
- }
1737
- export interface GetVpnConnectionDeviceSampleConfigurationRequest {
1738
- VpnConnectionId: string | undefined;
1739
- VpnConnectionDeviceTypeId: string | undefined;
1740
- InternetKeyExchangeVersion?: string | undefined;
1741
- SampleType?: string | undefined;
1742
- DryRun?: boolean | undefined;
1743
- }
@@ -112,7 +112,6 @@ import {
112
112
  TagSpecification,
113
113
  TransitGatewayClientVpnAttachment,
114
114
  TransitGatewayMulticastDomainAssociations,
115
- TransitGatewayPeeringAttachment,
116
115
  TransitGatewayVpcAttachment,
117
116
  UnsuccessfulItem,
118
117
  VerifiedAccessInstance,
@@ -213,6 +212,46 @@ import {
213
212
  Purchase,
214
213
  TransitGatewayNatRule,
215
214
  } from "./models_6";
215
+ export interface VerifiedAccessEndpointTarget {
216
+ VerifiedAccessEndpointId?: string | undefined;
217
+ VerifiedAccessEndpointTargetIpAddress?: string | undefined;
218
+ VerifiedAccessEndpointTargetDns?: string | undefined;
219
+ }
220
+ export interface GetVerifiedAccessEndpointTargetsResult {
221
+ VerifiedAccessEndpointTargets?: VerifiedAccessEndpointTarget[] | undefined;
222
+ NextToken?: string | undefined;
223
+ }
224
+ export interface GetVerifiedAccessGroupPolicyRequest {
225
+ VerifiedAccessGroupId: string | undefined;
226
+ DryRun?: boolean | undefined;
227
+ }
228
+ export interface GetVerifiedAccessGroupPolicyResult {
229
+ PolicyEnabled?: boolean | undefined;
230
+ PolicyDocument?: string | undefined;
231
+ }
232
+ export interface GetVpcResourcesBlockingEncryptionEnforcementRequest {
233
+ VpcId: string | undefined;
234
+ MaxResults?: number | undefined;
235
+ NextToken?: string | undefined;
236
+ DryRun?: boolean | undefined;
237
+ }
238
+ export interface VpcEncryptionNonCompliantResource {
239
+ Id?: string | undefined;
240
+ Type?: string | undefined;
241
+ Description?: string | undefined;
242
+ IsExcludable?: boolean | undefined;
243
+ }
244
+ export interface GetVpcResourcesBlockingEncryptionEnforcementResult {
245
+ NonCompliantResources?: VpcEncryptionNonCompliantResource[] | undefined;
246
+ NextToken?: string | undefined;
247
+ }
248
+ export interface GetVpnConnectionDeviceSampleConfigurationRequest {
249
+ VpnConnectionId: string | undefined;
250
+ VpnConnectionDeviceTypeId: string | undefined;
251
+ InternetKeyExchangeVersion?: string | undefined;
252
+ SampleType?: string | undefined;
253
+ DryRun?: boolean | undefined;
254
+ }
216
255
  export interface GetVpnConnectionDeviceSampleConfigurationResult {
217
256
  VpnConnectionDeviceSampleConfiguration?: string | undefined;
218
257
  }
@@ -1889,32 +1928,3 @@ export interface RejectTransitGatewayMulticastDomainAssociationsRequest {
1889
1928
  export interface RejectTransitGatewayMulticastDomainAssociationsResult {
1890
1929
  Associations?: TransitGatewayMulticastDomainAssociations | undefined;
1891
1930
  }
1892
- export interface RejectTransitGatewayPeeringAttachmentRequest {
1893
- TransitGatewayAttachmentId: string | undefined;
1894
- DryRun?: boolean | undefined;
1895
- }
1896
- export interface RejectTransitGatewayPeeringAttachmentResult {
1897
- TransitGatewayPeeringAttachment?: TransitGatewayPeeringAttachment | undefined;
1898
- }
1899
- export interface RejectTransitGatewayVpcAttachmentRequest {
1900
- TransitGatewayAttachmentId: string | undefined;
1901
- DryRun?: boolean | undefined;
1902
- }
1903
- export interface RejectTransitGatewayVpcAttachmentResult {
1904
- TransitGatewayVpcAttachment?: TransitGatewayVpcAttachment | undefined;
1905
- }
1906
- export interface RejectVpcEndpointConnectionsRequest {
1907
- DryRun?: boolean | undefined;
1908
- ServiceId: string | undefined;
1909
- VpcEndpointIds: string[] | undefined;
1910
- }
1911
- export interface RejectVpcEndpointConnectionsResult {
1912
- Unsuccessful?: UnsuccessfulItem[] | undefined;
1913
- }
1914
- export interface RejectVpcPeeringConnectionRequest {
1915
- DryRun?: boolean | undefined;
1916
- VpcPeeringConnectionId: string | undefined;
1917
- }
1918
- export interface RejectVpcPeeringConnectionResult {
1919
- Return?: boolean | undefined;
1920
- }
@@ -23,6 +23,7 @@ import {
23
23
  ResetImageAttributeName,
24
24
  RuleAction,
25
25
  SecondaryInterfaceType,
26
+ SeverityLabel,
26
27
  ShutdownBehavior,
27
28
  SnapshotAttributeName,
28
29
  SnapshotState,
@@ -43,6 +44,8 @@ import {
43
44
  PortRange,
44
45
  RouteTableAssociationState,
45
46
  TagSpecification,
47
+ TransitGatewayPeeringAttachment,
48
+ TransitGatewayVpcAttachment,
46
49
  UnsuccessfulItem,
47
50
  } from "./models_0";
48
51
  import {
@@ -76,6 +79,35 @@ import {
76
79
  EnclaveOptionsRequest,
77
80
  InstanceMonitoring,
78
81
  } from "./models_7";
82
+ export interface RejectTransitGatewayPeeringAttachmentRequest {
83
+ TransitGatewayAttachmentId: string | undefined;
84
+ DryRun?: boolean | undefined;
85
+ }
86
+ export interface RejectTransitGatewayPeeringAttachmentResult {
87
+ TransitGatewayPeeringAttachment?: TransitGatewayPeeringAttachment | undefined;
88
+ }
89
+ export interface RejectTransitGatewayVpcAttachmentRequest {
90
+ TransitGatewayAttachmentId: string | undefined;
91
+ DryRun?: boolean | undefined;
92
+ }
93
+ export interface RejectTransitGatewayVpcAttachmentResult {
94
+ TransitGatewayVpcAttachment?: TransitGatewayVpcAttachment | undefined;
95
+ }
96
+ export interface RejectVpcEndpointConnectionsRequest {
97
+ DryRun?: boolean | undefined;
98
+ ServiceId: string | undefined;
99
+ VpcEndpointIds: string[] | undefined;
100
+ }
101
+ export interface RejectVpcEndpointConnectionsResult {
102
+ Unsuccessful?: UnsuccessfulItem[] | undefined;
103
+ }
104
+ export interface RejectVpcPeeringConnectionRequest {
105
+ DryRun?: boolean | undefined;
106
+ VpcPeeringConnectionId: string | undefined;
107
+ }
108
+ export interface RejectVpcPeeringConnectionResult {
109
+ Return?: boolean | undefined;
110
+ }
79
111
  export interface ReleaseAddressRequest {
80
112
  AllocationId?: string | undefined;
81
113
  PublicIp?: string | undefined;
@@ -117,6 +149,15 @@ export interface ImageWatermarkFilterRequest {
117
149
  MaximumDaysSinceSourceImageCreated?: number | undefined;
118
150
  MaximumDaysSinceWatermarkCreated?: number | undefined;
119
151
  }
152
+ export interface ScanResultConditionRequest {
153
+ MaxDaysSinceLastFindingScan?: number | undefined;
154
+ MaximumSeverityLabel?: SeverityLabel | undefined;
155
+ MaxDaysSinceInformationalFixAvailable?: number | undefined;
156
+ MaxDaysSinceLowFixAvailable?: number | undefined;
157
+ MaxDaysSinceMediumFixAvailable?: number | undefined;
158
+ MaxDaysSinceHighFixAvailable?: number | undefined;
159
+ MaxDaysSinceCriticalFixAvailable?: number | undefined;
160
+ }
120
161
  export interface ImageCriterionRequest {
121
162
  ImageProviders?: string[] | undefined;
122
163
  MarketplaceProductCodes?: string[] | undefined;
@@ -124,6 +165,7 @@ export interface ImageCriterionRequest {
124
165
  DeprecationTimeCondition?: DeprecationTimeConditionRequest | undefined;
125
166
  CreationDateCondition?: CreationDateConditionRequest | undefined;
126
167
  ImageWatermarks?: ImageWatermarkFilterRequest[] | undefined;
168
+ ScanResultCondition?: ScanResultConditionRequest | undefined;
127
169
  }
128
170
  export interface ReplaceImageCriteriaInAllowedImagesSettingsRequest {
129
171
  ImageCriteria?: ImageCriterionRequest[] | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ GetImageFindingsCommandInput,
4
+ GetImageFindingsCommandOutput,
5
+ } from "../commands/GetImageFindingsCommand";
6
+ import { EC2PaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateGetImageFindings: (
8
+ config: EC2PaginationConfiguration,
9
+ input: GetImageFindingsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<GetImageFindingsCommandOutput>;