@aws-sdk/client-ec2 3.56.0 → 3.60.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 (116) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/EC2.js +15 -0
  3. package/dist-cjs/commands/CreateTransitGatewayConnectCommand.js +2 -1
  4. package/dist-cjs/commands/CreateTransitGatewayConnectPeerCommand.js +1 -2
  5. package/dist-cjs/commands/DescribeCoipPoolsCommand.js +2 -1
  6. package/dist-cjs/commands/DescribeConversionTasksCommand.js +1 -2
  7. package/dist-cjs/commands/DescribeReplaceRootVolumeTasksCommand.js +3 -3
  8. package/dist-cjs/commands/DescribeReservedInstancesCommand.js +1 -2
  9. package/dist-cjs/commands/GetGroupsForCapacityReservationCommand.js +3 -3
  10. package/dist-cjs/commands/GetHostReservationPurchasePreviewCommand.js +3 -3
  11. package/dist-cjs/commands/GetInstanceTypesFromInstanceRequirementsCommand.js +1 -2
  12. package/dist-cjs/commands/ModifyInstanceMaintenanceOptionsCommand.js +36 -0
  13. package/dist-cjs/commands/ResetAddressAttributeCommand.js +3 -3
  14. package/dist-cjs/commands/ResetEbsDefaultKmsKeyIdCommand.js +3 -3
  15. package/dist-cjs/commands/ResetFpgaImageAttributeCommand.js +3 -3
  16. package/dist-cjs/commands/ResetImageAttributeCommand.js +2 -2
  17. package/dist-cjs/commands/index.js +1 -0
  18. package/dist-cjs/models/models_0.js +18 -17
  19. package/dist-cjs/models/models_1.js +34 -36
  20. package/dist-cjs/models/models_2.js +36 -36
  21. package/dist-cjs/models/models_3.js +47 -29
  22. package/dist-cjs/models/models_4.js +29 -48
  23. package/dist-cjs/models/models_5.js +60 -48
  24. package/dist-cjs/models/models_6.js +50 -2
  25. package/dist-cjs/protocols/Aws_ec2.js +226 -13
  26. package/dist-es/EC2.js +15 -0
  27. package/dist-es/commands/CreateTransitGatewayConnectCommand.js +2 -1
  28. package/dist-es/commands/CreateTransitGatewayConnectPeerCommand.js +1 -2
  29. package/dist-es/commands/DescribeCoipPoolsCommand.js +2 -1
  30. package/dist-es/commands/DescribeConversionTasksCommand.js +1 -2
  31. package/dist-es/commands/DescribeReplaceRootVolumeTasksCommand.js +1 -1
  32. package/dist-es/commands/DescribeReservedInstancesCommand.js +1 -2
  33. package/dist-es/commands/GetGroupsForCapacityReservationCommand.js +1 -1
  34. package/dist-es/commands/GetHostReservationPurchasePreviewCommand.js +1 -1
  35. package/dist-es/commands/GetInstanceTypesFromInstanceRequirementsCommand.js +1 -2
  36. package/dist-es/commands/ModifyInstanceMaintenanceOptionsCommand.js +39 -0
  37. package/dist-es/commands/ResetAddressAttributeCommand.js +1 -1
  38. package/dist-es/commands/ResetEbsDefaultKmsKeyIdCommand.js +1 -1
  39. package/dist-es/commands/ResetFpgaImageAttributeCommand.js +1 -1
  40. package/dist-es/commands/ResetImageAttributeCommand.js +1 -1
  41. package/dist-es/commands/index.js +1 -0
  42. package/dist-es/models/models_0.js +8 -11
  43. package/dist-es/models/models_1.js +24 -20
  44. package/dist-es/models/models_2.js +20 -20
  45. package/dist-es/models/models_3.js +29 -17
  46. package/dist-es/models/models_4.js +17 -28
  47. package/dist-es/models/models_5.js +36 -28
  48. package/dist-es/models/models_6.js +32 -0
  49. package/dist-es/protocols/Aws_ec2.js +224 -0
  50. package/dist-types/EC2.d.ts +91 -65
  51. package/dist-types/EC2Client.d.ts +3 -2
  52. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  53. package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +2 -1
  54. package/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -2
  55. package/dist-types/commands/DeleteLaunchTemplateCommand.d.ts +2 -1
  56. package/dist-types/commands/DescribeCoipPoolsCommand.d.ts +2 -1
  57. package/dist-types/commands/DescribeConversionTasksCommand.d.ts +1 -2
  58. package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +2 -1
  59. package/dist-types/commands/DescribeInstancesCommand.d.ts +8 -7
  60. package/dist-types/commands/DescribeReplaceRootVolumeTasksCommand.d.ts +1 -1
  61. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -2
  62. package/dist-types/commands/GetDefaultCreditSpecificationCommand.d.ts +3 -2
  63. package/dist-types/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
  64. package/dist-types/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -1
  65. package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +1 -2
  66. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +7 -5
  67. package/dist-types/commands/GetPasswordDataCommand.d.ts +1 -1
  68. package/dist-types/commands/ModifyDefaultCreditSpecificationCommand.d.ts +11 -10
  69. package/dist-types/commands/ModifyInstanceAttributeCommand.d.ts +2 -1
  70. package/dist-types/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +38 -0
  71. package/dist-types/commands/ModifyInstanceMetadataOptionsCommand.d.ts +2 -2
  72. package/dist-types/commands/RebootInstancesCommand.d.ts +1 -1
  73. package/dist-types/commands/ResetAddressAttributeCommand.d.ts +1 -1
  74. package/dist-types/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  75. package/dist-types/commands/ResetFpgaImageAttributeCommand.d.ts +1 -1
  76. package/dist-types/commands/ResetImageAttributeCommand.d.ts +1 -1
  77. package/dist-types/commands/SendDiagnosticInterruptCommand.d.ts +14 -12
  78. package/dist-types/commands/StartInstancesCommand.d.ts +5 -4
  79. package/dist-types/commands/StopInstancesCommand.d.ts +2 -1
  80. package/dist-types/commands/TerminateInstancesCommand.d.ts +17 -14
  81. package/dist-types/commands/UnmonitorInstancesCommand.d.ts +2 -1
  82. package/dist-types/commands/index.d.ts +1 -0
  83. package/dist-types/models/models_0.d.ts +93 -25
  84. package/dist-types/models/models_1.d.ts +353 -372
  85. package/dist-types/models/models_2.d.ts +128 -118
  86. package/dist-types/models/models_3.d.ts +230 -225
  87. package/dist-types/models/models_4.d.ts +169 -189
  88. package/dist-types/models/models_5.d.ts +277 -166
  89. package/dist-types/models/models_6.d.ts +217 -66
  90. package/dist-types/protocols/Aws_ec2.d.ts +3 -0
  91. package/dist-types/ts3.4/EC2.d.ts +5 -0
  92. package/dist-types/ts3.4/EC2Client.d.ts +3 -2
  93. package/dist-types/ts3.4/commands/CreateTransitGatewayConnectCommand.d.ts +2 -1
  94. package/dist-types/ts3.4/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -2
  95. package/dist-types/ts3.4/commands/DescribeCoipPoolsCommand.d.ts +2 -1
  96. package/dist-types/ts3.4/commands/DescribeConversionTasksCommand.d.ts +1 -2
  97. package/dist-types/ts3.4/commands/DescribeReplaceRootVolumeTasksCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/DescribeReservedInstancesCommand.d.ts +1 -2
  99. package/dist-types/ts3.4/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -1
  101. package/dist-types/ts3.4/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +1 -2
  102. package/dist-types/ts3.4/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +17 -0
  103. package/dist-types/ts3.4/commands/ResetAddressAttributeCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/ResetFpgaImageAttributeCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/ResetImageAttributeCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  108. package/dist-types/ts3.4/models/models_0.d.ts +38 -9
  109. package/dist-types/ts3.4/models/models_1.d.ts +36 -68
  110. package/dist-types/ts3.4/models/models_2.d.ts +69 -65
  111. package/dist-types/ts3.4/models/models_3.d.ts +89 -53
  112. package/dist-types/ts3.4/models/models_4.d.ts +53 -103
  113. package/dist-types/ts3.4/models/models_5.d.ts +125 -74
  114. package/dist-types/ts3.4/models/models_6.d.ts +84 -2
  115. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +3 -0
  116. package/package.json +19 -19
