@aws-sdk/client-ec2 3.535.0 → 3.540.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 (44) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/endpoint/endpointResolver.js +4 -2
  3. package/dist-cjs/index.js +119 -3
  4. package/dist-es/EC2.js +2 -0
  5. package/dist-es/commands/DescribeMacHostsCommand.js +24 -0
  6. package/dist-es/commands/index.js +1 -0
  7. package/dist-es/endpoint/endpointResolver.js +3 -1
  8. package/dist-es/index.js +0 -1
  9. package/dist-es/pagination/DescribeMacHostsPaginator.js +4 -0
  10. package/dist-es/pagination/index.js +1 -0
  11. package/dist-es/protocols/Aws_ec2.js +98 -0
  12. package/dist-types/EC2.d.ts +8 -0
  13. package/dist-types/EC2Client.d.ts +3 -2
  14. package/dist-types/commands/DescribeMacHostsCommand.d.ts +79 -0
  15. package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +2 -1
  16. package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +1 -2
  17. package/dist-types/commands/GetIpamDiscoveredPublicAddressesCommand.d.ts +2 -1
  18. package/dist-types/commands/RegisterImageCommand.d.ts +1 -1
  19. package/dist-types/commands/index.d.ts +1 -0
  20. package/dist-types/index.d.ts +0 -1
  21. package/dist-types/models/models_4.d.ts +77 -87
  22. package/dist-types/models/models_5.d.ts +89 -134
  23. package/dist-types/models/models_6.d.ts +135 -173
  24. package/dist-types/models/models_7.d.ts +172 -2
  25. package/dist-types/pagination/DescribeMacHostsPaginator.d.ts +7 -0
  26. package/dist-types/pagination/index.d.ts +1 -0
  27. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  28. package/dist-types/ts3.4/EC2.d.ts +18 -0
  29. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  30. package/dist-types/ts3.4/commands/DescribeMacHostsCommand.d.ts +38 -0
  31. package/dist-types/ts3.4/commands/DescribeSpotPriceHistoryCommand.d.ts +2 -4
  32. package/dist-types/ts3.4/commands/DescribeStaleSecurityGroupsCommand.d.ts +4 -2
  33. package/dist-types/ts3.4/commands/GetIpamDiscoveredPublicAddressesCommand.d.ts +2 -4
  34. package/dist-types/ts3.4/commands/RegisterImageCommand.d.ts +1 -1
  35. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  36. package/dist-types/ts3.4/index.d.ts +0 -1
  37. package/dist-types/ts3.4/models/models_4.d.ts +14 -17
  38. package/dist-types/ts3.4/models/models_5.d.ts +23 -30
  39. package/dist-types/ts3.4/models/models_6.d.ts +34 -30
  40. package/dist-types/ts3.4/models/models_7.d.ts +31 -1
  41. package/dist-types/ts3.4/pagination/DescribeMacHostsPaginator.d.ts +11 -0
  42. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  43. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  44. package/package.json +5 -5
@@ -1,9 +1,179 @@
1
1
  import { _InstanceType, AddressAttribute, AddressAttributeName, ByoipCidr, ClientVpnAuthorizationRuleStatus, IamInstanceProfileAssociation, IamInstanceProfileSpecification, IpPermission, NatGatewayAddress, PortRange, RouteTableAssociationState, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem } from "./models_0";
2
2
  import { AmdSevSnpSpecification, BlockDeviceMapping, CreditSpecificationRequest, ElasticGpuSpecification, HostnameType, IcmpTypeCode, InstanceInterruptionBehavior, InstanceIpv6Address, LocalGatewayRoute, ManagedPrefixList, MarketType, Placement, RuleAction, ShutdownBehavior, SpotInstanceType } from "./models_1";
3
3
  import { SnapshotState, SSEType, TransitGatewayRoute } from "./models_2";
