@aws-sdk/client-ec2 3.261.0 → 3.264.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 (134) hide show
  1. package/dist-cjs/EC2.js +60 -0
  2. package/dist-cjs/commands/AssignPrivateNatGatewayAddressCommand.js +46 -0
  3. package/dist-cjs/commands/AssociateNatGatewayAddressCommand.js +46 -0
  4. package/dist-cjs/commands/CreateClientVpnEndpointCommand.js +3 -3
  5. package/dist-cjs/commands/CreateClientVpnRouteCommand.js +1 -2
  6. package/dist-cjs/commands/DeleteTrafficMirrorTargetCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteTransitGatewayCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteTransitGatewayConnectCommand.js +1 -2
  9. package/dist-cjs/commands/DescribeInstanceStatusCommand.js +1 -2
  10. package/dist-cjs/commands/DescribeInstancesCommand.js +2 -1
  11. package/dist-cjs/commands/DescribeVolumeStatusCommand.js +2 -1
  12. package/dist-cjs/commands/DisassociateNatGatewayAddressCommand.js +46 -0
  13. package/dist-cjs/commands/ModifyAvailabilityZoneGroupCommand.js +3 -3
  14. package/dist-cjs/commands/ModifyCapacityReservationCommand.js +3 -3
  15. package/dist-cjs/commands/ModifyCapacityReservationFleetCommand.js +3 -3
  16. package/dist-cjs/commands/RunInstancesCommand.js +2 -2
  17. package/dist-cjs/commands/UnassignIpv6AddressesCommand.js +2 -1
  18. package/dist-cjs/commands/UnassignPrivateIpAddressesCommand.js +2 -2
  19. package/dist-cjs/commands/UnassignPrivateNatGatewayAddressCommand.js +46 -0
  20. package/dist-cjs/commands/UnmonitorInstancesCommand.js +3 -3
  21. package/dist-cjs/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.js +3 -3
  22. package/dist-cjs/commands/index.js +4 -0
  23. package/dist-cjs/models/models_0.js +37 -34
  24. package/dist-cjs/models/models_1.js +34 -33
  25. package/dist-cjs/models/models_2.js +29 -26
  26. package/dist-cjs/models/models_3.js +26 -30
  27. package/dist-cjs/models/models_4.js +30 -30
  28. package/dist-cjs/models/models_5.js +38 -34
  29. package/dist-cjs/models/models_6.js +34 -34
  30. package/dist-cjs/models/models_7.js +37 -1
  31. package/dist-cjs/protocols/Aws_ec2.js +551 -161
  32. package/dist-es/EC2.js +60 -0
  33. package/dist-es/commands/AssignPrivateNatGatewayAddressCommand.js +42 -0
  34. package/dist-es/commands/AssociateNatGatewayAddressCommand.js +42 -0
  35. package/dist-es/commands/CreateClientVpnEndpointCommand.js +1 -1
  36. package/dist-es/commands/CreateClientVpnRouteCommand.js +1 -2
  37. package/dist-es/commands/DeleteTrafficMirrorTargetCommand.js +1 -1
  38. package/dist-es/commands/DeleteTransitGatewayCommand.js +1 -1
  39. package/dist-es/commands/DeleteTransitGatewayConnectCommand.js +1 -2
  40. package/dist-es/commands/DescribeInstanceStatusCommand.js +1 -2
  41. package/dist-es/commands/DescribeInstancesCommand.js +2 -1
  42. package/dist-es/commands/DescribeVolumeStatusCommand.js +2 -1
  43. package/dist-es/commands/DisassociateNatGatewayAddressCommand.js +42 -0
  44. package/dist-es/commands/ModifyAvailabilityZoneGroupCommand.js +1 -1
  45. package/dist-es/commands/ModifyCapacityReservationCommand.js +1 -1
  46. package/dist-es/commands/ModifyCapacityReservationFleetCommand.js +1 -1
  47. package/dist-es/commands/RunInstancesCommand.js +1 -1
  48. package/dist-es/commands/UnassignIpv6AddressesCommand.js +2 -1
  49. package/dist-es/commands/UnassignPrivateIpAddressesCommand.js +1 -1
  50. package/dist-es/commands/UnassignPrivateNatGatewayAddressCommand.js +42 -0
  51. package/dist-es/commands/UnmonitorInstancesCommand.js +1 -1
  52. package/dist-es/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.js +1 -1
  53. package/dist-es/commands/index.js +4 -0
  54. package/dist-es/models/models_0.js +26 -24
  55. package/dist-es/models/models_1.js +24 -23
  56. package/dist-es/models/models_2.js +20 -15
  57. package/dist-es/models/models_3.js +15 -20
  58. package/dist-es/models/models_4.js +20 -21
  59. package/dist-es/models/models_5.js +27 -21
  60. package/dist-es/models/models_6.js +21 -21
  61. package/dist-es/models/models_7.js +27 -0
  62. package/dist-es/protocols/Aws_ec2.js +520 -138
  63. package/dist-types/EC2.d.ts +50 -7
  64. package/dist-types/EC2Client.d.ts +6 -2
  65. package/dist-types/commands/AssignPrivateNatGatewayAddressCommand.d.ts +37 -0
  66. package/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
  67. package/dist-types/commands/AssociateNatGatewayAddressCommand.d.ts +38 -0
  68. package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  69. package/dist-types/commands/CreateClientVpnRouteCommand.d.ts +1 -2
  70. package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
  71. package/dist-types/commands/DeleteIpamResourceDiscoveryCommand.d.ts +1 -1
  72. package/dist-types/commands/DeleteTrafficMirrorTargetCommand.d.ts +1 -1
  73. package/dist-types/commands/DeleteTransitGatewayCommand.d.ts +1 -1
  74. package/dist-types/commands/DeleteTransitGatewayConnectCommand.d.ts +1 -2
  75. package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +1 -2
  76. package/dist-types/commands/DescribeInstancesCommand.d.ts +2 -1
  77. package/dist-types/commands/DescribeIpamResourceDiscoveriesCommand.d.ts +1 -1
  78. package/dist-types/commands/DescribeVolumeStatusCommand.d.ts +2 -1
  79. package/dist-types/commands/DisassociateIpamResourceDiscoveryCommand.d.ts +1 -1
  80. package/dist-types/commands/DisassociateNatGatewayAddressCommand.d.ts +43 -0
  81. package/dist-types/commands/GetIpamResourceCidrsCommand.d.ts +1 -1
  82. package/dist-types/commands/ModifyAvailabilityZoneGroupCommand.d.ts +1 -1
  83. package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +1 -1
  84. package/dist-types/commands/ModifyCapacityReservationFleetCommand.d.ts +1 -1
  85. package/dist-types/commands/ModifyIpamResourceDiscoveryCommand.d.ts +1 -1
  86. package/dist-types/commands/RunInstancesCommand.d.ts +1 -1
  87. package/dist-types/commands/UnassignIpv6AddressesCommand.d.ts +2 -1
  88. package/dist-types/commands/UnassignPrivateIpAddressesCommand.d.ts +1 -1
  89. package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +45 -0
  90. package/dist-types/commands/UnmonitorInstancesCommand.d.ts +1 -1
  91. package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +1 -1
  92. package/dist-types/commands/index.d.ts +4 -0
  93. package/dist-types/models/models_0.d.ts +134 -234
  94. package/dist-types/models/models_1.d.ts +236 -166
  95. package/dist-types/models/models_2.d.ts +154 -71
  96. package/dist-types/models/models_3.d.ts +68 -205
  97. package/dist-types/models/models_4.d.ts +208 -81
  98. package/dist-types/models/models_5.d.ts +124 -177
  99. package/dist-types/models/models_6.d.ts +181 -136
  100. package/dist-types/models/models_7.d.ts +167 -2
  101. package/dist-types/protocols/Aws_ec2.d.ts +12 -0
  102. package/dist-types/ts3.4/EC2.d.ts +68 -0
  103. package/dist-types/ts3.4/EC2Client.d.ts +24 -0
  104. package/dist-types/ts3.4/commands/AssignPrivateNatGatewayAddressCommand.d.ts +41 -0
  105. package/dist-types/ts3.4/commands/AssociateNatGatewayAddressCommand.d.ts +41 -0
  106. package/dist-types/ts3.4/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/CreateClientVpnRouteCommand.d.ts +4 -2
  108. package/dist-types/ts3.4/commands/DeleteTrafficMirrorTargetCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/DeleteTransitGatewayCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/DeleteTransitGatewayConnectCommand.d.ts +4 -2
  111. package/dist-types/ts3.4/commands/DescribeInstanceStatusCommand.d.ts +4 -2
  112. package/dist-types/ts3.4/commands/DescribeInstancesCommand.d.ts +2 -4
  113. package/dist-types/ts3.4/commands/DescribeVolumeStatusCommand.d.ts +2 -4
  114. package/dist-types/ts3.4/commands/DisassociateNatGatewayAddressCommand.d.ts +41 -0
  115. package/dist-types/ts3.4/commands/ModifyAvailabilityZoneGroupCommand.d.ts +1 -1
  116. package/dist-types/ts3.4/commands/ModifyCapacityReservationCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/ModifyCapacityReservationFleetCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/RunInstancesCommand.d.ts +1 -1
  119. package/dist-types/ts3.4/commands/UnassignIpv6AddressesCommand.d.ts +2 -4
  120. package/dist-types/ts3.4/commands/UnassignPrivateIpAddressesCommand.d.ts +1 -1
  121. package/dist-types/ts3.4/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +41 -0
  122. package/dist-types/ts3.4/commands/UnmonitorInstancesCommand.d.ts +1 -1
  123. package/dist-types/ts3.4/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  125. package/dist-types/ts3.4/models/models_0.d.ts +59 -65
  126. package/dist-types/ts3.4/models/models_1.d.ts +68 -53
  127. package/dist-types/ts3.4/models/models_2.d.ts +47 -36
  128. package/dist-types/ts3.4/models/models_3.d.ts +36 -46
  129. package/dist-types/ts3.4/models/models_4.d.ts +46 -38
  130. package/dist-types/ts3.4/models/models_5.d.ts +68 -64
  131. package/dist-types/ts3.4/models/models_6.d.ts +66 -62
  132. package/dist-types/ts3.4/models/models_7.d.ts +70 -2
  133. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +48 -0
  134. package/package.json +5 -5
