@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
@@ -1,11 +1,186 @@
1
1
  import type { _InstanceType, AccountVpcEncryptionControlMode, Affinity, AggregationStatusEnum, ApplianceModeSupportValue, ArchitectureValues, AutoAcceptSharedAttachmentsValue, AutoPlacement, BootModeValues, CapacityReservationAdjustmentStatus, CapacityReservationInstancePlatform, CapacityReservationPreference, ClientVpnAuthorizationPolicyShadowMode, ClientVpnAuthorizationPolicyStatus, CurrencyCodeValues, DefaultHttpTokensEnforcedState, DefaultInstanceMetadataEndpointState, DefaultInstanceMetadataTagsState, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DiskImageFormat, DnsSupportValue, EncryptionSupportOptionValue, EndDateType, ExcessCapacityTerminationPolicy, FleetExcessCapacityTerminationPolicy, FpgaImageAttributeName, HostMaintenance, HostnameType, HostRecovery, HostTenancy, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceMatchCriteria, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, InternetGatewayBlockMode, InternetGatewayExclusionMode, IpAddressType, IpamMeteredAccount, IpamPolicyResourceType, IpamTier, IpScopeEnum, Ipv6SupportValue, IpVersionEnum, LockMode, LockState, ManagedResourceDefaultVisibility, MetadataDefaultHttpTokensState, ModifyAvailabilityZoneOptInStatus, NestedVirtualizationSpecification, NetworkProtocolEnum, OperationType, PayerResponsibility, PayerResponsibilityScope, PayerResponsibilityType, PermissionGroup, PlatformValues, PublicIpDnsOption, RouteServerPersistRoutesAction, SecurityGroupReferencingSupportValue, SelfServicePortal, ShutdownBehavior, SnapshotAttributeName, Status, TargetStorageTier, TpmSupportValues, TrafficDirection, TrafficMirrorFilterRuleField, TrafficMirrorNetworkService, TrafficMirrorRuleAction, TrafficMirrorSessionField, TransitGatewayAttachmentNatGatewaySupportState, TransitGatewayAttachmentNatGatewaySupportValue, TransitGatewayAttachmentNatSystemRouteSupportValue, UnlimitedSupportedInstanceFamily, UnsuccessfulInstanceCreditSpecificationErrorCode, VerificationMethod, VerifiedAccessEndpointProtocol, VolumeState, VolumeType, VpcEncryptionControlExclusionStateInput, VpcEncryptionControlMode, VpcTenancy, VpnEcmpSupportValue, VpnTunnelBandwidth } from "./enums";
