@aws-sdk/client-ec2 3.261.0 → 3.262.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 (127) 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 +43 -0
  64. package/dist-types/EC2Client.d.ts +6 -2
  65. package/dist-types/commands/AssignPrivateNatGatewayAddressCommand.d.ts +37 -0
  66. package/dist-types/commands/AssociateNatGatewayAddressCommand.d.ts +38 -0
  67. package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  68. package/dist-types/commands/CreateClientVpnRouteCommand.d.ts +1 -2
  69. package/dist-types/commands/DeleteTrafficMirrorTargetCommand.d.ts +1 -1
  70. package/dist-types/commands/DeleteTransitGatewayCommand.d.ts +1 -1
  71. package/dist-types/commands/DeleteTransitGatewayConnectCommand.d.ts +1 -2
  72. package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +1 -2
  73. package/dist-types/commands/DescribeInstancesCommand.d.ts +2 -1
  74. package/dist-types/commands/DescribeVolumeStatusCommand.d.ts +2 -1
  75. package/dist-types/commands/DisassociateNatGatewayAddressCommand.d.ts +43 -0
  76. package/dist-types/commands/ModifyAvailabilityZoneGroupCommand.d.ts +1 -1
  77. package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +1 -1
  78. package/dist-types/commands/ModifyCapacityReservationFleetCommand.d.ts +1 -1
  79. package/dist-types/commands/RunInstancesCommand.d.ts +1 -1
  80. package/dist-types/commands/UnassignIpv6AddressesCommand.d.ts +2 -1
  81. package/dist-types/commands/UnassignPrivateIpAddressesCommand.d.ts +1 -1
  82. package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +45 -0
  83. package/dist-types/commands/UnmonitorInstancesCommand.d.ts +1 -1
  84. package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +1 -1
  85. package/dist-types/commands/index.d.ts +4 -0
  86. package/dist-types/models/models_0.d.ts +125 -226
  87. package/dist-types/models/models_1.d.ts +228 -163
  88. package/dist-types/models/models_2.d.ts +150 -70
  89. package/dist-types/models/models_3.d.ts +67 -205
  90. package/dist-types/models/models_4.d.ts +205 -78
  91. package/dist-types/models/models_5.d.ts +117 -170
  92. package/dist-types/models/models_6.d.ts +170 -127
  93. package/dist-types/models/models_7.d.ts +167 -2
  94. package/dist-types/protocols/Aws_ec2.d.ts +12 -0
  95. package/dist-types/ts3.4/EC2.d.ts +68 -0
  96. package/dist-types/ts3.4/EC2Client.d.ts +24 -0
  97. package/dist-types/ts3.4/commands/AssignPrivateNatGatewayAddressCommand.d.ts +41 -0
  98. package/dist-types/ts3.4/commands/AssociateNatGatewayAddressCommand.d.ts +41 -0
  99. package/dist-types/ts3.4/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/CreateClientVpnRouteCommand.d.ts +4 -2
  101. package/dist-types/ts3.4/commands/DeleteTrafficMirrorTargetCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/DeleteTransitGatewayCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/DeleteTransitGatewayConnectCommand.d.ts +4 -2
  104. package/dist-types/ts3.4/commands/DescribeInstanceStatusCommand.d.ts +4 -2
  105. package/dist-types/ts3.4/commands/DescribeInstancesCommand.d.ts +2 -4
  106. package/dist-types/ts3.4/commands/DescribeVolumeStatusCommand.d.ts +2 -4
  107. package/dist-types/ts3.4/commands/DisassociateNatGatewayAddressCommand.d.ts +41 -0
  108. package/dist-types/ts3.4/commands/ModifyAvailabilityZoneGroupCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/ModifyCapacityReservationCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/ModifyCapacityReservationFleetCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/RunInstancesCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/UnassignIpv6AddressesCommand.d.ts +2 -4
  113. package/dist-types/ts3.4/commands/UnassignPrivateIpAddressesCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +41 -0
  115. package/dist-types/ts3.4/commands/UnmonitorInstancesCommand.d.ts +1 -1
  116. package/dist-types/ts3.4/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  118. package/dist-types/ts3.4/models/models_0.d.ts +53 -59
  119. package/dist-types/ts3.4/models/models_1.d.ts +68 -53
  120. package/dist-types/ts3.4/models/models_2.d.ts +46 -35
  121. package/dist-types/ts3.4/models/models_3.d.ts +36 -46
  122. package/dist-types/ts3.4/models/models_4.d.ts +46 -38
  123. package/dist-types/ts3.4/models/models_5.d.ts +61 -57
  124. package/dist-types/ts3.4/models/models_6.d.ts +58 -54
  125. package/dist-types/ts3.4/models/models_7.d.ts +70 -2
  126. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +48 -0
  127. package/package.json +2 -2
