@aws-sdk/client-ec2 3.48.0 → 3.52.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 (71) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/dist-cjs/EC2.js +30 -0
  3. package/dist-cjs/commands/ListImagesInRecycleBinCommand.js +36 -0
  4. package/dist-cjs/commands/ResetInstanceAttributeCommand.js +2 -2
  5. package/dist-cjs/commands/ResetNetworkInterfaceAttributeCommand.js +2 -2
  6. package/dist-cjs/commands/ResetSnapshotAttributeCommand.js +2 -2
  7. package/dist-cjs/commands/RestoreImageFromRecycleBinCommand.js +36 -0
  8. package/dist-cjs/commands/index.js +2 -0
  9. package/dist-cjs/models/models_5.js +23 -23
  10. package/dist-cjs/models/models_6.js +32 -2
  11. package/dist-cjs/pagination/ListImagesInRecycleBinPaginator.js +35 -0
  12. package/dist-cjs/pagination/index.js +1 -0
  13. package/dist-cjs/protocols/Aws_ec2.js +207 -13
  14. package/dist-es/EC2.js +30 -0
  15. package/dist-es/commands/ListImagesInRecycleBinCommand.js +39 -0
  16. package/dist-es/commands/ResetInstanceAttributeCommand.js +1 -1
  17. package/dist-es/commands/ResetNetworkInterfaceAttributeCommand.js +1 -1
  18. package/dist-es/commands/ResetSnapshotAttributeCommand.js +1 -1
  19. package/dist-es/commands/RestoreImageFromRecycleBinCommand.js +39 -0
  20. package/dist-es/commands/index.js +2 -0
  21. package/dist-es/models/models_5.js +12 -12
  22. package/dist-es/models/models_6.js +20 -0
  23. package/dist-es/pagination/ListImagesInRecycleBinPaginator.js +74 -0
  24. package/dist-es/pagination/index.js +1 -0
  25. package/dist-es/protocols/Aws_ec2.js +199 -0
  26. package/dist-types/EC2.d.ts +47 -12
  27. package/dist-types/EC2Client.d.ts +4 -2
  28. package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
  29. package/dist-types/commands/CreateImageCommand.d.ts +6 -0
  30. package/dist-types/commands/DeleteFleetsCommand.d.ts +1 -1
  31. package/dist-types/commands/DeregisterImageCommand.d.ts +12 -4
  32. package/dist-types/commands/DeregisterInstanceEventNotificationAttributesCommand.d.ts +1 -2
  33. package/dist-types/commands/DescribeFleetInstancesCommand.d.ts +1 -1
  34. package/dist-types/commands/DescribeFleetsCommand.d.ts +1 -1
  35. package/dist-types/commands/DisableFastLaunchCommand.d.ts +3 -0
  36. package/dist-types/commands/EnableFastLaunchCommand.d.ts +3 -0
  37. package/dist-types/commands/ListImagesInRecycleBinCommand.d.ts +37 -0
  38. package/dist-types/commands/MonitorInstancesCommand.d.ts +1 -1
  39. package/dist-types/commands/RegisterInstanceEventNotificationAttributesCommand.d.ts +1 -1
  40. package/dist-types/commands/ResetInstanceAttributeCommand.d.ts +1 -1
  41. package/dist-types/commands/ResetNetworkInterfaceAttributeCommand.d.ts +1 -1
  42. package/dist-types/commands/ResetSnapshotAttributeCommand.d.ts +1 -1
  43. package/dist-types/commands/RestoreImageFromRecycleBinCommand.d.ts +35 -0
  44. package/dist-types/commands/index.d.ts +2 -0
  45. package/dist-types/models/models_0.d.ts +30 -2
  46. package/dist-types/models/models_1.d.ts +16 -14
  47. package/dist-types/models/models_2.d.ts +35 -10
  48. package/dist-types/models/models_3.d.ts +104 -22
  49. package/dist-types/models/models_4.d.ts +6 -20
  50. package/dist-types/models/models_5.d.ts +90 -75
  51. package/dist-types/models/models_6.d.ts +135 -2
  52. package/dist-types/pagination/ListImagesInRecycleBinPaginator.d.ts +4 -0
  53. package/dist-types/pagination/index.d.ts +1 -0
  54. package/dist-types/protocols/Aws_ec2.d.ts +6 -0
  55. package/dist-types/ts3.4/EC2.d.ts +10 -0
  56. package/dist-types/ts3.4/EC2Client.d.ts +4 -2
  57. package/dist-types/ts3.4/commands/ListImagesInRecycleBinCommand.d.ts +17 -0
  58. package/dist-types/ts3.4/commands/ResetInstanceAttributeCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/ResetNetworkInterfaceAttributeCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/ResetSnapshotAttributeCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/RestoreImageFromRecycleBinCommand.d.ts +17 -0
  62. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  63. package/dist-types/ts3.4/models/models_0.d.ts +6 -1
  64. package/dist-types/ts3.4/models/models_1.d.ts +1 -1
  65. package/dist-types/ts3.4/models/models_2.d.ts +5 -0
  66. package/dist-types/ts3.4/models/models_5.d.ts +43 -37
  67. package/dist-types/ts3.4/models/models_6.d.ts +57 -2
  68. package/dist-types/ts3.4/pagination/ListImagesInRecycleBinPaginator.d.ts +4 -0
  69. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  70. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +6 -0
  71. package/package.json +42 -36
