@aws-sdk/client-ec2 3.1128.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 CHANGED
@@ -70,7 +70,7 @@ const commonParams = {
70
70
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
71
71
  };
72
72
 
73
- var version = "3.1127.0";
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";
@@ -6352,7 +6353,8 @@ const _VATPIL = "VerifiedAccessTrustProviderIdList";
6352
6353
  const _VATPIe = "VerifiedAccessTrustProviderIds";
6353
6354
  const _VATPL = "VerifiedAccessTrustProviderList";
6354
6355
  const _VATPe = "VerifiedAccessTrustProviders";
6355
- const _VAo = "VolumeAttachment";
6356
+ const _VAo = "VolumeArn";
6357
+ const _VAol = "VolumeAttachment";
6356
6358
  const _VAp = "VpcAttachments";
6357
6359
  const _VBPAE = "VpcBlockPublicAccessExclusion";
6358
6360
  const _VBPAEIL = "VpcBlockPublicAccessExclusionIdList";
@@ -8609,6 +8611,7 @@ const _uTl = "ultraserverType";
8609
8611
  const _ur = "url";
8610
8612
  const _us = "username";
8611
8613
  const _v = "value";
8614
+ const _vA = "volumeArn";
8612
8615
  const _vAE = "verifiedAccessEndpoint";
8613
8616
  const _vAEI = "verifiedAccessEndpointId";
8614
8617
  const _vAES = "verifiedAccessEndpointSet";
@@ -10813,8 +10816,8 @@ var CopySnapshotResult$ = [3, n0, _CSRo,
10813
10816
  ];
10814
10817
  var CopyVolumesRequest$ = [3, n0, _CVRo,
10815
10818
  0,
10816
- [_SVI, _Io, _Siz, _VT, _DR, _TS, _MAE, _Th, _CT],
10817
- [0, 1, 1, 0, 2, [() => TagSpecificationList, { [_xN]: _TSa }], 2, 1, [0, 4]], 1
10819
+ [_SVI, _Io, _Siz, _VT, _DR, _TS, _MAE, _Th, _CT, _Enc, _KKI],
10820
+ [0, 1, 1, 0, 2, [() => TagSpecificationList, { [_xN]: _TSa }], 2, 1, [0, 4], 2, 0], 1
10818
10821
  ];