@@ -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>
@@ -7466,195 +7514,25 @@ export interface Instance {
7466
7514
  MaintenanceOptions?: InstanceMaintenanceOptions;
7467
7515
  }
7468
7516
  /**
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>
7517
+ * @internal
7472
7518
  */
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
- }
7519
+ export declare const DeleteTrafficMirrorTargetRequestFilterSensitiveLog: (obj: DeleteTrafficMirrorTargetRequest) => any;
7626
7520
  /**
7627
- * <p>Describes a scheduled event for an instance.</p>
7521
+ * @internal
7628
7522
  */
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
- }
7523
+ export declare const DeleteTrafficMirrorTargetResultFilterSensitiveLog: (obj: DeleteTrafficMirrorTargetResult) => any;
7524
+ /**
7525
+ * @internal
7526
+ */
7527
+ export declare const DeleteTransitGatewayRequestFilterSensitiveLog: (obj: DeleteTransitGatewayRequest) => any;
7528
+ /**
7529
+ * @internal
7530
+ */
7531
+ export declare const DeleteTransitGatewayResultFilterSensitiveLog: (obj: DeleteTransitGatewayResult) => any;
7532
+ /**
7533
+ * @internal
7534
+ */
7535
+ export declare const DeleteTransitGatewayConnectRequestFilterSensitiveLog: (obj: DeleteTransitGatewayConnectRequest) => any;
7658
7536
  /**
7659
7537
  * @internal
7660
7538
  */
@@ -8655,19 +8533,3 @@ export declare const InstanceStateFilterSensitiveLog: (obj: InstanceState) => an
8655
8533
  * @internal
8656
8534
  */
8657
8535
  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;