@@ -1,5 +1,141 @@
1
- import { ApplianceModeSupportValue, CarrierGateway, ClientVpnEndpointStatus, DeviceTrustProviderType, DnsSupportValue, DynamicRoutingValue, InstanceEventWindowState, Ipv6SupportValue, Tag, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrustProviderType, UnsuccessfulItem, UserTrustProviderType, VerifiedAccessInstance, VerifiedAccessTrustProvider, VolumeAttachment, VpcAttachment, VpcPeeringConnection } from "./models_0";
2
- import { ClientVpnRouteStatus, CoipCidr, CoipPool, GatewayType, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, RouteTable, Subnet, Tenancy, VolumeType, Vpc } from "./models_1";
1
+ import { ApplianceModeSupportValue, CarrierGateway, DeviceTrustProviderType, DnsSupportValue, DynamicRoutingValue, InstanceEventWindowState, Ipv6SupportValue, Tag, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrustProviderType, UnsuccessfulItem, UserTrustProviderType, VerifiedAccessInstance, VerifiedAccessTrustProvider, VolumeAttachment, VpcAttachment, VpcPeeringConnection } from "./models_0";
2
+ import { ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, GatewayType, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, RouteTableAssociation, Subnet, Tenancy, VolumeType, Vpc } from "./models_1";
3
+ /**
4
+ * <p>Describes a virtual private gateway propagating route.</p>
5
+ */
6
+ export interface PropagatingVgw {
7
+ /**
8
+ * <p>The ID of the virtual private gateway.</p>
9
+ */
10
+ GatewayId?: string;
11
+ }
12
+ export declare enum RouteOrigin {
13
+ CreateRoute = "CreateRoute",
14
+ CreateRouteTable = "CreateRouteTable",
15
+ EnableVgwRoutePropagation = "EnableVgwRoutePropagation"
16
+ }
17
+ export declare enum RouteState {
18
+ active = "active",
19
+ blackhole = "blackhole"
20
+ }
21
+ /**
22
+ * <p>Describes a route in a route table.</p>
23
+ */
24
+ export interface Route {
25
+ /**
26
+ * <p>The IPv4 CIDR block used for the destination match.</p>
27
+ */
28
+ DestinationCidrBlock?: string;
29
+ /**
30
+ * <p>The IPv6 CIDR block used for the destination match.</p>
31
+ */
32
+ DestinationIpv6CidrBlock?: string;
33
+ /**
34
+ * <p>The prefix of the Amazon Web Service.</p>
35
+ */
36
+ DestinationPrefixListId?: string;
37
+ /**
38
+ * <p>The ID of the egress-only internet gateway.</p>
39
+ */
40
+ EgressOnlyInternetGatewayId?: string;
41
+ /**
42
+ * <p>The ID of a gateway attached to your VPC.</p>
43
+ */
44
+ GatewayId?: string;
45
+ /**
46
+ * <p>The ID of a NAT instance in your VPC.</p>
47
+ */
48
+ InstanceId?: string;
49
+ /**
50
+ * <p>The ID of Amazon Web Services account that owns the instance.</p>
51
+ */
52
+ InstanceOwnerId?: string;
53
+ /**
54
+ * <p>The ID of a NAT gateway.</p>
55
+ */
56
+ NatGatewayId?: string;
57
+ /**
58
+ * <p>The ID of a transit gateway.</p>
59
+ */
60
+ TransitGatewayId?: string;
61
+ /**
62
+ * <p>The ID of the local gateway.</p>
63
+ */
64
+ LocalGatewayId?: string;
65
+ /**
66
+ * <p>The ID of the carrier gateway.</p>
67
+ */
68
+ CarrierGatewayId?: string;
69
+ /**
70
+ * <p>The ID of the network interface.</p>
71
+ */
72
+ NetworkInterfaceId?: string;
73
+ /**
74
+ * <p>Describes how the route was created.</p>
75
+ * <ul>
76
+ * <li>
77
+ * <p>
78
+ * <code>CreateRouteTable</code> - The route was automatically created when the route table was created.</p>
79
+ * </li>
80
+ * <li>
81
+ * <p>
82
+ * <code>CreateRoute</code> - The route was manually added to the route table.</p>
83
+ * </li>
84
+ * <li>
85
+ * <p>
86
+ * <code>EnableVgwRoutePropagation</code> - The route was propagated by route propagation.</p>
87
+ * </li>
88
+ * </ul>
89
+ */
90
+ Origin?: RouteOrigin | string;
91
+ /**
92
+ * <p>The state of the route. The <code>blackhole</code> state indicates that the
93
+ * route's target isn't available (for example, the specified gateway isn't attached to the
94
+ * VPC, or the specified NAT instance has been terminated).</p>
95
+ */
96
+ State?: RouteState | string;
97
+ /**
98
+ * <p>The ID of a VPC peering connection.</p>
99
+ */
100
+ VpcPeeringConnectionId?: string;
101
+ /**
102
+ * <p>The Amazon Resource Name (ARN) of the core network.</p>
103
+ */
104
+ CoreNetworkArn?: string;
105
+ }
106
+ /**
107
+ * <p>Describes a route table.</p>
108
+ */
109
+ export interface RouteTable {
110
+ /**
111
+ * <p>The associations between the route table and one or more subnets or a gateway.</p>
112
+ */
113
+ Associations?: RouteTableAssociation[];
114
+ /**
115
+ * <p>Any virtual private gateway (VGW) propagating routes.</p>
116
+ */
117
+ PropagatingVgws?: PropagatingVgw[];
118
+ /**
119
+ * <p>The ID of the route table.</p>
120
+ */
121
+ RouteTableId?: string;
122
+ /**
123
+ * <p>The routes in the route table.</p>
124
+ */
125
+ Routes?: Route[];
126
+ /**
127
+ * <p>Any tags assigned to the route table.</p>
128
+ */
129
+ Tags?: Tag[];
130
+ /**
131
+ * <p>The ID of the VPC.</p>
132
+ */
133
+ VpcId?: string;
134
+ /**
135
+ * <p>The ID of the Amazon Web Services account that owns the route table.</p>
136
+ */
137
+ OwnerId?: string;
138
+ }
3
139
  export interface CreateRouteTableResult {
4
140
  /**
5
141
  * <p>Information about the route table.</p>
@@ -2577,6 +2713,9 @@ export interface CreateVolumeRequest {
2577
2713
  * </p>
2578
2714
  * </li>
2579
2715
  * </ul>
2716
+ * <important>
2717
+ * <p>Throughput Optimized HDD (<code>st1</code>) and Cold HDD (<code>sc1</code>) volumes can't be used as boot volumes.</p>
2718
+ * </important>
2580
2719
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html">Amazon EBS volume types</a> in the
2581
2720
  * <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
2582
2721
  * <p>Default: <code>gp2</code>
@@ -3297,7 +3436,7 @@ export interface CreateVpcPeeringConnectionRequest {
3297
3436
  * <p>The ID of the requester VPC. You must specify this parameter in the
3298
3437
  * request.</p>
3299
3438
  */
3300
- VpcId?: string;
3439
+ VpcId: string | undefined;
3301
3440
  /**
3302
3441
  * <p>The Region code for the accepter VPC, if the accepter VPC is located in a Region
3303
3442
  * other than the Region in which you make the request.</p>
@@ -5290,54 +5429,18 @@ export interface DeleteTrafficMirrorSessionResult {
5290
5429
  */
5291
5430
  TrafficMirrorSessionId?: string;
5292
5431
  }
