@aws-sdk/client-ec2 3.556.0 → 3.561.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.
- package/README.md +16 -0
- package/dist-cjs/index.js +164 -26
- package/dist-es/EC2.js +4 -0
- package/dist-es/commands/DisableImageDeregistrationProtectionCommand.js +24 -0
- package/dist-es/commands/EnableImageDeregistrationProtectionCommand.js +24 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_3.js +1 -0
- package/dist-es/models/models_5.js +0 -11
- package/dist-es/models/models_6.js +11 -0
- package/dist-es/protocols/Aws_ec2.js +110 -13
- package/dist-types/EC2.d.ts +14 -0
- package/dist-types/EC2Client.d.ts +4 -2
- package/dist-types/commands/CancelSpotFleetRequestsCommand.d.ts +9 -0
- package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +3 -3
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +6 -5
- package/dist-types/commands/DeleteFleetsCommand.d.ts +15 -8
- package/dist-types/commands/DescribeImageAttributeCommand.d.ts +2 -1
- package/dist-types/commands/DescribeImagesCommand.d.ts +6 -0
- package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeInstancesCommand.d.ts +4 -0
- package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +4 -0
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +4 -0
- package/dist-types/commands/DescribeTagsCommand.d.ts +4 -0
- package/dist-types/commands/DescribeVolumesCommand.d.ts +4 -0
- package/dist-types/commands/DisableImageDeregistrationProtectionCommand.d.ts +66 -0
- package/dist-types/commands/EnableImageDeregistrationProtectionCommand.d.ts +66 -0
- package/dist-types/commands/GetConsoleScreenshotCommand.d.ts +1 -0
- package/dist-types/commands/GetIpamDiscoveredAccountsCommand.d.ts +2 -1
- package/dist-types/commands/GetIpamDiscoveredPublicAddressesCommand.d.ts +1 -2
- package/dist-types/commands/ModifyInstanceMetadataDefaultsCommand.d.ts +3 -2
- package/dist-types/commands/ProvisionPublicIpv4PoolCidrCommand.d.ts +2 -1
- package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
- package/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -2
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +2 -1
- package/dist-types/models/models_1.d.ts +23 -20
- package/dist-types/models/models_2.d.ts +10 -8
- package/dist-types/models/models_3.d.ts +22 -0
- package/dist-types/models/models_4.d.ts +38 -16
- package/dist-types/models/models_5.d.ts +65 -83
- package/dist-types/models/models_6.d.ts +90 -104
- package/dist-types/models/models_7.d.ts +114 -37
- package/dist-types/protocols/Aws_ec2.d.ts +18 -0
- package/dist-types/ts3.4/EC2.d.ts +46 -0
- package/dist-types/ts3.4/EC2Client.d.ts +12 -0
- package/dist-types/ts3.4/commands/DisableImageDeregistrationProtectionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/EnableImageDeregistrationProtectionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetIpamDiscoveredAccountsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetIpamDiscoveredPublicAddressesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ProvisionPublicIpv4PoolCidrCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PurchaseHostReservationCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_3.d.ts +4 -0
- package/dist-types/ts3.4/models/models_5.d.ts +15 -27
- package/dist-types/ts3.4/models/models_6.d.ts +28 -27
- package/dist-types/ts3.4/models/models_7.d.ts +24 -0
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +24 -0
- package/package.json +1 -1
|
@@ -1,10 +1,102 @@
|
|
|
1
|
-
import { _InstanceType, AddressAttribute, AddressAttributeName, ByoipCidr, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, IamInstanceProfileAssociation, IamInstanceProfileSpecification, IpPermission, NatGatewayAddress, PortRange, RouteTableAssociationState, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem } from "./models_0";
|
|
1
|
+
import { _InstanceType, AddressAttribute, AddressAttributeName, ByoipCidr, CapacityReservation, CapacityReservationInstancePlatform, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, IamInstanceProfileAssociation, IamInstanceProfileSpecification, IpPermission, NatGatewayAddress, PortRange, RouteTableAssociationState, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem } from "./models_0";
|
|
2
2
|
import { AmdSevSnpSpecification, BlockDeviceMapping, CreditSpecificationRequest, ElasticGpuSpecification, HostnameType, IcmpTypeCode, InstanceInterruptionBehavior, InstanceIpv6Address, LocalGatewayRoute, ManagedPrefixList, MarketType, Placement, RuleAction, ShutdownBehavior, SpotInstanceType } from "./models_1";
|
|
3
3
|
import { SnapshotState, SSEType, TransitGatewayRoute } from "./models_2";
|
|
4
4
|
import { ArchitectureValues, BootModeValues, ClientVpnConnectionStatus, Filter, ImdsSupportValues, InstanceTagNotificationAttribute, TpmSupportValues } from "./models_3";
|
|
5
|
-
import { HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceNetworkInterfaceSpecification, InstanceState, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_4";
|
|
5
|
+
import { HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceNetworkInterfaceSpecification, InstanceState, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, PublicIpv4PoolRange, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_4";
|
|
6
6
|
import { Purchase } from "./models_5";
|
|
7
7
|
import { CapacityReservationSpecification, InstanceMonitoring, Status } from "./models_6";
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export interface ProvisionPublicIpv4PoolCidrResult {
|
|
12
|
+
/**
|
|
13
|
+
* <p>The ID of the pool that you want to provision the CIDR to.</p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
PoolId?: string;
|
|
17
|
+
/**
|
|
18
|
+
* <p>Information about the address range of the public IPv4 pool.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
PoolAddressRange?: PublicIpv4PoolRange;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export interface PurchaseCapacityBlockRequest {
|
|
27
|
+
/**
|
|
28
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
DryRun?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* <p>The tags to apply to the Capacity Block during launch.</p>
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
TagSpecifications?: TagSpecification[];
|
|
37
|
+
/**
|
|
38
|
+
* <p>The ID of the Capacity Block offering.</p>
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
CapacityBlockOfferingId: string | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* <p>The type of operating system for which to reserve capacity.</p>
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
InstancePlatform: CapacityReservationInstancePlatform | undefined;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
export interface PurchaseCapacityBlockResult {
|
|
52
|
+
/**
|
|
53
|
+
* <p>The Capacity Reservation.</p>
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
CapacityReservation?: CapacityReservation;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
export interface PurchaseHostReservationRequest {
|
|
62
|
+
/**
|
|
63
|
+
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring Idempotency</a>.</p>
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
ClientToken?: string;
|
|
67
|
+
/**
|
|
68
|
+
* <p>The currency in which the <code>totalUpfrontPrice</code>, <code>LimitPrice</code>, and
|
|
69
|
+
* <code>totalHourlyPrice</code> amounts are specified. At this time, the only
|
|
70
|
+
* supported currency is <code>USD</code>.</p>
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
CurrencyCode?: CurrencyCodeValues;
|
|
74
|
+
/**
|
|
75
|
+
* <p>The IDs of the Dedicated Hosts with which the reservation will be associated.</p>
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
HostIdSet: string[] | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* <p>The specified limit is checked against the total upfront cost of the reservation
|
|
81
|
+
* (calculated as the offering's upfront cost multiplied by the host count). If the total
|
|
82
|
+
* upfront cost is greater than the specified price limit, the request fails. This is used
|
|
83
|
+
* to ensure that the purchase does not exceed the expected upfront cost of the purchase.
|
|
84
|
+
* At this time, the only supported currency is <code>USD</code>. For example, to indicate
|
|
85
|
+
* a limit price of USD 100, specify 100.00.</p>
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
LimitPrice?: string;
|
|
89
|
+
/**
|
|
90
|
+
* <p>The ID of the offering.</p>
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
OfferingId: string | undefined;
|
|
94
|
+
/**
|
|
95
|
+
* <p>The tags to apply to the Dedicated Host Reservation during purchase.</p>
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
TagSpecifications?: TagSpecification[];
|
|
99
|
+
}
|
|
8
100
|
/**
|
|
9
101
|
* @public
|
|
10
102
|
*/
|
|
@@ -2247,32 +2339,29 @@ export interface InstanceMarketOptionsRequest {
|
|
|
2247
2339
|
SpotOptions?: SpotMarketOptions;
|
|
2248
2340
|
}
|
|
2249
2341
|
/**
|
|
2250
|
-
* <p>
|
|
2251
|
-
* template name in the request, but not both.</p>
|
|
2342
|
+
* <p>Describes the launch template to use.</p>
|
|
2252
2343
|
* @public
|
|
2253
2344
|
*/
|
|
2254
2345
|
export interface LaunchTemplateSpecification {
|
|
2255
2346
|
/**
|
|
2256
2347
|
* <p>The ID of the launch template.</p>
|
|
2257
|
-
* <p>You must specify the
|
|
2258
|
-
*
|
|
2348
|
+
* <p>You must specify either the launch template ID or the
|
|
2349
|
+
* launch template name, but not both.</p>
|
|
2259
2350
|
* @public
|
|
2260
2351
|
*/
|
|
2261
2352
|
LaunchTemplateId?: string;
|
|
2262
2353
|
/**
|
|
2263
2354
|
* <p>The name of the launch template.</p>
|
|
2264
|
-
* <p>You must specify the
|
|
2265
|
-
*
|
|
2355
|
+
* <p>You must specify either the launch template ID or the
|
|
2356
|
+
* launch template name, but not both.</p>
|
|
2266
2357
|
* @public
|
|
2267
2358
|
*/
|
|
2268
2359
|
LaunchTemplateName?: string;
|
|
2269
2360
|
/**
|
|
2270
2361
|
* <p>The launch template version number, <code>$Latest</code>, or
|
|
2271
2362
|
* <code>$Default</code>.</p>
|
|
2272
|
-
* <p>
|
|
2273
|
-
*
|
|
2274
|
-
* <p>If the value is <code>$Default</code>, Amazon EC2 uses the default version of the
|
|
2275
|
-
* launch template.</p>
|
|
2363
|
+
* <p>A value of <code>$Latest</code> uses the latest version of the launch template.</p>
|
|
2364
|
+
* <p>A value of <code>$Default</code> uses the default version of the launch template.</p>
|
|
2276
2365
|
* <p>Default: The default version of the launch template.</p>
|
|
2277
2366
|
* @public
|
|
2278
2367
|
*/
|
|
@@ -2510,14 +2599,14 @@ export interface RunInstancesRequest {
|
|
|
2510
2599
|
/**
|
|
2511
2600
|
* <p>The IDs of the security groups. You can create a security group using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateSecurityGroup.html">CreateSecurityGroup</a>.</p>
|
|
2512
2601
|
* <p>If you specify a network interface, you must specify any security groups as part of
|
|
2513
|
-
* the network interface.</p>
|
|
2602
|
+
* the network interface instead of using this parameter.</p>
|
|
2514
2603
|
* @public
|
|
2515
2604
|
*/
|
|
2516
2605
|
SecurityGroupIds?: string[];
|
|
2517
2606
|
/**
|
|
2518
2607
|
* <p>[Default VPC] The names of the security groups.</p>
|
|
2519
2608
|
* <p>If you specify a network interface, you must specify any security groups as part of
|
|
2520
|
-
* the network interface.</p>
|
|
2609
|
+
* the network interface instead of using this parameter.</p>
|
|
2521
2610
|
* <p>Default: Amazon EC2 uses the default security group.</p>
|
|
2522
2611
|
* @public
|
|
2523
2612
|
*/
|
|
@@ -2525,7 +2614,7 @@ export interface RunInstancesRequest {
|
|
|
2525
2614
|
/**
|
|
2526
2615
|
* <p>The ID of the subnet to launch the instance into.</p>
|
|
2527
2616
|
* <p>If you specify a network interface, you must specify any subnets as part of the
|
|
2528
|
-
* network interface.</p>
|
|
2617
|
+
* network interface instead of using this parameter.</p>
|
|
2529
2618
|
* @public
|
|
2530
2619
|
*/
|
|
2531
2620
|
SubnetId?: string;
|
|
@@ -2598,9 +2687,7 @@ export interface RunInstancesRequest {
|
|
|
2598
2687
|
*/
|
|
2599
2688
|
InstanceInitiatedShutdownBehavior?: ShutdownBehavior;
|
|
2600
2689
|
/**
|
|
2601
|
-
* <p>The network interfaces to associate with the instance
|
|
2602
|
-
* interface, you must specify any security groups and subnets as part of the network
|
|
2603
|
-
* interface.</p>
|
|
2690
|
+
* <p>The network interfaces to associate with the instance.</p>
|
|
2604
2691
|
* @public
|
|
2605
2692
|
*/
|
|
2606
2693
|
NetworkInterfaces?: InstanceNetworkInterfaceSpecification[];
|
|
@@ -2617,28 +2704,18 @@ export interface RunInstancesRequest {
|
|
|
2617
2704
|
*/
|
|
2618
2705
|
PrivateIpAddress?: string;
|
|
2619
2706
|
/**
|
|
2620
|
-
* <p>
|
|
2707
|
+
* <p>An elastic GPU to associate with the instance.</p>
|
|
2621
2708
|
* <note>
|
|
2622
|
-
* <p>Amazon Elastic Graphics reached end of life on January 8, 2024
|
|
2623
|
-
* workloads that require graphics acceleration, we recommend that you use Amazon EC2 G4ad,
|
|
2624
|
-
* G4dn, or G5 instances.</p>
|
|
2709
|
+
* <p>Amazon Elastic Graphics reached end of life on January 8, 2024.</p>
|
|
2625
2710
|
* </note>
|
|
2626
2711
|
* @public
|
|
2627
2712
|
*/
|
|
2628
2713
|
ElasticGpuSpecification?: ElasticGpuSpecification[];
|
|
2629
2714
|
/**
|
|
2630
|
-
* <p>An elastic inference accelerator to associate with the instance
|
|
2631
|
-
* accelerators are a resource you can attach to your Amazon EC2 instances to accelerate
|
|
2632
|
-
* your Deep Learning (DL) inference workloads.</p>
|
|
2633
|
-
* <p>You cannot specify accelerators from different generations in the same request.</p>
|
|
2715
|
+
* <p>An elastic inference accelerator to associate with the instance.</p>
|
|
2634
2716
|
* <note>
|
|
2635
|
-
* <p>
|
|
2636
|
-
*
|
|
2637
|
-
* options that offer better price and performance. After April 15, 2023, new customers
|
|
2638
|
-
* will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker,
|
|
2639
|
-
* Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during
|
|
2640
|
-
* the past 30-day period are considered current customers and will be able to continue
|
|
2641
|
-
* using the service.</p>
|
|
2717
|
+
* <p>Amazon Elastic Inference (EI) is no longer available to new customers. For more
|
|
2718
|
+
* information, see <a href="http://aws.amazon.com/machine-learning/elastic-inference/faqs/">Amazon Elastic Inference FAQs</a>.</p>
|
|
2642
2719
|
* </note>
|
|
2643
2720
|
* @public
|
|
2644
2721
|
*/
|
|
@@ -2665,9 +2742,8 @@ export interface RunInstancesRequest {
|
|
|
2665
2742
|
*/
|
|
2666
2743
|
TagSpecifications?: TagSpecification[];
|
|
2667
2744
|
/**
|
|
2668
|
-
* <p>The launch template
|
|
2669
|
-
*
|
|
2670
|
-
* You can specify either the name or ID of a launch template, but not both.</p>
|
|
2745
|
+
* <p>The launch template. Any additional parameters that you specify for the new instance
|
|
2746
|
+
* overwrite the corresponding parameters included in the launch template.</p>
|
|
2671
2747
|
* @public
|
|
2672
2748
|
*/
|
|
2673
2749
|
LaunchTemplate?: LaunchTemplateSpecification;
|
|
@@ -3414,7 +3490,8 @@ export interface SearchTransitGatewayRoutesRequest {
|
|
|
3414
3490
|
*/
|
|
3415
3491
|
Filters: Filter[] | undefined;
|
|
3416
3492
|
/**
|
|
3417
|
-
* <p>The maximum number of routes to return
|
|
3493
|
+
* <p>The maximum number of routes to return. If a value is not provided, the default is
|
|
3494
|
+
* 1000.</p>
|
|
3418
3495
|
* @public
|
|
3419
3496
|
*/
|
|
3420
3497
|
MaxResults?: number;
|
|
@@ -383,6 +383,7 @@ import { DisableFastSnapshotRestoresCommandInput, DisableFastSnapshotRestoresCom
|
|
|
383
383
|
import { DisableImageBlockPublicAccessCommandInput, DisableImageBlockPublicAccessCommandOutput } from "../commands/DisableImageBlockPublicAccessCommand";
|
|
384
384
|
import { DisableImageCommandInput, DisableImageCommandOutput } from "../commands/DisableImageCommand";
|
|
385
385
|
import { DisableImageDeprecationCommandInput, DisableImageDeprecationCommandOutput } from "../commands/DisableImageDeprecationCommand";
|
|
386
|
+
import { DisableImageDeregistrationProtectionCommandInput, DisableImageDeregistrationProtectionCommandOutput } from "../commands/DisableImageDeregistrationProtectionCommand";
|
|
386
387
|
import { DisableIpamOrganizationAdminAccountCommandInput, DisableIpamOrganizationAdminAccountCommandOutput } from "../commands/DisableIpamOrganizationAdminAccountCommand";
|
|
387
388
|
import { DisableSerialConsoleAccessCommandInput, DisableSerialConsoleAccessCommandOutput } from "../commands/DisableSerialConsoleAccessCommand";
|
|
388
389
|
import { DisableSnapshotBlockPublicAccessCommandInput, DisableSnapshotBlockPublicAccessCommandOutput } from "../commands/DisableSnapshotBlockPublicAccessCommand";
|
|
@@ -413,6 +414,7 @@ import { EnableFastSnapshotRestoresCommandInput, EnableFastSnapshotRestoresComma
|
|
|
413
414
|
import { EnableImageBlockPublicAccessCommandInput, EnableImageBlockPublicAccessCommandOutput } from "../commands/EnableImageBlockPublicAccessCommand";
|
|
414
415
|
import { EnableImageCommandInput, EnableImageCommandOutput } from "../commands/EnableImageCommand";
|
|
415
416
|
import { EnableImageDeprecationCommandInput, EnableImageDeprecationCommandOutput } from "../commands/EnableImageDeprecationCommand";
|
|
417
|
+
import { EnableImageDeregistrationProtectionCommandInput, EnableImageDeregistrationProtectionCommandOutput } from "../commands/EnableImageDeregistrationProtectionCommand";
|
|
416
418
|
import { EnableIpamOrganizationAdminAccountCommandInput, EnableIpamOrganizationAdminAccountCommandOutput } from "../commands/EnableIpamOrganizationAdminAccountCommand";
|
|
417
419
|
import { EnableReachabilityAnalyzerOrganizationSharingCommandInput, EnableReachabilityAnalyzerOrganizationSharingCommandOutput } from "../commands/EnableReachabilityAnalyzerOrganizationSharingCommand";
|
|
418
420
|
import { EnableSerialConsoleAccessCommandInput, EnableSerialConsoleAccessCommandOutput } from "../commands/EnableSerialConsoleAccessCommand";
|
|
@@ -2150,6 +2152,10 @@ export declare const se_DisableImageBlockPublicAccessCommand: (input: DisableIma
|
|
|
2150
2152
|
* serializeAws_ec2DisableImageDeprecationCommand
|
|
2151
2153
|
*/
|
|
2152
2154
|
export declare const se_DisableImageDeprecationCommand: (input: DisableImageDeprecationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
2155
|
+
/**
|
|
2156
|
+
* serializeAws_ec2DisableImageDeregistrationProtectionCommand
|
|
2157
|
+
*/
|
|
2158
|
+
export declare const se_DisableImageDeregistrationProtectionCommand: (input: DisableImageDeregistrationProtectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
2153
2159
|
/**
|
|
2154
2160
|
* serializeAws_ec2DisableIpamOrganizationAdminAccountCommand
|
|
2155
2161
|
*/
|
|
@@ -2270,6 +2276,10 @@ export declare const se_EnableImageBlockPublicAccessCommand: (input: EnableImage
|
|
|
2270
2276
|
* serializeAws_ec2EnableImageDeprecationCommand
|
|
2271
2277
|
*/
|
|
2272
2278
|
export declare const se_EnableImageDeprecationCommand: (input: EnableImageDeprecationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
2279
|
+
/**
|
|
2280
|
+
* serializeAws_ec2EnableImageDeregistrationProtectionCommand
|
|
2281
|
+
*/
|
|
2282
|
+
export declare const se_EnableImageDeregistrationProtectionCommand: (input: EnableImageDeregistrationProtectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
2273
2283
|
/**
|
|
2274
2284
|
* serializeAws_ec2EnableIpamOrganizationAdminAccountCommand
|
|
2275
2285
|
*/
|
|
@@ -4622,6 +4632,10 @@ export declare const de_DisableImageBlockPublicAccessCommand: (output: __HttpRes
|
|
|
4622
4632
|
* deserializeAws_ec2DisableImageDeprecationCommand
|
|
4623
4633
|
*/
|
|
4624
4634
|
export declare const de_DisableImageDeprecationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisableImageDeprecationCommandOutput>;
|
|
4635
|
+
/**
|
|
4636
|
+
* deserializeAws_ec2DisableImageDeregistrationProtectionCommand
|
|
4637
|
+
*/
|
|
4638
|
+
export declare const de_DisableImageDeregistrationProtectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisableImageDeregistrationProtectionCommandOutput>;
|
|
4625
4639
|
/**
|
|
4626
4640
|
* deserializeAws_ec2DisableIpamOrganizationAdminAccountCommand
|
|
4627
4641
|
*/
|
|
@@ -4742,6 +4756,10 @@ export declare const de_EnableImageBlockPublicAccessCommand: (output: __HttpResp
|
|
|
4742
4756
|
* deserializeAws_ec2EnableImageDeprecationCommand
|
|
4743
4757
|
*/
|
|
4744
4758
|
export declare const de_EnableImageDeprecationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<EnableImageDeprecationCommandOutput>;
|
|
4759
|
+
/**
|
|
4760
|
+
* deserializeAws_ec2EnableImageDeregistrationProtectionCommand
|
|
4761
|
+
*/
|
|
4762
|
+
export declare const de_EnableImageDeregistrationProtectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<EnableImageDeregistrationProtectionCommandOutput>;
|
|
4745
4763
|
/**
|
|
4746
4764
|
* deserializeAws_ec2EnableIpamOrganizationAdminAccountCommand
|
|
4747
4765
|
*/
|
|
@@ -1531,6 +1531,10 @@ import {
|
|
|
1531
1531
|
DisableImageDeprecationCommandInput,
|
|
1532
1532
|
DisableImageDeprecationCommandOutput,
|
|
1533
1533
|
} from "./commands/DisableImageDeprecationCommand";
|
|
1534
|
+
import {
|
|
1535
|
+
DisableImageDeregistrationProtectionCommandInput,
|
|
1536
|
+
DisableImageDeregistrationProtectionCommandOutput,
|
|
1537
|
+
} from "./commands/DisableImageDeregistrationProtectionCommand";
|
|
1534
1538
|
import {
|
|
1535
1539
|
DisableIpamOrganizationAdminAccountCommandInput,
|
|
1536
1540
|
DisableIpamOrganizationAdminAccountCommandOutput,
|
|
@@ -1651,6 +1655,10 @@ import {
|
|
|
1651
1655
|
EnableImageDeprecationCommandInput,
|
|
1652
1656
|
EnableImageDeprecationCommandOutput,
|
|
1653
1657
|
} from "./commands/EnableImageDeprecationCommand";
|
|
1658
|
+
import {
|
|
1659
|
+
EnableImageDeregistrationProtectionCommandInput,
|
|
1660
|
+
EnableImageDeregistrationProtectionCommandOutput,
|
|
1661
|
+
} from "./commands/EnableImageDeregistrationProtectionCommand";
|
|
1654
1662
|
import {
|
|
1655
1663
|
EnableIpamOrganizationAdminAccountCommandInput,
|
|
1656
1664
|
EnableIpamOrganizationAdminAccountCommandOutput,
|
|
@@ -8027,6 +8035,25 @@ export interface EC2 {
|
|
|
8027
8035
|
options: __HttpHandlerOptions,
|
|
8028
8036
|
cb: (err: any, data?: DisableImageDeprecationCommandOutput) => void
|
|
8029
8037
|
): void;
|
|
8038
|
+
disableImageDeregistrationProtection(
|
|
8039
|
+
args: DisableImageDeregistrationProtectionCommandInput,
|
|
8040
|
+
options?: __HttpHandlerOptions
|
|
8041
|
+
): Promise<DisableImageDeregistrationProtectionCommandOutput>;
|
|
8042
|
+
disableImageDeregistrationProtection(
|
|
8043
|
+
args: DisableImageDeregistrationProtectionCommandInput,
|
|
8044
|
+
cb: (
|
|
8045
|
+
err: any,
|
|
8046
|
+
data?: DisableImageDeregistrationProtectionCommandOutput
|
|
8047
|
+
) => void
|
|
8048
|
+
): void;
|
|
8049
|
+
disableImageDeregistrationProtection(
|
|
8050
|
+
args: DisableImageDeregistrationProtectionCommandInput,
|
|
8051
|
+
options: __HttpHandlerOptions,
|
|
8052
|
+
cb: (
|
|
8053
|
+
err: any,
|
|
8054
|
+
data?: DisableImageDeregistrationProtectionCommandOutput
|
|
8055
|
+
) => void
|
|
8056
|
+
): void;
|
|
8030
8057
|
disableIpamOrganizationAdminAccount(
|
|
8031
8058
|
args: DisableIpamOrganizationAdminAccountCommandInput,
|
|
8032
8059
|
options?: __HttpHandlerOptions
|
|
@@ -8477,6 +8504,25 @@ export interface EC2 {
|
|
|
8477
8504
|
options: __HttpHandlerOptions,
|
|
8478
8505
|
cb: (err: any, data?: EnableImageDeprecationCommandOutput) => void
|
|
8479
8506
|
): void;
|
|
8507
|
+
enableImageDeregistrationProtection(
|
|
8508
|
+
args: EnableImageDeregistrationProtectionCommandInput,
|
|
8509
|
+
options?: __HttpHandlerOptions
|
|
8510
|
+
): Promise<EnableImageDeregistrationProtectionCommandOutput>;
|
|
8511
|
+
enableImageDeregistrationProtection(
|
|
8512
|
+
args: EnableImageDeregistrationProtectionCommandInput,
|
|
8513
|
+
cb: (
|
|
8514
|
+
err: any,
|
|
8515
|
+
data?: EnableImageDeregistrationProtectionCommandOutput
|
|
8516
|
+
) => void
|
|
8517
|
+
): void;
|
|
8518
|
+
enableImageDeregistrationProtection(
|
|
8519
|
+
args: EnableImageDeregistrationProtectionCommandInput,
|
|
8520
|
+
options: __HttpHandlerOptions,
|
|
8521
|
+
cb: (
|
|
8522
|
+
err: any,
|
|
8523
|
+
data?: EnableImageDeregistrationProtectionCommandOutput
|
|
8524
|
+
) => void
|
|
8525
|
+
): void;
|
|
8480
8526
|
enableIpamOrganizationAdminAccount(
|
|
8481
8527
|
args: EnableIpamOrganizationAdminAccountCommandInput,
|
|
8482
8528
|
options?: __HttpHandlerOptions
|
|
@@ -1577,6 +1577,10 @@ import {
|
|
|
1577
1577
|
DisableImageDeprecationCommandInput,
|
|
1578
1578
|
DisableImageDeprecationCommandOutput,
|
|
1579
1579
|
} from "./commands/DisableImageDeprecationCommand";
|
|
1580
|
+
import {
|
|
1581
|
+
DisableImageDeregistrationProtectionCommandInput,
|
|
1582
|
+
DisableImageDeregistrationProtectionCommandOutput,
|
|
1583
|
+
} from "./commands/DisableImageDeregistrationProtectionCommand";
|
|
1580
1584
|
import {
|
|
1581
1585
|
DisableIpamOrganizationAdminAccountCommandInput,
|
|
1582
1586
|
DisableIpamOrganizationAdminAccountCommandOutput,
|
|
@@ -1697,6 +1701,10 @@ import {
|
|
|
1697
1701
|
EnableImageDeprecationCommandInput,
|
|
1698
1702
|
EnableImageDeprecationCommandOutput,
|
|
1699
1703
|
} from "./commands/EnableImageDeprecationCommand";
|
|
1704
|
+
import {
|
|
1705
|
+
EnableImageDeregistrationProtectionCommandInput,
|
|
1706
|
+
EnableImageDeregistrationProtectionCommandOutput,
|
|
1707
|
+
} from "./commands/EnableImageDeregistrationProtectionCommand";
|
|
1700
1708
|
import {
|
|
1701
1709
|
EnableIpamOrganizationAdminAccountCommandInput,
|
|
1702
1710
|
EnableIpamOrganizationAdminAccountCommandOutput,
|
|
@@ -2908,6 +2916,7 @@ export type ServiceInputTypes =
|
|
|
2908
2916
|
| DisableImageBlockPublicAccessCommandInput
|
|
2909
2917
|
| DisableImageCommandInput
|
|
2910
2918
|
| DisableImageDeprecationCommandInput
|
|
2919
|
+
| DisableImageDeregistrationProtectionCommandInput
|
|
2911
2920
|
| DisableIpamOrganizationAdminAccountCommandInput
|
|
2912
2921
|
| DisableSerialConsoleAccessCommandInput
|
|
2913
2922
|
| DisableSnapshotBlockPublicAccessCommandInput
|
|
@@ -2938,6 +2947,7 @@ export type ServiceInputTypes =
|
|
|
2938
2947
|
| EnableImageBlockPublicAccessCommandInput
|
|
2939
2948
|
| EnableImageCommandInput
|
|
2940
2949
|
| EnableImageDeprecationCommandInput
|
|
2950
|
+
| EnableImageDeregistrationProtectionCommandInput
|
|
2941
2951
|
| EnableIpamOrganizationAdminAccountCommandInput
|
|
2942
2952
|
| EnableReachabilityAnalyzerOrganizationSharingCommandInput
|
|
2943
2953
|
| EnableSerialConsoleAccessCommandInput
|
|
@@ -3527,6 +3537,7 @@ export type ServiceOutputTypes =
|
|
|
3527
3537
|
| DisableImageBlockPublicAccessCommandOutput
|
|
3528
3538
|
| DisableImageCommandOutput
|
|
3529
3539
|
| DisableImageDeprecationCommandOutput
|
|
3540
|
+
| DisableImageDeregistrationProtectionCommandOutput
|
|
3530
3541
|
| DisableIpamOrganizationAdminAccountCommandOutput
|
|
3531
3542
|
| DisableSerialConsoleAccessCommandOutput
|
|
3532
3543
|
| DisableSnapshotBlockPublicAccessCommandOutput
|
|
@@ -3557,6 +3568,7 @@ export type ServiceOutputTypes =
|
|
|
3557
3568
|
| EnableImageBlockPublicAccessCommandOutput
|
|
3558
3569
|
| EnableImageCommandOutput
|
|
3559
3570
|
| EnableImageDeprecationCommandOutput
|
|
3571
|
+
| EnableImageDeregistrationProtectionCommandOutput
|
|
3560
3572
|
| EnableIpamOrganizationAdminAccountCommandOutput
|
|
3561
3573
|
| EnableReachabilityAnalyzerOrganizationSharingCommandOutput
|
|
3562
3574
|
| EnableSerialConsoleAccessCommandOutput
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
EC2ClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../EC2Client";
|
|
8
|
+
import {
|
|
9
|
+
DisableImageDeregistrationProtectionRequest,
|
|
10
|
+
DisableImageDeregistrationProtectionResult,
|
|
11
|
+
} from "../models/models_5";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface DisableImageDeregistrationProtectionCommandInput
|
|
14
|
+
extends DisableImageDeregistrationProtectionRequest {}
|
|
15
|
+
export interface DisableImageDeregistrationProtectionCommandOutput
|
|
16
|
+
extends DisableImageDeregistrationProtectionResult,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const DisableImageDeregistrationProtectionCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: DisableImageDeregistrationProtectionCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
DisableImageDeregistrationProtectionCommandInput,
|
|
23
|
+
DisableImageDeregistrationProtectionCommandOutput,
|
|
24
|
+
EC2ClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: DisableImageDeregistrationProtectionCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
DisableImageDeregistrationProtectionCommandInput,
|
|
32
|
+
DisableImageDeregistrationProtectionCommandOutput,
|
|
33
|
+
EC2ClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class DisableImageDeregistrationProtectionCommand extends DisableImageDeregistrationProtectionCommand_base {}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
EC2ClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../EC2Client";
|
|
8
|
+
import {
|
|
9
|
+
EnableImageDeregistrationProtectionRequest,
|
|
10
|
+
EnableImageDeregistrationProtectionResult,
|
|
11
|
+
} from "../models/models_5";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface EnableImageDeregistrationProtectionCommandInput
|
|
14
|
+
extends EnableImageDeregistrationProtectionRequest {}
|
|
15
|
+
export interface EnableImageDeregistrationProtectionCommandOutput
|
|
16
|
+
extends EnableImageDeregistrationProtectionResult,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const EnableImageDeregistrationProtectionCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: EnableImageDeregistrationProtectionCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
EnableImageDeregistrationProtectionCommandInput,
|
|
23
|
+
EnableImageDeregistrationProtectionCommandOutput,
|
|
24
|
+
EC2ClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: EnableImageDeregistrationProtectionCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
EnableImageDeregistrationProtectionCommandInput,
|
|
32
|
+
EnableImageDeregistrationProtectionCommandOutput,
|
|
33
|
+
EC2ClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class EnableImageDeregistrationProtectionCommand extends EnableImageDeregistrationProtectionCommand_base {}
|
|
@@ -5,10 +5,8 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
GetIpamDiscoveredAccountsResult,
|
|
11
|
-
} from "../models/models_5";
|
|
8
|
+
import { GetIpamDiscoveredAccountsRequest } from "../models/models_5";
|
|
9
|
+
import { GetIpamDiscoveredAccountsResult } from "../models/models_6";
|
|
12
10
|
export { __MetadataBearer, $Command };
|
|
13
11
|
export interface GetIpamDiscoveredAccountsCommandInput
|
|
14
12
|
extends GetIpamDiscoveredAccountsRequest {}
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
GetIpamDiscoveredPublicAddressesRequest,
|
|
10
|
+
GetIpamDiscoveredPublicAddressesResult,
|
|
11
|
+
} from "../models/models_6";
|
|
10
12
|
export { __MetadataBearer, $Command };
|
|
11
13
|
export interface GetIpamDiscoveredPublicAddressesCommandInput
|
|
12
14
|
extends GetIpamDiscoveredPublicAddressesRequest {}
|
|
@@ -5,10 +5,8 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
ProvisionPublicIpv4PoolCidrResult,
|
|
11
|
-
} from "../models/models_6";
|
|
8
|
+
import { ProvisionPublicIpv4PoolCidrRequest } from "../models/models_6";
|
|
9
|
+
import { ProvisionPublicIpv4PoolCidrResult } from "../models/models_7";
|
|
12
10
|
export { __MetadataBearer, $Command };
|
|
13
11
|
export interface ProvisionPublicIpv4PoolCidrCommandInput
|
|
14
12
|
extends ProvisionPublicIpv4PoolCidrRequest {}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
PurchaseCapacityBlockRequest,
|
|
10
10
|
PurchaseCapacityBlockResult,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_7";
|
|
12
12
|
export { __MetadataBearer, $Command };
|
|
13
13
|
export interface PurchaseCapacityBlockCommandInput
|
|
14
14
|
extends PurchaseCapacityBlockRequest {}
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
PurchaseHostReservationRequest,
|
|
10
|
+
PurchaseHostReservationResult,
|
|
11
|
+
} from "../models/models_7";
|
|
10
12
|
export { __MetadataBearer, $Command };
|
|
11
13
|
export interface PurchaseHostReservationCommandInput
|
|
12
14
|
extends PurchaseHostReservationRequest {}
|
|
@@ -381,6 +381,7 @@ export * from "./DisableFastSnapshotRestoresCommand";
|
|
|
381
381
|
export * from "./DisableImageBlockPublicAccessCommand";
|
|
382
382
|
export * from "./DisableImageCommand";
|
|
383
383
|
export * from "./DisableImageDeprecationCommand";
|
|
384
|
+
export * from "./DisableImageDeregistrationProtectionCommand";
|
|
384
385
|
export * from "./DisableIpamOrganizationAdminAccountCommand";
|
|
385
386
|
export * from "./DisableSerialConsoleAccessCommand";
|
|
386
387
|
export * from "./DisableSnapshotBlockPublicAccessCommand";
|
|
@@ -411,6 +412,7 @@ export * from "./EnableFastSnapshotRestoresCommand";
|
|
|
411
412
|
export * from "./EnableImageBlockPublicAccessCommand";
|
|
412
413
|
export * from "./EnableImageCommand";
|
|
413
414
|
export * from "./EnableImageDeprecationCommand";
|
|
415
|
+
export * from "./EnableImageDeregistrationProtectionCommand";
|
|
414
416
|
export * from "./EnableIpamOrganizationAdminAccountCommand";
|
|
415
417
|
export * from "./EnableReachabilityAnalyzerOrganizationSharingCommand";
|
|
416
418
|
export * from "./EnableSerialConsoleAccessCommand";
|
|
@@ -1589,6 +1589,7 @@ export interface DescribeIdFormatResult {
|
|
|
1589
1589
|
export declare const ImageAttributeName: {
|
|
1590
1590
|
readonly blockDeviceMapping: "blockDeviceMapping";
|
|
1591
1591
|
readonly bootMode: "bootMode";
|
|
1592
|
+
readonly deregistrationProtection: "deregistrationProtection";
|
|
1592
1593
|
readonly description: "description";
|
|
1593
1594
|
readonly imdsSupport: "imdsSupport";
|
|
1594
1595
|
readonly kernel: "kernel";
|
|
@@ -1627,6 +1628,7 @@ export interface ImageAttribute {
|
|
|
1627
1628
|
UefiData?: AttributeValue;
|
|
1628
1629
|
LastLaunchedTime?: AttributeValue;
|
|
1629
1630
|
ImdsSupport?: AttributeValue;
|
|
1631
|
+
DeregistrationProtection?: AttributeValue;
|
|
1630
1632
|
}
|
|
1631
1633
|
export interface DescribeImagesRequest {
|
|
1632
1634
|
ExecutableUsers?: string[];
|
|
@@ -1732,6 +1734,8 @@ export interface Image {
|
|
|
1732
1734
|
DeprecationTime?: string;
|
|
1733
1735
|
ImdsSupport?: ImdsSupportValues;
|
|
1734
1736
|
SourceInstanceId?: string;
|
|
1737
|
+
DeregistrationProtection?: string;
|
|
1738
|
+
LastLaunchedTime?: string;
|
|
1735
1739
|
}
|
|
1736
1740
|
export interface DescribeImagesResult {
|
|
1737
1741
|
Images?: Image[];
|