@aws-sdk/client-ec2 3.295.0 → 3.296.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 (133) hide show
  1. package/dist-cjs/commands/CreateReplaceRootVolumeTaskCommand.js +2 -1
  2. package/dist-cjs/commands/CreateReservedInstancesListingCommand.js +3 -3
  3. package/dist-cjs/commands/CreateRestoreImageTaskCommand.js +3 -3
  4. package/dist-cjs/commands/CreateRouteCommand.js +3 -3
  5. package/dist-cjs/commands/CreateRouteTableCommand.js +1 -2
  6. package/dist-cjs/commands/DeleteSubnetCidrReservationCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteSubnetCommand.js +2 -2
  8. package/dist-cjs/commands/DeleteTagsCommand.js +2 -2
  9. package/dist-cjs/commands/DeleteTrafficMirrorFilterCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteTrafficMirrorFilterRuleCommand.js +3 -3
  11. package/dist-cjs/commands/DeleteTrafficMirrorSessionCommand.js +1 -2
  12. package/dist-cjs/commands/DescribeVolumeStatusCommand.js +1 -2
  13. package/dist-cjs/commands/DescribeVolumesCommand.js +2 -1
  14. package/dist-cjs/commands/DescribeVolumesModificationsCommand.js +3 -3
  15. package/dist-cjs/commands/ImportVolumeCommand.js +3 -3
  16. package/dist-cjs/commands/ListImagesInRecycleBinCommand.js +3 -3
  17. package/dist-cjs/commands/ListSnapshotsInRecycleBinCommand.js +3 -3
  18. package/dist-cjs/commands/ModifyAddressAttributeCommand.js +1 -2
  19. package/dist-cjs/commands/StartNetworkInsightsAnalysisCommand.js +2 -1
  20. package/dist-cjs/commands/StartVpcEndpointServicePrivateDnsVerificationCommand.js +3 -3
  21. package/dist-cjs/commands/StopInstancesCommand.js +3 -3
  22. package/dist-cjs/commands/TerminateClientVpnConnectionsCommand.js +3 -3
  23. package/dist-cjs/commands/TerminateInstancesCommand.js +1 -2
  24. package/dist-cjs/models/models_0.js +25 -27
  25. package/dist-cjs/models/models_1.js +44 -42
  26. package/dist-cjs/models/models_2.js +41 -41
  27. package/dist-cjs/models/models_3.js +42 -47
  28. package/dist-cjs/models/models_4.js +47 -45
  29. package/dist-cjs/models/models_5.js +48 -42
  30. package/dist-cjs/models/models_6.js +44 -42
  31. package/dist-cjs/models/models_7.js +37 -1
  32. package/dist-cjs/protocols/Aws_ec2.js +333 -0
  33. package/dist-es/commands/CreateReplaceRootVolumeTaskCommand.js +2 -1
  34. package/dist-es/commands/CreateReservedInstancesListingCommand.js +1 -1
  35. package/dist-es/commands/CreateRestoreImageTaskCommand.js +1 -1
  36. package/dist-es/commands/CreateRouteCommand.js +1 -1
  37. package/dist-es/commands/CreateRouteTableCommand.js +1 -2
  38. package/dist-es/commands/DeleteSubnetCidrReservationCommand.js +1 -1
  39. package/dist-es/commands/DeleteSubnetCommand.js +1 -1
  40. package/dist-es/commands/DeleteTagsCommand.js +1 -1
  41. package/dist-es/commands/DeleteTrafficMirrorFilterCommand.js +1 -1
  42. package/dist-es/commands/DeleteTrafficMirrorFilterRuleCommand.js +1 -1
  43. package/dist-es/commands/DeleteTrafficMirrorSessionCommand.js +1 -2
  44. package/dist-es/commands/DescribeVolumeStatusCommand.js +1 -2
  45. package/dist-es/commands/DescribeVolumesCommand.js +2 -1
  46. package/dist-es/commands/DescribeVolumesModificationsCommand.js +1 -1
  47. package/dist-es/commands/ImportVolumeCommand.js +1 -1
  48. package/dist-es/commands/ListImagesInRecycleBinCommand.js +1 -1
  49. package/dist-es/commands/ListSnapshotsInRecycleBinCommand.js +1 -1
  50. package/dist-es/commands/ModifyAddressAttributeCommand.js +1 -2
  51. package/dist-es/commands/StartNetworkInsightsAnalysisCommand.js +2 -1
  52. package/dist-es/commands/StartVpcEndpointServicePrivateDnsVerificationCommand.js +1 -1
  53. package/dist-es/commands/StopInstancesCommand.js +1 -1
  54. package/dist-es/commands/TerminateClientVpnConnectionsCommand.js +1 -1
  55. package/dist-es/commands/TerminateInstancesCommand.js +1 -2
  56. package/dist-es/models/models_0.js +15 -18
  57. package/dist-es/models/models_1.js +30 -27
  58. package/dist-es/models/models_2.js +27 -27
  59. package/dist-es/models/models_3.js +27 -33
  60. package/dist-es/models/models_4.js +33 -31
  61. package/dist-es/models/models_5.js +34 -27
  62. package/dist-es/models/models_6.js +29 -27
  63. package/dist-es/models/models_7.js +27 -0
  64. package/dist-es/protocols/Aws_ec2.js +333 -0
  65. package/dist-types/EC2.d.ts +14 -6
  66. package/dist-types/commands/AllocateIpamPoolCidrCommand.d.ts +4 -2
  67. package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +2 -2
  68. package/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +2 -1
  69. package/dist-types/commands/CreateReservedInstancesListingCommand.d.ts +1 -1
  70. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
  71. package/dist-types/commands/CreateRouteCommand.d.ts +1 -1
  72. package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -2
  73. package/dist-types/commands/CreateSnapshotCommand.d.ts +2 -2
  74. package/dist-types/commands/DeleteSubnetCidrReservationCommand.d.ts +1 -1
  75. package/dist-types/commands/DeleteSubnetCommand.d.ts +1 -1
  76. package/dist-types/commands/DeleteTagsCommand.d.ts +1 -1
  77. package/dist-types/commands/DeleteTrafficMirrorFilterCommand.d.ts +1 -1
  78. package/dist-types/commands/DeleteTrafficMirrorFilterRuleCommand.d.ts +1 -1
  79. package/dist-types/commands/DeleteTrafficMirrorSessionCommand.d.ts +1 -2
  80. package/dist-types/commands/DescribeVolumeStatusCommand.d.ts +1 -2
  81. package/dist-types/commands/DescribeVolumesCommand.d.ts +2 -1
  82. package/dist-types/commands/DescribeVolumesModificationsCommand.d.ts +1 -1
  83. package/dist-types/commands/GetIpamPoolAllocationsCommand.d.ts +3 -0
  84. package/dist-types/commands/ImportVolumeCommand.d.ts +1 -1
  85. package/dist-types/commands/ListImagesInRecycleBinCommand.d.ts +1 -1
  86. package/dist-types/commands/ListSnapshotsInRecycleBinCommand.d.ts +1 -1
  87. package/dist-types/commands/ModifyAddressAttributeCommand.d.ts +1 -2
  88. package/dist-types/commands/ReleaseIpamPoolAllocationCommand.d.ts +3 -0
  89. package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +2 -1
  90. package/dist-types/commands/StartVpcEndpointServicePrivateDnsVerificationCommand.d.ts +1 -1
  91. package/dist-types/commands/StopInstancesCommand.d.ts +1 -1
  92. package/dist-types/commands/TerminateClientVpnConnectionsCommand.d.ts +1 -1
  93. package/dist-types/commands/TerminateInstancesCommand.d.ts +1 -2
  94. package/dist-types/models/models_0.d.ts +193 -96
  95. package/dist-types/models/models_1.d.ts +202 -231
  96. package/dist-types/models/models_2.d.ts +230 -141
  97. package/dist-types/models/models_3.d.ts +125 -229
  98. package/dist-types/models/models_4.d.ts +261 -358
  99. package/dist-types/models/models_5.d.ts +359 -200
  100. package/dist-types/models/models_6.d.ts +204 -163
  101. package/dist-types/models/models_7.d.ts +162 -0
  102. package/dist-types/ts3.4/commands/CreateReplaceRootVolumeTaskCommand.d.ts +2 -4
  103. package/dist-types/ts3.4/commands/CreateReservedInstancesListingCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/CreateRouteCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/CreateRouteTableCommand.d.ts +4 -2
  107. package/dist-types/ts3.4/commands/DeleteSubnetCidrReservationCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/DeleteSubnetCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/DeleteTrafficMirrorFilterCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/DeleteTrafficMirrorFilterRuleCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/DeleteTrafficMirrorSessionCommand.d.ts +4 -2
  113. package/dist-types/ts3.4/commands/DescribeVolumeStatusCommand.d.ts +4 -2
  114. package/dist-types/ts3.4/commands/DescribeVolumesCommand.d.ts +2 -4
  115. package/dist-types/ts3.4/commands/DescribeVolumesModificationsCommand.d.ts +1 -1
  116. package/dist-types/ts3.4/commands/ImportVolumeCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/ListImagesInRecycleBinCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/ListSnapshotsInRecycleBinCommand.d.ts +1 -1
  119. package/dist-types/ts3.4/commands/ModifyAddressAttributeCommand.d.ts +4 -2
  120. package/dist-types/ts3.4/commands/StartNetworkInsightsAnalysisCommand.d.ts +2 -4
  121. package/dist-types/ts3.4/commands/StartVpcEndpointServicePrivateDnsVerificationCommand.d.ts +1 -1
  122. package/dist-types/ts3.4/commands/StopInstancesCommand.d.ts +1 -1
  123. package/dist-types/ts3.4/commands/TerminateClientVpnConnectionsCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/TerminateInstancesCommand.d.ts +4 -2
  125. package/dist-types/ts3.4/models/models_0.d.ts +59 -36
  126. package/dist-types/ts3.4/models/models_1.d.ts +74 -87
  127. package/dist-types/ts3.4/models/models_2.d.ts +83 -61
  128. package/dist-types/ts3.4/models/models_3.d.ts +63 -89
  129. package/dist-types/ts3.4/models/models_4.d.ts +89 -94
  130. package/dist-types/ts3.4/models/models_5.d.ts +91 -83
  131. package/dist-types/ts3.4/models/models_6.d.ts +84 -73
  132. package/dist-types/ts3.4/models/models_7.d.ts +68 -0
  133. package/package.json +31 -31
