@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,10 +1,32 @@
1
- import type { AllowedImagesSettingsEnabledState, AnalysisStatus, ArchitectureType, CapacityManagerMonitoredTagKeyStatus, CapacityManagerStatus, CapacityReservationState, CapacityTenancy, ChronologicalOrder, ClientCertificateRevocationListStatusCode, ClientVpnAuthorizationPolicyShadowMode, ClientVpnAuthorizationPolicyStatus, Comparison, CurrencyCodeValues, DeviceTrustProviderType, DiskImageFormat, EkPubKeyFormat, EkPubKeyType, FastLaunchResourceType, FastLaunchStateCode, FastSnapshotRestoreStateCode, FilterByDimension, GroupBy, HttpTokensEnforcedState, HttpTokensState, ImageBlockPublicAccessEnabledState, IngestionStatus, InstanceMetadataEndpointState, InstanceMetadataTagsState, IpamAddressHistoryResourceType, IpamByoipAdvertisementType, IpamByoipCidrState, IpamComplianceStatus, IpamDiscoveryFailureCode, IpamManagementState, IpamNetworkInterfaceAttachmentStatus, IpamOverlapStatus, IpamPolicyManagedBy, IpamPolicyResourceType, IpamPrefixListResolverRuleConditionOperation, IpamPrefixListResolverRuleType, IpamPublicAddressAssociationStatus, IpamPublicAddressAwsService, IpamPublicAddressType, IpamResourceCidrIpSource, IpamResourceType, IpamRoutingPolicyRegistrationState, IpamRpkiStatus, IpamRpkiStrength, ManagedBy, ManagedResourceDefaultVisibility, Metric, MetricType, PartitionLoadFrequency, PaymentOption, PeriodType, ReservationEndDateType, ReservationState, ReservationType, RouteServerRouteInstallationStatus, RouteServerRouteStatus, SnapshotBlockPublicAccessState, SSEType, StatisticType, TargetCapacityUnitType, TransitGatewayAssociationState, TransitGatewayAttachmentNatGatewaySupportState, TransitGatewayAttachmentNatSystemRouteSupportValue, TransitGatewayAttachmentResourceType, TransitGatewayNatRuleState, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, UserTrustProviderType, VirtualizationType } from "./enums";
1
+ import type { AllowedImagesSettingsEnabledState, AnalysisStatus, ArchitectureType, CapacityManagerMonitoredTagKeyStatus, CapacityManagerStatus, CapacityReservationState, CapacityTenancy, CapacityUnit, ChronologicalOrder, ClientCertificateRevocationListStatusCode, ClientVpnAuthorizationPolicyShadowMode, ClientVpnAuthorizationPolicyStatus, Comparison, CurrencyCodeValues, DeviceTrustProviderType, DiskImageFormat, EkPubKeyFormat, EkPubKeyType, FastLaunchResourceType, FastLaunchStateCode, FastSnapshotRestoreStateCode, FilterByDimension, GroupBy, HttpTokensEnforcedState, HttpTokensState, ImageBlockPublicAccessEnabledState, IngestionStatus, InstanceMetadataEndpointState, InstanceMetadataTagsState, IpamAddressHistoryResourceType, IpamByoipAdvertisementType, IpamByoipCidrState, IpamComplianceStatus, IpamDiscoveryFailureCode, IpamManagementState, IpamNetworkInterfaceAttachmentStatus, IpamOverlapStatus, IpamPolicyManagedBy, IpamPolicyResourceType, IpamPrefixListResolverRuleConditionOperation, IpamPrefixListResolverRuleType, IpamPublicAddressAssociationStatus, IpamPublicAddressAwsService, IpamPublicAddressType, IpamResourceCidrIpSource, IpamResourceType, IpamRoutingPolicyRegistrationState, IpamRpkiStatus, IpamRpkiStrength, ManagedBy, ManagedResourceDefaultVisibility, Metric, MetricType, PartitionLoadFrequency, PaymentOption, PeriodType, ReservationEndDateType, ReservationState, ReservationType, RouteServerRouteInstallationStatus, RouteServerRouteStatus, SeverityLabel, SnapshotBlockPublicAccessState, SSEType, StatisticType, SupportabilityMarketType, SupportabilityScore, TargetCapacityUnitType, TransitGatewayAssociationState, TransitGatewayAttachmentNatGatewaySupportState, TransitGatewayAttachmentNatSystemRouteSupportValue, TransitGatewayAttachmentResourceType, TransitGatewayNatRuleState, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, UserTrustProviderType, VirtualizationType } from "./enums";
2
2
  import type { AccessScopeAnalysisFinding, ActiveVpnTunnelStatus, AddressTransfer, InterruptibleCapacityAllocation, InterruptionInfo, IpamPoolAllocation, IpamRoutingPolicyRegistrationDelta, RouteServerAssociation, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociation, TransitGatewayPolicyTableAssociation, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation } from "./models_0";
