@aws-sdk/client-ec2 3.667.0 → 3.669.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 (102) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +1375 -975
  3. package/dist-es/EC2.js +10 -0
  4. package/dist-es/commands/AcceptCapacityReservationBillingOwnershipCommand.js +22 -0
  5. package/dist-es/commands/AssociateCapacityReservationBillingOwnerCommand.js +22 -0
  6. package/dist-es/commands/DescribeCapacityReservationBillingRequestsCommand.js +22 -0
  7. package/dist-es/commands/DisassociateCapacityReservationBillingOwnerCommand.js +22 -0
  8. package/dist-es/commands/ModifyVpnConnectionCommand.js +1 -1
  9. package/dist-es/commands/RejectCapacityReservationBillingOwnershipCommand.js +22 -0
  10. package/dist-es/commands/index.js +5 -0
  11. package/dist-es/models/models_0.js +0 -833
  12. package/dist-es/models/models_1.js +833 -0
  13. package/dist-es/models/models_2.js +0 -8
  14. package/dist-es/models/models_3.js +20 -28
  15. package/dist-es/models/models_4.js +28 -4
  16. package/dist-es/models/models_5.js +4 -1
  17. package/dist-es/models/models_6.js +0 -3
  18. package/dist-es/models/models_7.js +3 -0
  19. package/dist-es/pagination/DescribeCapacityReservationBillingRequestsPaginator.js +4 -0
  20. package/dist-es/pagination/index.js +2 -1
  21. package/dist-es/protocols/Aws_ec2.js +324 -28
  22. package/dist-types/EC2.d.ts +35 -0
  23. package/dist-types/EC2Client.d.ts +7 -2
  24. package/dist-types/commands/AcceptCapacityReservationBillingOwnershipCommand.d.ts +74 -0
  25. package/dist-types/commands/AssignPrivateNatGatewayAddressCommand.d.ts +1 -1
  26. package/dist-types/commands/AssociateCapacityReservationBillingOwnerCommand.d.ts +76 -0
  27. package/dist-types/commands/AssociateNatGatewayAddressCommand.d.ts +2 -6
  28. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +4 -1
  29. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +1 -0
  30. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +1 -1
  31. package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
  32. package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -7
  33. package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +2 -1
  34. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +2 -2
  35. package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
  36. package/dist-types/commands/DeleteVpcCommand.d.ts +1 -7
  37. package/dist-types/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +102 -0
  38. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +1 -0
  39. package/dist-types/commands/DescribeElasticGpusCommand.d.ts +1 -2
  40. package/dist-types/commands/DescribeImageAttributeCommand.d.ts +1 -1
  41. package/dist-types/commands/DescribeImagesCommand.d.ts +1 -2
  42. package/dist-types/commands/DisassociateCapacityReservationBillingOwnerCommand.d.ts +76 -0
  43. package/dist-types/commands/DisassociateNatGatewayAddressCommand.d.ts +1 -1
  44. package/dist-types/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +1 -1
  45. package/dist-types/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
  46. package/dist-types/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -1
  47. package/dist-types/commands/GetImageBlockPublicAccessStateCommand.d.ts +1 -1
  48. package/dist-types/commands/ModifyInstanceCpuOptionsCommand.d.ts +1 -1
  49. package/dist-types/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.d.ts +1 -1
  50. package/dist-types/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +1 -1
  51. package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -1
  52. package/dist-types/commands/ModifyVpcTenancyCommand.d.ts +1 -1
  53. package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +1 -2
  54. package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +2 -0
  55. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -0
  56. package/dist-types/commands/RejectCapacityReservationBillingOwnershipCommand.d.ts +74 -0
  57. package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +1 -3
  58. package/dist-types/commands/index.d.ts +5 -0
  59. package/dist-types/models/models_0.d.ts +61 -930
  60. package/dist-types/models/models_1.d.ts +955 -184
  61. package/dist-types/models/models_2.d.ts +131 -82
  62. package/dist-types/models/models_3.d.ts +259 -468
  63. package/dist-types/models/models_4.d.ts +1303 -1319
  64. package/dist-types/models/models_5.d.ts +516 -262
  65. package/dist-types/models/models_6.d.ts +269 -253
  66. package/dist-types/models/models_7.d.ts +280 -10
  67. package/dist-types/pagination/DescribeCapacityReservationBillingRequestsPaginator.d.ts +7 -0
  68. package/dist-types/pagination/index.d.ts +2 -1
  69. package/dist-types/protocols/Aws_ec2.d.ts +45 -0
  70. package/dist-types/ts3.4/EC2.d.ts +115 -0
  71. package/dist-types/ts3.4/EC2Client.d.ts +30 -0
  72. package/dist-types/ts3.4/commands/AcceptCapacityReservationBillingOwnershipCommand.d.ts +51 -0
  73. package/dist-types/ts3.4/commands/AssociateCapacityReservationBillingOwnerCommand.d.ts +51 -0
  74. package/dist-types/ts3.4/commands/CreateCapacityReservationBySplittingCommand.d.ts +2 -4
  75. package/dist-types/ts3.4/commands/CreateNetworkInsightsPathCommand.d.ts +2 -4
  76. package/dist-types/ts3.4/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +51 -0
  77. package/dist-types/ts3.4/commands/DescribeImageAttributeCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +4 -2
  79. package/dist-types/ts3.4/commands/DisassociateCapacityReservationBillingOwnerCommand.d.ts +51 -0
  80. package/dist-types/ts3.4/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/GetImageBlockPublicAccessStateCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/ModifyVpcTenancyCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/ModifyVpnConnectionCommand.d.ts +4 -2
  89. package/dist-types/ts3.4/commands/RejectCapacityReservationBillingOwnershipCommand.d.ts +51 -0
  90. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  91. package/dist-types/ts3.4/models/models_0.d.ts +16 -850
  92. package/dist-types/ts3.4/models/models_1.d.ts +851 -32
  93. package/dist-types/ts3.4/models/models_2.d.ts +30 -25
  94. package/dist-types/ts3.4/models/models_3.d.ts +68 -83
  95. package/dist-types/ts3.4/models/models_4.d.ts +80 -99
  96. package/dist-types/ts3.4/models/models_5.d.ts +101 -67
  97. package/dist-types/ts3.4/models/models_6.d.ts +66 -64
  98. package/dist-types/ts3.4/models/models_7.d.ts +73 -8
  99. package/dist-types/ts3.4/pagination/DescribeCapacityReservationBillingRequestsPaginator.d.ts +11 -0
  100. package/dist-types/ts3.4/pagination/index.d.ts +2 -1
  101. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +60 -0
  102. package/package.json +6 -6