@@ -1,8 +1,336 @@
1
1
  import { _InstanceType, AccessScopeAnalysisFinding, 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
- import { DiskImageFormat, InstanceRequirementsRequest, IpamResourceTag, NetworkInsightsAccessScopeContent, Placement, PlatformValues, RequestIpamResourceTag, ResponseLaunchTemplateData, ShutdownBehavior, TargetCapacityUnitType, Vpc } from "./models_1";
3
- import { ConnectionNotification, DnsEntry, DnsNameState, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, State, SubnetCidrReservation, TransitGatewayPrefixListReference, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
2
+ import { DiskImageFormat, InstanceRequirementsRequest, IpamResourceTag, NetworkInsightsAccessScopeContent, Placement, PlatformValues, RequestIpamResourceTag, ResponseLaunchTemplateData, ShutdownBehavior, TargetCapacityUnitType, VolumeType, Vpc } from "./models_1";
3
+ import { ConnectionNotification, DnsEntry, DnsNameState, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, State, SubnetCidrReservation, TransitGatewayPrefixListReference, Volume, 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, VolumeStatusAction, VolumeStatusAttachmentStatus, VolumeStatusEvent } from "./models_4";
5
+ import { AnalysisStatus, ArchitectureType } from "./models_4";
6
+ export interface DescribeVolumesResult {
7
+ /**
8
+ * <p>Information about the volumes.</p>
9
+ */
10
+ Volumes?: Volume[];
11
+ /**
12
+ * <p>The token to include in another request to get the next page of items.
13
+ * This value is <code>null</code> when there are no more items to return.</p>
14
+ */
15
+ NextToken?: string;
16
+ }
17
+ export interface DescribeVolumesModificationsRequest {
18
+ /**
19
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
20
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
21
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
22
+ */
23
+ DryRun?: boolean;
24
+ /**
25
+ * <p>The IDs of the volumes.</p>
26
+ */
27
+ VolumeIds?: string[];
28
+ /**
29
+ * <p>The filters.</p>
30
+ * <ul>
31
+ * <li>
32
+ * <p>
33
+ * <code>modification-state</code> - The current modification state (modifying |
34
+ * optimizing | completed | failed).</p>
35
+ * </li>
36
+ * <li>
37
+ * <p>
38
+ * <code>original-iops</code> - The original IOPS rate of the volume.</p>
39
+ * </li>
40
+ * <li>
41
+ * <p>
42
+ * <code>original-size</code> - The original size of the volume, in GiB.</p>
43
+ * </li>
44
+ * <li>
45
+ * <p>
46
+ * <code>original-volume-type</code> - The original volume type of the volume (standard |
47
+ * io1 | io2 | gp2 | sc1 | st1).</p>
48
+ * </li>
49
+ * <li>
50
+ * <p>
51
+ * <code>originalMultiAttachEnabled</code> - Indicates whether Multi-Attach support was enabled (true | false).</p>
52
+ * </li>
53
+ * <li>
54
+ * <p>
55
+ * <code>start-time</code> - The modification start time.</p>
56
+ * </li>
57
+ * <li>
58
+ * <p>
59
+ * <code>target-iops</code> - The target IOPS rate of the volume.</p>
60
+ * </li>
61
+ * <li>
62
+ * <p>
63
+ * <code>target-size</code> - The target size of the volume, in GiB.</p>
64
+ * </li>
65
+ * <li>
66
+ * <p>
67
+ * <code>target-volume-type</code> - The target volume type of the volume (standard |
68
+ * io1 | io2 | gp2 | sc1 | st1).</p>
69
+ * </li>
70
+ * <li>
71
+ * <p>
72
+ * <code>targetMultiAttachEnabled</code> - Indicates whether Multi-Attach support is to be enabled (true | false).</p>
73
+ * </li>
74
+ * <li>
75
+ * <p>
76
+ * <code>volume-id</code> - The ID of the volume.</p>
77
+ * </li>
78
+ * </ul>
79
+ */
80
+ Filters?: Filter[];
81
+ /**
82
+ * <p>The token returned by a previous paginated request.
83
+ * Pagination continues from the end of the items returned by the previous request.</p>
84
+ */
85
+ NextToken?: string;
86
+ /**
87
+ * <p>The maximum number of results (up to a limit of 500) to be returned in a paginated
88
+ * request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
89
+ */
90
+ MaxResults?: number;
91
+ }
92
+ export declare enum VolumeModificationState {
93
+ completed = "completed",
94
+ failed = "failed",
95
+ modifying = "modifying",
96
+ optimizing = "optimizing"
97
+ }
98
+ /**
99
+ * <p>Describes the modification status of an EBS volume.</p>
100
+ * <p>If the volume has never been modified, some element values will be null.</p>
101
+ */
102
+ export interface VolumeModification {
103
+ /**
104
+ * <p>The ID of the volume.</p>
105
+ */
106
+ VolumeId?: string;
107
+ /**
108
+ * <p>The current modification state. The modification state is null for unmodified
109
+ * volumes.</p>
110
+ */
111
+ ModificationState?: VolumeModificationState | string;
112
+ /**
113
+ * <p>A status message about the modification progress or failure.</p>
114
+ */
115
+ StatusMessage?: string;
116
+ /**
117
+ * <p>The target size of the volume, in GiB.</p>
118
+ */
119
+ TargetSize?: number;
120
+ /**
121
+ * <p>The target IOPS rate of the volume.</p>
122
+ */
123
+ TargetIops?: number;
124
+ /**
125
+ * <p>The target EBS volume type of the volume.</p>
126
+ */
127
+ TargetVolumeType?: VolumeType | string;
128
+ /**
129
+ * <p>The target throughput of the volume, in MiB/s.</p>
130
+ */
131
+ TargetThroughput?: number;
132
+ /**
133
+ * <p>The target setting for Amazon EBS Multi-Attach.</p>
134
+ */
135
+ TargetMultiAttachEnabled?: boolean;
136
+ /**
137
+ * <p>The original size of the volume, in GiB.</p>
138
+ */
139
+ OriginalSize?: number;
140
+ /**
141
+ * <p>The original IOPS rate of the volume.</p>
142
+ */
143
+ OriginalIops?: number;
144
+ /**
145
+ * <p>The original EBS volume type of the volume.</p>
146
+ */
147
+ OriginalVolumeType?: VolumeType | string;
148
+ /**
149
+ * <p>The original throughput of the volume, in MiB/s.</p>
150
+ */
151
+ OriginalThroughput?: number;
152
+ /**
153
+ * <p>The original setting for Amazon EBS Multi-Attach.</p>
154
+ */
155
+ OriginalMultiAttachEnabled?: boolean;
156
+ /**
157
+ * <p>The modification progress, from 0 to 100 percent complete.</p>
158
+ */
159
+ Progress?: number;
160
+ /**
161
+ * <p>The modification start time.</p>
162
+ */
163
+ StartTime?: Date;
164
+ /**
165
+ * <p>The modification completion or failure time.</p>
166
+ */
167
+ EndTime?: Date;
168
+ }
169
+ export interface DescribeVolumesModificationsResult {
170
+ /**
171
+ * <p>Information about the volume modifications.</p>
172
+ */
173
+ VolumesModifications?: VolumeModification[];
174
+ /**
175
+ * <p>The token to include in another request to get the next page of items.
176
+ * This value is <code>null</code> if there are no more items to return.</p>
177
+ */
178
+ NextToken?: string;
179
+ }
180
+ export interface DescribeVolumeStatusRequest {
181
+ /**
182
+ * <p>The filters.</p>
183
+ * <ul>
184
+ * <li>
185
+ * <p>
186
+ * <code>action.code</code> - The action code for the event (for example,
187
+ * <code>enable-volume-io</code>).</p>
188
+ * </li>
189
+ * <li>
190
+ * <p>
191
+ * <code>action.description</code> - A description of the action.</p>
192
+ * </li>
193
+ * <li>
194
+ * <p>
195
+ * <code>action.event-id</code> - The event ID associated with the action.</p>
196
+ * </li>
197
+ * <li>
198
+ * <p>
199
+ * <code>availability-zone</code> - The Availability Zone of the instance.</p>
200
+ * </li>
201
+ * <li>
202
+ * <p>
203
+ * <code>event.description</code> - A description of the event.</p>
204
+ * </li>
205
+ * <li>
206
+ * <p>
207
+ * <code>event.event-id</code> - The event ID.</p>
208
+ * </li>
209
+ * <li>
210
+ * <p>
211
+ * <code>event.event-type</code> - The event type (for <code>io-enabled</code>:
212
+ * <code>passed</code> | <code>failed</code>; for <code>io-performance</code>:
213
+ * <code>io-performance:degraded</code> | <code>io-performance:severely-degraded</code> |
214
+ * <code>io-performance:stalled</code>).</p>
215
+ * </li>
216
+ * <li>
217
+ * <p>
218
+ * <code>event.not-after</code> - The latest end time for the event.</p>
219
+ * </li>
220
+ * <li>
221
+ * <p>
222
+ * <code>event.not-before</code> - The earliest start time for the event.</p>
223
+ * </li>
224
+ * <li>
225
+ * <p>
226
+ * <code>volume-status.details-name</code> - The cause for
227
+ * <code>volume-status.status</code> (<code>io-enabled</code> |
228
+ * <code>io-performance</code>).</p>
229
+ * </li>
230
+ * <li>
231
+ * <p>
232
+ * <code>volume-status.details-status</code> - The status of
233
+ * <code>volume-status.details-name</code> (for <code>io-enabled</code>:
234
+ * <code>passed</code> | <code>failed</code>; for <code>io-performance</code>:
235
+ * <code>normal</code> | <code>degraded</code> | <code>severely-degraded</code> |
236
+ * <code>stalled</code>).</p>
237
+ * </li>
238
+ * <li>
239
+ * <p>
240
+ * <code>volume-status.status</code> - The status of the volume (<code>ok</code> |
241
+ * <code>impaired</code> | <code>warning</code> | <code>insufficient-data</code>).</p>
242
+ * </li>
243
+ * </ul>
244
+ */
245
+ Filters?: Filter[];
246
+ /**
247
+ * <p>The maximum number of items to return for this request. To get the next page of items,
248
+ * make another request with the token returned in the output. This value can be between 5 and 1,000;
249
+ * if the value is larger than 1,000, only 1,000 results are returned. If this parameter is not used,
250
+ * then all items are returned. You cannot specify this parameter and the volume IDs parameter in the
251
+ * same request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
252
+ */
253
+ MaxResults?: number;
254
+ /**
255
+ * <p>The token returned from a previous paginated request.
256
+ * Pagination continues from the end of the items returned by the previous request.</p>
257
+ */
258
+ NextToken?: string;
259
+ /**
260
+ * <p>The IDs of the volumes.</p>
261
+ * <p>Default: Describes all your volumes.</p>
262
+ */
263
+ VolumeIds?: string[];
264
+ /**
265
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
266
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
267
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
268
+ */
269
+ DryRun?: boolean;
270
+ }
271
+ /**
272
+ * <p>Describes a volume status operation code.</p>
273
+ */
274
+ export interface VolumeStatusAction {
275
+ /**
276
+ * <p>The code identifying the operation, for example, <code>enable-volume-io</code>.</p>
277
+ */
278
+ Code?: string;
279
+ /**
280
+ * <p>A description of the operation.</p>
281
+ */
282
+ Description?: string;
283
+ /**
284
+ * <p>The ID of the event associated with this operation.</p>
285
+ */
286
+ EventId?: string;
287
+ /**
288
+ * <p>The event type associated with this operation.</p>
289
+ */
290
+ EventType?: string;
291
+ }
292
+ /**
293
+ * <p>Information about the instances to which the volume is attached.</p>
294
+ */
295
+ export interface VolumeStatusAttachmentStatus {
296
+ /**
297
+ * <p>The maximum IOPS supported by the attached instance.</p>
298
+ */
299
+ IoPerformance?: string;
300
+ /**
301
+ * <p>The ID of the attached instance.</p>
302
+ */
303
+ InstanceId?: string;
304
+ }
305
+ /**
306
+ * <p>Describes a volume status event.</p>
307
+ */
308
+ export interface VolumeStatusEvent {
309
+ /**
310
+ * <p>A description of the event.</p>
311
+ */
312
+ Description?: string;
313
+ /**
314
+ * <p>The ID of this event.</p>
315
+ */
316
+ EventId?: string;
317
+ /**
318
+ * <p>The type of this event.</p>
319
+ */
320
+ EventType?: string;
321
+ /**
322
+ * <p>The latest end time of the event.</p>
323
+ */
324
+ NotAfter?: Date;
325
+ /**
326
+ * <p>The earliest start time of the event.</p>
327
+ */
328
+ NotBefore?: Date;
329
+ /**
330
+ * <p>The ID of the instance associated with the event.</p>
331
+ */
332
+ InstanceId?: string;
333
+ }
6
334
  export declare enum VolumeStatusName {
7
335
  io_enabled = "io-enabled",
8
336
  io_performance = "io-performance"
@@ -5620,171 +5948,38 @@ export interface ImportSnapshotResult {
5620
5948
  */
5621
5949
  Tags?: Tag[];
5622
5950
  }
5623
- export interface ImportVolumeRequest {
5624
- /**
5625
- * <p>The Availability Zone for the resulting EBS volume.</p>
5626
- */
5627
- AvailabilityZone: string | undefined;
5628
- /**
5629
- * <p>A description of the volume.</p>
5630
- */
5631
- Description?: string;
5632
- /**
5633
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
5634
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
5635
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5636
- */
5637
- DryRun?: boolean;
5638
- /**
5639
- * <p>The disk image.</p>
5640
- */
5641
- Image: DiskImageDetail | undefined;
5642
- /**
5643
- * <p>The volume size.</p>
5644
- */
5645
- Volume: VolumeDetail | undefined;
5646
- }
5647
- export interface ImportVolumeResult {
5648
- /**
5649
- * <p>Information about the conversion task.</p>
5650
- */
5651
- ConversionTask?: ConversionTask;
5652
- }
5653
- export interface ListImagesInRecycleBinRequest {
5654
- /**
5655
- * <p>The IDs of the AMIs to list. Omit this parameter to list all of the AMIs that
5656
- * are in the Recycle Bin. You can specify up to 20 IDs in a single request.</p>
5657
- */
5658
- ImageIds?: string[];
5659
- /**
5660
- * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
5661
- */
5662
- NextToken?: string;
5663
- /**
5664
- * <p>The maximum number of items to return for this request.
5665
- * To get the next page of items, make another request with the token returned in the output.
5666
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
5667
- */
5668
- MaxResults?: number;
5669
- /**
5670
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
5671
- * and provides an error response. If you have the required permissions, the error response is
5672
- * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5673
- */
5674
- DryRun?: boolean;
5675
- }
5676
5951
  /**
5677
- * <p>Information about an AMI that is currently in the Recycle Bin.</p>
5952
+ * @internal
5678
5953
  */
5679
- export interface ImageRecycleBinInfo {
5680
- /**
5681
- * <p>The ID of the AMI.</p>
5682
- */
5683
- ImageId?: string;
5684
- /**
5685
- * <p>The name of the AMI.</p>
5686
- */
5687
- Name?: string;
5688
- /**
5689
- * <p>The description of the AMI.</p>
5690
- */
5691
- Description?: string;
5692
- /**
5693
- * <p>The date and time when the AMI entered the Recycle Bin.</p>
5694
- */
5695
- RecycleBinEnterTime?: Date;
5696
- /**
5697
- * <p>The date and time when the AMI is to be permanently deleted from the Recycle Bin.</p>
5698
- */
5699
- RecycleBinExitTime?: Date;
5700
- }
5701
- export interface ListImagesInRecycleBinResult {
5702
- /**
5703
- * <p>Information about the AMIs.</p>
5704
- */
5705
- Images?: ImageRecycleBinInfo[];
5706
- /**
5707
- * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
5708
- * are no more items to return.</p>
5709
- */
5710
- NextToken?: string;
5711
- }
5712
- export interface ListSnapshotsInRecycleBinRequest {
5713
- /**
5714
- * <p>The maximum number of items to return for this request.
5715
- * To get the next page of items, make another request with the token returned in the output.
5716
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
5717
- */
5718
- MaxResults?: number;
5719
- /**
5720
- * <p>The token returned from a previous paginated request.
5721
- * Pagination continues from the end of the items returned by the previous request.</p>
5722
- */
5723
- NextToken?: string;
5724
- /**
5725
- * <p>The IDs of the snapshots to list. Omit this parameter to list all of the
5726
- * snapshots that are in the Recycle Bin.</p>
5727
- */
5728
- SnapshotIds?: string[];
5729
- /**
5730
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
5731
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
5732
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5733
- */
5734
- DryRun?: boolean;
5735
- }
5954
+ export declare const DescribeVolumesResultFilterSensitiveLog: (obj: DescribeVolumesResult) => any;
5736
5955
  /**
5737
- * <p>Information about a snapshot that is currently in the Recycle Bin.</p>
5956
+ * @internal
5738
5957
  */
5739
- export interface SnapshotRecycleBinInfo {
5740
- /**
5741
- * <p>The ID of the snapshot.</p>
5742
- */
5743
- SnapshotId?: string;
5744
- /**
5745
- * <p>The date and time when the snaphsot entered the Recycle Bin.</p>
5746
- */
5747
- RecycleBinEnterTime?: Date;
5748
- /**
5749
- * <p>The date and time when the snapshot is to be permanently deleted from the Recycle Bin.</p>
5750
- */
5751
- RecycleBinExitTime?: Date;
5752
- /**
5753
- * <p>The description for the snapshot.</p>
5754
- */
5755
- Description?: string;
5756
- /**
5757
- * <p>The ID of the volume from which the snapshot was created.</p>
5758
- */
5759
- VolumeId?: string;
5760
- }
5761
- export interface ListSnapshotsInRecycleBinResult {
5762
- /**
5763
- * <p>Information about the snapshots.</p>
5764
- */
5765
- Snapshots?: SnapshotRecycleBinInfo[];
5766
- /**
5767
- * <p>The token to include in another request to get the next page of items.
5768
- * This value is <code>null</code> when there are no more items to return.</p>
5769
- */
5770
- NextToken?: string;
5771
- }
5772
- export interface ModifyAddressAttributeRequest {
5773
- /**
5774
- * <p>[EC2-VPC] The allocation ID.</p>
5775
- */
5776
- AllocationId: string | undefined;
5777
- /**
5778
- * <p>The domain name to modify for the IP address.</p>
5779
- */
5780
- DomainName?: string;
5781
- /**
5782
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
5783
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
5784
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5785
- */
5786
- DryRun?: boolean;
5787
- }
5958
+ export declare const DescribeVolumesModificationsRequestFilterSensitiveLog: (obj: DescribeVolumesModificationsRequest) => any;
5959
+ /**
5960
+ * @internal
5961
+ */
5962
+ export declare const VolumeModificationFilterSensitiveLog: (obj: VolumeModification) => any;
5963
+ /**
5964
+ * @internal
5965
+ */
5966
+ export declare const DescribeVolumesModificationsResultFilterSensitiveLog: (obj: DescribeVolumesModificationsResult) => any;
5967
+ /**
5968
+ * @internal
5969
+ */
5970
+ export declare const DescribeVolumeStatusRequestFilterSensitiveLog: (obj: DescribeVolumeStatusRequest) => any;
5971
+ /**
5972
+ * @internal
5973
+ */
5974
+ export declare const VolumeStatusActionFilterSensitiveLog: (obj: VolumeStatusAction) => any;
5975
+ /**
5976
+ * @internal
5977
+ */
5978
+ export declare const VolumeStatusAttachmentStatusFilterSensitiveLog: (obj: VolumeStatusAttachmentStatus) => any;
5979
+ /**
5980
+ * @internal
5981
+ */
5982
+ export declare const VolumeStatusEventFilterSensitiveLog: (obj: VolumeStatusEvent) => any;
5788
5983
  /**
5789
5984
  * @internal
5790
5985
  */
@@ -6897,39 +7092,3 @@ export declare const ImportSnapshotRequestFilterSensitiveLog: (obj: ImportSnapsh
6897
7092
  * @internal
6898
7093
  */
6899
7094
  export declare const ImportSnapshotResultFilterSensitiveLog: (obj: ImportSnapshotResult) => any;
6900
- /**
6901
- * @internal
6902
- */
6903
- export declare const ImportVolumeRequestFilterSensitiveLog: (obj: ImportVolumeRequest) => any;
6904
- /**
6905
- * @internal
6906
- */
6907
- export declare const ImportVolumeResultFilterSensitiveLog: (obj: ImportVolumeResult) => any;
6908
- /**
6909
- * @internal
6910
- */
6911
- export declare const ListImagesInRecycleBinRequestFilterSensitiveLog: (obj: ListImagesInRecycleBinRequest) => any;
6912
- /**
6913
- * @internal
6914
- */
6915
- export declare const ImageRecycleBinInfoFilterSensitiveLog: (obj: ImageRecycleBinInfo) => any;
6916
- /**
6917
- * @internal
6918
- */
6919
- export declare const ListImagesInRecycleBinResultFilterSensitiveLog: (obj: ListImagesInRecycleBinResult) => any;
6920
- /**
6921
- * @internal
6922
- */
6923
- export declare const ListSnapshotsInRecycleBinRequestFilterSensitiveLog: (obj: ListSnapshotsInRecycleBinRequest) => any;
6924
- /**
6925
- * @internal
6926
- */
6927
- export declare const SnapshotRecycleBinInfoFilterSensitiveLog: (obj: SnapshotRecycleBinInfo) => any;
6928
- /**
6929
- * @internal
6930
- */
6931
- export declare const ListSnapshotsInRecycleBinResultFilterSensitiveLog: (obj: ListSnapshotsInRecycleBinResult) => any;
6932
- /**
6933
- * @internal
6934
- */
6935
- export declare const ModifyAddressAttributeRequestFilterSensitiveLog: (obj: ModifyAddressAttributeRequest) => any;