3
3
  import type { InstanceRequirementsRequest, IpamInternetRegistryAssociation, IpamResourceTag, NetworkInsightsAccessScopeContent, RequestIpamResourceTag, ResponseLaunchTemplateData } from "./models_1";
4
4
  import type { SubnetCidrReservation, TransitGatewayMeteringPolicyEntry, TransitGatewayPolicyTableEntry, TransitGatewayPrefixListReference } from "./models_2";
5
5
  import type { ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchSnapshotConfigurationResponse, Filter, IpamPoolCidr } from "./models_3";
6
6
  import type { RegisteredInstance } from "./models_4";
7
7
  import type { RouteServerPropagation, SuccessfulSuppressionResponseObject, TransitGatewayPropagation, UnsuccessfulSuppressionResponseObject } from "./models_5";
8
+ /**
9
+ * @public
10
+ */
11
+ export interface DisassociateTransitGatewayPolicyTableRequest {
12
+ /**
13
+ * <p>The ID of the disassociated policy table.</p>
14
+ * @public
15
+ */
16
+ TransitGatewayPolicyTableId: string | undefined;
17
+ /**
18
+ * <p>The ID of the transit gateway attachment to disassociate from the policy table.</p>
19
+ * @public
20
+ */
21
+ TransitGatewayAttachmentId: string | undefined;
22
+ /**
23
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
24
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
25
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
26
+ * @public
27
+ */
28
+ DryRun?: boolean | undefined;
29
+ }
8
30
  /**
9
31
  * @public
10
32
  */
@@ -1682,6 +1704,113 @@ export interface ImageWatermarkFilterResponse {
1682
1704
  */
1683
1705
  MaximumDaysSinceWatermarkCreated?: number | undefined;
1684
1706
  }