@@ -827,6 +827,25 @@ export declare namespace AnalysisComponent {
827
827
  */
828
828
  const filterSensitiveLog: (obj: AnalysisComponent) => any;
829
829
  }
830
+ /**
831
+ * <p>Describes an additional detail for a path analysis.</p>
832
+ */
833
+ export interface AdditionalDetail {
834
+ /**
835
+ * <p>The information type.</p>
836
+ */
837
+ AdditionalDetailType?: string;
838
+ /**
839
+ * <p>The path component.</p>
840
+ */
841
+ Component?: AnalysisComponent;
842
+ }
843
+ export declare namespace AdditionalDetail {
844
+ /**
845
+ * @internal
846
+ */
847
+ const filterSensitiveLog: (obj: AdditionalDetail) => any;
848
+ }
830
849
  /**
831
850
  * <p>Describes a header. Reflects any changes made by a component as traffic passes through.
832
851
  * The fields of an inbound header are null except for the first component of a path.</p>
@@ -892,19 +911,16 @@ export interface AnalysisRouteTableRoute {
892
911
  */
893
912
  NetworkInterfaceId?: string;
894
913
  /**
895
- * <p>Describes how the route was created. The following are possible values:</p>
914
+ * <p>Describes how the route was created. The following are the possible values:</p>
896
915
  * <ul>
897
916
  * <li>
898
- * <p>
899
- * <code>CreateRouteTable</code> - The route was automatically created when the route table was created.</p>
917
+ * <p>CreateRouteTable - The route was automatically created when the route table was created.</p>
900
918
  * </li>
901
919
  * <li>
902
- * <p>
903
- * <code>CreateRoute</code> - The route was manually added to the route table.</p>
920
+ * <p>CreateRoute - The route was manually added to the route table.</p>
904
921
  * </li>
905
922
  * <li>
906
- * <p>
907
- * <code>EnableVgwRoutePropagation</code> - The route was propagated by route propagation.</p>
923
+ * <p>EnableVgwRoutePropagation - The route was propagated by route propagation.</p>
908
924
  * </li>
909
925
  * </ul>
910
926
  */
