@aws-sdk/client-ec2 3.87.0 → 3.90.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 (83) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/dist-cjs/EC2.js +15 -0
  3. package/dist-cjs/commands/DescribeClientVpnRoutesCommand.js +2 -1
  4. package/dist-cjs/commands/DescribeClientVpnTargetNetworksCommand.js +3 -3
  5. package/dist-cjs/commands/DescribePublicIpv4PoolsCommand.js +3 -3
  6. package/dist-cjs/commands/DescribeRegionsCommand.js +1 -2
  7. package/dist-cjs/commands/GetEbsEncryptionByDefaultCommand.js +3 -3
  8. package/dist-cjs/commands/GetFlowLogsIntegrationTemplateCommand.js +1 -2
  9. package/dist-cjs/commands/GetInstanceUefiDataCommand.js +36 -0
  10. package/dist-cjs/commands/ReplaceTransitGatewayRouteCommand.js +2 -1
  11. package/dist-cjs/commands/ReportInstanceStatusCommand.js +2 -2
  12. package/dist-cjs/commands/RequestSpotFleetCommand.js +3 -3
  13. package/dist-cjs/commands/RequestSpotInstancesCommand.js +1 -2
  14. package/dist-cjs/commands/index.js +1 -0
  15. package/dist-cjs/models/models_2.js +36 -36
  16. package/dist-cjs/models/models_3.js +40 -42
  17. package/dist-cjs/models/models_4.js +42 -43
  18. package/dist-cjs/models/models_5.js +55 -42
  19. package/dist-cjs/models/models_6.js +38 -2
  20. package/dist-cjs/protocols/Aws_ec2.js +212 -21
  21. package/dist-es/EC2.js +15 -0
  22. package/dist-es/commands/DescribeClientVpnRoutesCommand.js +2 -1
  23. package/dist-es/commands/DescribeClientVpnTargetNetworksCommand.js +1 -1
  24. package/dist-es/commands/DescribePublicIpv4PoolsCommand.js +1 -1
  25. package/dist-es/commands/DescribeRegionsCommand.js +1 -2
  26. package/dist-es/commands/GetEbsEncryptionByDefaultCommand.js +1 -1
  27. package/dist-es/commands/GetFlowLogsIntegrationTemplateCommand.js +1 -2
  28. package/dist-es/commands/GetInstanceUefiDataCommand.js +39 -0
  29. package/dist-es/commands/ReplaceTransitGatewayRouteCommand.js +2 -1
  30. package/dist-es/commands/ReportInstanceStatusCommand.js +1 -1
  31. package/dist-es/commands/RequestSpotFleetCommand.js +1 -1
  32. package/dist-es/commands/RequestSpotInstancesCommand.js +1 -2
  33. package/dist-es/commands/index.js +1 -0
  34. package/dist-es/models/models_2.js +26 -20
  35. package/dist-es/models/models_3.js +24 -24
  36. package/dist-es/models/models_4.js +24 -27
  37. package/dist-es/models/models_5.js +35 -24
  38. package/dist-es/models/models_6.js +24 -0
  39. package/dist-es/protocols/Aws_ec2.js +213 -8
  40. package/dist-types/EC2.d.ts +17 -1
  41. package/dist-types/EC2Client.d.ts +3 -2
  42. package/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
  43. package/dist-types/commands/DescribeClientVpnRoutesCommand.d.ts +2 -1
  44. package/dist-types/commands/DescribeClientVpnTargetNetworksCommand.d.ts +1 -1
  45. package/dist-types/commands/DescribePublicIpv4PoolsCommand.d.ts +1 -1
  46. package/dist-types/commands/DescribeRegionsCommand.d.ts +1 -2
  47. package/dist-types/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
  48. package/dist-types/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +1 -2
  49. package/dist-types/commands/GetInstanceUefiDataCommand.d.ts +44 -0
  50. package/dist-types/commands/ReplaceTransitGatewayRouteCommand.d.ts +2 -1
  51. package/dist-types/commands/ReportInstanceStatusCommand.d.ts +1 -1
  52. package/dist-types/commands/RequestSpotFleetCommand.d.ts +1 -1
  53. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -2
  54. package/dist-types/commands/index.d.ts +1 -0
  55. package/dist-types/models/models_1.d.ts +13 -5
  56. package/dist-types/models/models_2.d.ts +78 -164
  57. package/dist-types/models/models_3.d.ts +184 -187
  58. package/dist-types/models/models_4.d.ts +211 -102
  59. package/dist-types/models/models_5.d.ts +167 -328
  60. package/dist-types/models/models_6.d.ts +325 -1
  61. package/dist-types/protocols/Aws_ec2.d.ts +3 -0
  62. package/dist-types/ts3.4/EC2.d.ts +5 -0
  63. package/dist-types/ts3.4/EC2Client.d.ts +3 -2
  64. package/dist-types/ts3.4/commands/DescribeClientVpnRoutesCommand.d.ts +2 -1
  65. package/dist-types/ts3.4/commands/DescribeClientVpnTargetNetworksCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/DescribePublicIpv4PoolsCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/DescribeRegionsCommand.d.ts +1 -2
  68. package/dist-types/ts3.4/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +1 -2
  70. package/dist-types/ts3.4/commands/GetInstanceUefiDataCommand.d.ts +17 -0
  71. package/dist-types/ts3.4/commands/ReplaceTransitGatewayRouteCommand.d.ts +2 -1
  72. package/dist-types/ts3.4/commands/ReportInstanceStatusCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/RequestSpotFleetCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/RequestSpotInstancesCommand.d.ts +1 -2
  75. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  76. package/dist-types/ts3.4/models/models_1.d.ts +7 -3
  77. package/dist-types/ts3.4/models/models_2.d.ts +46 -79
  78. package/dist-types/ts3.4/models/models_3.d.ts +91 -89
  79. package/dist-types/ts3.4/models/models_4.d.ts +93 -62
  80. package/dist-types/ts3.4/models/models_5.d.ts +96 -126
  81. package/dist-types/ts3.4/models/models_6.d.ts +123 -1
  82. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +3 -0
  83. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { AccountAttribute, AccountAttributeName, Address, AddressAttribute, AddressAttributeName, ApplianceModeSupportValue, AssociationStatus, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationFleetState, CarrierGateway, ClientVpnAuthenticationType, ClientVpnAuthorizationRuleStatus, ClientVpnEndpointStatus, ClientVpnRouteStatus, DnsSupportValue, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, GatewayType, InstanceEventWindowState, Ipv6SupportValue, Tag, TagSpecification, Tenancy, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TransportProtocol, UnsuccessfulItem, VolumeAttachment, Vpc, VpcAttachment, VpcPeeringConnection } from "./models_0";