1707
+ /**
1708
+ * <p>The Amazon Inspector scan-result criteria that an AMI must meet to be allowed. The
1709
+ * criteria can limit the highest finding severity. They can also limit, for each severity, the
1710
+ * days since Amazon Inspector reported a fix as available.</p>
1711
+ * <p>The severity limit applies to all findings, whether or not a fix is available. The day
1712
+ * limits for each severity apply only to findings that have a fix available. A scanned AMI that
1713
+ * has no fix-available finding of a given severity meets that severity's day limit. AMIs that
1714
+ * Amazon Inspector has not scanned are not allowed when you specify this condition.</p>
1715
+ * @public
1716
+ */
1717
+ export interface ScanResultCondition {
1718
+ /**
1719
+ * <p>The maximum number of days that have elapsed since Amazon Inspector last scanned the AMI.
1720
+ * For example, a value of <code>7</code> allows AMIs that were scanned within the last 7 days.
1721
+ * AMIs that Amazon Inspector has not scanned are not allowed.</p>
1722
+ * <p>Constraints: Minimum value of 0. Maximum value of 2147483647.</p>
1723
+ * @public
1724
+ */
1725
+ MaxDaysSinceLastFindingScan?: number | undefined;
1726
+ /**
1727
+ * <p>The maximum severity that an AMI's Amazon Inspector findings can have for the AMI to be
1728
+ * allowed. Findings count whether or not a fix is available. For example, a value of
1729
+ * <code>medium</code> allows AMIs whose highest severity is <code>informational</code>,
1730
+ * <code>low</code>, or <code>medium</code>.</p>
1731
+ * <p>The valid values are the following Amazon Inspector severity levels, which correspond to
1732
+ * CVSS score ranges:</p>
1733
+ * <ul>
1734
+ * <li>
1735
+ * <p>
1736
+ * <code>informational</code> - CVSS score of 0.</p>
1737
+ * </li>
1738
+ * <li>
1739
+ * <p>
1740
+ * <code>low</code> - CVSS score of 0.1 to 3.9.</p>
1741
+ * </li>
1742
+ * <li>
1743
+ * <p>
1744
+ * <code>medium</code> - CVSS score of 4.0 to 6.9.</p>
1745
+ * </li>
1746
+ * <li>
1747
+ * <p>
1748
+ * <code>high</code> - CVSS score of 7.0 to 8.9.</p>
1749
+ * </li>
1750
+ * <li>
1751
+ * <p>
1752
+ * <code>critical</code> - CVSS score of 9.0 to 10.0.</p>
1753
+ * </li>
1754
+ * </ul>
1755
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-severity.html#findings-understanding-package-score">Software
1756
+ * package vulnerability severity</a> in the <i>Amazon Inspector User Guide</i>.</p>
1757
+ * <p>A scanned AMI that has no findings meets this limit.</p>
1758
+ * <p>AMIs that Amazon Inspector has not scanned are not allowed when you specify this
1759
+ * condition.</p>
1760
+ * @public
1761
+ */
1762
+ MaximumSeverityLabel?: SeverityLabel | undefined;
1763
+ /**
1764
+ * <p>The maximum number of days since Amazon Inspector reported a fix as available for an
1765
+ * <code>informational</code> severity finding on the AMI. For example, a value of <code>7</code>
1766
+ * does not allow an AMI if Amazon Inspector reported such a fix more than 7 days ago.</p>
1767
+ * <p>A scanned AMI that has no <code>informational</code> severity finding with a fix available meets
1768
+ * this limit. AMIs that Amazon Inspector has not scanned are not allowed.</p>
1769
+ * <p>Constraints: Minimum value of 0. Maximum value of 2147483647.</p>
1770
+ * @public
1771
+ */
1772
+ MaxDaysSinceInformationalFixAvailable?: number | undefined;
1773
+ /**
1774
+ * <p>The maximum number of days since Amazon Inspector reported a fix as available for a
1775
+ * <code>low</code> severity finding on the AMI. For example, a value of <code>7</code> does not
1776
+ * allow an AMI if Amazon Inspector reported such a fix more than 7 days ago.</p>
1777
+ * <p>A scanned AMI that has no <code>low</code> severity finding with a fix available meets
1778
+ * this limit. AMIs that Amazon Inspector has not scanned are not allowed.</p>
1779
+ * <p>Constraints: Minimum value of 0. Maximum value of 2147483647.</p>
1780
+ * @public
1781
+ */
1782
+ MaxDaysSinceLowFixAvailable?: number | undefined;
1783
+ /**
1784
+ * <p>The maximum number of days since Amazon Inspector reported a fix as available for a
1785
+ * <code>medium</code> severity finding on the AMI. For example, a value of <code>7</code> does
1786
+ * not allow an AMI if Amazon Inspector reported such a fix more than 7 days ago.</p>
1787
+ * <p>A scanned AMI that has no <code>medium</code> severity finding with a fix available meets
1788
+ * this limit. AMIs that Amazon Inspector has not scanned are not allowed.</p>
1789
+ * <p>Constraints: Minimum value of 0. Maximum value of 2147483647.</p>
1790
+ * @public
1791
+ */
1792
+ MaxDaysSinceMediumFixAvailable?: number | undefined;
1793
+ /**
1794
+ * <p>The maximum number of days since Amazon Inspector reported a fix as available for a
1795
+ * <code>high</code> severity finding on the AMI. For example, a value of <code>7</code> does not
1796
+ * allow an AMI if Amazon Inspector reported such a fix more than 7 days ago.</p>
1797
+ * <p>A scanned AMI that has no <code>high</code> severity finding with a fix available meets
1798
+ * this limit. AMIs that Amazon Inspector has not scanned are not allowed.</p>
1799
+ * <p>Constraints: Minimum value of 0. Maximum value of 2147483647.</p>
1800
+ * @public
1801
+ */
1802
+ MaxDaysSinceHighFixAvailable?: number | undefined;
1803
+ /**
1804
+ * <p>The maximum number of days since Amazon Inspector reported a fix as available for a
1805
+ * <code>critical</code> severity finding on the AMI. For example, a value of <code>7</code> does
1806
+ * not allow an AMI if Amazon Inspector reported such a fix more than 7 days ago.</p>
1807
+ * <p>A scanned AMI that has no <code>critical</code> severity finding with a fix available meets
1808
+ * this limit. AMIs that Amazon Inspector has not scanned are not allowed.</p>
1809
+ * <p>Constraints: Minimum value of 0. Maximum value of 2147483647.</p>
1810
+ * @public
1811
+ */
1812
+ MaxDaysSinceCriticalFixAvailable?: number | undefined;
1813
+ }
1685
1814
  /**
1686
1815
  * <p>The criteria that are evaluated to determine which AMIs are discoverable and usable in
1687
1816
  * your account for the specified Amazon Web Services Region.</p>
@@ -1773,6 +1902,14 @@ export interface ImageCriterion {
1773
1902
  * @public
1774
1903
  */
