@aws-sdk/client-ec2 3.1157.0 → 3.1158.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 (53) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +169 -27
  3. package/dist-es/EC2.js +4 -0
  4. package/dist-es/commands/GetImageFindingsCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/enums.js +7 -0
  7. package/dist-es/pagination/GetImageFindingsPaginator.js +4 -0
  8. package/dist-es/pagination/index.js +1 -0
  9. package/dist-es/schemas/schemas_0.js +144 -26
  10. package/dist-types/EC2.d.ts +14 -0
  11. package/dist-types/EC2Client.d.ts +3 -2
  12. package/dist-types/commands/DescribeImagesCommand.d.ts +9 -0
  13. package/dist-types/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +1 -2
  14. package/dist-types/commands/GetAllowedImagesSettingsCommand.d.ts +9 -0
  15. package/dist-types/commands/GetImageFindingsCommand.d.ts +90 -0
  16. package/dist-types/commands/GetVerifiedAccessGroupPolicyCommand.d.ts +2 -1
  17. package/dist-types/commands/GetVpcResourcesBlockingEncryptionEnforcementCommand.d.ts +1 -1
  18. package/dist-types/commands/GetVpnConnectionDeviceSampleConfigurationCommand.d.ts +1 -2
  19. package/dist-types/commands/RejectTransitGatewayVpcAttachmentCommand.d.ts +2 -1
  20. package/dist-types/commands/RejectVpcEndpointConnectionsCommand.d.ts +1 -1
  21. package/dist-types/commands/RejectVpcPeeringConnectionCommand.d.ts +1 -1
  22. package/dist-types/commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand.d.ts +9 -0
  23. package/dist-types/commands/index.d.ts +1 -0
  24. package/dist-types/models/enums.d.ts +15 -0
  25. package/dist-types/models/models_4.d.ts +175 -55
  26. package/dist-types/models/models_5.d.ts +55 -23
  27. package/dist-types/models/models_6.d.ts +259 -123
  28. package/dist-types/models/models_7.d.ts +122 -69
  29. package/dist-types/models/models_8.d.ts +186 -2
  30. package/dist-types/pagination/GetImageFindingsPaginator.d.ts +7 -0
  31. package/dist-types/pagination/index.d.ts +1 -0
  32. package/dist-types/schemas/schemas_0.d.ts +7 -0
  33. package/dist-types/ts3.4/EC2.d.ts +24 -0
  34. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  35. package/dist-types/ts3.4/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +4 -2
  36. package/dist-types/ts3.4/commands/GetImageFindingsCommand.d.ts +38 -0
  37. package/dist-types/ts3.4/commands/GetVerifiedAccessGroupPolicyCommand.d.ts +2 -4
  38. package/dist-types/ts3.4/commands/GetVpcResourcesBlockingEncryptionEnforcementCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/GetVpnConnectionDeviceSampleConfigurationCommand.d.ts +4 -2
  40. package/dist-types/ts3.4/commands/RejectTransitGatewayVpcAttachmentCommand.d.ts +2 -4
  41. package/dist-types/ts3.4/commands/RejectVpcEndpointConnectionsCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/RejectVpcPeeringConnectionCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  44. package/dist-types/ts3.4/models/enums.d.ts +8 -0
  45. package/dist-types/ts3.4/models/models_4.d.ts +11 -11
  46. package/dist-types/ts3.4/models/models_5.d.ts +13 -6
  47. package/dist-types/ts3.4/models/models_6.d.ts +36 -27
  48. package/dist-types/ts3.4/models/models_7.d.ts +27 -18
  49. package/dist-types/ts3.4/models/models_8.d.ts +30 -0
  50. package/dist-types/ts3.4/pagination/GetImageFindingsPaginator.d.ts +11 -0
  51. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  52. package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -0
  53. package/package.json +1 -1
@@ -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, 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, 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
@@ -3698,6 +3835,127 @@ export interface GetImageBlockPublicAccessStateResult {
3698
3835
  */
3699
3836
  ManagedBy?: ManagedBy | undefined;
3700
3837
  }
