@aws-sdk/client-ec2 3.427.0 → 3.428.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 (48) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/EC2.js +4 -0
  3. package/dist-cjs/commands/DisableImageCommand.js +51 -0
  4. package/dist-cjs/commands/EnableImageCommand.js +51 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/models/models_0.js +1 -0
  7. package/dist-cjs/models/models_3.js +1 -0
  8. package/dist-cjs/protocols/Aws_ec2.js +133 -17
  9. package/dist-es/EC2.js +4 -0
  10. package/dist-es/commands/DisableImageCommand.js +47 -0
  11. package/dist-es/commands/EnableImageCommand.js +47 -0
  12. package/dist-es/commands/index.js +2 -0
  13. package/dist-es/models/models_0.js +1 -0
  14. package/dist-es/models/models_3.js +1 -0
  15. package/dist-es/protocols/Aws_ec2.js +112 -0
  16. package/dist-types/EC2.d.ts +14 -0
  17. package/dist-types/EC2Client.d.ts +4 -2
  18. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +2 -2
  19. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +2 -2
  20. package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeImagesCommand.d.ts +3 -1
  23. package/dist-types/commands/DisableImageCommand.d.ts +84 -0
  24. package/dist-types/commands/EnableImageCommand.d.ts +81 -0
  25. package/dist-types/commands/GetTransitGatewayRouteTablePropagationsCommand.d.ts +2 -1
  26. package/dist-types/commands/GetVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
  27. package/dist-types/commands/index.d.ts +2 -0
  28. package/dist-types/models/models_0.d.ts +1 -0
  29. package/dist-types/models/models_3.d.ts +21 -1
  30. package/dist-types/models/models_4.d.ts +6 -2
  31. package/dist-types/models/models_5.d.ts +54 -78
  32. package/dist-types/models/models_6.d.ts +81 -103
  33. package/dist-types/models/models_7.d.ts +102 -2
  34. package/dist-types/protocols/Aws_ec2.d.ts +18 -0
  35. package/dist-types/ts3.4/EC2.d.ts +34 -0
  36. package/dist-types/ts3.4/EC2Client.d.ts +12 -0
  37. package/dist-types/ts3.4/commands/DisableImageCommand.d.ts +35 -0
  38. package/dist-types/ts3.4/commands/EnableImageCommand.d.ts +35 -0
  39. package/dist-types/ts3.4/commands/GetTransitGatewayRouteTablePropagationsCommand.d.ts +2 -4
  40. package/dist-types/ts3.4/commands/GetVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  42. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  43. package/dist-types/ts3.4/models/models_3.d.ts +3 -0
  44. package/dist-types/ts3.4/models/models_5.d.ts +14 -19
  45. package/dist-types/ts3.4/models/models_6.d.ts +21 -18
  46. package/dist-types/ts3.4/models/models_7.d.ts +20 -3
  47. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +24 -0
  48. package/package.json +33 -33
@@ -1,9 +1,109 @@
1
1
  import { _InstanceType, ByoipCidr, IamInstanceProfileSpecification, IpPermission, NatGatewayAddress, TagSpecification, TransitGatewayAttachmentResourceType } from "./models_0";
2
- import { BlockDeviceMapping, CreditSpecificationRequest, ElasticGpuSpecification, HostnameType, InstanceIpv6Address, LocalGatewayRoute, Placement, ShutdownBehavior } from "./models_1";
2
+ import { BlockDeviceMapping, CreditSpecificationRequest, ElasticGpuSpecification, HostnameType, InstanceInterruptionBehavior, InstanceIpv6Address, LocalGatewayRoute, MarketType, Placement, ShutdownBehavior, SpotInstanceType } from "./models_1";
3
3
  import { TransitGatewayRoute } from "./models_2";
4
4
  import { ClientVpnConnectionStatus, Filter } from "./models_3";
5
5
  import { HttpTokensState, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceNetworkInterfaceSpecification, InstanceState, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, RunInstancesMonitoringEnabled } from "./models_4";
