@aws-sdk/client-ec2 3.624.0 → 3.629.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.
Files changed (84) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +371 -152
  3. package/dist-es/EC2.js +4 -0
  4. package/dist-es/commands/CreateCapacityReservationBySplittingCommand.js +24 -0
  5. package/dist-es/commands/GetInstanceTpmEkPubCommand.js +1 -1
  6. package/dist-es/commands/ModifyVpnTunnelCertificateCommand.js +1 -1
  7. package/dist-es/commands/ModifyVpnTunnelOptionsCommand.js +1 -1
  8. package/dist-es/commands/MoveCapacityReservationInstancesCommand.js +24 -0
  9. package/dist-es/commands/index.js +2 -0
  10. package/dist-es/models/models_0.js +9 -3
  11. package/dist-es/models/models_1.js +3 -5
  12. package/dist-es/models/models_2.js +5 -0
  13. package/dist-es/models/models_3.js +0 -17
  14. package/dist-es/models/models_4.js +17 -10
  15. package/dist-es/models/models_5.js +11 -9
  16. package/dist-es/models/models_6.js +13 -16
  17. package/dist-es/models/models_7.js +18 -2
  18. package/dist-es/protocols/Aws_ec2.js +169 -8
  19. package/dist-types/EC2.d.ts +14 -0
  20. package/dist-types/EC2Client.d.ts +4 -2
  21. package/dist-types/commands/AssociateSubnetCidrBlockCommand.d.ts +2 -0
  22. package/dist-types/commands/AssociateVpcCidrBlockCommand.d.ts +2 -0
  23. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +148 -0
  24. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
  25. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +2 -0
  26. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +2 -0
  27. package/dist-types/commands/CreateIpamCommand.d.ts +2 -0
  28. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -2
  29. package/dist-types/commands/CreateSubnetCommand.d.ts +2 -0
  30. package/dist-types/commands/CreateVpcCommand.d.ts +2 -0
  31. package/dist-types/commands/DeleteIpamCommand.d.ts +1 -0
  32. package/dist-types/commands/DeleteLaunchTemplateVersionsCommand.d.ts +2 -1
  33. package/dist-types/commands/DeleteLocalGatewayRouteCommand.d.ts +1 -1
  34. package/dist-types/commands/DeleteLocalGatewayRouteTableCommand.d.ts +1 -2
  35. package/dist-types/commands/DescribeAddressTransfersCommand.d.ts +1 -1
  36. package/dist-types/commands/DescribeIpamsCommand.d.ts +1 -0
  37. package/dist-types/commands/DescribeSubnetsCommand.d.ts +2 -0
  38. package/dist-types/commands/DescribeVpcsCommand.d.ts +2 -0
  39. package/dist-types/commands/DisassociateSubnetCidrBlockCommand.d.ts +2 -0
  40. package/dist-types/commands/DisassociateVpcCidrBlockCommand.d.ts +2 -0
  41. package/dist-types/commands/GetInstanceMetadataDefaultsCommand.d.ts +2 -1
  42. package/dist-types/commands/GetInstanceTpmEkPubCommand.d.ts +1 -2
  43. package/dist-types/commands/GetIpamDiscoveredResourceCidrsCommand.d.ts +1 -0
  44. package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +5 -5
  45. package/dist-types/commands/ModifyIpamCommand.d.ts +2 -0
  46. package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +2 -1
  47. package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +1 -1
  48. package/dist-types/commands/MonitorInstancesCommand.d.ts +1 -2
  49. package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +157 -0
  50. package/dist-types/commands/index.d.ts +2 -0
  51. package/dist-types/models/models_0.d.ts +108 -226
  52. package/dist-types/models/models_1.d.ts +236 -211
  53. package/dist-types/models/models_2.d.ts +214 -78
  54. package/dist-types/models/models_3.d.ts +77 -244
  55. package/dist-types/models/models_4.d.ts +248 -365
  56. package/dist-types/models/models_5.d.ts +359 -64
  57. package/dist-types/models/models_6.d.ts +101 -309
  58. package/dist-types/models/models_7.d.ts +370 -5
  59. package/dist-types/protocols/Aws_ec2.d.ts +18 -0
  60. package/dist-types/ts3.4/EC2.d.ts +40 -0
  61. package/dist-types/ts3.4/EC2Client.d.ts +12 -0
  62. package/dist-types/ts3.4/commands/CreateCapacityReservationBySplittingCommand.d.ts +40 -0
  63. package/dist-types/ts3.4/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/CreateNetworkInterfaceCommand.d.ts +4 -2
  65. package/dist-types/ts3.4/commands/DeleteLaunchTemplateVersionsCommand.d.ts +2 -4
  66. package/dist-types/ts3.4/commands/DeleteLocalGatewayRouteCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/DeleteLocalGatewayRouteTableCommand.d.ts +4 -2
  68. package/dist-types/ts3.4/commands/GetInstanceMetadataDefaultsCommand.d.ts +2 -4
  69. package/dist-types/ts3.4/commands/GetInstanceTpmEkPubCommand.d.ts +4 -2
  70. package/dist-types/ts3.4/commands/ModifyVpnTunnelCertificateCommand.d.ts +2 -4
  71. package/dist-types/ts3.4/commands/ModifyVpnTunnelOptionsCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/MonitorInstancesCommand.d.ts +4 -2
  73. package/dist-types/ts3.4/commands/MoveCapacityReservationInstancesCommand.d.ts +40 -0
  74. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  75. package/dist-types/ts3.4/models/models_0.d.ts +28 -44
  76. package/dist-types/ts3.4/models/models_1.d.ts +50 -39
  77. package/dist-types/ts3.4/models/models_2.d.ts +44 -20
  78. package/dist-types/ts3.4/models/models_3.d.ts +22 -60
  79. package/dist-types/ts3.4/models/models_4.d.ts +59 -51
  80. package/dist-types/ts3.4/models/models_5.d.ts +52 -21
  81. package/dist-types/ts3.4/models/models_6.d.ts +33 -62
  82. package/dist-types/ts3.4/models/models_7.d.ts +79 -3
  83. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +24 -0
  84. package/package.json +5 -5