10819
10822
  var CopyVolumesResult$ = [3, n0, _CVRop,
10820
10823
  0,
@@ -11114,10 +11117,10 @@ var CreateFpgaImageResult$ = [3, n0, _CFIRre,
11114
11117
  ];
11115
11118
  var CreateImageRequest$ = [3, n0, _CIRr,
11116
11119
  0,
11117
- [_II, _N, _TS, _SL, _DR, _De, _NR, _BDMl],
11120
+ [_II, _N, _TS, _SL, _BMO, _DR, _De, _NR, _BDMl],
11118
11121
  [[0, { [_eQN]: `InstanceId`,
11119
11122
  [_xN]: _iI }], [0, { [_eQN]: `Name`,
11120
- [_xN]: _n }], [() => TagSpecificationList, { [_xN]: _TSa }], 0, [2, { [_eQN]: `DryRun`,
11123
+ [_xN]: _n }], [() => TagSpecificationList, { [_xN]: _TSa }], 0, 0, [2, { [_eQN]: `DryRun`,
11121
11124
  [_xN]: _dR }], [0, { [_eQN]: `Description`,
11122
11125
  [_xN]: _de }], [2, { [_eQN]: `NoReboot`,
11123
11126
  [_xN]: _nR }], [() => BlockDeviceMappingRequestList, { [_eQN]: `BlockDeviceMapping`,
@@ -26648,7 +26651,7 @@ var VgwTelemetry$ = [3, n0, _VTg,
26648
26651
  ];
26649
26652
  var Volume$ = [3, n0, _Vol,
26650
26653
  0,
26651
- [_AZI, _OA, _SVI, _Io, _T, _VT, _FRa, _MAE, _Th, _STs, _Op, _VIR, _VIo, _Siz, _SIn, _AZ, _St, _CTre, _Atta, _Enc, _KKI],
26654
+ [_AZI, _OA, _SVI, _Io, _T, _VT, _FRa, _MAE, _Th, _STs, _Op, _VIR, _VAo, _OI, _VIo, _Siz, _SIn, _AZ, _St, _CTre, _Atta, _Enc, _KKI],
26652
26655
  [[0, { [_eQN]: `AvailabilityZoneId`,
26653
26656
  [_xN]: _aZI }], [0, { [_eQN]: `OutpostArn`,
26654
26657
  [_xN]: _oA }], [0, { [_eQN]: `SourceVolumeId`,
@@ -26661,7 +26664,9 @@ var Volume$ = [3, n0, _Vol,
26661
26664
  [_xN]: _th }], [0, { [_eQN]: `SseType`,
26662
26665
  [_xN]: _sTs }], [() => OperatorResponse$, { [_eQN]: `Operator`,
26663
26666
  [_xN]: _ope }], [1, { [_eQN]: `VolumeInitializationRate`,
26664
- [_xN]: _vIR }], [0, { [_eQN]: `VolumeId`,
26667
+ [_xN]: _vIR }], [0, { [_eQN]: `VolumeArn`,
26668
+ [_xN]: _vA }], [0, { [_eQN]: `OwnerId`,
26669
+ [_xN]: _oI }], [0, { [_eQN]: `VolumeId`,
26665
26670
  [_xN]: _vIo }], [1, { [_eQN]: `Size`,
26666
26671
  [_xN]: _si }], [0, { [_eQN]: `SnapshotId`,
26667
26672
  [_xN]: _sIn }], [0, { [_eQN]: `AvailabilityZone`,
@@ -26672,7 +26677,7 @@ var Volume$ = [3, n0, _Vol,
26672
26677
  [_xN]: _enc }], [0, { [_eQN]: `KmsKeyId`,
26673
26678
  [_xN]: _kKI }]]
26674
26679
  ];
26675
- var VolumeAttachment$ = [3, n0, _VAo,
26680
+ var VolumeAttachment$ = [3, n0, _VAol,
26676
26681
  0,
26677
26682
  [_DOT, _ARss, _IOS, _ECI, _VIo, _II, _Dev, _St, _ATtt],
26678
26683
  [[2, { [_eQN]: `DeleteOnTermination`,
@@ -41079,6 +41084,9 @@ const TrafficType = {
41079
41084
  ALL: "ALL",
41080
41085
  REJECT: "REJECT",
41081
41086
  };
41087
+ const BootModeOverrideValues = {
41088
+ uefi: "uefi",
41089
+ };
41082
41090
  const SnapshotLocationEnum = {
41083
41091
  LOCAL: "local",
41084
41092
  REGIONAL: "regional",
@@ -43296,6 +43304,7 @@ exports.BlockDeviceMapping$ = BlockDeviceMapping$;
43296
43304
  exports.BlockDeviceMappingResponse$ = BlockDeviceMappingResponse$;
43297
43305
  exports.BlockPublicAccessMode = BlockPublicAccessMode;
43298
43306
  exports.BlockPublicAccessStates$ = BlockPublicAccessStates$;
43307
+ exports.BootModeOverrideValues = BootModeOverrideValues;
43299
43308
  exports.BootModeType = BootModeType;
43300
43309
  exports.BootModeValues = BootModeValues;
43301
43310
  exports.BundleInstance$ = BundleInstance$;
@@ -2337,6 +2337,9 @@ export const TrafficType = {
2337
2337
  ALL: "ALL",
2338
2338
  REJECT: "REJECT",
2339
2339
  };
2340
+ export const BootModeOverrideValues = {
2341
+ uefi: "uefi",
2342
+ };
2340
2343
  export const SnapshotLocationEnum = {
2341
2344
  LOCAL: "local",
2342
2345
  REGIONAL: "regional",
@@ -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";
@@ -6208,7 +6209,8 @@ const _VATPIL = "VerifiedAccessTrustProviderIdList";
6208
6209
  const _VATPIe = "VerifiedAccessTrustProviderIds";
6209
6210
  const _VATPL = "VerifiedAccessTrustProviderList";
6210
6211
  const _VATPe = "VerifiedAccessTrustProviders";
6211
- const _VAo = "VolumeAttachment";
6212
+ const _VAo = "VolumeArn";
6213
+ const _VAol = "VolumeAttachment";
6212
6214
  const _VAp = "VpcAttachments";
6213
6215
  const _VBPAE = "VpcBlockPublicAccessExclusion";
6214
6216
  const _VBPAEIL = "VpcBlockPublicAccessExclusionIdList";
@@ -8465,6 +8467,7 @@ const _uTl = "ultraserverType";
8465
8467
  const _ur = "url";
8466
8468
  const _us = "username";
8467
8469
  const _v = "value";
8470
+ const _vA = "volumeArn";
8468
8471
  const _vAE = "verifiedAccessEndpoint";
8469
8472
  const _vAEI = "verifiedAccessEndpointId";
8470
8473
  const _vAES = "verifiedAccessEndpointSet";
@@ -10671,8 +10674,8 @@ export var CopySnapshotResult$ = [3, n0, _CSRo,
10671
10674
  ];
10672
10675
  export var CopyVolumesRequest$ = [3, n0, _CVRo,
10673
10676
  0,
10674
- [_SVI, _Io, _Siz, _VT, _DR, _TS, _MAE, _Th, _CT],
10675
- [0, 1, 1, 0, 2, [() => TagSpecificationList, { [_xN]: _TSa }], 2, 1, [0, 4]], 1
10677
+ [_SVI, _Io, _Siz, _VT, _DR, _TS, _MAE, _Th, _CT, _Enc, _KKI],
10678
+ [0, 1, 1, 0, 2, [() => TagSpecificationList, { [_xN]: _TSa }], 2, 1, [0, 4], 2, 0], 1
10676
10679
  ];
10677
10680
  export var CopyVolumesResult$ = [3, n0, _CVRop,
10678
10681
  0,
@@ -10972,10 +10975,10 @@ export var CreateFpgaImageResult$ = [3, n0, _CFIRre,
10972
10975
  ];
10973
10976
  export var CreateImageRequest$ = [3, n0, _CIRr,
10974
10977
  0,
10975
- [_II, _N, _TS, _SL, _DR, _De, _NR, _BDMl],
10978
+ [_II, _N, _TS, _SL, _BMO, _DR, _De, _NR, _BDMl],
10976
10979
  [[0, { [_eQN]: `InstanceId`,
10977
10980
  [_xN]: _iI }], [0, { [_eQN]: `Name`,
10978
- [_xN]: _n }], [() => TagSpecificationList, { [_xN]: _TSa }], 0, [2, { [_eQN]: `DryRun`,
10981
+ [_xN]: _n }], [() => TagSpecificationList, { [_xN]: _TSa }], 0, 0, [2, { [_eQN]: `DryRun`,
10979
10982
  [_xN]: _dR }], [0, { [_eQN]: `Description`,
10980
10983
  [_xN]: _de }], [2, { [_eQN]: `NoReboot`,
10981
10984
  [_xN]: _nR }], [() => BlockDeviceMappingRequestList, { [_eQN]: `BlockDeviceMapping`,
@@ -26506,7 +26509,7 @@ export var VgwTelemetry$ = [3, n0, _VTg,
26506
26509
  ];
26507
26510
  export var Volume$ = [3, n0, _Vol,
26508
26511
  0,
26509
- [_AZI, _OA, _SVI, _Io, _T, _VT, _FRa, _MAE, _Th, _STs, _Op, _VIR, _VIo, _Siz, _SIn, _AZ, _St, _CTre, _Atta, _Enc, _KKI],
26512
+ [_AZI, _OA, _SVI, _Io, _T, _VT, _FRa, _MAE, _Th, _STs, _Op, _VIR, _VAo, _OI, _VIo, _Siz, _SIn, _AZ, _St, _CTre, _Atta, _Enc, _KKI],
26510
26513
  [[0, { [_eQN]: `AvailabilityZoneId`,
26511
26514
  [_xN]: _aZI }], [0, { [_eQN]: `OutpostArn`,
26512
26515
  [_xN]: _oA }], [0, { [_eQN]: `SourceVolumeId`,
@@ -26519,7 +26522,9 @@ export var Volume$ = [3, n0, _Vol,
26519
26522
  [_xN]: _th }], [0, { [_eQN]: `SseType`,
26520
26523
  [_xN]: _sTs }], [() => OperatorResponse$, { [_eQN]: `Operator`,
26521
26524
  [_xN]: _ope }], [1, { [_eQN]: `VolumeInitializationRate`,
26522
- [_xN]: _vIR }], [0, { [_eQN]: `VolumeId`,
26525
+ [_xN]: _vIR }], [0, { [_eQN]: `VolumeArn`,
26526
+ [_xN]: _vA }], [0, { [_eQN]: `OwnerId`,
26527
+ [_xN]: _oI }], [0, { [_eQN]: `VolumeId`,
26523
26528
  [_xN]: _vIo }], [1, { [_eQN]: `Size`,
26524
26529
  [_xN]: _si }], [0, { [_eQN]: `SnapshotId`,
26525
26530
  [_xN]: _sIn }], [0, { [_eQN]: `AvailabilityZone`,
@@ -26530,7 +26535,7 @@ export var Volume$ = [3, n0, _Vol,
26530
26535
  [_xN]: _enc }], [0, { [_eQN]: `KmsKeyId`,
26531
26536
  [_xN]: _kKI }]]
26532
26537
  ];
26533
- export var VolumeAttachment$ = [3, n0, _VAo,
26538
+ export var VolumeAttachment$ = [3, n0, _VAol,
26534
26539
  0,
26535
26540
  [_DOT, _ARss, _IOS, _ECI, _VIo, _II, _Dev, _St, _ATtt],
26536
26541
  [[2, { [_eQN]: `DeleteOnTermination`,
@@ -55,6 +55,8 @@ declare const CopyVolumesCommand_base: {
55
55
  * MultiAttachEnabled: true || false,
56
56
  * Throughput: Number("int"),
57
57
  * ClientToken: "STRING_VALUE",
58
+ * Encrypted: true || false,
59
+ * KmsKeyId: "STRING_VALUE",
58
60
  * };
59
61
  * const command = new CopyVolumesCommand(input);
60
62
  * const response = await client.send(command);
@@ -82,6 +84,8 @@ declare const CopyVolumesCommand_base: {
82
84
  * // HiddenByDefault: true || false,
83
85
  * // },
84
86
  * // VolumeInitializationRate: Number("int"),
87
+ * // VolumeArn: "STRING_VALUE",
88
+ * // OwnerId: "STRING_VALUE",
85
89
  * // VolumeId: "STRING_VALUE",
86
90
  * // Size: Number("int"),
87
91
  * // SnapshotId: "STRING_VALUE",
@@ -71,6 +71,7 @@ declare const CreateImageCommand_base: {
71
71
  * },
72
72
  * ],
73
73
  * SnapshotLocation: "regional" || "local",
74
+ * BootModeOverride: "uefi",
74
75
  * DryRun: true || false,
75
76
  * InstanceId: "STRING_VALUE", // required
76
77
  * Name: "STRING_VALUE", // required
@@ -98,6 +98,8 @@ declare const CreateVolumeCommand_base: {
98
98
  * // HiddenByDefault: true || false,
99
99
  * // },
100
100
  * // VolumeInitializationRate: Number("int"),
101
+ * // VolumeArn: "STRING_VALUE",
102
+ * // OwnerId: "STRING_VALUE",
101
103
  * // VolumeId: "STRING_VALUE",
102
104
  * // Size: Number("int"),
103
105
  * // SnapshotId: "STRING_VALUE",
@@ -89,6 +89,8 @@ declare const DescribeVolumesCommand_base: {
89
89
  * // HiddenByDefault: true || false,
90
90
  * // },
91
91
  * // VolumeInitializationRate: Number("int"),
92
+ * // VolumeArn: "STRING_VALUE",
93
+ * // OwnerId: "STRING_VALUE",
92
94
  * // VolumeId: "STRING_VALUE",
93
95
  * // Size: Number("int"),
94
96
  * // SnapshotId: "STRING_VALUE",
@@ -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
@@ -7277,6 +7277,25 @@ export interface CopyVolumesRequest {
7277
7277
  * @public
7278
7278
  */
7279
7279
  ClientToken?: string | undefined;
7280
+ /**
7281
+ * <p>Indicates whether to encrypt the volume copy. If the source volume is encrypted, the
7282
+ * service always encrypts the copy regardless of this value. Set to <code>true</code> to
7283
+ * encrypt a copy of an unencrypted source volume during the copy operation. If you set
7284
+ * <code>Encrypted</code> to <code>true</code> but do not specify <code>KmsKeyId</code>, the
7285
+ * service uses the default KMS key for EBS encryption in your account.</p>
7286
+ * @public
7287
+ */
7288
+ Encrypted?: boolean | undefined;
7289
+ /**
7290
+ * <p>The identifier of the KMS key to use for encryption of the volume copy. Specify a
7291
+ * symmetric encryption KMS key. You can specify a KMS key using the key ID, key ARN, alias
7292
+ * name, or alias ARN. If you set <code>Encrypted</code> to <code>true</code> but do not
7293
+ * specify this parameter, the service uses the default KMS key for EBS encryption in your
7294
+ * account. For cross-account volume copies, this must be a KMS key in the calling
7295
+ * account.</p>
7296
+ * @public
7297
+ */
7298
+ KmsKeyId?: string | undefined;
7280
7299
  }
7281
7300
  /**
7282
7301
  * <p>Describes whether the resource is managed by a service provider and, if so, describes
@@ -7377,6 +7396,16 @@ export interface Volume {
7377
7396
  * @public
7378
7397
  */
7379
7398
  VolumeInitializationRate?: number | undefined;
7399
+ /**
7400
+ * <p>The Amazon Resource Name (ARN) of the volume.</p>
7401
+ * @public
7402
+ */
7403
+ VolumeArn?: string | undefined;
7404
+ /**
7405
+ * <p>The ID of the Amazon Web Services account that owns the volume.</p>
7406
+ * @public
7407
+ */
7408
+ OwnerId?: string | undefined;
7380
7409
  /**
7381
7410
  * <p>The ID of the volume.</p>
7382
7411
  * @public
@@ -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";
@@ -1605,6 +1605,8 @@ export interface CopyVolumesRequest {
1605
1605
  MultiAttachEnabled?: boolean | undefined;
1606
1606
  Throughput?: number | undefined;
1607
1607
  ClientToken?: string | undefined;
1608
+ Encrypted?: boolean | undefined;
1609
+ KmsKeyId?: string | undefined;
1608
1610
  }
1609
1611
  export interface OperatorResponse {
1610
1612
  Managed?: boolean | undefined;
@@ -1624,6 +1626,8 @@ export interface Volume {
1624
1626
  SseType?: SSEType | undefined;
1625
1627
  Operator?: OperatorResponse | undefined;
1626
1628
  VolumeInitializationRate?: number | undefined;
1629
+ VolumeArn?: string | undefined;
1630
+ OwnerId?: string | undefined;
1627
1631
  VolumeId?: string | undefined;
1628
1632
  Size?: number | undefined;
1629
1633
  SnapshotId?: string | undefined;
@@ -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.1128.0",
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",
@@ -52,9 +52,9 @@
52
52
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
53
53
  },
54
54
  "dependencies": {
55
- "@aws-sdk/core": "^3.977.9",
56
- "@aws-sdk/credential-provider-node": "^3.972.82",
57
- "@aws-sdk/middleware-sdk-ec2": "^3.972.58",
55
+ "@aws-sdk/core": "^3.978.0",
56
+ "@aws-sdk/credential-provider-node": "^3.972.83",
57
+ "@aws-sdk/middleware-sdk-ec2": "^3.972.59",
58
58
  "@aws-sdk/types": "^3.974.5",
59
59
  "@smithy/core": "^3.33.3",
60
60
  "@smithy/fetch-http-handler": "^5.7.2",