1775
1904
  ImageWatermarks?: ImageWatermarkFilterResponse[] | undefined;
1905
+ /**
1906
+ * <p>The Amazon Inspector scan-result criteria that an AMI must meet to be allowed. The
1907
+ * criteria can limit the highest finding severity, the number of days since Amazon Inspector
1908
+ * last scanned the AMI, and the number of days since Amazon Inspector reported a fix as
1909
+ * available.</p>
1910
+ * @public
1911
+ */
1912
+ ScanResultCondition?: ScanResultCondition | undefined;
1776
1913
  }
1777
1914
  /**
1778
1915
  * @public
@@ -2680,6 +2817,144 @@ export interface GetCapacityManagerMonitoredTagKeysResult {
2680
2817
  */
2681
2818
  NextToken?: string | undefined;
2682
2819
  }
2820
+ /**
2821
+ * <p>The architecture type, virtualization type, and other attributes for the instance types.
2822
+ * When you specify instance attributes, Amazon EC2 will identify instance types with those
2823
+ * attributes.</p>
2824
+ * <p>If you specify <code>InstanceRequirementsWithMetadataRequest</code>, you can't specify
2825
+ * <code>InstanceTypes</code>.</p>
2826
+ * @public
2827
+ */
2828
+ export interface InstanceRequirementsWithMetadataRequest {
2829
+ /**
2830
+ * <p>The architecture type.</p>
2831
+ * @public
2832
+ */
2833
+ ArchitectureTypes?: ArchitectureType[] | undefined;
2834
+ /**
2835
+ * <p>The virtualization type.</p>
2836
+ * @public
2837
+ */
2838
+ VirtualizationTypes?: VirtualizationType[] | undefined;
2839
+ /**
2840
+ * <p>The attributes for the instance types. When you specify instance attributes, Amazon EC2 will
2841
+ * identify instance types with those attributes.</p>
2842
+ * @public
2843
+ */
2844
+ InstanceRequirements?: InstanceRequirementsRequest | undefined;
2845
+ }
2846
+ /**
2847
+ * @public
2848
+ */
2849
+ export interface GetCapacityManagerSupportabilityScoresRequest {
2850
+ /**
2851
+ * <p>
2852
+ * The capacity market to score.
2853
+ * </p>
2854
+ * @public
2855
+ */
2856
+ MarketType: SupportabilityMarketType | undefined;
2857
+ /**
2858
+ * <p>
2859
+ * The amount of capacity that you need, in the unit that you specify for <code>CapacityUnit</code>. Each score is relative to this amount.
2860
+ * </p>
2861
+ * @public
2862
+ */
2863
+ CapacityAmount: number | undefined;
2864
+ /**
2865
+ * <p>
2866
+ * The unit for <code>CapacityAmount</code>.
2867
+ * </p>
2868
+ * @public
2869
+ */
2870
+ CapacityUnit: CapacityUnit | undefined;
2871
+ /**
2872
+ * <p>
2873
+ * The IDs of the Availability Zones to score, such as <code>use1-az1</code>. You can specify Availability Zones in different Regions.
2874
+ * You can specify up to 10 Availability Zones.
2875
+ * </p>
2876
+ * @public
2877
+ */
2878
+ CapacityAvailabilityZoneIds: string[] | undefined;
2879
+ /**
2880
+ * <p>
2881
+ * The instance types to score. You can specify up to 50 instance types.
2882
+ * </p>
2883
+ * <p>
2884
+ * Specify either <code>InstanceTypes</code> or <code>InstanceRequirementsWithMetadata</code>, but not both.
2885
+ * </p>
2886
+ * @public
2887
+ */
2888
+ InstanceTypes?: string[] | undefined;
2889
+ /**
2890
+ * <p>
2891
+ * The attributes that the instance types must have, such as vCPU and memory ranges. Capacity Manager resolves the attributes into matching instance types and scores each one.
2892
+ * </p>
2893
+ * <p>
2894
+ * Specify either <code>InstanceTypes</code> or <code>InstanceRequirementsWithMetadata</code>, but not both.
2895
+ * </p>
2896
+ * @public
2897
+ */
2898
+ InstanceRequirementsWithMetadata?: InstanceRequirementsWithMetadataRequest | undefined;
2899
+ /**
2900
+ * <p>
2901
+ * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
2902
+ * If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.
2903
+ * </p>
2904
+ * @public
2905
+ */
2906
+ DryRun?: boolean | undefined;
2907
+ }
2908
+ /**
2909
+ * <p>
2910
+ * The supportability score for a single instance type and Availability Zone combination.
2911
+ * </p>
2912
+ * @public
2913
+ */
2914
+ export interface CapacityManagerSupportabilityScore {
2915
+ /**
2916
+ * <p>
2917
+ * The instance type.
2918
+ * </p>
2919
+ * @public
2920
+ */
2921
+ InstanceType?: string | undefined;
2922
+ /**
2923
+ * <p>
2924
+ * The ID of the Availability Zone.
2925
+ * </p>
2926
+ * @public
2927
+ */
2928
+ AvailabilityZoneId?: string | undefined;
2929
+ /**
2930
+ * <p>
2931
+ * How well the combination can support the requested capacity right now. <code>high</code> means that the combination holds several times the requested amount.
2932
+ * <code>medium</code> means that it can cover the request with little to spare. <code>low</code> means that it holds less than the requested amount.
2933
+ * </p>
2934
+ * @public
2935
+ */
2936
+ Score?: SupportabilityScore | undefined;
2937
+ }
2938
+ /**
2939
+ * @public
2940
+ */
2941
+ export interface GetCapacityManagerSupportabilityScoresResult {
2942
+ /**
2943
+ * <p>
2944
+ * The score for all instance type and Availability Zone combinations in the request together.
2945
+ * A <code>high</code> aggregate score with lower individual scores means that no single combination can support the full request, but the combinations together can.
2946
+ * </p>
2947
+ * @public
2948
+ */
2949
+ AggregateScore?: SupportabilityScore | undefined;
2950
+ /**
2951
+ * <p>
2952
+ * The score for each instance type and Availability Zone combination in the request.
2953
+ * </p>
2954
+ * @public
2955
+ */
2956
+ CapacityManagerSupportabilityScores?: CapacityManagerSupportabilityScore[] | undefined;
2957
+ }
2683
2958
  /**
2684
2959
  * @public
2685
2960
  */