@@ -1,7 +1,6 @@
1
1
  import {
2
2
  _InstanceType,
3
3
  ActiveInstance,
4
- AllocationStrategy,
5
4
  AlternatePathHint,
6
5
  AttachmentStatus,
7
6
  CurrencyCodeValues,
@@ -16,7 +15,6 @@ import {
16
15
  ResourceType,
17
16
  SecurityGroupRule,
18
17
  Tag,
19
- TagSpecification,
20
18
  } from "./models_0";
21
19
  import {
22
20
  AmdSevSnpSpecification,
@@ -28,9 +26,7 @@ import {
28
26
  Ec2InstanceConnectEndpoint,
29
27
  EnaSrdSpecificationRequest,
30
28
  FleetLaunchTemplateSpecification,
31
- FleetType,
32
29
  HostnameType,
33
- InstanceInterruptionBehavior,
34
30
  InstanceIpv6Address,
35
31
  InstanceRequirements,
36
32
  InternetGateway,
@@ -56,7 +52,6 @@ import {
56
52
  PlatformValues,
57
53
  PrivateIpAddressSpecification,
58
54
  StateReason,
59
- TargetCapacityUnitType,
60
55
  Tenancy,
61
56
  } from "./models_1";
62
57
  import {
@@ -82,12 +77,69 @@ import {
82
77
  Filter,
83
78
  HypervisorType,
84
79
  IdFormat,
85
- Image,
80
+ ImageTypeValues,
81
+ ImdsSupportValues,
86
82
  InstanceTagNotificationAttribute,
87
83
  PermissionGroup,
88
84
  ProductCode,
89
- VirtualizationType,
90
85
  } from "./models_3";
86
+ export declare const ImageState: {
87
+ readonly available: "available";
88
+ readonly deregistered: "deregistered";
89
+ readonly disabled: "disabled";
90
+ readonly error: "error";
91
+ readonly failed: "failed";
92
+ readonly invalid: "invalid";
93
+ readonly pending: "pending";
94
+ readonly transient: "transient";
95
+ };
96
+ export type ImageState = (typeof ImageState)[keyof typeof ImageState];
97
+ export declare const TpmSupportValues: {
98
+ readonly v2_0: "v2.0";
99
+ };
100
+ export type TpmSupportValues =
101
+ (typeof TpmSupportValues)[keyof typeof TpmSupportValues];
102
+ export declare const VirtualizationType: {
103
+ readonly hvm: "hvm";
104
+ readonly paravirtual: "paravirtual";
105
+ };
106
+ export type VirtualizationType =
107
+ (typeof VirtualizationType)[keyof typeof VirtualizationType];
108
+ export interface Image {
109
+ Architecture?: ArchitectureValues;
110
+ CreationDate?: string;
111
+ ImageId?: string;
112
+ ImageLocation?: string;
113
+ ImageType?: ImageTypeValues;
114
+ Public?: boolean;
115
+ KernelId?: string;
116
+ OwnerId?: string;
117
+ Platform?: PlatformValues;
118
+ PlatformDetails?: string;
119
+ UsageOperation?: string;
120
+ ProductCodes?: ProductCode[];
121
+ RamdiskId?: string;
122
+ State?: ImageState;
123
+ BlockDeviceMappings?: BlockDeviceMapping[];
124
+ Description?: string;
125
+ EnaSupport?: boolean;
126
+ Hypervisor?: HypervisorType;
127
+ ImageOwnerAlias?: string;
128
+ Name?: string;
129
+ RootDeviceName?: string;
130
+ RootDeviceType?: DeviceType;
131
+ SriovNetSupport?: string;
132
+ StateReason?: StateReason;
133
+ Tags?: Tag[];
134
+ VirtualizationType?: VirtualizationType;
135
+ BootMode?: BootModeValues;
136
+ TpmSupport?: TpmSupportValues;
137
+ DeprecationTime?: string;
138
+ ImdsSupport?: ImdsSupportValues;
139
+ SourceInstanceId?: string;
140
+ DeregistrationProtection?: string;
141
+ LastLaunchedTime?: string;
142
+ }
91
143
  export interface DescribeImagesResult {
92
144
  Images?: Image[];
93
145
  NextToken?: string;
@@ -2012,47 +2064,6 @@ export declare const OnDemandAllocationStrategy: {
2012
2064
  };
2013
2065
  export type OnDemandAllocationStrategy =
2014
2066
  (typeof OnDemandAllocationStrategy)[keyof typeof OnDemandAllocationStrategy];
2015
- export declare const ReplacementStrategy: {
2016
- readonly LAUNCH: "launch";
2017
- readonly LAUNCH_BEFORE_TERMINATE: "launch-before-terminate";
2018
- };
2019
- export type ReplacementStrategy =
2020
- (typeof ReplacementStrategy)[keyof typeof ReplacementStrategy];
2021
- export interface SpotCapacityRebalance {
2022
- ReplacementStrategy?: ReplacementStrategy;
2023
- TerminationDelay?: number;
2024
- }
2025
- export interface SpotMaintenanceStrategies {
2026
- CapacityRebalance?: SpotCapacityRebalance;
2027
- }
2028
- export interface SpotFleetRequestConfigData {
2029
- AllocationStrategy?: AllocationStrategy;
2030
- OnDemandAllocationStrategy?: OnDemandAllocationStrategy;
2031
- SpotMaintenanceStrategies?: SpotMaintenanceStrategies;
2032
- ClientToken?: string;
2033
- ExcessCapacityTerminationPolicy?: ExcessCapacityTerminationPolicy;
2034
- FulfilledCapacity?: number;
2035
- OnDemandFulfilledCapacity?: number;
2036
- IamFleetRole: string | undefined;
2037
- LaunchSpecifications?: SpotFleetLaunchSpecification[];
2038
- LaunchTemplateConfigs?: LaunchTemplateConfig[];
2039
- SpotPrice?: string;
2040
- TargetCapacity: number | undefined;
2041
- OnDemandTargetCapacity?: number;
2042
- OnDemandMaxTotalPrice?: string;
2043
- SpotMaxTotalPrice?: string;
2044
- TerminateInstancesWithExpiration?: boolean;
2045
- Type?: FleetType;
2046
- ValidFrom?: Date;
2047
- ValidUntil?: Date;
2048
- ReplaceUnhealthyInstances?: boolean;
2049
- InstanceInterruptionBehavior?: InstanceInterruptionBehavior;
2050
- LoadBalancersConfig?: LoadBalancersConfig;
2051
- InstancePoolsToUseCount?: number;
2052
- Context?: string;
2053
- TargetCapacityUnitType?: TargetCapacityUnitType;
2054
- TagSpecifications?: TagSpecification[];
2055
- }
2056
2067
  export declare const SnapshotDetailFilterSensitiveLog: (
2057
2068
  obj: SnapshotDetail
2058
2069
  ) => any;
@@ -2077,6 +2088,3 @@ export declare const DescribeLaunchTemplateVersionsResultFilterSensitiveLog: (
2077
2088
  export declare const SpotFleetLaunchSpecificationFilterSensitiveLog: (
2078
2089
  obj: SpotFleetLaunchSpecification
2079
2090
  ) => any;
2080
- export declare const SpotFleetRequestConfigDataFilterSensitiveLog: (
2081
- obj: SpotFleetRequestConfigData
2082
- ) => any;
@@ -2,6 +2,7 @@ import {
2
2
  _InstanceType,
3
3
  ActivityStatus,
4
4
  AddressTransfer,
5
+ AllocationStrategy,
5
6
  AllowedPrincipal,
6
7
  AsnAssociation,
7
8
  AssociationStatus,
@@ -36,9 +37,11 @@ import {
36
37
  import {
37
38
  BlockDeviceMapping,
38
39
  DiskImageFormat,
40
+ FleetType,
39
41
  InstanceInterruptionBehavior,
40
42
  SpotInstanceType,
41
43
  Subnet,
44
+ TargetCapacityUnitType,
42
45
  VolumeType,
43
46
  Vpc,
44
47
  } from "./models_1";
@@ -89,14 +92,59 @@ import {
89
92
  } from "./models_3";
90
93
  import {
91
94
  AttributeBooleanValue,
95
+ ExcessCapacityTerminationPolicy,
92
96
  HttpTokensState,
93
97
  InstanceMetadataEndpointState,
94
98
  InstanceMetadataTagsState,
95
99
  InstanceNetworkInterfaceSpecification,
100
+ LaunchTemplateConfig,
101
+ LoadBalancersConfig,
102
+ OnDemandAllocationStrategy,
96
103
  RIProductDescription,
97
- SpotFleetRequestConfigData,
104
+ SpotFleetLaunchSpecification,
98
105
  SpotPlacement,
99
106
  } from "./models_4";
107
+ export declare const ReplacementStrategy: {
108
+ readonly LAUNCH: "launch";
109
+ readonly LAUNCH_BEFORE_TERMINATE: "launch-before-terminate";
110
+ };
111
+ export type ReplacementStrategy =
112
+ (typeof ReplacementStrategy)[keyof typeof ReplacementStrategy];
113
+ export interface SpotCapacityRebalance {
114
+ ReplacementStrategy?: ReplacementStrategy;
115
+ TerminationDelay?: number;
116
+ }
117
+ export interface SpotMaintenanceStrategies {
118
+ CapacityRebalance?: SpotCapacityRebalance;
119
+ }
120
+ export interface SpotFleetRequestConfigData {
121
+ AllocationStrategy?: AllocationStrategy;
122
+ OnDemandAllocationStrategy?: OnDemandAllocationStrategy;
123
+ SpotMaintenanceStrategies?: SpotMaintenanceStrategies;
124
+ ClientToken?: string;
125
+ ExcessCapacityTerminationPolicy?: ExcessCapacityTerminationPolicy;
126
+ FulfilledCapacity?: number;
127
+ OnDemandFulfilledCapacity?: number;
128
+ IamFleetRole: string | undefined;
129
+ LaunchSpecifications?: SpotFleetLaunchSpecification[];
130
+ LaunchTemplateConfigs?: LaunchTemplateConfig[];
131
+ SpotPrice?: string;
132
+ TargetCapacity: number | undefined;
133
+ OnDemandTargetCapacity?: number;
134
+ OnDemandMaxTotalPrice?: string;
135
+ SpotMaxTotalPrice?: string;
136
+ TerminateInstancesWithExpiration?: boolean;
137
+ Type?: FleetType;
138
+ ValidFrom?: Date;
139
+ ValidUntil?: Date;
140
+ ReplaceUnhealthyInstances?: boolean;
141
+ InstanceInterruptionBehavior?: InstanceInterruptionBehavior;
142
+ LoadBalancersConfig?: LoadBalancersConfig;
143
+ InstancePoolsToUseCount?: number;
144
+ Context?: string;
145
+ TargetCapacityUnitType?: TargetCapacityUnitType;
146
+ TagSpecifications?: TagSpecification[];
147
+ }
100
148
  export interface SpotFleetRequestConfig {
101
149
  ActivityStatus?: ActivityStatus;
102
150
  CreateTime?: Date;
@@ -1649,26 +1697,9 @@ export interface InstanceMetadataDefaultsResponse {
1649
1697
  HttpEndpoint?: InstanceMetadataEndpointState;
1650
1698
  InstanceMetadataTags?: InstanceMetadataTagsState;
1651
1699
  }
1652
- export interface GetInstanceMetadataDefaultsResult {
1653
- AccountLevel?: InstanceMetadataDefaultsResponse;
1654
- }
1655
- export declare const EkPubKeyFormat: {
1656
- readonly der: "der";
1657
- readonly tpmt: "tpmt";
1658
- };
1659
- export type EkPubKeyFormat =
1660
- (typeof EkPubKeyFormat)[keyof typeof EkPubKeyFormat];
1661
- export declare const EkPubKeyType: {
1662
- readonly ECC_SEC_P384: "ecc-sec-p384";
1663
- readonly RSA_2048: "rsa-2048";
1664
- };
1665
- export type EkPubKeyType = (typeof EkPubKeyType)[keyof typeof EkPubKeyType];
1666
- export interface GetInstanceTpmEkPubRequest {
1667
- InstanceId: string | undefined;
1668
- KeyType: EkPubKeyType | undefined;
1669
- KeyFormat: EkPubKeyFormat | undefined;
1670
- DryRun?: boolean;
1671
- }
1700
+ export declare const SpotFleetRequestConfigDataFilterSensitiveLog: (
1701
+ obj: SpotFleetRequestConfigData
1702
+ ) => any;
1672
1703
  export declare const SpotFleetRequestConfigFilterSensitiveLog: (
1673
1704
  obj: SpotFleetRequestConfig
1674
1705
  ) => any;
@@ -14,6 +14,7 @@ import {
14
14
  HostMaintenance,
15
15
  HostRecovery,
16
16
  InstanceEventWindow,
17
+ InstanceMatchCriteria,
17
18
  IpamPoolAllocation,
18
19
  Ipv6SupportValue,
19
20
  SecurityGroupReferencingSupportValue,
@@ -69,15 +70,8 @@ import {
69
70
  DefaultRouteTableAssociationValue,
70
71
  DefaultRouteTablePropagationValue,
71
72
  DnsOptionsSpecification,
72
- IKEVersionsRequestListValue,
73
73
  IpAddressType,
74
74
  PayerResponsibility,
75
- Phase1DHGroupNumbersRequestListValue,
76
- Phase1EncryptionAlgorithmsRequestListValue,
77
- Phase1IntegrityAlgorithmsRequestListValue,
78
- Phase2DHGroupNumbersRequestListValue,
79
- Phase2EncryptionAlgorithmsRequestListValue,
80
- Phase2IntegrityAlgorithmsRequestListValue,
81
75
  SubnetCidrReservation,
82
76
  SubnetConfiguration,
83
77
  TrafficDirection,
@@ -95,7 +89,6 @@ import {
95
89
  VerifiedAccessSseSpecificationRequest,
96
90
  VpnConnection,
97
91
  VpnEcmpSupportValue,
98
- VpnTunnelLogOptionsSpecification,
99
92
  } from "./models_2";
100
93
  import {
101
94
  ArchitectureValues,
@@ -107,7 +100,6 @@ import {
107
100
  IpamPoolCidr,
108
101
  LaunchPermission,
109
102
  PermissionGroup,
110
- VirtualizationType,
111
103
  } from "./models_3";
112
104
  import {
113
105
  AnalysisStatus,
@@ -130,17 +122,37 @@ import {
130
122
  SnapshotAttributeName,
131
123
  SnapshotDetail,
132
124
  SnapshotTaskDetail,
125
+ VirtualizationType,
133
126
  } from "./models_4";
134
127
  import {
135
- EkPubKeyFormat,
136
- EkPubKeyType,
137
128
  InstanceFamilyCreditSpecification,
129
+ InstanceMetadataDefaultsResponse,
138
130
  SnapshotBlockPublicAccessState,
139
131
  TransitGatewayPropagationState,
140
132
  UnlimitedSupportedInstanceFamily,
141
133
  VerifiedAccessInstanceLoggingConfiguration,
142
134
  VolumeModification,
143
135
  } from "./models_5";
136
+ export interface GetInstanceMetadataDefaultsResult {
137
+ AccountLevel?: InstanceMetadataDefaultsResponse;
138
+ }
139
+ export declare const EkPubKeyFormat: {
140
+ readonly der: "der";
141
+ readonly tpmt: "tpmt";
142
+ };
143
+ export type EkPubKeyFormat =
144
+ (typeof EkPubKeyFormat)[keyof typeof EkPubKeyFormat];
145
+ export declare const EkPubKeyType: {
146
+ readonly ECC_SEC_P384: "ecc-sec-p384";
147
+ readonly RSA_2048: "rsa-2048";
148
+ };
149
+ export type EkPubKeyType = (typeof EkPubKeyType)[keyof typeof EkPubKeyType];
150
+ export interface GetInstanceTpmEkPubRequest {
151
+ InstanceId: string | undefined;
152
+ KeyType: EkPubKeyType | undefined;
153
+ KeyFormat: EkPubKeyFormat | undefined;
154
+ DryRun?: boolean;
155
+ }
144
156
  export interface GetInstanceTpmEkPubResult {
145
157
  InstanceId?: string;
146
158
  KeyType?: EkPubKeyType;
@@ -332,6 +344,13 @@ export interface GetIpamDiscoveredResourceCidrsRequest {
332
344
  NextToken?: string;
333
345
  MaxResults?: number;
334
346
  }
347
+ export declare const IpamResourceCidrIpSource: {
348
+ readonly amazon: "amazon";
349
+ readonly byoip: "byoip";
350
+ readonly none: "none";
351
+ };
352
+ export type IpamResourceCidrIpSource =
353
+ (typeof IpamResourceCidrIpSource)[keyof typeof IpamResourceCidrIpSource];
335
354
  export declare const IpamNetworkInterfaceAttachmentStatus: {
336
355
  readonly available: "available";
337
356
  readonly in_use: "in-use";
@@ -354,6 +373,7 @@ export interface IpamDiscoveredResourceCidr {
354
373
  ResourceId?: string;
355
374
  ResourceOwnerId?: string;
356
375
  ResourceCidr?: string;
376
+ IpSource?: IpamResourceCidrIpSource;
357
377
  ResourceType?: IpamResourceType;
358
378
  ResourceTags?: IpamResourceTag[];
359
379
  IpUsage?: number;
@@ -1006,6 +1026,7 @@ export interface ModifyCapacityReservationRequest {
1006
1026
  Accept?: boolean;
1007
1027
  DryRun?: boolean;
1008
1028
  AdditionalInfo?: string;
1029
+ InstanceMatchCriteria?: InstanceMatchCriteria;
1009
1030
  }
1010
1031
  export interface ModifyCapacityReservationResult {
1011
1032
  Return?: boolean;
@@ -1318,6 +1339,7 @@ export interface ModifyIpamRequest {
1318
1339
  AddOperatingRegions?: AddIpamOperatingRegion[];
1319
1340
  RemoveOperatingRegions?: RemoveIpamOperatingRegion[];
1320
1341
  Tier?: IpamTier;
1342
+ EnablePrivateGua?: boolean;
1321
1343
  }
1322
1344
  export interface ModifyIpamResult {
1323
1345
  Ipam?: Ipam;
@@ -1876,45 +1898,6 @@ export interface ModifyVpnTunnelCertificateRequest {
1876
1898
  VpnTunnelOutsideIpAddress: string | undefined;
1877
1899
  DryRun?: boolean;
1878
1900
  }
1879
- export interface ModifyVpnTunnelCertificateResult {
1880
- VpnConnection?: VpnConnection;
1881
- }
1882
- export interface ModifyVpnTunnelOptionsSpecification {
1883
- TunnelInsideCidr?: string;
1884
- TunnelInsideIpv6Cidr?: string;
1885
- PreSharedKey?: string;
1886
- Phase1LifetimeSeconds?: number;
1887
- Phase2LifetimeSeconds?: number;
1888
- RekeyMarginTimeSeconds?: number;
1889
- RekeyFuzzPercentage?: number;
1890
- ReplayWindowSize?: number;
1891
- DPDTimeoutSeconds?: number;
1892
- DPDTimeoutAction?: string;
1893
- Phase1EncryptionAlgorithms?: Phase1EncryptionAlgorithmsRequestListValue[];
1894
- Phase2EncryptionAlgorithms?: Phase2EncryptionAlgorithmsRequestListValue[];
1895
- Phase1IntegrityAlgorithms?: Phase1IntegrityAlgorithmsRequestListValue[];
1896
- Phase2IntegrityAlgorithms?: Phase2IntegrityAlgorithmsRequestListValue[];
1897
- Phase1DHGroupNumbers?: Phase1DHGroupNumbersRequestListValue[];
1898
- Phase2DHGroupNumbers?: Phase2DHGroupNumbersRequestListValue[];
1899
- IKEVersions?: IKEVersionsRequestListValue[];
1900
- StartupAction?: string;
1901
- LogOptions?: VpnTunnelLogOptionsSpecification;
1902
- EnableTunnelLifecycleControl?: boolean;
1903
- }
1904
- export interface ModifyVpnTunnelOptionsRequest {
1905
- VpnConnectionId: string | undefined;
1906
- VpnTunnelOutsideIpAddress: string | undefined;
1907
- TunnelOptions: ModifyVpnTunnelOptionsSpecification | undefined;
1908
- DryRun?: boolean;
1909
- SkipTunnelReplacement?: boolean;
1910
- }
1911
- export interface ModifyVpnTunnelOptionsResult {
1912
- VpnConnection?: VpnConnection;
1913
- }
1914
- export interface MonitorInstancesRequest {
1915
- InstanceIds: string[] | undefined;
1916
- DryRun?: boolean;
1917
- }
1918
1901
  export declare const GetInstanceTpmEkPubResultFilterSensitiveLog: (
1919
1902
  obj: GetInstanceTpmEkPubResult
1920
1903
  ) => any;
@@ -1980,15 +1963,3 @@ export declare const ModifyVpnConnectionResultFilterSensitiveLog: (
1980
1963
  export declare const ModifyVpnConnectionOptionsResultFilterSensitiveLog: (
1981
1964
  obj: ModifyVpnConnectionOptionsResult
1982
1965
  ) => any;
1983
- export declare const ModifyVpnTunnelCertificateResultFilterSensitiveLog: (
1984
- obj: ModifyVpnTunnelCertificateResult
1985
- ) => any;
1986
- export declare const ModifyVpnTunnelOptionsSpecificationFilterSensitiveLog: (
1987
- obj: ModifyVpnTunnelOptionsSpecification
1988
- ) => any;
1989
- export declare const ModifyVpnTunnelOptionsRequestFilterSensitiveLog: (
1990
- obj: ModifyVpnTunnelOptionsRequest
1991
- ) => any;
1992
- export declare const ModifyVpnTunnelOptionsResultFilterSensitiveLog: (
1993
- obj: ModifyVpnTunnelOptionsResult
1994
- ) => any;
@@ -37,7 +37,20 @@ import {
37
37
  ShutdownBehavior,
38
38
  SpotInstanceType,
39
39
  } from "./models_1";
40
- import { SnapshotState, SSEType, TransitGatewayRoute } from "./models_2";
40
+ import {
41
+ IKEVersionsRequestListValue,
42
+ Phase1DHGroupNumbersRequestListValue,
43
+ Phase1EncryptionAlgorithmsRequestListValue,
44
+ Phase1IntegrityAlgorithmsRequestListValue,
45
+ Phase2DHGroupNumbersRequestListValue,
46
+ Phase2EncryptionAlgorithmsRequestListValue,
47
+ Phase2IntegrityAlgorithmsRequestListValue,
48
+ SnapshotState,
49
+ SSEType,
50
+ TransitGatewayRoute,
51
+ VpnConnection,
52
+ VpnTunnelLogOptionsSpecification,
53
+ } from "./models_2";
41
54
  import {
42
55
  ArchitectureValues,
43
56
  BootModeValues,
@@ -47,7 +60,6 @@ import {
47
60
  ImdsSupportValues,
48
61
  InstanceTagNotificationAttribute,
49
62
  IpamPoolCidr,
50
- TpmSupportValues,
51
63
  } from "./models_3";
52
64
  import {
53
65
  HttpTokensState,
@@ -64,15 +76,55 @@ import {
64
76
  PublicIpv4PoolRange,
65
77
  ScheduledInstance,
66
78
  SnapshotAttributeName,
67
- SpotFleetRequestConfigData,
68
79
  SpotPlacement,
80
+ TpmSupportValues,
69
81
  } from "./models_4";
70
82
  import {
71
83
  Purchase,
72
84
  RunInstancesMonitoringEnabled,
85
+ SpotFleetRequestConfigData,
73
86
  SpotInstanceRequest,
74
87
  } from "./models_5";
75
88
  import { CapacityReservationSpecification } from "./models_6";
89
+ export interface ModifyVpnTunnelCertificateResult {
90
+ VpnConnection?: VpnConnection;
91
+ }
92
+ export interface ModifyVpnTunnelOptionsSpecification {
93
+ TunnelInsideCidr?: string;
94
+ TunnelInsideIpv6Cidr?: string;
95
+ PreSharedKey?: string;
96
+ Phase1LifetimeSeconds?: number;
97
+ Phase2LifetimeSeconds?: number;
98
+ RekeyMarginTimeSeconds?: number;
99
+ RekeyFuzzPercentage?: number;
100
+ ReplayWindowSize?: number;
101
+ DPDTimeoutSeconds?: number;
102
+ DPDTimeoutAction?: string;
103
+ Phase1EncryptionAlgorithms?: Phase1EncryptionAlgorithmsRequestListValue[];
104
+ Phase2EncryptionAlgorithms?: Phase2EncryptionAlgorithmsRequestListValue[];
105
+ Phase1IntegrityAlgorithms?: Phase1IntegrityAlgorithmsRequestListValue[];
106
+ Phase2IntegrityAlgorithms?: Phase2IntegrityAlgorithmsRequestListValue[];
107
+ Phase1DHGroupNumbers?: Phase1DHGroupNumbersRequestListValue[];
108
+ Phase2DHGroupNumbers?: Phase2DHGroupNumbersRequestListValue[];
109
+ IKEVersions?: IKEVersionsRequestListValue[];
110
+ StartupAction?: string;
111
+ LogOptions?: VpnTunnelLogOptionsSpecification;
112
+ EnableTunnelLifecycleControl?: boolean;
113
+ }
114
+ export interface ModifyVpnTunnelOptionsRequest {
115
+ VpnConnectionId: string | undefined;
116
+ VpnTunnelOutsideIpAddress: string | undefined;
117
+ TunnelOptions: ModifyVpnTunnelOptionsSpecification | undefined;
118
+ DryRun?: boolean;
119
+ SkipTunnelReplacement?: boolean;
120
+ }
121
+ export interface ModifyVpnTunnelOptionsResult {
122
+ VpnConnection?: VpnConnection;
123
+ }
124
+ export interface MonitorInstancesRequest {
125
+ InstanceIds: string[] | undefined;
126
+ DryRun?: boolean;
127
+ }
76
128
  export interface InstanceMonitoring {
77
129
  InstanceId?: string;
78
130
  Monitoring?: Monitoring;
@@ -103,6 +155,18 @@ export interface MoveByoipCidrToIpamRequest {
103
155
  export interface MoveByoipCidrToIpamResult {
104
156
  ByoipCidr?: ByoipCidr;
105
157
  }
158
+ export interface MoveCapacityReservationInstancesRequest {
159
+ DryRun?: boolean;
160
+ ClientToken?: string;
161
+ SourceCapacityReservationId: string | undefined;
162
+ DestinationCapacityReservationId: string | undefined;
163
+ InstanceCount: number | undefined;
164
+ }
165
+ export interface MoveCapacityReservationInstancesResult {
166
+ SourceCapacityReservation?: CapacityReservation;
167
+ DestinationCapacityReservation?: CapacityReservation;
168
+ InstanceCount?: number;
169
+ }
106
170
  export interface CidrAuthorizationContext {
107
171
  Message: string | undefined;
108
172
  Signature: string | undefined;
@@ -997,6 +1061,18 @@ export interface WithdrawByoipCidrRequest {
997
1061
  export interface WithdrawByoipCidrResult {
998
1062
  ByoipCidr?: ByoipCidr;
999
1063
  }
1064
+ export declare const ModifyVpnTunnelCertificateResultFilterSensitiveLog: (
1065
+ obj: ModifyVpnTunnelCertificateResult
1066
+ ) => any;
1067
+ export declare const ModifyVpnTunnelOptionsSpecificationFilterSensitiveLog: (
1068
+ obj: ModifyVpnTunnelOptionsSpecification
1069
+ ) => any;
1070
+ export declare const ModifyVpnTunnelOptionsRequestFilterSensitiveLog: (
1071
+ obj: ModifyVpnTunnelOptionsRequest
1072
+ ) => any;
1073
+ export declare const ModifyVpnTunnelOptionsResultFilterSensitiveLog: (
1074
+ obj: ModifyVpnTunnelOptionsResult
1075
+ ) => any;
1000
1076
  export declare const RequestSpotFleetRequestFilterSensitiveLog: (
1001
1077
  obj: RequestSpotFleetRequest
1002
1078
  ) => any;
@@ -223,6 +223,10 @@ import {
223
223
  CopySnapshotCommandInput,
224
224
  CopySnapshotCommandOutput,
225
225
  } from "../commands/CopySnapshotCommand";
226
+ import {
227
+ CreateCapacityReservationBySplittingCommandInput,
228
+ CreateCapacityReservationBySplittingCommandOutput,
229
+ } from "../commands/CreateCapacityReservationBySplittingCommand";
226
230
  import {
227
231
  CreateCapacityReservationCommandInput,
228
232
  CreateCapacityReservationCommandOutput,
@@ -2235,6 +2239,10 @@ import {
2235
2239
  MoveByoipCidrToIpamCommandInput,
2236
2240
  MoveByoipCidrToIpamCommandOutput,
2237
2241
  } from "../commands/MoveByoipCidrToIpamCommand";
2242
+ import {
2243
+ MoveCapacityReservationInstancesCommandInput,
2244
+ MoveCapacityReservationInstancesCommandOutput,
2245
+ } from "../commands/MoveCapacityReservationInstancesCommand";
2238
2246
  import {
2239
2247
  ProvisionByoipCidrCommandInput,
2240
2248
  ProvisionByoipCidrCommandOutput,
@@ -2727,6 +2735,10 @@ export declare const se_CreateCapacityReservationCommand: (
2727
2735
  input: CreateCapacityReservationCommandInput,
2728
2736
  context: __SerdeContext
2729
2737
  ) => Promise<__HttpRequest>;
2738
+ export declare const se_CreateCapacityReservationBySplittingCommand: (
2739
+ input: CreateCapacityReservationBySplittingCommandInput,
2740
+ context: __SerdeContext
2741
+ ) => Promise<__HttpRequest>;
2730
2742
  export declare const se_CreateCapacityReservationFleetCommand: (
2731
2743
  input: CreateCapacityReservationFleetCommandInput,
2732
2744
  context: __SerdeContext
@@ -4735,6 +4747,10 @@ export declare const se_MoveByoipCidrToIpamCommand: (
4735
4747
  input: MoveByoipCidrToIpamCommandInput,
4736
4748
  context: __SerdeContext
4737
4749
  ) => Promise<__HttpRequest>;
4750
+ export declare const se_MoveCapacityReservationInstancesCommand: (
4751
+ input: MoveCapacityReservationInstancesCommandInput,
4752
+ context: __SerdeContext
4753
+ ) => Promise<__HttpRequest>;
4738
4754
  export declare const se_ProvisionByoipCidrCommand: (
4739
4755
  input: ProvisionByoipCidrCommandInput,
4740
4756
  context: __SerdeContext
@@ -5227,6 +5243,10 @@ export declare const de_CreateCapacityReservationCommand: (
5227
5243
  output: __HttpResponse,
5228
5244
  context: __SerdeContext
5229
5245
  ) => Promise<CreateCapacityReservationCommandOutput>;
5246
+ export declare const de_CreateCapacityReservationBySplittingCommand: (
5247
+ output: __HttpResponse,
5248
+ context: __SerdeContext
5249
+ ) => Promise<CreateCapacityReservationBySplittingCommandOutput>;
5230
5250
  export declare const de_CreateCapacityReservationFleetCommand: (
5231
5251
  output: __HttpResponse,
5232
5252
  context: __SerdeContext
@@ -7235,6 +7255,10 @@ export declare const de_MoveByoipCidrToIpamCommand: (
7235
7255
  output: __HttpResponse,
7236
7256
  context: __SerdeContext
7237
7257
  ) => Promise<MoveByoipCidrToIpamCommandOutput>;
7258
+ export declare const de_MoveCapacityReservationInstancesCommand: (
7259
+ output: __HttpResponse,
7260
+ context: __SerdeContext
7261
+ ) => Promise<MoveCapacityReservationInstancesCommandOutput>;
7238
7262
  export declare const de_ProvisionByoipCidrCommand: (
7239
7263
  output: __HttpResponse,
7240
7264
  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.624.0",
4
+ "version": "3.629.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",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.624.0",
24
- "@aws-sdk/client-sts": "3.624.0",
25
- "@aws-sdk/core": "3.624.0",
26
- "@aws-sdk/credential-provider-node": "3.624.0",
23
+ "@aws-sdk/client-sso-oidc": "3.629.0",
24
+ "@aws-sdk/client-sts": "3.629.0",
25
+ "@aws-sdk/core": "3.629.0",
26
+ "@aws-sdk/credential-provider-node": "3.629.0",
27
27
  "@aws-sdk/middleware-host-header": "3.620.0",
28
28
  "@aws-sdk/middleware-logger": "3.609.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.620.0",