@@ -2366,6 +2366,85 @@ export declare namespace ImportVolumeResult {
2366
2366
  */
2367
2367
  const filterSensitiveLog: (obj: ImportVolumeResult) => any;
2368
2368
  }
2369
+ export interface ListImagesInRecycleBinRequest {
2370
+ /**
2371
+ * <p>The IDs of the AMIs to list. Omit this parameter to list all of the AMIs that
2372
+ * are in the Recycle Bin. You can specify up to 20 IDs in a single request.</p>
2373
+ */
2374
+ ImageIds?: string[];
2375
+ /**
2376
+ * <p>The token for the next page of results.</p>
2377
+ */
2378
+ NextToken?: string;
2379
+ /**
2380
+ * <p>The maximum number of results to return with a single call.
2381
+ * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
2382
+ * <p>If you do not specify a value for <i>MaxResults</i>, the request
2383
+ * returns 1,000 items per page by default. For more information, see
2384
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">
2385
+ * Pagination</a>.</p>
2386
+ */
2387
+ MaxResults?: number;
2388
+ /**
2389
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
2390
+ * and provides an error response. If you have the required permissions, the error response is
2391
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
2392
+ */
2393
+ DryRun?: boolean;
2394
+ }
2395
+ export declare namespace ListImagesInRecycleBinRequest {
2396
+ /**
2397
+ * @internal
2398
+ */
2399
+ const filterSensitiveLog: (obj: ListImagesInRecycleBinRequest) => any;
2400
+ }
2401
+ /**
2402
+ * <p>Information about an AMI that is currently in the Recycle Bin.</p>
2403
+ */
2404
+ export interface ImageRecycleBinInfo {
2405
+ /**
2406
+ * <p>The ID of the AMI.</p>
2407
+ */
2408
+ ImageId?: string;
2409
+ /**
2410
+ * <p>The name of the AMI.</p>
2411
+ */
2412
+ Name?: string;
2413
+ /**
2414
+ * <p>The description of the AMI.</p>
2415
+ */
2416
+ Description?: string;
2417
+ /**
2418
+ * <p>The date and time when the AMI entered the Recycle Bin.</p>
2419
+ */
2420
+ RecycleBinEnterTime?: Date;
2421
+ /**
2422
+ * <p>The date and time when the AMI is to be permanently deleted from the Recycle Bin.</p>
2423
+ */
2424
+ RecycleBinExitTime?: Date;
2425
+ }
2426
+ export declare namespace ImageRecycleBinInfo {
2427
+ /**
2428
+ * @internal
2429
+ */
2430
+ const filterSensitiveLog: (obj: ImageRecycleBinInfo) => any;
2431
+ }
2432
+ export interface ListImagesInRecycleBinResult {
2433
+ /**
2434
+ * <p>Information about the AMIs.</p>
2435
+ */
2436
+ Images?: ImageRecycleBinInfo[];
2437
+ /**
2438
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
2439
+ */
2440
+ NextToken?: string;
2441
+ }
2442
+ export declare namespace ListImagesInRecycleBinResult {
2443
+ /**
2444
+ * @internal
2445
+ */
2446
+ const filterSensitiveLog: (obj: ListImagesInRecycleBinResult) => any;
2447
+ }
2369
2448
  export interface ListSnapshotsInRecycleBinRequest {
2370
2449
  /**
2371
2450
  * <p>The maximum number of results to return with a single call.
@@ -2733,7 +2812,18 @@ export interface ModifyClientVpnEndpointRequest {
2733
2812
  * <p>The options for managing connection authorization for new client connections.</p>
2734
2813
  */
2735
2814
  ClientConnectOptions?: ClientConnectOptions;
2815
+ /**
2816
+ * <p>The maximum VPN session duration time in hours.</p>
2817
+ * <p>Valid values: <code>8 | 10 | 12 | 24</code>
2818
+ * </p>
2819
+ * <p>Default value: <code>24</code>
2820
+ * </p>
2821
+ */
2736
2822
  SessionTimeoutHours?: number;
2823
+ /**
2824
+ * <p>Options for enabling a customizable text banner that will be displayed on
2825
+ * Amazon Web Services provided clients when a VPN session is established.</p>
2826
+ */
2737
2827
  ClientLoginBannerOptions?: ClientLoginBannerOptions;
2738
2828
  }