@@ -933,7 +949,7 @@ export interface AnalysisSecurityGroupRule {
933
949
  */
934
950
  Cidr?: string;
935
951
  /**
936
- * <p>The direction. The following are possible values:</p>
952
+ * <p>The direction. The following are the possible values:</p>
937
953
  * <ul>
938
954
  * <li>
939
955
  * <p>egress</p>
@@ -967,6 +983,53 @@ export declare namespace AnalysisSecurityGroupRule {
967
983
  */
968
984
  const filterSensitiveLog: (obj: AnalysisSecurityGroupRule) => any;
969
985
  }
986
+ /**
987
+ * <p>Describes a route in a transit gateway route table.</p>
988
+ */
989
+ export interface TransitGatewayRouteTableRoute {
990
+ /**
991
+ * <p>The CIDR block used for destination matches.</p>
992
+ */
993
+ DestinationCidr?: string;
994
+ /**
995
+ * <p>The state of the route.</p>
996
+ */
997
+ State?: string;
998
+ /**
999
+ * <p>The route origin. The following are the possible values:</p>
1000
+ * <ul>
1001
+ * <li>
1002
+ * <p>static</p>
1003
+ * </li>
1004
+ * <li>
1005
+ * <p>propagated</p>
1006
+ * </li>
1007
+ * </ul>
1008
+ */
1009
+ RouteOrigin?: string;
1010
+ /**
1011
+ * <p>The ID of the prefix list.</p>
1012
+ */
1013
+ PrefixListId?: string;
1014
+ /**
1015
+ * <p>The ID of the route attachment.</p>
1016
+ */
1017
+ AttachmentId?: string;
1018
+ /**
1019
+ * <p>The ID of the resource for the route attachment.</p>
1020
+ */
1021
+ ResourceId?: string;
1022
+ /**
1023
+ * <p>The resource type for the route attachment.</p>
1024
+ */
1025
+ ResourceType?: string;
1026
+ }
1027
+ export declare namespace TransitGatewayRouteTableRoute {
1028
+ /**
1029
+ * @internal
1030
+ */
1031
+ const filterSensitiveLog: (obj: TransitGatewayRouteTableRoute) => any;
1032
+ }
970
1033
  /**
971
1034
  * <p>Describes a path component.</p>
972
1035
  */