4
- import { ClientVpnConnectionStatus, Filter, InstanceTagNotificationAttribute } from "./models_3";
4
+ import { ArchitectureValues, BootModeValues, ClientVpnConnectionStatus, Filter, ImdsSupportValues, InstanceTagNotificationAttribute, TpmSupportValues } from "./models_3";
5
5
  import { HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceNetworkInterfaceSpecification, InstanceState, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, RunInstancesMonitoringEnabled, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_4";
6
- import { CapacityReservationSpecification, InstanceMonitoring, RegisterInstanceTagAttributeRequest, Status } from "./models_6";
6
+ import { CapacityReservationSpecification, InstanceMonitoring, Status } from "./models_6";
7
+ /**
8
+ * <p>Contains the parameters for RegisterImage.</p>
9
+ * @public
10
+ */
11
+ export interface RegisterImageRequest {
12
+ /**
13
+ * <p>The full path to your AMI manifest in Amazon S3 storage. The specified bucket must have the
14
+ * <code>aws-exec-read</code> canned access control list (ACL) to ensure that it can be accessed
15
+ * by Amazon EC2. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl">Canned ACLs</a> in the
16
+ * <i>Amazon S3 Service Developer Guide</i>.</p>
17
+ * @public
18
+ */
19
+ ImageLocation?: string;
20
+ /**
21
+ * <p>The architecture of the AMI.</p>
22
+ * <p>Default: For Amazon EBS-backed AMIs, <code>i386</code>.
23
+ * For instance store-backed AMIs, the architecture specified in the manifest file.</p>
24
+ * @public
25
+ */
26
+ Architecture?: ArchitectureValues;
27
+ /**
28
+ * <p>The block device mapping entries.</p>
29
+ * <p>If you specify an Amazon EBS volume using the ID of an Amazon EBS snapshot, you can't specify the encryption state of the volume.</p>
30
+ * <p>If you create an AMI on an Outpost, then all backing snapshots must be on the same
31
+ * Outpost or in the Region of that Outpost. AMIs on an Outpost that include local snapshots can
32
+ * be used to launch instances on the same Outpost only. For more information, <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#ami">Amazon EBS local
33
+ * snapshots on Outposts</a> in the <i>Amazon EBS User Guide</i>.</p>
34
+ * @public
35
+ */
36
+ BlockDeviceMappings?: BlockDeviceMapping[];
37
+ /**
38
+ * <p>A description for your AMI.</p>
39
+ * @public
40
+ */
41
+ Description?: string;
42
+ /**
43
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
44
+ * and provides an error response. If you have the required permissions, the error response is
45
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
46
+ * @public
47
+ */
48
+ DryRun?: boolean;
49
+ /**
50
+ * <p>Set to <code>true</code> to enable enhanced networking with ENA for the AMI and any instances that you launch from the AMI.</p>
51
+ * <p>This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable.</p>
52
+ * @public
53
+ */
54
+ EnaSupport?: boolean;
55
+ /**
56
+ * <p>The ID of the kernel.</p>
57
+ * @public
58
+ */
59
+ KernelId?: string;
60
+ /**
61
+ * <p>A name for your AMI.</p>
62
+ * <p>Constraints: 3-128 alphanumeric characters, parentheses (()), square brackets ([]), spaces ( ), periods (.), slashes (/), dashes (-), single quotes ('), at-signs (@), or underscores(_)</p>
63
+ * @public
64
+ */
65
+ Name: string | undefined;
66
+ /**
67
+ * <p>The billing product codes. Your account must be authorized to specify billing product codes.</p>
68
+ * <p>If your account is not authorized to specify billing product codes, you can publish AMIs
69
+ * that include billable software and list them on the Amazon Web Services Marketplace. You must first register as a seller
70
+ * on the Amazon Web Services Marketplace. For more information, see <a href="https://docs.aws.amazon.com/marketplace/latest/userguide/user-guide-for-sellers.html">Getting started as a
71
+ * seller</a> and <a href="https://docs.aws.amazon.com/marketplace/latest/userguide/ami-products.html">AMI-based
72
+ * products</a> in the <i>Amazon Web Services Marketplace Seller Guide</i>.</p>
73
+ * @public
74
+ */
75
+ BillingProducts?: string[];
76
+ /**
77
+ * <p>The ID of the RAM disk.</p>
78
+ * @public
79
+ */
80
+ RamdiskId?: string;
81
+ /**
82
+ * <p>The device name of the root device volume (for example, <code>/dev/sda1</code>).</p>
83
+ * @public
84
+ */
85
+ RootDeviceName?: string;
86
+ /**
87
+ * <p>Set to <code>simple</code> to enable enhanced networking with the Intel 82599 Virtual Function interface for the AMI and any instances that you launch from the AMI.</p>
88
+ * <p>There is no way to disable <code>sriovNetSupport</code> at this time.</p>
89
+ * <p>This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable.</p>
90
+ * @public
91
+ */
92
+ SriovNetSupport?: string;
93
+ /**
94
+ * <p>The type of virtualization (<code>hvm</code> | <code>paravirtual</code>).</p>
95
+ * <p>Default: <code>paravirtual</code>
96
+ * </p>
97
+ * @public
98
+ */
99
+ VirtualizationType?: string;
100
+ /**
101
+ * <p>The boot mode of the AMI. A value of <code>uefi-preferred</code> indicates that the AMI supports both UEFI and Legacy BIOS.</p>
102
+ * <note>
103
+ * <p>The operating system contained in the AMI must be configured to support the specified boot mode.</p>
104
+ * </note>
105
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html">Boot modes</a> in the
106
+ * <i>Amazon EC2 User Guide</i>.</p>
107
+ * @public
108
+ */
109
+ BootMode?: BootModeValues;
110
+ /**
111
+ * <p>Set to <code>v2.0</code> to enable Trusted Platform Module (TPM) support. For more
112
+ * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html">NitroTPM</a> in the <i>Amazon EC2 User Guide</i>.</p>
113
+ * @public
114
+ */
115
+ TpmSupport?: TpmSupportValues;
116
+ /**
117
+ * <p>Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data,
118
+ * 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
119
+ * <a href="https://github.com/awslabs/python-uefivars">python-uefivars tool</a> on
120
+ * 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
121
+ * <i>Amazon EC2 User Guide</i>.</p>
122
+ * @public
123
+ */
124
+ UefiData?: string;
125
+ /**
126
+ * <p>Set to <code>v2.0</code> to indicate that IMDSv2 is specified in the AMI. Instances
127
+ * launched from this AMI will have <code>HttpTokens</code> automatically set to
128
+ * <code>required</code> so that, by default, the instance requires that IMDSv2 is used when
129
+ * requesting instance metadata. In addition, <code>HttpPutResponseHopLimit</code> is set to
130
+ * <code>2</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration">Configure
131
+ * the AMI</a> in the <i>Amazon EC2 User Guide</i>.</p>
132
+ * <note>
133
+ * <p>If you set the value to <code>v2.0</code>, make sure that your AMI software can support IMDSv2.</p>
134
+ * </note>
135
+ * @public
136
+ */
137
+ ImdsSupport?: ImdsSupportValues;
138
+ /**
139
+ * <p>The tags to apply to the AMI.</p>
140
+ * <p>To tag the AMI, the value for <code>ResourceType</code> must be <code>image</code>. If you
141
+ * specify another value for <code>ResourceType</code>, the request fails.</p>
142
+ * <p>To tag an AMI after it has been registered, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html">CreateTags</a>.</p>
143
+ * @public
144
+ */
145
+ TagSpecifications?: TagSpecification[];
146
+ }
147
+ /**
148
+ * <p>Contains the output of RegisterImage.</p>
149
+ * @public
150
+ */
151
+ export interface RegisterImageResult {
152
+ /**
153
+ * <p>The ID of the newly registered AMI.</p>
154
+ * @public
155
+ */
156
+ ImageId?: string;
157
+ }
158
+ /**
159
+ * <p>Information about the tag keys to register for the current Region. You can either specify
160
+ * individual tag keys or register all tag keys in the current Region. You must specify either
161
+ * <code>IncludeAllTagsOfInstance</code> or <code>InstanceTagKeys</code> in the request</p>
162
+ * @public
163
+ */
164
+ export interface RegisterInstanceTagAttributeRequest {
165
+ /**
166
+ * <p>Indicates whether to register all tag keys in the current Region. Specify <code>true</code>
167
+ * to register all tag keys.</p>
168
+ * @public
169
+ */
170
+ IncludeAllTagsOfInstance?: boolean;
171
+ /**
172
+ * <p>The tag keys to register.</p>
173
+ * @public
174
+ */
175
+ InstanceTagKeys?: string[];
176
+ }
7
177
  /**
8
178
  * @public
9
179
  */
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { DescribeMacHostsCommandInput, DescribeMacHostsCommandOutput } from "../commands/DescribeMacHostsCommand";
3
+ import { EC2PaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateDescribeMacHosts: (config: EC2PaginationConfiguration, input: DescribeMacHostsCommandInput, ...rest: any[]) => Paginator<DescribeMacHostsCommandOutput>;
@@ -52,6 +52,7 @@ export * from "./DescribeLocalGatewayRouteTablesPaginator";
52
52
  export * from "./DescribeLocalGatewayVirtualInterfaceGroupsPaginator";
53
53
  export * from "./DescribeLocalGatewayVirtualInterfacesPaginator";
54
54
  export * from "./DescribeLocalGatewaysPaginator";
55
+ export * from "./DescribeMacHostsPaginator";
55
56
  export * from "./DescribeManagedPrefixListsPaginator";
56
57
  export * from "./DescribeMovingAddressesPaginator";
57
58
  export * from "./DescribeNatGatewaysPaginator";
@@ -292,6 +292,7 @@ import { DescribeLocalGatewaysCommandInput, DescribeLocalGatewaysCommandOutput }
292
292
  import { DescribeLocalGatewayVirtualInterfaceGroupsCommandInput, DescribeLocalGatewayVirtualInterfaceGroupsCommandOutput } from "../commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand";
293
293
  import { DescribeLocalGatewayVirtualInterfacesCommandInput, DescribeLocalGatewayVirtualInterfacesCommandOutput } from "../commands/DescribeLocalGatewayVirtualInterfacesCommand";
294
294
  import { DescribeLockedSnapshotsCommandInput, DescribeLockedSnapshotsCommandOutput } from "../commands/DescribeLockedSnapshotsCommand";
295
+ import { DescribeMacHostsCommandInput, DescribeMacHostsCommandOutput } from "../commands/DescribeMacHostsCommand";
295
296
  import { DescribeManagedPrefixListsCommandInput, DescribeManagedPrefixListsCommandOutput } from "../commands/DescribeManagedPrefixListsCommand";
296
297
  import { DescribeMovingAddressesCommandInput, DescribeMovingAddressesCommandOutput } from "../commands/DescribeMovingAddressesCommand";
297
298
  import { DescribeNatGatewaysCommandInput, DescribeNatGatewaysCommandOutput } from "../commands/DescribeNatGatewaysCommand";
@@ -1783,6 +1784,10 @@ export declare const se_DescribeLocalGatewayVirtualInterfacesCommand: (input: De
1783
1784
  * serializeAws_ec2DescribeLockedSnapshotsCommand
1784
1785
  */
1785
1786
  export declare const se_DescribeLockedSnapshotsCommand: (input: DescribeLockedSnapshotsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
1787
+ /**
1788
+ * serializeAws_ec2DescribeMacHostsCommand
1789
+ */
1790
+ export declare const se_DescribeMacHostsCommand: (input: DescribeMacHostsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
1786
1791
  /**
1787
1792
  * serializeAws_ec2DescribeManagedPrefixListsCommand
1788
1793
  */
@@ -4243,6 +4248,10 @@ export declare const de_DescribeLocalGatewayVirtualInterfacesCommand: (output: _
4243
4248
  * deserializeAws_ec2DescribeLockedSnapshotsCommand
4244
4249
  */
4245
4250
  export declare const de_DescribeLockedSnapshotsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeLockedSnapshotsCommandOutput>;
4251
+ /**
4252
+ * deserializeAws_ec2DescribeMacHostsCommand
4253
+ */
4254
+ export declare const de_DescribeMacHostsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeMacHostsCommandOutput>;
4246
4255
  /**
4247
4256
  * deserializeAws_ec2DescribeManagedPrefixListsCommand
4248
4257
  */
@@ -1167,6 +1167,10 @@ import {
1167
1167
  DescribeLockedSnapshotsCommandInput,
1168
1168
  DescribeLockedSnapshotsCommandOutput,
1169
1169
  } from "./commands/DescribeLockedSnapshotsCommand";
1170
+ import {
1171
+ DescribeMacHostsCommandInput,
1172
+ DescribeMacHostsCommandOutput,
1173
+ } from "./commands/DescribeMacHostsCommand";
1170
1174
  import {
1171
1175
  DescribeManagedPrefixListsCommandInput,
1172
1176
  DescribeManagedPrefixListsCommandOutput,
@@ -6618,6 +6622,20 @@ export interface EC2 {
6618
6622
  options: __HttpHandlerOptions,
6619
6623
  cb: (err: any, data?: DescribeLockedSnapshotsCommandOutput) => void
6620
6624
  ): void;
6625
+ describeMacHosts(): Promise<DescribeMacHostsCommandOutput>;
6626
+ describeMacHosts(
6627
+ args: DescribeMacHostsCommandInput,
6628
+ options?: __HttpHandlerOptions
6629
+ ): Promise<DescribeMacHostsCommandOutput>;
6630
+ describeMacHosts(
6631
+ args: DescribeMacHostsCommandInput,
6632
+ cb: (err: any, data?: DescribeMacHostsCommandOutput) => void
6633
+ ): void;
6634
+ describeMacHosts(
6635
+ args: DescribeMacHostsCommandInput,
6636
+ options: __HttpHandlerOptions,
6637
+ cb: (err: any, data?: DescribeMacHostsCommandOutput) => void
6638
+ ): void;
6621
6639
  describeManagedPrefixLists(): Promise<DescribeManagedPrefixListsCommandOutput>;
6622
6640
  describeManagedPrefixLists(
6623
6641
  args: DescribeManagedPrefixListsCommandInput,
@@ -1213,6 +1213,10 @@ import {
1213
1213
  DescribeLockedSnapshotsCommandInput,
1214
1214
  DescribeLockedSnapshotsCommandOutput,
1215
1215
  } from "./commands/DescribeLockedSnapshotsCommand";
1216
+ import {
1217
+ DescribeMacHostsCommandInput,
1218
+ DescribeMacHostsCommandOutput,
1219
+ } from "./commands/DescribeMacHostsCommand";
1216
1220
  import {
1217
1221
  DescribeManagedPrefixListsCommandInput,
1218
1222
  DescribeManagedPrefixListsCommandOutput,
@@ -2805,6 +2809,7 @@ export type ServiceInputTypes =
2805
2809
  | DescribeLocalGatewayVirtualInterfacesCommandInput
2806
2810
  | DescribeLocalGatewaysCommandInput
2807
2811
  | DescribeLockedSnapshotsCommandInput
2812
+ | DescribeMacHostsCommandInput
2808
2813
  | DescribeManagedPrefixListsCommandInput
2809
2814
  | DescribeMovingAddressesCommandInput
2810
2815
  | DescribeNatGatewaysCommandInput
@@ -3421,6 +3426,7 @@ export type ServiceOutputTypes =
3421
3426
  | DescribeLocalGatewayVirtualInterfacesCommandOutput
3422
3427
  | DescribeLocalGatewaysCommandOutput
3423
3428
  | DescribeLockedSnapshotsCommandOutput
3429
+ | DescribeMacHostsCommandOutput
3424
3430
  | DescribeManagedPrefixListsCommandOutput
3425
3431
  | DescribeMovingAddressesCommandOutput
3426
3432
  | DescribeNatGatewaysCommandOutput
@@ -0,0 +1,38 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ EC2ClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../EC2Client";
8
+ import {
9
+ DescribeMacHostsRequest,
10
+ DescribeMacHostsResult,
11
+ } from "../models/models_4";
12
+ export { __MetadataBearer, $Command };
13
+ export interface DescribeMacHostsCommandInput extends DescribeMacHostsRequest {}
14
+ export interface DescribeMacHostsCommandOutput
15
+ extends DescribeMacHostsResult,
16
+ __MetadataBearer {}
17
+ declare const DescribeMacHostsCommand_base: {
18
+ new (
19
+ input: DescribeMacHostsCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ DescribeMacHostsCommandInput,
22
+ DescribeMacHostsCommandOutput,
23
+ EC2ClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ new (
28
+ ...[input]: [] | [DescribeMacHostsCommandInput]
29
+ ): import("@smithy/smithy-client").CommandImpl<
30
+ DescribeMacHostsCommandInput,
31
+ DescribeMacHostsCommandOutput,
32
+ EC2ClientResolvedConfig,
33
+ ServiceInputTypes,
34
+ ServiceOutputTypes
35
+ >;
36
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
37
+ };
38
+ export declare class DescribeMacHostsCommand extends DescribeMacHostsCommand_base {}
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- DescribeSpotPriceHistoryRequest,
10
- DescribeSpotPriceHistoryResult,
11
- } from "../models/models_4";
8
+ import { DescribeSpotPriceHistoryRequest } from "../models/models_4";
9
+ import { DescribeSpotPriceHistoryResult } from "../models/models_5";
12
10
  export { __MetadataBearer, $Command };
13
11
  export interface DescribeSpotPriceHistoryCommandInput
14
12
  extends DescribeSpotPriceHistoryRequest {}
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { DescribeStaleSecurityGroupsRequest } from "../models/models_4";
9
- import { DescribeStaleSecurityGroupsResult } from "../models/models_5";
8
+ import {
9
+ DescribeStaleSecurityGroupsRequest,
10
+ DescribeStaleSecurityGroupsResult,
11
+ } from "../models/models_5";
10
12
  export { __MetadataBearer, $Command };
11
13
  export interface DescribeStaleSecurityGroupsCommandInput
12
14
  extends DescribeStaleSecurityGroupsRequest {}
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- GetIpamDiscoveredPublicAddressesRequest,
10
- GetIpamDiscoveredPublicAddressesResult,
11
- } from "../models/models_5";
8
+ import { GetIpamDiscoveredPublicAddressesRequest } from "../models/models_5";
9
+ import { GetIpamDiscoveredPublicAddressesResult } from "../models/models_6";
12
10
  export { __MetadataBearer, $Command };
13
11
  export interface GetIpamDiscoveredPublicAddressesCommandInput
14
12
  extends GetIpamDiscoveredPublicAddressesRequest {}
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { RegisterImageRequest, RegisterImageResult } from "../models/models_6";
8
+ import { RegisterImageRequest, RegisterImageResult } from "../models/models_7";
9
9
  export { __MetadataBearer, $Command };
10
10
  export interface RegisterImageCommandInput extends RegisterImageRequest {}
11
11
  export interface RegisterImageCommandOutput
@@ -290,6 +290,7 @@ export * from "./DescribeLocalGatewayVirtualInterfaceGroupsCommand";
290
290
  export * from "./DescribeLocalGatewayVirtualInterfacesCommand";
291
291
  export * from "./DescribeLocalGatewaysCommand";
292
292
  export * from "./DescribeLockedSnapshotsCommand";
293
+ export * from "./DescribeMacHostsCommand";
293
294
  export * from "./DescribeManagedPrefixListsCommand";
294
295
  export * from "./DescribeMovingAddressesCommand";
295
296
  export * from "./DescribeNatGatewaysCommand";
@@ -7,5 +7,4 @@ export * from "./commands";
7
7
  export * from "./pagination";
8
8
  export * from "./waiters";
9
9
  export * from "./models";
10
- import "@aws-sdk/util-endpoints";
11
10
  export { EC2ServiceException } from "./models/EC2ServiceException";
@@ -1135,6 +1135,20 @@ export interface DescribeLockedSnapshotsResult {
1135
1135
  Snapshots?: LockedSnapshotsInfo[];
1136
1136
  NextToken?: string;
1137
1137
  }
1138
+ export interface DescribeMacHostsRequest {
1139
+ Filters?: Filter[];
1140
+ HostIds?: string[];
1141
+ MaxResults?: number;
1142
+ NextToken?: string;
1143
+ }
1144
+ export interface MacHost {
1145
+ HostId?: string;
1146
+ MacOSLatestSupportedVersions?: string[];
1147
+ }
1148
+ export interface DescribeMacHostsResult {
1149
+ MacHosts?: MacHost[];
1150
+ NextToken?: string;
1151
+ }
1138
1152
  export interface DescribeManagedPrefixListsRequest {
1139
1153
  DryRun?: boolean;
1140
1154
  Filters?: Filter[];
@@ -2060,23 +2074,6 @@ export interface DescribeSpotPriceHistoryRequest {
2060
2074
  ProductDescriptions?: string[];
2061
2075
  StartTime?: Date;
2062
2076
  }
2063
- export interface SpotPrice {
2064
- AvailabilityZone?: string;
2065
- InstanceType?: _InstanceType;
2066
- ProductDescription?: RIProductDescription;
2067
- SpotPrice?: string;
2068
- Timestamp?: Date;
2069
- }
2070
- export interface DescribeSpotPriceHistoryResult {
2071
- NextToken?: string;
2072
- SpotPriceHistory?: SpotPrice[];
2073
- }
2074
- export interface DescribeStaleSecurityGroupsRequest {
2075
- DryRun?: boolean;
2076
- MaxResults?: number;
2077
- NextToken?: string;
2078
- VpcId: string | undefined;
2079
- }
2080
2077
  export declare const SnapshotTaskDetailFilterSensitiveLog: (
2081
2078
  obj: SnapshotTaskDetail
2082
2079
  ) => any;
@@ -1,4 +1,5 @@
1
1
  import {
2
+ _InstanceType,
2
3
  AddressTransfer,
3
4
  AllowedPrincipal,
4
5
  AsnAssociation,
@@ -79,7 +80,28 @@ import {
79
80
  StatisticType,
80
81
  VirtualizationType,
81
82
  } from "./models_3";
82
- import { ArchitectureType, AttributeBooleanValue } from "./models_4";
83
+ import {
84
+ ArchitectureType,
85
+ AttributeBooleanValue,
86
+ RIProductDescription,
87
+ } from "./models_4";
88
+ export interface SpotPrice {
89
+ AvailabilityZone?: string;
90
+ InstanceType?: _InstanceType;
91
+ ProductDescription?: RIProductDescription;
92
+ SpotPrice?: string;
93
+ Timestamp?: Date;
94
+ }
95
+ export interface DescribeSpotPriceHistoryResult {
96
+ NextToken?: string;
97
+ SpotPriceHistory?: SpotPrice[];
98
+ }
99
+ export interface DescribeStaleSecurityGroupsRequest {
100
+ DryRun?: boolean;
101
+ MaxResults?: number;
102
+ NextToken?: string;
103
+ VpcId: string | undefined;
104
+ }
83
105
  export interface StaleIpPermission {
84
106
  FromPort?: number;
85
107
  IpProtocol?: string;
@@ -1637,35 +1659,6 @@ export interface IpamPublicAddressTag {
1637
1659
  Key?: string;
1638
1660
  Value?: string;
1639
1661
  }
1640
- export interface IpamPublicAddressTags {
1641
- EipTags?: IpamPublicAddressTag[];
1642
- }
1643
- export interface IpamDiscoveredPublicAddress {
1644
- IpamResourceDiscoveryId?: string;
1645
- AddressRegion?: string;
1646
- Address?: string;
1647
- AddressOwnerId?: string;
1648
- AddressAllocationId?: string;
1649
- AssociationStatus?: IpamPublicAddressAssociationStatus;
1650
- AddressType?: IpamPublicAddressType;
1651
- Service?: IpamPublicAddressAwsService;
1652
- ServiceResource?: string;
1653
- VpcId?: string;
1654
- SubnetId?: string;
1655
- PublicIpv4PoolId?: string;
1656
- NetworkInterfaceId?: string;
1657
- NetworkInterfaceDescription?: string;
1658
- InstanceId?: string;
1659
- Tags?: IpamPublicAddressTags;
1660
- NetworkBorderGroup?: string;
1661
- SecurityGroups?: IpamPublicAddressSecurityGroup[];
1662
- SampleTime?: Date;
1663
- }
1664
- export interface GetIpamDiscoveredPublicAddressesResult {
1665
- IpamDiscoveredPublicAddresses?: IpamDiscoveredPublicAddress[];
1666
- OldestSampleTime?: Date;
1667
- NextToken?: string;
1668
- }
1669
1662
  export declare const DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog: (
1670
1663
  obj: DescribeVerifiedAccessTrustProvidersResult
1671
1664
  ) => any;
@@ -36,7 +36,6 @@ import {
36
36
  } from "./models_0";
37
37
  import {
38
38
  AttributeValue,
39
- BlockDeviceMapping,
40
39
  CapacityReservationPreference,
41
40
  CapacityReservationTarget,
42
41
  ClientConnectOptions,
@@ -110,13 +109,11 @@ import {
110
109
  Filter,
111
110
  FpgaImageAttribute,
112
111
  FpgaImageAttributeName,
113
- ImdsSupportValues,
114
112
  ImportImageLicenseConfigurationResponse,
115
113
  IpamPoolCidr,
116
114
  LaunchPermission,
117
115
  PermissionGroup,
118
116
  SnapshotDetail,
119
- TpmSupportValues,
120
117
  VirtualizationType,
121
118
  } from "./models_3";
122
119
  import {
@@ -146,6 +143,11 @@ import {
146
143
  InstanceFamilyCreditSpecification,
147
144
  IpamComplianceStatus,
148
145
  IpamOverlapStatus,
146
+ IpamPublicAddressAssociationStatus,
147
+ IpamPublicAddressAwsService,
148
+ IpamPublicAddressSecurityGroup,
149
+ IpamPublicAddressTag,
150
+ IpamPublicAddressType,
149
151
  Purchase,
150
152
  SnapshotBlockPublicAccessState,
151
153
  TransitGatewayPropagationState,
@@ -153,6 +155,35 @@ import {
153
155
  VerifiedAccessInstanceLoggingConfiguration,
154
156
  VolumeModification,
155
157
  } from "./models_5";
158
+ export interface IpamPublicAddressTags {
159
+ EipTags?: IpamPublicAddressTag[];
160
+ }
161
+ export interface IpamDiscoveredPublicAddress {
162
+ IpamResourceDiscoveryId?: string;
163
+ AddressRegion?: string;
164
+ Address?: string;
165
+ AddressOwnerId?: string;
166
+ AddressAllocationId?: string;
167
+ AssociationStatus?: IpamPublicAddressAssociationStatus;
168
+ AddressType?: IpamPublicAddressType;
169
+ Service?: IpamPublicAddressAwsService;
170
+ ServiceResource?: string;
171
+ VpcId?: string;
172
+ SubnetId?: string;
173
+ PublicIpv4PoolId?: string;
174
+ NetworkInterfaceId?: string;
175
+ NetworkInterfaceDescription?: string;
176
+ InstanceId?: string;
177
+ Tags?: IpamPublicAddressTags;
178
+ NetworkBorderGroup?: string;
179
+ SecurityGroups?: IpamPublicAddressSecurityGroup[];
180
+ SampleTime?: Date;
181
+ }
182
+ export interface GetIpamDiscoveredPublicAddressesResult {
183
+ IpamDiscoveredPublicAddresses?: IpamDiscoveredPublicAddress[];
184
+ OldestSampleTime?: Date;
185
+ NextToken?: string;
186
+ }
156
187
  export interface GetIpamDiscoveredResourceCidrsRequest {
157
188
  DryRun?: boolean;
158
189
  IpamResourceDiscoveryId: string | undefined;
@@ -1841,33 +1872,6 @@ export interface RebootInstancesRequest {
1841
1872
  InstanceIds: string[] | undefined;
1842
1873
  DryRun?: boolean;
1843
1874
  }
1844
- export interface RegisterImageRequest {
1845
- ImageLocation?: string;
1846
- Architecture?: ArchitectureValues;
1847
- BlockDeviceMappings?: BlockDeviceMapping[];
1848
- Description?: string;
1849
- DryRun?: boolean;
1850
- EnaSupport?: boolean;
1851
- KernelId?: string;
1852
- Name: string | undefined;
1853
- BillingProducts?: string[];
1854
- RamdiskId?: string;
1855
- RootDeviceName?: string;
1856
- SriovNetSupport?: string;
1857
- VirtualizationType?: string;
1858
- BootMode?: BootModeValues;
1859
- TpmSupport?: TpmSupportValues;
1860
- UefiData?: string;
1861
- ImdsSupport?: ImdsSupportValues;
1862
- TagSpecifications?: TagSpecification[];
1863
- }
1864
- export interface RegisterImageResult {
1865
- ImageId?: string;
1866
- }
1867
- export interface RegisterInstanceTagAttributeRequest {
1868
- IncludeAllTagsOfInstance?: boolean;
1869
- InstanceTagKeys?: string[];
1870
- }
1871
1875
  export declare const GetLaunchTemplateDataResultFilterSensitiveLog: (
1872
1876
  obj: GetLaunchTemplateDataResult
1873
1877
  ) => any;
@@ -36,9 +36,13 @@ import {
36
36
  } from "./models_1";
37
37
  import { SnapshotState, SSEType, TransitGatewayRoute } from "./models_2";
38
38
  import {
39
+ ArchitectureValues,
40
+ BootModeValues,
39
41
  ClientVpnConnectionStatus,
40
42
  Filter,
43
+ ImdsSupportValues,
41
44
  InstanceTagNotificationAttribute,
45
+ TpmSupportValues,
42
46
  } from "./models_3";
43
47
  import {
44
48
  HttpTokensState,
@@ -60,9 +64,35 @@ import {
60
64
  import {
61
65
  CapacityReservationSpecification,
62
66
  InstanceMonitoring,
63
- RegisterInstanceTagAttributeRequest,
64
67
  Status,
65
68
  } from "./models_6";
69
+ export interface RegisterImageRequest {
70
+ ImageLocation?: string;
71
+ Architecture?: ArchitectureValues;
72
+ BlockDeviceMappings?: BlockDeviceMapping[];
73
+ Description?: string;
74
+ DryRun?: boolean;
75
+ EnaSupport?: boolean;
76
+ KernelId?: string;
77
+ Name: string | undefined;
78
+ BillingProducts?: string[];
79
+ RamdiskId?: string;
80
+ RootDeviceName?: string;
81
+ SriovNetSupport?: string;
82
+ VirtualizationType?: string;
83
+ BootMode?: BootModeValues;
84
+ TpmSupport?: TpmSupportValues;
85
+ UefiData?: string;
86
+ ImdsSupport?: ImdsSupportValues;
87
+ TagSpecifications?: TagSpecification[];
88
+ }
89
+ export interface RegisterImageResult {
90
+ ImageId?: string;
91
+ }
92
+ export interface RegisterInstanceTagAttributeRequest {
93
+ IncludeAllTagsOfInstance?: boolean;
94
+ InstanceTagKeys?: string[];
95
+ }
66
96
  export interface RegisterInstanceEventNotificationAttributesRequest {
67
97
  DryRun?: boolean;
68
98
  InstanceTagAttribute: RegisterInstanceTagAttributeRequest | undefined;