2739
2829
  export declare namespace ModifyClientVpnEndpointRequest {
@@ -7661,78 +7751,3 @@ export declare namespace ResetImageAttributeRequest {
7661
7751
  */
7662
7752
  const filterSensitiveLog: (obj: ResetImageAttributeRequest) => any;
7663
7753
  }
7664
- export interface ResetInstanceAttributeRequest {
7665
- /**
7666
- * <p>The attribute to reset.</p>
7667
- * <important>
7668
- * <p>You can only reset the following attributes: <code>kernel</code> |
7669
- * <code>ramdisk</code> | <code>sourceDestCheck</code>. To change an instance
7670
- * attribute, use <a>ModifyInstanceAttribute</a>.</p>
7671
- * </important>
7672
- */
7673
- Attribute: InstanceAttributeName | string | undefined;
7674
- /**
7675
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7676
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7677
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7678
- */
7679
- DryRun?: boolean;
7680
- /**
7681
- * <p>The ID of the instance.</p>
7682
- */
7683
- InstanceId: string | undefined;
7684
- }
7685
- export declare namespace ResetInstanceAttributeRequest {
7686
- /**
7687
- * @internal
7688
- */
7689
- const filterSensitiveLog: (obj: ResetInstanceAttributeRequest) => any;
7690
- }
7691
- /**
7692
- * <p>Contains the parameters for ResetNetworkInterfaceAttribute.</p>
7693
- */
7694
- export interface ResetNetworkInterfaceAttributeRequest {
7695
- /**
7696
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7697
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7698
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7699
- */
7700
- DryRun?: boolean;
7701
- /**
7702
- * <p>The ID of the network interface.</p>
7703
- */
7704
- NetworkInterfaceId: string | undefined;
7705
- /**
7706
- * <p>The source/destination checking attribute. Resets the value to <code>true</code>.</p>
7707
- */
7708
- SourceDestCheck?: string;
7709
- }
7710
- export declare namespace ResetNetworkInterfaceAttributeRequest {
7711
- /**
7712
- * @internal
7713
- */
7714
- const filterSensitiveLog: (obj: ResetNetworkInterfaceAttributeRequest) => any;
7715
- }
7716
- export interface ResetSnapshotAttributeRequest {
7717
- /**
7718
- * <p>The attribute to reset. Currently, only the attribute for permission to create volumes can
7719
- * be reset.</p>
7720
- */
7721
- Attribute: SnapshotAttributeName | string | undefined;
7722
- /**
7723
- * <p>The ID of the snapshot.</p>
7724
- */
7725
- SnapshotId: string | undefined;
7726
- /**
7727
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7728
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7729
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7730
- */
7731
- DryRun?: boolean;
7732
- }
7733
- export declare namespace ResetSnapshotAttributeRequest {
7734
- /**
7735
- * @internal
7736
- */
7737
- const filterSensitiveLog: (obj: ResetSnapshotAttributeRequest) => any;
7738
- }
@@ -1,9 +1,84 @@
1
1
  import { _InstanceType, ByoipCidr, ClientVpnAuthorizationRuleStatus, HostnameType, IamInstanceProfileSpecification, IpPermission, TagSpecification, TransitGatewayAttachmentResourceType } from "./models_0";
2
2
  import { BlockDeviceMapping, CreditSpecificationRequest, ElasticGpuSpecification, InstanceInterruptionBehavior, InstanceIpv6Address, LocalGatewayRoute, ManagedPrefixList, MarketType, Placement, ShutdownBehavior, SnapshotState, SpotInstanceType } from "./models_1";
3
3
  import { ClientVpnConnectionStatus, Filter, TransitGatewayRoute } from "./models_2";
4
- import { HttpTokensState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceState, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis } from "./models_3";
5
- import { InstanceNetworkInterfaceSpecification, RunInstancesMonitoringEnabled } from "./models_4";
4
+ import { HttpTokensState, InstanceAttributeName, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceState, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis } from "./models_3";
5
+ import { InstanceNetworkInterfaceSpecification, RunInstancesMonitoringEnabled, SnapshotAttributeName } from "./models_4";
6
6
  import { CapacityReservationSpecification, InstanceMonitoring, Status } from "./models_5";
7
+ export interface ResetInstanceAttributeRequest {
8
+ /**
9
+ * <p>The attribute to reset.</p>
10
+ * <important>
11
+ * <p>You can only reset the following attributes: <code>kernel</code> |
12
+ * <code>ramdisk</code> | <code>sourceDestCheck</code>. To change an instance
13
+ * attribute, use <a>ModifyInstanceAttribute</a>.</p>
14
+ * </important>
15
+ */
16
+ Attribute: InstanceAttributeName | string | undefined;
17
+ /**
18
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
19
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
20
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
21
+ */
22
+ DryRun?: boolean;
23
+ /**
24
+ * <p>The ID of the instance.</p>
25
+ */
26
+ InstanceId: string | undefined;
27
+ }
28
+ export declare namespace ResetInstanceAttributeRequest {
29
+ /**
30
+ * @internal
31
+ */
32
+ const filterSensitiveLog: (obj: ResetInstanceAttributeRequest) => any;
33
+ }
34
+ /**
35
+ * <p>Contains the parameters for ResetNetworkInterfaceAttribute.</p>
36
+ */
37
+ export interface ResetNetworkInterfaceAttributeRequest {
38
+ /**
39
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
40
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
41
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
42
+ */
43
+ DryRun?: boolean;
44
+ /**
45
+ * <p>The ID of the network interface.</p>
46
+ */
47
+ NetworkInterfaceId: string | undefined;
48
+ /**
49
+ * <p>The source/destination checking attribute. Resets the value to <code>true</code>.</p>
50
+ */
51
+ SourceDestCheck?: string;
52
+ }
53
+ export declare namespace ResetNetworkInterfaceAttributeRequest {
54
+ /**
55
+ * @internal
56
+ */
57
+ const filterSensitiveLog: (obj: ResetNetworkInterfaceAttributeRequest) => any;
58
+ }
59
+ export interface ResetSnapshotAttributeRequest {
60
+ /**
61
+ * <p>The attribute to reset. Currently, only the attribute for permission to create volumes can
62
+ * be reset.</p>
63
+ */
64
+ Attribute: SnapshotAttributeName | string | undefined;
65
+ /**
66
+ * <p>The ID of the snapshot.</p>
67
+ */
68
+ SnapshotId: string | undefined;
69
+ /**
70
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
71
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
72
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
73
+ */
74
+ DryRun?: boolean;
75
+ }
76
+ export declare namespace ResetSnapshotAttributeRequest {
77
+ /**
78
+ * @internal
79
+ */
80
+ const filterSensitiveLog: (obj: ResetSnapshotAttributeRequest) => any;
81
+ }
7
82
  export interface RestoreAddressToClassicRequest {
8
83
  /**
9
84
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
@@ -38,6 +113,36 @@ export declare namespace RestoreAddressToClassicResult {
38
113
  */
39
114
  const filterSensitiveLog: (obj: RestoreAddressToClassicResult) => any;
40
115
  }
116
+ export interface RestoreImageFromRecycleBinRequest {
117
+ /**
118
+ * <p>The ID of the AMI to restore.</p>
119
+ */
120
+ ImageId: string | undefined;
121
+ /**
122
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
123
+ * and provides an error response. If you have the required permissions, the error response is
124
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
125
+ */
126
+ DryRun?: boolean;
127
+ }
128
+ export declare namespace RestoreImageFromRecycleBinRequest {
129
+ /**
130
+ * @internal
131
+ */
132
+ const filterSensitiveLog: (obj: RestoreImageFromRecycleBinRequest) => any;
133
+ }
134
+ export interface RestoreImageFromRecycleBinResult {
135
+ /**
136
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
137
+ */
138
+ Return?: boolean;
139
+ }
140
+ export declare namespace RestoreImageFromRecycleBinResult {
141
+ /**
142
+ * @internal
143
+ */
144
+ const filterSensitiveLog: (obj: RestoreImageFromRecycleBinResult) => any;
145
+ }
41
146
  export interface RestoreManagedPrefixListVersionRequest {
42
147
  /**
43
148
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
@@ -1303,6 +1408,34 @@ export interface SearchLocalGatewayRoutesRequest {
1303
1408
  LocalGatewayRouteTableId: string | undefined;
1304
1409
  /**
1305
1410
  * <p>One or more filters.</p>
1411
+ * <ul>
1412
+ * <li>
1413
+ * <p>
1414
+ * <code>route-search.exact-match</code> - The exact match of the specified filter.</p>
1415
+ * </li>
1416
+ * <li>
1417
+ * <p>
1418
+ * <code>route-search.longest-prefix-match</code> - The longest prefix that matches the route.</p>
1419
+ * </li>
1420
+ * <li>
1421
+ * <p>
1422
+ * <code>route-search.subnet-of-match</code> - The routes with a subnet that match the specified CIDR filter.</p>
1423
+ * </li>
1424
+ * <li>
1425
+ * <p>
1426
+ * <code>route-search.supernet-of-match</code> - The routes with a CIDR that encompass the CIDR filter.
1427
+ * For example, if you have 10.0.1.0/29 and 10.0.1.0/31 routes in your route table and you specify <code>supernet-of-match</code>
1428
+ * as 10.0.1.0/30, then the result returns 10.0.1.0/29.</p>
1429
+ * </li>
1430
+ * <li>
1431
+ * <p>
1432
+ * <code>state</code> - The state of the route.</p>
1433
+ * </li>
1434
+ * <li>
1435
+ * <p>
1436
+ * <code>type</code> - The route type.</p>
1437
+ * </li>
1438
+ * </ul>
1306
1439
  */
1307
1440
  Filters?: Filter[];
1308
1441
  /**
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListImagesInRecycleBinCommandInput, ListImagesInRecycleBinCommandOutput } from "../commands/ListImagesInRecycleBinCommand";
3
+ import { EC2PaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListImagesInRecycleBin(config: EC2PaginationConfiguration, input: ListImagesInRecycleBinCommandInput, ...additionalArguments: any): Paginator<ListImagesInRecycleBinCommandOutput>;
@@ -113,6 +113,7 @@ export * from "./GetTransitGatewayPrefixListReferencesPaginator";
113
113
  export * from "./GetTransitGatewayRouteTableAssociationsPaginator";
114
114
  export * from "./GetTransitGatewayRouteTablePropagationsPaginator";
115
115
  export * from "./GetVpnConnectionDeviceTypesPaginator";
116
+ export * from "./ListImagesInRecycleBinPaginator";
116
117
  export * from "./ListSnapshotsInRecycleBinPaginator";
117
118
  export * from "./SearchLocalGatewayRoutesPaginator";
118
119
  export * from "./SearchTransitGatewayMulticastGroupsPaginator";
@@ -400,6 +400,7 @@ import { ImportInstanceCommandInput, ImportInstanceCommandOutput } from "../comm
400
400
  import { ImportKeyPairCommandInput, ImportKeyPairCommandOutput } from "../commands/ImportKeyPairCommand";
401
401
  import { ImportSnapshotCommandInput, ImportSnapshotCommandOutput } from "../commands/ImportSnapshotCommand";
402
402
  import { ImportVolumeCommandInput, ImportVolumeCommandOutput } from "../commands/ImportVolumeCommand";
403
+ import { ListImagesInRecycleBinCommandInput, ListImagesInRecycleBinCommandOutput } from "../commands/ListImagesInRecycleBinCommand";
403
404
  import { ListSnapshotsInRecycleBinCommandInput, ListSnapshotsInRecycleBinCommandOutput } from "../commands/ListSnapshotsInRecycleBinCommand";
404
405
  import { ModifyAddressAttributeCommandInput, ModifyAddressAttributeCommandOutput } from "../commands/ModifyAddressAttributeCommand";
405
406
  import { ModifyAvailabilityZoneGroupCommandInput, ModifyAvailabilityZoneGroupCommandOutput } from "../commands/ModifyAvailabilityZoneGroupCommand";
@@ -494,6 +495,7 @@ import { ResetInstanceAttributeCommandInput, ResetInstanceAttributeCommandOutput
494
495
  import { ResetNetworkInterfaceAttributeCommandInput, ResetNetworkInterfaceAttributeCommandOutput } from "../commands/ResetNetworkInterfaceAttributeCommand";
495
496
  import { ResetSnapshotAttributeCommandInput, ResetSnapshotAttributeCommandOutput } from "../commands/ResetSnapshotAttributeCommand";
496
497
  import { RestoreAddressToClassicCommandInput, RestoreAddressToClassicCommandOutput } from "../commands/RestoreAddressToClassicCommand";
498
+ import { RestoreImageFromRecycleBinCommandInput, RestoreImageFromRecycleBinCommandOutput } from "../commands/RestoreImageFromRecycleBinCommand";
497
499
  import { RestoreManagedPrefixListVersionCommandInput, RestoreManagedPrefixListVersionCommandOutput } from "../commands/RestoreManagedPrefixListVersionCommand";
498
500
  import { RestoreSnapshotFromRecycleBinCommandInput, RestoreSnapshotFromRecycleBinCommandOutput } from "../commands/RestoreSnapshotFromRecycleBinCommand";
499
501
  import { RestoreSnapshotTierCommandInput, RestoreSnapshotTierCommandOutput } from "../commands/RestoreSnapshotTierCommand";
@@ -919,6 +921,7 @@ export declare const serializeAws_ec2ImportInstanceCommand: (input: ImportInstan
919
921
  export declare const serializeAws_ec2ImportKeyPairCommand: (input: ImportKeyPairCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
920
922
  export declare const serializeAws_ec2ImportSnapshotCommand: (input: ImportSnapshotCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
921
923
  export declare const serializeAws_ec2ImportVolumeCommand: (input: ImportVolumeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
924
+ export declare const serializeAws_ec2ListImagesInRecycleBinCommand: (input: ListImagesInRecycleBinCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
922
925
  export declare const serializeAws_ec2ListSnapshotsInRecycleBinCommand: (input: ListSnapshotsInRecycleBinCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
923
926
  export declare const serializeAws_ec2ModifyAddressAttributeCommand: (input: ModifyAddressAttributeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
924
927
  export declare const serializeAws_ec2ModifyAvailabilityZoneGroupCommand: (input: ModifyAvailabilityZoneGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -1013,6 +1016,7 @@ export declare const serializeAws_ec2ResetInstanceAttributeCommand: (input: Rese
1013
1016
  export declare const serializeAws_ec2ResetNetworkInterfaceAttributeCommand: (input: ResetNetworkInterfaceAttributeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
1014
1017
  export declare const serializeAws_ec2ResetSnapshotAttributeCommand: (input: ResetSnapshotAttributeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
1015
1018
  export declare const serializeAws_ec2RestoreAddressToClassicCommand: (input: RestoreAddressToClassicCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
1019
+ export declare const serializeAws_ec2RestoreImageFromRecycleBinCommand: (input: RestoreImageFromRecycleBinCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
1016
1020
  export declare const serializeAws_ec2RestoreManagedPrefixListVersionCommand: (input: RestoreManagedPrefixListVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
1017
1021
  export declare const serializeAws_ec2RestoreSnapshotFromRecycleBinCommand: (input: RestoreSnapshotFromRecycleBinCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
1018
1022
  export declare const serializeAws_ec2RestoreSnapshotTierCommand: (input: RestoreSnapshotTierCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -1438,6 +1442,7 @@ export declare const deserializeAws_ec2ImportInstanceCommand: (output: __HttpRes
1438
1442
  export declare const deserializeAws_ec2ImportKeyPairCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ImportKeyPairCommandOutput>;
1439
1443
  export declare const deserializeAws_ec2ImportSnapshotCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ImportSnapshotCommandOutput>;
1440
1444
  export declare const deserializeAws_ec2ImportVolumeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ImportVolumeCommandOutput>;
1445
+ export declare const deserializeAws_ec2ListImagesInRecycleBinCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListImagesInRecycleBinCommandOutput>;
1441
1446
  export declare const deserializeAws_ec2ListSnapshotsInRecycleBinCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSnapshotsInRecycleBinCommandOutput>;
1442
1447
  export declare const deserializeAws_ec2ModifyAddressAttributeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ModifyAddressAttributeCommandOutput>;
1443
1448
  export declare const deserializeAws_ec2ModifyAvailabilityZoneGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ModifyAvailabilityZoneGroupCommandOutput>;
@@ -1532,6 +1537,7 @@ export declare const deserializeAws_ec2ResetInstanceAttributeCommand: (output: _
1532
1537
  export declare const deserializeAws_ec2ResetNetworkInterfaceAttributeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ResetNetworkInterfaceAttributeCommandOutput>;
1533
1538
  export declare const deserializeAws_ec2ResetSnapshotAttributeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ResetSnapshotAttributeCommandOutput>;
1534
1539
  export declare const deserializeAws_ec2RestoreAddressToClassicCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RestoreAddressToClassicCommandOutput>;
1540
+ export declare const deserializeAws_ec2RestoreImageFromRecycleBinCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RestoreImageFromRecycleBinCommandOutput>;
1535
1541
  export declare const deserializeAws_ec2RestoreManagedPrefixListVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RestoreManagedPrefixListVersionCommandOutput>;
1536
1542
  export declare const deserializeAws_ec2RestoreSnapshotFromRecycleBinCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RestoreSnapshotFromRecycleBinCommandOutput>;
1537
1543
  export declare const deserializeAws_ec2RestoreSnapshotTierCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RestoreSnapshotTierCommandOutput>;
@@ -399,6 +399,7 @@ import { ImportInstanceCommandInput, ImportInstanceCommandOutput } from "./comma
399
399
  import { ImportKeyPairCommandInput, ImportKeyPairCommandOutput } from "./commands/ImportKeyPairCommand";
400
400
  import { ImportSnapshotCommandInput, ImportSnapshotCommandOutput } from "./commands/ImportSnapshotCommand";
401
401
  import { ImportVolumeCommandInput, ImportVolumeCommandOutput } from "./commands/ImportVolumeCommand";
402
+ import { ListImagesInRecycleBinCommandInput, ListImagesInRecycleBinCommandOutput } from "./commands/ListImagesInRecycleBinCommand";
402
403
  import { ListSnapshotsInRecycleBinCommandInput, ListSnapshotsInRecycleBinCommandOutput } from "./commands/ListSnapshotsInRecycleBinCommand";
403
404
  import { ModifyAddressAttributeCommandInput, ModifyAddressAttributeCommandOutput } from "./commands/ModifyAddressAttributeCommand";
404
405
  import { ModifyAvailabilityZoneGroupCommandInput, ModifyAvailabilityZoneGroupCommandOutput } from "./commands/ModifyAvailabilityZoneGroupCommand";
@@ -493,6 +494,7 @@ import { ResetInstanceAttributeCommandInput, ResetInstanceAttributeCommandOutput
493
494
  import { ResetNetworkInterfaceAttributeCommandInput, ResetNetworkInterfaceAttributeCommandOutput } from "./commands/ResetNetworkInterfaceAttributeCommand";
494
495
  import { ResetSnapshotAttributeCommandInput, ResetSnapshotAttributeCommandOutput } from "./commands/ResetSnapshotAttributeCommand";
495
496
  import { RestoreAddressToClassicCommandInput, RestoreAddressToClassicCommandOutput } from "./commands/RestoreAddressToClassicCommand";
497
+ import { RestoreImageFromRecycleBinCommandInput, RestoreImageFromRecycleBinCommandOutput } from "./commands/RestoreImageFromRecycleBinCommand";
496
498
  import { RestoreManagedPrefixListVersionCommandInput, RestoreManagedPrefixListVersionCommandOutput } from "./commands/RestoreManagedPrefixListVersionCommand";
497
499
  import { RestoreSnapshotFromRecycleBinCommandInput, RestoreSnapshotFromRecycleBinCommandOutput } from "./commands/RestoreSnapshotFromRecycleBinCommand";
498
500
  import { RestoreSnapshotTierCommandInput, RestoreSnapshotTierCommandOutput } from "./commands/RestoreSnapshotTierCommand";
@@ -2122,6 +2124,10 @@ export declare class EC2 extends EC2Client {
2122
2124
  importVolume(args: ImportVolumeCommandInput, cb: (err: any, data?: ImportVolumeCommandOutput) => void): void;
2123
2125
  importVolume(args: ImportVolumeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportVolumeCommandOutput) => void): void;
2124
2126
 
2127
+ listImagesInRecycleBin(args: ListImagesInRecycleBinCommandInput, options?: __HttpHandlerOptions): Promise<ListImagesInRecycleBinCommandOutput>;
2128
+ listImagesInRecycleBin(args: ListImagesInRecycleBinCommandInput, cb: (err: any, data?: ListImagesInRecycleBinCommandOutput) => void): void;
2129
+ listImagesInRecycleBin(args: ListImagesInRecycleBinCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListImagesInRecycleBinCommandOutput) => void): void;
2130
+
2125
2131
  listSnapshotsInRecycleBin(args: ListSnapshotsInRecycleBinCommandInput, options?: __HttpHandlerOptions): Promise<ListSnapshotsInRecycleBinCommandOutput>;
2126
2132
  listSnapshotsInRecycleBin(args: ListSnapshotsInRecycleBinCommandInput, cb: (err: any, data?: ListSnapshotsInRecycleBinCommandOutput) => void): void;
2127
2133
  listSnapshotsInRecycleBin(args: ListSnapshotsInRecycleBinCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSnapshotsInRecycleBinCommandOutput) => void): void;
@@ -2498,6 +2504,10 @@ export declare class EC2 extends EC2Client {
2498
2504
  restoreAddressToClassic(args: RestoreAddressToClassicCommandInput, cb: (err: any, data?: RestoreAddressToClassicCommandOutput) => void): void;
2499
2505
  restoreAddressToClassic(args: RestoreAddressToClassicCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RestoreAddressToClassicCommandOutput) => void): void;
2500
2506
 
2507
+ restoreImageFromRecycleBin(args: RestoreImageFromRecycleBinCommandInput, options?: __HttpHandlerOptions): Promise<RestoreImageFromRecycleBinCommandOutput>;
2508
+ restoreImageFromRecycleBin(args: RestoreImageFromRecycleBinCommandInput, cb: (err: any, data?: RestoreImageFromRecycleBinCommandOutput) => void): void;
2509
+ restoreImageFromRecycleBin(args: RestoreImageFromRecycleBinCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RestoreImageFromRecycleBinCommandOutput) => void): void;
2510
+
2501
2511
  restoreManagedPrefixListVersion(args: RestoreManagedPrefixListVersionCommandInput, options?: __HttpHandlerOptions): Promise<RestoreManagedPrefixListVersionCommandOutput>;
2502
2512
  restoreManagedPrefixListVersion(args: RestoreManagedPrefixListVersionCommandInput, cb: (err: any, data?: RestoreManagedPrefixListVersionCommandOutput) => void): void;
2503
2513
  restoreManagedPrefixListVersion(args: RestoreManagedPrefixListVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RestoreManagedPrefixListVersionCommandOutput) => void): void;