@aws-sdk/client-ec2 3.658.1 → 3.664.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 (42) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +89 -19
  3. package/dist-cjs/runtimeConfig.js +1 -0
  4. package/dist-es/EC2.js +2 -0
  5. package/dist-es/commands/ModifyInstanceCpuOptionsCommand.js +22 -0
  6. package/dist-es/commands/ModifyVpnConnectionCommand.js +1 -1
  7. package/dist-es/commands/index.js +1 -0
  8. package/dist-es/models/models_6.js +0 -5
  9. package/dist-es/models/models_7.js +4 -0
  10. package/dist-es/protocols/Aws_ec2.js +53 -0
  11. package/dist-es/runtimeConfig.js +2 -1
  12. package/dist-types/EC2.d.ts +7 -0
  13. package/dist-types/EC2Client.d.ts +3 -2
  14. package/dist-types/commands/ModifyInstanceCpuOptionsCommand.d.ts +85 -0
  15. package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +2 -1
  16. package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +1 -2
  17. package/dist-types/commands/index.d.ts +1 -0
  18. package/dist-types/models/models_0.d.ts +7 -8
  19. package/dist-types/models/models_1.d.ts +1 -1
  20. package/dist-types/models/models_2.d.ts +17 -18
  21. package/dist-types/models/models_3.d.ts +4 -4
  22. package/dist-types/models/models_4.d.ts +18 -18
  23. package/dist-types/models/models_5.d.ts +9 -9
  24. package/dist-types/models/models_6.d.ts +82 -92
  25. package/dist-types/models/models_7.d.ts +87 -30
  26. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  27. package/dist-types/runtimeConfig.browser.d.ts +2 -1
  28. package/dist-types/runtimeConfig.d.ts +2 -1
  29. package/dist-types/runtimeConfig.native.d.ts +2 -1
  30. package/dist-types/ts3.4/EC2.d.ts +17 -0
  31. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  32. package/dist-types/ts3.4/commands/ModifyInstanceCpuOptionsCommand.d.ts +51 -0
  33. package/dist-types/ts3.4/commands/ModifyVpnConnectionCommand.d.ts +2 -4
  34. package/dist-types/ts3.4/commands/ModifyVpnConnectionOptionsCommand.d.ts +4 -2
  35. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  36. package/dist-types/ts3.4/models/models_6.d.ts +11 -15
  37. package/dist-types/ts3.4/models/models_7.d.ts +14 -0
  38. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  39. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -3
  40. package/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
  41. package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -3
  42. package/package.json +37 -37