@@ -3698,6 +3973,127 @@ export interface GetImageBlockPublicAccessStateResult {
3698
3973
  */
3699
3974
  ManagedBy?: ManagedBy | undefined;
3700
3975
  }
3976
+ /**
3977
+ * @public
3978
+ */
3979
+ export interface GetImageFindingsRequest {
3980
+ /**
3981
+ * <p>The ID of the AMI.</p>
3982
+ * @public
3983
+ */
3984
+ ImageId: string | undefined;
3985
+ /**
3986
+ * <p>The maximum number of items to return for this request.
3987
+ * To get the next page of items, make another request with the token returned in the output.
3988
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
3989
+ * @public
3990
+ */
3991
+ MaxResults?: number | undefined;
3992
+ /**
3993
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
3994
+ * @public
3995
+ */
3996
+ NextToken?: string | undefined;
3997
+ /**
3998
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
3999
+ * and provides an error response. If you have the required permissions, the error response is
4000
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4001
+ * @public
4002
+ */
4003
+ DryRun?: boolean | undefined;
4004
+ }
4005
+ /**
4006
+ * <p>Describes an Amazon Inspector vulnerability finding for an AMI.</p>
4007
+ * @public
4008
+ */
4009
+ export interface ImageFinding {
4010
+ /**
4011
+ * <p>Specifies whether a fix is available for the finding. This value is <code>true</code> when
4012
+ * Amazon Inspector reports a full or partial fix for the finding.</p>
4013
+ * @public
4014
+ */
4015
+ FixAvailable?: boolean | undefined;
4016
+ /**
4017
+ * <p>The Amazon Inspector score for the finding.</p>
4018
+ * @public
4019
+ */
4020
+ Score?: number | undefined;
4021
+ /**
4022
+ * <p>The date and time, in the ISO 8601 format in the UTC time zone
4023
+ * (YYYY-MM-DDThh:mm:ss.sssZ), when Amazon Inspector first observed the finding.</p>
4024
+ * @public
4025
+ */
4026
+ FirstObservedAt?: Date | undefined;
4027
+ /**
4028
+ * <p>The date and time, in the ISO 8601 format in the UTC time zone
4029
+ * (YYYY-MM-DDThh:mm:ss.sssZ), when Amazon Inspector last updated the finding.</p>
4030
+ * @public
4031
+ */
4032
+ UpdatedAt?: Date | undefined;
4033
+ /**
4034
+ * <p>The title of the finding.</p>
4035
+ * @public
4036
+ */
4037
+ Title?: string | undefined;
4038
+ /**
4039
+ * <p>The file paths in the AMI that are affected by the finding. Amazon EC2 returns up to 10
4040
+ * file paths for each finding.</p>
4041
+ * @public
4042
+ */
4043
+ Paths?: string[] | undefined;
4044
+ /**
4045
+ * <p>The severity of the finding.</p>
4046
+ * <p>The valid values are the following Amazon Inspector severity levels, which correspond to
4047
+ * CVSS score ranges:</p>
4048
+ * <ul>
4049
+ * <li>
4050
+ * <p>
4051
+ * <code>informational</code> - CVSS score of 0.</p>
4052
+ * </li>
4053
+ * <li>
4054
+ * <p>
4055
+ * <code>low</code> - CVSS score of 0.1 to 3.9.</p>
4056
+ * </li>
4057
+ * <li>
4058
+ * <p>
4059
+ * <code>medium</code> - CVSS score of 4.0 to 6.9.</p>
4060
+ * </li>
4061
+ * <li>
4062
+ * <p>
4063
+ * <code>high</code> - CVSS score of 7.0 to 8.9.</p>
4064
+ * </li>
4065
+ * <li>
4066
+ * <p>
4067
+ * <code>critical</code> - CVSS score of 9.0 to 10.0.</p>
4068
+ * </li>
4069
+ * </ul>
4070
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-severity.html#findings-understanding-package-score">Software
4071
+ * package vulnerability severity</a> in the <i>Amazon Inspector User Guide</i>.</p>
4072
+ * @public
4073
+ */
4074
+ SeverityLabel?: SeverityLabel | undefined;
4075
+ /**
4076
+ * <p>The ID of the Amazon EBS snapshot of the AMI in which the finding was detected.</p>
4077
+ * @public
4078
+ */
4079
+ SnapshotId?: string | undefined;
4080
+ }
4081
+ /**
4082
+ * @public
4083
+ */
4084
+ export interface GetImageFindingsResult {
4085
+ /**
4086
+ * <p>The Amazon Inspector findings for the AMI.</p>
4087
+ * @public
4088
+ */
4089
+ ImageFindings?: ImageFinding[] | undefined;
4090
+ /**
4091
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
4092
+ * are no more items to return.</p>
4093
+ * @public
4094
+ */
4095
+ NextToken?: string | undefined;
4096
+ }
3701
4097
  /**
3702
4098
  * @public
3703
4099
  */