6
- import { CapacityReservationSpecification, CpuOptionsRequest, ElasticInferenceAccelerator, EnclaveOptionsRequest, HibernationOptionsRequest, InstanceMarketOptionsRequest, InstanceMonitoring } from "./models_6";
6
+ import { CapacityReservationSpecification, CpuOptionsRequest, ElasticInferenceAccelerator, InstanceMonitoring } from "./models_6";
7
+ /**
8
+ * @public
9
+ * <p>Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. For
10
+ * more information, see <a href="https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html"> What is Amazon Web Services Nitro
11
+ * Enclaves?</a> in the <i>Amazon Web Services Nitro Enclaves User
12
+ * Guide</i>.</p>
13
+ */
14
+ export interface EnclaveOptionsRequest {
15
+ /**
16
+ * @public
17
+ * <p>To enable the instance for Amazon Web Services Nitro Enclaves, set this parameter to
18
+ * <code>true</code>.</p>
19
+ */
20
+ Enabled?: boolean;
21
+ }
22
+ /**
23
+ * @public
24
+ * <p>Indicates whether your instance is configured for hibernation. This parameter is valid
25
+ * only if the instance meets the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html">hibernation
26
+ * prerequisites</a>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html">Hibernate your instance</a> in the
27
+ * <i>Amazon EC2 User Guide</i>.</p>
28
+ */
29
+ export interface HibernationOptionsRequest {
30
+ /**
31
+ * @public
32
+ * <p>Set to <code>true</code> to enable your instance for hibernation.</p>
33
+ * <p>Default: <code>false</code>
34
+ * </p>
35
+ */
36
+ Configured?: boolean;
37
+ }
38
+ /**
39
+ * @public
40
+ * <p>The options for Spot Instances.</p>
41
+ */
42
+ export interface SpotMarketOptions {
43
+ /**
44
+ * @public
45
+ * <p>The maximum hourly price that you're willing to pay for a Spot Instance. We do not
46
+ * recommend using this parameter because it can lead to increased interruptions. If you do
47
+ * not specify this parameter, you will pay the current Spot price.</p>
48
+ * <important>
49
+ * <p>If you specify a maximum price, your Spot Instances will be interrupted more
50
+ * frequently than if you do not specify this parameter.</p>
51
+ * </important>
52
+ */
53
+ MaxPrice?: string;
54
+ /**
55
+ * @public
56
+ * <p>The Spot Instance request type. For <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances">RunInstances</a>, persistent
57
+ * Spot Instance requests are only supported when the instance interruption behavior is
58
+ * either <code>hibernate</code> or <code>stop</code>.</p>
59
+ */
60
+ SpotInstanceType?: SpotInstanceType | string;
61
+ /**
62
+ * @public
63
+ * <p>Deprecated.</p>
64
+ */
65
+ BlockDurationMinutes?: number;
66
+ /**
67
+ * @public
68
+ * <p>The end date of the request, in UTC format
69
+ * (<i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
70
+ * Supported only for persistent requests.</p>
71
+ * <ul>
72
+ * <li>
73
+ * <p>For a persistent request, the request remains active until the
74
+ * <code>ValidUntil</code> date and time is reached. Otherwise, the request
75
+ * remains active until you cancel it.</p>
76
+ * </li>
77
+ * <li>
78
+ * <p>For a one-time request, <code>ValidUntil</code> is not supported. The request
79
+ * remains active until all instances launch or you cancel the request.</p>
80
+ * </li>
81
+ * </ul>
82
+ */
83
+ ValidUntil?: Date;
84
+ /**
85
+ * @public
86
+ * <p>The behavior when a Spot Instance is interrupted. The default is
87
+ * <code>terminate</code>.</p>
88
+ */
89
+ InstanceInterruptionBehavior?: InstanceInterruptionBehavior | string;
90
+ }
91
+ /**
92
+ * @public
93
+ * <p>Describes the market (purchasing) option for the instances.</p>
94
+ */
95
+ export interface InstanceMarketOptionsRequest {
96
+ /**
97
+ * @public
98
+ * <p>The market type.</p>
99
+ */
100
+ MarketType?: MarketType | string;
101
+ /**
102
+ * @public
103
+ * <p>The options for Spot Instances.</p>
104
+ */
105
+ SpotOptions?: SpotMarketOptions;
106
+ }
7
107
  /**
8
108
  * @public
9
109
  * <p>The launch template to use. You must specify either the launch template ID or launch
@@ -374,6 +374,7 @@ import { DisableEbsEncryptionByDefaultCommandInput, DisableEbsEncryptionByDefaul
374
374
  import { DisableFastLaunchCommandInput, DisableFastLaunchCommandOutput } from "../commands/DisableFastLaunchCommand";
375
375
  import { DisableFastSnapshotRestoresCommandInput, DisableFastSnapshotRestoresCommandOutput } from "../commands/DisableFastSnapshotRestoresCommand";
376
376
  import { DisableImageBlockPublicAccessCommandInput, DisableImageBlockPublicAccessCommandOutput } from "../commands/DisableImageBlockPublicAccessCommand";
377
+ import { DisableImageCommandInput, DisableImageCommandOutput } from "../commands/DisableImageCommand";
377
378
  import { DisableImageDeprecationCommandInput, DisableImageDeprecationCommandOutput } from "../commands/DisableImageDeprecationCommand";
378
379
  import { DisableIpamOrganizationAdminAccountCommandInput, DisableIpamOrganizationAdminAccountCommandOutput } from "../commands/DisableIpamOrganizationAdminAccountCommand";
379
380
  import { DisableSerialConsoleAccessCommandInput, DisableSerialConsoleAccessCommandOutput } from "../commands/DisableSerialConsoleAccessCommand";
@@ -401,6 +402,7 @@ import { EnableEbsEncryptionByDefaultCommandInput, EnableEbsEncryptionByDefaultC
401
402
  import { EnableFastLaunchCommandInput, EnableFastLaunchCommandOutput } from "../commands/EnableFastLaunchCommand";
402
403
  import { EnableFastSnapshotRestoresCommandInput, EnableFastSnapshotRestoresCommandOutput } from "../commands/EnableFastSnapshotRestoresCommand";
403
404
  import { EnableImageBlockPublicAccessCommandInput, EnableImageBlockPublicAccessCommandOutput } from "../commands/EnableImageBlockPublicAccessCommand";
405
+ import { EnableImageCommandInput, EnableImageCommandOutput } from "../commands/EnableImageCommand";
404
406
  import { EnableImageDeprecationCommandInput, EnableImageDeprecationCommandOutput } from "../commands/EnableImageDeprecationCommand";
405
407
  import { EnableIpamOrganizationAdminAccountCommandInput, EnableIpamOrganizationAdminAccountCommandOutput } from "../commands/EnableIpamOrganizationAdminAccountCommand";
406
408
  import { EnableReachabilityAnalyzerOrganizationSharingCommandInput, EnableReachabilityAnalyzerOrganizationSharingCommandOutput } from "../commands/EnableReachabilityAnalyzerOrganizationSharingCommand";
@@ -2089,6 +2091,10 @@ export declare const se_DisableFastLaunchCommand: (input: DisableFastLaunchComma
2089
2091
  * serializeAws_ec2DisableFastSnapshotRestoresCommand
2090
2092
  */