@@ -7953,9 +7953,9 @@ export interface GetConsoleOutputRequest {
7953
7953
  */
7954
7954
  InstanceId: string | undefined;
7955
7955
  /**
7956
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7957
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7958
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7956
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
7957
+ * request, and provides an error response. If you have the required permissions, the error response is
7958
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7959
7959
  * @public
7960
7960
  */
7961
7961
  DryRun?: boolean;
@@ -7992,9 +7992,9 @@ export interface GetConsoleOutputResult {
7992
7992
  */
7993
7993
  export interface GetConsoleScreenshotRequest {
7994
7994
  /**
7995
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7996
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7997
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7995
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
7996
+ * request, and provides an error response. If you have the required permissions, the error response is
7997
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7998
7998
  * @public
7999
7999
  */
8000
8000
  DryRun?: boolean;
@@ -8044,9 +8044,9 @@ export type UnlimitedSupportedInstanceFamily = (typeof UnlimitedSupportedInstanc
8044
8044
  */
8045
8045
  export interface GetDefaultCreditSpecificationRequest {
8046
8046
  /**
8047
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8048
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8049
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8047
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
8048
+ * request, and provides an error response. If you have the required permissions, the error response is
8049
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8050
8050
  * @public
8051
8051
  */
8052
8052
  DryRun?: boolean;
@@ -1,6 +1,6 @@
1
1
  import { _InstanceType, AccessScopeAnalysisFinding, AddedPrincipal, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, Affinity, ApplianceModeSupportValue, AutoPlacement, DnsSupportValue, EnaSrdSpecification, EndDateType, HostMaintenance, HostRecovery, InstanceEventWindow, InstanceMatchCriteria, IpamPoolAllocation, Ipv6SupportValue, SecurityGroupReferencingSupportValue, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
2
2
  import { AttributeValue, CapacityReservationPreference, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, ConnectionTrackingSpecificationRequest, DiskImageFormat, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, HostnameType, InstanceEventWindowTimeRangeRequest, InstanceRequirementsRequest, Ipam, IpamPool, IpamResourceDiscovery, IpamResourceTag, IpamScope, IpamTier, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, NetworkInsightsAccessScopeContent, Placement, PlatformValues, RequestIpamResourceTag, ResponseLaunchTemplateData, SelfServicePortal, ShutdownBehavior, TargetCapacitySpecificationRequest, TargetCapacityUnitType, VolumeType } from "./models_1";
3
- import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IpAddressType, PayerResponsibility, SubnetCidrReservation, SubnetConfiguration, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpnConnection, VpnEcmpSupportValue } from "./models_2";
3
+ import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IpAddressType, PayerResponsibility, SubnetCidrReservation, SubnetConfiguration, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpnEcmpSupportValue } from "./models_2";
4
4
  import { ArchitectureValues, BootModeValues, ConversionTask, Filter, FpgaImageAttribute, FpgaImageAttributeName, IpamPoolCidr, LaunchPermission, PermissionGroup } from "./models_3";
5
5
  import { AnalysisStatus, ArchitectureType, AttributeBooleanValue, CreateVolumePermission, ExcessCapacityTerminationPolicy, HttpTokensState, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceStatusEvent, LaunchTemplateConfig, LockState, ReservedInstancesConfiguration, SnapshotAttributeName, SnapshotDetail, SnapshotTaskDetail, VirtualizationType } from "./models_4";
6
6
  import { InstanceFamilyCreditSpecification, SnapshotBlockPublicAccessState, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_5";
@@ -9,9 +9,9 @@ import { InstanceFamilyCreditSpecification, SnapshotBlockPublicAccessState, Tran
9
9
  */
10
10
  export interface GetInstanceMetadataDefaultsRequest {
11
11
  /**
12
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
13
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
14
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
12
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
13
+ * request, and provides an error response. If you have the required permissions, the error response is
14
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
15
15
  * @public
16
16
  */
17
17
  DryRun?: boolean;
@@ -224,9 +224,9 @@ export interface GetInstanceUefiDataRequest {
224
224
  */
225
225
  InstanceId: string | undefined;
226
226
  /**
227
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
228
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
229
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
227
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
228
+ * request, and provides an error response. If you have the required permissions, the error response is
229
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
230
230
  * @public
231
231
  */
232
232
  DryRun?: boolean;
@@ -1502,9 +1502,9 @@ export interface GetPasswordDataRequest {
1502
1502
  */
1503
1503
  InstanceId: string | undefined;
1504
1504
  /**
1505
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
1506
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
1507
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
1505
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
1506
+ * request, and provides an error response. If you have the required permissions, the error response is
1507
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
1508
1508
  * @public
1509
1509
  */
1510
1510
  DryRun?: boolean;
@@ -4362,9 +4362,9 @@ export interface ModifyClientVpnEndpointResult {
4362
4362
  */
4363
4363
  export interface ModifyDefaultCreditSpecificationRequest {
4364
4364
  /**
4365
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
4366
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
4367
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4365
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
4366
+ * request, and provides an error response. If you have the required permissions, the error response is
4367
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4368
4368
  * @public
4369
4369
  */
4370
4370
  DryRun?: boolean;
@@ -4926,9 +4926,9 @@ export interface ModifyInstanceAttributeRequest {
4926
4926
  */
4927
4927
  DisableApiTermination?: AttributeBooleanValue;
4928
4928
  /**
4929
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
4930
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
4931
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4929
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
4930
+ * request, and provides an error response. If you have the required permissions, the error response is
4931
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4932
4932
  * @public
4933
4933
  */
4934
4934
  DryRun?: boolean;
@@ -5083,6 +5083,55 @@ export interface ModifyInstanceCapacityReservationAttributesResult {
5083
5083
  */
5084
5084
  Return?: boolean;
5085
5085
  }
5086
+ /**
5087
+ * @public
5088
+ */
5089
+ export interface ModifyInstanceCpuOptionsRequest {
5090
+ /**
5091
+ * <p>The ID of the instance to update.</p>
5092
+ * @public
5093
+ */
5094
+ InstanceId: string | undefined;
5095
+ /**
5096
+ * <p>The number of CPU cores to activate for the specified instance.</p>
5097
+ * @public
5098
+ */
5099
+ CoreCount: number | undefined;
5100
+ /**
5101
+ * <p>The number of threads to run for each CPU core.</p>
5102
+ * @public
5103
+ */
5104
+ ThreadsPerCore: number | undefined;
5105
+ /**
5106
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
5107
+ * request, and provides an error response. If you have the required permissions, the error response is
5108
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5109
+ * @public
5110
+ */
5111
+ DryRun?: boolean;
5112
+ }
5113
+ /**
5114
+ * @public
5115
+ */
5116
+ export interface ModifyInstanceCpuOptionsResult {
5117
+ /**
5118
+ * <p>The ID of the instance that was updated.</p>
5119
+ * @public
5120
+ */
5121
+ InstanceId?: string;
5122
+ /**
5123
+ * <p>The number of CPU cores that are running for the specified instance after the
5124
+ * update.</p>
5125
+ * @public
5126
+ */
5127
+ CoreCount?: number;
5128
+ /**
5129
+ * <p>The number of threads that are running per CPU core for the specified
5130
+ * instance after the update.</p>
5131
+ * @public
5132
+ */
5133
+ ThreadsPerCore?: number;
5134
+ }
5086
5135
  /**
5087
5136
  * <p>Describes the credit option for CPU usage of a burstable performance instance.</p>
5088
5137
  * @public
@@ -5108,9 +5157,9 @@ export interface InstanceCreditSpecificationRequest {
5108
5157
  */
5109
5158
  export interface ModifyInstanceCreditSpecificationRequest {
5110
5159
  /**
5111
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
5112
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
5113
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5160
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
5161
+ * request, and provides an error response. If you have the required permissions, the error response is
5162
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5114
5163
  * @public
5115
5164
  */
5116
5165
  DryRun?: boolean;
@@ -5210,9 +5259,9 @@ export interface ModifyInstanceCreditSpecificationResult {
5210
5259
  */
5211
5260
  export interface ModifyInstanceEventStartTimeRequest {
5212
5261
  /**
5213
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
5214
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
5215
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5262
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
5263
+ * request, and provides an error response. If you have the required permissions, the error response is
5264
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5216
5265
  * @public
5217
5266
  */
5218
5267
  DryRun?: boolean;
@@ -5435,9 +5484,9 @@ export interface ModifyInstanceMetadataDefaultsRequest {
5435
5484
  */
5436
5485
  InstanceMetadataTags?: DefaultInstanceMetadataTagsState;
5437
5486
  /**
5438
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
5439
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
5440
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5487
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
5488
+ * request, and provides an error response. If you have the required permissions, the error response is
5489
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5441
5490
  * @public
5442
5491
  */
5443
5492
  DryRun?: boolean;
@@ -6850,11 +6899,10 @@ export interface ModifyTransitGatewayOptions {
6850
6899
  */
6851
6900
  DnsSupport?: DnsSupportValue;
6852
6901
  /**
6853
- * <p>Enables you to reference a security group across VPCs attached to a transit gateway to simplify security group management.
6854
- *
6855
- * </p>
6856
- * <p>This option is disabled by default.</p>
6857
- * <p>For more information about security group referencing, see <a href="https://docs.aws.amazon.com/vpc/latest/tgw/tgw-vpc-attachments.html#vpc-attachment-security">Security group referencing</a> in the <i>Amazon Web Services Transit Gateways Guide</i>.</p>
6902
+ * <note>
6903
+ * <p>This parameter is in preview and may not be available for your account.</p>
6904
+ * </note>
6905
+ * <p>Enables you to reference a security group across VPCs attached to a transit gateway. Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.</p>
6858
6906
  * @public
6859
6907
  */
6860
6908
  SecurityGroupReferencingSupport?: SecurityGroupReferencingSupportValue;
@@ -6997,11 +7045,10 @@ export interface ModifyTransitGatewayVpcAttachmentRequestOptions {
6997
7045
  */
6998
7046
  DnsSupport?: DnsSupportValue;
6999
7047
  /**
7000
- * <p>Enables you to reference a security group across VPCs attached to a transit gateway to simplify security group management.
7001
- *
7002
- * </p>
7003
- * <p>This option is disabled by default.</p>
7004
- * <p>For more information about security group referencing, see <a href="https://docs.aws.amazon.com/vpc/latest/tgw/tgw-vpc-attachments.html#vpc-attachment-security">Security group referencing</a> in the <i>Amazon Web Services Transit Gateways Guide</i>.</p>
7048
+ * <note>
7049
+ * <p>This parameter is in preview and may not be available for your account.</p>
7050
+ * </note>
7051
+ * <p>Enables you to reference a security group across VPCs attached to a transit gateway. Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.</p>
7005
7052
  * @public
7006
7053
  */
7007
7054
  SecurityGroupReferencingSupport?: SecurityGroupReferencingSupportValue;
@@ -8190,59 +8237,6 @@ export interface ModifyVpnConnectionRequest {
8190
8237
  */
8191
8238
  DryRun?: boolean;
8192
8239
  }
8193
- /**
8194
- * @public
8195
- */
8196
- export interface ModifyVpnConnectionResult {
8197
- /**
8198
- * <p>Information about the VPN connection.</p>
8199
- * @public
8200
- */
8201
- VpnConnection?: VpnConnection;
8202
- }
8203
- /**
8204
- * @public
8205
- */
8206
- export interface ModifyVpnConnectionOptionsRequest {
8207
- /**
8208
- * <p>The ID of the Site-to-Site VPN connection. </p>
8209
- * @public
8210
- */
8211
- VpnConnectionId: string | undefined;
8212
- /**
8213
- * <p>The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.</p>
8214
- * <p>Default: <code>0.0.0.0/0</code>
8215
- * </p>
8216
- * @public
8217
- */
8218
- LocalIpv4NetworkCidr?: string;
8219
- /**
8220
- * <p>The IPv4 CIDR on the Amazon Web Services side of the VPN connection.</p>
8221
- * <p>Default: <code>0.0.0.0/0</code>
8222
- * </p>
8223
- * @public
8224
- */
8225
- RemoteIpv4NetworkCidr?: string;
8226
- /**
8227
- * <p>The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.</p>
8228
- * <p>Default: <code>::/0</code>
8229
- * </p>
8230
- * @public
8231
- */
8232
- LocalIpv6NetworkCidr?: string;
8233
- /**
8234
- * <p>The IPv6 CIDR on the Amazon Web Services side of the VPN connection.</p>
8235
- * <p>Default: <code>::/0</code>
8236
- * </p>
8237
- * @public
8238
- */
8239
- RemoteIpv6NetworkCidr?: string;
8240
- /**
8241
- * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8242
- * @public
8243
- */
8244
- DryRun?: boolean;
8245
- }
8246
8240
  /**
8247
8241
  * @internal
8248
8242
  */
@@ -8327,7 +8321,3 @@ export declare const ModifyVerifiedAccessTrustProviderRequestFilterSensitiveLog:
8327
8321
  * @internal
8328
8322
  */
8329
8323
  export declare const ModifyVerifiedAccessTrustProviderResultFilterSensitiveLog: (obj: ModifyVerifiedAccessTrustProviderResult) => any;
8330
- /**
8331
- * @internal
8332
- */
8333
- export declare const ModifyVpnConnectionResultFilterSensitiveLog: (obj: ModifyVpnConnectionResult) => any;
@@ -5,6 +5,59 @@ import { ArchitectureValues, BootModeValues, Byoasn, ClientVpnConnectionStatus,
5
5
  import { HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceNetworkInterfaceSpecification, InstanceState, Monitoring, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, PublicIpv4PoolRange, ScheduledInstance, SnapshotAttributeName, SpotPlacement, TpmSupportValues } from "./models_4";
6
6
  import { Purchase, RunInstancesMonitoringEnabled, SpotFleetRequestConfigData, SpotInstanceRequest } from "./models_5";
7
7
  import { CapacityReservationSpecification } from "./models_6";
8
+ /**
9
+ * @public
10
+ */
11
+ export interface ModifyVpnConnectionResult {
12
+ /**
13
+ * <p>Information about the VPN connection.</p>
14
+ * @public
15
+ */
16
+ VpnConnection?: VpnConnection;
17
+ }
18
+ /**
19
+ * @public
20
+ */
21
+ export interface ModifyVpnConnectionOptionsRequest {
22
+ /**
23
+ * <p>The ID of the Site-to-Site VPN connection. </p>
24
+ * @public
25
+ */
26
+ VpnConnectionId: string | undefined;
27
+ /**
28
+ * <p>The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.</p>
29
+ * <p>Default: <code>0.0.0.0/0</code>
30
+ * </p>
31
+ * @public
32
+ */
33
+ LocalIpv4NetworkCidr?: string;
34
+ /**
35
+ * <p>The IPv4 CIDR on the Amazon Web Services side of the VPN connection.</p>
36
+ * <p>Default: <code>0.0.0.0/0</code>
37
+ * </p>
38
+ * @public
39
+ */
40
+ RemoteIpv4NetworkCidr?: string;
41
+ /**
42
+ * <p>The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.</p>
43
+ * <p>Default: <code>::/0</code>
44
+ * </p>
45
+ * @public
46
+ */
47
+ LocalIpv6NetworkCidr?: string;
48
+ /**
49
+ * <p>The IPv6 CIDR on the Amazon Web Services side of the VPN connection.</p>
50
+ * <p>Default: <code>::/0</code>
51
+ * </p>
52
+ * @public
53
+ */
54
+ RemoteIpv6NetworkCidr?: string;
55
+ /**
56
+ * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
57
+ * @public
58
+ */
59
+ DryRun?: boolean;
60
+ }
8
61
  /**
9
62
  * @public
10
63
  */
@@ -319,9 +372,9 @@ export interface MonitorInstancesRequest {
319
372
  */
320
373
  InstanceIds: string[] | undefined;
321
374
  /**
322
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
323
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
324
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
375
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
376
+ * request, and provides an error response. If you have the required permissions, the error response is
377
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
325
378
  * @public
326
379
  */
327
380
  DryRun?: boolean;
@@ -1008,9 +1061,9 @@ export interface RebootInstancesRequest {
1008
1061
  */
1009
1062
  InstanceIds: string[] | undefined;
1010
1063
  /**
1011
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
1012
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
1013
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
1064
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
1065
+ * request, and provides an error response. If you have the required permissions, the error response is
1066
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
1014
1067
  * @public
1015
1068
  */
1016
1069
  DryRun?: boolean;
@@ -1943,9 +1996,9 @@ export interface ReportInstanceStatusRequest {
1943
1996
  */
1944
1997
  Description?: string;
1945
1998
  /**
1946
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
1947
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
1948
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
1999
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
2000
+ * request, and provides an error response. If you have the required permissions, the error response is
2001
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
1949
2002
  * @public
1950
2003
  */
1951
2004
  DryRun?: boolean;
@@ -2418,9 +2471,9 @@ export interface ResetInstanceAttributeRequest {
2418
2471
  */
2419
2472
  Attribute: InstanceAttributeName | undefined;
2420
2473
  /**
2421
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
2422
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
2423
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
2474
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
2475
+ * request, and provides an error response. If you have the required permissions, the error response is
2476
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
2424
2477
  * @public
2425
2478
  */
2426
2479
  DryRun?: boolean;
@@ -3404,9 +3457,9 @@ export interface RunInstancesRequest {
3404
3457
  */
3405
3458
  DisableApiTermination?: boolean;
3406
3459
  /**
3407
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
3408
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
3409
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
3460
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
3461
+ * request, and provides an error response. If you have the required permissions, the error response is
3462
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
3410
3463
  * @public
3411
3464
  */
3412
3465
  DryRun?: boolean;
@@ -4277,9 +4330,9 @@ export interface SendDiagnosticInterruptRequest {
4277
4330
  */
4278
4331
  InstanceId: string | undefined;
4279
4332
  /**
4280
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
4281
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
4282
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4333
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
4334
+ * request, and provides an error response. If you have the required permissions, the error response is
4335
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4283
4336
  * @public
4284
4337
  */
4285
4338
  DryRun?: boolean;
@@ -4299,9 +4352,9 @@ export interface StartInstancesRequest {
4299
4352
  */
4300
4353
  AdditionalInfo?: string;
4301
4354
  /**
4302
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
4303
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
4304
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4355
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
4356
+ * request, and provides an error response. If you have the required permissions, the error response is
4357
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4305
4358
  * @public
4306
4359
  */
4307
4360
  DryRun?: boolean;
@@ -4470,9 +4523,9 @@ export interface StopInstancesRequest {
4470
4523
  */
4471
4524
  Hibernate?: boolean;
4472
4525
  /**
4473
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
4474
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
4475
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4526
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
4527
+ * request, and provides an error response. If you have the required permissions, the error response is
4528
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4476
4529
  * @public
4477
4530
  */
4478
4531
  DryRun?: boolean;
@@ -4576,9 +4629,9 @@ export interface TerminateInstancesRequest {
4576
4629
  */
4577
4630
  InstanceIds: string[] | undefined;
4578
4631
  /**
4579
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
4580
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
4581
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4632
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
4633
+ * request, and provides an error response. If you have the required permissions, the error response is
4634
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4582
4635
  * @public
4583
4636
  */
4584
4637
  DryRun?: boolean;
@@ -4734,9 +4787,9 @@ export interface UnmonitorInstancesRequest {
4734
4787
  */
4735
4788
  InstanceIds: string[] | undefined;
4736
4789
  /**
4737
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
4738
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
4739
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4790
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
4791
+ * request, and provides an error response. If you have the required permissions, the error response is
4792
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4740
4793
  * @public
4741
4794
  */
4742
4795
  DryRun?: boolean;
@@ -4890,6 +4943,10 @@ export interface WithdrawByoipCidrResult {
4890
4943
  */
4891
4944
  ByoipCidr?: ByoipCidr;
4892
4945
  }
4946
+ /**
4947
+ * @internal
4948
+ */
4949
+ export declare const ModifyVpnConnectionResultFilterSensitiveLog: (obj: ModifyVpnConnectionResult) => any;
4893
4950
  /**
4894
4951
  * @internal
4895
4952
  */
@@ -506,6 +506,7 @@ import { ModifyIdFormatCommandInput, ModifyIdFormatCommandOutput } from "../comm
506
506
  import { ModifyImageAttributeCommandInput, ModifyImageAttributeCommandOutput } from "../commands/ModifyImageAttributeCommand";
507
507
  import { ModifyInstanceAttributeCommandInput, ModifyInstanceAttributeCommandOutput } from "../commands/ModifyInstanceAttributeCommand";
508
508
  import { ModifyInstanceCapacityReservationAttributesCommandInput, ModifyInstanceCapacityReservationAttributesCommandOutput } from "../commands/ModifyInstanceCapacityReservationAttributesCommand";
509
+ import { ModifyInstanceCpuOptionsCommandInput, ModifyInstanceCpuOptionsCommandOutput } from "../commands/ModifyInstanceCpuOptionsCommand";
509
510
  import { ModifyInstanceCreditSpecificationCommandInput, ModifyInstanceCreditSpecificationCommandOutput } from "../commands/ModifyInstanceCreditSpecificationCommand";
510
511
  import { ModifyInstanceEventStartTimeCommandInput, ModifyInstanceEventStartTimeCommandOutput } from "../commands/ModifyInstanceEventStartTimeCommand";
511
512
  import { ModifyInstanceEventWindowCommandInput, ModifyInstanceEventWindowCommandOutput } from "../commands/ModifyInstanceEventWindowCommand";
@@ -2651,6 +2652,10 @@ export declare const se_ModifyInstanceAttributeCommand: (input: ModifyInstanceAt
2651
2652
  * serializeAws_ec2ModifyInstanceCapacityReservationAttributesCommand
2652
2653
  */
2653
2654
  export declare const se_ModifyInstanceCapacityReservationAttributesCommand: (input: ModifyInstanceCapacityReservationAttributesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2655
+ /**
2656
+ * serializeAws_ec2ModifyInstanceCpuOptionsCommand
2657
+ */
2658
+ export declare const se_ModifyInstanceCpuOptionsCommand: (input: ModifyInstanceCpuOptionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2654
2659
  /**
2655
2660
  * serializeAws_ec2ModifyInstanceCreditSpecificationCommand
2656
2661
  */
@@ -5159,6 +5164,10 @@ export declare const de_ModifyInstanceAttributeCommand: (output: __HttpResponse,
5159
5164
  * deserializeAws_ec2ModifyInstanceCapacityReservationAttributesCommand
5160
5165
  */
5161
5166
  export declare const de_ModifyInstanceCapacityReservationAttributesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ModifyInstanceCapacityReservationAttributesCommandOutput>;
5167
+ /**
5168
+ * deserializeAws_ec2ModifyInstanceCpuOptionsCommand
5169
+ */
5170
+ export declare const de_ModifyInstanceCpuOptionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ModifyInstanceCpuOptionsCommandOutput>;
5162
5171
  /**
5163
5172
  * deserializeAws_ec2ModifyInstanceCreditSpecificationCommand
5164
5173
  */
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
11
- defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
11
+ defaultUserAgentProvider: (config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
14
14
  requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
29
29
  logger: import("@smithy/types").Logger;
30
30
  extensions: import("./runtimeExtensions").RuntimeExtension[];
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
+ userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
32
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
33
34
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
34
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
11
- defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
11
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
14
14
  requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
@@ -17,6 +17,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
17
17
  streamCollector: import("@smithy/types").StreamCollector;
18
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
19
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
20
21
  apiVersion: string;
21
22
  cacheMiddleware?: boolean | undefined;
22
23
  urlParser: import("@smithy/types").UrlParser;
@@ -20,7 +20,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
20
20
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
22
  region: string | import("@smithy/types").Provider<any>;
23
- defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
23
+ defaultUserAgentProvider: (config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
24
24
  credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
25
  maxAttempts: number | import("@smithy/types").Provider<number>;
26
26
  retryMode: string | import("@smithy/types").Provider<string>;
@@ -28,6 +28,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
28
28
  extensions: import("./runtimeExtensions").RuntimeExtension[];
29
29
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
30
30
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
31
+ userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
31
32
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
32
33
  endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
33
34
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
@@ -2023,6 +2023,10 @@ import {
2023
2023
  ModifyInstanceCapacityReservationAttributesCommandInput,
2024
2024
  ModifyInstanceCapacityReservationAttributesCommandOutput,
2025
2025
  } from "./commands/ModifyInstanceCapacityReservationAttributesCommand";
2026
+ import {
2027
+ ModifyInstanceCpuOptionsCommandInput,
2028
+ ModifyInstanceCpuOptionsCommandOutput,
2029
+ } from "./commands/ModifyInstanceCpuOptionsCommand";
2026
2030
  import {
2027
2031
  ModifyInstanceCreditSpecificationCommandInput,
2028
2032
  ModifyInstanceCreditSpecificationCommandOutput,
@@ -9907,6 +9911,19 @@ export interface EC2 {
9907
9911
  data?: ModifyInstanceCapacityReservationAttributesCommandOutput
9908
9912
  ) => void
9909
9913
  ): void;
9914
+ modifyInstanceCpuOptions(
9915
+ args: ModifyInstanceCpuOptionsCommandInput,
9916
+ options?: __HttpHandlerOptions
9917
+ ): Promise<ModifyInstanceCpuOptionsCommandOutput>;
9918
+ modifyInstanceCpuOptions(
9919
+ args: ModifyInstanceCpuOptionsCommandInput,
9920
+ cb: (err: any, data?: ModifyInstanceCpuOptionsCommandOutput) => void
9921
+ ): void;
9922
+ modifyInstanceCpuOptions(
9923
+ args: ModifyInstanceCpuOptionsCommandInput,
9924
+ options: __HttpHandlerOptions,
9925
+ cb: (err: any, data?: ModifyInstanceCpuOptionsCommandOutput) => void
9926
+ ): void;
9910
9927
  modifyInstanceCreditSpecification(
9911
9928
  args: ModifyInstanceCreditSpecificationCommandInput,
9912
9929
  options?: __HttpHandlerOptions