5293
- export interface DeleteTrafficMirrorTargetRequest {
5294
- /**
5295
- * <p>The ID of the Traffic Mirror target.</p>
5296
- */
5297
- TrafficMirrorTargetId: string | undefined;
5298
- /**
5299
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
5300
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
5301
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5302
- */
5303
- DryRun?: boolean;
5304
- }
5305
- export interface DeleteTrafficMirrorTargetResult {
5306
- /**
5307
- * <p>The ID of the deleted Traffic Mirror target.</p>
5308
- */
5309
- TrafficMirrorTargetId?: string;
5310
- }
5311
- export interface DeleteTransitGatewayRequest {
5312
- /**
5313
- * <p>The ID of the transit gateway.</p>
5314
- */
5315
- TransitGatewayId: string | undefined;
5316
- /**
5317
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
5318
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
5319
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5320
- */
5321
- DryRun?: boolean;
5322
- }
5323
- export interface DeleteTransitGatewayResult {
5324
- /**
5325
- * <p>Information about the deleted transit gateway.</p>
5326
- */
5327
- TransitGateway?: TransitGateway;
5328
- }
5329
- export interface DeleteTransitGatewayConnectRequest {
5330
- /**
5331
- * <p>The ID of the Connect attachment.</p>
5332
- */
5333
- TransitGatewayAttachmentId: string | undefined;
5334
- /**
5335
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
5336
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
5337
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5338
- */
5339
- DryRun?: boolean;
5340
- }
5432
+ /**
5433
+ * @internal
5434
+ */
5435
+ export declare const PropagatingVgwFilterSensitiveLog: (obj: PropagatingVgw) => any;
5436
+ /**
5437
+ * @internal
5438
+ */
5439
+ export declare const RouteFilterSensitiveLog: (obj: Route) => any;
5440
+ /**
5441
+ * @internal
5442
+ */
5443
+ export declare const RouteTableFilterSensitiveLog: (obj: RouteTable) => any;
5341
5444
  /**
5342
5445
  * @internal
5343
5446
  */
