@aws-sdk/client-ec2 3.540.0 → 3.542.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 +182 -15
- package/dist-es/EC2.js +4 -0
- package/dist-es/commands/GetInstanceMetadataDefaultsCommand.js +24 -0
- package/dist-es/commands/ModifyInstanceMetadataDefaultsCommand.js +24 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_5.js +0 -11
- package/dist-es/models/models_6.js +26 -0
- package/dist-es/protocols/Aws_ec2.js +109 -3
- package/dist-types/EC2.d.ts +16 -0
- package/dist-types/EC2Client.d.ts +4 -2
- package/dist-types/commands/GetInstanceMetadataDefaultsCommand.d.ts +68 -0
- package/dist-types/commands/ModifyInstanceMetadataDefaultsCommand.d.ts +71 -0
- package/dist-types/commands/PurchaseHostReservationCommand.d.ts +2 -1
- package/dist-types/commands/PurchaseReservedInstancesOfferingCommand.d.ts +1 -1
- package/dist-types/commands/PurchaseScheduledInstancesCommand.d.ts +1 -1
- package/dist-types/commands/RebootInstancesCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_3.d.ts +1 -2
- package/dist-types/models/models_4.d.ts +5 -13
- package/dist-types/models/models_5.d.ts +67 -52
- package/dist-types/models/models_6.d.ts +171 -167
- package/dist-types/models/models_7.d.ts +187 -16
- package/dist-types/protocols/Aws_ec2.d.ts +18 -0
- package/dist-types/ts3.4/EC2.d.ts +36 -0
- package/dist-types/ts3.4/EC2Client.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetInstanceMetadataDefaultsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ModifyInstanceMetadataDefaultsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/PurchaseHostReservationCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/PurchaseReservedInstancesOfferingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PurchaseScheduledInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RebootInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_5.d.ts +15 -21
- package/dist-types/ts3.4/models/models_6.d.ts +52 -42
- package/dist-types/ts3.4/models/models_7.d.ts +40 -0
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +24 -0
- package/package.json +1 -1
|
@@ -1759,6 +1759,10 @@ import {
|
|
|
1759
1759
|
GetImageBlockPublicAccessStateCommandInput,
|
|
1760
1760
|
GetImageBlockPublicAccessStateCommandOutput,
|
|
1761
1761
|
} from "./commands/GetImageBlockPublicAccessStateCommand";
|
|
1762
|
+
import {
|
|
1763
|
+
GetInstanceMetadataDefaultsCommandInput,
|
|
1764
|
+
GetInstanceMetadataDefaultsCommandOutput,
|
|
1765
|
+
} from "./commands/GetInstanceMetadataDefaultsCommand";
|
|
1762
1766
|
import {
|
|
1763
1767
|
GetInstanceTypesFromInstanceRequirementsCommandInput,
|
|
1764
1768
|
GetInstanceTypesFromInstanceRequirementsCommandOutput,
|
|
@@ -2003,6 +2007,10 @@ import {
|
|
|
2003
2007
|
ModifyInstanceMaintenanceOptionsCommandInput,
|
|
2004
2008
|
ModifyInstanceMaintenanceOptionsCommandOutput,
|
|
2005
2009
|
} from "./commands/ModifyInstanceMaintenanceOptionsCommand";
|
|
2010
|
+
import {
|
|
2011
|
+
ModifyInstanceMetadataDefaultsCommandInput,
|
|
2012
|
+
ModifyInstanceMetadataDefaultsCommandOutput,
|
|
2013
|
+
} from "./commands/ModifyInstanceMetadataDefaultsCommand";
|
|
2006
2014
|
import {
|
|
2007
2015
|
ModifyInstanceMetadataOptionsCommandInput,
|
|
2008
2016
|
ModifyInstanceMetadataOptionsCommandOutput,
|
|
@@ -8869,6 +8877,20 @@ export interface EC2 {
|
|
|
8869
8877
|
options: __HttpHandlerOptions,
|
|
8870
8878
|
cb: (err: any, data?: GetImageBlockPublicAccessStateCommandOutput) => void
|
|
8871
8879
|
): void;
|
|
8880
|
+
getInstanceMetadataDefaults(): Promise<GetInstanceMetadataDefaultsCommandOutput>;
|
|
8881
|
+
getInstanceMetadataDefaults(
|
|
8882
|
+
args: GetInstanceMetadataDefaultsCommandInput,
|
|
8883
|
+
options?: __HttpHandlerOptions
|
|
8884
|
+
): Promise<GetInstanceMetadataDefaultsCommandOutput>;
|
|
8885
|
+
getInstanceMetadataDefaults(
|
|
8886
|
+
args: GetInstanceMetadataDefaultsCommandInput,
|
|
8887
|
+
cb: (err: any, data?: GetInstanceMetadataDefaultsCommandOutput) => void
|
|
8888
|
+
): void;
|
|
8889
|
+
getInstanceMetadataDefaults(
|
|
8890
|
+
args: GetInstanceMetadataDefaultsCommandInput,
|
|
8891
|
+
options: __HttpHandlerOptions,
|
|
8892
|
+
cb: (err: any, data?: GetInstanceMetadataDefaultsCommandOutput) => void
|
|
8893
|
+
): void;
|
|
8872
8894
|
getInstanceTypesFromInstanceRequirements(
|
|
8873
8895
|
args: GetInstanceTypesFromInstanceRequirementsCommandInput,
|
|
8874
8896
|
options?: __HttpHandlerOptions
|
|
@@ -9765,6 +9787,20 @@ export interface EC2 {
|
|
|
9765
9787
|
options: __HttpHandlerOptions,
|
|
9766
9788
|
cb: (err: any, data?: ModifyInstanceMaintenanceOptionsCommandOutput) => void
|
|
9767
9789
|
): void;
|
|
9790
|
+
modifyInstanceMetadataDefaults(): Promise<ModifyInstanceMetadataDefaultsCommandOutput>;
|
|
9791
|
+
modifyInstanceMetadataDefaults(
|
|
9792
|
+
args: ModifyInstanceMetadataDefaultsCommandInput,
|
|
9793
|
+
options?: __HttpHandlerOptions
|
|
9794
|
+
): Promise<ModifyInstanceMetadataDefaultsCommandOutput>;
|
|
9795
|
+
modifyInstanceMetadataDefaults(
|
|
9796
|
+
args: ModifyInstanceMetadataDefaultsCommandInput,
|
|
9797
|
+
cb: (err: any, data?: ModifyInstanceMetadataDefaultsCommandOutput) => void
|
|
9798
|
+
): void;
|
|
9799
|
+
modifyInstanceMetadataDefaults(
|
|
9800
|
+
args: ModifyInstanceMetadataDefaultsCommandInput,
|
|
9801
|
+
options: __HttpHandlerOptions,
|
|
9802
|
+
cb: (err: any, data?: ModifyInstanceMetadataDefaultsCommandOutput) => void
|
|
9803
|
+
): void;
|
|
9768
9804
|
modifyInstanceMetadataOptions(
|
|
9769
9805
|
args: ModifyInstanceMetadataOptionsCommandInput,
|
|
9770
9806
|
options?: __HttpHandlerOptions
|
|
@@ -1805,6 +1805,10 @@ import {
|
|
|
1805
1805
|
GetImageBlockPublicAccessStateCommandInput,
|
|
1806
1806
|
GetImageBlockPublicAccessStateCommandOutput,
|
|
1807
1807
|
} from "./commands/GetImageBlockPublicAccessStateCommand";
|
|
1808
|
+
import {
|
|
1809
|
+
GetInstanceMetadataDefaultsCommandInput,
|
|
1810
|
+
GetInstanceMetadataDefaultsCommandOutput,
|
|
1811
|
+
} from "./commands/GetInstanceMetadataDefaultsCommand";
|
|
1808
1812
|
import {
|
|
1809
1813
|
GetInstanceTypesFromInstanceRequirementsCommandInput,
|
|
1810
1814
|
GetInstanceTypesFromInstanceRequirementsCommandOutput,
|
|
@@ -2049,6 +2053,10 @@ import {
|
|
|
2049
2053
|
ModifyInstanceMaintenanceOptionsCommandInput,
|
|
2050
2054
|
ModifyInstanceMaintenanceOptionsCommandOutput,
|
|
2051
2055
|
} from "./commands/ModifyInstanceMaintenanceOptionsCommand";
|
|
2056
|
+
import {
|
|
2057
|
+
ModifyInstanceMetadataDefaultsCommandInput,
|
|
2058
|
+
ModifyInstanceMetadataDefaultsCommandOutput,
|
|
2059
|
+
} from "./commands/ModifyInstanceMetadataDefaultsCommand";
|
|
2052
2060
|
import {
|
|
2053
2061
|
ModifyInstanceMetadataOptionsCommandInput,
|
|
2054
2062
|
ModifyInstanceMetadataOptionsCommandOutput,
|
|
@@ -2957,6 +2965,7 @@ export type ServiceInputTypes =
|
|
|
2957
2965
|
| GetGroupsForCapacityReservationCommandInput
|
|
2958
2966
|
| GetHostReservationPurchasePreviewCommandInput
|
|
2959
2967
|
| GetImageBlockPublicAccessStateCommandInput
|
|
2968
|
+
| GetInstanceMetadataDefaultsCommandInput
|
|
2960
2969
|
| GetInstanceTypesFromInstanceRequirementsCommandInput
|
|
2961
2970
|
| GetInstanceUefiDataCommandInput
|
|
2962
2971
|
| GetIpamAddressHistoryCommandInput
|
|
@@ -3018,6 +3027,7 @@ export type ServiceInputTypes =
|
|
|
3018
3027
|
| ModifyInstanceEventStartTimeCommandInput
|
|
3019
3028
|
| ModifyInstanceEventWindowCommandInput
|
|
3020
3029
|
| ModifyInstanceMaintenanceOptionsCommandInput
|
|
3030
|
+
| ModifyInstanceMetadataDefaultsCommandInput
|
|
3021
3031
|
| ModifyInstanceMetadataOptionsCommandInput
|
|
3022
3032
|
| ModifyInstancePlacementCommandInput
|
|
3023
3033
|
| ModifyIpamCommandInput
|
|
@@ -3574,6 +3584,7 @@ export type ServiceOutputTypes =
|
|
|
3574
3584
|
| GetGroupsForCapacityReservationCommandOutput
|
|
3575
3585
|
| GetHostReservationPurchasePreviewCommandOutput
|
|
3576
3586
|
| GetImageBlockPublicAccessStateCommandOutput
|
|
3587
|
+
| GetInstanceMetadataDefaultsCommandOutput
|
|
3577
3588
|
| GetInstanceTypesFromInstanceRequirementsCommandOutput
|
|
3578
3589
|
| GetInstanceUefiDataCommandOutput
|
|
3579
3590
|
| GetIpamAddressHistoryCommandOutput
|
|
@@ -3635,6 +3646,7 @@ export type ServiceOutputTypes =
|
|
|
3635
3646
|
| ModifyInstanceEventStartTimeCommandOutput
|
|
3636
3647
|
| ModifyInstanceEventWindowCommandOutput
|
|
3637
3648
|
| ModifyInstanceMaintenanceOptionsCommandOutput
|
|
3649
|
+
| ModifyInstanceMetadataDefaultsCommandOutput
|
|
3638
3650
|
| ModifyInstanceMetadataOptionsCommandOutput
|
|
3639
3651
|
| ModifyInstancePlacementCommandOutput
|
|
3640
3652
|
| ModifyIpamCommandOutput
|
|
@@ -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
|
+
GetInstanceMetadataDefaultsRequest,
|
|
10
|
+
GetInstanceMetadataDefaultsResult,
|
|
11
|
+
} from "../models/models_5";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface GetInstanceMetadataDefaultsCommandInput
|
|
14
|
+
extends GetInstanceMetadataDefaultsRequest {}
|
|
15
|
+
export interface GetInstanceMetadataDefaultsCommandOutput
|
|
16
|
+
extends GetInstanceMetadataDefaultsResult,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const GetInstanceMetadataDefaultsCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: GetInstanceMetadataDefaultsCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
GetInstanceMetadataDefaultsCommandInput,
|
|
23
|
+
GetInstanceMetadataDefaultsCommandOutput,
|
|
24
|
+
EC2ClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
...[input]: [] | [GetInstanceMetadataDefaultsCommandInput]
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
GetInstanceMetadataDefaultsCommandInput,
|
|
32
|
+
GetInstanceMetadataDefaultsCommandOutput,
|
|
33
|
+
EC2ClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class GetInstanceMetadataDefaultsCommand extends GetInstanceMetadataDefaultsCommand_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
|
+
ModifyInstanceMetadataDefaultsRequest,
|
|
10
|
+
ModifyInstanceMetadataDefaultsResult,
|
|
11
|
+
} from "../models/models_6";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface ModifyInstanceMetadataDefaultsCommandInput
|
|
14
|
+
extends ModifyInstanceMetadataDefaultsRequest {}
|
|
15
|
+
export interface ModifyInstanceMetadataDefaultsCommandOutput
|
|
16
|
+
extends ModifyInstanceMetadataDefaultsResult,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const ModifyInstanceMetadataDefaultsCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: ModifyInstanceMetadataDefaultsCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
ModifyInstanceMetadataDefaultsCommandInput,
|
|
23
|
+
ModifyInstanceMetadataDefaultsCommandOutput,
|
|
24
|
+
EC2ClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
...[input]: [] | [ModifyInstanceMetadataDefaultsCommandInput]
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
ModifyInstanceMetadataDefaultsCommandInput,
|
|
32
|
+
ModifyInstanceMetadataDefaultsCommandOutput,
|
|
33
|
+
EC2ClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class ModifyInstanceMetadataDefaultsCommand extends ModifyInstanceMetadataDefaultsCommand_base {}
|
|
@@ -5,10 +5,8 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
PurchaseHostReservationResult,
|
|
11
|
-
} from "../models/models_6";
|
|
8
|
+
import { PurchaseHostReservationRequest } from "../models/models_6";
|
|
9
|
+
import { PurchaseHostReservationResult } from "../models/models_7";
|
|
12
10
|
export { __MetadataBearer, $Command };
|
|
13
11
|
export interface PurchaseHostReservationCommandInput
|
|
14
12
|
extends PurchaseHostReservationRequest {}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
PurchaseReservedInstancesOfferingRequest,
|
|
10
10
|
PurchaseReservedInstancesOfferingResult,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_7";
|
|
12
12
|
export { __MetadataBearer, $Command };
|
|
13
13
|
export interface PurchaseReservedInstancesOfferingCommandInput
|
|
14
14
|
extends PurchaseReservedInstancesOfferingRequest {}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
PurchaseScheduledInstancesRequest,
|
|
10
10
|
PurchaseScheduledInstancesResult,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_7";
|
|
12
12
|
export { __MetadataBearer, $Command };
|
|
13
13
|
export interface PurchaseScheduledInstancesCommandInput
|
|
14
14
|
extends PurchaseScheduledInstancesRequest {}
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import { RebootInstancesRequest } from "../models/
|
|
8
|
+
import { RebootInstancesRequest } from "../models/models_7";
|
|
9
9
|
export { __MetadataBearer, $Command };
|
|
10
10
|
export interface RebootInstancesCommandInput extends RebootInstancesRequest {}
|
|
11
11
|
export interface RebootInstancesCommandOutput extends __MetadataBearer {}
|
|
@@ -438,6 +438,7 @@ export * from "./GetFlowLogsIntegrationTemplateCommand";
|
|
|
438
438
|
export * from "./GetGroupsForCapacityReservationCommand";
|
|
439
439
|
export * from "./GetHostReservationPurchasePreviewCommand";
|
|
440
440
|
export * from "./GetImageBlockPublicAccessStateCommand";
|
|
441
|
+
export * from "./GetInstanceMetadataDefaultsCommand";
|
|
441
442
|
export * from "./GetInstanceTypesFromInstanceRequirementsCommand";
|
|
442
443
|
export * from "./GetInstanceUefiDataCommand";
|
|
443
444
|
export * from "./GetIpamAddressHistoryCommand";
|
|
@@ -499,6 +500,7 @@ export * from "./ModifyInstanceCreditSpecificationCommand";
|
|
|
499
500
|
export * from "./ModifyInstanceEventStartTimeCommand";
|
|
500
501
|
export * from "./ModifyInstanceEventWindowCommand";
|
|
501
502
|
export * from "./ModifyInstanceMaintenanceOptionsCommand";
|
|
503
|
+
export * from "./ModifyInstanceMetadataDefaultsCommand";
|
|
502
504
|
export * from "./ModifyInstanceMetadataOptionsCommand";
|
|
503
505
|
export * from "./ModifyInstancePlacementCommand";
|
|
504
506
|
export * from "./ModifyIpamCommand";
|
|
@@ -83,6 +83,9 @@ import {
|
|
|
83
83
|
import {
|
|
84
84
|
ArchitectureType,
|
|
85
85
|
AttributeBooleanValue,
|
|
86
|
+
HttpTokensState,
|
|
87
|
+
InstanceMetadataEndpointState,
|
|
88
|
+
InstanceMetadataTagsState,
|
|
86
89
|
RIProductDescription,
|
|
87
90
|
} from "./models_4";
|
|
88
91
|
export interface SpotPrice {
|
|
@@ -1511,6 +1514,18 @@ export interface GetImageBlockPublicAccessStateRequest {
|
|
|
1511
1514
|
export interface GetImageBlockPublicAccessStateResult {
|
|
1512
1515
|
ImageBlockPublicAccessState?: string;
|
|
1513
1516
|
}
|
|
1517
|
+
export interface GetInstanceMetadataDefaultsRequest {
|
|
1518
|
+
DryRun?: boolean;
|
|
1519
|
+
}
|
|
1520
|
+
export interface InstanceMetadataDefaultsResponse {
|
|
1521
|
+
HttpTokens?: HttpTokensState;
|
|
1522
|
+
HttpPutResponseHopLimit?: number;
|
|
1523
|
+
HttpEndpoint?: InstanceMetadataEndpointState;
|
|
1524
|
+
InstanceMetadataTags?: InstanceMetadataTagsState;
|
|
1525
|
+
}
|
|
1526
|
+
export interface GetInstanceMetadataDefaultsResult {
|
|
1527
|
+
AccountLevel?: InstanceMetadataDefaultsResponse;
|
|
1528
|
+
}
|
|
1514
1529
|
export interface GetInstanceTypesFromInstanceRequirementsRequest {
|
|
1515
1530
|
DryRun?: boolean;
|
|
1516
1531
|
ArchitectureTypes: ArchitectureType[] | undefined;
|
|
@@ -1638,27 +1653,6 @@ export declare const IpamPublicAddressAssociationStatus: {
|
|
|
1638
1653
|
};
|
|
1639
1654
|
export type IpamPublicAddressAssociationStatus =
|
|
1640
1655
|
(typeof IpamPublicAddressAssociationStatus)[keyof typeof IpamPublicAddressAssociationStatus];
|
|
1641
|
-
export interface IpamPublicAddressSecurityGroup {
|
|
1642
|
-
GroupName?: string;
|
|
1643
|
-
GroupId?: string;
|
|
1644
|
-
}
|
|
1645
|
-
export declare const IpamPublicAddressAwsService: {
|
|
1646
|
-
readonly AGA: "global-accelerator";
|
|
1647
|
-
readonly DMS: "database-migration-service";
|
|
1648
|
-
readonly EC2_LB: "load-balancer";
|
|
1649
|
-
readonly ECS: "elastic-container-service";
|
|
1650
|
-
readonly NAT_GATEWAY: "nat-gateway";
|
|
1651
|
-
readonly OTHER: "other";
|
|
1652
|
-
readonly RDS: "relational-database-service";
|
|
1653
|
-
readonly REDSHIFT: "redshift";
|
|
1654
|
-
readonly S2S_VPN: "site-to-site-vpn";
|
|
1655
|
-
};
|
|
1656
|
-
export type IpamPublicAddressAwsService =
|
|
1657
|
-
(typeof IpamPublicAddressAwsService)[keyof typeof IpamPublicAddressAwsService];
|
|
1658
|
-
export interface IpamPublicAddressTag {
|
|
1659
|
-
Key?: string;
|
|
1660
|
-
Value?: string;
|
|
1661
|
-
}
|
|
1662
1656
|
export declare const DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog: (
|
|
1663
1657
|
obj: DescribeVerifiedAccessTrustProvidersResult
|
|
1664
1658
|
) => any;
|
|
@@ -135,7 +135,6 @@ import {
|
|
|
135
135
|
Monitoring,
|
|
136
136
|
PublicIpv4PoolRange,
|
|
137
137
|
ReservedInstancesConfiguration,
|
|
138
|
-
ScheduledInstance,
|
|
139
138
|
SnapshotAttributeName,
|
|
140
139
|
SnapshotTaskDetail,
|
|
141
140
|
} from "./models_4";
|
|
@@ -144,17 +143,34 @@ import {
|
|
|
144
143
|
IpamComplianceStatus,
|
|
145
144
|
IpamOverlapStatus,
|
|
146
145
|
IpamPublicAddressAssociationStatus,
|
|
147
|
-
IpamPublicAddressAwsService,
|
|
148
|
-
IpamPublicAddressSecurityGroup,
|
|
149
|
-
IpamPublicAddressTag,
|
|
150
146
|
IpamPublicAddressType,
|
|
151
|
-
Purchase,
|
|
152
147
|
SnapshotBlockPublicAccessState,
|
|
153
148
|
TransitGatewayPropagationState,
|
|
154
149
|
UnlimitedSupportedInstanceFamily,
|
|
155
150
|
VerifiedAccessInstanceLoggingConfiguration,
|
|
156
151
|
VolumeModification,
|
|
157
152
|
} from "./models_5";
|
|
153
|
+
export interface IpamPublicAddressSecurityGroup {
|
|
154
|
+
GroupName?: string;
|
|
155
|
+
GroupId?: string;
|
|
156
|
+
}
|
|
157
|
+
export declare const IpamPublicAddressAwsService: {
|
|
158
|
+
readonly AGA: "global-accelerator";
|
|
159
|
+
readonly DMS: "database-migration-service";
|
|
160
|
+
readonly EC2_LB: "load-balancer";
|
|
161
|
+
readonly ECS: "elastic-container-service";
|
|
162
|
+
readonly NAT_GATEWAY: "nat-gateway";
|
|
163
|
+
readonly OTHER: "other";
|
|
164
|
+
readonly RDS: "relational-database-service";
|
|
165
|
+
readonly REDSHIFT: "redshift";
|
|
166
|
+
readonly S2S_VPN: "site-to-site-vpn";
|
|
167
|
+
};
|
|
168
|
+
export type IpamPublicAddressAwsService =
|
|
169
|
+
(typeof IpamPublicAddressAwsService)[keyof typeof IpamPublicAddressAwsService];
|
|
170
|
+
export interface IpamPublicAddressTag {
|
|
171
|
+
Key?: string;
|
|
172
|
+
Value?: string;
|
|
173
|
+
}
|
|
158
174
|
export interface IpamPublicAddressTags {
|
|
159
175
|
EipTags?: IpamPublicAddressTag[];
|
|
160
176
|
}
|
|
@@ -1096,6 +1112,37 @@ export interface ModifyInstanceMaintenanceOptionsResult {
|
|
|
1096
1112
|
InstanceId?: string;
|
|
1097
1113
|
AutoRecovery?: InstanceAutoRecoveryState;
|
|
1098
1114
|
}
|
|
1115
|
+
export declare const DefaultInstanceMetadataEndpointState: {
|
|
1116
|
+
readonly disabled: "disabled";
|
|
1117
|
+
readonly enabled: "enabled";
|
|
1118
|
+
readonly no_preference: "no-preference";
|
|
1119
|
+
};
|
|
1120
|
+
export type DefaultInstanceMetadataEndpointState =
|
|
1121
|
+
(typeof DefaultInstanceMetadataEndpointState)[keyof typeof DefaultInstanceMetadataEndpointState];
|
|
1122
|
+
export declare const MetadataDefaultHttpTokensState: {
|
|
1123
|
+
readonly no_preference: "no-preference";
|
|
1124
|
+
readonly optional: "optional";
|
|
1125
|
+
readonly required: "required";
|
|
1126
|
+
};
|
|
1127
|
+
export type MetadataDefaultHttpTokensState =
|
|
1128
|
+
(typeof MetadataDefaultHttpTokensState)[keyof typeof MetadataDefaultHttpTokensState];
|
|
1129
|
+
export declare const DefaultInstanceMetadataTagsState: {
|
|
1130
|
+
readonly disabled: "disabled";
|
|
1131
|
+
readonly enabled: "enabled";
|
|
1132
|
+
readonly no_preference: "no-preference";
|
|
1133
|
+
};
|
|
1134
|
+
export type DefaultInstanceMetadataTagsState =
|
|
1135
|
+
(typeof DefaultInstanceMetadataTagsState)[keyof typeof DefaultInstanceMetadataTagsState];
|
|
1136
|
+
export interface ModifyInstanceMetadataDefaultsRequest {
|
|
1137
|
+
HttpTokens?: MetadataDefaultHttpTokensState;
|
|
1138
|
+
HttpPutResponseHopLimit?: number;
|
|
1139
|
+
HttpEndpoint?: DefaultInstanceMetadataEndpointState;
|
|
1140
|
+
InstanceMetadataTags?: DefaultInstanceMetadataTagsState;
|
|
1141
|
+
DryRun?: boolean;
|
|
1142
|
+
}
|
|
1143
|
+
export interface ModifyInstanceMetadataDefaultsResult {
|
|
1144
|
+
Return?: boolean;
|
|
1145
|
+
}
|
|
1099
1146
|
export interface ModifyInstanceMetadataOptionsRequest {
|
|
1100
1147
|
InstanceId: string | undefined;
|
|
1101
1148
|
HttpTokens?: HttpTokensState;
|
|
@@ -1835,43 +1882,6 @@ export interface PurchaseHostReservationRequest {
|
|
|
1835
1882
|
OfferingId: string | undefined;
|
|
1836
1883
|
TagSpecifications?: TagSpecification[];
|
|
1837
1884
|
}
|
|
1838
|
-
export interface PurchaseHostReservationResult {
|
|
1839
|
-
ClientToken?: string;
|
|
1840
|
-
CurrencyCode?: CurrencyCodeValues;
|
|
1841
|
-
Purchase?: Purchase[];
|
|
1842
|
-
TotalHourlyPrice?: string;
|
|
1843
|
-
TotalUpfrontPrice?: string;
|
|
1844
|
-
}
|
|
1845
|
-
export interface ReservedInstanceLimitPrice {
|
|
1846
|
-
Amount?: number;
|
|
1847
|
-
CurrencyCode?: CurrencyCodeValues;
|
|
1848
|
-
}
|
|
1849
|
-
export interface PurchaseReservedInstancesOfferingRequest {
|
|
1850
|
-
InstanceCount: number | undefined;
|
|
1851
|
-
ReservedInstancesOfferingId: string | undefined;
|
|
1852
|
-
DryRun?: boolean;
|
|
1853
|
-
LimitPrice?: ReservedInstanceLimitPrice;
|
|
1854
|
-
PurchaseTime?: Date;
|
|
1855
|
-
}
|
|
1856
|
-
export interface PurchaseReservedInstancesOfferingResult {
|
|
1857
|
-
ReservedInstancesId?: string;
|
|
1858
|
-
}
|
|
1859
|
-
export interface PurchaseRequest {
|
|
1860
|
-
InstanceCount: number | undefined;
|
|
1861
|
-
PurchaseToken: string | undefined;
|
|
1862
|
-
}
|
|
1863
|
-
export interface PurchaseScheduledInstancesRequest {
|
|
1864
|
-
ClientToken?: string;
|
|
1865
|
-
DryRun?: boolean;
|
|
1866
|
-
PurchaseRequests: PurchaseRequest[] | undefined;
|
|
1867
|
-
}
|
|
1868
|
-
export interface PurchaseScheduledInstancesResult {
|
|
1869
|
-
ScheduledInstanceSet?: ScheduledInstance[];
|
|
1870
|
-
}
|
|
1871
|
-
export interface RebootInstancesRequest {
|
|
1872
|
-
InstanceIds: string[] | undefined;
|
|
1873
|
-
DryRun?: boolean;
|
|
1874
|
-
}
|
|
1875
1885
|
export declare const GetLaunchTemplateDataResultFilterSensitiveLog: (
|
|
1876
1886
|
obj: GetLaunchTemplateDataResult
|
|
1877
1887
|
) => any;
|
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
AddressAttributeName,
|
|
5
5
|
ByoipCidr,
|
|
6
6
|
ClientVpnAuthorizationRuleStatus,
|
|
7
|
+
CurrencyCodeValues,
|
|
7
8
|
IamInstanceProfileAssociation,
|
|
8
9
|
IamInstanceProfileSpecification,
|
|
9
10
|
IpPermission,
|
|
@@ -56,16 +57,55 @@ import {
|
|
|
56
57
|
NetworkInsightsAccessScopeAnalysis,
|
|
57
58
|
NetworkInsightsAnalysis,
|
|
58
59
|
RunInstancesMonitoringEnabled,
|
|
60
|
+
ScheduledInstance,
|
|
59
61
|
SnapshotAttributeName,
|
|
60
62
|
SpotFleetRequestConfigData,
|
|
61
63
|
SpotInstanceRequest,
|
|
62
64
|
SpotPlacement,
|
|
63
65
|
} from "./models_4";
|
|
66
|
+
import { Purchase } from "./models_5";
|
|
64
67
|
import {
|
|
65
68
|
CapacityReservationSpecification,
|
|
66
69
|
InstanceMonitoring,
|
|
67
70
|
Status,
|
|
68
71
|
} from "./models_6";
|
|
72
|
+
export interface PurchaseHostReservationResult {
|
|
73
|
+
ClientToken?: string;
|
|
74
|
+
CurrencyCode?: CurrencyCodeValues;
|
|
75
|
+
Purchase?: Purchase[];
|
|
76
|
+
TotalHourlyPrice?: string;
|
|
77
|
+
TotalUpfrontPrice?: string;
|
|
78
|
+
}
|
|
79
|
+
export interface ReservedInstanceLimitPrice {
|
|
80
|
+
Amount?: number;
|
|
81
|
+
CurrencyCode?: CurrencyCodeValues;
|
|
82
|
+
}
|
|
83
|
+
export interface PurchaseReservedInstancesOfferingRequest {
|
|
84
|
+
InstanceCount: number | undefined;
|
|
85
|
+
ReservedInstancesOfferingId: string | undefined;
|
|
86
|
+
DryRun?: boolean;
|
|
87
|
+
LimitPrice?: ReservedInstanceLimitPrice;
|
|
88
|
+
PurchaseTime?: Date;
|
|
89
|
+
}
|
|
90
|
+
export interface PurchaseReservedInstancesOfferingResult {
|
|
91
|
+
ReservedInstancesId?: string;
|
|
92
|
+
}
|
|
93
|
+
export interface PurchaseRequest {
|
|
94
|
+
InstanceCount: number | undefined;
|
|
95
|
+
PurchaseToken: string | undefined;
|
|
96
|
+
}
|
|
97
|
+
export interface PurchaseScheduledInstancesRequest {
|
|
98
|
+
ClientToken?: string;
|
|
99
|
+
DryRun?: boolean;
|
|
100
|
+
PurchaseRequests: PurchaseRequest[] | undefined;
|
|
101
|
+
}
|
|
102
|
+
export interface PurchaseScheduledInstancesResult {
|
|
103
|
+
ScheduledInstanceSet?: ScheduledInstance[];
|
|
104
|
+
}
|
|
105
|
+
export interface RebootInstancesRequest {
|
|
106
|
+
InstanceIds: string[] | undefined;
|
|
107
|
+
DryRun?: boolean;
|
|
108
|
+
}
|
|
69
109
|
export interface RegisterImageRequest {
|
|
70
110
|
ImageLocation?: string;
|
|
71
111
|
Architecture?: ArchitectureValues;
|
|
@@ -1763,6 +1763,10 @@ import {
|
|
|
1763
1763
|
GetImageBlockPublicAccessStateCommandInput,
|
|
1764
1764
|
GetImageBlockPublicAccessStateCommandOutput,
|
|
1765
1765
|
} from "../commands/GetImageBlockPublicAccessStateCommand";
|
|
1766
|
+
import {
|
|
1767
|
+
GetInstanceMetadataDefaultsCommandInput,
|
|
1768
|
+
GetInstanceMetadataDefaultsCommandOutput,
|
|
1769
|
+
} from "../commands/GetInstanceMetadataDefaultsCommand";
|
|
1766
1770
|
import {
|
|
1767
1771
|
GetInstanceTypesFromInstanceRequirementsCommandInput,
|
|
1768
1772
|
GetInstanceTypesFromInstanceRequirementsCommandOutput,
|
|
@@ -2007,6 +2011,10 @@ import {
|
|
|
2007
2011
|
ModifyInstanceMaintenanceOptionsCommandInput,
|
|
2008
2012
|
ModifyInstanceMaintenanceOptionsCommandOutput,
|
|
2009
2013
|
} from "../commands/ModifyInstanceMaintenanceOptionsCommand";
|
|
2014
|
+
import {
|
|
2015
|
+
ModifyInstanceMetadataDefaultsCommandInput,
|
|
2016
|
+
ModifyInstanceMetadataDefaultsCommandOutput,
|
|
2017
|
+
} from "../commands/ModifyInstanceMetadataDefaultsCommand";
|
|
2010
2018
|
import {
|
|
2011
2019
|
ModifyInstanceMetadataOptionsCommandInput,
|
|
2012
2020
|
ModifyInstanceMetadataOptionsCommandOutput,
|
|
@@ -4227,6 +4235,10 @@ export declare const se_GetImageBlockPublicAccessStateCommand: (
|
|
|
4227
4235
|
input: GetImageBlockPublicAccessStateCommandInput,
|
|
4228
4236
|
context: __SerdeContext
|
|
4229
4237
|
) => Promise<__HttpRequest>;
|
|
4238
|
+
export declare const se_GetInstanceMetadataDefaultsCommand: (
|
|
4239
|
+
input: GetInstanceMetadataDefaultsCommandInput,
|
|
4240
|
+
context: __SerdeContext
|
|
4241
|
+
) => Promise<__HttpRequest>;
|
|
4230
4242
|
export declare const se_GetInstanceTypesFromInstanceRequirementsCommand: (
|
|
4231
4243
|
input: GetInstanceTypesFromInstanceRequirementsCommandInput,
|
|
4232
4244
|
context: __SerdeContext
|
|
@@ -4471,6 +4483,10 @@ export declare const se_ModifyInstanceMaintenanceOptionsCommand: (
|
|
|
4471
4483
|
input: ModifyInstanceMaintenanceOptionsCommandInput,
|
|
4472
4484
|
context: __SerdeContext
|
|
4473
4485
|
) => Promise<__HttpRequest>;
|
|
4486
|
+
export declare const se_ModifyInstanceMetadataDefaultsCommand: (
|
|
4487
|
+
input: ModifyInstanceMetadataDefaultsCommandInput,
|
|
4488
|
+
context: __SerdeContext
|
|
4489
|
+
) => Promise<__HttpRequest>;
|
|
4474
4490
|
export declare const se_ModifyInstanceMetadataOptionsCommand: (
|
|
4475
4491
|
input: ModifyInstanceMetadataOptionsCommandInput,
|
|
4476
4492
|
context: __SerdeContext
|
|
@@ -6691,6 +6707,10 @@ export declare const de_GetImageBlockPublicAccessStateCommand: (
|
|
|
6691
6707
|
output: __HttpResponse,
|
|
6692
6708
|
context: __SerdeContext
|
|
6693
6709
|
) => Promise<GetImageBlockPublicAccessStateCommandOutput>;
|
|
6710
|
+
export declare const de_GetInstanceMetadataDefaultsCommand: (
|
|
6711
|
+
output: __HttpResponse,
|
|
6712
|
+
context: __SerdeContext
|
|
6713
|
+
) => Promise<GetInstanceMetadataDefaultsCommandOutput>;
|
|
6694
6714
|
export declare const de_GetInstanceTypesFromInstanceRequirementsCommand: (
|
|
6695
6715
|
output: __HttpResponse,
|
|
6696
6716
|
context: __SerdeContext
|
|
@@ -6935,6 +6955,10 @@ export declare const de_ModifyInstanceMaintenanceOptionsCommand: (
|
|
|
6935
6955
|
output: __HttpResponse,
|
|
6936
6956
|
context: __SerdeContext
|
|
6937
6957
|
) => Promise<ModifyInstanceMaintenanceOptionsCommandOutput>;
|
|
6958
|
+
export declare const de_ModifyInstanceMetadataDefaultsCommand: (
|
|
6959
|
+
output: __HttpResponse,
|
|
6960
|
+
context: __SerdeContext
|
|
6961
|
+
) => Promise<ModifyInstanceMetadataDefaultsCommandOutput>;
|
|
6938
6962
|
export declare const de_ModifyInstanceMetadataOptionsCommand: (
|
|
6939
6963
|
output: __HttpResponse,
|
|
6940
6964
|
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.542.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",
|