@aws-sdk/client-ec2 3.371.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 (65) hide show
  1. package/dist-types/commands/AssignPrivateNatGatewayAddressCommand.d.ts +2 -1
  2. package/dist-types/commands/AssociateDhcpOptionsCommand.d.ts +1 -1
  3. package/dist-types/commands/AssociateNatGatewayAddressCommand.d.ts +3 -2
  4. package/dist-types/commands/AssociateRouteTableCommand.d.ts +1 -1
  5. package/dist-types/commands/AssociateVpcCidrBlockCommand.d.ts +2 -2
  6. package/dist-types/commands/AttachClassicLinkVpcCommand.d.ts +2 -2
  7. package/dist-types/commands/AttachInternetGatewayCommand.d.ts +3 -2
  8. package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
  9. package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +0 -3
  10. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +2 -2
  11. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +3 -11
  12. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
  13. package/dist-types/commands/CreateImageCommand.d.ts +0 -10
  14. package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +2 -2
  15. package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +3 -3
  16. package/dist-types/commands/CreateInternetGatewayCommand.d.ts +2 -1
  17. package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
  18. package/dist-types/commands/CreateNetworkAclCommand.d.ts +2 -2
  19. package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +2 -1
  20. package/dist-types/commands/CreateRouteCommand.d.ts +1 -1
  21. package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
  22. package/dist-types/commands/CreateSecurityGroupCommand.d.ts +6 -5
  23. package/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
  24. package/dist-types/commands/CreateVpcCommand.d.ts +4 -4
  25. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +4 -4
  26. package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +2 -6
  27. package/dist-types/commands/DescribeClassicLinkInstancesCommand.d.ts +4 -4
  28. package/dist-types/commands/DescribeDhcpOptionsCommand.d.ts +1 -1
  29. package/dist-types/commands/DescribeNetworkAclsCommand.d.ts +2 -2
  30. package/dist-types/commands/DescribeRouteTablesCommand.d.ts +1 -1
  31. package/dist-types/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +0 -9
  33. package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +1 -1
  34. package/dist-types/commands/DescribeSubnetsCommand.d.ts +2 -2
  35. package/dist-types/commands/DescribeVpcClassicLinkCommand.d.ts +3 -3
  36. package/dist-types/commands/DescribeVpcClassicLinkDnsSupportCommand.d.ts +2 -2
  37. package/dist-types/commands/DetachClassicLinkVpcCommand.d.ts +4 -2
  38. package/dist-types/commands/DisableVpcClassicLinkCommand.d.ts +4 -3
  39. package/dist-types/commands/DisableVpcClassicLinkDnsSupportCommand.d.ts +5 -6
  40. package/dist-types/commands/DisassociateNatGatewayAddressCommand.d.ts +6 -5
  41. package/dist-types/commands/DisassociateRouteTableCommand.d.ts +1 -1
  42. package/dist-types/commands/EnableVpcClassicLinkCommand.d.ts +2 -3
  43. package/dist-types/commands/EnableVpcClassicLinkDnsSupportCommand.d.ts +2 -3
  44. package/dist-types/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +5 -0
  45. package/dist-types/commands/ImportInstanceCommand.d.ts +11 -4
  46. package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -16
  47. package/dist-types/commands/ModifyVpcTenancyCommand.d.ts +1 -1
  48. package/dist-types/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
  49. package/dist-types/commands/ReplaceNetworkAclAssociationCommand.d.ts +1 -2
  50. package/dist-types/commands/ReplaceNetworkAclEntryCommand.d.ts +2 -2
  51. package/dist-types/commands/ReplaceRouteCommand.d.ts +1 -1
  52. package/dist-types/commands/ReplaceRouteTableAssociationCommand.d.ts +1 -1
  53. package/dist-types/commands/RevokeSecurityGroupEgressCommand.d.ts +2 -3
  54. package/dist-types/commands/RevokeSecurityGroupIngressCommand.d.ts +3 -5
  55. package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +3 -3
  56. package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +1 -1
  57. package/dist-types/models/models_0.d.ts +24 -32
  58. package/dist-types/models/models_1.d.ts +85 -30
  59. package/dist-types/models/models_2.d.ts +8 -11
  60. package/dist-types/models/models_3.d.ts +12 -15
  61. package/dist-types/models/models_4.d.ts +33 -22
  62. package/dist-types/models/models_5.d.ts +15 -12
  63. package/dist-types/models/models_6.d.ts +25 -36
  64. package/dist-types/models/models_7.d.ts +6 -6
  65. package/package.json +1 -1