3838
+ /**
3839
+ * @public
3840
+ */
3841
+ export interface GetImageFindingsRequest {
3842
+ /**
3843
+ * <p>The ID of the AMI.</p>
3844
+ * @public
3845
+ */
3846
+ ImageId: string | undefined;
3847
+ /**
3848
+ * <p>The maximum number of items to return for this request.
3849
+ * To get the next page of items, make another request with the token returned in the output.
3850
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
3851
+ * @public
3852
+ */
3853
+ MaxResults?: number | undefined;
3854
+ /**
3855
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
3856
+ * @public
3857
+ */
3858
+ NextToken?: string | undefined;
3859
+ /**
3860
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
3861
+ * and provides an error response. If you have the required permissions, the error response is
3862
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
3863
+ * @public
3864
+ */
3865
+ DryRun?: boolean | undefined;
3866
+ }
3867
+ /**
3868
+ * <p>Describes an Amazon Inspector vulnerability finding for an AMI.</p>
3869
+ * @public
3870
+ */
3871
+ export interface ImageFinding {
3872
+ /**
3873
+ * <p>Specifies whether a fix is available for the finding. This value is <code>true</code> when
3874
+ * Amazon Inspector reports a full or partial fix for the finding.</p>
3875
+ * @public
3876
+ */
3877
+ FixAvailable?: boolean | undefined;
3878
+ /**
3879
+ * <p>The Amazon Inspector score for the finding.</p>
3880
+ * @public
3881
+ */
3882
+ Score?: number | undefined;
3883
+ /**
3884
+ * <p>The date and time, in the ISO 8601 format in the UTC time zone
3885
+ * (YYYY-MM-DDThh:mm:ss.sssZ), when Amazon Inspector first observed the finding.</p>
3886
+ * @public
3887
+ */
3888
+ FirstObservedAt?: Date | undefined;
3889
+ /**
3890
+ * <p>The date and time, in the ISO 8601 format in the UTC time zone
3891
+ * (YYYY-MM-DDThh:mm:ss.sssZ), when Amazon Inspector last updated the finding.</p>
3892
+ * @public
3893
+ */
3894
+ UpdatedAt?: Date | undefined;
3895
+ /**
3896
+ * <p>The title of the finding.</p>
3897
+ * @public
3898
+ */
3899
+ Title?: string | undefined;
3900
+ /**
3901
+ * <p>The file paths in the AMI that are affected by the finding. Amazon EC2 returns up to 10
3902
+ * file paths for each finding.</p>
3903
+ * @public
3904
+ */
3905
+ Paths?: string[] | undefined;
3906
+ /**
3907
+ * <p>The severity of the finding.</p>
3908
+ * <p>The valid values are the following Amazon Inspector severity levels, which correspond to
3909
+ * CVSS score ranges:</p>
3910
+ * <ul>
3911
+ * <li>
3912
+ * <p>
3913
+ * <code>informational</code> - CVSS score of 0.</p>
3914
+ * </li>
3915
+ * <li>
3916
+ * <p>
3917
+ * <code>low</code> - CVSS score of 0.1 to 3.9.</p>
3918
+ * </li>
3919
+ * <li>
3920
+ * <p>
3921
+ * <code>medium</code> - CVSS score of 4.0 to 6.9.</p>
3922
+ * </li>
3923
+ * <li>
3924
+ * <p>
3925
+ * <code>high</code> - CVSS score of 7.0 to 8.9.</p>
3926
+ * </li>
3927
+ * <li>
3928
+ * <p>
3929
+ * <code>critical</code> - CVSS score of 9.0 to 10.0.</p>
3930
+ * </li>
3931
+ * </ul>
3932
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-severity.html#findings-understanding-package-score">Software
3933
+ * package vulnerability severity</a> in the <i>Amazon Inspector User Guide</i>.</p>
3934
+ * @public
3935
+ */
3936
+ SeverityLabel?: SeverityLabel | undefined;
3937
+ /**
3938
+ * <p>The ID of the Amazon EBS snapshot of the AMI in which the finding was detected.</p>
3939
+ * @public
3940
+ */
3941
+ SnapshotId?: string | undefined;
3942
+ }
3943
+ /**
3944
+ * @public
3945
+ */
3946
+ export interface GetImageFindingsResult {
3947
+ /**
3948
+ * <p>The Amazon Inspector findings for the AMI.</p>
3949
+ * @public
3950
+ */
3951
+ ImageFindings?: ImageFinding[] | undefined;
3952
+ /**
3953
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
3954
+ * are no more items to return.</p>
3955
+ * @public
3956
+ */
3957
+ NextToken?: string | undefined;
3958
+ }
3701
3959
  /**
3702
3960
  * @public
3703
3961
  */