@@ -1,6 +1,86 @@
1
- import { _InstanceType, AccountAttribute, AccountAttributeName, ActiveInstance, Address, AddressAttribute, AddressAttributeName, AddressTransfer, AllocationState, AllowsMultipleInstanceTypes, AssociationStatus, AutoPlacement, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationFleetState, CapacityReservationTenancy, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, FleetInstanceMatchCriteria, HostMaintenance, HostRecovery, IamInstanceProfileAssociation, Tag, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
2
- import { AttributeValue, BlockDeviceMapping, CarrierGateway, ClientVpnAuthenticationType, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, InstanceLifecycle, LaunchTemplateAndOverridesResponse, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LogDestinationType, ManagedPrefixList, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, TargetCapacityUnitType, TrafficType, TransportProtocol } from "./models_1";
3
- import { DeleteLaunchTemplateVersionsResponseErrorItem, DeleteLaunchTemplateVersionsResponseSuccessItem, FleetStateCode, GroupIdentifier, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup } from "./models_2";
1
+ import { AccountAttribute, AccountAttributeName, ActiveInstance, Address, AddressAttribute, AddressAttributeName, AddressTransfer, AllocationState, AllowsMultipleInstanceTypes, AssociationStatus, AutoPlacement, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationFleetState, CapacityReservationTenancy, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, HostMaintenance, HostRecovery, IamInstanceProfileAssociation, Tag, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
2
+ import { _InstanceType, CarrierGateway, ClientVpnAuthenticationType, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetInstanceMatchCriteria, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, InstanceLifecycle, LaunchTemplateAndOverridesResponse, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LogDestinationType, ManagedPrefixList, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, TargetCapacityUnitType, TrafficType, TransportProtocol } from "./models_1";
3
+ import { FleetStateCode, GroupIdentifier, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup } from "./models_2";
4
+ /**
5
+ * <p>Describes a launch template version that was successfully deleted.</p>
6
+ * @public
7
+ */
8
+ export interface DeleteLaunchTemplateVersionsResponseSuccessItem {
9
+ /**
10
+ * <p>The ID of the launch template.</p>
11
+ * @public
12
+ */
13
+ LaunchTemplateId?: string;
14
+ /**
15
+ * <p>The name of the launch template.</p>
16
+ * @public
17
+ */
18
+ LaunchTemplateName?: string;
19
+ /**
20
+ * <p>The version number of the launch template.</p>
21
+ * @public
22
+ */
23
+ VersionNumber?: number;
24
+ }
25
+ /**
26
+ * @public
27
+ * @enum
28
+ */
29
+ export declare const LaunchTemplateErrorCode: {
30
+ readonly LAUNCH_TEMPLATE_ID_DOES_NOT_EXIST: "launchTemplateIdDoesNotExist";
31
+ readonly LAUNCH_TEMPLATE_ID_MALFORMED: "launchTemplateIdMalformed";
32
+ readonly LAUNCH_TEMPLATE_NAME_DOES_NOT_EXIST: "launchTemplateNameDoesNotExist";
33
+ readonly LAUNCH_TEMPLATE_NAME_MALFORMED: "launchTemplateNameMalformed";
34
+ readonly LAUNCH_TEMPLATE_VERSION_DOES_NOT_EXIST: "launchTemplateVersionDoesNotExist";
35
+ readonly UNEXPECTED_ERROR: "unexpectedError";
36
+ };
37
+ /**
38
+ * @public
39
+ */
40
+ export type LaunchTemplateErrorCode = (typeof LaunchTemplateErrorCode)[keyof typeof LaunchTemplateErrorCode];
41
+ /**
42
+ * <p>Describes the error that's returned when you cannot delete a launch template
43
+ * version.</p>
44
+ * @public
45
+ */
46
+ export interface ResponseError {
47
+ /**
48
+ * <p>The error code.</p>
49
+ * @public
50
+ */
51
+ Code?: LaunchTemplateErrorCode;
52
+ /**
53
+ * <p>The error message, if applicable.</p>
54
+ * @public
55
+ */
56
+ Message?: string;
57
+ }
58
+ /**
59
+ * <p>Describes a launch template version that could not be deleted.</p>
60
+ * @public
61
+ */
62
+ export interface DeleteLaunchTemplateVersionsResponseErrorItem {
63
+ /**
64
+ * <p>The ID of the launch template.</p>
65
+ * @public
66
+ */
67
+ LaunchTemplateId?: string;
68
+ /**
69
+ * <p>The name of the launch template.</p>
70
+ * @public
71
+ */
72
+ LaunchTemplateName?: string;
73
+ /**
74
+ * <p>The version number of the launch template.</p>
75
+ * @public
76
+ */
77
+ VersionNumber?: number;
78
+ /**
79
+ * <p>Information about the error.</p>
80
+ * @public
81
+ */
82
+ ResponseError?: ResponseError;
83
+ }
4
84
  /**
5
85
  * @public
6
86
  */
@@ -2728,6 +2808,180 @@ export interface DescribeCapacityBlockOfferingsResult {
2728
2808
  */
2729
2809
  NextToken?: string;
2730
2810
  }
2811
+ /**
2812
+ * @public
2813
+ * @enum
2814
+ */
2815
+ export declare const CallerRole: {
2816
+ readonly odcr_owner: "odcr-owner";
2817
+ readonly unused_reservation_billing_owner: "unused-reservation-billing-owner";
2818
+ };
2819
+ /**
2820
+ * @public
2821
+ */
2822
+ export type CallerRole = (typeof CallerRole)[keyof typeof CallerRole];
2823
+ /**
2824
+ * @public
2825
+ */
2826
+ export interface DescribeCapacityReservationBillingRequestsRequest {
2827
+ /**
2828
+ * <p>The ID of the Capacity Reservation.</p>
2829
+ * @public
2830
+ */
2831
+ CapacityReservationIds?: string[];
2832
+ /**
2833
+ * <p>Specify one of the following:</p>
2834
+ * <ul>
2835
+ * <li>
2836
+ * <p>
2837
+ * <code>odcr-owner</code> - If you are the Capacity Reservation owner, specify this
2838
+ * value to view requests that you have initiated. Not supported with the <code>requested-by</code>
2839
+ * filter.</p>
2840
+ * </li>
2841
+ * <li>
2842
+ * <p>
2843
+ * <code>unused-reservation-billing-owner</code> - If you are the consumer account,
2844
+ * specify this value to view requests that have been sent to you. Not supported with the
2845
+ * <code>unused-reservation-billing-owner</code> filter.</p>
2846
+ * </li>
2847
+ * </ul>
2848
+ * @public
2849
+ */
2850
+ Role: CallerRole | undefined;
2851
+ /**
2852
+ * <p>The token to use to retrieve the next page of results.</p>
2853
+ * @public
2854
+ */
2855
+ NextToken?: string;
2856
+ /**
2857
+ * <p>The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information,
2858
+ * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
2859
+ * @public
2860
+ */
2861
+ MaxResults?: number;
2862
+ /**
2863
+ * <p>One or more filters.</p>
2864
+ * <ul>
2865
+ * <li>
2866
+ * <p>
2867
+ * <code>status</code> - The state of the request (<code>pending</code> | <code>accepted</code> |
2868
+ * <code>rejected</code> | <code>cancelled</code> | <code>revoked</code> | <code>expired</code>).</p>
2869
+ * </li>
2870
+ * <li>
2871
+ * <p>
2872
+ * <code>requested-by</code> - The account ID of the Capacity Reservation owner that initiated
2873
+ * the request. Not supported if you specify <code>requested-by</code> for <b>Role</b>.</p>
2874
+ * </li>
2875
+ * <li>
2876
+ * <p>
2877
+ * <code>unused-reservation-billing-owner</code> - The ID of the consumer account to which the
2878
+ * request was sent. Not supported if you specify <code>unused-reservation-billing-owner</code> for
2879
+ * <b>Role</b>.</p>
2880
+ * </li>
2881
+ * </ul>
2882
+ * @public
2883
+ */
2884
+ Filters?: Filter[];
2885
+ /**
2886
+ * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
2887
+ * @public
2888
+ */
2889
+ DryRun?: boolean;
2890
+ }
2891
+ /**
2892
+ * <p>Information about a Capacity Reservation.</p>
2893
+ * @public
2894
+ */
2895
+ export interface CapacityReservationInfo {
2896
+ /**
2897
+ * <p>The instance type for the Capacity Reservation.</p>
2898
+ * @public
2899
+ */
2900
+ InstanceType?: string;
2901
+ /**
2902
+ * <p>The Availability Zone for the Capacity Reservation.</p>
2903
+ * @public
2904
+ */
2905
+ AvailabilityZone?: string;
2906
+ /**
2907
+ * <p>The tenancy of the Capacity Reservation.</p>
2908
+ * @public
2909
+ */
2910
+ Tenancy?: CapacityReservationTenancy;
2911
+ }
2912
+ /**
2913
+ * @public
2914
+ * @enum
2915
+ */
2916
+ export declare const CapacityReservationBillingRequestStatus: {
2917
+ readonly accepted: "accepted";
2918
+ readonly cancelled: "cancelled";
2919
+ readonly expired: "expired";
2920
+ readonly pending: "pending";
2921
+ readonly rejected: "rejected";
2922
+ readonly revoked: "revoked";
2923
+ };
2924
+ /**
2925
+ * @public
2926
+ */
2927
+ export type CapacityReservationBillingRequestStatus = (typeof CapacityReservationBillingRequestStatus)[keyof typeof CapacityReservationBillingRequestStatus];
2928
+ /**
2929
+ * <p>Information about a request to assign billing of the unused capacity of a Capacity Reservation.</p>
2930
+ * @public
2931
+ */
2932
+ export interface CapacityReservationBillingRequest {
2933
+ /**
2934
+ * <p>The ID of the Capacity Reservation.</p>
2935
+ * @public
2936
+ */
2937
+ CapacityReservationId?: string;
2938
+ /**
2939
+ * <p>The ID of the Amazon Web Services account that initiated the request.</p>
2940
+ * @public
2941
+ */
2942
+ RequestedBy?: string;
2943
+ /**
2944
+ * <p>The ID of the Amazon Web Services account to which the request was sent.</p>
2945
+ * @public
2946
+ */
2947
+ UnusedReservationBillingOwnerId?: string;
2948
+ /**
2949
+ * <p>The date and time, in UTC time format, at which the request was initiated.</p>
2950
+ * @public
2951
+ */
2952
+ LastUpdateTime?: Date;
2953
+ /**
2954
+ * <p>The status of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/view-billing-transfers.html">
2955
+ * View billing assignment requests for a shared Amazon EC2 Capacity Reservation</a>.</p>
2956
+ * @public
2957
+ */
2958
+ Status?: CapacityReservationBillingRequestStatus;
2959
+ /**
2960
+ * <p>Information about the status.</p>
2961
+ * @public
2962
+ */
2963
+ StatusMessage?: string;
2964
+ /**
2965
+ * <p>Information about the Capacity Reservation.</p>
2966
+ * @public
2967
+ */
2968
+ CapacityReservationInfo?: CapacityReservationInfo;
2969
+ }
2970
+ /**
2971
+ * @public
2972
+ */
2973
+ export interface DescribeCapacityReservationBillingRequestsResult {
2974
+ /**
2975
+ * <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>
2976
+ * @public
2977
+ */
2978
+ NextToken?: string;
2979
+ /**
2980
+ * <p>Information about the request.</p>
2981
+ * @public
2982
+ */
2983
+ CapacityReservationBillingRequests?: CapacityReservationBillingRequest[];
2984
+ }
2731
2985
  /**
2732
2986
  * @public
2733
2987
  */
@@ -4680,8 +4934,7 @@ export declare const ElasticGpuStatus: {
4680
4934
  export type ElasticGpuStatus = (typeof ElasticGpuStatus)[keyof typeof ElasticGpuStatus];
4681
4935
  /**
4682
4936
  * <note>
4683
- * <p>Amazon Elastic Graphics reached end of life on January 8, 2024. For workloads that require graphics acceleration,
4684
- * we recommend that you use Amazon EC2 G4, G5, or G6 instances.</p>
4937
+ * <p>Amazon Elastic Graphics reached end of life on January 8, 2024.</p>
4685
4938
  * </note>
4686
4939
  * <p>Describes the status of an Elastic Graphics accelerator.</p>
4687
4940
  * @public
@@ -4706,8 +4959,7 @@ export declare const ElasticGpuState: {
4706
4959
  export type ElasticGpuState = (typeof ElasticGpuState)[keyof typeof ElasticGpuState];
4707
4960
  /**
4708
4961
  * <note>
4709
- * <p>Amazon Elastic Graphics reached end of life on January 8, 2024. For workloads that require graphics acceleration,
4710
- * we recommend that you use Amazon EC2 G4, G5, or G6 instances.</p>
4962
+ * <p>Amazon Elastic Graphics reached end of life on January 8, 2024.</p>
4711
4963
  * </note>
4712
4964
  * <p>Describes an Elastic Graphics accelerator.</p>
4713
4965
  * @public
@@ -7522,467 +7774,6 @@ export declare const ImageAttributeName: {
7522
7774
  * @public
7523
7775
  */
7524
7776
  export type ImageAttributeName = (typeof ImageAttributeName)[keyof typeof ImageAttributeName];
7525
- /**
7526
- * <p>Contains the parameters for DescribeImageAttribute.</p>
7527
- * @public
7528
- */
7529
- export interface DescribeImageAttributeRequest {
7530
- /**
7531
- * <p>The AMI attribute.</p>
7532
- * <p>
7533
- * <b>Note</b>: The <code>blockDeviceMapping</code> attribute is deprecated.
7534
- * Using this attribute returns the <code>Client.AuthFailure</code> error. To get information about
7535
- * the block device mappings for an AMI, use the <a>DescribeImages</a> action.</p>
7536
- * @public
7537
- */
7538
- Attribute: ImageAttributeName | undefined;
7539
- /**
7540
- * <p>The ID of the AMI.</p>
7541
- * @public
7542
- */
7543
- ImageId: string | undefined;
7544
- /**
7545
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7546
- * and provides an error response. If you have the required permissions, the error response is
7547
- * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7548
- * @public
7549
- */
7550
- DryRun?: boolean;
7551
- }
7552
- /**
7553
- * <p>Describes a launch permission.</p>
7554
- * @public
7555
- */
7556
- export interface LaunchPermission {
7557
- /**
7558
- * <p>The Amazon Resource Name (ARN) of an organization.</p>
7559
- * @public
7560
- */
7561
- OrganizationArn?: string;
7562
- /**
7563
- * <p>The Amazon Resource Name (ARN) of an organizational unit (OU).</p>
7564
- * @public
7565
- */
7566
- OrganizationalUnitArn?: string;
7567
- /**
7568
- * <p>The Amazon Web Services account ID.</p>
7569
- * <p>Constraints: Up to 10 000 account IDs can be specified in a single request.</p>
7570
- * @public
7571
- */
7572
- UserId?: string;
7573
- /**
7574
- * <p>The name of the group.</p>
7575
- * @public
7576
- */
7577
- Group?: PermissionGroup;
7578
- }
7579
- /**
7580
- * <p>Describes an image attribute.</p>
7581
- * @public
7582
- */
7583
- export interface ImageAttribute {
7584
- /**
7585
- * <p>A description for the AMI.</p>
7586
- * @public
7587
- */
7588
- Description?: AttributeValue;
7589
- /**
7590
- * <p>The kernel ID.</p>
7591
- * @public
7592
- */
7593
- KernelId?: AttributeValue;
7594
- /**
7595
- * <p>The RAM disk ID.</p>
7596
- * @public
7597
- */
7598
- RamdiskId?: AttributeValue;
7599
- /**
7600
- * <p>Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.</p>
7601
- * @public
7602
- */
7603
- SriovNetSupport?: AttributeValue;
7604
- /**
7605
- * <p>The boot mode.</p>
7606
- * @public
7607
- */
7608
- BootMode?: AttributeValue;
7609
- /**
7610
- * <p>If the image is configured for NitroTPM support, the value is <code>v2.0</code>.</p>
7611
- * @public
7612
- */
7613
- TpmSupport?: AttributeValue;
7614
- /**
7615
- * <p>Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data,
7616
- * use the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceUefiData">GetInstanceUefiData</a> command. You can inspect and modify the UEFI data by using the
7617
- * <a href="https://github.com/awslabs/python-uefivars">python-uefivars tool</a> on
7618
- * GitHub. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/uefi-secure-boot.html">UEFI Secure Boot</a> in the
7619
- * <i>Amazon EC2 User Guide</i>.</p>
7620
- * @public
7621
- */
7622
- UefiData?: AttributeValue;
7623
- /**
7624
- * <p>The date and time, in <a href="http://www.iso.org/iso/iso8601">ISO 8601 date-time
7625
- * format</a>, when the AMI was last used to launch an EC2 instance. When the AMI is used
7626
- * to launch an instance, there is a 24-hour delay before that usage is reported.</p>
7627
- * <note>
7628
- * <p>
7629
- * <code>lastLaunchedTime</code> data is available starting April 2017.</p>
7630
- * </note>
7631
- * @public
7632
- */
7633
- LastLaunchedTime?: AttributeValue;
7634
- /**
7635
- * <p>If <code>v2.0</code>, it indicates that IMDSv2 is specified in the AMI. Instances launched
7636
- * from this AMI will have <code>HttpTokens</code> automatically set to <code>required</code> so
7637
- * that, by default, the instance requires that IMDSv2 is used when requesting instance metadata.
7638
- * In addition, <code>HttpPutResponseHopLimit</code> is set to <code>2</code>. For more
7639
- * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration">Configure
7640
- * the AMI</a> in the <i>Amazon EC2 User Guide</i>.</p>
7641
- * @public
7642
- */
7643
- ImdsSupport?: AttributeValue;
7644
- /**
7645
- * <p>Indicates whether deregistration protection is enabled for the AMI.</p>
7646
- * @public
7647
- */
7648
- DeregistrationProtection?: AttributeValue;
7649
- /**
7650
- * <p>The ID of the AMI.</p>
7651
- * @public
7652
- */
7653
- ImageId?: string;
7654
- /**
7655
- * <p>The launch permissions.</p>
7656
- * @public
7657
- */
7658
- LaunchPermissions?: LaunchPermission[];
7659
- /**
7660
- * <p>The product codes.</p>
7661
- * @public
7662
- */
7663
- ProductCodes?: ProductCode[];
7664
- /**
7665
- * <p>The block device mapping entries.</p>
7666
- * @public
7667
- */
7668
- BlockDeviceMappings?: BlockDeviceMapping[];
7669
- }
7670
- /**
7671
- * @public
7672
- */
7673
- export interface DescribeImagesRequest {
7674
- /**
7675
- * <p>Scopes the images by users with explicit launch permissions.
7676
- * Specify an Amazon Web Services account ID, <code>self</code> (the sender of the request),
7677
- * or <code>all</code> (public AMIs).</p>
7678
- * <ul>
7679
- * <li>
7680
- * <p>If you specify an Amazon Web Services account ID that is not your own, only AMIs
7681
- * shared with that specific Amazon Web Services account ID are returned. However, AMIs that
7682
- * are shared with the account’s organization or organizational unit (OU) are not
7683
- * returned.</p>
7684
- * </li>
7685
- * <li>
7686
- * <p>If you specify <code>self</code> or your own Amazon Web Services account ID, AMIs
7687
- * shared with your account are returned. In addition, AMIs that are shared with the
7688
- * organization or OU of which you are member are also returned. </p>
7689
- * </li>
7690
- * <li>
7691
- * <p>If you specify <code>all</code>, all public AMIs are returned.</p>
7692
- * </li>
7693
- * </ul>
7694
- * @public
7695
- */
7696
- ExecutableUsers?: string[];
7697
- /**
7698
- * <p>The image IDs.</p>
7699
- * <p>Default: Describes all images available to you.</p>
7700
- * @public
7701
- */
7702
- ImageIds?: string[];
7703
- /**
7704
- * <p>Scopes the results to images with the specified owners. You can specify a combination of
7705
- * Amazon Web Services account IDs, <code>self</code>, <code>amazon</code>, and <code>aws-marketplace</code>.
7706
- * If you omit this parameter, the results include all images for which you have launch permissions,
7707
- * regardless of ownership.</p>
7708
- * @public
7709
- */
7710
- Owners?: string[];
7711
- /**
7712
- * <p>Specifies whether to include deprecated AMIs.</p>
7713
- * <p>Default: No deprecated AMIs are included in the response.</p>
7714
- * <note>
7715
- * <p>If you are the AMI owner, all deprecated AMIs appear in the response regardless of what
7716
- * you specify for this parameter.</p>
7717
- * </note>
7718
- * @public
7719
- */
7720
- IncludeDeprecated?: boolean;
7721
- /**
7722
- * <p>Specifies whether to include disabled AMIs.</p>
7723
- * <p>Default: No disabled AMIs are included in the response.</p>
7724
- * @public
7725
- */
7726
- IncludeDisabled?: boolean;
7727
- /**
7728
- * <p>The maximum number of items to return for this request.
7729
- * To get the next page of items, make another request with the token returned in the output.
7730
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
7731
- * @public
7732
- */
7733
- MaxResults?: number;
7734
- /**
7735
- * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
7736
- * @public
7737
- */
7738
- NextToken?: string;
7739
- /**
7740
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7741
- * and provides an error response. If you have the required permissions, the error response is
7742
- * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7743
- * @public
7744
- */
7745
- DryRun?: boolean;
7746
- /**
7747
- * <p>The filters.</p>
7748
- * <ul>
7749
- * <li>
7750
- * <p>
7751
- * <code>architecture</code> - The image architecture (<code>i386</code> | <code>x86_64</code> |
7752
- * <code>arm64</code> | <code>x86_64_mac</code> | <code>arm64_mac</code>).</p>
7753
- * </li>
7754
- * <li>
7755
- * <p>
7756
- * <code>block-device-mapping.delete-on-termination</code> - A Boolean value that indicates
7757
- * whether the Amazon EBS volume is deleted on instance termination.</p>
7758
- * </li>
7759
- * <li>
7760
- * <p>
7761
- * <code>block-device-mapping.device-name</code> - The device name specified in the block device mapping (for
7762
- * example, <code>/dev/sdh</code> or <code>xvdh</code>).</p>
7763
- * </li>
7764
- * <li>
7765
- * <p>
7766
- * <code>block-device-mapping.snapshot-id</code> - The ID of the snapshot used for the Amazon EBS
7767
- * volume.</p>
7768
- * </li>
7769
- * <li>
7770
- * <p>
7771
- * <code>block-device-mapping.volume-size</code> - The volume size of the Amazon EBS volume, in GiB.</p>
7772
- * </li>
7773
- * <li>
7774
- * <p>
7775
- * <code>block-device-mapping.volume-type</code> - The volume type of the Amazon EBS volume
7776
- * (<code>io1</code> | <code>io2</code> | <code>gp2</code> | <code>gp3</code> | <code>sc1
7777
- * </code>| <code>st1</code> | <code>standard</code>).</p>
7778
- * </li>
7779
- * <li>
7780
- * <p>
7781
- * <code>block-device-mapping.encrypted</code> - A Boolean that indicates whether the Amazon EBS volume is encrypted.</p>
7782
- * </li>
7783
- * <li>
7784
- * <p>
7785
- * <code>creation-date</code> - The time when the image was created, in the ISO 8601
7786
- * format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for example,
7787
- * <code>2021-09-29T11:04:43.305Z</code>. You can use a wildcard (<code>*</code>), for
7788
- * example, <code>2021-09-29T*</code>, which matches an entire day.</p>
7789
- * </li>
7790
- * <li>
7791
- * <p>
7792
- * <code>description</code> - The description of the image (provided during image
7793
- * creation).</p>
7794
- * </li>
7795
- * <li>
7796
- * <p>
7797
- * <code>ena-support</code> - A Boolean that indicates whether enhanced networking
7798
- * with ENA is enabled.</p>
7799
- * </li>
7800
- * <li>
7801
- * <p>
7802
- * <code>hypervisor</code> - The hypervisor type (<code>ovm</code> |
7803
- * <code>xen</code>).</p>
7804
- * </li>
7805
- * <li>
7806
- * <p>
7807
- * <code>image-id</code> - The ID of the image.</p>
7808
- * </li>
7809
- * <li>
7810
- * <p>
7811
- * <code>image-type</code> - The image type (<code>machine</code> | <code>kernel</code> |
7812
- * <code>ramdisk</code>).</p>
7813
- * </li>
7814
- * <li>
7815
- * <p>
7816
- * <code>is-public</code> - A Boolean that indicates whether the image is public.</p>
7817
- * </li>
7818
- * <li>
7819
- * <p>
7820
- * <code>kernel-id</code> - The kernel ID.</p>
7821
- * </li>
7822
- * <li>
7823
- * <p>
7824
- * <code>manifest-location</code> - The location of the image manifest.</p>
7825
- * </li>
7826
- * <li>
7827
- * <p>
7828
- * <code>name</code> - The name of the AMI (provided during image creation).</p>
7829
- * </li>
7830
- * <li>
7831
- * <p>
7832
- * <code>owner-alias</code> - The owner alias (<code>amazon</code> | <code>aws-marketplace</code>).
7833
- * The valid aliases are defined in an Amazon-maintained list. This is not the Amazon Web Services account alias that can be
7834
- * set using the IAM console. We recommend that you use the <b>Owner</b>
7835
- * request parameter instead of this filter.</p>
7836
- * </li>
7837
- * <li>
7838
- * <p>
7839
- * <code>owner-id</code> - The Amazon Web Services account ID of the owner. We recommend that you use the
7840
- * <b>Owner</b> request parameter instead of this filter.</p>
7841
- * </li>
7842
- * <li>
7843
- * <p>
7844
- * <code>platform</code> - The platform. The only supported value is <code>windows</code>.</p>
7845
- * </li>
7846
- * <li>
7847
- * <p>
7848
- * <code>product-code</code> - The product code.</p>
7849
- * </li>
7850
- * <li>
7851
- * <p>
7852
- * <code>product-code.type</code> - The type of the product code (<code>marketplace</code>).</p>
7853
- * </li>
7854
- * <li>
7855
- * <p>
7856
- * <code>ramdisk-id</code> - The RAM disk ID.</p>
7857
- * </li>
7858
- * <li>
7859
- * <p>
7860
- * <code>root-device-name</code> - The device name of the root device volume (for example, <code>/dev/sda1</code>).</p>
7861
- * </li>
7862
- * <li>
7863
- * <p>
7864
- * <code>root-device-type</code> - The type of the root device volume (<code>ebs</code> |
7865
- * <code>instance-store</code>).</p>
7866
- * </li>
7867
- * <li>
7868
- * <p>
7869
- * <code>source-instance-id</code> - The ID of the instance that the AMI was created from
7870
- * if the AMI was created using CreateImage. This filter is applicable only if the AMI was
7871
- * created using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html">CreateImage</a>.</p>
7872
- * </li>
7873
- * <li>
7874
- * <p>
7875
- * <code>state</code> - The state of the image (<code>available</code> | <code>pending</code>
7876
- * | <code>failed</code>).</p>
7877
- * </li>
7878
- * <li>
7879
- * <p>
7880
- * <code>state-reason-code</code> - The reason code for the state change.</p>
7881
- * </li>
7882
- * <li>
7883
- * <p>
7884
- * <code>state-reason-message</code> - The message for the state change.</p>
7885
- * </li>
7886
- * <li>
7887
- * <p>
7888
- * <code>sriov-net-support</code> - A value of <code>simple</code> indicates
7889
- * that enhanced networking with the Intel 82599 VF interface is enabled.</p>
7890
- * </li>
7891
- * <li>
7892
- * <p>
7893
- * <code>tag</code>:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
7894
- * For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
7895
- * </li>
7896
- * <li>
7897
- * <p>
7898
- * <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
7899
- * </li>
7900
- * <li>
7901
- * <p>
7902
- * <code>virtualization-type</code> - The virtualization type (<code>paravirtual</code> |
7903
- * <code>hvm</code>).</p>
7904
- * </li>
7905
- * </ul>
7906
- * @public
7907
- */
7908
- Filters?: Filter[];
7909
- }
7910
- /**
7911
- * @public
7912
- * @enum
7913
- */
7914
- export declare const ArchitectureValues: {
7915
- readonly arm64: "arm64";
7916
- readonly arm64_mac: "arm64_mac";
7917
- readonly i386: "i386";
7918
- readonly x86_64: "x86_64";
7919
- readonly x86_64_mac: "x86_64_mac";
7920
- };
7921
- /**
7922
- * @public
7923
- */
7924
- export type ArchitectureValues = (typeof ArchitectureValues)[keyof typeof ArchitectureValues];
7925
- /**
7926
- * @public
7927
- * @enum
7928
- */
7929
- export declare const BootModeValues: {
7930
- readonly legacy_bios: "legacy-bios";
7931
- readonly uefi: "uefi";
7932
- readonly uefi_preferred: "uefi-preferred";
7933
- };
7934
- /**
7935
- * @public
7936
- */
7937
- export type BootModeValues = (typeof BootModeValues)[keyof typeof BootModeValues];
7938
- /**
7939
- * @public
7940
- * @enum
7941
- */
7942
- export declare const HypervisorType: {
7943
- readonly ovm: "ovm";
7944
- readonly xen: "xen";
7945
- };
7946
- /**
7947
- * @public
7948
- */
7949
- export type HypervisorType = (typeof HypervisorType)[keyof typeof HypervisorType];
7950
- /**
7951
- * @public
7952
- * @enum
7953
- */
7954
- export declare const ImageTypeValues: {
7955
- readonly kernel: "kernel";
7956
- readonly machine: "machine";
7957
- readonly ramdisk: "ramdisk";
7958
- };
7959
- /**
7960
- * @public
7961
- */
7962
- export type ImageTypeValues = (typeof ImageTypeValues)[keyof typeof ImageTypeValues];
7963
- /**
7964
- * @public
7965
- * @enum
7966
- */
7967
- export declare const ImdsSupportValues: {
7968
- readonly v2_0: "v2.0";
7969
- };
7970
- /**
7971
- * @public
7972
- */
7973
- export type ImdsSupportValues = (typeof ImdsSupportValues)[keyof typeof ImdsSupportValues];
7974
- /**
7975
- * @public
7976
- * @enum
7977
- */
7978
- export declare const DeviceType: {
7979
- readonly ebs: "ebs";
7980
- readonly instance_store: "instance-store";
7981
- };
7982
- /**
7983
- * @public
7984
- */
7985
- export type DeviceType = (typeof DeviceType)[keyof typeof DeviceType];
7986
7777
  /**
7987
7778
  * @internal
7988
7779
  */