@@ -1019,6 +1082,18 @@ export interface PathComponent {
1019
1082
  * <p>The component VPC.</p>
1020
1083
  */
1021
1084
  Vpc?: AnalysisComponent;
1085
+ /**
1086
+ * <p>The additional details.</p>
1087
+ */
1088
+ AdditionalDetails?: AdditionalDetail[];
1089
+ /**
1090
+ * <p>Describes a path component.</p>
1091
+ */
1092
+ TransitGateway?: AnalysisComponent;
1093
+ /**
1094
+ * <p>The route in a transit gateway route table.</p>
1095
+ */
1096
+ TransitGatewayRouteTableRoute?: TransitGatewayRouteTableRoute;
1022
1097
  }
1023
1098
  export declare namespace PathComponent {
1024
1099
  /**
@@ -4542,8 +4617,8 @@ export declare namespace ConfirmProductInstanceRequest {
4542
4617
  }
4543
4618
  export interface ConfirmProductInstanceResult {
4544
4619
  /**
4545
- * <p>The Amazon Web Services account ID of the instance owner. This is only present if the product code is
4546
- * attached to the instance.</p>
4620
+ * <p>The Amazon Web Services account ID of the instance owner. This is only present if the
4621
+ * product code is attached to the instance.</p>
4547
4622
  */
4548
4623
  OwnerId?: string;
4549
4624
  /**
@@ -6030,18 +6105,20 @@ export declare enum HostnameType {
6030
6105
  */
6031
6106
  export interface PrivateDnsNameOptionsOnLaunch {
6032
6107
  /**
6033
- * <p>The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name must be
6034
- * based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based
6035
- * on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance
6036
- * IPv4 address or the instance ID.</p>
6108
+ * <p>The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name
6109
+ * must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name
6110
+ * must be based on the instance ID. For dual-stack subnets, you can specify whether DNS
6111
+ * names use the instance IPv4 address or the instance ID.</p>
6037
6112
  */
6038
6113
  HostnameType?: HostnameType | string;
6039
6114
  /**
6040
- * <p>Indicates whether to respond to DNS queries for instance hostnames with DNS A records.</p>
6115
+ * <p>Indicates whether to respond to DNS queries for instance hostnames with DNS A
6116
+ * records.</p>
6041
6117
  */
6042
6118
  EnableResourceNameDnsARecord?: boolean;
6043
6119
  /**
6044
- * <p>Indicates whether to respond to DNS queries for instance hostname with DNS AAAA records.</p>
6120
+ * <p>Indicates whether to respond to DNS queries for instance hostname with DNS AAAA
6121
+ * records.</p>
6045
6122
  */
6046
6123
  EnableResourceNameDnsAAAARecord?: boolean;
6047
6124
  }
@@ -6521,12 +6598,3 @@ export declare enum CpuManufacturer {
6521
6598
  AMD = "amd",
6522
6599
  INTEL = "intel"
6523
6600
  }
6524
- export declare enum InstanceGeneration {
6525
- CURRENT = "current",
6526
- PREVIOUS = "previous"
6527
- }
6528
- export declare enum LocalStorage {
6529
- EXCLUDED = "excluded",
6530
- INCLUDED = "included",
6531
- REQUIRED = "required"
6532
- }