@aws-sdk/client-ec2 3.321.1 → 3.325.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 (43) hide show
  1. package/dist-cjs/models/models_1.js +6 -2
  2. package/dist-cjs/models/models_3.js +2 -8
  3. package/dist-cjs/models/models_4.js +10 -1
  4. package/dist-cjs/protocols/Aws_ec2.js +25 -0
  5. package/dist-es/models/models_1.js +4 -0
  6. package/dist-es/models/models_3.js +0 -6
  7. package/dist-es/models/models_4.js +9 -0
  8. package/dist-es/protocols/Aws_ec2.js +25 -0
  9. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -0
  10. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +1 -0
  11. package/dist-types/commands/DeleteSpotDatafeedSubscriptionCommand.d.ts +1 -1
  12. package/dist-types/commands/DescribeVolumeAttributeCommand.d.ts +2 -1
  13. package/dist-types/commands/DescribeVolumesCommand.d.ts +1 -2
  14. package/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
  15. package/dist-types/commands/ModifyInstanceAttributeCommand.d.ts +1 -1
  16. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +0 -3
  17. package/dist-types/commands/PurchaseReservedInstancesOfferingCommand.d.ts +0 -3
  18. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +0 -3
  19. package/dist-types/commands/RunInstancesCommand.d.ts +3 -16
  20. package/dist-types/commands/SendDiagnosticInterruptCommand.d.ts +1 -1
  21. package/dist-types/commands/StartInstancesCommand.d.ts +1 -2
  22. package/dist-types/models/models_0.d.ts +2 -2
  23. package/dist-types/models/models_1.d.ts +35 -82
  24. package/dist-types/models/models_2.d.ts +79 -14
  25. package/dist-types/models/models_3.d.ts +18 -25
  26. package/dist-types/models/models_4.d.ts +68 -191
  27. package/dist-types/models/models_5.d.ts +133 -52
  28. package/dist-types/models/models_6.d.ts +70 -49
  29. package/dist-types/models/models_7.d.ts +34 -0
  30. package/dist-types/ts3.4/commands/DeleteSpotDatafeedSubscriptionCommand.d.ts +1 -1
  31. package/dist-types/ts3.4/commands/DescribeVolumeAttributeCommand.d.ts +2 -4
  32. package/dist-types/ts3.4/commands/DescribeVolumesCommand.d.ts +4 -2
  33. package/dist-types/ts3.4/commands/ImportKeyPairCommand.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/SendDiagnosticInterruptCommand.d.ts +1 -1
  35. package/dist-types/ts3.4/commands/StartInstancesCommand.d.ts +4 -2
  36. package/dist-types/ts3.4/models/models_1.d.ts +8 -11
  37. package/dist-types/ts3.4/models/models_2.d.ts +12 -4
  38. package/dist-types/ts3.4/models/models_3.d.ts +5 -8
  39. package/dist-types/ts3.4/models/models_4.d.ts +15 -14
  40. package/dist-types/ts3.4/models/models_5.d.ts +13 -12
  41. package/dist-types/ts3.4/models/models_6.d.ts +14 -9
  42. package/dist-types/ts3.4/models/models_7.d.ts +9 -0
  43. package/package.json +17 -17
