@aws-sdk/client-ec2 3.451.0 → 3.452.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 +24 -0
- package/dist-cjs/EC2.js +6 -0
- package/dist-cjs/commands/DescribeLockedSnapshotsCommand.js +51 -0
- package/dist-cjs/commands/LockSnapshotCommand.js +51 -0
- package/dist-cjs/commands/RequestSpotInstancesCommand.js +3 -3
- package/dist-cjs/commands/UnlockSnapshotCommand.js +51 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-cjs/models/models_4.js +8 -2
- package/dist-cjs/models/models_6.js +5 -18
- package/dist-cjs/models/models_7.js +20 -1
- package/dist-cjs/protocols/Aws_ec2.js +285 -20
- package/dist-es/EC2.js +6 -0
- package/dist-es/commands/DescribeLockedSnapshotsCommand.js +47 -0
- package/dist-es/commands/LockSnapshotCommand.js +47 -0
- package/dist-es/commands/RequestSpotInstancesCommand.js +1 -1
- package/dist-es/commands/UnlockSnapshotCommand.js +47 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/models/models_4.js +6 -0
- package/dist-es/models/models_6.js +5 -16
- package/dist-es/models/models_7.js +17 -0
- package/dist-es/protocols/Aws_ec2.js +259 -0
- package/dist-types/EC2.d.ts +21 -0
- package/dist-types/EC2Client.d.ts +5 -2
- package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +2 -2
- package/dist-types/commands/CreateFleetCommand.d.ts +4 -4
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
- package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFleetsCommand.d.ts +4 -4
- package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLockedSnapshotsCommand.d.ts +99 -0
- package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +2 -2
- package/dist-types/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayPolicyTablesCommand.d.ts +1 -2
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
- package/dist-types/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +1 -1
- package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +1 -2
- package/dist-types/commands/ImportInstanceCommand.d.ts +1 -1
- package/dist-types/commands/LockSnapshotCommand.d.ts +103 -0
- package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
- package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +1 -1
- package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +3 -3
- package/dist-types/commands/ResetAddressAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
- package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
- package/dist-types/commands/UnlockSnapshotCommand.d.ts +76 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +1 -0
- package/dist-types/models/models_4.d.ts +154 -129
- package/dist-types/models/models_5.d.ts +130 -137
- package/dist-types/models/models_6.d.ts +309 -210
- package/dist-types/models/models_7.d.ts +235 -3
- package/dist-types/protocols/Aws_ec2.d.ts +27 -0
- package/dist-types/ts3.4/EC2.d.ts +51 -0
- package/dist-types/ts3.4/EC2Client.d.ts +18 -0
- package/dist-types/ts3.4/commands/DescribeLockedSnapshotsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayPolicyTablesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetSpotPlacementScoresCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/LockSnapshotCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/RequestSpotInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetAddressAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UnlockSnapshotCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/models/models_4.d.ts +29 -24
- package/dist-types/ts3.4/models/models_5.d.ts +24 -23
- package/dist-types/ts3.4/models/models_6.d.ts +51 -47
- package/dist-types/ts3.4/models/models_7.d.ts +54 -1
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +36 -0
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
ResetAddressAttributeRequest,
|
|
16
16
|
ResetAddressAttributeResult,
|
|
17
|
-
} from "../models/
|
|
17
|
+
} from "../models/models_7";
|
|
18
18
|
export { __MetadataBearer, $Command };
|
|
19
19
|
export interface ResetAddressAttributeCommandInput
|
|
20
20
|
extends ResetAddressAttributeRequest {}
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
ResetEbsDefaultKmsKeyIdRequest,
|
|
16
16
|
ResetEbsDefaultKmsKeyIdResult,
|
|
17
|
-
} from "../models/
|
|
17
|
+
} from "../models/models_7";
|
|
18
18
|
export { __MetadataBearer, $Command };
|
|
19
19
|
export interface ResetEbsDefaultKmsKeyIdCommandInput
|
|
20
20
|
extends ResetEbsDefaultKmsKeyIdRequest {}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
EC2ClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../EC2Client";
|
|
14
|
+
import {
|
|
15
|
+
UnlockSnapshotRequest,
|
|
16
|
+
UnlockSnapshotResult,
|
|
17
|
+
} from "../models/models_7";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface UnlockSnapshotCommandInput extends UnlockSnapshotRequest {}
|
|
20
|
+
export interface UnlockSnapshotCommandOutput
|
|
21
|
+
extends UnlockSnapshotResult,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class UnlockSnapshotCommand extends $Command<
|
|
24
|
+
UnlockSnapshotCommandInput,
|
|
25
|
+
UnlockSnapshotCommandOutput,
|
|
26
|
+
EC2ClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: UnlockSnapshotCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: UnlockSnapshotCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: EC2ClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<UnlockSnapshotCommandInput, UnlockSnapshotCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -286,6 +286,7 @@ export * from "./DescribeLocalGatewayRouteTablesCommand";
|
|
|
286
286
|
export * from "./DescribeLocalGatewayVirtualInterfaceGroupsCommand";
|
|
287
287
|
export * from "./DescribeLocalGatewayVirtualInterfacesCommand";
|
|
288
288
|
export * from "./DescribeLocalGatewaysCommand";
|
|
289
|
+
export * from "./DescribeLockedSnapshotsCommand";
|
|
289
290
|
export * from "./DescribeManagedPrefixListsCommand";
|
|
290
291
|
export * from "./DescribeMovingAddressesCommand";
|
|
291
292
|
export * from "./DescribeNatGatewaysCommand";
|
|
@@ -472,6 +473,7 @@ export * from "./ImportSnapshotCommand";
|
|
|
472
473
|
export * from "./ImportVolumeCommand";
|
|
473
474
|
export * from "./ListImagesInRecycleBinCommand";
|
|
474
475
|
export * from "./ListSnapshotsInRecycleBinCommand";
|
|
476
|
+
export * from "./LockSnapshotCommand";
|
|
475
477
|
export * from "./ModifyAddressAttributeCommand";
|
|
476
478
|
export * from "./ModifyAvailabilityZoneGroupCommand";
|
|
477
479
|
export * from "./ModifyCapacityReservationCommand";
|
|
@@ -600,6 +602,7 @@ export * from "./TerminateInstancesCommand";
|
|
|
600
602
|
export * from "./UnassignIpv6AddressesCommand";
|
|
601
603
|
export * from "./UnassignPrivateIpAddressesCommand";
|
|
602
604
|
export * from "./UnassignPrivateNatGatewayAddressCommand";
|
|
605
|
+
export * from "./UnlockSnapshotCommand";
|
|
603
606
|
export * from "./UnmonitorInstancesCommand";
|
|
604
607
|
export * from "./UpdateSecurityGroupRuleDescriptionsEgressCommand";
|
|
605
608
|
export * from "./UpdateSecurityGroupRuleDescriptionsIngressCommand";
|
|
@@ -2133,6 +2133,7 @@ export declare const _InstanceType: {
|
|
|
2133
2133
|
readonly d3en_8xlarge: "d3en.8xlarge";
|
|
2134
2134
|
readonly d3en_xlarge: "d3en.xlarge";
|
|
2135
2135
|
readonly dl1_24xlarge: "dl1.24xlarge";
|
|
2136
|
+
readonly dl2q_24xlarge: "dl2q.24xlarge";
|
|
2136
2137
|
readonly f1_16xlarge: "f1.16xlarge";
|
|
2137
2138
|
readonly f1_2xlarge: "f1.2xlarge";
|
|
2138
2139
|
readonly f1_4xlarge: "f1.4xlarge";
|
|
@@ -22,7 +22,6 @@ import {
|
|
|
22
22
|
TransitGatewayAssociationState,
|
|
23
23
|
TransitGatewayAttachmentResourceType,
|
|
24
24
|
TransitGatewayAttachmentState,
|
|
25
|
-
TransitGatewayPeeringAttachment,
|
|
26
25
|
UserIdGroupPair,
|
|
27
26
|
} from "./models_0";
|
|
28
27
|
import {
|
|
@@ -84,7 +83,6 @@ import {
|
|
|
84
83
|
TrafficMirrorTarget,
|
|
85
84
|
TransitGatewayConnect,
|
|
86
85
|
TransitGatewayConnectPeer,
|
|
87
|
-
TransitGatewayMulticastDomain,
|
|
88
86
|
} from "./models_2";
|
|
89
87
|
import {
|
|
90
88
|
ArchitectureValues,
|
|
@@ -951,6 +949,35 @@ export interface DescribeLocalGatewayVirtualInterfacesResult {
|
|
|
951
949
|
LocalGatewayVirtualInterfaces?: LocalGatewayVirtualInterface[];
|
|
952
950
|
NextToken?: string;
|
|
953
951
|
}
|
|
952
|
+
export interface DescribeLockedSnapshotsRequest {
|
|
953
|
+
Filters?: Filter[];
|
|
954
|
+
MaxResults?: number;
|
|
955
|
+
NextToken?: string;
|
|
956
|
+
SnapshotIds?: string[];
|
|
957
|
+
DryRun?: boolean;
|
|
958
|
+
}
|
|
959
|
+
export declare const LockState: {
|
|
960
|
+
readonly compliance: "compliance";
|
|
961
|
+
readonly compliance_cooloff: "compliance-cooloff";
|
|
962
|
+
readonly expired: "expired";
|
|
963
|
+
readonly governance: "governance";
|
|
964
|
+
};
|
|
965
|
+
export type LockState = (typeof LockState)[keyof typeof LockState];
|
|
966
|
+
export interface LockedSnapshotsInfo {
|
|
967
|
+
OwnerId?: string;
|
|
968
|
+
SnapshotId?: string;
|
|
969
|
+
LockState?: LockState;
|
|
970
|
+
LockDuration?: number;
|
|
971
|
+
CoolOffPeriod?: number;
|
|
972
|
+
CoolOffPeriodExpiresOn?: Date;
|
|
973
|
+
LockCreatedOn?: Date;
|
|
974
|
+
LockDurationStartTime?: Date;
|
|
975
|
+
LockExpiresOn?: Date;
|
|
976
|
+
}
|
|
977
|
+
export interface DescribeLockedSnapshotsResult {
|
|
978
|
+
Snapshots?: LockedSnapshotsInfo[];
|
|
979
|
+
NextToken?: string;
|
|
980
|
+
}
|
|
954
981
|
export interface DescribeManagedPrefixListsRequest {
|
|
955
982
|
DryRun?: boolean;
|
|
956
983
|
Filters?: Filter[];
|
|
@@ -2047,28 +2074,6 @@ export interface DescribeTransitGatewayMulticastDomainsRequest {
|
|
|
2047
2074
|
NextToken?: string;
|
|
2048
2075
|
DryRun?: boolean;
|
|
2049
2076
|
}
|
|
2050
|
-
export interface DescribeTransitGatewayMulticastDomainsResult {
|
|
2051
|
-
TransitGatewayMulticastDomains?: TransitGatewayMulticastDomain[];
|
|
2052
|
-
NextToken?: string;
|
|
2053
|
-
}
|
|
2054
|
-
export interface DescribeTransitGatewayPeeringAttachmentsRequest {
|
|
2055
|
-
TransitGatewayAttachmentIds?: string[];
|
|
2056
|
-
Filters?: Filter[];
|
|
2057
|
-
MaxResults?: number;
|
|
2058
|
-
NextToken?: string;
|
|
2059
|
-
DryRun?: boolean;
|
|
2060
|
-
}
|
|
2061
|
-
export interface DescribeTransitGatewayPeeringAttachmentsResult {
|
|
2062
|
-
TransitGatewayPeeringAttachments?: TransitGatewayPeeringAttachment[];
|
|
2063
|
-
NextToken?: string;
|
|
2064
|
-
}
|
|
2065
|
-
export interface DescribeTransitGatewayPolicyTablesRequest {
|
|
2066
|
-
TransitGatewayPolicyTableIds?: string[];
|
|
2067
|
-
Filters?: Filter[];
|
|
2068
|
-
MaxResults?: number;
|
|
2069
|
-
NextToken?: string;
|
|
2070
|
-
DryRun?: boolean;
|
|
2071
|
-
}
|
|
2072
2077
|
export declare const DescribeLaunchTemplateVersionsResultFilterSensitiveLog: (
|
|
2073
2078
|
obj: DescribeLaunchTemplateVersionsResult
|
|
2074
2079
|
) => any;
|
|
@@ -17,6 +17,7 @@ import {
|
|
|
17
17
|
TransitGatewayAssociation,
|
|
18
18
|
TransitGatewayAttachmentResourceType,
|
|
19
19
|
TransitGatewayMulticastDomainAssociations,
|
|
20
|
+
TransitGatewayPeeringAttachment,
|
|
20
21
|
TransitGatewayPolicyTableAssociation,
|
|
21
22
|
TransitGatewayVpcAttachment,
|
|
22
23
|
TrunkInterfaceAssociation,
|
|
@@ -33,7 +34,6 @@ import {
|
|
|
33
34
|
NetworkInsightsAccessScopeContent,
|
|
34
35
|
RequestIpamResourceTag,
|
|
35
36
|
ResponseLaunchTemplateData,
|
|
36
|
-
TargetCapacityUnitType,
|
|
37
37
|
VolumeType,
|
|
38
38
|
Vpc,
|
|
39
39
|
} from "./models_1";
|
|
@@ -49,6 +49,7 @@ import {
|
|
|
49
49
|
SSEType,
|
|
50
50
|
State,
|
|
51
51
|
TransitGateway,
|
|
52
|
+
TransitGatewayMulticastDomain,
|
|
52
53
|
TransitGatewayPolicyTable,
|
|
53
54
|
TransitGatewayRouteTable,
|
|
54
55
|
TransitGatewayRouteTableAnnouncement,
|
|
@@ -77,6 +78,28 @@ import {
|
|
|
77
78
|
VirtualizationType,
|
|
78
79
|
} from "./models_3";
|
|
79
80
|
import { AnalysisStatus, ArchitectureType } from "./models_4";
|
|
81
|
+
export interface DescribeTransitGatewayMulticastDomainsResult {
|
|
82
|
+
TransitGatewayMulticastDomains?: TransitGatewayMulticastDomain[];
|
|
83
|
+
NextToken?: string;
|
|
84
|
+
}
|
|
85
|
+
export interface DescribeTransitGatewayPeeringAttachmentsRequest {
|
|
86
|
+
TransitGatewayAttachmentIds?: string[];
|
|
87
|
+
Filters?: Filter[];
|
|
88
|
+
MaxResults?: number;
|
|
89
|
+
NextToken?: string;
|
|
90
|
+
DryRun?: boolean;
|
|
91
|
+
}
|
|
92
|
+
export interface DescribeTransitGatewayPeeringAttachmentsResult {
|
|
93
|
+
TransitGatewayPeeringAttachments?: TransitGatewayPeeringAttachment[];
|
|
94
|
+
NextToken?: string;
|
|
95
|
+
}
|
|
96
|
+
export interface DescribeTransitGatewayPolicyTablesRequest {
|
|
97
|
+
TransitGatewayPolicyTableIds?: string[];
|
|
98
|
+
Filters?: Filter[];
|
|
99
|
+
MaxResults?: number;
|
|
100
|
+
NextToken?: string;
|
|
101
|
+
DryRun?: boolean;
|
|
102
|
+
}
|
|
80
103
|
export interface DescribeTransitGatewayPolicyTablesResult {
|
|
81
104
|
TransitGatewayPolicyTables?: TransitGatewayPolicyTable[];
|
|
82
105
|
NextToken?: string;
|
|
@@ -1622,28 +1645,6 @@ export interface GetSerialConsoleAccessStatusRequest {
|
|
|
1622
1645
|
export interface GetSerialConsoleAccessStatusResult {
|
|
1623
1646
|
SerialConsoleAccessEnabled?: boolean;
|
|
1624
1647
|
}
|
|
1625
|
-
export interface GetSnapshotBlockPublicAccessStateRequest {
|
|
1626
|
-
DryRun?: boolean;
|
|
1627
|
-
}
|
|
1628
|
-
export interface GetSnapshotBlockPublicAccessStateResult {
|
|
1629
|
-
State?: SnapshotBlockPublicAccessState;
|
|
1630
|
-
}
|
|
1631
|
-
export interface InstanceRequirementsWithMetadataRequest {
|
|
1632
|
-
ArchitectureTypes?: ArchitectureType[];
|
|
1633
|
-
VirtualizationTypes?: VirtualizationType[];
|
|
1634
|
-
InstanceRequirements?: InstanceRequirementsRequest;
|
|
1635
|
-
}
|
|
1636
|
-
export interface GetSpotPlacementScoresRequest {
|
|
1637
|
-
InstanceTypes?: string[];
|
|
1638
|
-
TargetCapacity: number | undefined;
|
|
1639
|
-
TargetCapacityUnitType?: TargetCapacityUnitType;
|
|
1640
|
-
SingleAvailabilityZone?: boolean;
|
|
1641
|
-
RegionNames?: string[];
|
|
1642
|
-
InstanceRequirementsWithMetadata?: InstanceRequirementsWithMetadataRequest;
|
|
1643
|
-
DryRun?: boolean;
|
|
1644
|
-
MaxResults?: number;
|
|
1645
|
-
NextToken?: string;
|
|
1646
|
-
}
|
|
1647
1648
|
export declare const DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog: (
|
|
1648
1649
|
obj: DescribeVerifiedAccessTrustProvidersResult
|
|
1649
1650
|
) => any;
|
|
@@ -4,7 +4,6 @@ import {
|
|
|
4
4
|
AddIpamOperatingRegion,
|
|
5
5
|
AddPrefixListEntry,
|
|
6
6
|
AddressAttribute,
|
|
7
|
-
AddressAttributeName,
|
|
8
7
|
Affinity,
|
|
9
8
|
ApplianceModeSupportValue,
|
|
10
9
|
AutoPlacement,
|
|
@@ -51,7 +50,7 @@ import {
|
|
|
51
50
|
HostnameType,
|
|
52
51
|
IcmpTypeCode,
|
|
53
52
|
InstanceEventWindowTimeRangeRequest,
|
|
54
|
-
|
|
53
|
+
InstanceRequirementsRequest,
|
|
55
54
|
Ipam,
|
|
56
55
|
IpamPool,
|
|
57
56
|
IpamResourceDiscovery,
|
|
@@ -65,8 +64,8 @@ import {
|
|
|
65
64
|
RuleAction,
|
|
66
65
|
SelfServicePortal,
|
|
67
66
|
ShutdownBehavior,
|
|
68
|
-
SpotInstanceType,
|
|
69
67
|
TargetCapacitySpecificationRequest,
|
|
68
|
+
TargetCapacityUnitType,
|
|
70
69
|
VolumeType,
|
|
71
70
|
} from "./models_1";
|
|
72
71
|
import {
|
|
@@ -121,8 +120,10 @@ import {
|
|
|
121
120
|
SnapshotDetail,
|
|
122
121
|
SnapshotTaskDetail,
|
|
123
122
|
TpmSupportValues,
|
|
123
|
+
VirtualizationType,
|
|
124
124
|
} from "./models_3";
|
|
125
125
|
import {
|
|
126
|
+
ArchitectureType,
|
|
126
127
|
CreateVolumePermission,
|
|
127
128
|
ExcessCapacityTerminationPolicy,
|
|
128
129
|
HttpTokensState,
|
|
@@ -134,6 +135,7 @@ import {
|
|
|
134
135
|
InstanceNetworkInterfaceSpecification,
|
|
135
136
|
InstanceStatusEvent,
|
|
136
137
|
LaunchTemplateConfig,
|
|
138
|
+
LockState,
|
|
137
139
|
Monitoring,
|
|
138
140
|
PublicIpv4PoolRange,
|
|
139
141
|
ReservedInstancesConfiguration,
|
|
@@ -141,18 +143,40 @@ import {
|
|
|
141
143
|
ScheduledInstance,
|
|
142
144
|
SnapshotAttributeName,
|
|
143
145
|
SpotFleetRequestConfigData,
|
|
144
|
-
SpotInstanceRequest,
|
|
145
146
|
SpotPlacement,
|
|
146
147
|
} from "./models_4";
|
|
147
148
|
import {
|
|
148
149
|
InstanceFamilyCreditSpecification,
|
|
149
150
|
IpamResourceCidr,
|
|
150
151
|
Purchase,
|
|
152
|
+
SnapshotBlockPublicAccessState,
|
|
151
153
|
TransitGatewayPropagationState,
|
|
152
154
|
UnlimitedSupportedInstanceFamily,
|
|
153
155
|
VerifiedAccessInstanceLoggingConfiguration,
|
|
154
156
|
VolumeModification,
|
|
155
157
|
} from "./models_5";
|
|
158
|
+
export interface GetSnapshotBlockPublicAccessStateRequest {
|
|
159
|
+
DryRun?: boolean;
|
|
160
|
+
}
|
|
161
|
+
export interface GetSnapshotBlockPublicAccessStateResult {
|
|
162
|
+
State?: SnapshotBlockPublicAccessState;
|
|
163
|
+
}
|
|
164
|
+
export interface InstanceRequirementsWithMetadataRequest {
|
|
165
|
+
ArchitectureTypes?: ArchitectureType[];
|
|
166
|
+
VirtualizationTypes?: VirtualizationType[];
|
|
167
|
+
InstanceRequirements?: InstanceRequirementsRequest;
|
|
168
|
+
}
|
|
169
|
+
export interface GetSpotPlacementScoresRequest {
|
|
170
|
+
InstanceTypes?: string[];
|
|
171
|
+
TargetCapacity: number | undefined;
|
|
172
|
+
TargetCapacityUnitType?: TargetCapacityUnitType;
|
|
173
|
+
SingleAvailabilityZone?: boolean;
|
|
174
|
+
RegionNames?: string[];
|
|
175
|
+
InstanceRequirementsWithMetadata?: InstanceRequirementsWithMetadataRequest;
|
|
176
|
+
DryRun?: boolean;
|
|
177
|
+
MaxResults?: number;
|
|
178
|
+
NextToken?: string;
|
|
179
|
+
}
|
|
156
180
|
export interface SpotPlacementScore {
|
|
157
181
|
Region?: string;
|
|
158
182
|
AvailabilityZoneId?: string;
|
|
@@ -532,6 +556,29 @@ export interface ListSnapshotsInRecycleBinResult {
|
|
|
532
556
|
Snapshots?: SnapshotRecycleBinInfo[];
|
|
533
557
|
NextToken?: string;
|
|
534
558
|
}
|
|
559
|
+
export declare const LockMode: {
|
|
560
|
+
readonly compliance: "compliance";
|
|
561
|
+
readonly governance: "governance";
|
|
562
|
+
};
|
|
563
|
+
export type LockMode = (typeof LockMode)[keyof typeof LockMode];
|
|
564
|
+
export interface LockSnapshotRequest {
|
|
565
|
+
SnapshotId: string | undefined;
|
|
566
|
+
DryRun?: boolean;
|
|
567
|
+
LockMode: LockMode | undefined;
|
|
568
|
+
CoolOffPeriod?: number;
|
|
569
|
+
LockDuration?: number;
|
|
570
|
+
ExpirationDate?: Date;
|
|
571
|
+
}
|
|
572
|
+
export interface LockSnapshotResult {
|
|
573
|
+
SnapshotId?: string;
|
|
574
|
+
LockState?: LockState;
|
|
575
|
+
LockDuration?: number;
|
|
576
|
+
CoolOffPeriod?: number;
|
|
577
|
+
CoolOffPeriodExpiresOn?: Date;
|
|
578
|
+
LockCreatedOn?: Date;
|
|
579
|
+
LockExpiresOn?: Date;
|
|
580
|
+
LockDurationStartTime?: Date;
|
|
581
|
+
}
|
|
535
582
|
export interface ModifyAddressAttributeRequest {
|
|
536
583
|
AllocationId: string | undefined;
|
|
537
584
|
DomainName?: string;
|
|
@@ -1803,43 +1850,6 @@ export interface RequestSpotLaunchSpecification {
|
|
|
1803
1850
|
SubnetId?: string;
|
|
1804
1851
|
UserData?: string;
|
|
1805
1852
|
}
|
|
1806
|
-
export interface RequestSpotInstancesRequest {
|
|
1807
|
-
AvailabilityZoneGroup?: string;
|
|
1808
|
-
BlockDurationMinutes?: number;
|
|
1809
|
-
ClientToken?: string;
|
|
1810
|
-
DryRun?: boolean;
|
|
1811
|
-
InstanceCount?: number;
|
|
1812
|
-
LaunchGroup?: string;
|
|
1813
|
-
LaunchSpecification?: RequestSpotLaunchSpecification;
|
|
1814
|
-
SpotPrice?: string;
|
|
1815
|
-
Type?: SpotInstanceType;
|
|
1816
|
-
ValidFrom?: Date;
|
|
1817
|
-
ValidUntil?: Date;
|
|
1818
|
-
TagSpecifications?: TagSpecification[];
|
|
1819
|
-
InstanceInterruptionBehavior?: InstanceInterruptionBehavior;
|
|
1820
|
-
}
|
|
1821
|
-
export interface RequestSpotInstancesResult {
|
|
1822
|
-
SpotInstanceRequests?: SpotInstanceRequest[];
|
|
1823
|
-
}
|
|
1824
|
-
export interface ResetAddressAttributeRequest {
|
|
1825
|
-
AllocationId: string | undefined;
|
|
1826
|
-
Attribute: AddressAttributeName | undefined;
|
|
1827
|
-
DryRun?: boolean;
|
|
1828
|
-
}
|
|
1829
|
-
export interface ResetAddressAttributeResult {
|
|
1830
|
-
Address?: AddressAttribute;
|
|
1831
|
-
}
|
|
1832
|
-
export interface ResetEbsDefaultKmsKeyIdRequest {
|
|
1833
|
-
DryRun?: boolean;
|
|
1834
|
-
}
|
|
1835
|
-
export interface ResetEbsDefaultKmsKeyIdResult {
|
|
1836
|
-
KmsKeyId?: string;
|
|
1837
|
-
}
|
|
1838
|
-
export declare const ResetFpgaImageAttributeName: {
|
|
1839
|
-
readonly loadPermission: "loadPermission";
|
|
1840
|
-
};
|
|
1841
|
-
export type ResetFpgaImageAttributeName =
|
|
1842
|
-
(typeof ResetFpgaImageAttributeName)[keyof typeof ResetFpgaImageAttributeName];
|
|
1843
1853
|
export declare const GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog: (
|
|
1844
1854
|
obj: GetVpnConnectionDeviceSampleConfigurationResult
|
|
1845
1855
|
) => any;
|
|
@@ -1914,9 +1924,3 @@ export declare const RequestSpotFleetRequestFilterSensitiveLog: (
|
|
|
1914
1924
|
export declare const RequestSpotLaunchSpecificationFilterSensitiveLog: (
|
|
1915
1925
|
obj: RequestSpotLaunchSpecification
|
|
1916
1926
|
) => any;
|
|
1917
|
-
export declare const RequestSpotInstancesRequestFilterSensitiveLog: (
|
|
1918
|
-
obj: RequestSpotInstancesRequest
|
|
1919
|
-
) => any;
|
|
1920
|
-
export declare const RequestSpotInstancesResultFilterSensitiveLog: (
|
|
1921
|
-
obj: RequestSpotInstancesResult
|
|
1922
|
-
) => any;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
_InstanceType,
|
|
3
|
+
AddressAttribute,
|
|
4
|
+
AddressAttributeName,
|
|
3
5
|
ByoipCidr,
|
|
4
6
|
ClientVpnAuthorizationRuleStatus,
|
|
5
7
|
IamInstanceProfileSpecification,
|
|
@@ -41,13 +43,51 @@ import {
|
|
|
41
43
|
NetworkInsightsAnalysis,
|
|
42
44
|
RunInstancesMonitoringEnabled,
|
|
43
45
|
SnapshotAttributeName,
|
|
46
|
+
SpotInstanceRequest,
|
|
44
47
|
} from "./models_4";
|
|
45
48
|
import {
|
|
46
49
|
CapacityReservationSpecification,
|
|
47
50
|
InstanceMonitoring,
|
|
48
|
-
|
|
51
|
+
RequestSpotLaunchSpecification,
|
|
49
52
|
Status,
|
|
50
53
|
} from "./models_6";
|
|
54
|
+
export interface RequestSpotInstancesRequest {
|
|
55
|
+
AvailabilityZoneGroup?: string;
|
|
56
|
+
BlockDurationMinutes?: number;
|
|
57
|
+
ClientToken?: string;
|
|
58
|
+
DryRun?: boolean;
|
|
59
|
+
InstanceCount?: number;
|
|
60
|
+
LaunchGroup?: string;
|
|
61
|
+
LaunchSpecification?: RequestSpotLaunchSpecification;
|
|
62
|
+
SpotPrice?: string;
|
|
63
|
+
Type?: SpotInstanceType;
|
|
64
|
+
ValidFrom?: Date;
|
|
65
|
+
ValidUntil?: Date;
|
|
66
|
+
TagSpecifications?: TagSpecification[];
|
|
67
|
+
InstanceInterruptionBehavior?: InstanceInterruptionBehavior;
|
|
68
|
+
}
|
|
69
|
+
export interface RequestSpotInstancesResult {
|
|
70
|
+
SpotInstanceRequests?: SpotInstanceRequest[];
|
|
71
|
+
}
|
|
72
|
+
export interface ResetAddressAttributeRequest {
|
|
73
|
+
AllocationId: string | undefined;
|
|
74
|
+
Attribute: AddressAttributeName | undefined;
|
|
75
|
+
DryRun?: boolean;
|
|
76
|
+
}
|
|
77
|
+
export interface ResetAddressAttributeResult {
|
|
78
|
+
Address?: AddressAttribute;
|
|
79
|
+
}
|
|
80
|
+
export interface ResetEbsDefaultKmsKeyIdRequest {
|
|
81
|
+
DryRun?: boolean;
|
|
82
|
+
}
|
|
83
|
+
export interface ResetEbsDefaultKmsKeyIdResult {
|
|
84
|
+
KmsKeyId?: string;
|
|
85
|
+
}
|
|
86
|
+
export declare const ResetFpgaImageAttributeName: {
|
|
87
|
+
readonly loadPermission: "loadPermission";
|
|
88
|
+
};
|
|
89
|
+
export type ResetFpgaImageAttributeName =
|
|
90
|
+
(typeof ResetFpgaImageAttributeName)[keyof typeof ResetFpgaImageAttributeName];
|
|
51
91
|
export interface ResetFpgaImageAttributeRequest {
|
|
52
92
|
DryRun?: boolean;
|
|
53
93
|
FpgaImageId: string | undefined;
|
|
@@ -493,6 +533,13 @@ export interface UnassignPrivateNatGatewayAddressResult {
|
|
|
493
533
|
NatGatewayId?: string;
|
|
494
534
|
NatGatewayAddresses?: NatGatewayAddress[];
|
|
495
535
|
}
|
|
536
|
+
export interface UnlockSnapshotRequest {
|
|
537
|
+
SnapshotId: string | undefined;
|
|
538
|
+
DryRun?: boolean;
|
|
539
|
+
}
|
|
540
|
+
export interface UnlockSnapshotResult {
|
|
541
|
+
SnapshotId?: string;
|
|
542
|
+
}
|
|
496
543
|
export interface UnmonitorInstancesRequest {
|
|
497
544
|
InstanceIds: string[] | undefined;
|
|
498
545
|
DryRun?: boolean;
|
|
@@ -531,6 +578,12 @@ export interface WithdrawByoipCidrRequest {
|
|
|
531
578
|
export interface WithdrawByoipCidrResult {
|
|
532
579
|
ByoipCidr?: ByoipCidr;
|
|
533
580
|
}
|
|
581
|
+
export declare const RequestSpotInstancesRequestFilterSensitiveLog: (
|
|
582
|
+
obj: RequestSpotInstancesRequest
|
|
583
|
+
) => any;
|
|
584
|
+
export declare const RequestSpotInstancesResultFilterSensitiveLog: (
|
|
585
|
+
obj: RequestSpotInstancesResult
|
|
586
|
+
) => any;
|
|
534
587
|
export declare const RunInstancesRequestFilterSensitiveLog: (
|
|
535
588
|
obj: RunInstancesRequest
|
|
536
589
|
) => any;
|
|
@@ -1155,6 +1155,10 @@ import {
|
|
|
1155
1155
|
DescribeLocalGatewayVirtualInterfacesCommandInput,
|
|
1156
1156
|
DescribeLocalGatewayVirtualInterfacesCommandOutput,
|
|
1157
1157
|
} from "../commands/DescribeLocalGatewayVirtualInterfacesCommand";
|
|
1158
|
+
import {
|
|
1159
|
+
DescribeLockedSnapshotsCommandInput,
|
|
1160
|
+
DescribeLockedSnapshotsCommandOutput,
|
|
1161
|
+
} from "../commands/DescribeLockedSnapshotsCommand";
|
|
1158
1162
|
import {
|
|
1159
1163
|
DescribeManagedPrefixListsCommandInput,
|
|
1160
1164
|
DescribeManagedPrefixListsCommandOutput,
|
|
@@ -1899,6 +1903,10 @@ import {
|
|
|
1899
1903
|
ListSnapshotsInRecycleBinCommandInput,
|
|
1900
1904
|
ListSnapshotsInRecycleBinCommandOutput,
|
|
1901
1905
|
} from "../commands/ListSnapshotsInRecycleBinCommand";
|
|
1906
|
+
import {
|
|
1907
|
+
LockSnapshotCommandInput,
|
|
1908
|
+
LockSnapshotCommandOutput,
|
|
1909
|
+
} from "../commands/LockSnapshotCommand";
|
|
1902
1910
|
import {
|
|
1903
1911
|
ModifyAddressAttributeCommandInput,
|
|
1904
1912
|
ModifyAddressAttributeCommandOutput,
|
|
@@ -2411,6 +2419,10 @@ import {
|
|
|
2411
2419
|
UnassignPrivateNatGatewayAddressCommandInput,
|
|
2412
2420
|
UnassignPrivateNatGatewayAddressCommandOutput,
|
|
2413
2421
|
} from "../commands/UnassignPrivateNatGatewayAddressCommand";
|
|
2422
|
+
import {
|
|
2423
|
+
UnlockSnapshotCommandInput,
|
|
2424
|
+
UnlockSnapshotCommandOutput,
|
|
2425
|
+
} from "../commands/UnlockSnapshotCommand";
|
|
2414
2426
|
import {
|
|
2415
2427
|
UnmonitorInstancesCommandInput,
|
|
2416
2428
|
UnmonitorInstancesCommandOutput,
|
|
@@ -3579,6 +3591,10 @@ export declare const se_DescribeLocalGatewayVirtualInterfacesCommand: (
|
|
|
3579
3591
|
input: DescribeLocalGatewayVirtualInterfacesCommandInput,
|
|
3580
3592
|
context: __SerdeContext
|
|
3581
3593
|
) => Promise<__HttpRequest>;
|
|
3594
|
+
export declare const se_DescribeLockedSnapshotsCommand: (
|
|
3595
|
+
input: DescribeLockedSnapshotsCommandInput,
|
|
3596
|
+
context: __SerdeContext
|
|
3597
|
+
) => Promise<__HttpRequest>;
|
|
3582
3598
|
export declare const se_DescribeManagedPrefixListsCommand: (
|
|
3583
3599
|
input: DescribeManagedPrefixListsCommandInput,
|
|
3584
3600
|
context: __SerdeContext
|
|
@@ -4323,6 +4339,10 @@ export declare const se_ListSnapshotsInRecycleBinCommand: (
|
|
|
4323
4339
|
input: ListSnapshotsInRecycleBinCommandInput,
|
|
4324
4340
|
context: __SerdeContext
|
|
4325
4341
|
) => Promise<__HttpRequest>;
|
|
4342
|
+
export declare const se_LockSnapshotCommand: (
|
|
4343
|
+
input: LockSnapshotCommandInput,
|
|
4344
|
+
context: __SerdeContext
|
|
4345
|
+
) => Promise<__HttpRequest>;
|
|
4326
4346
|
export declare const se_ModifyAddressAttributeCommand: (
|
|
4327
4347
|
input: ModifyAddressAttributeCommandInput,
|
|
4328
4348
|
context: __SerdeContext
|
|
@@ -4835,6 +4855,10 @@ export declare const se_UnassignPrivateNatGatewayAddressCommand: (
|
|
|
4835
4855
|
input: UnassignPrivateNatGatewayAddressCommandInput,
|
|
4836
4856
|
context: __SerdeContext
|
|
4837
4857
|
) => Promise<__HttpRequest>;
|
|
4858
|
+
export declare const se_UnlockSnapshotCommand: (
|
|
4859
|
+
input: UnlockSnapshotCommandInput,
|
|
4860
|
+
context: __SerdeContext
|
|
4861
|
+
) => Promise<__HttpRequest>;
|
|
4838
4862
|
export declare const se_UnmonitorInstancesCommand: (
|
|
4839
4863
|
input: UnmonitorInstancesCommandInput,
|
|
4840
4864
|
context: __SerdeContext
|
|
@@ -6003,6 +6027,10 @@ export declare const de_DescribeLocalGatewayVirtualInterfacesCommand: (
|
|
|
6003
6027
|
output: __HttpResponse,
|
|
6004
6028
|
context: __SerdeContext
|
|
6005
6029
|
) => Promise<DescribeLocalGatewayVirtualInterfacesCommandOutput>;
|
|
6030
|
+
export declare const de_DescribeLockedSnapshotsCommand: (
|
|
6031
|
+
output: __HttpResponse,
|
|
6032
|
+
context: __SerdeContext
|
|
6033
|
+
) => Promise<DescribeLockedSnapshotsCommandOutput>;
|
|
6006
6034
|
export declare const de_DescribeManagedPrefixListsCommand: (
|
|
6007
6035
|
output: __HttpResponse,
|
|
6008
6036
|
context: __SerdeContext
|
|
@@ -6747,6 +6775,10 @@ export declare const de_ListSnapshotsInRecycleBinCommand: (
|
|
|
6747
6775
|
output: __HttpResponse,
|
|
6748
6776
|
context: __SerdeContext
|
|
6749
6777
|
) => Promise<ListSnapshotsInRecycleBinCommandOutput>;
|
|
6778
|
+
export declare const de_LockSnapshotCommand: (
|
|
6779
|
+
output: __HttpResponse,
|
|
6780
|
+
context: __SerdeContext
|
|
6781
|
+
) => Promise<LockSnapshotCommandOutput>;
|
|
6750
6782
|
export declare const de_ModifyAddressAttributeCommand: (
|
|
6751
6783
|
output: __HttpResponse,
|
|
6752
6784
|
context: __SerdeContext
|
|
@@ -7259,6 +7291,10 @@ export declare const de_UnassignPrivateNatGatewayAddressCommand: (
|
|
|
7259
7291
|
output: __HttpResponse,
|
|
7260
7292
|
context: __SerdeContext
|
|
7261
7293
|
) => Promise<UnassignPrivateNatGatewayAddressCommandOutput>;
|
|
7294
|
+
export declare const de_UnlockSnapshotCommand: (
|
|
7295
|
+
output: __HttpResponse,
|
|
7296
|
+
context: __SerdeContext
|
|
7297
|
+
) => Promise<UnlockSnapshotCommandOutput>;
|
|
7262
7298
|
export declare const de_UnmonitorInstancesCommand: (
|
|
7263
7299
|
output: __HttpResponse,
|
|
7264
7300
|
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.452.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|