@aws-sdk/client-ec2 3.370.0 → 3.373.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 (84) hide show
  1. package/dist-cjs/commands/RunScheduledInstancesCommand.js +2 -2
  2. package/dist-cjs/models/models_4.js +6 -2
  3. package/dist-cjs/models/models_5.js +1 -6
  4. package/dist-cjs/models/models_6.js +7 -12
  5. package/dist-cjs/models/models_7.js +11 -1
  6. package/dist-cjs/protocols/Aws_ec2.js +23 -0
  7. package/dist-es/commands/RunScheduledInstancesCommand.js +1 -1
  8. package/dist-es/models/models_4.js +4 -0
  9. package/dist-es/models/models_5.js +0 -4
  10. package/dist-es/models/models_6.js +4 -8
  11. package/dist-es/models/models_7.js +8 -0
  12. package/dist-es/protocols/Aws_ec2.js +23 -0
  13. package/dist-types/commands/AssignPrivateNatGatewayAddressCommand.d.ts +2 -1
  14. package/dist-types/commands/AssociateDhcpOptionsCommand.d.ts +1 -1
  15. package/dist-types/commands/AssociateNatGatewayAddressCommand.d.ts +3 -2
  16. package/dist-types/commands/AssociateRouteTableCommand.d.ts +1 -1
  17. package/dist-types/commands/AssociateVpcCidrBlockCommand.d.ts +2 -2
  18. package/dist-types/commands/AttachClassicLinkVpcCommand.d.ts +2 -2
  19. package/dist-types/commands/AttachInternetGatewayCommand.d.ts +3 -2
  20. package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
  21. package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +0 -3
  22. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +2 -2
  23. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +3 -11
  24. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
  25. package/dist-types/commands/CreateImageCommand.d.ts +0 -10
  26. package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +2 -2
  27. package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +3 -3
  28. package/dist-types/commands/CreateInternetGatewayCommand.d.ts +2 -1
  29. package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
  30. package/dist-types/commands/CreateNetworkAclCommand.d.ts +2 -2
  31. package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +2 -1
  32. package/dist-types/commands/CreateRouteCommand.d.ts +1 -1
  33. package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
  34. package/dist-types/commands/CreateSecurityGroupCommand.d.ts +6 -5
  35. package/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
  36. package/dist-types/commands/CreateVpcCommand.d.ts +4 -4
  37. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +4 -4
  38. package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +2 -6
  39. package/dist-types/commands/DescribeClassicLinkInstancesCommand.d.ts +4 -4
  40. package/dist-types/commands/DescribeDhcpOptionsCommand.d.ts +1 -1
  41. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +6 -0
  42. package/dist-types/commands/DescribeNetworkAclsCommand.d.ts +2 -2
  43. package/dist-types/commands/DescribeRouteTablesCommand.d.ts +1 -1
  44. package/dist-types/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
  45. package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +0 -9
  46. package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +1 -1
  47. package/dist-types/commands/DescribeSubnetsCommand.d.ts +2 -2
  48. package/dist-types/commands/DescribeVpcClassicLinkCommand.d.ts +3 -3
  49. package/dist-types/commands/DescribeVpcClassicLinkDnsSupportCommand.d.ts +2 -2
  50. package/dist-types/commands/DetachClassicLinkVpcCommand.d.ts +4 -2
  51. package/dist-types/commands/DisableVpcClassicLinkCommand.d.ts +4 -3
  52. package/dist-types/commands/DisableVpcClassicLinkDnsSupportCommand.d.ts +5 -6
  53. package/dist-types/commands/DisassociateNatGatewayAddressCommand.d.ts +6 -5
  54. package/dist-types/commands/DisassociateRouteTableCommand.d.ts +1 -1
  55. package/dist-types/commands/EnableVpcClassicLinkCommand.d.ts +2 -3
  56. package/dist-types/commands/EnableVpcClassicLinkDnsSupportCommand.d.ts +2 -3
  57. package/dist-types/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +5 -0
  58. package/dist-types/commands/ImportInstanceCommand.d.ts +11 -4
  59. package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -16
  60. package/dist-types/commands/ModifyVpcTenancyCommand.d.ts +1 -1
  61. package/dist-types/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
  62. package/dist-types/commands/ReplaceNetworkAclAssociationCommand.d.ts +1 -2
  63. package/dist-types/commands/ReplaceNetworkAclEntryCommand.d.ts +2 -2
  64. package/dist-types/commands/ReplaceRouteCommand.d.ts +1 -1
  65. package/dist-types/commands/ReplaceRouteTableAssociationCommand.d.ts +1 -1
  66. package/dist-types/commands/RevokeSecurityGroupEgressCommand.d.ts +2 -3
  67. package/dist-types/commands/RevokeSecurityGroupIngressCommand.d.ts +3 -5
  68. package/dist-types/commands/RunScheduledInstancesCommand.d.ts +1 -2
  69. package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +3 -3
  70. package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +1 -1
  71. package/dist-types/models/models_0.d.ts +24 -32
  72. package/dist-types/models/models_1.d.ts +85 -30
  73. package/dist-types/models/models_2.d.ts +8 -11
  74. package/dist-types/models/models_3.d.ts +12 -15
  75. package/dist-types/models/models_4.d.ts +63 -66
  76. package/dist-types/models/models_5.d.ts +60 -60
  77. package/dist-types/models/models_6.d.ts +71 -140
  78. package/dist-types/models/models_7.d.ts +112 -7
  79. package/dist-types/ts3.4/commands/RunScheduledInstancesCommand.d.ts +4 -2
  80. package/dist-types/ts3.4/models/models_4.d.ts +11 -12
  81. package/dist-types/ts3.4/models/models_5.d.ts +13 -16
  82. package/dist-types/ts3.4/models/models_6.d.ts +14 -31
  83. package/dist-types/ts3.4/models/models_7.d.ts +37 -1
  84. package/package.json +1 -1