2091
2093
  export declare const se_DisableFastSnapshotRestoresCommand: (input: DisableFastSnapshotRestoresCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2094
+ /**
2095
+ * serializeAws_ec2DisableImageCommand
2096
+ */
2097
+ export declare const se_DisableImageCommand: (input: DisableImageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2092
2098
  /**
2093
2099
  * serializeAws_ec2DisableImageBlockPublicAccessCommand
2094
2100
  */
@@ -2197,6 +2203,10 @@ export declare const se_EnableFastLaunchCommand: (input: EnableFastLaunchCommand
2197
2203
  * serializeAws_ec2EnableFastSnapshotRestoresCommand
2198
2204
  */
2199
2205
  export declare const se_EnableFastSnapshotRestoresCommand: (input: EnableFastSnapshotRestoresCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2206
+ /**
2207
+ * serializeAws_ec2EnableImageCommand
2208
+ */
2209
+ export declare const se_EnableImageCommand: (input: EnableImageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2200
2210
  /**
2201
2211
  * serializeAws_ec2EnableImageBlockPublicAccessCommand
2202
2212
  */
@@ -4477,6 +4487,10 @@ export declare const de_DisableFastLaunchCommand: (output: __HttpResponse, conte
4477
4487
  * deserializeAws_ec2DisableFastSnapshotRestoresCommand
4478
4488
  */
4479
4489
  export declare const de_DisableFastSnapshotRestoresCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisableFastSnapshotRestoresCommandOutput>;
4490
+ /**
4491
+ * deserializeAws_ec2DisableImageCommand
4492
+ */
4493
+ export declare const de_DisableImageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisableImageCommandOutput>;
4480
4494
  /**
4481
4495
  * deserializeAws_ec2DisableImageBlockPublicAccessCommand
4482
4496
  */
@@ -4585,6 +4599,10 @@ export declare const de_EnableFastLaunchCommand: (output: __HttpResponse, contex
4585
4599
  * deserializeAws_ec2EnableFastSnapshotRestoresCommand
4586
4600
  */
4587
4601
  export declare const de_EnableFastSnapshotRestoresCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<EnableFastSnapshotRestoresCommandOutput>;
4602
+ /**
4603
+ * deserializeAws_ec2EnableImageCommand
4604
+ */
4605
+ export declare const de_EnableImageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<EnableImageCommandOutput>;
4588
4606
  /**
4589
4607
  * deserializeAws_ec2EnableImageBlockPublicAccessCommand
4590
4608
  */
@@ -1495,6 +1495,10 @@ import {
1495
1495
  DisableImageBlockPublicAccessCommandInput,
1496
1496
  DisableImageBlockPublicAccessCommandOutput,
1497
1497
  } from "./commands/DisableImageBlockPublicAccessCommand";
1498
+ import {
1499
+ DisableImageCommandInput,
1500
+ DisableImageCommandOutput,
1501
+ } from "./commands/DisableImageCommand";
1498
1502
  import {
1499
1503
  DisableImageDeprecationCommandInput,
1500
1504
  DisableImageDeprecationCommandOutput,
@@ -1603,6 +1607,10 @@ import {
1603
1607
  EnableImageBlockPublicAccessCommandInput,
1604
1608
  EnableImageBlockPublicAccessCommandOutput,
1605
1609
  } from "./commands/EnableImageBlockPublicAccessCommand";
1610
+ import {
1611
+ EnableImageCommandInput,
1612
+ EnableImageCommandOutput,
1613
+ } from "./commands/EnableImageCommand";
1606
1614
  import {
1607
1615
  EnableImageDeprecationCommandInput,
1608
1616
  EnableImageDeprecationCommandOutput,
@@ -7658,6 +7666,19 @@ export interface EC2 {
7658
7666
  options: __HttpHandlerOptions,
7659
7667
  cb: (err: any, data?: DisableFastSnapshotRestoresCommandOutput) => void
7660
7668
  ): void;
7669
+ disableImage(
7670
+ args: DisableImageCommandInput,
7671
+ options?: __HttpHandlerOptions
7672
+ ): Promise<DisableImageCommandOutput>;
7673
+ disableImage(
7674
+ args: DisableImageCommandInput,
7675
+ cb: (err: any, data?: DisableImageCommandOutput) => void
7676
+ ): void;
7677
+ disableImage(
7678
+ args: DisableImageCommandInput,
7679
+ options: __HttpHandlerOptions,
7680
+ cb: (err: any, data?: DisableImageCommandOutput) => void
7681
+ ): void;
7661
7682
  disableImageBlockPublicAccess(
7662
7683
  args: DisableImageBlockPublicAccessCommandInput,
7663
7684
  options?: __HttpHandlerOptions
@@ -8063,6 +8084,19 @@ export interface EC2 {
8063
8084
  options: __HttpHandlerOptions,
8064
8085
  cb: (err: any, data?: EnableFastSnapshotRestoresCommandOutput) => void
8065
8086
  ): void;
8087
+ enableImage(
8088
+ args: EnableImageCommandInput,
8089
+ options?: __HttpHandlerOptions
8090
+ ): Promise<EnableImageCommandOutput>;
8091
+ enableImage(
8092
+ args: EnableImageCommandInput,
8093
+ cb: (err: any, data?: EnableImageCommandOutput) => void
8094
+ ): void;
8095
+ enableImage(
8096
+ args: EnableImageCommandInput,
8097
+ options: __HttpHandlerOptions,
8098
+ cb: (err: any, data?: EnableImageCommandOutput) => void
8099
+ ): void;
8066
8100
  enableImageBlockPublicAccess(
8067
8101
  args: EnableImageBlockPublicAccessCommandInput,
8068
8102
  options?: __HttpHandlerOptions
@@ -1541,6 +1541,10 @@ import {
1541
1541
  DisableImageBlockPublicAccessCommandInput,
1542
1542
  DisableImageBlockPublicAccessCommandOutput,
1543
1543
  } from "./commands/DisableImageBlockPublicAccessCommand";
1544
+ import {
1545
+ DisableImageCommandInput,
1546
+ DisableImageCommandOutput,
1547
+ } from "./commands/DisableImageCommand";
1544
1548
  import {
1545
1549
  DisableImageDeprecationCommandInput,
1546
1550
  DisableImageDeprecationCommandOutput,
@@ -1649,6 +1653,10 @@ import {
1649
1653
  EnableImageBlockPublicAccessCommandInput,
1650
1654
  EnableImageBlockPublicAccessCommandOutput,
1651
1655
  } from "./commands/EnableImageBlockPublicAccessCommand";
1656
+ import {
1657
+ EnableImageCommandInput,
1658
+ EnableImageCommandOutput,
1659
+ } from "./commands/EnableImageCommand";
1652
1660
  import {
1653
1661
  EnableImageDeprecationCommandInput,
1654
1662
  EnableImageDeprecationCommandOutput,
@@ -2815,6 +2823,7 @@ export type ServiceInputTypes =
2815
2823
  | DisableFastLaunchCommandInput
2816
2824
  | DisableFastSnapshotRestoresCommandInput
2817
2825
  | DisableImageBlockPublicAccessCommandInput
2826
+ | DisableImageCommandInput
2818
2827
  | DisableImageDeprecationCommandInput
2819
2828
  | DisableIpamOrganizationAdminAccountCommandInput
2820
2829
  | DisableSerialConsoleAccessCommandInput
@@ -2842,6 +2851,7 @@ export type ServiceInputTypes =
2842
2851
  | EnableFastLaunchCommandInput
2843
2852
  | EnableFastSnapshotRestoresCommandInput
2844
2853
  | EnableImageBlockPublicAccessCommandInput
2854
+ | EnableImageCommandInput
2845
2855
  | EnableImageDeprecationCommandInput
2846
2856
  | EnableIpamOrganizationAdminAccountCommandInput
2847
2857
  | EnableReachabilityAnalyzerOrganizationSharingCommandInput
@@ -3413,6 +3423,7 @@ export type ServiceOutputTypes =
3413
3423
  | DisableFastLaunchCommandOutput
3414
3424
  | DisableFastSnapshotRestoresCommandOutput
3415
3425
  | DisableImageBlockPublicAccessCommandOutput
3426
+ | DisableImageCommandOutput
3416
3427
  | DisableImageDeprecationCommandOutput
3417
3428
  | DisableIpamOrganizationAdminAccountCommandOutput
3418
3429
  | DisableSerialConsoleAccessCommandOutput
@@ -3440,6 +3451,7 @@ export type ServiceOutputTypes =
3440
3451
  | EnableFastLaunchCommandOutput
3441
3452
  | EnableFastSnapshotRestoresCommandOutput
3442
3453
  | EnableImageBlockPublicAccessCommandOutput
3454
+ | EnableImageCommandOutput
3443
3455
  | EnableImageDeprecationCommandOutput
3444
3456
  | EnableIpamOrganizationAdminAccountCommandOutput
3445
3457
  | EnableReachabilityAnalyzerOrganizationSharingCommandOutput
@@ -0,0 +1,35 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ EC2ClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../EC2Client";
14
+ import { DisableImageRequest, DisableImageResult } from "../models/models_5";
15
+ export { __MetadataBearer, $Command };
16
+ export interface DisableImageCommandInput extends DisableImageRequest {}
17
+ export interface DisableImageCommandOutput
18
+ extends DisableImageResult,
19
+ __MetadataBearer {}
20
+ export declare class DisableImageCommand extends $Command<
21
+ DisableImageCommandInput,
22
+ DisableImageCommandOutput,
23
+ EC2ClientResolvedConfig
24
+ > {
25
+ readonly input: DisableImageCommandInput;
26
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
+ constructor(input: DisableImageCommandInput);
28
+ resolveMiddleware(
29
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
+ configuration: EC2ClientResolvedConfig,
31
+ options?: __HttpHandlerOptions
32
+ ): Handler<DisableImageCommandInput, DisableImageCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ EC2ClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../EC2Client";
14
+ import { EnableImageRequest, EnableImageResult } from "../models/models_5";
15
+ export { __MetadataBearer, $Command };
16
+ export interface EnableImageCommandInput extends EnableImageRequest {}
17
+ export interface EnableImageCommandOutput
18
+ extends EnableImageResult,
19
+ __MetadataBearer {}
20
+ export declare class EnableImageCommand extends $Command<
21
+ EnableImageCommandInput,
22
+ EnableImageCommandOutput,
23
+ EC2ClientResolvedConfig
24
+ > {
25
+ readonly input: EnableImageCommandInput;
26
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
+ constructor(input: EnableImageCommandInput);
28
+ resolveMiddleware(
29
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
+ configuration: EC2ClientResolvedConfig,
31
+ options?: __HttpHandlerOptions
32
+ ): Handler<EnableImageCommandInput, EnableImageCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -11,10 +11,8 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import {
15
- GetTransitGatewayRouteTablePropagationsRequest,
16
- GetTransitGatewayRouteTablePropagationsResult,
17
- } from "../models/models_5";
14
+ import { GetTransitGatewayRouteTablePropagationsRequest } from "../models/models_5";
15
+ import { GetTransitGatewayRouteTablePropagationsResult } from "../models/models_6";
18
16
  export { __MetadataBearer, $Command };
19
17
  export interface GetTransitGatewayRouteTablePropagationsCommandInput
20
18
  extends GetTransitGatewayRouteTablePropagationsRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  GetVerifiedAccessEndpointPolicyRequest,
16
16
  GetVerifiedAccessEndpointPolicyResult,
17
- } from "../models/models_5";
17
+ } from "../models/models_6";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface GetVerifiedAccessEndpointPolicyCommandInput
20
20
  extends GetVerifiedAccessEndpointPolicyRequest {}
@@ -372,6 +372,7 @@ export * from "./DisableEbsEncryptionByDefaultCommand";
372
372
  export * from "./DisableFastLaunchCommand";
373
373
  export * from "./DisableFastSnapshotRestoresCommand";
374
374
  export * from "./DisableImageBlockPublicAccessCommand";
375
+ export * from "./DisableImageCommand";
375
376
  export * from "./DisableImageDeprecationCommand";
376
377
  export * from "./DisableIpamOrganizationAdminAccountCommand";
377
378
  export * from "./DisableSerialConsoleAccessCommand";
@@ -399,6 +400,7 @@ export * from "./EnableEbsEncryptionByDefaultCommand";
399
400
  export * from "./EnableFastLaunchCommand";
400
401
  export * from "./EnableFastSnapshotRestoresCommand";
401
402
  export * from "./EnableImageBlockPublicAccessCommand";
403
+ export * from "./EnableImageCommand";
402
404
  export * from "./EnableImageDeprecationCommand";
403
405
  export * from "./EnableIpamOrganizationAdminAccountCommand";
404
406
  export * from "./EnableReachabilityAnalyzerOrganizationSharingCommand";
@@ -1852,6 +1852,7 @@ export declare const CapacityReservationInstancePlatform: {
1852
1852
  readonly RHEL_WITH_SQL_SERVER_STANDARD: "RHEL with SQL Server Standard";
1853
1853
  readonly RHEL_WITH_SQL_SERVER_WEB: "RHEL with SQL Server Web";
1854
1854
  readonly SUSE_LINUX: "SUSE Linux";
1855
+ readonly UBUNTU_PRO_LINUX: "Ubuntu Pro";
1855
1856
  readonly WINDOWS: "Windows";
1856
1857
  readonly WINDOWS_WITH_SQL_SERVER: "Windows with SQL Server";
1857
1858
  readonly WINDOWS_WITH_SQL_SERVER_ENTERPRISE: "Windows with SQL Server Enterprise";
@@ -1526,6 +1526,7 @@ export interface DescribeImagesRequest {
1526
1526
  ImageIds?: string[];
1527
1527
  Owners?: string[];
1528
1528
  IncludeDeprecated?: boolean;
1529
+ IncludeDisabled?: boolean;
1529
1530
  DryRun?: boolean;
1530
1531
  MaxResults?: number;
1531
1532
  NextToken?: string;
@@ -1572,6 +1573,7 @@ export type DeviceType = (typeof DeviceType)[keyof typeof DeviceType];
1572
1573
  export declare const ImageState: {
1573
1574
  readonly available: "available";
1574
1575
  readonly deregistered: "deregistered";
1576
+ readonly disabled: "disabled";
1575
1577
  readonly error: "error";
1576
1578
  readonly failed: "failed";
1577
1579
  readonly invalid: "invalid";
@@ -1621,6 +1623,7 @@ export interface Image {
1621
1623
  TpmSupport?: TpmSupportValues | string;
1622
1624
  DeprecationTime?: string;
1623
1625
  ImdsSupport?: ImdsSupportValues | string;
1626
+ SourceInstanceId?: string;
1624
1627
  }
1625
1628
  export interface DescribeImagesResult {
1626
1629
  Images?: Image[];
@@ -574,6 +574,13 @@ export interface DisableFastSnapshotRestoresResult {
574
574
  Successful?: DisableFastSnapshotRestoreSuccessItem[];
575
575
  Unsuccessful?: DisableFastSnapshotRestoreErrorItem[];
576
576
  }
577
+ export interface DisableImageRequest {
578
+ ImageId: string | undefined;
579
+ DryRun?: boolean;
580
+ }
581
+ export interface DisableImageResult {
582
+ Return?: boolean;
583
+ }
577
584
  export interface DisableImageBlockPublicAccessRequest {
578
585
  DryRun?: boolean;
579
586
  }
@@ -844,6 +851,13 @@ export interface EnableFastSnapshotRestoresResult {
844
851
  Successful?: EnableFastSnapshotRestoreSuccessItem[];
845
852
  Unsuccessful?: EnableFastSnapshotRestoreErrorItem[];
846
853
  }
854
+ export interface EnableImageRequest {
855
+ ImageId: string | undefined;
856
+ DryRun?: boolean;
857
+ }
858
+ export interface EnableImageResult {
859
+ Return?: boolean;
860
+ }
847
861
  export declare const ImageBlockPublicAccessEnabledState: {
848
862
  readonly block_new_sharing: "block-new-sharing";
849
863
  };
@@ -1639,25 +1653,6 @@ export interface GetTransitGatewayRouteTablePropagationsRequest {
1639
1653
  NextToken?: string;
1640
1654
  DryRun?: boolean;
1641
1655
  }
1642
- export interface TransitGatewayRouteTablePropagation {
1643
- TransitGatewayAttachmentId?: string;
1644
- ResourceId?: string;
1645
- ResourceType?: TransitGatewayAttachmentResourceType | string;
1646
- State?: TransitGatewayPropagationState | string;
1647
- TransitGatewayRouteTableAnnouncementId?: string;
1648
- }
1649
- export interface GetTransitGatewayRouteTablePropagationsResult {
1650
- TransitGatewayRouteTablePropagations?: TransitGatewayRouteTablePropagation[];
1651
- NextToken?: string;
1652
- }
1653
- export interface GetVerifiedAccessEndpointPolicyRequest {
1654
- VerifiedAccessEndpointId: string | undefined;
1655
- DryRun?: boolean;
1656
- }
1657
- export interface GetVerifiedAccessEndpointPolicyResult {
1658
- PolicyEnabled?: boolean;
1659
- PolicyDocument?: string;
1660
- }
1661
1656
  export declare const DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog: (
1662
1657
  obj: DescribeVerifiedAccessTrustProvidersResult
1663
1658
  ) => any;
@@ -25,6 +25,7 @@ import {
25
25
  RouteTableAssociationState,
26
26
  Tag,
27
27
  TagSpecification,
28
+ TransitGatewayAttachmentResourceType,
28
29
  TransitGatewayMulticastDomainAssociations,
29
30
  TransitGatewayPeeringAttachment,
30
31
  TransitGatewayVpcAttachment,
@@ -56,7 +57,6 @@ import {
56
57
  LaunchTemplate,
57
58
  LocalGatewayRoute,
58
59
  ManagedPrefixList,
59
- MarketType,
60
60
  Placement,
61
61
  PlatformValues,
62
62
  RequestIpamResourceTag,
@@ -146,10 +146,30 @@ import {
146
146
  InstanceFamilyCreditSpecification,
147
147
  IpamResourceCidr,
148
148
  Purchase,
149
+ TransitGatewayPropagationState,
149
150
  UnlimitedSupportedInstanceFamily,
150
151
  VerifiedAccessInstanceLoggingConfiguration,
151
152
  VolumeModification,
152
153
  } from "./models_5";
154
+ export interface TransitGatewayRouteTablePropagation {
155
+ TransitGatewayAttachmentId?: string;
156
+ ResourceId?: string;
157
+ ResourceType?: TransitGatewayAttachmentResourceType | string;
158
+ State?: TransitGatewayPropagationState | string;
159
+ TransitGatewayRouteTableAnnouncementId?: string;
160
+ }
161
+ export interface GetTransitGatewayRouteTablePropagationsResult {
162
+ TransitGatewayRouteTablePropagations?: TransitGatewayRouteTablePropagation[];
163
+ NextToken?: string;
164
+ }
165
+ export interface GetVerifiedAccessEndpointPolicyRequest {
166
+ VerifiedAccessEndpointId: string | undefined;
167
+ DryRun?: boolean;
168
+ }
169
+ export interface GetVerifiedAccessEndpointPolicyResult {
170
+ PolicyEnabled?: boolean;
171
+ PolicyDocument?: string;
172
+ }
153
173
  export interface GetVerifiedAccessGroupPolicyRequest {
154
174
  VerifiedAccessGroupId: string | undefined;
155
175
  DryRun?: boolean;
@@ -1822,23 +1842,6 @@ export interface ElasticInferenceAccelerator {
1822
1842
  Type: string | undefined;
1823
1843
  Count?: number;
1824
1844
  }
1825
- export interface EnclaveOptionsRequest {
1826
- Enabled?: boolean;
1827
- }
1828
- export interface HibernationOptionsRequest {
1829
- Configured?: boolean;
1830
- }
1831
- export interface SpotMarketOptions {
1832
- MaxPrice?: string;
1833
- SpotInstanceType?: SpotInstanceType | string;
1834
- BlockDurationMinutes?: number;
1835
- ValidUntil?: Date;
1836
- InstanceInterruptionBehavior?: InstanceInterruptionBehavior | string;
1837
- }
1838
- export interface InstanceMarketOptionsRequest {
1839
- MarketType?: MarketType | string;
1840
- SpotOptions?: SpotMarketOptions;
1841
- }
1842
1845
  export declare const GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog: (
1843
1846
  obj: GetVpnConnectionDeviceSampleConfigurationResult
1844
1847
  ) => any;
@@ -12,10 +12,13 @@ import {
12
12
  CreditSpecificationRequest,
13
13
  ElasticGpuSpecification,
14
14
  HostnameType,
15
+ InstanceInterruptionBehavior,
15
16
  InstanceIpv6Address,
16
17
  LocalGatewayRoute,
18
+ MarketType,
17
19
  Placement,
18
20
  ShutdownBehavior,
21
+ SpotInstanceType,
19
22
  } from "./models_1";
20
23
  import { TransitGatewayRoute } from "./models_2";
21
24
  import { ClientVpnConnectionStatus, Filter } from "./models_3";
@@ -35,11 +38,25 @@ import {
35
38
  CapacityReservationSpecification,
36
39
  CpuOptionsRequest,
37
40
  ElasticInferenceAccelerator,
38
- EnclaveOptionsRequest,
39
- HibernationOptionsRequest,
40
- InstanceMarketOptionsRequest,
41
41
  InstanceMonitoring,
42
42
  } from "./models_6";
43
+ export interface EnclaveOptionsRequest {
44
+ Enabled?: boolean;
45
+ }
46
+ export interface HibernationOptionsRequest {
47
+ Configured?: boolean;
48
+ }
49
+ export interface SpotMarketOptions {
50
+ MaxPrice?: string;
51
+ SpotInstanceType?: SpotInstanceType | string;
52
+ BlockDurationMinutes?: number;
53
+ ValidUntil?: Date;
54
+ InstanceInterruptionBehavior?: InstanceInterruptionBehavior | string;
55
+ }
56
+ export interface InstanceMarketOptionsRequest {
57
+ MarketType?: MarketType | string;
58
+ SpotOptions?: SpotMarketOptions;
59
+ }
43
60
  export interface LaunchTemplateSpecification {
44
61
  LaunchTemplateId?: string;
45
62
  LaunchTemplateName?: string;
@@ -1499,6 +1499,10 @@ import {
1499
1499
  DisableImageBlockPublicAccessCommandInput,
1500
1500
  DisableImageBlockPublicAccessCommandOutput,
1501
1501
  } from "../commands/DisableImageBlockPublicAccessCommand";
1502
+ import {
1503
+ DisableImageCommandInput,
1504
+ DisableImageCommandOutput,
1505
+ } from "../commands/DisableImageCommand";
1502
1506
  import {
1503
1507
  DisableImageDeprecationCommandInput,
1504
1508
  DisableImageDeprecationCommandOutput,
@@ -1607,6 +1611,10 @@ import {
1607
1611
  EnableImageBlockPublicAccessCommandInput,
1608
1612
  EnableImageBlockPublicAccessCommandOutput,
1609
1613
  } from "../commands/EnableImageBlockPublicAccessCommand";
1614
+ import {
1615
+ EnableImageCommandInput,
1616
+ EnableImageCommandOutput,
1617
+ } from "../commands/EnableImageCommand";
1610
1618
  import {
1611
1619
  EnableImageDeprecationCommandInput,
1612
1620
  EnableImageDeprecationCommandOutput,
@@ -3883,6 +3891,10 @@ export declare const se_DisableFastSnapshotRestoresCommand: (
3883
3891
  input: DisableFastSnapshotRestoresCommandInput,
3884
3892
  context: __SerdeContext
3885
3893
  ) => Promise<__HttpRequest>;
3894
+ export declare const se_DisableImageCommand: (
3895
+ input: DisableImageCommandInput,
3896
+ context: __SerdeContext
3897
+ ) => Promise<__HttpRequest>;
3886
3898
  export declare const se_DisableImageBlockPublicAccessCommand: (
3887
3899
  input: DisableImageBlockPublicAccessCommandInput,
3888
3900
  context: __SerdeContext
@@ -3991,6 +4003,10 @@ export declare const se_EnableFastSnapshotRestoresCommand: (
3991
4003
  input: EnableFastSnapshotRestoresCommandInput,
3992
4004
  context: __SerdeContext
3993
4005
  ) => Promise<__HttpRequest>;
4006
+ export declare const se_EnableImageCommand: (
4007
+ input: EnableImageCommandInput,
4008
+ context: __SerdeContext
4009
+ ) => Promise<__HttpRequest>;
3994
4010
  export declare const se_EnableImageBlockPublicAccessCommand: (
3995
4011
  input: EnableImageBlockPublicAccessCommandInput,
3996
4012
  context: __SerdeContext
@@ -6271,6 +6287,10 @@ export declare const de_DisableFastSnapshotRestoresCommand: (
6271
6287
  output: __HttpResponse,
6272
6288
  context: __SerdeContext
6273
6289
  ) => Promise<DisableFastSnapshotRestoresCommandOutput>;
6290
+ export declare const de_DisableImageCommand: (
6291
+ output: __HttpResponse,
6292
+ context: __SerdeContext
6293
+ ) => Promise<DisableImageCommandOutput>;
6274
6294
  export declare const de_DisableImageBlockPublicAccessCommand: (
6275
6295
  output: __HttpResponse,
6276
6296
  context: __SerdeContext
@@ -6379,6 +6399,10 @@ export declare const de_EnableFastSnapshotRestoresCommand: (
6379
6399
  output: __HttpResponse,
6380
6400
  context: __SerdeContext
6381
6401
  ) => Promise<EnableFastSnapshotRestoresCommandOutput>;
6402
+ export declare const de_EnableImageCommand: (
6403
+ output: __HttpResponse,
6404
+ context: __SerdeContext
6405
+ ) => Promise<EnableImageCommandOutput>;
6382
6406
  export declare const de_EnableImageBlockPublicAccessCommand: (
6383
6407
  output: __HttpResponse,
6384
6408
  context: __SerdeContext