@aws-sdk/client-ec2 3.1129.0 → 3.1130.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/dist-cjs/index.js +8 -3
- package/dist-es/models/enums.js +3 -0
- package/dist-es/schemas/schemas_0.js +3 -2
- package/dist-types/commands/CreateImageCommand.d.ts +1 -0
- package/dist-types/models/enums.d.ts +11 -0
- package/dist-types/models/models_1.d.ts +18 -1
- package/dist-types/ts3.4/models/enums.d.ts +5 -0
- package/dist-types/ts3.4/models/models_1.d.ts +2 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -70,7 +70,7 @@ const commonParams = {
|
|
|
70
70
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
71
71
|
};
|
|
72
72
|
|
|
73
|
-
var version = "3.
|
|
73
|
+
var version = "3.1129.0";
|
|
74
74
|
var packageInfo = {
|
|
75
75
|
version: version};
|
|
76
76
|
|
|
@@ -637,6 +637,7 @@ const _BM = "BootMode";
|
|
|
637
637
|
const _BMIRPR = "BatchModifyIpamRoutingPolicyRegistrations";
|
|
638
638
|
const _BMIRPRR = "BatchModifyIpamRoutingPolicyRegistrationsRequest";
|
|
639
639
|
const _BMIRPRRa = "BatchModifyIpamRoutingPolicyRegistrationsResult";
|
|
640
|
+
const _BMO = "BootModeOverride";
|
|
640
641
|
const _BMTL = "BootModeTypeList";
|
|
641
642
|
const _BMa = "BareMetal";
|
|
642
643
|
const _BN = "BucketName";
|
|
@@ -11116,10 +11117,10 @@ var CreateFpgaImageResult$ = [3, n0, _CFIRre,
|
|
|
11116
11117
|
];
|
|
11117
11118
|
var CreateImageRequest$ = [3, n0, _CIRr,
|
|
11118
11119
|
0,
|
|
11119
|
-
[_II, _N, _TS, _SL, _DR, _De, _NR, _BDMl],
|
|
11120
|
+
[_II, _N, _TS, _SL, _BMO, _DR, _De, _NR, _BDMl],
|
|
11120
11121
|
[[0, { [_eQN]: `InstanceId`,
|
|
11121
11122
|
[_xN]: _iI }], [0, { [_eQN]: `Name`,
|
|
11122
|
-
[_xN]: _n }], [() => TagSpecificationList, { [_xN]: _TSa }], 0, [2, { [_eQN]: `DryRun`,
|
|
11123
|
+
[_xN]: _n }], [() => TagSpecificationList, { [_xN]: _TSa }], 0, 0, [2, { [_eQN]: `DryRun`,
|
|
11123
11124
|
[_xN]: _dR }], [0, { [_eQN]: `Description`,
|
|
11124
11125
|
[_xN]: _de }], [2, { [_eQN]: `NoReboot`,
|
|
11125
11126
|
[_xN]: _nR }], [() => BlockDeviceMappingRequestList, { [_eQN]: `BlockDeviceMapping`,
|
|
@@ -41083,6 +41084,9 @@ const TrafficType = {
|
|
|
41083
41084
|
ALL: "ALL",
|
|
41084
41085
|
REJECT: "REJECT",
|
|
41085
41086
|
};
|
|
41087
|
+
const BootModeOverrideValues = {
|
|
41088
|
+
uefi: "uefi",
|
|
41089
|
+
};
|
|
41086
41090
|
const SnapshotLocationEnum = {
|
|
41087
41091
|
LOCAL: "local",
|
|
41088
41092
|
REGIONAL: "regional",
|
|
@@ -43300,6 +43304,7 @@ exports.BlockDeviceMapping$ = BlockDeviceMapping$;
|
|
|
43300
43304
|
exports.BlockDeviceMappingResponse$ = BlockDeviceMappingResponse$;
|
|
43301
43305
|
exports.BlockPublicAccessMode = BlockPublicAccessMode;
|
|
43302
43306
|
exports.BlockPublicAccessStates$ = BlockPublicAccessStates$;
|
|
43307
|
+
exports.BootModeOverrideValues = BootModeOverrideValues;
|
|
43303
43308
|
exports.BootModeType = BootModeType;
|
|
43304
43309
|
exports.BootModeValues = BootModeValues;
|
|
43305
43310
|
exports.BundleInstance$ = BundleInstance$;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -493,6 +493,7 @@ const _BM = "BootMode";
|
|
|
493
493
|
const _BMIRPR = "BatchModifyIpamRoutingPolicyRegistrations";
|
|
494
494
|
const _BMIRPRR = "BatchModifyIpamRoutingPolicyRegistrationsRequest";
|
|
495
495
|
const _BMIRPRRa = "BatchModifyIpamRoutingPolicyRegistrationsResult";
|
|
496
|
+
const _BMO = "BootModeOverride";
|
|
496
497
|
const _BMTL = "BootModeTypeList";
|
|
497
498
|
const _BMa = "BareMetal";
|
|
498
499
|
const _BN = "BucketName";
|
|
@@ -10974,10 +10975,10 @@ export var CreateFpgaImageResult$ = [3, n0, _CFIRre,
|
|
|
10974
10975
|
];
|
|
10975
10976
|
export var CreateImageRequest$ = [3, n0, _CIRr,
|
|
10976
10977
|
0,
|
|
10977
|
-
[_II, _N, _TS, _SL, _DR, _De, _NR, _BDMl],
|
|
10978
|
+
[_II, _N, _TS, _SL, _BMO, _DR, _De, _NR, _BDMl],
|
|
10978
10979
|
[[0, { [_eQN]: `InstanceId`,
|
|
10979
10980
|
[_xN]: _iI }], [0, { [_eQN]: `Name`,
|
|
10980
|
-
[_xN]: _n }], [() => TagSpecificationList, { [_xN]: _TSa }], 0, [2, { [_eQN]: `DryRun`,
|
|
10981
|
+
[_xN]: _n }], [() => TagSpecificationList, { [_xN]: _TSa }], 0, 0, [2, { [_eQN]: `DryRun`,
|
|
10981
10982
|
[_xN]: _dR }], [0, { [_eQN]: `Description`,
|
|
10982
10983
|
[_xN]: _de }], [2, { [_eQN]: `NoReboot`,
|
|
10983
10984
|
[_xN]: _nR }], [() => BlockDeviceMappingRequestList, { [_eQN]: `BlockDeviceMapping`,
|
|
@@ -3489,6 +3489,17 @@ export declare const TrafficType: {
|
|
|
3489
3489
|
* @public
|
|
3490
3490
|
*/
|
|
3491
3491
|
export type TrafficType = (typeof TrafficType)[keyof typeof TrafficType];
|
|
3492
|
+
/**
|
|
3493
|
+
* @public
|
|
3494
|
+
* @enum
|
|
3495
|
+
*/
|
|
3496
|
+
export declare const BootModeOverrideValues: {
|
|
3497
|
+
readonly uefi: "uefi";
|
|
3498
|
+
};
|
|
3499
|
+
/**
|
|
3500
|
+
* @public
|
|
3501
|
+
*/
|
|
3502
|
+
export type BootModeOverrideValues = (typeof BootModeOverrideValues)[keyof typeof BootModeOverrideValues];
|
|
3492
3503
|
/**
|
|
3493
3504
|
* @public
|
|
3494
3505
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { _InstanceType, AcceleratorManufacturer, AcceleratorName, AcceleratorType, AddressFamily, AmdSevSnpSpecification, AttachmentStatus, AutoProvisionZonesState, AutoScalingIpsState, AvailabilityMode, BareMetal, BlockPublicAccessMode, BurstablePerformance, CapacityReservationPreference, ClientVpnEndpointStatusCode, ClientVpnRouteStatusCode, ConnectivityType, ContainerFormat, CpuManufacturer, DefaultTargetCapacityType, DestinationFileFormat, DiskImageFormat, Ec2InstanceConnectEndpointState, EndpointIpAddressType, ExportEnvironment, ExportTaskState, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetHttpTokensState, FleetInstanceMetadataEndpointState, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetReservationType, FleetType, FlowLogsResourceType, GatewayType, HostnameType, InstanceBandwidthWeighting, InstanceGeneration, InstanceInterruptionBehavior, InstanceLifecycle, InterruptibleCapacityReservationAllocationStatus, InterruptionType, IpAddressType, IpamExternalResourceVerificationTokenState, IpamInternetRegistryAssociationState, IpamMeteredAccount, IpamPolicyState, IpamPoolAwsService, IpamPoolPublicIpSource, IpamPoolSourceResourceType, IpamPoolState, IpamPrefixListResolverRuleConditionOperation, IpamPrefixListResolverRuleType, IpamPrefixListResolverState, IpamPrefixListResolverTargetState, IpamPrefixListResolverVersionCreationStatus, IpamResourceDiscoveryState, IpamResourceType, IpamScopeExternalAuthorityType, IpamScopeState, IpamScopeType, IpamState, IpamTier, KeyFormat, KeyType, LaunchTemplateAutoRecoveryState, LaunchTemplateHttpTokensState, LaunchTemplateInstanceMetadataEndpointState, LaunchTemplateInstanceMetadataOptionsState, LaunchTemplateInstanceMetadataProtocolIpv6, LaunchTemplateInstanceMetadataTagsState, LocalGatewayRouteState, LocalGatewayRouteTableMode, LocalGatewayRouteType, LocalGatewayVirtualInterfaceConfigurationState, LocalGatewayVirtualInterfaceGroupConfigurationState, LocalStorage, LocalStorageType, LogDestinationType, MacModificationTaskState, MacModificationTaskType, MacSystemIntegrityProtectionSettingStatus, MarketType, NatGatewayApplianceModifyState, NatGatewayApplianceState, NatGatewayApplianceType, NatGatewayState, NestedVirtualizationSpecification, NetworkInterfaceCreationType, NetworkInterfaceStatus, NetworkInterfaceType, PlatformValues, PrefixListState, Protocol, ReservedCapacityAllocationStrategy, ReservedCapacityFallbackMarketType, ResourceType, Rir, RuleAction, SecondaryInterfaceType, SelfServicePortal, ShutdownBehavior, SnapshotLocationEnum, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, SpotInstanceType, SubnetState, TaggableResourceType, TargetCapacityUnitType, Tenancy, TokenState, TrafficIpAddressType, TrafficType, TransportProtocol, VolumeType, VpcEncryptionControlExclusionState, VpcEncryptionControlMode, VpcEncryptionControlState, VpcState, WeekDay, ZeroSizePreference } from "./enums";
|
|
1
|
+
import type { _InstanceType, AcceleratorManufacturer, AcceleratorName, AcceleratorType, AddressFamily, AmdSevSnpSpecification, AttachmentStatus, AutoProvisionZonesState, AutoScalingIpsState, AvailabilityMode, BareMetal, BlockPublicAccessMode, BootModeOverrideValues, BurstablePerformance, CapacityReservationPreference, ClientVpnEndpointStatusCode, ClientVpnRouteStatusCode, ConnectivityType, ContainerFormat, CpuManufacturer, DefaultTargetCapacityType, DestinationFileFormat, DiskImageFormat, Ec2InstanceConnectEndpointState, EndpointIpAddressType, ExportEnvironment, ExportTaskState, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetHttpTokensState, FleetInstanceMetadataEndpointState, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetReservationType, FleetType, FlowLogsResourceType, GatewayType, HostnameType, InstanceBandwidthWeighting, InstanceGeneration, InstanceInterruptionBehavior, InstanceLifecycle, InterruptibleCapacityReservationAllocationStatus, InterruptionType, IpAddressType, IpamExternalResourceVerificationTokenState, IpamInternetRegistryAssociationState, IpamMeteredAccount, IpamPolicyState, IpamPoolAwsService, IpamPoolPublicIpSource, IpamPoolSourceResourceType, IpamPoolState, IpamPrefixListResolverRuleConditionOperation, IpamPrefixListResolverRuleType, IpamPrefixListResolverState, IpamPrefixListResolverTargetState, IpamPrefixListResolverVersionCreationStatus, IpamResourceDiscoveryState, IpamResourceType, IpamScopeExternalAuthorityType, IpamScopeState, IpamScopeType, IpamState, IpamTier, KeyFormat, KeyType, LaunchTemplateAutoRecoveryState, LaunchTemplateHttpTokensState, LaunchTemplateInstanceMetadataEndpointState, LaunchTemplateInstanceMetadataOptionsState, LaunchTemplateInstanceMetadataProtocolIpv6, LaunchTemplateInstanceMetadataTagsState, LocalGatewayRouteState, LocalGatewayRouteTableMode, LocalGatewayRouteType, LocalGatewayVirtualInterfaceConfigurationState, LocalGatewayVirtualInterfaceGroupConfigurationState, LocalStorage, LocalStorageType, LogDestinationType, MacModificationTaskState, MacModificationTaskType, MacSystemIntegrityProtectionSettingStatus, MarketType, NatGatewayApplianceModifyState, NatGatewayApplianceState, NatGatewayApplianceType, NatGatewayState, NestedVirtualizationSpecification, NetworkInterfaceCreationType, NetworkInterfaceStatus, NetworkInterfaceType, PlatformValues, PrefixListState, Protocol, ReservedCapacityAllocationStrategy, ReservedCapacityFallbackMarketType, ResourceType, Rir, RuleAction, SecondaryInterfaceType, SelfServicePortal, ShutdownBehavior, SnapshotLocationEnum, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, SpotInstanceType, SubnetState, TaggableResourceType, TargetCapacityUnitType, Tenancy, TokenState, TrafficIpAddressType, TrafficType, TransportProtocol, VolumeType, VpcEncryptionControlExclusionState, VpcEncryptionControlMode, VpcEncryptionControlState, VpcState, WeekDay, ZeroSizePreference } from "./enums";
|
|
2
2
|
import type { AcceleratorCount, AcceleratorCountRequest, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AccessScopePath, AccessScopePathRequest, AddIpamOperatingRegion, AddPrefixListEntry, ClientConnectOptions, ClientLoginBannerOptions, ClientRouteEnforcementOptions, ClientVpnAuthenticationRequest, InstanceEventWindow, IpamRoutingPolicyRegistrationDelta, Ipv4PrefixSpecification, NatGatewayAddress, OperatorResponse, PortRange, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation } from "./models_0";
|
|
3
3
|
/**
|
|
4
4
|
* <p>Describes the client connection logging options for the Client VPN endpoint.</p>
|
|
@@ -4922,6 +4922,23 @@ export interface CreateImageRequest {
|
|
|
4922
4922
|
* @public
|
|
4923
4923
|
*/
|
|
4924
4924
|
SnapshotLocation?: SnapshotLocationEnum | undefined;
|
|
4925
|
+
/**
|
|
4926
|
+
* <p>The boot mode of the new image, which overrides the default boot mode. By default,
|
|
4927
|
+
* if you do not specify this parameter, the new image inherits
|
|
4928
|
+
* the <code>boot-mode</code> from the source instance.</p>
|
|
4929
|
+
* <p>A value of <code>uefi</code> indicates that the image only supports UEFI boot mode. You can
|
|
4930
|
+
* specify this parameter only if the <code>current-instance-boot-mode</code> of the source instance is
|
|
4931
|
+
* <code>uefi</code>. To find the <code>boot-mode</code> or <code>current-instance-boot-mode</code> of
|
|
4932
|
+
* an instance, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html">DescribeInstances</a>.</p>
|
|
4933
|
+
* <note>
|
|
4934
|
+
* <p>The operating system contained in the AMI must be configured to support the specified
|
|
4935
|
+
* boot mode.</p>
|
|
4936
|
+
* </note>
|
|
4937
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html">Instance launch behavior with Amazon EC2 boot modes</a> in
|
|
4938
|
+
* the <i>Amazon EC2 User Guide</i>.</p>
|
|
4939
|
+
* @public
|
|
4940
|
+
*/
|
|
4941
|
+
BootModeOverride?: BootModeOverrideValues | undefined;
|
|
4925
4942
|
/**
|
|
4926
4943
|
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
4927
4944
|
* and provides an error response. If you have the required permissions, the error response is
|
|
@@ -2552,6 +2552,11 @@ export declare const TrafficType: {
|
|
|
2552
2552
|
readonly REJECT: "REJECT";
|
|
2553
2553
|
};
|
|
2554
2554
|
export type TrafficType = (typeof TrafficType)[keyof typeof TrafficType];
|
|
2555
|
+
export declare const BootModeOverrideValues: {
|
|
2556
|
+
readonly uefi: "uefi";
|
|
2557
|
+
};
|
|
2558
|
+
export type BootModeOverrideValues =
|
|
2559
|
+
(typeof BootModeOverrideValues)[keyof typeof BootModeOverrideValues];
|
|
2555
2560
|
export declare const SnapshotLocationEnum: {
|
|
2556
2561
|
readonly LOCAL: "local";
|
|
2557
2562
|
readonly REGIONAL: "regional";
|
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
AvailabilityMode,
|
|
12
12
|
BareMetal,
|
|
13
13
|
BlockPublicAccessMode,
|
|
14
|
+
BootModeOverrideValues,
|
|
14
15
|
BurstablePerformance,
|
|
15
16
|
CapacityReservationPreference,
|
|
16
17
|
ClientVpnEndpointStatusCode,
|
|
@@ -810,6 +811,7 @@ export interface BlockDeviceMapping {
|
|
|
810
811
|
export interface CreateImageRequest {
|
|
811
812
|
TagSpecifications?: TagSpecification[] | undefined;
|
|
812
813
|
SnapshotLocation?: SnapshotLocationEnum | undefined;
|
|
814
|
+
BootModeOverride?: BootModeOverrideValues | undefined;
|
|
813
815
|
DryRun?: boolean | undefined;
|
|
814
816
|
InstanceId: string | undefined;
|
|
815
817
|
Name: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ec2",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1130.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-ec2",
|
|
6
6
|
"license": "Apache-2.0",
|