@@ -6302,23 +6405,3 @@ export declare const DeleteTrafficMirrorSessionRequestFilterSensitiveLog: (obj:
6302
6405
  * @internal
6303
6406
  */
6304
6407
  export declare const DeleteTrafficMirrorSessionResultFilterSensitiveLog: (obj: DeleteTrafficMirrorSessionResult) => any;
6305
- /**
6306
- * @internal
6307
- */
6308
- export declare const DeleteTrafficMirrorTargetRequestFilterSensitiveLog: (obj: DeleteTrafficMirrorTargetRequest) => any;
6309
- /**
6310
- * @internal
6311
- */
6312
- export declare const DeleteTrafficMirrorTargetResultFilterSensitiveLog: (obj: DeleteTrafficMirrorTargetResult) => any;
6313
- /**
6314
- * @internal
6315
- */
6316
- export declare const DeleteTransitGatewayRequestFilterSensitiveLog: (obj: DeleteTransitGatewayRequest) => any;
6317
- /**
6318
- * @internal
6319
- */
6320
- export declare const DeleteTransitGatewayResultFilterSensitiveLog: (obj: DeleteTransitGatewayResult) => any;
6321
- /**
6322
- * @internal
6323
- */
6324
- export declare const DeleteTransitGatewayConnectRequestFilterSensitiveLog: (obj: DeleteTransitGatewayConnectRequest) => any;
@@ -1,6 +1,54 @@
1
- import { _InstanceType, AccountAttribute, AccountAttributeName, ActiveInstance, Address, AddressAttribute, AddressAttributeName, AddressTransfer, AllocationState, AllowsMultipleInstanceTypes, AssociationStatus, AttachmentStatus, AutoPlacement, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationFleetState, CarrierGateway, ClientVpnAuthenticationType, ClientVpnAuthorizationRuleStatus, ClientVpnEndpointStatus, CurrencyCodeValues, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, HostRecovery, IamInstanceProfile, IamInstanceProfileAssociation, InstanceEventWindow, Tag, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TransportProtocol, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
2
- import { AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, ClientVpnRouteStatus, CoipPool, CustomerGateway, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, GroupIdentifier, HostnameType, InstanceIpv6Address, InstanceLifecycle, LaunchTemplateAndOverridesResponse, LogDestinationType, NetworkInterfaceStatus, Placement, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, StateReason, TargetCapacityUnitType, TrafficType } from "./models_1";
3
- import { FleetStateCode, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup } from "./models_2";
1
+ import { _InstanceType, AccountAttribute, AccountAttributeName, ActiveInstance, Address, AddressAttribute, AddressAttributeName, AddressTransfer, AllocationState, AllowsMultipleInstanceTypes, AssociationStatus, AttachmentStatus, AutoPlacement, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationFleetState, CarrierGateway, ClientVpnAuthenticationType, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, HostRecovery, IamInstanceProfile, IamInstanceProfileAssociation, InstanceEventWindow, Tag, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
2
+ import { AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, GroupIdentifier, HostnameType, InstanceIpv6Address, InstanceLifecycle, LaunchTemplateAndOverridesResponse, LogDestinationType, NetworkInterfaceStatus, Placement, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, StateReason, TargetCapacityUnitType, TrafficType, TransportProtocol } from "./models_1";
3
+ import { FleetStateCode, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup } from "./models_2";
4
+ export interface DeleteTrafficMirrorTargetRequest {
5
+ /**
6
+ * <p>The ID of the Traffic Mirror target.</p>
7
+ */
8
+ TrafficMirrorTargetId: string | undefined;
9
+ /**
10
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
11
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
12
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
13
+ */
14
+ DryRun?: boolean;
15
+ }
16
+ export interface DeleteTrafficMirrorTargetResult {
17
+ /**
18
+ * <p>The ID of the deleted Traffic Mirror target.</p>
19
+ */
20
+ TrafficMirrorTargetId?: string;
21
+ }
22
+ export interface DeleteTransitGatewayRequest {
23
+ /**
24
+ * <p>The ID of the transit gateway.</p>
25
+ */
26
+ TransitGatewayId: string | undefined;
27
+ /**
28
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
29
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
30
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
31
+ */
32
+ DryRun?: boolean;
33
+ }
34
+ export interface DeleteTransitGatewayResult {
35
+ /**
36
+ * <p>Information about the deleted transit gateway.</p>
37
+ */
38
+ TransitGateway?: TransitGateway;
39
+ }
40
+ export interface DeleteTransitGatewayConnectRequest {
41
+ /**
42
+ * <p>The ID of the Connect attachment.</p>
43
+ */
44
+ TransitGatewayAttachmentId: string | undefined;
45
+ /**
46
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
47
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
48
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
49
+ */
50
+ DryRun?: boolean;
51
+ }
4
52
  export interface DeleteTransitGatewayConnectResult {
5
53
  /**
6
54
  * <p>Information about the deleted Connect attachment.</p>
@@ -3928,6 +3976,7 @@ export interface FleetData {
3928
3976
  /**
3929
3977
  * <p>Indicates whether running instances should be terminated if the target capacity of the
3930
3978
  * EC2 Fleet is decreased below the current size of the EC2 Fleet.</p>
3979
+ * <p>Supported only for fleets of type <code>maintain</code>.</p>
3931
3980
  */
3932
3981
  ExcessCapacityTerminationPolicy?: FleetExcessCapacityTerminationPolicy | string;
3933
3982
  /**
@@ -7466,195 +7515,25 @@ export interface Instance {
7466
7515
  MaintenanceOptions?: InstanceMaintenanceOptions;
7467
7516
  }
7468
7517
  /**
7469
- * <p>Describes a launch request for one or more instances, and includes owner, requester,
7470
- * and security group information that applies to all instances in the launch
7471
- * request.</p>
7518
+ * @internal
7472
7519
  */
7473
- export interface Reservation {
7474
- /**
7475
- * <p>[EC2-Classic only] The security groups.</p>
7476
- */
7477
- Groups?: GroupIdentifier[];
7478
- /**
7479
- * <p>The instances.</p>
7480
- */
7481
- Instances?: Instance[];
7482
- /**
7483
- * <p>The ID of the Amazon Web Services account that owns the reservation.</p>
7484
- */
7485
- OwnerId?: string;
7486
- /**
7487
- * <p>The ID of the requester that launched the instances on your behalf (for example,
7488
- * Amazon Web Services Management Console or Auto Scaling).</p>
7489
- */
7490
- RequesterId?: string;
7491
- /**
7492
- * <p>The ID of the reservation.</p>
7493
- */
7494
- ReservationId?: string;
7495
- }
7496
- export interface DescribeInstancesResult {
7497
- /**
7498
- * <p>Information about the reservations.</p>
7499
- */
7500
- Reservations?: Reservation[];
7501
- /**
7502
- * <p>The token to use to retrieve the next page of results. This value is <code>null</code>
7503
- * when there are no more results to return.</p>
7504
- */
7505
- NextToken?: string;
7506
- }
7507
- export interface DescribeInstanceStatusRequest {
7508
- /**
7509
- * <p>The filters.</p>
7510
- * <ul>
7511
- * <li>
7512
- * <p>
7513
- * <code>availability-zone</code> - The Availability Zone of the instance.</p>
7514
- * </li>
7515
- * <li>
7516
- * <p>
7517
- * <code>event.code</code> - The code for the scheduled event
7518
- * (<code>instance-reboot</code> | <code>system-reboot</code> |
7519
- * <code>system-maintenance</code> | <code>instance-retirement</code> |
7520
- * <code>instance-stop</code>).</p>
7521
- * </li>
7522
- * <li>
7523
- * <p>
7524
- * <code>event.description</code> - A description of the event.</p>
7525
- * </li>
7526
- * <li>
7527
- * <p>
7528
- * <code>event.instance-event-id</code> - The ID of the event whose date and time
7529
- * you are modifying.</p>
7530
- * </li>
7531
- * <li>
7532
- * <p>
7533
- * <code>event.not-after</code> - The latest end time for the scheduled event
7534
- * (for example, <code>2014-09-15T17:15:20.000Z</code>).</p>
7535
- * </li>
7536
- * <li>
7537
- * <p>
7538
- * <code>event.not-before</code> - The earliest start time for the scheduled
7539
- * event (for example, <code>2014-09-15T17:15:20.000Z</code>).</p>
7540
- * </li>
7541
- * <li>
7542
- * <p>
7543
- * <code>event.not-before-deadline</code> - The deadline for starting the event
7544
- * (for example, <code>2014-09-15T17:15:20.000Z</code>).</p>
7545
- * </li>
7546
- * <li>
7547
- * <p>
7548
- * <code>instance-state-code</code> - The code for the instance state, as a
7549
- * 16-bit unsigned integer. The high byte is used for internal purposes and should
7550
- * be ignored. The low byte is set based on the state represented. The valid values
7551
- * are 0 (pending), 16 (running), 32 (shutting-down), 48 (terminated), 64
7552
- * (stopping), and 80 (stopped).</p>
7553
- * </li>
7554
- * <li>
7555
- * <p>
7556
- * <code>instance-state-name</code> - The state of the instance
7557
- * (<code>pending</code> | <code>running</code> | <code>shutting-down</code> |
7558
- * <code>terminated</code> | <code>stopping</code> |
7559
- * <code>stopped</code>).</p>
7560
- * </li>
7561
- * <li>
7562
- * <p>
7563
- * <code>instance-status.reachability</code> - Filters on instance status where
7564
- * the name is <code>reachability</code> (<code>passed</code> | <code>failed</code>
7565
- * | <code>initializing</code> | <code>insufficient-data</code>).</p>
7566
- * </li>
7567
- * <li>
7568
- * <p>
7569
- * <code>instance-status.status</code> - The status of the instance
7570
- * (<code>ok</code> | <code>impaired</code> | <code>initializing</code> |
7571
- * <code>insufficient-data</code> | <code>not-applicable</code>).</p>
7572
- * </li>
7573
- * <li>
7574
- * <p>
7575
- * <code>system-status.reachability</code> - Filters on system status where the
7576
- * name is <code>reachability</code> (<code>passed</code> | <code>failed</code> |
7577
- * <code>initializing</code> | <code>insufficient-data</code>).</p>
7578
- * </li>
7579
- * <li>
7580
- * <p>
7581
- * <code>system-status.status</code> - The system status of the instance
7582
- * (<code>ok</code> | <code>impaired</code> | <code>initializing</code> |
7583
- * <code>insufficient-data</code> | <code>not-applicable</code>).</p>
7584
- * </li>
7585
- * </ul>
7586
- */
7587
- Filters?: Filter[];
7588
- /**
7589
- * <p>The instance IDs.</p>
7590
- * <p>Default: Describes all your instances.</p>
7591
- * <p>Constraints: Maximum 100 explicitly specified instance IDs.</p>
7592
- */
7593
- InstanceIds?: string[];
7594
- /**
7595
- * <p>The maximum number of results to return in a single call. To retrieve the remaining
7596
- * results, make another call with the returned <code>NextToken</code> value. This value
7597
- * can be between 5 and 1000. You cannot specify this parameter and the instance IDs
7598
- * parameter in the same call.</p>
7599
- */
7600
- MaxResults?: number;
7601
- /**
7602
- * <p>The token to retrieve the next page of results.</p>
7603
- */
7604
- NextToken?: string;
7605
- /**
7606
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7607
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7608
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7609
- */
7610
- DryRun?: boolean;
7611
- /**
7612
- * <p>When <code>true</code>, includes the health status for all instances. When
7613
- * <code>false</code>, includes the health status for running instances only.</p>
7614
- * <p>Default: <code>false</code>
7615
- * </p>
7616
- */
7617
- IncludeAllInstances?: boolean;
7618
- }
7619
- export declare enum EventCode {
7620
- instance_reboot = "instance-reboot",
7621
- instance_retirement = "instance-retirement",
7622
- instance_stop = "instance-stop",
7623
- system_maintenance = "system-maintenance",
7624
- system_reboot = "system-reboot"
7625
- }
7520
+ export declare const DeleteTrafficMirrorTargetRequestFilterSensitiveLog: (obj: DeleteTrafficMirrorTargetRequest) => any;
7626
7521
  /**
7627
- * <p>Describes a scheduled event for an instance.</p>
7522
+ * @internal
7628
7523
  */
7629
- export interface InstanceStatusEvent {
7630
- /**
7631
- * <p>The ID of the event.</p>
7632
- */
7633
- InstanceEventId?: string;
7634
- /**
7635
- * <p>The event code.</p>
7636
- */
7637
- Code?: EventCode | string;
7638
- /**
7639
- * <p>A description of the event.</p>
7640
- * <p>After a scheduled event is completed, it can still be described for up to a week. If
7641
- * the event has been completed, this description starts with the following text:
7642
- * [Completed].</p>
7643
- */
7644
- Description?: string;
7645
- /**
7646
- * <p>The latest scheduled end time for the event.</p>
7647
- */
7648
- NotAfter?: Date;
7649
- /**
7650
- * <p>The earliest scheduled start time for the event.</p>
7651
- */
7652
- NotBefore?: Date;
7653
- /**
7654
- * <p>The deadline for starting the event.</p>
7655
- */
7656
- NotBeforeDeadline?: Date;
7657
- }
7524
+ export declare const DeleteTrafficMirrorTargetResultFilterSensitiveLog: (obj: DeleteTrafficMirrorTargetResult) => any;
7525
+ /**
7526
+ * @internal
7527
+ */
7528
+ export declare const DeleteTransitGatewayRequestFilterSensitiveLog: (obj: DeleteTransitGatewayRequest) => any;
7529
+ /**
7530
+ * @internal
7531
+ */
7532
+ export declare const DeleteTransitGatewayResultFilterSensitiveLog: (obj: DeleteTransitGatewayResult) => any;
7533
+ /**
7534
+ * @internal
7535
+ */
7536
+ export declare const DeleteTransitGatewayConnectRequestFilterSensitiveLog: (obj: DeleteTransitGatewayConnectRequest) => any;
7658
7537
  /**
7659
7538
  * @internal
7660
7539
  */
@@ -8655,19 +8534,3 @@ export declare const InstanceStateFilterSensitiveLog: (obj: InstanceState) => an
8655
8534
  * @internal
8656
8535
  */
8657
8536
  export declare const InstanceFilterSensitiveLog: (obj: Instance) => any;
8658
- /**
8659
- * @internal
8660
- */
8661
- export declare const ReservationFilterSensitiveLog: (obj: Reservation) => any;
8662
- /**
8663
- * @internal
8664
- */
8665
- export declare const DescribeInstancesResultFilterSensitiveLog: (obj: DescribeInstancesResult) => any;
8666
- /**
8667
- * @internal
8668
- */
8669
- export declare const DescribeInstanceStatusRequestFilterSensitiveLog: (obj: DescribeInstanceStatusRequest) => any;
8670
- /**
8671
- * @internal
8672
- */
8673
- export declare const InstanceStatusEventFilterSensitiveLog: (obj: InstanceStatusEvent) => any;