@@ -1,7 +1,197 @@
1
1
  import { _InstanceType, ActiveInstance, ActivityStatus, AllocationStrategy, AlternatePathHint, BatchState, CurrencyCodeValues, Explanation, IamInstanceProfileSpecification, IpamResourceDiscoveryAssociation, IpPermission, PathComponent, ReservedInstancesListing, ResourceType, SecurityGroupRule, Tag, TagSpecification, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
2
- import { AttributeValue, BlockDeviceMapping, FleetLaunchTemplateSpecification, FleetType, GroupIdentifier, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, InternetGateway, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, KeyType, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, PlacementGroup, PrivateIpAddressSpecification, ReplaceRootVolumeTask, RouteTable, SpotInstanceType, Subnet, TargetCapacityUnitType, Tenancy, VolumeType } from "./models_1";
3
- import { Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, StorageTier, TrafficMirrorFilter, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, Volume } from "./models_2";
4
- import { AttributeBooleanValue, EventInformation, Filter, IdFormat, InstanceState, InstanceStatusEvent, PermissionGroup, ProductCode, VirtualizationType } from "./models_3";
2
+ import { AttributeValue, BlockDeviceMapping, FleetLaunchTemplateSpecification, FleetType, GroupIdentifier, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, InternetGateway, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, KeyType, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, PlacementGroup, PrivateIpAddressSpecification, ReplaceRootVolumeTask, SpotInstanceType, Subnet, TargetCapacityUnitType, Tenancy, VolumeType } from "./models_1";
3
+ import { RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, StorageTier, TrafficMirrorFilter, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, Volume } from "./models_2";
4
+ import { AttributeBooleanValue, EventInformation, Filter, IdFormat, Instance, InstanceState, PermissionGroup, ProductCode, VirtualizationType } from "./models_3";
5
+ /**
6
+ * <p>Describes a launch request for one or more instances, and includes owner, requester,
7
+ * and security group information that applies to all instances in the launch
8
+ * request.</p>
9
+ */
10
+ export interface Reservation {
11
+ /**
12
+ * <p>[EC2-Classic only] The security groups.</p>
13
+ */
14
+ Groups?: GroupIdentifier[];
15
+ /**
16
+ * <p>The instances.</p>
17
+ */
18
+ Instances?: Instance[];
19
+ /**
20
+ * <p>The ID of the Amazon Web Services account that owns the reservation.</p>
21
+ */
22
+ OwnerId?: string;
23
+ /**
24
+ * <p>The ID of the requester that launched the instances on your behalf (for example,
25
+ * Amazon Web Services Management Console or Auto Scaling).</p>
26
+ */
27
+ RequesterId?: string;
28
+ /**
29
+ * <p>The ID of the reservation.</p>
30
+ */
31
+ ReservationId?: string;
32
+ }
33
+ export interface DescribeInstancesResult {
34
+ /**
35
+ * <p>Information about the reservations.</p>
36
+ */
37
+ Reservations?: Reservation[];
38
+ /**
39
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code>
40
+ * when there are no more results to return.</p>
41
+ */
42
+ NextToken?: string;
43
+ }
44
+ export interface DescribeInstanceStatusRequest {
45
+ /**
46
+ * <p>The filters.</p>
47
+ * <ul>
48
+ * <li>
49
+ * <p>
50
+ * <code>availability-zone</code> - The Availability Zone of the instance.</p>
51
+ * </li>
52
+ * <li>
53
+ * <p>
54
+ * <code>event.code</code> - The code for the scheduled event
55
+ * (<code>instance-reboot</code> | <code>system-reboot</code> |
56
+ * <code>system-maintenance</code> | <code>instance-retirement</code> |
57
+ * <code>instance-stop</code>).</p>
58
+ * </li>
59
+ * <li>
60
+ * <p>
61
+ * <code>event.description</code> - A description of the event.</p>
62
+ * </li>
63
+ * <li>
64
+ * <p>
65
+ * <code>event.instance-event-id</code> - The ID of the event whose date and time
66
+ * you are modifying.</p>
67
+ * </li>
68
+ * <li>
69
+ * <p>
70
+ * <code>event.not-after</code> - The latest end time for the scheduled event
71
+ * (for example, <code>2014-09-15T17:15:20.000Z</code>).</p>
72
+ * </li>
73
+ * <li>
74
+ * <p>
75
+ * <code>event.not-before</code> - The earliest start time for the scheduled
76
+ * event (for example, <code>2014-09-15T17:15:20.000Z</code>).</p>
77
+ * </li>
78
+ * <li>
79
+ * <p>
80
+ * <code>event.not-before-deadline</code> - The deadline for starting the event
81
+ * (for example, <code>2014-09-15T17:15:20.000Z</code>).</p>
82
+ * </li>
83
+ * <li>
84
+ * <p>
85
+ * <code>instance-state-code</code> - The code for the instance state, as a
86
+ * 16-bit unsigned integer. The high byte is used for internal purposes and should
87
+ * be ignored. The low byte is set based on the state represented. The valid values
88
+ * are 0 (pending), 16 (running), 32 (shutting-down), 48 (terminated), 64
89
+ * (stopping), and 80 (stopped).</p>
90
+ * </li>
91
+ * <li>
92
+ * <p>
93
+ * <code>instance-state-name</code> - The state of the instance
94
+ * (<code>pending</code> | <code>running</code> | <code>shutting-down</code> |
95
+ * <code>terminated</code> | <code>stopping</code> |
96
+ * <code>stopped</code>).</p>
97
+ * </li>
98
+ * <li>
99
+ * <p>
100
+ * <code>instance-status.reachability</code> - Filters on instance status where
101
+ * the name is <code>reachability</code> (<code>passed</code> | <code>failed</code>
102
+ * | <code>initializing</code> | <code>insufficient-data</code>).</p>
103
+ * </li>
104
+ * <li>
105
+ * <p>
106
+ * <code>instance-status.status</code> - The status of the instance
107
+ * (<code>ok</code> | <code>impaired</code> | <code>initializing</code> |
108
+ * <code>insufficient-data</code> | <code>not-applicable</code>).</p>
109
+ * </li>
110
+ * <li>
111
+ * <p>
112
+ * <code>system-status.reachability</code> - Filters on system status where the
113
+ * name is <code>reachability</code> (<code>passed</code> | <code>failed</code> |
114
+ * <code>initializing</code> | <code>insufficient-data</code>).</p>
115
+ * </li>
116
+ * <li>
117
+ * <p>
118
+ * <code>system-status.status</code> - The system status of the instance
119
+ * (<code>ok</code> | <code>impaired</code> | <code>initializing</code> |
120
+ * <code>insufficient-data</code> | <code>not-applicable</code>).</p>
121
+ * </li>
122
+ * </ul>
123
+ */
124
+ Filters?: Filter[];
125
+ /**
126
+ * <p>The instance IDs.</p>
127
+ * <p>Default: Describes all your instances.</p>
128
+ * <p>Constraints: Maximum 100 explicitly specified instance IDs.</p>
129
+ */
130
+ InstanceIds?: string[];
131
+ /**
132
+ * <p>The maximum number of results to return in a single call. To retrieve the remaining
133
+ * results, make another call with the returned <code>NextToken</code> value. This value
134
+ * can be between 5 and 1000. You cannot specify this parameter and the instance IDs
135
+ * parameter in the same call.</p>
136
+ */
137
+ MaxResults?: number;
138
+ /**
139
+ * <p>The token to retrieve the next page of results.</p>
140
+ */
141
+ NextToken?: string;
142
+ /**
143
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
144
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
145
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
146
+ */
147
+ DryRun?: boolean;
148
+ /**
149
+ * <p>When <code>true</code>, includes the health status for all instances. When
150
+ * <code>false</code>, includes the health status for running instances only.</p>
151
+ * <p>Default: <code>false</code>
152
+ * </p>
153
+ */
154
+ IncludeAllInstances?: boolean;
155
+ }
156
+ export declare enum EventCode {
157
+ instance_reboot = "instance-reboot",
158
+ instance_retirement = "instance-retirement",
159
+ instance_stop = "instance-stop",
160
+ system_maintenance = "system-maintenance",
161
+ system_reboot = "system-reboot"
162
+ }
163
+ /**
164
+ * <p>Describes a scheduled event for an instance.</p>
165
+ */
166
+ export interface InstanceStatusEvent {
167
+ /**
168
+ * <p>The ID of the event.</p>
169
+ */
170
+ InstanceEventId?: string;
171
+ /**
172
+ * <p>The event code.</p>
173
+ */
174
+ Code?: EventCode | string;
175
+ /**
176
+ * <p>A description of the event.</p>
177
+ * <p>After a scheduled event is completed, it can still be described for up to a week. If
178
+ * the event has been completed, this description starts with the following text:
179
+ * [Completed].</p>
180
+ */
181
+ Description?: string;
182
+ /**
183
+ * <p>The latest scheduled end time for the event.</p>
184
+ */
185
+ NotAfter?: Date;
186
+ /**
187
+ * <p>The earliest scheduled start time for the event.</p>
188
+ */
189
+ NotBefore?: Date;
190
+ /**
191
+ * <p>The deadline for starting the event.</p>
192
+ */
193
+ NotBeforeDeadline?: Date;
194
+ }
5
195
  export declare enum StatusName {
6
196
  reachability = "reachability"
7
197
  }
@@ -8655,73 +8845,22 @@ export interface VolumeStatusDetails {
8655
8845
  */
8656
8846
  Status?: string;
8657
8847
  }
8658
- export declare enum VolumeStatusInfoStatus {
8659
- impaired = "impaired",
8660
- insufficient_data = "insufficient-data",
8661
- ok = "ok"
8662
- }
8663
8848
  /**
8664
- * <p>Describes the status of a volume.</p>
8849
+ * @internal
8665
8850
  */
8666
- export interface VolumeStatusInfo {
8667
- /**
8668
- * <p>The details of the volume status.</p>
8669
- */
8670
- Details?: VolumeStatusDetails[];
8671
- /**
8672
- * <p>The status of the volume.</p>
8673
- */
8674
- Status?: VolumeStatusInfoStatus | string;
8675
- }
8851
+ export declare const ReservationFilterSensitiveLog: (obj: Reservation) => any;
8676
8852
  /**
8677
- * <p>Describes the volume status.</p>
8853
+ * @internal
8678
8854
  */
8679
- export interface VolumeStatusItem {
8680
- /**
8681
- * <p>The details of the operation.</p>
8682
- */
8683
- Actions?: VolumeStatusAction[];
8684
- /**
8685
- * <p>The Availability Zone of the volume.</p>
8686
- */
8687
- AvailabilityZone?: string;
8688
- /**
8689
- * <p>The Amazon Resource Name (ARN) of the Outpost.</p>
8690
- */
8691
- OutpostArn?: string;
8692
- /**
8693
- * <p>A list of events associated with the volume.</p>
8694
- */
8695
- Events?: VolumeStatusEvent[];
8696
- /**
8697
- * <p>The volume ID.</p>
8698
- */
8699
- VolumeId?: string;
8700
- /**
8701
- * <p>The volume status.</p>
8702
- */
8703
- VolumeStatus?: VolumeStatusInfo;
8704
- /**
8705
- * <p>Information about the instances to which the volume is attached.</p>
8706
- */
8707
- AttachmentStatuses?: VolumeStatusAttachmentStatus[];
8708
- }
8709
- export interface DescribeVolumeStatusResult {
8710
- /**
8711
- * <p>The token to use to retrieve the next page of results. This value is <code>null</code>
8712
- * when there are no more results to return.</p>
8713
- */
8714
- NextToken?: string;
8715
- /**
8716
- * <p>Information about the status of the volumes.</p>
8717
- */
8718
- VolumeStatuses?: VolumeStatusItem[];
8719
- }
8720
- export declare enum VpcAttributeName {
8721
- enableDnsHostnames = "enableDnsHostnames",
8722
- enableDnsSupport = "enableDnsSupport",
8723
- enableNetworkAddressUsageMetrics = "enableNetworkAddressUsageMetrics"
8724
- }
8855
+ export declare const DescribeInstancesResultFilterSensitiveLog: (obj: DescribeInstancesResult) => any;
8856
+ /**
8857
+ * @internal
8858
+ */
8859
+ export declare const DescribeInstanceStatusRequestFilterSensitiveLog: (obj: DescribeInstanceStatusRequest) => any;
8860
+ /**
8861
+ * @internal
8862
+ */
8863
+ export declare const InstanceStatusEventFilterSensitiveLog: (obj: InstanceStatusEvent) => any;
8725
8864
  /**
8726
8865
  * @internal
8727
8866
  */
@@ -9750,15 +9889,3 @@ export declare const VolumeStatusEventFilterSensitiveLog: (obj: VolumeStatusEven
9750
9889
  * @internal
9751
9890
  */
9752
9891
  export declare const VolumeStatusDetailsFilterSensitiveLog: (obj: VolumeStatusDetails) => any;
9753
- /**
9754
- * @internal
9755
- */
9756
- export declare const VolumeStatusInfoFilterSensitiveLog: (obj: VolumeStatusInfo) => any;
9757
- /**
9758
- * @internal
9759
- */
9760
- export declare const VolumeStatusItemFilterSensitiveLog: (obj: VolumeStatusItem) => any;
9761
- /**
9762
- * @internal
9763
- */
9764
- export declare const DescribeVolumeStatusResultFilterSensitiveLog: (obj: DescribeVolumeStatusResult) => any;