@@ -7987,125 +8245,3 @@ export interface GetVerifiedAccessGroupPolicyRequest {
7987
8245
  */
7988
8246
  DryRun?: boolean | undefined;
7989
8247
  }
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
- }
@@ -6,6 +6,128 @@ import type { Byoasn, CapacityBlock, CapacityBlockExtension, ConversionTask, Ins
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
+ * @public
11
+ */
12
+ export interface GetVerifiedAccessGroupPolicyResult {
13
+ /**
14
+ * <p>The status of the Verified Access policy.</p>
15
+ * @public
16
+ */
17
+ PolicyEnabled?: boolean | undefined;
18
+ /**
19
+ * <p>The Verified Access policy document.</p>
20
+ * @public
21
+ */
22
+ PolicyDocument?: string | undefined;
23
+ }
24
+ /**
25
+ * @public
26
+ */
27
+ export interface GetVpcResourcesBlockingEncryptionEnforcementRequest {
28
+ /**
29
+ * <p>The ID of the VPC to check for resources blocking encryption enforcement.</p>
30
+ * @public
31
+ */
32
+ VpcId: string | undefined;
33
+ /**
34
+ * <p>The maximum number of items to return for this request.
35
+ * To get the next page of items, make another request with the token returned in the output.
36
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
37
+ * @public
38
+ */
39
+ MaxResults?: number | undefined;
40
+ /**
41
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
42
+ * @public
43
+ */
44
+ NextToken?: string | undefined;
45
+ /**
46
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
47
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
48
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
49
+ * @public
50
+ */
51
+ DryRun?: boolean | undefined;
52
+ }
53
+ /**
54
+ * <p>Describes a resource that is not compliant with VPC encryption requirements.</p>
55
+ * <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>
56
+ * @public
57
+ */
58
+ export interface VpcEncryptionNonCompliantResource {
59
+ /**
60
+ * <p>The ID of the non-compliant resource.</p>
61
+ * @public
62
+ */
63
+ Id?: string | undefined;
64
+ /**
65
+ * <p>The type of the non-compliant resource.</p>
66
+ * @public
67
+ */
68
+ Type?: string | undefined;
69
+ /**
70
+ * <p>A description of the non-compliant resource.</p>
71
+ * @public
72
+ */
73
+ Description?: string | undefined;
74
+ /**
75
+ * <p>Indicates whether the resource can be excluded from encryption enforcement.</p>
76
+ * @public
77
+ */
78
+ IsExcludable?: boolean | undefined;
79
+ }
80
+ /**
81
+ * @public
82
+ */
83
+ export interface GetVpcResourcesBlockingEncryptionEnforcementResult {
84
+ /**
85
+ * <p>Information about resources that are blocking encryption enforcement.</p>
86
+ * @public
87
+ */
88
+ NonCompliantResources?: VpcEncryptionNonCompliantResource[] | undefined;
89
+ /**
90
+ * <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>
91
+ * @public
92
+ */
93
+ NextToken?: string | undefined;
94
+ }
95
+ /**
96
+ * @public
97
+ */
98
+ export interface GetVpnConnectionDeviceSampleConfigurationRequest {
99
+ /**
100
+ * <p>The <code>VpnConnectionId</code> specifies the Site-to-Site VPN connection used for the sample
101
+ * configuration.</p>
102
+ * @public
103
+ */
104
+ VpnConnectionId: string | undefined;
105
+ /**
106
+ * <p>Device identifier provided by the <code>GetVpnConnectionDeviceTypes</code> API.</p>
107
+ * @public
108
+ */
109
+ VpnConnectionDeviceTypeId: string | undefined;
110
+ /**
111
+ * <p>The IKE version to be used in the sample configuration file for your customer gateway
112
+ * device. You can specify one of the following versions: <code>ikev1</code> or
113
+ * <code>ikev2</code>.</p>
114
+ * @public
115
+ */
116
+ InternetKeyExchangeVersion?: string | undefined;
117
+ /**
118
+ * <p>The type of sample configuration to generate. Valid values are "compatibility" (includes IKEv1) or "recommended" (throws UnsupportedOperationException for IKEv1).</p>
119
+ * @public
120
+ */
121
+ SampleType?: string | undefined;
122
+ /**
123
+ * <p>Checks whether you have the required permissions for the action, without actually
124
+ * making the request, and provides an error response. If you have the required
125
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
126
+ * <code>UnauthorizedOperation</code>.</p>
127
+ * @public
128
+ */
129
+ DryRun?: boolean | undefined;
130
+ }
9
131
  /**
10
132
  * @public
11
133
  */
@@ -8543,72 +8665,3 @@ export interface RejectTransitGatewayVpcAttachmentRequest {
8543
8665
  */
8544
8666
  DryRun?: boolean | undefined;
8545
8667
  }
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
- }