@aws-sdk/client-ec2 3.259.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 +565 -162
  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 +534 -139
  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 +242 -164
  88. package/dist-types/models/models_2.d.ts +159 -72
  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 +182 -128
  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 +71 -54
  120. package/dist-types/ts3.4/models/models_2.d.ts +49 -37
  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 +60 -55
  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 +6 -6
@@ -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;
@@ -1,8 +1,75 @@
1
- import { _InstanceType, AccessScopeAnalysisFinding, AddressAttribute, AddressTransfer, AllowedPrincipal, AssociationStatus, CapacityReservationState, CurrencyCodeValues, EndDateType, IamInstanceProfileAssociation, InstanceEventWindow, IpamPoolAllocation, IpamResourceDiscoveryAssociation, SubnetAssociation, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociation, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPolicyTableAssociation, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
1
+ import { _InstanceType, AccessScopeAnalysisFinding, AddressAttribute, AddressTransfer, AllowedPrincipal, AssociationStatus, CapacityReservationState, CurrencyCodeValues, IamInstanceProfileAssociation, InstanceEventWindow, IpamPoolAllocation, IpamResourceDiscoveryAssociation, NatGatewayAddress, SubnetAssociation, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociation, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPolicyTableAssociation, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
2
2
  import { DiskImageFormat, InstanceRequirementsRequest, IpamResourceTag, NetworkInsightsAccessScopeContent, Placement, PlatformValues, RequestIpamResourceTag, ResponseLaunchTemplateData, ShutdownBehavior, TargetCapacityUnitType, Vpc } from "./models_1";
3
3
  import { ConnectionNotification, DnsEntry, DnsNameState, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, State, SubnetCidrReservation, TransitGatewayPrefixListReference, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
4
4
  import { ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, ImportImageLicenseConfigurationResponse, IpamPoolCidr, MetricType, PaymentOption, PeriodType, SnapshotDetail, SnapshotTaskDetail, StatisticType, VirtualizationType } from "./models_3";
5
- import { AnalysisStatus, ArchitectureType, VpcAttributeName } from "./models_4";
5
+ import { AnalysisStatus, ArchitectureType, VolumeStatusAction, VolumeStatusAttachmentStatus, VolumeStatusDetails, VolumeStatusEvent } from "./models_4";
6
+ export declare enum VolumeStatusInfoStatus {
7
+ impaired = "impaired",
8
+ insufficient_data = "insufficient-data",
9
+ ok = "ok"
10
+ }
11
+ /**
12
+ * <p>Describes the status of a volume.</p>
13
+ */
14
+ export interface VolumeStatusInfo {
15
+ /**
16
+ * <p>The details of the volume status.</p>
17
+ */
18
+ Details?: VolumeStatusDetails[];
19
+ /**
20
+ * <p>The status of the volume.</p>
21
+ */
22
+ Status?: VolumeStatusInfoStatus | string;
23
+ }
24
+ /**
25
+ * <p>Describes the volume status.</p>
26
+ */
27
+ export interface VolumeStatusItem {
28
+ /**
29
+ * <p>The details of the operation.</p>
30
+ */
31
+ Actions?: VolumeStatusAction[];
32
+ /**
33
+ * <p>The Availability Zone of the volume.</p>
34
+ */
35
+ AvailabilityZone?: string;
36
+ /**
37
+ * <p>The Amazon Resource Name (ARN) of the Outpost.</p>
38
+ */
39
+ OutpostArn?: string;
40
+ /**
41
+ * <p>A list of events associated with the volume.</p>
42
+ */
43
+ Events?: VolumeStatusEvent[];
44
+ /**
45
+ * <p>The volume ID.</p>
46
+ */
47
+ VolumeId?: string;
48
+ /**
49
+ * <p>The volume status.</p>
50
+ */
51
+ VolumeStatus?: VolumeStatusInfo;
52
+ /**
53
+ * <p>Information about the instances to which the volume is attached.</p>
54
+ */
55
+ AttachmentStatuses?: VolumeStatusAttachmentStatus[];
56
+ }
57
+ export interface DescribeVolumeStatusResult {
58
+ /**
59
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code>
60
+ * when there are no more results to return.</p>
61
+ */
62
+ NextToken?: string;
63
+ /**
64
+ * <p>Information about the status of the volumes.</p>
65
+ */
66
+ VolumeStatuses?: VolumeStatusItem[];
67
+ }
68
+ export declare enum VpcAttributeName {
69
+ enableDnsHostnames = "enableDnsHostnames",
70
+ enableDnsSupport = "enableDnsSupport",
71
+ enableNetworkAddressUsageMetrics = "enableNetworkAddressUsageMetrics"
72
+ }
6
73
  export interface DescribeVpcAttributeRequest {
7
74
  /**
8
75
  * <p>The VPC attribute.</p>
@@ -1707,6 +1774,36 @@ export interface DisassociateIpamResourceDiscoveryResult {
1707
1774
  */
1708
1775
  IpamResourceDiscoveryAssociation?: IpamResourceDiscoveryAssociation;
1709
1776
  }
1777
+ export interface DisassociateNatGatewayAddressRequest {
1778
+ /**
1779
+ * <p>The NAT gateway ID.</p>
1780
+ */
1781
+ NatGatewayId: string | undefined;
1782
+ /**
1783
+ * <p>The association IDs of EIPs that have been associated with the NAT gateway.</p>
1784
+ */
1785
+ AssociationIds: string[] | undefined;
1786
+ /**
1787
+ * <p>The maximum amount of time to wait (in seconds) before forcibly releasing the IP addresses if connections are still in progress. Default value is 350 seconds.</p>
1788
+ */
1789
+ MaxDrainDurationSeconds?: number;
1790
+ /**
1791
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
1792
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
1793
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
1794
+ */
1795
+ DryRun?: boolean;
1796
+ }
1797
+ export interface DisassociateNatGatewayAddressResult {
1798
+ /**
1799
+ * <p>The NAT gateway ID.</p>
1800
+ */
1801
+ NatGatewayId?: string;
1802
+ /**
1803
+ * <p>Information about the NAT gateway IP addresses.</p>
1804
+ */
1805
+ NatGatewayAddresses?: NatGatewayAddress[];
1806
+ }
1710
1807
  export interface DisassociateRouteTableRequest {
1711
1808
  /**
1712
1809
  * <p>The association ID representing the current association between the route table and subnet or gateway.</p>
@@ -5671,148 +5768,18 @@ export declare enum ModifyAvailabilityZoneOptInStatus {
5671
5768
  not_opted_in = "not-opted-in",
5672
5769
  opted_in = "opted-in"
5673
5770
  }
5674
- export interface ModifyAvailabilityZoneGroupRequest {
5675
- /**
5676
- * <p>The name of the Availability Zone group, Local Zone group, or Wavelength Zone
5677
- * group.</p>
5678
- */
5679
- GroupName: string | undefined;
5680
- /**
5681
- * <p>Indicates whether you are opted in to the Local Zone group or Wavelength Zone group. The
5682
- * only valid value is <code>opted-in</code>. You must contact <a href="https://console.aws.amazon.com/support/home#/case/create%3FissueType=customer-service%26serviceCode=general-info%26getting-started%26categoryCode=using-aws%26services">Amazon Web Services Support</a> to opt out of a Local Zone or Wavelength Zone group.</p>
5683
- */
5684
- OptInStatus: ModifyAvailabilityZoneOptInStatus | string | undefined;
5685
- /**
5686
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
5687
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
5688
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5689
- */
5690
- DryRun?: boolean;
5691
- }
5692
- export interface ModifyAvailabilityZoneGroupResult {
5693
- /**
5694
- * <p>Is <code>true</code> if the request succeeds, and an error otherwise.</p>
5695
- */
5696
- Return?: boolean;
5697
- }
5698
- export interface ModifyCapacityReservationRequest {
5699
- /**
5700
- * <p>The ID of the Capacity Reservation.</p>
5701
- */
5702
- CapacityReservationId: string | undefined;
5703
- /**
5704
- * <p>The number of instances for which to reserve capacity. The number of instances can't be increased or
5705
- * decreased by more than <code>1000</code> in a single request.</p>
5706
- */
5707
- InstanceCount?: number;
5708
- /**
5709
- * <p>The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity
5710
- * is released and you can no longer launch instances into it. The Capacity Reservation's state changes to
5711
- * <code>expired</code> when it reaches its end date and time.</p>
5712
- * <p>The Capacity Reservation is cancelled within an hour from the specified time. For example, if you specify
5713
- * 5/31/2019, 13:30:55, the Capacity Reservation is guaranteed to end between 13:30:55 and 14:30:55 on 5/31/2019.</p>
5714
- * <p>You must provide an <code>EndDate</code> value if <code>EndDateType</code> is
5715
- * <code>limited</code>. Omit <code>EndDate</code> if <code>EndDateType</code> is
5716
- * <code>unlimited</code>.</p>
5717
- */
5718
- EndDate?: Date;
5719
- /**
5720
- * <p>Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end
5721
- * types:</p>
5722
- * <ul>
5723
- * <li>
5724
- * <p>
5725
- * <code>unlimited</code> - The Capacity Reservation remains active until you explicitly cancel it. Do not
5726
- * provide an <code>EndDate</code> value if <code>EndDateType</code> is
5727
- * <code>unlimited</code>.</p>
5728
- * </li>
5729
- * <li>
5730
- * <p>
5731
- * <code>limited</code> - The Capacity Reservation expires automatically at a specified date and time. You must
5732
- * provide an <code>EndDate</code> value if <code>EndDateType</code> is
5733
- * <code>limited</code>.</p>
5734
- * </li>
5735
- * </ul>
5736
- */
5737
- EndDateType?: EndDateType | string;
5738
- /**
5739
- * <p>Reserved. Capacity Reservations you have created are accepted by default.</p>
5740
- */
5741
- Accept?: boolean;
5742
- /**
5743
- * <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>
5744
- */
5745
- DryRun?: boolean;
5746
- /**
5747
- * <p>Reserved for future use.</p>
5748
- */
5749
- AdditionalInfo?: string;
5750
- }
5751
- export interface ModifyCapacityReservationResult {
5752
- /**
5753
- * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
5754
- */
5755
- Return?: boolean;
5756
- }
5757
- export interface ModifyCapacityReservationFleetRequest {
5758
- /**
5759
- * <p>The ID of the Capacity Reservation Fleet to modify.</p>
5760
- */
5761
- CapacityReservationFleetId: string | undefined;
5762
- /**
5763
- * <p>The total number of capacity units to be reserved by the Capacity Reservation Fleet. This value,
5764
- * together with the instance type weights that you assign to each instance type used by the Fleet
5765
- * determine the number of instances for which the Fleet reserves capacity. Both values are based on
5766
- * units that make sense for your workload. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity">Total target capacity</a>
5767
- * in the Amazon EC2 User Guide.</p>
5768
- */
5769
- TotalTargetCapacity?: number;
5770
- /**
5771
- * <p>The date and time at which the Capacity Reservation Fleet expires. When the Capacity Reservation
5772
- * Fleet expires, its state changes to <code>expired</code> and all of the Capacity Reservations in the
5773
- * Fleet expire.</p>
5774
- * <p>The Capacity Reservation Fleet expires within an hour after the specified time. For example, if you
5775
- * specify <code>5/31/2019</code>, <code>13:30:55</code>, the Capacity Reservation Fleet is guaranteed
5776
- * to expire between <code>13:30:55</code> and <code>14:30:55</code> on <code>5/31/2019</code>.</p>
5777
- * <p>You can't specify <b>EndDate</b> and <b>
5778
- * RemoveEndDate</b> in the same request.</p>
5779
- */
5780
- EndDate?: Date;
5781
- /**
5782
- * <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>
5783
- */
5784
- DryRun?: boolean;
5785
- /**
5786
- * <p>Indicates whether to remove the end date from the Capacity Reservation Fleet. If you remove the
5787
- * end date, the Capacity Reservation Fleet does not expire and it remains active until you explicitly
5788
- * cancel it using the <b>CancelCapacityReservationFleet</b> action.</p>
5789
- * <p>You can't specify <b>RemoveEndDate</b> and <b>
5790
- * EndDate</b> in the same request.</p>
5791
- */
5792
- RemoveEndDate?: boolean;
5793
- }
5794
- export interface ModifyCapacityReservationFleetResult {
5795
- /**
5796
- * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
5797
- */
5798
- Return?: boolean;
5799
- }
5800
5771
  /**
5801
- * <p>Information about the DNS server to be used.</p>
5772
+ * @internal
5802
5773
  */
5803
- export interface DnsServersOptionsModifyStructure {
5804
- /**
5805
- * <p>The IPv4 address range, in CIDR notation, of the DNS servers to be used. You can specify up to
5806
- * two DNS servers. Ensure that the DNS servers can be reached by the clients. The specified values
5807
- * overwrite the existing values.</p>
5808
- */
5809
- CustomDnsServers?: string[];
5810
- /**
5811
- * <p>Indicates whether DNS servers should be used. Specify <code>False</code> to delete the existing DNS
5812
- * servers.</p>
5813
- */
5814
- Enabled?: boolean;
5815
- }
5774
+ export declare const VolumeStatusInfoFilterSensitiveLog: (obj: VolumeStatusInfo) => any;
5775
+ /**
5776
+ * @internal
5777
+ */
5778
+ export declare const VolumeStatusItemFilterSensitiveLog: (obj: VolumeStatusItem) => any;
5779
+ /**
5780
+ * @internal
5781
+ */
5782
+ export declare const DescribeVolumeStatusResultFilterSensitiveLog: (obj: DescribeVolumeStatusResult) => any;
5816
5783
  /**
5817
5784
  * @internal
5818
5785
  */
@@ -6129,6 +6096,14 @@ export declare const DisassociateIpamResourceDiscoveryRequestFilterSensitiveLog:
6129
6096
  * @internal
6130
6097
  */
6131
6098
  export declare const DisassociateIpamResourceDiscoveryResultFilterSensitiveLog: (obj: DisassociateIpamResourceDiscoveryResult) => any;
6099
+ /**
6100
+ * @internal
6101
+ */
6102
+ export declare const DisassociateNatGatewayAddressRequestFilterSensitiveLog: (obj: DisassociateNatGatewayAddressRequest) => any;
6103
+ /**
6104
+ * @internal
6105
+ */
6106
+ export declare const DisassociateNatGatewayAddressResultFilterSensitiveLog: (obj: DisassociateNatGatewayAddressResult) => any;
6132
6107
  /**
6133
6108
  * @internal
6134
6109
  */
@@ -6941,31 +6916,3 @@ export declare const ModifyAddressAttributeRequestFilterSensitiveLog: (obj: Modi
6941
6916
  * @internal
6942
6917
  */
6943
6918
  export declare const ModifyAddressAttributeResultFilterSensitiveLog: (obj: ModifyAddressAttributeResult) => any;
6944
- /**
6945
- * @internal
6946
- */
6947
- export declare const ModifyAvailabilityZoneGroupRequestFilterSensitiveLog: (obj: ModifyAvailabilityZoneGroupRequest) => any;
6948
- /**
6949
- * @internal
6950
- */
6951
- export declare const ModifyAvailabilityZoneGroupResultFilterSensitiveLog: (obj: ModifyAvailabilityZoneGroupResult) => any;
6952
- /**
6953
- * @internal
6954
- */
6955
- export declare const ModifyCapacityReservationRequestFilterSensitiveLog: (obj: ModifyCapacityReservationRequest) => any;
6956
- /**
6957
- * @internal
6958
- */
6959
- export declare const ModifyCapacityReservationResultFilterSensitiveLog: (obj: ModifyCapacityReservationResult) => any;
6960
- /**
6961
- * @internal
6962
- */
6963
- export declare const ModifyCapacityReservationFleetRequestFilterSensitiveLog: (obj: ModifyCapacityReservationFleetRequest) => any;
6964
- /**
6965
- * @internal
6966
- */
6967
- export declare const ModifyCapacityReservationFleetResultFilterSensitiveLog: (obj: ModifyCapacityReservationFleetResult) => any;
6968
- /**
6969
- * @internal
6970
- */
6971
- export declare const DnsServersOptionsModifyStructureFilterSensitiveLog: (obj: DnsServersOptionsModifyStructure) => any;