2
- import type { AccountVpcEncryptionControl, AddedPrincipal, AddIpamOperatingRegion, AddIpamOrganizationalUnitExclusion, AddPrefixListEntry, AddressAttribute, ApplicationStatusCheckResponseObject, ByoipCidr, CapacityReservation, CapacityReservationAdjustmentDetails, EnaSrdSpecification, HealthCheckPathRequestObject, InstanceEventWindow, IpamPoolAllocation, IpamRoutingPolicyRegistrationDelta, OperatorResponse, Tag, TagSpecification, TransitGatewayClientVpnAttachment, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
2
+ import type { AccountVpcEncryptionControl, AddedPrincipal, AddIpamOperatingRegion, AddIpamOrganizationalUnitExclusion, AddPrefixListEntry, AddressAttribute, ApplicationStatusCheckResponseObject, ByoipCidr, CapacityReservation, CapacityReservationAdjustmentDetails, EnaSrdSpecification, HealthCheckPathRequestObject, InstanceEventWindow, IpamPoolAllocation, IpamRoutingPolicyRegistrationDelta, OperatorResponse, Tag, TagSpecification, TransitGatewayClientVpnAttachment, TransitGatewayMulticastDomainAssociations, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
3
3
  import type { AttributeValue, BlockDeviceMapping, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ClientRouteEnforcementOptions, ConnectionLogOptions, ConnectionTrackingSpecificationRequest, DevicePostureOptions, ExternalAuthorityConfiguration, FleetLaunchTemplateConfigRequest, InstanceEventWindowTimeRangeRequest, Ipam, IpamPool, IpamPrefixListResolver, IpamPrefixListResolverRuleRequest, IpamPrefixListResolverTarget, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, Placement, RequestIpamResourceTag, TargetCapacitySpecificationRequest, TransitGatewayConfigurationInputStructure, VpcEncryptionControl } from "./models_1";
4
4
  import type { DnsOptionsSpecification, IKEVersionsRequestListValue, PayerResponsibilityEntry, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, RouteServer, SubnetConfiguration, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorPortRangeRequest, TrafficMirrorSession, TransitGateway, TransitGatewayMeteringPolicy, TransitGatewayPolicyTableEntry, TransitGatewayPrefixListReference, TransitGatewayRequestPolicyRule, VerifiedAccessEndpoint, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpcBlockPublicAccessExclusion, VpnConnection, VpnTunnelLogOptionsSpecification } from "./models_2";
5
5
  import type { Byoasn, CapacityBlock, CapacityBlockExtension, ConversionTask, InstanceTagNotificationAttribute, IpamPoolCidr } from "./models_3";
6
6
  import type { AttributeBooleanValue, FpgaImageAttribute, ImportImageLicenseConfigurationResponse, InstanceMetadataOptionsResponse, InstanceStatusEvent, LaunchPermission, Monitoring, PublicIpv4PoolRange, ReservedInstancesConfiguration, SnapshotDetail, SnapshotTaskDetail } from "./models_4";
7
7
  import type { CreateVolumePermission, LaunchTemplateConfig, ScheduledInstance, VerifiedAccessInstanceLoggingConfiguration, VolumeModification, VpcBlockPublicAccessOptions } from "./models_5";
8
8
  import type { InstanceFamilyCreditSpecification, IpamPolicyDocument, IpamResourceCidr, ManagedResourceVisibilitySettings, Purchase, TransitGatewayNatRule } from "./models_6";
9
+ /**
10
+ * <p>Describes the targets for the specified Verified Access endpoint.</p>
11
+ * @public
12
+ */
13
+ export interface VerifiedAccessEndpointTarget {
14
+ /**
15
+ * <p>The ID of the Verified Access endpoint.</p>
16
+ * @public
17
+ */
18
+ VerifiedAccessEndpointId?: string | undefined;
19
+ /**
20
+ * <p>The IP address of the target.</p>
21
+ * @public
22
+ */
23
+ VerifiedAccessEndpointTargetIpAddress?: string | undefined;
24
+ /**
25
+ * <p>The DNS name of the target.</p>
26
+ * @public
27
+ */
28
+ VerifiedAccessEndpointTargetDns?: string | undefined;
29
+ }
30
+ /**
31
+ * @public
32
+ */
33
+ export interface GetVerifiedAccessEndpointTargetsResult {
34
+ /**
35
+ * <p>The Verified Access targets.</p>
36
+ * @public
37
+ */
38
+ VerifiedAccessEndpointTargets?: VerifiedAccessEndpointTarget[] | undefined;
39
+ /**
40
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
41
+ * @public
42
+ */
43
+ NextToken?: string | undefined;
44
+ }
45
+ /**
46
+ * @public
47
+ */
48
+ export interface GetVerifiedAccessGroupPolicyRequest {
49
+ /**
50
+ * <p>The ID of the Verified Access group.</p>
51
+ * @public
52
+ */
53
+ VerifiedAccessGroupId: string | undefined;
54
+ /**
55
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
56
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
57
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
58
+ * @public
59
+ */
60
+ DryRun?: boolean | undefined;
61
+ }
62
+ /**
63
+ * @public
64
+ */
65
+ export interface GetVerifiedAccessGroupPolicyResult {
66
+ /**
67
+ * <p>The status of the Verified Access policy.</p>
68
+ * @public
69
+ */
70
+ PolicyEnabled?: boolean | undefined;
71
+ /**
72
+ * <p>The Verified Access policy document.</p>
73
+ * @public
74
+ */
75
+ PolicyDocument?: string | undefined;
76
+ }
77
+ /**
78
+ * @public
79
+ */
80
+ export interface GetVpcResourcesBlockingEncryptionEnforcementRequest {
81
+ /**
82
+ * <p>The ID of the VPC to check for resources blocking encryption enforcement.</p>
83
+ * @public
84
+ */
85
+ VpcId: string | undefined;
86
+ /**
87
+ * <p>The maximum number of items to return for this request.
88
+ * To get the next page of items, make another request with the token returned in the output.
89
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
90
+ * @public
91
+ */
92
+ MaxResults?: number | undefined;
93
+ /**
94
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
95
+ * @public
96
+ */
97
+ NextToken?: string | undefined;
98
+ /**
99
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
100
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
101
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
102
+ * @public
103
+ */
104
+ DryRun?: boolean | undefined;
105
+ }
106
+ /**
107
+ * <p>Describes a resource that is not compliant with VPC encryption requirements.</p>
108
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html">Enforce VPC encryption in transit</a> in the <i>Amazon VPC User Guide</i>.</p>
109
+ * @public
110
+ */
111
+ export interface VpcEncryptionNonCompliantResource {
112
+ /**
113
+ * <p>The ID of the non-compliant resource.</p>
114
+ * @public
115
+ */
116
+ Id?: string | undefined;
117
+ /**
118
+ * <p>The type of the non-compliant resource.</p>
119
+ * @public
120
+ */
121
+ Type?: string | undefined;
122
+ /**
123
+ * <p>A description of the non-compliant resource.</p>
124
+ * @public
125
+ */
126
+ Description?: string | undefined;
127
+ /**
128
+ * <p>Indicates whether the resource can be excluded from encryption enforcement.</p>
129
+ * @public
130
+ */
131
+ IsExcludable?: boolean | undefined;
132
+ }
133
+ /**
134
+ * @public
135
+ */
136
+ export interface GetVpcResourcesBlockingEncryptionEnforcementResult {
137
+ /**
138
+ * <p>Information about resources that are blocking encryption enforcement.</p>
139
+ * @public
140
+ */
141
+ NonCompliantResources?: VpcEncryptionNonCompliantResource[] | undefined;
142
+ /**
143
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
144
+ * @public
145
+ */
146
+ NextToken?: string | undefined;
147
+ }
148
+ /**
149
+ * @public
150
+ */
151
+ export interface GetVpnConnectionDeviceSampleConfigurationRequest {
152
+ /**
153
+ * <p>The <code>VpnConnectionId</code> specifies the Site-to-Site VPN connection used for the sample
154
+ * configuration.</p>
155
+ * @public
156
+ */
157
+ VpnConnectionId: string | undefined;
158
+ /**
159
+ * <p>Device identifier provided by the <code>GetVpnConnectionDeviceTypes</code> API.</p>
160
+ * @public
161
+ */
162
+ VpnConnectionDeviceTypeId: string | undefined;
163
+ /**
164
+ * <p>The IKE version to be used in the sample configuration file for your customer gateway
165
+ * device. You can specify one of the following versions: <code>ikev1</code> or
166
+ * <code>ikev2</code>.</p>
167
+ * @public
168
+ */
169
+ InternetKeyExchangeVersion?: string | undefined;
170
+ /**
171
+ * <p>The type of sample configuration to generate. Valid values are "compatibility" (includes IKEv1) or "recommended" (throws UnsupportedOperationException for IKEv1).</p>
172
+ * @public
173
+ */
174
+ SampleType?: string | undefined;
175
+ /**
176
+ * <p>Checks whether you have the required permissions for the action, without actually
177
+ * making the request, and provides an error response. If you have the required
178
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
179
+ * <code>UnauthorizedOperation</code>.</p>
180
+ * @public
181
+ */
182
+ DryRun?: boolean | undefined;
183
+ }
9
184
  /**
10
185
  * @public
11
186
  */
@@ -8499,116 +8674,3 @@ export interface RejectTransitGatewayMulticastDomainAssociationsResult {
8499
8674
  */
8500
8675
  Associations?: TransitGatewayMulticastDomainAssociations | undefined;
8501
8676
  }
8502
- /**
8503
- * @public
8504
- */
8505
- export interface RejectTransitGatewayPeeringAttachmentRequest {
8506
- /**
8507
- * <p>The ID of the transit gateway peering attachment.</p>
8508
- * @public
8509
- */
8510
- TransitGatewayAttachmentId: string | undefined;
8511
- /**
8512
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8513
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8514
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8515
- * @public
8516
- */
8517
- DryRun?: boolean | undefined;
8518
- }
8519
- /**
8520
- * @public
8521
- */
8522
- export interface RejectTransitGatewayPeeringAttachmentResult {
8523
- /**
8524
- * <p>The transit gateway peering attachment.</p>
8525
- * @public
8526
- */
8527
- TransitGatewayPeeringAttachment?: TransitGatewayPeeringAttachment | undefined;
8528
- }
8529
- /**
8530
- * @public
8531
- */
8532
- export interface RejectTransitGatewayVpcAttachmentRequest {
8533
- /**
8534
- * <p>The ID of the attachment.</p>
8535
- * @public
8536
- */
8537
- TransitGatewayAttachmentId: string | undefined;
8538
- /**
8539
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8540
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8541
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8542
- * @public
8543
- */
8544
- DryRun?: boolean | undefined;
8545
- }
8546
- /**
8547
- * @public
8548
- */
8549
- export interface RejectTransitGatewayVpcAttachmentResult {
8550
- /**
8551
- * <p>Information about the attachment.</p>
8552
- * @public
8553
- */
8554
- TransitGatewayVpcAttachment?: TransitGatewayVpcAttachment | undefined;
8555
- }
8556
- /**
8557
- * @public
8558
- */
8559
- export interface RejectVpcEndpointConnectionsRequest {
8560
- /**
8561
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8562
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8563
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8564
- * @public
8565
- */
8566
- DryRun?: boolean | undefined;
8567
- /**
8568
- * <p>The ID of the service.</p>
8569
- * @public
8570
- */
8571
- ServiceId: string | undefined;
8572
- /**
8573
- * <p>The IDs of the VPC endpoints.</p>
8574
- * @public
8575
- */
8576
- VpcEndpointIds: string[] | undefined;
8577
- }
8578
- /**
8579
- * @public
8580
- */
8581
- export interface RejectVpcEndpointConnectionsResult {
8582
- /**
8583
- * <p>Information about the endpoints that were not rejected, if applicable.</p>
8584
- * @public
8585
- */
8586
- Unsuccessful?: UnsuccessfulItem[] | undefined;
8587
- }
8588
- /**
8589
- * @public
8590
- */
8591
- export interface RejectVpcPeeringConnectionRequest {
8592
- /**
8593
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8594
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8595
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8596
- * @public
8597
- */
8598
- DryRun?: boolean | undefined;
8599
- /**
8600
- * <p>The ID of the VPC peering connection.</p>
8601
- * @public
8602
- */
8603
- VpcPeeringConnectionId: string | undefined;
8604
- }
8605
- /**
8606
- * @public
8607
- */
8608
- export interface RejectVpcPeeringConnectionResult {
8609
- /**
8610
- * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
8611
- * @public
8612
- */
8613
- Return?: boolean | undefined;
8614
- }
@@ -1,5 +1,5 @@
1
- import type { _InstanceType, AddressAttributeName, AmdSevSnpSpecification, CapacityManagerStatus, HostnameType, HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceInterruptionBehavior, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InterruptibleCapacityReservationAllocationStatus, InterruptionType, MarketType, MembershipType, NestedVirtualizationSpecification, ReportInstanceReasonCodes, ReportStatusType, ResetFpgaImageAttributeName, ResetImageAttributeName, RuleAction, SecondaryInterfaceType, ShutdownBehavior, SnapshotAttributeName, SnapshotState, SpotInstanceType, SSEType, Status, TransitGatewayAttachmentResourceType, ZeroSizePreference } from "./enums";
2
- import type { AddressAttribute, ByoipCidr, ClientVpnAuthorizationRuleStatus, IamInstanceProfileAssociation, IamInstanceProfileSpecification, IpPermission, NatGatewayAddress, PortRange, RouteTableAssociationState, TagSpecification, UnsuccessfulItem } from "./models_0";
1
+ import type { _InstanceType, AddressAttributeName, AmdSevSnpSpecification, CapacityManagerStatus, HostnameType, HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceInterruptionBehavior, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InterruptibleCapacityReservationAllocationStatus, InterruptionType, MarketType, MembershipType, NestedVirtualizationSpecification, ReportInstanceReasonCodes, ReportStatusType, ResetFpgaImageAttributeName, ResetImageAttributeName, RuleAction, SecondaryInterfaceType, SeverityLabel, ShutdownBehavior, SnapshotAttributeName, SnapshotState, SpotInstanceType, SSEType, Status, TransitGatewayAttachmentResourceType, ZeroSizePreference } from "./enums";
2
+ import type { AddressAttribute, ByoipCidr, ClientVpnAuthorizationRuleStatus, IamInstanceProfileAssociation, IamInstanceProfileSpecification, IpPermission, NatGatewayAddress, PortRange, RouteTableAssociationState, TagSpecification, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem } from "./models_0";
3
3
  import type { BlockDeviceMapping, CreditSpecificationRequest, ElasticGpuSpecification, IcmpTypeCode, InstanceIpv6Address, LocalGatewayRoute, ManagedPrefixList, OperatorRequest, Placement } from "./models_1";
4
4
  import type { TransitGatewayRoute } from "./models_2";
5
5
  import type { ClientVpnConnectionStatus, Filter } from "./models_3";
@@ -7,6 +7,119 @@ import type { InstanceState, NetworkInsightsAccessScopeAnalysis, NetworkInsights
7
7
  import type { InstanceNetworkInterfaceSpecification, RunInstancesMonitoringEnabled, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_5";
8
8
  import type { CapacityManagerMonitoredTagKey } from "./models_6";
9
9
  import type { CapacityReservationSpecification, EnclaveOptionsRequest, InstanceMonitoring } from "./models_7";
10
+ /**
11
+ * @public
12
+ */
13
+ export interface RejectTransitGatewayPeeringAttachmentRequest {
14
+ /**
15
+ * <p>The ID of the transit gateway peering attachment.</p>
16
+ * @public
17
+ */
18
+ TransitGatewayAttachmentId: string | undefined;
19
+ /**
20
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
21
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
22
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
23
+ * @public
24
+ */
25
+ DryRun?: boolean | undefined;
26
+ }
27
+ /**
28
+ * @public
29
+ */
30
+ export interface RejectTransitGatewayPeeringAttachmentResult {
31
+ /**
32
+ * <p>The transit gateway peering attachment.</p>
33
+ * @public
34
+ */
35
+ TransitGatewayPeeringAttachment?: TransitGatewayPeeringAttachment | undefined;
36
+ }
37
+ /**
38
+ * @public
39
+ */
40
+ export interface RejectTransitGatewayVpcAttachmentRequest {
41
+ /**
42
+ * <p>The ID of the attachment.</p>
43
+ * @public
44
+ */
45
+ TransitGatewayAttachmentId: string | undefined;
46
+ /**
47
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
48
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
49
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
50
+ * @public
51
+ */
52
+ DryRun?: boolean | undefined;
53
+ }
54
+ /**
55
+ * @public
56
+ */
57
+ export interface RejectTransitGatewayVpcAttachmentResult {
58
+ /**
59
+ * <p>Information about the attachment.</p>
60
+ * @public
61
+ */
62
+ TransitGatewayVpcAttachment?: TransitGatewayVpcAttachment | undefined;
63
+ }
64
+ /**
65
+ * @public
66
+ */
67
+ export interface RejectVpcEndpointConnectionsRequest {
68
+ /**
69
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
70
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
71
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
72
+ * @public
73
+ */
74
+ DryRun?: boolean | undefined;
75
+ /**
76
+ * <p>The ID of the service.</p>
77
+ * @public
78
+ */
79
+ ServiceId: string | undefined;
80
+ /**
81
+ * <p>The IDs of the VPC endpoints.</p>
82
+ * @public
83
+ */
84
+ VpcEndpointIds: string[] | undefined;
85
+ }
86
+ /**
87
+ * @public
88
+ */
89
+ export interface RejectVpcEndpointConnectionsResult {
90
+ /**
91
+ * <p>Information about the endpoints that were not rejected, if applicable.</p>
92
+ * @public
93
+ */
94
+ Unsuccessful?: UnsuccessfulItem[] | undefined;
95
+ }
96
+ /**
97
+ * @public
98
+ */
99
+ export interface RejectVpcPeeringConnectionRequest {
100
+ /**
101
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
102
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
103
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
104
+ * @public
105
+ */
106
+ DryRun?: boolean | undefined;
107
+ /**
108
+ * <p>The ID of the VPC peering connection.</p>
109
+ * @public
110
+ */
111
+ VpcPeeringConnectionId: string | undefined;
112
+ }
113
+ /**
114
+ * @public
115
+ */
116
+ export interface RejectVpcPeeringConnectionResult {
117
+ /**
118
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
119
+ * @public
120
+ */
121
+ Return?: boolean | undefined;
122
+ }
10
123
  /**
11
124
  * @public
12
125
  */
@@ -181,6 +294,113 @@ export interface ImageWatermarkFilterRequest {
181
294
  */
182
295
  MaximumDaysSinceWatermarkCreated?: number | undefined;
183
296
  }
297
+ /**
298
+ * <p>The Amazon Inspector scan-result criteria that an AMI must meet to be allowed. The
299
+ * criteria can limit the highest finding severity. They can also limit, for each severity, the
300
+ * days since Amazon Inspector reported a fix as available.</p>
301
+ * <p>The severity limit applies to all findings, whether or not a fix is available. The day
302
+ * limits for each severity apply only to findings that have a fix available. A scanned AMI that
303
+ * has no fix-available finding of a given severity meets that severity's day limit. AMIs that
304
+ * Amazon Inspector has not scanned are not allowed when you specify this condition.</p>
305
+ * @public
306
+ */
307
+ export interface ScanResultConditionRequest {
308
+ /**
309
+ * <p>The maximum number of days that have elapsed since Amazon Inspector last scanned the AMI.
310
+ * For example, a value of <code>7</code> allows AMIs that were scanned within the last 7 days.
311
+ * AMIs that Amazon Inspector has not scanned are not allowed.</p>
312
+ * <p>Constraints: Minimum value of 0. Maximum value of 2147483647.</p>
313
+ * @public
314
+ */
315
+ MaxDaysSinceLastFindingScan?: number | undefined;
316
+ /**
317
+ * <p>The maximum severity that an AMI's Amazon Inspector findings can have for the AMI to be
318
+ * allowed. Findings count whether or not a fix is available. For example, a value of
319
+ * <code>medium</code> allows AMIs whose highest severity is <code>informational</code>,
320
+ * <code>low</code>, or <code>medium</code>.</p>
321
+ * <p>The valid values are the following Amazon Inspector severity levels, which correspond to
322
+ * CVSS score ranges:</p>
323
+ * <ul>
324
+ * <li>
325
+ * <p>
326
+ * <code>informational</code> - CVSS score of 0.</p>
327
+ * </li>
328
+ * <li>
329
+ * <p>
330
+ * <code>low</code> - CVSS score of 0.1 to 3.9.</p>
331
+ * </li>
332
+ * <li>
333
+ * <p>
334
+ * <code>medium</code> - CVSS score of 4.0 to 6.9.</p>
335
+ * </li>
336
+ * <li>
337
+ * <p>
338
+ * <code>high</code> - CVSS score of 7.0 to 8.9.</p>
339
+ * </li>
340
+ * <li>
341
+ * <p>
342
+ * <code>critical</code> - CVSS score of 9.0 to 10.0.</p>
343
+ * </li>
344
+ * </ul>
345
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-severity.html#findings-understanding-package-score">Software
346
+ * package vulnerability severity</a> in the <i>Amazon Inspector User Guide</i>.</p>
347
+ * <p>A scanned AMI that has no findings meets this limit.</p>
348
+ * <p>AMIs that Amazon Inspector has not scanned are not allowed when you specify this
349
+ * condition.</p>
350
+ * @public
351
+ */
352
+ MaximumSeverityLabel?: SeverityLabel | undefined;
353
+ /**
354
+ * <p>The maximum number of days since Amazon Inspector reported a fix as available for an
355
+ * <code>informational</code> severity finding on the AMI. For example, a value of <code>7</code>
356
+ * does not allow an AMI if Amazon Inspector reported such a fix more than 7 days ago.</p>
357
+ * <p>A scanned AMI that has no <code>informational</code> severity finding with a fix available meets
358
+ * this limit. AMIs that Amazon Inspector has not scanned are not allowed.</p>
359
+ * <p>Constraints: Minimum value of 0. Maximum value of 2147483647.</p>
360
+ * @public
361
+ */
362
+ MaxDaysSinceInformationalFixAvailable?: number | undefined;
363
+ /**
364
+ * <p>The maximum number of days since Amazon Inspector reported a fix as available for a
365
+ * <code>low</code> severity finding on the AMI. For example, a value of <code>7</code> does not
366
+ * allow an AMI if Amazon Inspector reported such a fix more than 7 days ago.</p>
367
+ * <p>A scanned AMI that has no <code>low</code> severity finding with a fix available meets
368
+ * this limit. AMIs that Amazon Inspector has not scanned are not allowed.</p>
369
+ * <p>Constraints: Minimum value of 0. Maximum value of 2147483647.</p>
370
+ * @public
371
+ */
372
+ MaxDaysSinceLowFixAvailable?: number | undefined;
373
+ /**
374
+ * <p>The maximum number of days since Amazon Inspector reported a fix as available for a
375
+ * <code>medium</code> severity finding on the AMI. For example, a value of <code>7</code> does
376
+ * not allow an AMI if Amazon Inspector reported such a fix more than 7 days ago.</p>
377
+ * <p>A scanned AMI that has no <code>medium</code> severity finding with a fix available meets
378
+ * this limit. AMIs that Amazon Inspector has not scanned are not allowed.</p>
379
+ * <p>Constraints: Minimum value of 0. Maximum value of 2147483647.</p>
380
+ * @public
381
+ */
382
+ MaxDaysSinceMediumFixAvailable?: number | undefined;
383
+ /**
384
+ * <p>The maximum number of days since Amazon Inspector reported a fix as available for a
385
+ * <code>high</code> severity finding on the AMI. For example, a value of <code>7</code> does not
386
+ * allow an AMI if Amazon Inspector reported such a fix more than 7 days ago.</p>
387
+ * <p>A scanned AMI that has no <code>high</code> severity finding with a fix available meets
388
+ * this limit. AMIs that Amazon Inspector has not scanned are not allowed.</p>
389
+ * <p>Constraints: Minimum value of 0. Maximum value of 2147483647.</p>
390
+ * @public
391
+ */
392
+ MaxDaysSinceHighFixAvailable?: number | undefined;
393
+ /**
394
+ * <p>The maximum number of days since Amazon Inspector reported a fix as available for a
395
+ * <code>critical</code> severity finding on the AMI. For example, a value of <code>7</code> does
396
+ * not allow an AMI if Amazon Inspector reported such a fix more than 7 days ago.</p>
397
+ * <p>A scanned AMI that has no <code>critical</code> severity finding with a fix available meets
398
+ * this limit. AMIs that Amazon Inspector has not scanned are not allowed.</p>
399
+ * <p>Constraints: Minimum value of 0. Maximum value of 2147483647.</p>
400
+ * @public
401
+ */
402
+ MaxDaysSinceCriticalFixAvailable?: number | undefined;
403
+ }
184
404
  /**
185
405
  * <p>The criteria that are evaluated to determine which AMIs are discoverable and usable in
186
406
  * your account for the specified Amazon Web Services Region.</p>
@@ -299,6 +519,14 @@ export interface ImageCriterionRequest {
299
519
  * @public
300
520
  */
301
521
  ImageWatermarks?: ImageWatermarkFilterRequest[] | undefined;
522
+ /**
523
+ * <p>The Amazon Inspector scan-result criteria that an AMI must meet to be allowed. The
524
+ * criteria can limit the highest finding severity, the number of days since Amazon Inspector
525
+ * last scanned the AMI, and the number of days since Amazon Inspector reported a fix as
526
+ * available.</p>
527
+ * @public
528
+ */
529
+ ScanResultCondition?: ScanResultConditionRequest | undefined;
302
530
  }
303
531
  /**
304
532
  * @public
@@ -0,0 +1,7 @@
1
+ import type { Paginator } from "@smithy/types";
2
+ import { GetImageFindingsCommandInput, GetImageFindingsCommandOutput } from "../commands/GetImageFindingsCommand";
3
+ import type { EC2PaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateGetImageFindings: (config: EC2PaginationConfiguration, input: GetImageFindingsCommandInput, ...rest: any[]) => Paginator<GetImageFindingsCommandOutput>;
@@ -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";
@@ -207,6 +207,7 @@ export declare var CapacityManagerCondition$: StaticStructureSchema;
207
207
  export declare var CapacityManagerDataExportResponse$: StaticStructureSchema;
208
208
  export declare var CapacityManagerDimension$: StaticStructureSchema;
209
209
  export declare var CapacityManagerMonitoredTagKey$: StaticStructureSchema;
210
+ export declare var CapacityManagerSupportabilityScore$: StaticStructureSchema;
210
211
  export declare var CapacityManagerTagDimension$: StaticStructureSchema;
211
212
  export declare var CapacityReservation$: StaticStructureSchema;
212
213
  export declare var CapacityReservationAdjustmentDetails$: StaticStructureSchema;
@@ -1379,6 +1380,8 @@ export declare var GetCapacityManagerMetricDimensionsRequest$: StaticStructureSc
1379
1380
  export declare var GetCapacityManagerMetricDimensionsResult$: StaticStructureSchema;
1380
1381
  export declare var GetCapacityManagerMonitoredTagKeysRequest$: StaticStructureSchema;
1381
1382
  export declare var GetCapacityManagerMonitoredTagKeysResult$: StaticStructureSchema;
1383
+ export declare var GetCapacityManagerSupportabilityScoresRequest$: StaticStructureSchema;
1384
+ export declare var GetCapacityManagerSupportabilityScoresResult$: StaticStructureSchema;
1382
1385
  export declare var GetCapacityReservationUsageRequest$: StaticStructureSchema;
1383
1386
  export declare var GetCapacityReservationUsageResult$: StaticStructureSchema;
1384
1387
  export declare var GetClientVpnEndpointAuthorizationPolicyRequest$: StaticStructureSchema;
@@ -1409,6 +1412,8 @@ export declare var GetImageAncestryRequest$: StaticStructureSchema;
1409
1412
  export declare var GetImageAncestryResult$: StaticStructureSchema;
1410
1413
  export declare var GetImageBlockPublicAccessStateRequest$: StaticStructureSchema;
1411
1414
  export declare var GetImageBlockPublicAccessStateResult$: StaticStructureSchema;
1415
+ export declare var GetImageFindingsRequest$: StaticStructureSchema;
1416
+ export declare var GetImageFindingsResult$: StaticStructureSchema;
1412
1417
  export declare var GetInstanceMetadataDefaultsRequest$: StaticStructureSchema;
1413
1418
  export declare var GetInstanceMetadataDefaultsResult$: StaticStructureSchema;
1414
1419
  export declare var GetInstanceTpmEkPubRequest$: StaticStructureSchema;
@@ -1553,6 +1558,7 @@ export declare var ImageAttribute$: StaticStructureSchema;
1553
1558
  export declare var ImageCriterion$: StaticStructureSchema;
1554
1559
  export declare var ImageCriterionRequest$: StaticStructureSchema;
1555
1560
  export declare var ImageDiskContainer$: StaticStructureSchema;
1561
+ export declare var ImageFinding$: StaticStructureSchema;
1556
1562
  export declare var ImageMetadata$: StaticStructureSchema;
1557
1563
  export declare var ImageRecycleBinInfo$: StaticStructureSchema;
1558
1564
  export declare var ImageReference$: StaticStructureSchema;
@@ -2254,6 +2260,9 @@ export declare var RunScheduledInstancesRequest$: StaticStructureSchema;
2254
2260
  export declare var RunScheduledInstancesResult$: StaticStructureSchema;
2255
2261
  export declare var S3ObjectTag$: StaticStructureSchema;
2256
2262
  export declare var S3Storage$: StaticStructureSchema;
2263
+ export declare var ScanResultCondition$: StaticStructureSchema;
2264
+ export declare var ScanResultConditionRequest$: StaticStructureSchema;
2265
+ export declare var ScanResults$: StaticStructureSchema;
2257
2266
  export declare var ScheduledInstance$: StaticStructureSchema;
2258
2267
  export declare var ScheduledInstanceAvailability$: StaticStructureSchema;
2259
2268
  export declare var ScheduledInstanceRecurrence$: StaticStructureSchema;
@@ -3104,6 +3113,7 @@ export declare var GetCapacityManagerAttributes$: StaticOperationSchema;
3104
3113
  export declare var GetCapacityManagerMetricData$: StaticOperationSchema;
3105
3114
  export declare var GetCapacityManagerMetricDimensions$: StaticOperationSchema;
3106
3115
  export declare var GetCapacityManagerMonitoredTagKeys$: StaticOperationSchema;
3116
+ export declare var GetCapacityManagerSupportabilityScores$: StaticOperationSchema;
3107
3117
  export declare var GetCapacityReservationUsage$: StaticOperationSchema;
3108
3118
  export declare var GetClientVpnEndpointAuthorizationPolicy$: StaticOperationSchema;
3109
3119
  export declare var GetCoipPoolUsage$: StaticOperationSchema;
@@ -3119,6 +3129,7 @@ export declare var GetGroupsForCapacityReservation$: StaticOperationSchema;
3119
3129
  export declare var GetHostReservationPurchasePreview$: StaticOperationSchema;
3120
3130
  export declare var GetImageAncestry$: StaticOperationSchema;
3121
3131
  export declare var GetImageBlockPublicAccessState$: StaticOperationSchema;
3132
+ export declare var GetImageFindings$: StaticOperationSchema;
3122
3133
  export declare var GetInstanceMetadataDefaults$: StaticOperationSchema;
3123
3134
  export declare var GetInstanceTpmEkPub$: StaticOperationSchema;
3124
3135
  export declare var GetInstanceTypesFromInstanceRequirements$: StaticOperationSchema;