@@ -865,7 +865,7 @@ export interface DescribeVpcAttributeResult {
865
865
  */
866
866
  export interface DescribeVpcClassicLinkRequest {
867
867
  /**
868
- * <p>One or more filters.</p>
868
+ * <p>The filters.</p>
869
869
  * <ul>
870
870
  * <li>
871
871
  * <p>
@@ -891,14 +891,14 @@ export interface DescribeVpcClassicLinkRequest {
891
891
  */
892
892
  DryRun?: boolean;
893
893
  /**
894
- * <p>One or more VPCs for which you want to describe the ClassicLink status.</p>
894
+ * <p>The VPCs for which you want to describe the ClassicLink status.</p>
895
895
  */
896
896
  VpcIds?: string[];
897
897
  }
898
898
  /**
899
899
  * @public
900
900
  * <note>
901
- * <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>
901
+ * <p>Deprecated.</p>
902
902
  * </note>
903
903
  * <p>Describes whether a VPC is enabled for ClassicLink.</p>
904
904
  */
@@ -921,7 +921,7 @@ export interface VpcClassicLink {
921
921
  */
922
922
  export interface DescribeVpcClassicLinkResult {
923
923
  /**
924
- * <p>The ClassicLink status of one or more VPCs.</p>
924
+ * <p>The ClassicLink status of the VPCs.</p>
925
925
  */
926
926
  Vpcs?: VpcClassicLink[];
927
927
  }
@@ -940,13 +940,16 @@ export interface DescribeVpcClassicLinkDnsSupportRequest {
940
940
  */
941
941
  NextToken?: string;
942
942
  /**
943
- * <p>One or more VPC IDs.</p>
943
+ * <p>The IDs of the VPCs.</p>
944
944
  */
945
945
  VpcIds?: string[];
946
946
  }
947
947
  /**
948
948
  * @public
949
- * <p>Describes the ClassicLink DNS support status of a VPC.</p>
949
+ * <note>
950
+ * <p>Deprecated.</p>
951
+ * </note>
952
+ * <p>Describes the ClassicLink DNS support status of a VPC.</p>
950
953
  */
951
954
  export interface ClassicLinkDnsSupport {
952
955
  /**
@@ -1521,7 +1524,7 @@ export interface DescribeVpcEndpointServicesResult {
1521
1524
  */
1522
1525
  export interface DescribeVpcPeeringConnectionsRequest {
1523
1526
  /**
1524
- * <p>One or more filters.</p>
1527
+ * <p>The filters.</p>
1525
1528
  * <ul>
1526
1529
  * <li>
1527
1530
  * <p>
@@ -1592,7 +1595,7 @@ export interface DescribeVpcPeeringConnectionsRequest {
1592
1595
  */
1593
1596
  DryRun?: boolean;
1594
1597
  /**
1595
- * <p>One or more VPC peering connection IDs.</p>
1598
+ * <p>The IDs of the VPC peering connections.</p>
1596
1599
  * <p>Default: Describes all your VPC peering connections.</p>
1597
1600
  */
1598
1601
  VpcPeeringConnectionIds?: string[];
@@ -1625,7 +1628,7 @@ export interface DescribeVpcPeeringConnectionsResult {
1625
1628
  */
1626
1629
  export interface DescribeVpcsRequest {
1627
1630
  /**
1628
- * <p>One or more filters.</p>
1631
+ * <p>The filters.</p>
1629
1632
  * <ul>
1630
1633
  * <li>
1631
1634
  * <p>
@@ -1701,7 +1704,7 @@ export interface DescribeVpcsRequest {
1701
1704
  */
1702
1705
  Filters?: Filter[];
1703
1706
  /**
1704
- * <p>One or more VPC IDs.</p>
1707
+ * <p>The IDs of the VPCs.</p>
1705
1708
  * <p>Default: Describes all your VPCs.</p>
1706
1709
  */
1707
1710
  VpcIds?: string[];
@@ -2737,7 +2740,7 @@ export interface DisassociateIpamResourceDiscoveryResult {
2737
2740
  */
2738
2741
  export interface DisassociateNatGatewayAddressRequest {
2739
2742
  /**
2740
- * <p>The NAT gateway ID.</p>
2743
+ * <p>The ID of the NAT gateway.</p>
2741
2744
  */
2742
2745
  NatGatewayId: string | undefined;
2743
2746
  /**
@@ -2760,7 +2763,7 @@ export interface DisassociateNatGatewayAddressRequest {
2760
2763
  */
2761
2764
  export interface DisassociateNatGatewayAddressResult {
2762
2765
  /**
2763
- * <p>The NAT gateway ID.</p>
2766
+ * <p>The ID of the NAT gateway.</p>
2764
2767
  */
2765
2768
  NatGatewayId?: string;
2766
2769
  /**
@@ -102,7 +102,7 @@ export interface ImportImageRequest {
102
102
  * <p>Key ID</p>
103
103
  * </li>
104
104
  * <li>
105
- * <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>
106
106
  * </li>
107
107
  * <li>
108
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>
@@ -130,7 +130,9 @@ export interface ImportImageRequest {
130
130
  */
131
131
  LicenseType?: string;
132
132
  /**
133
- * <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>
134
136
  * <p>Valid values: <code>Windows</code> | <code>Linux</code>
135
137
  * </p>
136
138
  */
@@ -493,7 +495,7 @@ export interface ImportSnapshotRequest {
493
495
  * <p>Key ID</p>
494
496
  * </li>
495
497
  * <li>
496
- * <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>
497
499
  * </li>
498
500
  * <li>
499
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>
@@ -1940,8 +1942,8 @@ export interface ModifyInstanceMetadataOptionsRequest {
1940
1942
  */
1941
1943
  DryRun?: boolean;
1942
1944
  /**
1943
- * <p>Enables or disables the IPv6 endpoint for the instance metadata service. This setting
1944
- * 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>
1945
1947
  */
1946
1948
  HttpProtocolIpv6?: InstanceMetadataProtocolState | string;
1947
1949
  /**
@@ -3997,24 +3999,20 @@ export interface ModifyVpcEndpointServicePermissionsResult {
3997
3999
  }
3998
4000
  /**
3999
4001
  * @public
4000
- * <note>
4001
- * <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>
4002
- * </note>
4003
- * <p>The VPC peering connection options.</p>
4002
+ * <p>The VPC peering connection options.</p>
4004
4003
  */
4005
4004
  export interface PeeringConnectionOptionsRequest {
4006
4005
  /**
4007
- * <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>
4008
4008
  */
4009
4009
  AllowDnsResolutionFromRemoteVpc?: boolean;
4010
4010
  /**
4011
- * <p>If true, enables outbound communication from an EC2-Classic instance that's linked to
4012
- * a local VPC using ClassicLink to instances in a peer VPC.</p>
4011
+ * <p>Deprecated.</p>
4013
4012
  */
4014
4013
  AllowEgressFromLocalClassicLinkToRemoteVpc?: boolean;
4015
4014
  /**
4016
- * <p>If true, enables outbound communication from instances in a local VPC to an
4017
- * EC2-Classic instance that's linked to a peer VPC using ClassicLink.</p>
4015
+ * <p>Deprecated.</p>
4018
4016
  */
4019
4017
  AllowEgressFromLocalVpcToRemoteClassicLink?: boolean;
4020
4018
  }
@@ -4043,10 +4041,7 @@ export interface ModifyVpcPeeringConnectionOptionsRequest {
4043
4041
  }
4044
4042
  /**
4045
4043
  * @public
4046
- * <note>
4047
- * <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>
4048
- * </note>
4049
- * <p>Describes the VPC peering connection options.</p>
4044
+ * <p>Describes the VPC peering connection options.</p>
4050
4045
  */
4051
4046
  export interface PeeringConnectionOptions {
4052
4047
  /**
@@ -4055,13 +4050,11 @@ export interface PeeringConnectionOptions {
4055
4050
  */
4056
4051
  AllowDnsResolutionFromRemoteVpc?: boolean;
4057
4052
  /**
4058
- * <p>If true, enables outbound communication from an EC2-Classic instance that's linked to
4059
- * a local VPC using ClassicLink to instances in a peer VPC.</p>
4053
+ * <p>Deprecated.</p>
4060
4054
  */
4061
4055
  AllowEgressFromLocalClassicLinkToRemoteVpc?: boolean;
4062
4056
  /**
4063
- * <p>If true, enables outbound communication from instances in a local VPC to an
4064
- * EC2-Classic instance that's linked to a peer VPC using ClassicLink.</p>
4057
+ * <p>Deprecated.</p>
4065
4058
  */
4066
4059
  AllowEgressFromLocalVpcToRemoteClassicLink?: boolean;
4067
4060
  }
@@ -6494,13 +6487,11 @@ export interface RevokeSecurityGroupIngressRequest {
6494
6487
  */
6495
6488
  FromPort?: number;
6496
6489
  /**
6497
- * <p>The ID of the security group. You must specify either the security group ID or the
6498
- * security group name in the request. For security groups in a nondefault VPC, you must
6499
- * specify the security group ID.</p>
6490
+ * <p>The ID of the security group.</p>
6500
6491
  */
6501
6492
  GroupId?: string;
6502
6493
  /**
6503
- * <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
6504
6495
  * security group ID or the security group name in the request. For security groups in a
6505
6496
  * nondefault VPC, you must specify the security group ID.</p>
6506
6497
  */
@@ -6516,11 +6507,14 @@ export interface RevokeSecurityGroupIngressRequest {
6516
6507
  */
6517
6508
  IpProtocol?: string;
6518
6509
  /**
6519
- * <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>
6520
6514
  */
6521
6515
  SourceSecurityGroupName?: string;
6522
6516
  /**
6523
- * <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>
6524
6518
  */
6525
6519
  SourceSecurityGroupOwnerId?: string;
6526
6520
  /**
@@ -6838,12 +6832,6 @@ export interface RunInstancesRequest {
6838
6832
  /**
6839
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
6840
6834
  * <i>Amazon EC2 User Guide</i>.</p>
6841
- * <p>When you change your EBS-backed instance type, instance restart or replacement behavior depends on the
6842
- * instance type compatibility between the old and new types. An instance that's backed by an instance store volume
6843
- * 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
6844
- * <i>Amazon EC2 User Guide</i>.</p>
6845
- * <p>Default: <code>m1.small</code>
6846
- * </p>
6847
6835
  */
6848
6836
  InstanceType?: _InstanceType | string;
6849
6837
  /**
@@ -7128,8 +7116,9 @@ export interface RunInstancesRequest {
7128
7116
  */
7129
7117
  EnclaveOptions?: EnclaveOptionsRequest;
7130
7118
  /**
7131
- * <p>The options for the instance hostname. The default values are inherited from the
7132
- * 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>
7133
7122
  */
7134
7123
  PrivateDnsNameOptions?: PrivateDnsNameOptionsRequest;
7135
7124
  /**
@@ -748,7 +748,7 @@ export interface UnassignPrivateIpAddressesRequest {
748
748
  */
749
749
  export interface UnassignPrivateNatGatewayAddressRequest {
750
750
  /**
751
- * <p>The NAT gateway ID.</p>
751
+ * <p>The ID of the NAT gateway.</p>
752
752
  */
753
753
  NatGatewayId: string | undefined;
754
754
  /**
@@ -771,7 +771,7 @@ export interface UnassignPrivateNatGatewayAddressRequest {
771
771
  */
772
772
  export interface UnassignPrivateNatGatewayAddressResult {
773
773
  /**
774
- * <p>The NAT gateway ID.</p>
774
+ * <p>The ID of the NAT gateway.</p>
775
775
  */
776
776
  NatGatewayId?: string;
777
777
  /**
@@ -836,7 +836,7 @@ export interface UpdateSecurityGroupRuleDescriptionsEgressRequest {
836
836
  GroupId?: string;
837
837
  /**
838
838
  * <p>[Default VPC] The name of the security group. You must specify either the security group
839
- * ID or the security group name in the request.</p>
839
+ * ID or the security group name.</p>
840
840
  */
841
841
  GroupName?: string;
842
842
  /**
@@ -876,8 +876,8 @@ export interface UpdateSecurityGroupRuleDescriptionsIngressRequest {
876
876
  */
877
877
  GroupId?: string;
878
878
  /**
879
- * <p>[EC2-Classic, default VPC] The name of the security group. You must specify either the
880
- * 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
881
881
  * nondefault VPC, you must specify the security group ID.</p>
882
882
  */
883
883
  GroupName?: string;
@@ -887,7 +887,7 @@ export interface UpdateSecurityGroupRuleDescriptionsIngressRequest {
887
887
  */
888
888
  IpPermissions?: IpPermission[];
889
889
  /**
890
- * <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
891
891
  * a description or IP permissions.</p>
892
892
  */
893
893
  SecurityGroupRuleDescriptions?: SecurityGroupRuleDescription[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ec2",
3
3
  "description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
4
- "version": "3.371.0",
4
+ "version": "3.373.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",