@@ -6941,32 +7337,6 @@ export interface GetSnapshotBlockPublicAccessStateResult {
6941
7337
  */
6942
7338
  ManagedBy?: ManagedBy | undefined;
6943
7339
  }
6944
- /**
6945
- * <p>The architecture type, virtualization type, and other attributes for the instance types.
6946
- * When you specify instance attributes, Amazon EC2 will identify instance types with those
6947
- * attributes.</p>
6948
- * <p>If you specify <code>InstanceRequirementsWithMetadataRequest</code>, you can't specify
6949
- * <code>InstanceTypes</code>.</p>
6950
- * @public
6951
- */
6952
- export interface InstanceRequirementsWithMetadataRequest {
6953
- /**
6954
- * <p>The architecture type.</p>
6955
- * @public
6956
- */
6957
- ArchitectureTypes?: ArchitectureType[] | undefined;
6958
- /**
6959
- * <p>The virtualization type.</p>
6960
- * @public
6961
- */
6962
- VirtualizationTypes?: VirtualizationType[] | undefined;
6963
- /**
6964
- * <p>The attributes for the instance types. When you specify instance attributes, Amazon EC2 will
6965
- * identify instance types with those attributes.</p>
6966
- * @public
6967
- */
6968
- InstanceRequirements?: InstanceRequirementsRequest | undefined;
6969
- }
6970
7340
  /**
6971
7341
  * @public
6972
7342
  */