1
+ import { AccountAttribute, AccountAttributeName, Address, AddressAttribute, AddressAttributeName, ApplianceModeSupportValue, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationFleetState, CarrierGateway, ClientVpnAuthenticationType, ClientVpnAuthorizationRuleStatus, ClientVpnEndpointStatus, ClientVpnRouteStatus, DnsSupportValue, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, GatewayType, InstanceEventWindowState, Ipv6SupportValue, Tag, TagSpecification, Tenancy, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TransportProtocol, UnsuccessfulItem, VolumeAttachment, Vpc, VpcAttachment, VpcPeeringConnection } from "./models_0";
2
2
  import { CreateTransitGatewayConnectRequestOptions, GroupIdentifier, Ipam, IpamPool, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, ProtocolValue, SubnetCidrReservation, TransitGateway, VolumeType } from "./models_1";
3
3
  export interface CreateTransitGatewayConnectRequest {
4
4
  /**
@@ -1114,6 +1114,32 @@ export declare namespace CreateVpcResult {
1114
1114
  */
1115
1115
  const filterSensitiveLog: (obj: CreateVpcResult) => any;
1116
1116
  }
1117
+ export declare enum DnsRecordIpType {
1118
+ dualstack = "dualstack",
1119
+ ipv4 = "ipv4",
1120
+ ipv6 = "ipv6",
1121
+ service_defined = "service-defined"
1122
+ }
1123
+ /**
1124
+ * <p>Describes the DNS options for an endpoint.</p>
1125
+ */
1126
+ export interface DnsOptionsSpecification {
1127
+ /**
1128
+ * <p>The DNS records created for the endpoint.</p>
1129
+ */
1130
+ DnsRecordIpType?: DnsRecordIpType | string;
1131
+ }
1132
+ export declare namespace DnsOptionsSpecification {
1133
+ /**
1134
+ * @internal
1135
+ */
1136
+ const filterSensitiveLog: (obj: DnsOptionsSpecification) => any;
1137
+ }
1138
+ export declare enum IpAddressType {
1139
+ dualstack = "dualstack",
1140
+ ipv4 = "ipv4",
1141
+ ipv6 = "ipv6"
1142
+ }
1117
1143
  export declare enum VpcEndpointType {
1118
1144
  Gateway = "Gateway",
1119
1145
  GatewayLoadBalancer = "GatewayLoadBalancer",
@@ -1163,6 +1189,14 @@ export interface CreateVpcEndpointRequest {
1163
1189
  * endpoint network interface.</p>
1164
1190
  */
1165
1191
  SecurityGroupIds?: string[];
1192
+ /**
1193
+ * <p>The IP address type for the endpoint.</p>
1194
+ */
1195
+ IpAddressType?: IpAddressType | string;
1196
+ /**
1197
+ * <p>The DNS options for the endpoint.</p>
1198
+ */
1199
+ DnsOptions?: DnsOptionsSpecification;
1166
1200
  /**
1167
1201
  * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
1168
1202
  * request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">How to ensure
@@ -1215,6 +1249,21 @@ export declare namespace DnsEntry {
1215
1249
  */
1216
1250
  const filterSensitiveLog: (obj: DnsEntry) => any;
1217
1251
  }
1252
+ /**
1253
+ * <p>Describes the DNS options for an endpoint.</p>
1254
+ */
1255
+ export interface DnsOptions {
1256
+ /**
1257
+ * <p>The DNS records created for the endpoint.</p>
1258
+ */
1259
+ DnsRecordIpType?: DnsRecordIpType | string;
1260
+ }
1261
+ export declare namespace DnsOptions {
1262
+ /**
1263
+ * @internal
1264
+ */
1265
+ const filterSensitiveLog: (obj: DnsOptions) => any;
1266
+ }
1218
1267
  /**
1219
1268
  * <p>Describes a security group.</p>
1220
1269
  */
@@ -1268,7 +1317,7 @@ export declare enum State {
1268
1317
  */
1269
1318
  export interface VpcEndpoint {
1270
1319
  /**
1271
- * <p>The ID of the VPC endpoint.</p>
1320
+ * <p>The ID of the endpoint.</p>
1272
1321
  */
1273
1322
  VpcEndpointId?: string;
1274
1323
  /**
@@ -1284,7 +1333,7 @@ export interface VpcEndpoint {
1284
1333
  */
1285
1334
  ServiceName?: string;
1286
1335
  /**
1287
- * <p>The state of the VPC endpoint.</p>
1336
+ * <p>The state of the endpoint.</p>
1288
1337
  */
1289
1338
  State?: State | string;
1290
1339
  /**
@@ -1296,7 +1345,7 @@ export interface VpcEndpoint {
1296
1345
  */
1297
1346
  RouteTableIds?: string[];
1298
1347
  /**
1299
- * <p>(Interface endpoint) One or more subnets in which the endpoint is located.</p>
1348
+ * <p>(Interface endpoint) The subnets for the endpoint.</p>
1300
1349
  */
1301
1350
  SubnetIds?: string[];
1302
1351
  /**
@@ -1304,12 +1353,20 @@ export interface VpcEndpoint {
1304
1353
  * the network interface.</p>
1305
1354
  */
1306
1355
  Groups?: SecurityGroupIdentifier[];
1356
+ /**
1357
+ * <p>The IP address type for the endpoint.</p>
1358
+ */
1359
+ IpAddressType?: IpAddressType | string;
1360
+ /**
1361
+ * <p>The DNS options for the endpoint.</p>
1362
+ */
1363
+ DnsOptions?: DnsOptions;
1307
1364
  /**
1308
1365
  * <p>(Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.</p>
1309
1366
  */
1310
1367
  PrivateDnsEnabled?: boolean;
1311
1368
  /**
1312
- * <p>Indicates whether the VPC endpoint is being managed by its service.</p>
1369
+ * <p>Indicates whether the endpoint is being managed by its service.</p>
1313
1370
  */
1314
1371
  RequesterManaged?: boolean;
1315
1372
  /**
@@ -1321,19 +1378,19 @@ export interface VpcEndpoint {
1321
1378
  */
1322
1379
  DnsEntries?: DnsEntry[];
1323
1380
  /**
1324
- * <p>The date and time that the VPC endpoint was created.</p>
1381
+ * <p>The date and time that the endpoint was created.</p>
1325
1382
  */
1326
1383
  CreationTimestamp?: Date;
1327
1384
  /**
1328
- * <p>Any tags assigned to the VPC endpoint.</p>
1385
+ * <p>Any tags assigned to the endpoint.</p>
1329
1386
  */
1330
1387
  Tags?: Tag[];
1331
1388
  /**
1332
- * <p>The ID of the Amazon Web Services account that owns the VPC endpoint.</p>
1389
+ * <p>The ID of the Amazon Web Services account that owns the endpoint.</p>
1333
1390
  */
1334
1391
  OwnerId?: string;
1335
1392
  /**
1336
- * <p>The last error that occurred for VPC endpoint.</p>
1393
+ * <p>The last error that occurred for endpoint.</p>
1337
1394
  */
1338
1395
  LastError?: LastError;
1339
1396
  }
@@ -1491,6 +1548,10 @@ export interface CreateVpcEndpointServiceConfigurationRequest {
1491
1548
  * <p>The Amazon Resource Names (ARNs) of one or more Gateway Load Balancers.</p>
1492
1549
  */
1493
1550
  GatewayLoadBalancerArns?: string[];
1551
+ /**
1552
+ * <p>The supported IP address types. The possible values are <code>ipv4</code> and <code>ipv6</code>.</p>
1553
+ */
1554
+ SupportedIpAddressTypes?: string[];
1494
1555
  /**
1495
1556
  * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
1496
1557
  * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html">How to ensure
@@ -1573,6 +1634,10 @@ export declare namespace ServiceTypeDetail {
1573
1634
  */
1574
1635
  const filterSensitiveLog: (obj: ServiceTypeDetail) => any;
1575
1636
  }
1637
+ export declare enum ServiceConnectivityType {
1638
+ ipv4 = "ipv4",
1639
+ ipv6 = "ipv6"
1640
+ }
1576
1641
  /**
1577
1642
  * <p>Describes a service configuration for a VPC endpoint service.</p>
1578
1643
  */
@@ -1614,6 +1679,10 @@ export interface ServiceConfiguration {
1614
1679
  * <p>The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.</p>
1615
1680
  */
1616
1681
  GatewayLoadBalancerArns?: string[];
1682
+ /**
1683
+ * <p>The supported IP address types.</p>
1684
+ */
1685
+ SupportedIpAddressTypes?: (ServiceConnectivityType | string)[];
1617
1686
  /**
1618
1687
  * <p>The DNS names for the service.</p>
1619
1688
  */
@@ -6733,158 +6802,3 @@ export declare namespace DescribeClientVpnRoutesRequest {
6733
6802
  */
6734
6803
  const filterSensitiveLog: (obj: DescribeClientVpnRoutesRequest) => any;
6735
6804
  }
6736
- /**
6737
- * <p>Information about a Client VPN endpoint route.</p>
6738
- */
6739
- export interface ClientVpnRoute {
6740
- /**
6741
- * <p>The ID of the Client VPN endpoint with which the route is associated.</p>
6742
- */
6743
- ClientVpnEndpointId?: string;
6744
- /**
6745
- * <p>The IPv4 address range, in CIDR notation, of the route destination.</p>
6746
- */
6747
- DestinationCidr?: string;
6748
- /**
6749
- * <p>The ID of the subnet through which traffic is routed.</p>
6750
- */
6751
- TargetSubnet?: string;
6752
- /**
6753
- * <p>The route type.</p>
6754
- */
6755
- Type?: string;
6756
- /**
6757
- * <p>Indicates how the route was associated with the Client VPN endpoint.
6758
- * <code>associate</code> indicates that the route was automatically added when the target network
6759
- * was associated with the Client VPN endpoint. <code>add-route</code> indicates that the route
6760
- * was manually added using the <b>CreateClientVpnRoute</b> action.</p>
6761
- */
6762
- Origin?: string;
6763
- /**
6764
- * <p>The current state of the route.</p>
6765
- */
6766
- Status?: ClientVpnRouteStatus;
6767
- /**
6768
- * <p>A brief description of the route.</p>
6769
- */
6770
- Description?: string;
6771
- }
6772
- export declare namespace ClientVpnRoute {
6773
- /**
6774
- * @internal
6775
- */
6776
- const filterSensitiveLog: (obj: ClientVpnRoute) => any;
6777
- }
6778
- export interface DescribeClientVpnRoutesResult {
6779
- /**
6780
- * <p>Information about the Client VPN endpoint routes.</p>
6781
- */
6782
- Routes?: ClientVpnRoute[];
6783
- /**
6784
- * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
6785
- */
6786
- NextToken?: string;
6787
- }
6788
- export declare namespace DescribeClientVpnRoutesResult {
6789
- /**
6790
- * @internal
6791
- */
6792
- const filterSensitiveLog: (obj: DescribeClientVpnRoutesResult) => any;
6793
- }
6794
- export interface DescribeClientVpnTargetNetworksRequest {
6795
- /**
6796
- * <p>The ID of the Client VPN endpoint.</p>
6797
- */
6798
- ClientVpnEndpointId: string | undefined;
6799
- /**
6800
- * <p>The IDs of the target network associations.</p>
6801
- */
6802
- AssociationIds?: string[];
6803
- /**
6804
- * <p>The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.</p>
6805
- */
6806
- MaxResults?: number;
6807
- /**
6808
- * <p>The token to retrieve the next page of results.</p>
6809
- */
6810
- NextToken?: string;
6811
- /**
6812
- * <p>One or more filters. Filter names and values are case-sensitive.</p>
6813
- * <ul>
6814
- * <li>
6815
- * <p>
6816
- * <code>association-id</code> - The ID of the association.</p>
6817
- * </li>
6818
- * <li>
6819
- * <p>
6820
- * <code>target-network-id</code> - The ID of the subnet specified as the target network.</p>
6821
- * </li>
6822
- * <li>
6823
- * <p>
6824
- * <code>vpc-id</code> - The ID of the VPC in which the target network is located.</p>
6825
- * </li>
6826
- * </ul>
6827
- */
6828
- Filters?: Filter[];
6829
- /**
6830
- * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
6831
- */
6832
- DryRun?: boolean;
6833
- }
6834
- export declare namespace DescribeClientVpnTargetNetworksRequest {
6835
- /**
6836
- * @internal
6837
- */
6838
- const filterSensitiveLog: (obj: DescribeClientVpnTargetNetworksRequest) => any;
6839
- }
6840
- /**
6841
- * <p>Describes a target network associated with a Client VPN endpoint.</p>
6842
- */
6843
- export interface TargetNetwork {
6844
- /**
6845
- * <p>The ID of the association.</p>
6846
- */
6847
- AssociationId?: string;
6848
- /**
6849
- * <p>The ID of the VPC in which the target network (subnet) is located.</p>
6850
- */
6851
- VpcId?: string;
6852
- /**
6853
- * <p>The ID of the subnet specified as the target network.</p>
6854
- */
6855
- TargetNetworkId?: string;
6856
- /**
6857
- * <p>The ID of the Client VPN endpoint with which the target network is associated.</p>
6858
- */
6859
- ClientVpnEndpointId?: string;
6860
- /**
6861
- * <p>The current state of the target network association.</p>
6862
- */
6863
- Status?: AssociationStatus;
6864
- /**
6865
- * <p>The IDs of the security groups applied to the target network association.</p>
6866
- */
6867
- SecurityGroups?: string[];
6868
- }
6869
- export declare namespace TargetNetwork {
6870
- /**
6871
- * @internal
6872
- */
6873
- const filterSensitiveLog: (obj: TargetNetwork) => any;
6874
- }
6875
- export interface DescribeClientVpnTargetNetworksResult {
6876
- /**
6877
- * <p>Information about the associated target networks.</p>
6878
- */
6879
- ClientVpnTargetNetworks?: TargetNetwork[];
6880
- /**
6881
- * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
6882
- */
6883
- NextToken?: string;
6884
- }
6885
- export declare namespace DescribeClientVpnTargetNetworksResult {
6886
- /**
6887
- * @internal
6888
- */
6889
- const filterSensitiveLog: (obj: DescribeClientVpnTargetNetworksResult) => any;
6890
- }