@aws-sdk/client-ec2 3.557.0 → 3.562.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 +171 -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_4.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 +116 -13
- package/dist-types/EC2.d.ts +14 -0
- package/dist-types/EC2Client.d.ts +4 -2
- 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/DescribeImageAttributeCommand.d.ts +2 -1
- package/dist-types/commands/DescribeImagesCommand.d.ts +6 -0
- package/dist-types/commands/DescribeInstancesCommand.d.ts +4 -0
- package/dist-types/commands/DescribeNetworkInterfaceAttributeCommand.d.ts +2 -1
- 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/GetIpamDiscoveredAccountsCommand.d.ts +2 -1
- package/dist-types/commands/GetIpamDiscoveredPublicAddressesCommand.d.ts +1 -2
- package/dist-types/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +1 -0
- 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 +1 -1
- package/dist-types/models/models_1.d.ts +14 -14
- package/dist-types/models/models_2.d.ts +8 -8
- package/dist-types/models/models_3.d.ts +22 -0
- package/dist-types/models/models_4.d.ts +10 -5
- package/dist-types/models/models_5.d.ts +65 -83
- package/dist-types/models/models_6.d.ts +92 -99
- package/dist-types/models/models_7.d.ts +103 -15
- 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_4.d.ts +2 -0
- package/dist-types/ts3.4/models/models_5.d.ts +15 -27
- package/dist-types/ts3.4/models/models_6.d.ts +29 -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
|
@@ -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[];
|
|
@@ -1297,6 +1297,7 @@ export interface DescribeNetworkInsightsPathsResult {
|
|
|
1297
1297
|
NextToken?: string;
|
|
1298
1298
|
}
|
|
1299
1299
|
export declare const NetworkInterfaceAttribute: {
|
|
1300
|
+
readonly associatePublicIpAddress: "associatePublicIpAddress";
|
|
1300
1301
|
readonly attachment: "attachment";
|
|
1301
1302
|
readonly description: "description";
|
|
1302
1303
|
readonly groupSet: "groupSet";
|
|
@@ -1315,6 +1316,7 @@ export interface DescribeNetworkInterfaceAttributeResult {
|
|
|
1315
1316
|
Groups?: GroupIdentifier[];
|
|
1316
1317
|
NetworkInterfaceId?: string;
|
|
1317
1318
|
SourceDestCheck?: AttributeBooleanValue;
|
|
1319
|
+
AssociatePublicIpAddress?: boolean;
|
|
1318
1320
|
}
|
|
1319
1321
|
export interface DescribeNetworkInterfacePermissionsRequest {
|
|
1320
1322
|
NetworkInterfacePermissionIds?: string[];
|
|
@@ -880,6 +880,13 @@ export interface DisableImageDeprecationRequest {
|
|
|
880
880
|
export interface DisableImageDeprecationResult {
|
|
881
881
|
Return?: boolean;
|
|
882
882
|
}
|
|
883
|
+
export interface DisableImageDeregistrationProtectionRequest {
|
|
884
|
+
ImageId: string | undefined;
|
|
885
|
+
DryRun?: boolean;
|
|
886
|
+
}
|
|
887
|
+
export interface DisableImageDeregistrationProtectionResult {
|
|
888
|
+
Return?: string;
|
|
889
|
+
}
|
|
883
890
|
export interface DisableIpamOrganizationAdminAccountRequest {
|
|
884
891
|
DryRun?: boolean;
|
|
885
892
|
DelegatedAdminAccountId: string | undefined;
|
|
@@ -1180,6 +1187,14 @@ export interface EnableImageDeprecationRequest {
|
|
|
1180
1187
|
export interface EnableImageDeprecationResult {
|
|
1181
1188
|
Return?: boolean;
|
|
1182
1189
|
}
|
|
1190
|
+
export interface EnableImageDeregistrationProtectionRequest {
|
|
1191
|
+
ImageId: string | undefined;
|
|
1192
|
+
WithCooldown?: boolean;
|
|
1193
|
+
DryRun?: boolean;
|
|
1194
|
+
}
|
|
1195
|
+
export interface EnableImageDeregistrationProtectionResult {
|
|
1196
|
+
Return?: string;
|
|
1197
|
+
}
|
|
1183
1198
|
export interface EnableIpamOrganizationAdminAccountRequest {
|
|
1184
1199
|
DryRun?: boolean;
|
|
1185
1200
|
DelegatedAdminAccountId: string | undefined;
|
|
@@ -1626,33 +1641,6 @@ export interface IpamDiscoveredAccount {
|
|
|
1626
1641
|
LastAttemptedDiscoveryTime?: Date;
|
|
1627
1642
|
LastSuccessfulDiscoveryTime?: Date;
|
|
1628
1643
|
}
|
|
1629
|
-
export interface GetIpamDiscoveredAccountsResult {
|
|
1630
|
-
IpamDiscoveredAccounts?: IpamDiscoveredAccount[];
|
|
1631
|
-
NextToken?: string;
|
|
1632
|
-
}
|
|
1633
|
-
export interface GetIpamDiscoveredPublicAddressesRequest {
|
|
1634
|
-
DryRun?: boolean;
|
|
1635
|
-
IpamResourceDiscoveryId: string | undefined;
|
|
1636
|
-
AddressRegion: string | undefined;
|
|
1637
|
-
Filters?: Filter[];
|
|
1638
|
-
NextToken?: string;
|
|
1639
|
-
MaxResults?: number;
|
|
1640
|
-
}
|
|
1641
|
-
export declare const IpamPublicAddressType: {
|
|
1642
|
-
readonly AMAZON_OWNED_EIP: "amazon-owned-eip";
|
|
1643
|
-
readonly BYOIP: "byoip";
|
|
1644
|
-
readonly EC2_PUBLIC_IP: "ec2-public-ip";
|
|
1645
|
-
readonly SERVICE_MANAGED_BYOIP: "service-managed-byoip";
|
|
1646
|
-
readonly SERVICE_MANAGED_IP: "service-managed-ip";
|
|
1647
|
-
};
|
|
1648
|
-
export type IpamPublicAddressType =
|
|
1649
|
-
(typeof IpamPublicAddressType)[keyof typeof IpamPublicAddressType];
|
|
1650
|
-
export declare const IpamPublicAddressAssociationStatus: {
|
|
1651
|
-
readonly ASSOCIATED: "associated";
|
|
1652
|
-
readonly DISASSOCIATED: "disassociated";
|
|
1653
|
-
};
|
|
1654
|
-
export type IpamPublicAddressAssociationStatus =
|
|
1655
|
-
(typeof IpamPublicAddressAssociationStatus)[keyof typeof IpamPublicAddressAssociationStatus];
|
|
1656
1644
|
export declare const DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog: (
|
|
1657
1645
|
obj: DescribeVerifiedAccessTrustProvidersResult
|
|
1658
1646
|
) => any;
|
|
@@ -9,9 +9,6 @@ import {
|
|
|
9
9
|
ApplianceModeSupportValue,
|
|
10
10
|
AutoPlacement,
|
|
11
11
|
ByoipCidr,
|
|
12
|
-
CapacityReservation,
|
|
13
|
-
CapacityReservationInstancePlatform,
|
|
14
|
-
CurrencyCodeValues,
|
|
15
12
|
DnsSupportValue,
|
|
16
13
|
EnaSrdSpecification,
|
|
17
14
|
EndDateType,
|
|
@@ -133,7 +130,6 @@ import {
|
|
|
133
130
|
LaunchTemplateConfig,
|
|
134
131
|
LockState,
|
|
135
132
|
Monitoring,
|
|
136
|
-
PublicIpv4PoolRange,
|
|
137
133
|
ReservedInstancesConfiguration,
|
|
138
134
|
SnapshotAttributeName,
|
|
139
135
|
SnapshotTaskDetail,
|
|
@@ -141,15 +137,41 @@ import {
|
|
|
141
137
|
import {
|
|
142
138
|
InstanceFamilyCreditSpecification,
|
|
143
139
|
IpamComplianceStatus,
|
|
140
|
+
IpamDiscoveredAccount,
|
|
144
141
|
IpamOverlapStatus,
|
|
145
|
-
IpamPublicAddressAssociationStatus,
|
|
146
|
-
IpamPublicAddressType,
|
|
147
142
|
SnapshotBlockPublicAccessState,
|
|
148
143
|
TransitGatewayPropagationState,
|
|
149
144
|
UnlimitedSupportedInstanceFamily,
|
|
150
145
|
VerifiedAccessInstanceLoggingConfiguration,
|
|
151
146
|
VolumeModification,
|
|
152
147
|
} from "./models_5";
|
|
148
|
+
export interface GetIpamDiscoveredAccountsResult {
|
|
149
|
+
IpamDiscoveredAccounts?: IpamDiscoveredAccount[];
|
|
150
|
+
NextToken?: string;
|
|
151
|
+
}
|
|
152
|
+
export interface GetIpamDiscoveredPublicAddressesRequest {
|
|
153
|
+
DryRun?: boolean;
|
|
154
|
+
IpamResourceDiscoveryId: string | undefined;
|
|
155
|
+
AddressRegion: string | undefined;
|
|
156
|
+
Filters?: Filter[];
|
|
157
|
+
NextToken?: string;
|
|
158
|
+
MaxResults?: number;
|
|
159
|
+
}
|
|
160
|
+
export declare const IpamPublicAddressType: {
|
|
161
|
+
readonly AMAZON_OWNED_EIP: "amazon-owned-eip";
|
|
162
|
+
readonly BYOIP: "byoip";
|
|
163
|
+
readonly EC2_PUBLIC_IP: "ec2-public-ip";
|
|
164
|
+
readonly SERVICE_MANAGED_BYOIP: "service-managed-byoip";
|
|
165
|
+
readonly SERVICE_MANAGED_IP: "service-managed-ip";
|
|
166
|
+
};
|
|
167
|
+
export type IpamPublicAddressType =
|
|
168
|
+
(typeof IpamPublicAddressType)[keyof typeof IpamPublicAddressType];
|
|
169
|
+
export declare const IpamPublicAddressAssociationStatus: {
|
|
170
|
+
readonly ASSOCIATED: "associated";
|
|
171
|
+
readonly DISASSOCIATED: "disassociated";
|
|
172
|
+
};
|
|
173
|
+
export type IpamPublicAddressAssociationStatus =
|
|
174
|
+
(typeof IpamPublicAddressAssociationStatus)[keyof typeof IpamPublicAddressAssociationStatus];
|
|
153
175
|
export interface IpamPublicAddressSecurityGroup {
|
|
154
176
|
GroupName?: string;
|
|
155
177
|
GroupId?: string;
|
|
@@ -1283,6 +1305,7 @@ export interface ModifyNetworkInterfaceAttributeRequest {
|
|
|
1283
1305
|
EnaSrdSpecification?: EnaSrdSpecification;
|
|
1284
1306
|
EnablePrimaryIpv6?: boolean;
|
|
1285
1307
|
ConnectionTrackingSpecification?: ConnectionTrackingSpecificationRequest;
|
|
1308
|
+
AssociatePublicIpAddress?: boolean;
|
|
1286
1309
|
}
|
|
1287
1310
|
export interface ModifyPrivateDnsNameOptionsRequest {
|
|
1288
1311
|
DryRun?: boolean;
|
|
@@ -1861,27 +1884,6 @@ export interface ProvisionPublicIpv4PoolCidrRequest {
|
|
|
1861
1884
|
PoolId: string | undefined;
|
|
1862
1885
|
NetmaskLength: number | undefined;
|
|
1863
1886
|
}
|
|
1864
|
-
export interface ProvisionPublicIpv4PoolCidrResult {
|
|
1865
|
-
PoolId?: string;
|
|
1866
|
-
PoolAddressRange?: PublicIpv4PoolRange;
|
|
1867
|
-
}
|
|
1868
|
-
export interface PurchaseCapacityBlockRequest {
|
|
1869
|
-
DryRun?: boolean;
|
|
1870
|
-
TagSpecifications?: TagSpecification[];
|
|
1871
|
-
CapacityBlockOfferingId: string | undefined;
|
|
1872
|
-
InstancePlatform: CapacityReservationInstancePlatform | undefined;
|
|
1873
|
-
}
|
|
1874
|
-
export interface PurchaseCapacityBlockResult {
|
|
1875
|
-
CapacityReservation?: CapacityReservation;
|
|
1876
|
-
}
|
|
1877
|
-
export interface PurchaseHostReservationRequest {
|
|
1878
|
-
ClientToken?: string;
|
|
1879
|
-
CurrencyCode?: CurrencyCodeValues;
|
|
1880
|
-
HostIdSet: string[] | undefined;
|
|
1881
|
-
LimitPrice?: string;
|
|
1882
|
-
OfferingId: string | undefined;
|
|
1883
|
-
TagSpecifications?: TagSpecification[];
|
|
1884
|
-
}
|
|
1885
1887
|
export declare const GetLaunchTemplateDataResultFilterSensitiveLog: (
|
|
1886
1888
|
obj: GetLaunchTemplateDataResult
|
|
1887
1889
|
) => any;
|
|
@@ -3,6 +3,8 @@ import {
|
|
|
3
3
|
AddressAttribute,
|
|
4
4
|
AddressAttributeName,
|
|
5
5
|
ByoipCidr,
|
|
6
|
+
CapacityReservation,
|
|
7
|
+
CapacityReservationInstancePlatform,
|
|
6
8
|
ClientVpnAuthorizationRuleStatus,
|
|
7
9
|
CurrencyCodeValues,
|
|
8
10
|
IamInstanceProfileAssociation,
|
|
@@ -56,6 +58,7 @@ import {
|
|
|
56
58
|
InstanceState,
|
|
57
59
|
NetworkInsightsAccessScopeAnalysis,
|
|
58
60
|
NetworkInsightsAnalysis,
|
|
61
|
+
PublicIpv4PoolRange,
|
|
59
62
|
RunInstancesMonitoringEnabled,
|
|
60
63
|
ScheduledInstance,
|
|
61
64
|
SnapshotAttributeName,
|
|
@@ -69,6 +72,27 @@ import {
|
|
|
69
72
|
InstanceMonitoring,
|
|
70
73
|
Status,
|
|
71
74
|
} from "./models_6";
|
|
75
|
+
export interface ProvisionPublicIpv4PoolCidrResult {
|
|
76
|
+
PoolId?: string;
|
|
77
|
+
PoolAddressRange?: PublicIpv4PoolRange;
|
|
78
|
+
}
|
|
79
|
+
export interface PurchaseCapacityBlockRequest {
|
|
80
|
+
DryRun?: boolean;
|
|
81
|
+
TagSpecifications?: TagSpecification[];
|
|
82
|
+
CapacityBlockOfferingId: string | undefined;
|
|
83
|
+
InstancePlatform: CapacityReservationInstancePlatform | undefined;
|
|
84
|
+
}
|
|
85
|
+
export interface PurchaseCapacityBlockResult {
|
|
86
|
+
CapacityReservation?: CapacityReservation;
|
|
87
|
+
}
|
|
88
|
+
export interface PurchaseHostReservationRequest {
|
|
89
|
+
ClientToken?: string;
|
|
90
|
+
CurrencyCode?: CurrencyCodeValues;
|
|
91
|
+
HostIdSet: string[] | undefined;
|
|
92
|
+
LimitPrice?: string;
|
|
93
|
+
OfferingId: string | undefined;
|
|
94
|
+
TagSpecifications?: TagSpecification[];
|
|
95
|
+
}
|
|
72
96
|
export interface PurchaseHostReservationResult {
|
|
73
97
|
ClientToken?: string;
|
|
74
98
|
CurrencyCode?: CurrencyCodeValues;
|
|
@@ -1535,6 +1535,10 @@ import {
|
|
|
1535
1535
|
DisableImageDeprecationCommandInput,
|
|
1536
1536
|
DisableImageDeprecationCommandOutput,
|
|
1537
1537
|
} from "../commands/DisableImageDeprecationCommand";
|
|
1538
|
+
import {
|
|
1539
|
+
DisableImageDeregistrationProtectionCommandInput,
|
|
1540
|
+
DisableImageDeregistrationProtectionCommandOutput,
|
|
1541
|
+
} from "../commands/DisableImageDeregistrationProtectionCommand";
|
|
1538
1542
|
import {
|
|
1539
1543
|
DisableIpamOrganizationAdminAccountCommandInput,
|
|
1540
1544
|
DisableIpamOrganizationAdminAccountCommandOutput,
|
|
@@ -1655,6 +1659,10 @@ import {
|
|
|
1655
1659
|
EnableImageDeprecationCommandInput,
|
|
1656
1660
|
EnableImageDeprecationCommandOutput,
|
|
1657
1661
|
} from "../commands/EnableImageDeprecationCommand";
|
|
1662
|
+
import {
|
|
1663
|
+
EnableImageDeregistrationProtectionCommandInput,
|
|
1664
|
+
EnableImageDeregistrationProtectionCommandOutput,
|
|
1665
|
+
} from "../commands/EnableImageDeregistrationProtectionCommand";
|
|
1658
1666
|
import {
|
|
1659
1667
|
EnableIpamOrganizationAdminAccountCommandInput,
|
|
1660
1668
|
EnableIpamOrganizationAdminAccountCommandOutput,
|
|
@@ -4007,6 +4015,10 @@ export declare const se_DisableImageDeprecationCommand: (
|
|
|
4007
4015
|
input: DisableImageDeprecationCommandInput,
|
|
4008
4016
|
context: __SerdeContext
|
|
4009
4017
|
) => Promise<__HttpRequest>;
|
|
4018
|
+
export declare const se_DisableImageDeregistrationProtectionCommand: (
|
|
4019
|
+
input: DisableImageDeregistrationProtectionCommandInput,
|
|
4020
|
+
context: __SerdeContext
|
|
4021
|
+
) => Promise<__HttpRequest>;
|
|
4010
4022
|
export declare const se_DisableIpamOrganizationAdminAccountCommand: (
|
|
4011
4023
|
input: DisableIpamOrganizationAdminAccountCommandInput,
|
|
4012
4024
|
context: __SerdeContext
|
|
@@ -4127,6 +4139,10 @@ export declare const se_EnableImageDeprecationCommand: (
|
|
|
4127
4139
|
input: EnableImageDeprecationCommandInput,
|
|
4128
4140
|
context: __SerdeContext
|
|
4129
4141
|
) => Promise<__HttpRequest>;
|
|
4142
|
+
export declare const se_EnableImageDeregistrationProtectionCommand: (
|
|
4143
|
+
input: EnableImageDeregistrationProtectionCommandInput,
|
|
4144
|
+
context: __SerdeContext
|
|
4145
|
+
) => Promise<__HttpRequest>;
|
|
4130
4146
|
export declare const se_EnableIpamOrganizationAdminAccountCommand: (
|
|
4131
4147
|
input: EnableIpamOrganizationAdminAccountCommandInput,
|
|
4132
4148
|
context: __SerdeContext
|
|
@@ -6479,6 +6495,10 @@ export declare const de_DisableImageDeprecationCommand: (
|
|
|
6479
6495
|
output: __HttpResponse,
|
|
6480
6496
|
context: __SerdeContext
|
|
6481
6497
|
) => Promise<DisableImageDeprecationCommandOutput>;
|
|
6498
|
+
export declare const de_DisableImageDeregistrationProtectionCommand: (
|
|
6499
|
+
output: __HttpResponse,
|
|
6500
|
+
context: __SerdeContext
|
|
6501
|
+
) => Promise<DisableImageDeregistrationProtectionCommandOutput>;
|
|
6482
6502
|
export declare const de_DisableIpamOrganizationAdminAccountCommand: (
|
|
6483
6503
|
output: __HttpResponse,
|
|
6484
6504
|
context: __SerdeContext
|
|
@@ -6599,6 +6619,10 @@ export declare const de_EnableImageDeprecationCommand: (
|
|
|
6599
6619
|
output: __HttpResponse,
|
|
6600
6620
|
context: __SerdeContext
|
|
6601
6621
|
) => Promise<EnableImageDeprecationCommandOutput>;
|
|
6622
|
+
export declare const de_EnableImageDeregistrationProtectionCommand: (
|
|
6623
|
+
output: __HttpResponse,
|
|
6624
|
+
context: __SerdeContext
|
|
6625
|
+
) => Promise<EnableImageDeregistrationProtectionCommandOutput>;
|
|
6602
6626
|
export declare const de_EnableIpamOrganizationAdminAccountCommand: (
|
|
6603
6627
|
output: __HttpResponse,
|
|
6604
6628
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ec2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.562.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ec2",
|