@@ -3,7 +3,50 @@ import { AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityRes
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, FpgaImageAttribute, FpgaImageAttributeName, ImdsSupportValues, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceTagNotificationAttribute, IpamPoolCidr, LaunchPermission, PermissionGroup, SnapshotDetail, SnapshotTaskDetail, TpmSupportValues } from "./models_3";
5
5
  import { CreateVolumePermission, ExcessCapacityTerminationPolicy, HttpTokensState, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceNetworkInterfaceSpecification, InstanceStatusEvent, LaunchTemplateConfig, Monitoring, PublicIpv4PoolRange, ReservedInstancesConfiguration, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_4";
6
- import { ClientData, ImageDiskContainer, ImportImageLicenseConfigurationRequest, InstanceFamilyCreditSpecification, IpamResourceCidr, Purchase, UnlimitedSupportedInstanceFamily, UserBucket, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_5";
6
+ import { ClientData, InstanceFamilyCreditSpecification, IpamResourceCidr, Purchase, UnlimitedSupportedInstanceFamily, UserBucket, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_5";
7
+ /**
8
+ * @public
9
+ * <p>Describes the disk container object for an import image task.</p>
10
+ */
11
+ export interface ImageDiskContainer {
12
+ /**
13
+ * <p>The description of the disk image.</p>
14
+ */
15
+ Description?: string;
16
+ /**
17
+ * <p>The block device mapping for the disk.</p>
18
+ */
19
+ DeviceName?: string;
20
+ /**
21
+ * <p>The format of the disk image being imported.</p>
22
+ * <p>Valid values: <code>OVA</code> | <code>VHD</code> | <code>VHDX</code> | <code>VMDK</code> | <code>RAW</code>
23
+ * </p>
24
+ */
25
+ Format?: string;
26
+ /**
27
+ * <p>The ID of the EBS snapshot to be used for importing the snapshot.</p>
28
+ */
29
+ SnapshotId?: string;
30
+ /**
31
+ * <p>The URL to the Amazon S3-based disk image being imported. The URL can either be a https URL (https://..) or an
32
+ * Amazon S3 URL (s3://..)</p>
33
+ */
34
+ Url?: string;
35
+ /**
36
+ * <p>The S3 bucket for the disk image.</p>
37
+ */
38
+ UserBucket?: UserBucket;
39
+ }
40
+ /**
41
+ * @public
42
+ * <p>The request information of license configurations.</p>
43
+ */
44
+ export interface ImportImageLicenseConfigurationRequest {
45
+ /**
46
+ * <p>The ARN of a license configuration.</p>
47
+ */
48
+ LicenseConfigurationArn?: string;
49
+ }
7
50
  /**
8
51
  * @public
9
52
  */
@@ -59,7 +102,7 @@ export interface ImportImageRequest {
59
102
  * <p>Key ID</p>
60
103
  * </li>
61
104
  * <li>
62
- * <p>Key alias. The alias ARN contains the <code>arn:aws:kms</code> namespace, followed by the Region of the key, the Amazon Web Services account ID of the key owner, the <code>alias</code> namespace, and then the key alias. For example, arn:aws:kms:<i>us-east-1</i>:<i>012345678910</i>:alias/<i>ExampleAlias</i>.</p>
105
+ * <p>Key alias</p>
63
106
  * </li>
64
107
  * <li>
65
108
  * <p>ARN using key ID. The ID ARN contains the <code>arn:aws:kms</code> namespace, followed by the Region of the key, the Amazon Web Services account ID of the key owner, the <code>key</code> namespace, and then the key ID. For example, arn:aws:kms:<i>us-east-1</i>:<i>012345678910</i>:key/<i>abcd1234-a123-456a-a12b-a123b4cd56ef</i>.</p>
@@ -87,7 +130,9 @@ export interface ImportImageRequest {
87
130
  */
88
131
  LicenseType?: string;
89
132
  /**
90
- * <p>The operating system of the virtual machine.</p>
133
+ * <p>The operating system of the virtual machine. If you import a VM that is compatible with
134
+ * Unified Extensible Firmware Interface (UEFI) using an EBS snapshot, you must specify a value for
135
+ * the platform.</p>
91
136
  * <p>Valid values: <code>Windows</code> | <code>Linux</code>
92
137
  * </p>
93
138
  */
@@ -450,7 +495,7 @@ export interface ImportSnapshotRequest {
450
495
  * <p>Key ID</p>
451
496
  * </li>
452
497
  * <li>
453
- * <p>Key alias. The alias ARN contains the <code>arn:aws:kms</code> namespace, followed by the Region of the key, the Amazon Web Services account ID of the key owner, the <code>alias</code> namespace, and then the key alias. For example, arn:aws:kms:<i>us-east-1</i>:<i>012345678910</i>:alias/<i>ExampleAlias</i>.</p>
498
+ * <p>Key alias</p>
454
499
  * </li>
455
500
  * <li>
456
501
  * <p>ARN using key ID. The ID ARN contains the <code>arn:aws:kms</code> namespace, followed by the Region of the key, the Amazon Web Services account ID of the key owner, the <code>key</code> namespace, and then the key ID. For example, arn:aws:kms:<i>us-east-1</i>:<i>012345678910</i>:key/<i>abcd1234-a123-456a-a12b-a123b4cd56ef</i>.</p>
@@ -1897,8 +1942,8 @@ export interface ModifyInstanceMetadataOptionsRequest {
1897
1942
  */
1898
1943
  DryRun?: boolean;
1899
1944
  /**
1900
- * <p>Enables or disables the IPv6 endpoint for the instance metadata service. This setting
1901
- * applies only if you have enabled the HTTP metadata endpoint.</p>
1945
+ * <p>Enables or disables the IPv6 endpoint for the instance metadata service.
1946
+ * Applies only if you enabled the HTTP metadata endpoint.</p>
1902
1947
  */
1903
1948
  HttpProtocolIpv6?: InstanceMetadataProtocolState | string;
1904
1949
  /**
@@ -3954,24 +3999,20 @@ export interface ModifyVpcEndpointServicePermissionsResult {
3954
3999
  }
3955
4000
  /**
3956
4001
  * @public
3957
- * <note>
3958
- * <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
3959
- * </note>
3960
- * <p>The VPC peering connection options.</p>
4002
+ * <p>The VPC peering connection options.</p>
3961
4003
  */
3962
4004
  export interface PeeringConnectionOptionsRequest {
3963
4005
  /**
3964
- * <p>If true, enables a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC.</p>
4006
+ * <p>If true, enables a local VPC to resolve public DNS hostnames to private IP addresses
4007
+ * when queried from instances in the peer VPC.</p>
3965
4008
  */
3966
4009
  AllowDnsResolutionFromRemoteVpc?: boolean;
3967
4010
  /**
3968
- * <p>If true, enables outbound communication from an EC2-Classic instance that's linked to
3969
- * a local VPC using ClassicLink to instances in a peer VPC.</p>
4011
+ * <p>Deprecated.</p>
3970
4012
  */
3971
4013
  AllowEgressFromLocalClassicLinkToRemoteVpc?: boolean;
3972
4014
  /**
3973
- * <p>If true, enables outbound communication from instances in a local VPC to an
3974
- * EC2-Classic instance that's linked to a peer VPC using ClassicLink.</p>
4015
+ * <p>Deprecated.</p>
3975
4016
  */
3976
4017
  AllowEgressFromLocalVpcToRemoteClassicLink?: boolean;
3977
4018
  }
@@ -4000,10 +4041,7 @@ export interface ModifyVpcPeeringConnectionOptionsRequest {
4000
4041
  }
4001
4042
  /**
4002
4043
  * @public
4003
- * <note>
4004
- * <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
4005
- * </note>
4006
- * <p>Describes the VPC peering connection options.</p>
4044
+ * <p>Describes the VPC peering connection options.</p>
4007
4045
  */
4008
4046
  export interface PeeringConnectionOptions {
4009
4047
  /**
@@ -4012,13 +4050,11 @@ export interface PeeringConnectionOptions {
4012
4050
  */
4013
4051
  AllowDnsResolutionFromRemoteVpc?: boolean;
4014
4052
  /**
4015
- * <p>If true, enables outbound communication from an EC2-Classic instance that's linked to
4016
- * a local VPC using ClassicLink to instances in a peer VPC.</p>
4053
+ * <p>Deprecated.</p>
4017
4054
  */
4018
4055
  AllowEgressFromLocalClassicLinkToRemoteVpc?: boolean;
4019
4056
  /**
4020
- * <p>If true, enables outbound communication from instances in a local VPC to an
4021
- * EC2-Classic instance that's linked to a peer VPC using ClassicLink.</p>
4057
+ * <p>Deprecated.</p>
4022
4058
  */
4023
4059
  AllowEgressFromLocalVpcToRemoteClassicLink?: boolean;
4024
4060
  }
@@ -6451,13 +6487,11 @@ export interface RevokeSecurityGroupIngressRequest {
6451
6487
  */
6452
6488
  FromPort?: number;
6453
6489
  /**
6454
- * <p>The ID of the security group. You must specify either the security group ID or the
6455
- * security group name in the request. For security groups in a nondefault VPC, you must
6456
- * specify the security group ID.</p>
6490
+ * <p>The ID of the security group.</p>
6457
6491
  */
6458
6492
  GroupId?: string;
6459
6493
  /**
6460
- * <p>[EC2-Classic, default VPC] The name of the security group. You must specify either the
6494
+ * <p>[Default VPC] The name of the security group. You must specify either the
6461
6495
  * security group ID or the security group name in the request. For security groups in a
6462
6496
  * nondefault VPC, you must specify the security group ID.</p>
6463
6497
  */
@@ -6473,11 +6507,14 @@ export interface RevokeSecurityGroupIngressRequest {
6473
6507
  */
6474
6508
  IpProtocol?: string;
6475
6509
  /**
6476
- * <p>[EC2-Classic, default VPC] The name of the source security group. You can't specify this parameter in combination with the following parameters: the CIDR IP address range, the start of the port range, the IP protocol, and the end of the port range. For EC2-VPC, the source security group must be in the same VPC. To revoke a specific rule for an IP protocol and port range, use a set of IP permissions instead.</p>
6510
+ * <p>[Default VPC] The name of the source security group. You can't specify this parameter
6511
+ * in combination with the following parameters: the CIDR IP address range, the start of the port range,
6512
+ * the IP protocol, and the end of the port range. The source security group must be in the same VPC.
6513
+ * To revoke a specific rule for an IP protocol and port range, use a set of IP permissions instead.</p>
6477
6514
  */
6478
6515
  SourceSecurityGroupName?: string;
6479
6516
  /**
6480
- * <p>[EC2-Classic] The Amazon Web Services account ID of the source security group, if the source security group is in a different account. You can't specify this parameter in combination with the following parameters: the CIDR IP address range, the IP protocol, the start of the port range, and the end of the port range. To revoke a specific rule for an IP protocol and port range, use a set of IP permissions instead.</p>
6517
+ * <p>Not supported.</p>
6481
6518
  */
6482
6519
  SourceSecurityGroupOwnerId?: string;
6483
6520
  /**
@@ -6795,12 +6832,6 @@ export interface RunInstancesRequest {
6795
6832
  /**
6796
6833
  * <p>The instance type. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance types</a> in the
6797
6834
  * <i>Amazon EC2 User Guide</i>.</p>
6798
- * <p>When you change your EBS-backed instance type, instance restart or replacement behavior depends on the
6799
- * instance type compatibility between the old and new types. An instance that's backed by an instance store volume
6800
- * is always replaced. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html">Change the instance type</a> in the
6801
- * <i>Amazon EC2 User Guide</i>.</p>
6802
- * <p>Default: <code>m1.small</code>
6803
- * </p>
6804
6835
  */
6805
6836
  InstanceType?: _InstanceType | string;
6806
6837
  /**
@@ -7085,8 +7116,9 @@ export interface RunInstancesRequest {
7085
7116
  */
7086
7117
  EnclaveOptions?: EnclaveOptionsRequest;
7087
7118
  /**
7088
- * <p>The options for the instance hostname. The default values are inherited from the
7089
- * subnet.</p>
7119
+ * <p>The options for the instance hostname.
7120
+ * The default values are inherited from the subnet.
7121
+ * Applies only if creating a network interface, not attaching an existing one.</p>
7090
7122
  */
7091
7123
  PrivateDnsNameOptions?: PrivateDnsNameOptionsRequest;
7092
7124
  /**
@@ -7291,102 +7323,9 @@ export interface ScheduledInstancesPlacement {
7291
7323
  GroupName?: string;
7292
7324
  }
7293
7325
  /**
7294
- * @public
7295
- * <p>Describes the launch specification for a Scheduled Instance.</p>
7296
- * <p>If you are launching the Scheduled Instance in EC2-VPC, you must specify the ID of the subnet.
7297
- * You can specify the subnet using either <code>SubnetId</code> or <code>NetworkInterface</code>.</p>
7298
- */
7299
- export interface ScheduledInstancesLaunchSpecification {
7300
- /**
7301
- * <p>The block device mapping entries.</p>
7302
- */
7303
- BlockDeviceMappings?: ScheduledInstancesBlockDeviceMapping[];
7304
- /**
7305
- * <p>Indicates whether the instances are optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS-optimized instance.</p>
7306
- * <p>Default: <code>false</code>
7307
- * </p>
7308
- */
7309
- EbsOptimized?: boolean;
7310
- /**
7311
- * <p>The IAM instance profile.</p>
7312
- */
7313
- IamInstanceProfile?: ScheduledInstancesIamInstanceProfile;
7314
- /**
7315
- * <p>The ID of the Amazon Machine Image (AMI).</p>
7316
- */
7317
- ImageId: string | undefined;
7318
- /**
7319
- * <p>The instance type.</p>
7320
- */
7321
- InstanceType?: string;
7322
- /**
7323
- * <p>The ID of the kernel.</p>
7324
- */
7325
- KernelId?: string;
7326
- /**
7327
- * <p>The name of the key pair.</p>
7328
- */
7329
- KeyName?: string;
7330
- /**
7331
- * <p>Enable or disable monitoring for the instances.</p>
7332
- */
7333
- Monitoring?: ScheduledInstancesMonitoring;
7334
- /**
7335
- * <p>The network interfaces.</p>
7336
- */
7337
- NetworkInterfaces?: ScheduledInstancesNetworkInterface[];
7338
- /**
7339
- * <p>The placement information.</p>
7340
- */
7341
- Placement?: ScheduledInstancesPlacement;
7342
- /**
7343
- * <p>The ID of the RAM disk.</p>
7344
- */
7345
- RamdiskId?: string;
7346
- /**
7347
- * <p>The IDs of the security groups.</p>
7348
- */
7349
- SecurityGroupIds?: string[];
7350
- /**
7351
- * <p>The ID of the subnet in which to launch the instances.</p>
7352
- */
7353
- SubnetId?: string;
7354
- /**
7355
- * <p>The base64-encoded MIME user data.</p>
7356
- */
7357
- UserData?: string;
7358
- }
7359
- /**
7360
- * @public
7361
- * <p>Contains the parameters for RunScheduledInstances.</p>
7326
+ * @internal
7362
7327
  */
7363
- export interface RunScheduledInstancesRequest {
7364
- /**
7365
- * <p>Unique, case-sensitive identifier that ensures the idempotency of the request.
7366
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring Idempotency</a>.</p>
7367
- */
7368
- ClientToken?: string;
7369
- /**
7370
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7371
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7372
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7373
- */
7374
- DryRun?: boolean;
7375
- /**
7376
- * <p>The number of instances.</p>
7377
- * <p>Default: 1</p>
7378
- */
7379
- InstanceCount?: number;
7380
- /**
7381
- * <p>The launch specification. You must match the instance type, Availability Zone,
7382
- * network, and platform of the schedule that you purchased.</p>
7383
- */
7384
- LaunchSpecification: ScheduledInstancesLaunchSpecification | undefined;
7385
- /**
7386
- * <p>The Scheduled Instance ID.</p>
7387
- */
7388
- ScheduledInstanceId: string | undefined;
7389
- }
7328
+ export declare const ImageDiskContainerFilterSensitiveLog: (obj: ImageDiskContainer) => any;
7390
7329
  /**
7391
7330
  * @internal
7392
7331
  */
@@ -7495,11 +7434,3 @@ export declare const RequestSpotInstancesResultFilterSensitiveLog: (obj: Request
7495
7434
  * @internal
7496
7435
  */
7497
7436
  export declare const RunInstancesRequestFilterSensitiveLog: (obj: RunInstancesRequest) => any;
7498
- /**
7499
- * @internal
7500
- */
7501
- export declare const ScheduledInstancesLaunchSpecificationFilterSensitiveLog: (obj: ScheduledInstancesLaunchSpecification) => any;
7502
- /**
7503
- * @internal
7504
- */
7505
- export declare const RunScheduledInstancesRequestFilterSensitiveLog: (obj: RunScheduledInstancesRequest) => any;
@@ -3,7 +3,104 @@ import { LocalGatewayRoute } from "./models_1";
3
3
  import { TransitGatewayRoute } from "./models_2";
4
4
  import { ClientVpnConnectionStatus, Filter } from "./models_3";
5
5
  import { InstanceState, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis } from "./models_4";
6
- import { InstanceMonitoring } from "./models_6";
6
+ import { InstanceMonitoring, ScheduledInstancesBlockDeviceMapping, ScheduledInstancesIamInstanceProfile, ScheduledInstancesMonitoring, ScheduledInstancesNetworkInterface, ScheduledInstancesPlacement } from "./models_6";
7
+ /**
8
+ * @public
9
+ * <p>Describes the launch specification for a Scheduled Instance.</p>
10
+ * <p>If you are launching the Scheduled Instance in EC2-VPC, you must specify the ID of the subnet.
11
+ * You can specify the subnet using either <code>SubnetId</code> or <code>NetworkInterface</code>.</p>
12
+ */
13
+ export interface ScheduledInstancesLaunchSpecification {
14
+ /**
15
+ * <p>The block device mapping entries.</p>
16
+ */
17
+ BlockDeviceMappings?: ScheduledInstancesBlockDeviceMapping[];
18
+ /**
19
+ * <p>Indicates whether the instances are optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS-optimized instance.</p>
20
+ * <p>Default: <code>false</code>
21
+ * </p>
22
+ */
23
+ EbsOptimized?: boolean;
24
+ /**
25
+ * <p>The IAM instance profile.</p>
26
+ */
27
+ IamInstanceProfile?: ScheduledInstancesIamInstanceProfile;
28
+ /**
29
+ * <p>The ID of the Amazon Machine Image (AMI).</p>
30
+ */
31
+ ImageId: string | undefined;
32
+ /**
33
+ * <p>The instance type.</p>
34
+ */
35
+ InstanceType?: string;
36
+ /**
37
+ * <p>The ID of the kernel.</p>
38
+ */
39
+ KernelId?: string;
40
+ /**
41
+ * <p>The name of the key pair.</p>
42
+ */
43
+ KeyName?: string;
44
+ /**
45
+ * <p>Enable or disable monitoring for the instances.</p>
46
+ */
47
+ Monitoring?: ScheduledInstancesMonitoring;
48
+ /**
49
+ * <p>The network interfaces.</p>
50
+ */
51
+ NetworkInterfaces?: ScheduledInstancesNetworkInterface[];
52
+ /**
53
+ * <p>The placement information.</p>
54
+ */
55
+ Placement?: ScheduledInstancesPlacement;
56
+ /**
57
+ * <p>The ID of the RAM disk.</p>
58
+ */
59
+ RamdiskId?: string;
60
+ /**
61
+ * <p>The IDs of the security groups.</p>
62
+ */
63
+ SecurityGroupIds?: string[];
64
+ /**
65
+ * <p>The ID of the subnet in which to launch the instances.</p>
66
+ */
67
+ SubnetId?: string;
68
+ /**
69
+ * <p>The base64-encoded MIME user data.</p>
70
+ */
71
+ UserData?: string;
72
+ }
73
+ /**
74
+ * @public
75
+ * <p>Contains the parameters for RunScheduledInstances.</p>
76
+ */
77
+ export interface RunScheduledInstancesRequest {
78
+ /**
79
+ * <p>Unique, case-sensitive identifier that ensures the idempotency of the request.
80
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring Idempotency</a>.</p>
81
+ */
82
+ ClientToken?: string;
83
+ /**
84
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
85
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
86
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
87
+ */
88
+ DryRun?: boolean;
89
+ /**
90
+ * <p>The number of instances.</p>
91
+ * <p>Default: 1</p>
92
+ */
93
+ InstanceCount?: number;
94
+ /**
95
+ * <p>The launch specification. You must match the instance type, Availability Zone,
96
+ * network, and platform of the schedule that you purchased.</p>
97
+ */
98
+ LaunchSpecification: ScheduledInstancesLaunchSpecification | undefined;
99
+ /**
100
+ * <p>The Scheduled Instance ID.</p>
101
+ */
102
+ ScheduledInstanceId: string | undefined;
103
+ }
7
104
  /**
8
105
  * @public
9
106
  * <p>Contains the output of RunScheduledInstances.</p>
@@ -651,7 +748,7 @@ export interface UnassignPrivateIpAddressesRequest {
651
748
  */
652
749
  export interface UnassignPrivateNatGatewayAddressRequest {
653
750
  /**
654
- * <p>The NAT gateway ID.</p>
751
+ * <p>The ID of the NAT gateway.</p>
655
752
  */
656
753
  NatGatewayId: string | undefined;
657
754
  /**
@@ -674,7 +771,7 @@ export interface UnassignPrivateNatGatewayAddressRequest {
674
771
  */
675
772
  export interface UnassignPrivateNatGatewayAddressResult {
676
773
  /**
677
- * <p>The NAT gateway ID.</p>
774
+ * <p>The ID of the NAT gateway.</p>
678
775
  */
679
776
  NatGatewayId?: string;
680
777
  /**
@@ -739,7 +836,7 @@ export interface UpdateSecurityGroupRuleDescriptionsEgressRequest {
739
836
  GroupId?: string;
740
837
  /**
741
838
  * <p>[Default VPC] The name of the security group. You must specify either the security group
742
- * ID or the security group name in the request.</p>
839
+ * ID or the security group name.</p>
743
840
  */
744
841
  GroupName?: string;
745
842
  /**
@@ -779,8 +876,8 @@ export interface UpdateSecurityGroupRuleDescriptionsIngressRequest {
779
876
  */
780
877
  GroupId?: string;
781
878
  /**
782
- * <p>[EC2-Classic, default VPC] The name of the security group. You must specify either the
783
- * security group ID or the security group name in the request. For security groups in a
879
+ * <p>[Default VPC] The name of the security group. You must specify either the
880
+ * security group ID or the security group name. For security groups in a
784
881
  * nondefault VPC, you must specify the security group ID.</p>
785
882
  */
786
883
  GroupName?: string;
@@ -790,7 +887,7 @@ export interface UpdateSecurityGroupRuleDescriptionsIngressRequest {
790
887
  */
791
888
  IpPermissions?: IpPermission[];
792
889
  /**
793
- * <p>[VPC only] The description for the ingress security group rules. You must specify either
890
+ * <p>The description for the ingress security group rules. You must specify either
794
891
  * a description or IP permissions.</p>
795
892
  */
796
893
  SecurityGroupRuleDescriptions?: SecurityGroupRuleDescription[];
@@ -828,3 +925,11 @@ export interface WithdrawByoipCidrResult {
828
925
  */
829
926
  ByoipCidr?: ByoipCidr;
830
927
  }
928
+ /**
929
+ * @internal
930
+ */
931
+ export declare const ScheduledInstancesLaunchSpecificationFilterSensitiveLog: (obj: ScheduledInstancesLaunchSpecification) => any;
932
+ /**
933
+ * @internal
934
+ */
935
+ export declare const RunScheduledInstancesRequestFilterSensitiveLog: (obj: RunScheduledInstancesRequest) => any;
@@ -11,8 +11,10 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import { RunScheduledInstancesRequest } from "../models/models_6";
15
- import { RunScheduledInstancesResult } from "../models/models_7";
14
+ import {
15
+ RunScheduledInstancesRequest,
16
+ RunScheduledInstancesResult,
17
+ } from "../models/models_7";
16
18
  export { __MetadataBearer, $Command };
17
19
  export interface RunScheduledInstancesCommandInput
18
20
  extends RunScheduledInstancesRequest {}
@@ -541,6 +541,15 @@ export declare const NitroEnclavesSupport: {
541
541
  };
542
542
  export type NitroEnclavesSupport =
543
543
  (typeof NitroEnclavesSupport)[keyof typeof NitroEnclavesSupport];
544
+ export interface NitroTpmInfo {
545
+ SupportedVersions?: string[];
546
+ }
547
+ export declare const NitroTpmSupport: {
548
+ readonly SUPPORTED: "supported";
549
+ readonly UNSUPPORTED: "unsupported";
550
+ };
551
+ export type NitroTpmSupport =
552
+ (typeof NitroTpmSupport)[keyof typeof NitroTpmSupport];
544
553
  export declare const PlacementGroupStrategy: {
545
554
  readonly cluster: "cluster";
546
555
  readonly partition: "partition";
@@ -620,6 +629,8 @@ export interface InstanceTypeInfo {
620
629
  AutoRecoverySupported?: boolean;
621
630
  SupportedBootModes?: (BootModeType | string)[];
622
631
  NitroEnclavesSupport?: NitroEnclavesSupport | string;
632
+ NitroTpmSupport?: NitroTpmSupport | string;
633
+ NitroTpmInfo?: NitroTpmInfo;
623
634
  }
624
635
  export interface DescribeInstanceTypesResult {
625
636
  InstanceTypes?: InstanceTypeInfo[];
@@ -2070,18 +2081,6 @@ export interface VerifiedAccessLogCloudWatchLogsDestination {
2070
2081
  DeliveryStatus?: VerifiedAccessLogDeliveryStatus;
2071
2082
  LogGroup?: string;
2072
2083
  }
2073
- export interface VerifiedAccessLogKinesisDataFirehoseDestination {
2074
- Enabled?: boolean;
2075
- DeliveryStatus?: VerifiedAccessLogDeliveryStatus;
2076
- DeliveryStream?: string;
2077
- }
2078
- export interface VerifiedAccessLogS3Destination {
2079
- Enabled?: boolean;
2080
- DeliveryStatus?: VerifiedAccessLogDeliveryStatus;
2081
- BucketName?: string;
2082
- Prefix?: string;
2083
- BucketOwner?: string;
2084
- }
2085
2084
  export declare const DescribeLaunchTemplateVersionsResultFilterSensitiveLog: (
2086
2085
  obj: DescribeLaunchTemplateVersionsResult
2087
2086
  ) => any;
@@ -75,9 +75,20 @@ import {
75
75
  AnalysisStatus,
76
76
  ArchitectureType,
77
77
  VerifiedAccessLogCloudWatchLogsDestination,
78
- VerifiedAccessLogKinesisDataFirehoseDestination,
79
- VerifiedAccessLogS3Destination,
78
+ VerifiedAccessLogDeliveryStatus,
80
79
  } from "./models_4";
80
+ export interface VerifiedAccessLogKinesisDataFirehoseDestination {
81
+ Enabled?: boolean;
82
+ DeliveryStatus?: VerifiedAccessLogDeliveryStatus;
83
+ DeliveryStream?: string;
84
+ }
85
+ export interface VerifiedAccessLogS3Destination {
86
+ Enabled?: boolean;
87
+ DeliveryStatus?: VerifiedAccessLogDeliveryStatus;
88
+ BucketName?: string;
89
+ Prefix?: string;
90
+ BucketOwner?: string;
91
+ }
81
92
  export interface VerifiedAccessLogs {
82
93
  S3?: VerifiedAccessLogS3Destination;
83
94
  CloudWatchLogs?: VerifiedAccessLogCloudWatchLogsDestination;
@@ -1651,17 +1662,6 @@ export interface UserBucket {
1651
1662
  S3Bucket?: string;
1652
1663
  S3Key?: string;
1653
1664
  }
1654
- export interface ImageDiskContainer {
1655
- Description?: string;
1656
- DeviceName?: string;
1657
- Format?: string;
1658
- SnapshotId?: string;
1659
- Url?: string;
1660
- UserBucket?: UserBucket;
1661
- }
1662
- export interface ImportImageLicenseConfigurationRequest {
1663
- LicenseConfigurationArn?: string;
1664
- }
1665
1665
  export declare const DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog: (
1666
1666
  obj: DescribeVerifiedAccessTrustProvidersResult
1667
1667
  ) => any;
@@ -1677,6 +1677,3 @@ export declare const GetLaunchTemplateDataResultFilterSensitiveLog: (
1677
1677
  export declare const GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog: (
1678
1678
  obj: GetVpnConnectionDeviceSampleConfigurationResult
1679
1679
  ) => any;
1680
- export declare const ImageDiskContainerFilterSensitiveLog: (
1681
- obj: ImageDiskContainer
1682
- ) => any;
@@ -143,8 +143,6 @@ import {
143
143
  } from "./models_4";
144
144
  import {
145
145
  ClientData,
146
- ImageDiskContainer,
147
- ImportImageLicenseConfigurationRequest,
148
146
  InstanceFamilyCreditSpecification,
149
147
  IpamResourceCidr,
150
148
  Purchase,
@@ -153,6 +151,17 @@ import {
153
151
  VerifiedAccessInstanceLoggingConfiguration,
154
152
  VolumeModification,
155
153
  } from "./models_5";
154
+ export interface ImageDiskContainer {
155
+ Description?: string;
156
+ DeviceName?: string;
157
+ Format?: string;
158
+ SnapshotId?: string;
159
+ Url?: string;
160
+ UserBucket?: UserBucket;
161
+ }
162
+ export interface ImportImageLicenseConfigurationRequest {
163
+ LicenseConfigurationArn?: string;
164
+ }
156
165
  export interface ImportImageRequest {
157
166
  Architecture?: string;
158
167
  ClientData?: ClientData;
@@ -1866,29 +1875,9 @@ export interface ScheduledInstancesPlacement {
1866
1875
  AvailabilityZone?: string;
1867
1876
  GroupName?: string;
1868
1877
  }
1869
- export interface ScheduledInstancesLaunchSpecification {
1870
- BlockDeviceMappings?: ScheduledInstancesBlockDeviceMapping[];
1871
- EbsOptimized?: boolean;
1872
- IamInstanceProfile?: ScheduledInstancesIamInstanceProfile;
1873
- ImageId: string | undefined;
1874
- InstanceType?: string;
1875
- KernelId?: string;
1876
- KeyName?: string;
1877
- Monitoring?: ScheduledInstancesMonitoring;
1878
- NetworkInterfaces?: ScheduledInstancesNetworkInterface[];
1879
- Placement?: ScheduledInstancesPlacement;
1880
- RamdiskId?: string;
1881
- SecurityGroupIds?: string[];
1882
- SubnetId?: string;
1883
- UserData?: string;
1884
- }
1885
- export interface RunScheduledInstancesRequest {
1886
- ClientToken?: string;
1887
- DryRun?: boolean;
1888
- InstanceCount?: number;
1889
- LaunchSpecification: ScheduledInstancesLaunchSpecification | undefined;
1890
- ScheduledInstanceId: string | undefined;
1891
- }
1878
+ export declare const ImageDiskContainerFilterSensitiveLog: (
1879
+ obj: ImageDiskContainer
1880
+ ) => any;
1892
1881
  export declare const ImportImageRequestFilterSensitiveLog: (
1893
1882
  obj: ImportImageRequest
1894
1883
  ) => any;
@@ -1966,9 +1955,3 @@ export declare const RequestSpotInstancesResultFilterSensitiveLog: (
1966
1955
  export declare const RunInstancesRequestFilterSensitiveLog: (
1967
1956
  obj: RunInstancesRequest
1968
1957
  ) => any;
1969
- export declare const ScheduledInstancesLaunchSpecificationFilterSensitiveLog: (
1970
- obj: ScheduledInstancesLaunchSpecification
1971
- ) => any;
1972
- export declare const RunScheduledInstancesRequestFilterSensitiveLog: (
1973
- obj: RunScheduledInstancesRequest
1974
- ) => any;