@@ -1,8 +1,140 @@
1
1
  import { _InstanceType, AccessScopeAnalysisFinding, AddressTransfer, AllowedPrincipal, AssociationStatus, CapacityReservationState, CurrencyCodeValues, IamInstanceProfileAssociation, InstanceEventWindow, IpamPoolAllocation, IpamResourceDiscoveryAssociation, NatGatewayAddress, SubnetAssociation, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociation, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPolicyTableAssociation, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
2
2
  import { DiskImageFormat, InstanceRequirementsRequest, IpamResourceTag, NetworkInsightsAccessScopeContent, Placement, PlatformValues, RequestIpamResourceTag, ResponseLaunchTemplateData, ShutdownBehavior, TargetCapacityUnitType, VolumeType, Vpc } from "./models_1";
3
3
  import { ConnectionNotification, DnsEntry, DnsNameState, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, State, SubnetCidrReservation, TransitGatewayPrefixListReference, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
4
- import { ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, ImportImageLicenseConfigurationResponse, IpamPoolCidr, MetricType, PaymentOption, PeriodType, SnapshotDetail, StatisticType, VirtualizationType } from "./models_3";
4
+ import { ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, ImportImageLicenseConfigurationResponse, IpamPoolCidr, MetricType, PaymentOption, PeriodType, ProductCode, SnapshotDetail, StatisticType, VirtualizationType } from "./models_3";
5
5
  import { AnalysisStatus, ArchitectureType } from "./models_4";
6
+ /**
7
+ * @public
8
+ */
9
+ export interface DescribeVolumeAttributeResult {
10
+ /**
11
+ * <p>The state of <code>autoEnableIO</code> attribute.</p>
12
+ */
13
+ AutoEnableIO?: AttributeBooleanValue;
14
+ /**
15
+ * <p>A list of product codes.</p>
16
+ */
17
+ ProductCodes?: ProductCode[];
18
+ /**
19
+ * <p>The ID of the volume.</p>
20
+ */
21
+ VolumeId?: string;
22
+ }
23
+ /**
24
+ * @public
25
+ */
26
+ export interface DescribeVolumesRequest {
27
+ /**
28
+ * <p>The filters.</p>
29
+ * <ul>
30
+ * <li>
31
+ * <p>
32
+ * <code>attachment.attach-time</code> - The time stamp when the attachment
33
+ * initiated.</p>
34
+ * </li>
35
+ * <li>
36
+ * <p>
37
+ * <code>attachment.delete-on-termination</code> - Whether the volume is deleted on
38
+ * instance termination.</p>
39
+ * </li>
40
+ * <li>
41
+ * <p>
42
+ * <code>attachment.device</code> - The device name specified in the block device mapping
43
+ * (for example, <code>/dev/sda1</code>).</p>
44
+ * </li>
45
+ * <li>
46
+ * <p>
47
+ * <code>attachment.instance-id</code> - The ID of the instance the volume is attached
48
+ * to.</p>
49
+ * </li>
50
+ * <li>
51
+ * <p>
52
+ * <code>attachment.status</code> - The attachment state (<code>attaching</code> |
53
+ * <code>attached</code> | <code>detaching</code>).</p>
54
+ * </li>
55
+ * <li>
56
+ * <p>
57
+ * <code>availability-zone</code> - The Availability Zone in which the volume was
58
+ * created.</p>
59
+ * </li>
60
+ * <li>
61
+ * <p>
62
+ * <code>create-time</code> - The time stamp when the volume was created.</p>
63
+ * </li>
64
+ * <li>
65
+ * <p>
66
+ * <code>encrypted</code> - Indicates whether the volume is encrypted (<code>true</code>
67
+ * | <code>false</code>)</p>
68
+ * </li>
69
+ * <li>
70
+ * <p>
71
+ * <code>multi-attach-enabled</code> - Indicates whether the volume is enabled for Multi-Attach (<code>true</code>
72
+ * | <code>false</code>)</p>
73
+ * </li>
74
+ * <li>
75
+ * <p>
76
+ * <code>fast-restored</code> - Indicates whether the volume was created from a
77
+ * snapshot that is enabled for fast snapshot restore (<code>true</code> |
78
+ * <code>false</code>).</p>
79
+ * </li>
80
+ * <li>
81
+ * <p>
82
+ * <code>size</code> - The size of the volume, in GiB.</p>
83
+ * </li>
84
+ * <li>
85
+ * <p>
86
+ * <code>snapshot-id</code> - The snapshot from which the volume was created.</p>
87
+ * </li>
88
+ * <li>
89
+ * <p>
90
+ * <code>status</code> - The state of the volume (<code>creating</code> |
91
+ * <code>available</code> | <code>in-use</code> | <code>deleting</code> |
92
+ * <code>deleted</code> | <code>error</code>).</p>
93
+ * </li>
94
+ * <li>
95
+ * <p>
96
+ * <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.
97
+ * 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>
98
+ * </li>
99
+ * <li>
100
+ * <p>
101
+ * <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>
102
+ * </li>
103
+ * <li>
104
+ * <p>
105
+ * <code>volume-id</code> - The volume ID.</p>
106
+ * </li>
107
+ * <li>
108
+ * <p>
109
+ * <code>volume-type</code> - The Amazon EBS volume type (<code>gp2</code> | <code>gp3</code> | <code>io1</code> | <code>io2</code> |
110
+ * <code>st1</code> | <code>sc1</code>| <code>standard</code>)</p>
111
+ * </li>
112
+ * </ul>
113
+ */
114
+ Filters?: Filter[];
115
+ /**
116
+ * <p>The volume IDs.</p>
117
+ */
118
+ VolumeIds?: string[];
119
+ /**
120
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
121
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
122
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
123
+ */
124
+ DryRun?: boolean;
125
+ /**
126
+ * <p>The maximum number of volumes to return for this request.
127
+ * This value can be between 5 and 500; if you specify a value larger than 500, only 500 items are returned.
128
+ * If this parameter is not used, then all items are returned. You cannot specify this parameter and the
129
+ * volume IDs parameter in the same request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
130
+ */
131
+ MaxResults?: number;
132
+ /**
133
+ * <p>The token returned from a previous paginated request.
134
+ * Pagination continues from the end of the items returned from the previous request.</p>
135
+ */
136
+ NextToken?: string;
137
+ }
6
138
  /**
7
139
  * @public
8
140
  */
@@ -6659,57 +6791,6 @@ export interface ImportInstanceResult {
6659
6791
  */
6660
6792
  ConversionTask?: ConversionTask;
6661
6793
  }
6662
- /**
6663
- * @public
6664
- */
6665
- export interface ImportKeyPairRequest {
6666
- /**
6667
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
6668
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
6669
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
6670
- */
6671
- DryRun?: boolean;
6672
- /**
6673
- * <p>A unique name for the key pair.</p>
6674
- */
6675
- KeyName: string | undefined;
6676
- /**
6677
- * <p>The public key. For API calls, the text must be base64-encoded. For command line tools, base64 encoding is performed for you.</p>
6678
- */
6679
- PublicKeyMaterial: Uint8Array | undefined;
6680
- /**
6681
- * <p>The tags to apply to the imported key pair.</p>
6682
- */
6683
- TagSpecifications?: TagSpecification[];
6684
- }
6685
- /**
6686
- * @public
6687
- */
6688
- export interface ImportKeyPairResult {
6689
- /**
6690
- * <ul>
6691
- * <li>
6692
- * <p>For RSA key pairs, the key fingerprint is the MD5 public key fingerprint as specified in section 4 of RFC 4716.</p>
6693
- * </li>
6694
- * <li>
6695
- * <p>For ED25519 key pairs, the key fingerprint is the base64-encoded SHA-256 digest, which is the default for OpenSSH, starting with <a href="http://www.openssh.com/txt/release-6.8">OpenSSH 6.8</a>.</p>
6696
- * </li>
6697
- * </ul>
6698
- */
6699
- KeyFingerprint?: string;
6700
- /**
6701
- * <p>The key pair name that you provided.</p>
6702
- */
6703
- KeyName?: string;
6704
- /**
6705
- * <p>The ID of the resulting key pair.</p>
6706
- */
6707
- KeyPairId?: string;
6708
- /**
6709
- * <p>The tags applied to the imported key pair.</p>
6710
- */
6711
- Tags?: Tag[];
6712
- }
6713
6794
  /**
6714
6795
  * @internal
6715
6796
  */
@@ -1,9 +1,60 @@
1
1
  import { _InstanceType, AddedPrincipal, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, AddressAttributeName, Affinity, ApplianceModeSupportValue, AutoPlacement, ByoipCidr, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, EndDateType, HostMaintenance, HostRecovery, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpPermission, Ipv6SupportValue, PortRange, RouteTableAssociationState, Tag, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
2
- import { AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, CreditSpecificationRequest, ElasticGpuSpecification, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, HostnameType, IcmpTypeCode, InstanceEventWindowTimeRangeRequest, InstanceInterruptionBehavior, InstanceIpv6Address, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, MarketType, Placement, RequestIpamResourceTag, RuleAction, SelfServicePortal, ShutdownBehavior, SpotInstanceType, TargetCapacitySpecificationRequest, VolumeType } from "./models_1";
2
+ import { AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, CreditSpecificationRequest, ElasticGpuSpecification, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, HostnameType, IcmpTypeCode, InstanceEventWindowTimeRangeRequest, InstanceInterruptionBehavior, InstanceIpv6Address, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, MarketType, Placement, RequestIpamResourceTag, RuleAction, SelfServicePortal, ShutdownBehavior, SpotInstanceType, TargetCapacitySpecificationRequest, VolumeType } from "./models_1";
3
3
  import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IKEVersionsRequestListValue, IpAddressType, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, SnapshotState, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, TransitGatewayRoute, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VpnConnection, VpnEcmpSupportValue, VpnTunnelLogOptionsSpecification } from "./models_2";
4
4
  import { ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, Filter, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceTagNotificationAttribute, IpamPoolCidr, LaunchPermission, PermissionGroup, SnapshotTaskDetail, TpmSupportValues } from "./models_3";
5
5
  import { CreateVolumePermission, ExcessCapacityTerminationPolicy, InstanceNetworkInterfaceSpecification, InstanceStatusEvent, LaunchTemplateConfig, Monitoring, PublicIpv4PoolRange, ReservedInstancesConfiguration, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement, VerifiedAccessInstanceLoggingConfiguration } from "./models_4";
6
6
  import { ClientData, DiskImageDetail, InstanceFamilyCreditSpecification, IpamResourceCidr, Purchase, UnlimitedSupportedInstanceFamily, UserBucket, VolumeDetail, VolumeModification } from "./models_5";
7
+ /**
8
+ * @public
9
+ */
10
+ export interface ImportKeyPairRequest {
11
+ /**
12
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
13
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
14
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
15
+ */
16
+ DryRun?: boolean;
17
+ /**
18
+ * <p>A unique name for the key pair.</p>
19
+ */
20
+ KeyName: string | undefined;
21
+ /**
22
+ * <p>The public key. For API calls, the text must be base64-encoded. For command line tools, base64 encoding is performed for you.</p>
23
+ */
24
+ PublicKeyMaterial: Uint8Array | undefined;
25
+ /**
26
+ * <p>The tags to apply to the imported key pair.</p>
27
+ */
28
+ TagSpecifications?: TagSpecification[];
29
+ }
30
+ /**
31
+ * @public
32
+ */
33
+ export interface ImportKeyPairResult {
34
+ /**
35
+ * <ul>
36
+ * <li>
37
+ * <p>For RSA key pairs, the key fingerprint is the MD5 public key fingerprint as specified in section 4 of RFC 4716.</p>
38
+ * </li>
39
+ * <li>
40
+ * <p>For ED25519 key pairs, the key fingerprint is the base64-encoded SHA-256 digest, which is the default for OpenSSH, starting with <a href="http://www.openssh.com/txt/release-6.8">OpenSSH 6.8</a>.</p>
41
+ * </li>
42
+ * </ul>
43
+ */
44
+ KeyFingerprint?: string;
45
+ /**
46
+ * <p>The key pair name that you provided.</p>
47
+ */
48
+ KeyName?: string;
49
+ /**
50
+ * <p>The ID of the resulting key pair.</p>
51
+ */
52
+ KeyPairId?: string;
53
+ /**
54
+ * <p>The tags applied to the imported key pair.</p>
55
+ */
56
+ Tags?: Tag[];
57
+ }
7
58
  /**
8
59
  * @public
9
60
  * <p>The disk container object for the import snapshot request.</p>
@@ -1107,10 +1158,9 @@ export interface ModifyInstanceAttributeRequest {
1107
1158
  */
1108
1159
  EnaSupport?: AttributeBooleanValue;
1109
1160
  /**
1110
- * <p>[EC2-VPC] Replaces the security groups of the instance with the specified security
1111
- * groups. You must specify at least one security group, even if it's just the default
1112
- * security group for the VPC. You must specify the security group ID, not the security
1113
- * group name.</p>
1161
+ * <p>Replaces the security groups of the instance with the specified security groups.
1162
+ * You must specify the ID of at least one security group, even if it's just the default
1163
+ * security group for the VPC.</p>
1114
1164
  */
1115
1165
  Groups?: string[];
1116
1166
  /**
@@ -5378,11 +5428,11 @@ export interface RequestSpotFleetResponse {
5378
5428
  */
5379
5429
  export interface RequestSpotLaunchSpecification {
5380
5430
  /**
5381
- * <p>One or more security group IDs.</p>
5431
+ * <p>The IDs of the security groups.</p>
5382
5432
  */
5383
5433
  SecurityGroupIds?: string[];
5384
5434
  /**
5385
- * <p>One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.</p>
5435
+ * <p>Not supported.</p>
5386
5436
  */
5387
5437
  SecurityGroups?: string[];
5388
5438
  /**
@@ -5390,7 +5440,7 @@ export interface RequestSpotLaunchSpecification {
5390
5440
  */
5391
5441
  AddressingType?: string;
5392
5442
  /**
5393
- * <p>One or more block device mapping entries. You can't specify both a snapshot ID and an encryption value.
5443
+ * <p>The block device mapping entries. You can't specify both a snapshot ID and an encryption value.
5394
5444
  * This is because only blank volumes can be encrypted on creation. If a snapshot is the basis for a volume,
5395
5445
  * it is not blank and its encryption status is used for the volume encryption status.</p>
5396
5446
  */
@@ -5427,7 +5477,7 @@ export interface RequestSpotLaunchSpecification {
5427
5477
  */
5428
5478
  Monitoring?: RunInstancesMonitoringEnabled;
5429
5479
  /**
5430
- * <p>One or more network interfaces. If you specify a network interface, you must specify
5480
+ * <p>The network interfaces. If you specify a network interface, you must specify
5431
5481
  * subnet IDs and security group IDs using the network interface.</p>
5432
5482
  */
5433
5483
  NetworkInterfaces?: InstanceNetworkInterfaceSpecification[];
@@ -5562,7 +5612,7 @@ export interface RequestSpotInstancesRequest {
5562
5612
  */
5563
5613
  export interface RequestSpotInstancesResult {
5564
5614
  /**
5565
- * <p>One or more Spot Instance requests.</p>
5615
+ * <p>The Spot Instance requests.</p>
5566
5616
  */
5567
5617
  SpotInstanceRequests?: SpotInstanceRequest[];
5568
5618
  }
@@ -6134,6 +6184,11 @@ export interface CpuOptionsRequest {
6134
6184
  * <code>2</code>.</p>
6135
6185
  */
6136
6186
  ThreadsPerCore?: number;
6187
+ /**
6188
+ * <p>Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is supported
6189
+ * with M6a, R6a, and C6a instance types only.</p>
6190
+ */
6191
+ AmdSevSnp?: AmdSevSnpSpecification | string;
6137
6192
  }
6138
6193
  /**
6139
6194
  * @public
@@ -6402,7 +6457,7 @@ export interface RunInstancesRequest {
6402
6457
  */
6403
6458
  InstanceType?: _InstanceType | string;
6404
6459
  /**
6405
- * <p>[EC2-VPC] The number of IPv6 addresses to associate with the primary network
6460
+ * <p>The number of IPv6 addresses to associate with the primary network
6406
6461
  * interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet. You
6407
6462
  * cannot specify this option and the option to assign specific IPv6 addresses in the same
6408
6463
  * request. You can specify this option if you've specified a minimum number of instances
@@ -6412,7 +6467,7 @@ export interface RunInstancesRequest {
6412
6467
  */
6413
6468
  Ipv6AddressCount?: number;
6414
6469
  /**
6415
- * <p>[EC2-VPC] The IPv6 addresses from the range of the subnet to associate with the
6470
+ * <p>The IPv6 addresses from the range of the subnet to associate with the
6416
6471
  * primary network interface. You cannot specify this option and the option to assign a
6417
6472
  * number of IPv6 addresses in the same request. You cannot specify this option if you've
6418
6473
  * specified a minimum number of instances to launch.</p>
@@ -6485,14 +6540,14 @@ export interface RunInstancesRequest {
6485
6540
  */
6486
6541
  SecurityGroupIds?: string[];
6487
6542
  /**
6488
- * <p>[EC2-Classic, default VPC] The names of the security groups.</p>
6543
+ * <p>[Default VPC] The names of the security groups.</p>
6489
6544
  * <p>If you specify a network interface, you must specify any security groups as part of
6490
6545
  * the network interface.</p>
6491
6546
  * <p>Default: Amazon EC2 uses the default security group.</p>
6492
6547
  */
6493
6548
  SecurityGroups?: string[];
6494
6549
  /**
6495
- * <p>[EC2-VPC] The ID of the subnet to launch the instance into.</p>
6550
+ * <p>The ID of the subnet to launch the instance into.</p>
6496
6551
  * <p>If you specify a network interface, you must specify any subnets as part of the
6497
6552
  * network interface.</p>
6498
6553
  */
@@ -6564,7 +6619,7 @@ export interface RunInstancesRequest {
6564
6619
  */
6565
6620
  NetworkInterfaces?: InstanceNetworkInterfaceSpecification[];
6566
6621
  /**
6567
- * <p>[EC2-VPC] The primary IPv4 address. You must specify a value from the IPv4 address
6622
+ * <p>The primary IPv4 address. You must specify a value from the IPv4 address
6568
6623
  * range of the subnet.</p>
6569
6624
  * <p>Only one private IP address can be designated as primary. You can't specify this
6570
6625
  * option if you've specified the option to designate a private IP address as the primary
@@ -7289,40 +7344,6 @@ export interface SearchTransitGatewayRoutesResult {
7289
7344
  */
7290
7345
  AdditionalRoutesAvailable?: boolean;
7291
7346
  }
7292
- /**
7293
- * @public
7294
- */
7295
- export interface SendDiagnosticInterruptRequest {
7296
- /**
7297
- * <p>The ID of the instance.</p>
7298
- */
7299
- InstanceId: string | undefined;
7300
- /**
7301
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7302
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7303
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7304
- */
7305
- DryRun?: boolean;
7306
- }
7307
- /**
7308
- * @public
7309
- */
7310
- export interface StartInstancesRequest {
7311
- /**
7312
- * <p>The IDs of the instances.</p>
7313
- */
7314
- InstanceIds: string[] | undefined;
7315
- /**
7316
- * <p>Reserved.</p>
7317
- */
7318
- AdditionalInfo?: string;
7319
- /**
7320
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7321
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7322
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7323
- */
7324
- DryRun?: boolean;
7325
- }
7326
7347
  /**
7327
7348
  * @internal
7328
7349
  */
@@ -2,6 +2,40 @@ import { ByoipCidr, IpPermission, NatGatewayAddress, TagSpecification } from "./
2
2
  import { ClientVpnConnectionStatus } from "./models_3";
3
3
  import { InstanceState, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis } from "./models_4";
4
4
  import { InstanceMonitoring } from "./models_6";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface SendDiagnosticInterruptRequest {
9
+ /**
10
+ * <p>The ID of the instance.</p>
11
+ */
12
+ InstanceId: string | undefined;
13
+ /**
14
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
15
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
16
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
17
+ */
18
+ DryRun?: boolean;
19
+ }
20
+ /**
21
+ * @public
22
+ */
23
+ export interface StartInstancesRequest {
24
+ /**
25
+ * <p>The IDs of the instances.</p>
26
+ */
27
+ InstanceIds: string[] | undefined;
28
+ /**
29
+ * <p>Reserved.</p>
30
+ */
31
+ AdditionalInfo?: string;
32
+ /**
33
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
34
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
35
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
36
+ */
37
+ DryRun?: boolean;
38
+ }
5
39
  /**
6
40
  * @public
7
41
  * <p>Describes an instance state change.</p>
@@ -11,7 +11,7 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import { DeleteSpotDatafeedSubscriptionRequest } from "../models/models_2";
14
+ import { DeleteSpotDatafeedSubscriptionRequest } from "../models/models_3";
15
15
  export interface DeleteSpotDatafeedSubscriptionCommandInput
16
16
  extends DeleteSpotDatafeedSubscriptionRequest {}
17
17
  export interface DeleteSpotDatafeedSubscriptionCommandOutput
@@ -11,10 +11,8 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import {
15
- DescribeVolumeAttributeRequest,
16
- DescribeVolumeAttributeResult,
17
- } from "../models/models_4";
14
+ import { DescribeVolumeAttributeRequest } from "../models/models_4";
15
+ import { DescribeVolumeAttributeResult } from "../models/models_5";
18
16
  export interface DescribeVolumeAttributeCommandInput
19
17
  extends DescribeVolumeAttributeRequest {}
20
18
  export interface DescribeVolumeAttributeCommandOutput
@@ -11,8 +11,10 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import { DescribeVolumesRequest } from "../models/models_4";
15
- import { DescribeVolumesResult } from "../models/models_5";
14
+ import {
15
+ DescribeVolumesRequest,
16
+ DescribeVolumesResult,
17
+ } from "../models/models_5";
16
18
  export interface DescribeVolumesCommandInput extends DescribeVolumesRequest {}
17
19
  export interface DescribeVolumesCommandOutput
18
20
  extends DescribeVolumesResult,
@@ -11,7 +11,7 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import { ImportKeyPairRequest, ImportKeyPairResult } from "../models/models_5";
14
+ import { ImportKeyPairRequest, ImportKeyPairResult } from "../models/models_6";
15
15
  export interface ImportKeyPairCommandInput extends ImportKeyPairRequest {}
16
16
  export interface ImportKeyPairCommandOutput
17
17
  extends ImportKeyPairResult,
@@ -11,7 +11,7 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import { SendDiagnosticInterruptRequest } from "../models/models_6";
14
+ import { SendDiagnosticInterruptRequest } from "../models/models_7";
15
15
  export interface SendDiagnosticInterruptCommandInput
16
16
  extends SendDiagnosticInterruptRequest {}
17
17
  export interface SendDiagnosticInterruptCommandOutput
@@ -11,8 +11,10 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import { StartInstancesRequest } from "../models/models_6";
15
- import { StartInstancesResult } from "../models/models_7";
14
+ import {
15
+ StartInstancesRequest,
16
+ StartInstancesResult,
17
+ } from "../models/models_7";
16
18
  export interface StartInstancesCommandInput extends StartInstancesRequest {}
17
19
  export interface StartInstancesCommandOutput
18
20
  extends StartInstancesResult,
@@ -1100,9 +1100,16 @@ export interface LaunchTemplateCapacityReservationSpecificationRequest {
1100
1100
  CapacityReservationPreference?: CapacityReservationPreference | string;
1101
1101
  CapacityReservationTarget?: CapacityReservationTarget;
1102
1102
  }
1103
+ export declare const AmdSevSnpSpecification: {
1104
+ readonly disabled: "disabled";
1105
+ readonly enabled: "enabled";
1106
+ };
1107
+ export type AmdSevSnpSpecification =
1108
+ (typeof AmdSevSnpSpecification)[keyof typeof AmdSevSnpSpecification];
1103
1109
  export interface LaunchTemplateCpuOptionsRequest {
1104
1110
  CoreCount?: number;
1105
1111
  ThreadsPerCore?: number;
1112
+ AmdSevSnp?: AmdSevSnpSpecification | string;
1106
1113
  }
1107
1114
  export interface CreditSpecificationRequest {
1108
1115
  CpuCredits: string | undefined;
@@ -1356,6 +1363,7 @@ export interface LaunchTemplateCapacityReservationSpecificationResponse {
1356
1363
  export interface LaunchTemplateCpuOptions {
1357
1364
  CoreCount?: number;
1358
1365
  ThreadsPerCore?: number;
1366
+ AmdSevSnp?: AmdSevSnpSpecification | string;
1359
1367
  }
1360
1368
  export interface CreditSpecification {
1361
1369
  CpuCredits?: string;
@@ -2068,17 +2076,6 @@ export declare const ReplaceRootVolumeTaskState: {
2068
2076
  };
2069
2077
  export type ReplaceRootVolumeTaskState =
2070
2078
  (typeof ReplaceRootVolumeTaskState)[keyof typeof ReplaceRootVolumeTaskState];
2071
- export interface ReplaceRootVolumeTask {
2072
- ReplaceRootVolumeTaskId?: string;
2073
- InstanceId?: string;
2074
- TaskState?: ReplaceRootVolumeTaskState | string;
2075
- StartTime?: string;
2076
- CompleteTime?: string;
2077
- Tags?: Tag[];
2078
- ImageId?: string;
2079
- SnapshotId?: string;
2080
- DeleteReplacedRootVolume?: boolean;
2081
- }
2082
2079
  export declare const KeyPairFilterSensitiveLog: (obj: KeyPair) => any;
2083
2080
  export declare const RequestLaunchTemplateDataFilterSensitiveLog: (
2084
2081
  obj: RequestLaunchTemplateData
@@ -40,12 +40,23 @@ import {
40
40
  LocalGatewayRouteTableVirtualInterfaceGroupAssociation,
41
41
  LocalGatewayRouteTableVpcAssociation,
42
42
  ManagedPrefixList,
43
- ReplaceRootVolumeTask,
43
+ ReplaceRootVolumeTaskState,
44
44
  Subnet,
45
45
  Tenancy,
46
46
  VolumeType,
47
47
  Vpc,
48
48
  } from "./models_1";
49
+ export interface ReplaceRootVolumeTask {
50
+ ReplaceRootVolumeTaskId?: string;
51
+ InstanceId?: string;
52
+ TaskState?: ReplaceRootVolumeTaskState | string;
53
+ StartTime?: string;
54
+ CompleteTime?: string;
55
+ Tags?: Tag[];
56
+ ImageId?: string;
57
+ SnapshotId?: string;
58
+ DeleteReplacedRootVolume?: boolean;
59
+ }
49
60
  export interface CreateReplaceRootVolumeTaskResult {
50
61
  ReplaceRootVolumeTask?: ReplaceRootVolumeTask;
51
62
  }
@@ -1841,9 +1852,6 @@ export interface DeleteSnapshotRequest {
1841
1852
  SnapshotId: string | undefined;
1842
1853
  DryRun?: boolean;
1843
1854
  }
1844
- export interface DeleteSpotDatafeedSubscriptionRequest {
1845
- DryRun?: boolean;
1846
- }
1847
1855
  export declare const CreateVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog: (
1848
1856
  obj: CreateVerifiedAccessTrustProviderOidcOptions
1849
1857
  ) => any;
@@ -34,6 +34,7 @@ import {
34
34
  VerifiedAccessTrustProvider,
35
35
  } from "./models_0";
36
36
  import {
37
+ AmdSevSnpSpecification,
37
38
  AttributeValue,
38
39
  BlockDeviceMapping,
39
40
  CapacityReservationPreference,
@@ -83,6 +84,9 @@ import {
83
84
  VerifiedAccessEndpoint,
84
85
  VerifiedAccessGroup,
85
86
  } from "./models_2";
87
+ export interface DeleteSpotDatafeedSubscriptionRequest {
88
+ DryRun?: boolean;
89
+ }
86
90
  export interface DeleteSubnetRequest {
87
91
  SubnetId: string | undefined;
88
92
  DryRun?: boolean;
@@ -1756,6 +1760,7 @@ export interface CapacityReservationSpecificationResponse {
1756
1760
  export interface CpuOptions {
1757
1761
  CoreCount?: number;
1758
1762
  ThreadsPerCore?: number;
1763
+ AmdSevSnp?: AmdSevSnpSpecification | string;
1759
1764
  }
1760
1765
  export declare const InstanceBootModeValues: {
1761
1766
  readonly legacy_bios: "legacy-bios";
@@ -1834,14 +1839,6 @@ export interface InstanceMetadataOptionsResponse {
1834
1839
  HttpProtocolIpv6?: InstanceMetadataProtocolState | string;
1835
1840
  InstanceMetadataTags?: InstanceMetadataTagsState | string;
1836
1841
  }
1837
- export declare const MonitoringState: {
1838
- readonly disabled: "disabled";
1839
- readonly disabling: "disabling";
1840
- readonly enabled: "enabled";
1841
- readonly pending: "pending";
1842
- };
1843
- export type MonitoringState =
1844
- (typeof MonitoringState)[keyof typeof MonitoringState];
1845
1842
  export declare const DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog: (
1846
1843
  obj: DeleteVerifiedAccessTrustProviderResult
1847
1844
  ) => any;