@@ -7934,178 +8304,3 @@ export interface GetVerifiedAccessEndpointTargetsRequest {
7934
8304
  */
7935
8305
  DryRun?: boolean | undefined;
7936
8306
  }
7937
- /**
7938
- * <p>Describes the targets for the specified Verified Access endpoint.</p>
7939
- * @public
7940
- */
7941
- export interface VerifiedAccessEndpointTarget {
7942
- /**
7943
- * <p>The ID of the Verified Access endpoint.</p>
7944
- * @public
7945
- */
7946
- VerifiedAccessEndpointId?: string | undefined;
7947
- /**
7948
- * <p>The IP address of the target.</p>
7949
- * @public
7950
- */
7951
- VerifiedAccessEndpointTargetIpAddress?: string | undefined;
7952
- /**
7953
- * <p>The DNS name of the target.</p>
7954
- * @public
7955
- */
7956
- VerifiedAccessEndpointTargetDns?: string | undefined;
7957
- }
7958
- /**
7959
- * @public
7960
- */
7961
- export interface GetVerifiedAccessEndpointTargetsResult {
7962
- /**
7963
- * <p>The Verified Access targets.</p>
7964
- * @public
7965
- */
7966
- VerifiedAccessEndpointTargets?: VerifiedAccessEndpointTarget[] | undefined;
7967
- /**
7968
- * <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>
7969
- * @public
7970
- */
7971
- NextToken?: string | undefined;
7972
- }
7973
- /**
7974
- * @public
7975
- */
7976
- export interface GetVerifiedAccessGroupPolicyRequest {
7977
- /**
7978
- * <p>The ID of the Verified Access group.</p>
7979
- * @public
7980
- */
7981
- VerifiedAccessGroupId: string | undefined;
7982
- /**
7983
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7984
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7985
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7986
- * @public
7987
- */
7988
- DryRun?: boolean | undefined;
7989
- }
7990
- /**
7991
- * @public
7992
- */
7993
- export interface GetVerifiedAccessGroupPolicyResult {
7994
- /**
7995
- * <p>The status of the Verified Access policy.</p>
7996
- * @public
7997
- */
7998
- PolicyEnabled?: boolean | undefined;
7999
- /**
8000
- * <p>The Verified Access policy document.</p>
8001
- * @public
8002
- */
8003
- PolicyDocument?: string | undefined;
8004
- }
8005
- /**
8006
- * @public
8007
- */
8008
- export interface GetVpcResourcesBlockingEncryptionEnforcementRequest {
8009
- /**
8010
- * <p>The ID of the VPC to check for resources blocking encryption enforcement.</p>
8011
- * @public
8012
- */
8013
- VpcId: string | undefined;
8014
- /**
8015
- * <p>The maximum number of items to return for this request.
8016
- * To get the next page of items, make another request with the token returned in the output.
8017
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
8018
- * @public
8019
- */
8020
- MaxResults?: number | undefined;
8021
- /**
8022
- * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
8023
- * @public
8024
- */
8025
- NextToken?: string | undefined;
8026
- /**
8027
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8028
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8029
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8030
- * @public
8031
- */
8032
- DryRun?: boolean | undefined;
8033
- }
8034
- /**
8035
- * <p>Describes a resource that is not compliant with VPC encryption requirements.</p>
8036
- * <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>
8037
- * @public
8038
- */
8039
- export interface VpcEncryptionNonCompliantResource {
8040
- /**
8041
- * <p>The ID of the non-compliant resource.</p>
8042
- * @public
8043
- */
8044
- Id?: string | undefined;
8045
- /**
8046
- * <p>The type of the non-compliant resource.</p>
8047
- * @public
8048
- */
8049
- Type?: string | undefined;
8050
- /**
8051
- * <p>A description of the non-compliant resource.</p>
8052
- * @public
8053
- */
8054
- Description?: string | undefined;
8055
- /**
8056
- * <p>Indicates whether the resource can be excluded from encryption enforcement.</p>
8057
- * @public
8058
- */
8059
- IsExcludable?: boolean | undefined;
8060
- }
8061
- /**
8062
- * @public
8063
- */
8064
- export interface GetVpcResourcesBlockingEncryptionEnforcementResult {
8065
- /**
8066
- * <p>Information about resources that are blocking encryption enforcement.</p>
8067
- * @public
8068
- */
8069
- NonCompliantResources?: VpcEncryptionNonCompliantResource[] | undefined;
8070
- /**
8071
- * <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>
8072
- * @public
8073
- */
8074
- NextToken?: string | undefined;
8075
- }
8076
- /**
8077
- * @public
8078
- */
8079
- export interface GetVpnConnectionDeviceSampleConfigurationRequest {
8080
- /**
8081
- * <p>The <code>VpnConnectionId</code> specifies the Site-to-Site VPN connection used for the sample
8082
- * configuration.</p>
8083
- * @public
8084
- */
8085
- VpnConnectionId: string | undefined;
8086
- /**
8087
- * <p>Device identifier provided by the <code>GetVpnConnectionDeviceTypes</code> API.</p>
8088
- * @public
8089
- */
8090
- VpnConnectionDeviceTypeId: string | undefined;
8091
- /**
8092
- * <p>The IKE version to be used in the sample configuration file for your customer gateway
8093
- * device. You can specify one of the following versions: <code>ikev1</code> or
8094
- * <code>ikev2</code>.</p>
8095
- * @public
8096
- */
8097
- InternetKeyExchangeVersion?: string | undefined;
8098
- /**
8099
- * <p>The type of sample configuration to generate. Valid values are "compatibility" (includes IKEv1) or "recommended" (throws UnsupportedOperationException for IKEv1).</p>
8100
- * @public
8101
- */
8102
- SampleType?: string | undefined;
8103
- /**
8104
- * <p>Checks whether you have the required permissions for the action, without actually
8105
- * making the request, and provides an error response. If you have the required
8106
- * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
8107
- * <code>UnauthorizedOperation</code>.</p>
8108
- * @public
8109
- */
8110
- DryRun?: boolean | undefined;
8111
- }