@aws-sdk/client-ec2 3.798.0 → 3.800.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 (44) hide show
  1. package/dist-cjs/index.js +29 -12
  2. package/dist-cjs/runtimeConfig.js +1 -0
  3. package/dist-es/commands/DescribeConversionTasksCommand.js +1 -1
  4. package/dist-es/models/models_1.js +4 -6
  5. package/dist-es/models/models_2.js +7 -1
  6. package/dist-es/models/models_4.js +1 -1
  7. package/dist-es/models/models_6.js +0 -4
  8. package/dist-es/models/models_7.js +4 -1
  9. package/dist-es/protocols/Aws_ec2.js +11 -0
  10. package/dist-es/runtimeConfig.js +2 -1
  11. package/dist-types/commands/CreateIpamCommand.d.ts +2 -0
  12. package/dist-types/commands/DeleteIpamCommand.d.ts +1 -0
  13. package/dist-types/commands/DescribeCapacityBlockOfferingsCommand.d.ts +1 -13
  14. package/dist-types/commands/DescribeConversionTasksCommand.d.ts +1 -2
  15. package/dist-types/commands/DescribeIpamsCommand.d.ts +1 -0
  16. package/dist-types/commands/DescribeManagedPrefixListsCommand.d.ts +2 -1
  17. package/dist-types/commands/DisableImageDeregistrationProtectionCommand.d.ts +1 -2
  18. package/dist-types/commands/ModifyIpamCommand.d.ts +2 -0
  19. package/dist-types/commands/RestoreAddressToClassicCommand.d.ts +2 -1
  20. package/dist-types/commands/StopInstancesCommand.d.ts +23 -27
  21. package/dist-types/commands/TerminateInstancesCommand.d.ts +6 -6
  22. package/dist-types/models/models_1.d.ts +66 -66
  23. package/dist-types/models/models_2.d.ts +54 -26
  24. package/dist-types/models/models_3.d.ts +36 -23
  25. package/dist-types/models/models_4.d.ts +19 -17
  26. package/dist-types/models/models_5.d.ts +16 -18
  27. package/dist-types/models/models_6.d.ts +17 -29
  28. package/dist-types/models/models_7.d.ts +46 -16
  29. package/dist-types/models/models_8.d.ts +24 -5
  30. package/dist-types/runtimeConfig.d.ts +1 -1
  31. package/dist-types/ts3.4/commands/DescribeConversionTasksCommand.d.ts +4 -2
  32. package/dist-types/ts3.4/commands/DescribeManagedPrefixListsCommand.d.ts +2 -4
  33. package/dist-types/ts3.4/commands/DisableImageDeregistrationProtectionCommand.d.ts +4 -2
  34. package/dist-types/ts3.4/commands/RestoreAddressToClassicCommand.d.ts +2 -4
  35. package/dist-types/ts3.4/models/models_1.d.ts +8 -14
  36. package/dist-types/ts3.4/models/models_2.d.ts +15 -6
  37. package/dist-types/ts3.4/models/models_3.d.ts +5 -5
  38. package/dist-types/ts3.4/models/models_4.d.ts +5 -6
  39. package/dist-types/ts3.4/models/models_5.d.ts +5 -4
  40. package/dist-types/ts3.4/models/models_6.d.ts +4 -8
  41. package/dist-types/ts3.4/models/models_7.d.ts +11 -5
  42. package/dist-types/ts3.4/models/models_8.d.ts +5 -0
  43. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -4
  44. package/package.json +5 -5
@@ -1,10 +1,35 @@
1
1
  import { AddedPrincipal, AddIpamOperatingRegion, AddIpamOrganizationalUnitExclusion, AddPrefixListEntry, AddressAttribute, AddressAttributeName, Affinity, ApplianceModeSupportValue, AutoPlacement, ByoipCidr, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, HostMaintenance, HostRecovery, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, Ipv6SupportValue, PortRange, RouteTableAssociationState, SecurityGroupReferencingSupportValue, Tag, TagSpecification, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
2
- import { _InstanceType, AttributeValue, BlockDeviceMapping, CapacityReservation, CapacityReservationInstancePlatform, CapacityReservationPreference, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ClientRouteEnforcementOptions, ConnectionLogOptions, ConnectionTrackingSpecificationRequest, EndDateType, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, HostnameType, InstanceBandwidthWeighting, InstanceEventWindowTimeRangeRequest, InstanceInterruptionBehavior, InstanceMatchCriteria, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, IpamTier, LaunchTemplate, Placement, PlatformValues, RequestIpamResourceTag, SelfServicePortal, ShutdownBehavior, SpotInstanceType, TargetCapacitySpecificationRequest, VolumeType } from "./models_1";
2
+ import { _InstanceType, AttributeValue, BlockDeviceMapping, CapacityReservation, CapacityReservationInstancePlatform, CapacityReservationPreference, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ClientRouteEnforcementOptions, ConnectionLogOptions, ConnectionTrackingSpecificationRequest, DiskImageFormat, EndDateType, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, HostnameType, InstanceBandwidthWeighting, InstanceEventWindowTimeRangeRequest, InstanceInterruptionBehavior, InstanceMatchCriteria, Ipam, IpamMeteredAccount, IpamPool, IpamResourceDiscovery, IpamScope, IpamTier, LaunchTemplate, Placement, PlatformValues, RequestIpamResourceTag, SelfServicePortal, ShutdownBehavior, SpotInstanceType, TargetCapacitySpecificationRequest, VolumeType } from "./models_1";
3
3
  import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IcmpTypeCode, IKEVersionsRequestListValue, InternetGatewayExclusionMode, IpAddressType, LocalGatewayRoute, ManagedPrefixList, PayerResponsibility, RouteServer, RouteServerPersistRoutesAction, RuleAction, SubnetConfiguration, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, TransitGatewayRoute, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpcBlockPublicAccessExclusion, VpnEcmpSupportValue } from "./models_2";
4
4
  import { Byoasn, CapacityBlockExtension, InstanceTagNotificationAttribute, IpamPoolCidr, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, VpnConnection, VpnTunnelLogOptionsSpecification } from "./models_3";
5
5
  import { ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceStatusEvent, LaunchPermission, LockState, Monitoring, PermissionGroup, SnapshotTaskDetail, TpmSupportValues } from "./models_4";
6
6
  import { CreateVolumePermission, ExcessCapacityTerminationPolicy, InstanceNetworkInterfaceSpecification, InternetGatewayBlockMode, LaunchTemplateConfig, PublicIpv4PoolRange, ReservedInstancesConfiguration, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement, VerifiedAccessInstanceLoggingConfiguration, VolumeModification, VpcBlockPublicAccessOptions } from "./models_5";
7
- import { ClientData, DiskImageDetail, InstanceFamilyCreditSpecification, IpamResourceCidr, Purchase, UnlimitedSupportedInstanceFamily, UserBucket } from "./models_6";
7
+ import { ClientData, InstanceFamilyCreditSpecification, IpamResourceCidr, Purchase, UnlimitedSupportedInstanceFamily, UserBucket } from "./models_6";
8
+ /**
9
+ * <p>Describes a disk image.</p>
10
+ * @public
11
+ */
12
+ export interface DiskImageDetail {
13
+ /**
14
+ * <p>The disk image format.</p>
15
+ * @public
16
+ */
17
+ Format: DiskImageFormat | undefined;
18
+ /**
19
+ * <p>The size of the disk image, in GiB.</p>
20
+ * @public
21
+ */
22
+ Bytes: number | undefined;
23
+ /**
24
+ * <p>A presigned URL for the import manifest stored in Amazon S3 and presented here as an Amazon S3 presigned URL.
25
+ * For information about creating a presigned URL for an Amazon S3 object, read the "Query String Request Authentication
26
+ * Alternative" section of the <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html">Authenticating REST Requests</a> topic in the <i>Amazon Simple Storage Service Developer
27
+ * Guide</i>.</p>
28
+ * <p>For information about the import manifest referenced by this API action, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html">VM Import Manifest</a>.</p>
29
+ * @public
30
+ */
31
+ ImportManifestUrl: string | undefined;
32
+ }
8
33
  /**
9
34
  * <p>Describes an EBS volume.</p>
10
35
  * @public
@@ -1063,7 +1088,7 @@ export interface ModifyClientVpnEndpointRequest {
1063
1088
  */
1064
1089
  ClientRouteEnforcementOptions?: ClientRouteEnforcementOptions | undefined;
1065
1090
  /**
1066
- * <p>Indicates whether the client VPN session is disconnected after the maximum timeout specified in <code>sessionTimeoutHours</code> is reached. If <code>true</code>, users are prompted to reconnect client VPN. If <code>false</code>, client VPN attempts to reconnect automatically. The default value is <code>false</code>.</p>
1091
+ * <p>Indicates whether the client VPN session is disconnected after the maximum timeout specified in <code>sessionTimeoutHours</code> is reached. If <code>true</code>, users are prompted to reconnect client VPN. If <code>false</code>, client VPN attempts to reconnect automatically. The default value is <code>true</code>.</p>
1067
1092
  * @public
1068
1093
  */
1069
1094
  DisconnectOnSessionTimeout?: boolean | undefined;
@@ -2537,6 +2562,22 @@ export interface ModifyIpamRequest {
2537
2562
  * @public
2538
2563
  */
2539
2564
  EnablePrivateGua?: boolean | undefined;
2565
+ /**
2566
+ * <p>A metered account is an Amazon Web Services account that is charged for active IP addresses managed in IPAM. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/ipam-enable-cost-distro.html">Enable cost distribution</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
2567
+ * <p>Possible values:</p>
2568
+ * <ul>
2569
+ * <li>
2570
+ * <p>
2571
+ * <code>ipam-owner</code> (default): The Amazon Web Services account which owns the IPAM is charged for all active IP addresses managed in IPAM.</p>
2572
+ * </li>
2573
+ * <li>
2574
+ * <p>
2575
+ * <code>resource-owner</code>: The Amazon Web Services account that owns the IP address is charged for the active IP address.</p>
2576
+ * </li>
2577
+ * </ul>
2578
+ * @public
2579
+ */
2580
+ MeteredAccount?: IpamMeteredAccount | undefined;
2540
2581
  }
2541
2582
  /**
2542
2583
  * @public
@@ -8037,20 +8078,9 @@ export interface RestoreAddressToClassicRequest {
8037
8078
  PublicIp: string | undefined;
8038
8079
  }
8039
8080
  /**
8040
- * @public
8081
+ * @internal
8041
8082
  */
8042
- export interface RestoreAddressToClassicResult {
8043
- /**
8044
- * <p>The Elastic IP address.</p>
8045
- * @public
8046
- */
8047
- PublicIp?: string | undefined;
8048
- /**
8049
- * <p>The move status for the IP address.</p>
8050
- * @public
8051
- */
8052
- Status?: Status | undefined;
8053
- }
8083
+ export declare const DiskImageDetailFilterSensitiveLog: (obj: DiskImageDetail) => any;
8054
8084
  /**
8055
8085
  * @internal
8056
8086
  */
@@ -4,7 +4,22 @@ import { LocalGatewayRoute, ManagedPrefixList, SnapshotState, SSEType, TransitGa
4
4
  import { ClientVpnConnectionStatus, Filter } from "./models_3";
5
5
  import { HttpTokensState, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceState } from "./models_4";
6
6
  import { InstanceNetworkInterfaceSpecification, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, RunInstancesMonitoringEnabled } from "./models_5";
7
- import { CapacityReservationSpecification, InstanceMonitoring } from "./models_7";
7
+ import { CapacityReservationSpecification, InstanceMonitoring, Status } from "./models_7";
8
+ /**
9
+ * @public
10
+ */
11
+ export interface RestoreAddressToClassicResult {
12
+ /**
13
+ * <p>The Elastic IP address.</p>
14
+ * @public
15
+ */
16
+ PublicIp?: string | undefined;
17
+ /**
18
+ * <p>The move status for the IP address.</p>
19
+ * @public
20
+ */
21
+ Status?: Status | undefined;
22
+ }
8
23
  /**
9
24
  * @public
10
25
  */
@@ -2146,10 +2161,14 @@ export interface StopInstancesRequest {
2146
2161
  */
2147
2162
  DryRun?: boolean | undefined;
2148
2163
  /**
2149
- * <p>Forces the instances to stop. The instances do not have an opportunity to flush file
2150
- * system caches or file system metadata. If you use this option, you must perform file
2151
- * system check and repair procedures. This option is not recommended for Windows
2152
- * instances.</p>
2164
+ * <p>Forces the instance to stop. The instance will first attempt a graceful shutdown,
2165
+ * which includes flushing file system caches and metadata. If the graceful shutdown fails
2166
+ * to complete within the timeout period, the instance shuts down forcibly without flushing
2167
+ * the file system caches and metadata.</p>
2168
+ * <p>After using this option, you must perform file system check and repair procedures.
2169
+ * This option is not recommended for Windows instances. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesStopping.html">Troubleshoot
2170
+ * Amazon EC2 instance stop issues</a> in the
2171
+ * <i>Amazon EC2 User Guide</i>.</p>
2153
2172
  * <p>Default: <code>false</code>
2154
2173
  * </p>
2155
2174
  * @public
@@ -6,6 +6,7 @@ import { EC2ClientConfig } from "./EC2Client";
6
6
  export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
9
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
11
  credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
12
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
@@ -38,7 +39,6 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
38
39
  }) => import("@smithy/types").EndpointV2;
39
40
  tls?: boolean | undefined;
40
41
  serviceConfiguredEndpoint?: undefined;
41
- authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
42
42
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
43
43
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").EC2HttpAuthSchemeProvider;
44
44
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { DescribeConversionTasksRequest } from "../models/models_3";
9
- import { DescribeConversionTasksResult } from "../models/models_4";
8
+ import {
9
+ DescribeConversionTasksRequest,
10
+ DescribeConversionTasksResult,
11
+ } from "../models/models_4";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface DescribeConversionTasksCommandInput
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- DescribeManagedPrefixListsRequest,
10
- DescribeManagedPrefixListsResult,
11
- } from "../models/models_4";
8
+ import { DescribeManagedPrefixListsRequest } from "../models/models_4";
9
+ import { DescribeManagedPrefixListsResult } from "../models/models_5";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface DescribeManagedPrefixListsCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { DisableImageDeregistrationProtectionRequest } from "../models/models_5";
9
- import { DisableImageDeregistrationProtectionResult } from "../models/models_6";
8
+ import {
9
+ DisableImageDeregistrationProtectionRequest,
10
+ DisableImageDeregistrationProtectionResult,
11
+ } from "../models/models_6";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface DisableImageDeregistrationProtectionCommandInput
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- RestoreAddressToClassicRequest,
10
- RestoreAddressToClassicResult,
11
- } from "../models/models_7";
8
+ import { RestoreAddressToClassicRequest } from "../models/models_7";
9
+ import { RestoreAddressToClassicResult } from "../models/models_8";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface RestoreAddressToClassicCommandInput
@@ -2157,6 +2157,12 @@ export interface InternetGateway {
2157
2157
  export interface CreateInternetGatewayResult {
2158
2158
  InternetGateway?: InternetGateway | undefined;
2159
2159
  }
2160
+ export declare const IpamMeteredAccount: {
2161
+ readonly ipam_owner: "ipam-owner";
2162
+ readonly resource_owner: "resource-owner";
2163
+ };
2164
+ export type IpamMeteredAccount =
2165
+ (typeof IpamMeteredAccount)[keyof typeof IpamMeteredAccount];
2160
2166
  export declare const IpamTier: {
2161
2167
  readonly advanced: "advanced";
2162
2168
  readonly free: "free";
@@ -2170,6 +2176,7 @@ export interface CreateIpamRequest {
2170
2176
  ClientToken?: string | undefined;
2171
2177
  Tier?: IpamTier | undefined;
2172
2178
  EnablePrivateGua?: boolean | undefined;
2179
+ MeteredAccount?: IpamMeteredAccount | undefined;
2173
2180
  }
2174
2181
  export interface IpamOperatingRegion {
2175
2182
  RegionName?: string | undefined;
@@ -2207,6 +2214,7 @@ export interface Ipam {
2207
2214
  StateMessage?: string | undefined;
2208
2215
  Tier?: IpamTier | undefined;
2209
2216
  EnablePrivateGua?: boolean | undefined;
2217
+ MeteredAccount?: IpamMeteredAccount | undefined;
2210
2218
  }
2211
2219
  export interface CreateIpamResult {
2212
2220
  Ipam?: Ipam | undefined;
@@ -2979,17 +2987,6 @@ export interface ResponseLaunchTemplateData {
2979
2987
  | LaunchTemplateNetworkPerformanceOptions
2980
2988
  | undefined;
2981
2989
  }
2982
- export interface LaunchTemplateVersion {
2983
- LaunchTemplateId?: string | undefined;
2984
- LaunchTemplateName?: string | undefined;
2985
- VersionNumber?: number | undefined;
2986
- VersionDescription?: string | undefined;
2987
- CreateTime?: Date | undefined;
2988
- CreatedBy?: string | undefined;
2989
- DefaultVersion?: boolean | undefined;
2990
- LaunchTemplateData?: ResponseLaunchTemplateData | undefined;
2991
- Operator?: OperatorResponse | undefined;
2992
- }
2993
2990
  export declare const CopySnapshotRequestFilterSensitiveLog: (
2994
2991
  obj: CopySnapshotRequest
2995
2992
  ) => any;
@@ -3006,6 +3003,3 @@ export declare const CreateLaunchTemplateVersionRequestFilterSensitiveLog: (
3006
3003
  export declare const ResponseLaunchTemplateDataFilterSensitiveLog: (
3007
3004
  obj: ResponseLaunchTemplateData
3008
3005
  ) => any;
3009
- export declare const LaunchTemplateVersionFilterSensitiveLog: (
3010
- obj: LaunchTemplateVersion
3011
- ) => any;
@@ -35,16 +35,27 @@ import {
35
35
  InstanceIpv6Address,
36
36
  Ipv4PrefixSpecificationRequest,
37
37
  Ipv6PrefixSpecificationRequest,
38
- LaunchTemplateVersion,
39
38
  OperatorRequest,
40
39
  OperatorResponse,
41
40
  PrivateIpAddressSpecification,
41
+ ResponseLaunchTemplateData,
42
42
  Subnet,
43
43
  Tenancy,
44
44
  ValidationWarning,
45
45
  VolumeType,
46
46
  Vpc,
47
47
  } from "./models_1";
48
+ export interface LaunchTemplateVersion {
49
+ LaunchTemplateId?: string | undefined;
50
+ LaunchTemplateName?: string | undefined;
51
+ VersionNumber?: number | undefined;
52
+ VersionDescription?: string | undefined;
53
+ CreateTime?: Date | undefined;
54
+ CreatedBy?: string | undefined;
55
+ DefaultVersion?: boolean | undefined;
56
+ LaunchTemplateData?: ResponseLaunchTemplateData | undefined;
57
+ Operator?: OperatorResponse | undefined;
58
+ }
48
59
  export interface CreateLaunchTemplateVersionResult {
49
60
  LaunchTemplateVersion?: LaunchTemplateVersion | undefined;
50
61
  Warning?: ValidationWarning | undefined;
@@ -2219,11 +2230,9 @@ export type TunnelInsideIpVersion =
2219
2230
  export interface IKEVersionsRequestListValue {
2220
2231
  Value?: string | undefined;
2221
2232
  }
2222
- export interface CloudWatchLogOptionsSpecification {
2223
- LogEnabled?: boolean | undefined;
2224
- LogGroupArn?: string | undefined;
2225
- LogOutputFormat?: string | undefined;
2226
- }
2233
+ export declare const LaunchTemplateVersionFilterSensitiveLog: (
2234
+ obj: LaunchTemplateVersion
2235
+ ) => any;
2227
2236
  export declare const CreateLaunchTemplateVersionResultFilterSensitiveLog: (
2228
2237
  obj: CreateLaunchTemplateVersionResult
2229
2238
  ) => any;
@@ -43,7 +43,6 @@ import {
43
43
  TransportProtocol,
44
44
  } from "./models_1";
45
45
  import {
46
- CloudWatchLogOptionsSpecification,
47
46
  GroupIdentifier,
48
47
  IKEVersionsRequestListValue,
49
48
  LocalGatewayRoute,
@@ -69,6 +68,11 @@ import {
69
68
  VerifiedAccessGroup,
70
69
  VpcBlockPublicAccessExclusion,
71
70
  } from "./models_2";
71
+ export interface CloudWatchLogOptionsSpecification {
72
+ LogEnabled?: boolean | undefined;
73
+ LogGroupArn?: string | undefined;
74
+ LogOutputFormat?: string | undefined;
75
+ }
72
76
  export interface VpnTunnelLogOptionsSpecification {
73
77
  CloudWatchLogOptions?: CloudWatchLogOptionsSpecification | undefined;
74
78
  }
@@ -1591,10 +1595,6 @@ export interface DescribeCoipPoolsResult {
1591
1595
  CoipPools?: CoipPool[] | undefined;
1592
1596
  NextToken?: string | undefined;
1593
1597
  }
1594
- export interface DescribeConversionTasksRequest {
1595
- DryRun?: boolean | undefined;
1596
- ConversionTaskIds?: string[] | undefined;
1597
- }
1598
1598
  export declare const VpnTunnelOptionsSpecificationFilterSensitiveLog: (
1599
1599
  obj: VpnTunnelOptionsSpecification
1600
1600
  ) => any;
@@ -48,7 +48,6 @@ import {
48
48
  KeyType,
49
49
  LaunchTemplate,
50
50
  LaunchTemplateAndOverridesResponse,
51
- LaunchTemplateVersion,
52
51
  LogDestinationType,
53
52
  OperatorResponse,
54
53
  Placement,
@@ -60,10 +59,10 @@ import {
60
59
  } from "./models_1";
61
60
  import {
62
61
  GroupIdentifier,
62
+ LaunchTemplateVersion,
63
63
  LocalGatewayRouteTable,
64
64
  LocalGatewayRouteTableVirtualInterfaceGroupAssociation,
65
65
  LocalGatewayRouteTableVpcAssociation,
66
- ManagedPrefixList,
67
66
  NetworkInterfaceStatus,
68
67
  StateReason,
69
68
  } from "./models_2";
@@ -74,6 +73,10 @@ import {
74
73
  IdFormat,
75
74
  InstanceTagNotificationAttribute,
76
75
  } from "./models_3";
76
+ export interface DescribeConversionTasksRequest {
77
+ DryRun?: boolean | undefined;
78
+ ConversionTaskIds?: string[] | undefined;
79
+ }
77
80
  export interface DiskImageDescription {
78
81
  Checksum?: string | undefined;
79
82
  Format?: DiskImageFormat | undefined;
@@ -2095,10 +2098,6 @@ export interface DescribeManagedPrefixListsRequest {
2095
2098
  NextToken?: string | undefined;
2096
2099
  PrefixListIds?: string[] | undefined;
2097
2100
  }
2098
- export interface DescribeManagedPrefixListsResult {
2099
- NextToken?: string | undefined;
2100
- PrefixLists?: ManagedPrefixList[] | undefined;
2101
- }
2102
2101
  export declare const DiskImageDescriptionFilterSensitiveLog: (
2103
2102
  obj: DiskImageDescription
2104
2103
  ) => any;
@@ -56,6 +56,7 @@ import {
56
56
  DnsNameState,
57
57
  GroupIdentifier,
58
58
  IpAddressType,
59
+ ManagedPrefixList,
59
60
  NatGateway,
60
61
  NetworkAcl,
61
62
  NetworkInsightsAccessScope,
@@ -115,6 +116,10 @@ import {
115
116
  PermissionGroup,
116
117
  ProductCode,
117
118
  } from "./models_4";
119
+ export interface DescribeManagedPrefixListsResult {
120
+ NextToken?: string | undefined;
121
+ PrefixLists?: ManagedPrefixList[] | undefined;
122
+ }
118
123
  export interface DescribeMovingAddressesRequest {
119
124
  DryRun?: boolean | undefined;
120
125
  PublicIps?: string[] | undefined;
@@ -1988,10 +1993,6 @@ export interface DisableImageDeprecationRequest {
1988
1993
  export interface DisableImageDeprecationResult {
1989
1994
  Return?: boolean | undefined;
1990
1995
  }
1991
- export interface DisableImageDeregistrationProtectionRequest {
1992
- ImageId: string | undefined;
1993
- DryRun?: boolean | undefined;
1994
- }
1995
1996
  export declare const SpotFleetLaunchSpecificationFilterSensitiveLog: (
1996
1997
  obj: SpotFleetLaunchSpecification
1997
1998
  ) => any;
@@ -67,6 +67,10 @@ import {
67
67
  VirtualizationType,
68
68
  } from "./models_4";
69
69
  import { AnalysisStatus, ManagedBy } from "./models_5";
70
+ export interface DisableImageDeregistrationProtectionRequest {
71
+ ImageId: string | undefined;
72
+ DryRun?: boolean | undefined;
73
+ }
70
74
  export interface DisableImageDeregistrationProtectionResult {
71
75
  Return?: string | undefined;
72
76
  }
@@ -1674,11 +1678,6 @@ export interface ImportImageResult {
1674
1678
  Tags?: Tag[] | undefined;
1675
1679
  UsageOperation?: string | undefined;
1676
1680
  }
1677
- export interface DiskImageDetail {
1678
- Format: DiskImageFormat | undefined;
1679
- Bytes: number | undefined;
1680
- ImportManifestUrl: string | undefined;
1681
- }
1682
1681
  export declare const VerifiedAccessInstanceUserTrustProviderClientConfigurationFilterSensitiveLog: (
1683
1682
  obj: VerifiedAccessInstanceUserTrustProviderClientConfiguration
1684
1683
  ) => any;
@@ -1706,6 +1705,3 @@ export declare const ImportImageRequestFilterSensitiveLog: (
1706
1705
  export declare const ImportImageResultFilterSensitiveLog: (
1707
1706
  obj: ImportImageResult
1708
1707
  ) => any;
1709
- export declare const DiskImageDetailFilterSensitiveLog: (
1710
- obj: DiskImageDetail
1711
- ) => any;
@@ -44,6 +44,7 @@ import {
44
44
  ClientRouteEnforcementOptions,
45
45
  ConnectionLogOptions,
46
46
  ConnectionTrackingSpecificationRequest,
47
+ DiskImageFormat,
47
48
  EndDateType,
48
49
  FleetExcessCapacityTerminationPolicy,
49
50
  FleetLaunchTemplateConfigRequest,
@@ -53,6 +54,7 @@ import {
53
54
  InstanceInterruptionBehavior,
54
55
  InstanceMatchCriteria,
55
56
  Ipam,
57
+ IpamMeteredAccount,
56
58
  IpamPool,
57
59
  IpamResourceDiscovery,
58
60
  IpamScope,
@@ -157,13 +159,17 @@ import {
157
159
  } from "./models_5";
158
160
  import {
159
161
  ClientData,
160
- DiskImageDetail,
161
162
  InstanceFamilyCreditSpecification,
162
163
  IpamResourceCidr,
163
164
  Purchase,
164
165
  UnlimitedSupportedInstanceFamily,
165
166
  UserBucket,
166
167
  } from "./models_6";
168
+ export interface DiskImageDetail {
169
+ Format: DiskImageFormat | undefined;
170
+ Bytes: number | undefined;
171
+ ImportManifestUrl: string | undefined;
172
+ }
167
173
  export interface VolumeDetail {
168
174
  Size: number | undefined;
169
175
  }
@@ -674,6 +680,7 @@ export interface ModifyIpamRequest {
674
680
  RemoveOperatingRegions?: RemoveIpamOperatingRegion[] | undefined;
675
681
  Tier?: IpamTier | undefined;
676
682
  EnablePrivateGua?: boolean | undefined;
683
+ MeteredAccount?: IpamMeteredAccount | undefined;
677
684
  }
678
685
  export interface ModifyIpamResult {
679
686
  Ipam?: Ipam | undefined;
@@ -1875,10 +1882,9 @@ export interface RestoreAddressToClassicRequest {
1875
1882
  DryRun?: boolean | undefined;
1876
1883
  PublicIp: string | undefined;
1877
1884
  }
1878
- export interface RestoreAddressToClassicResult {
1879
- PublicIp?: string | undefined;
1880
- Status?: Status | undefined;
1881
- }
1885
+ export declare const DiskImageDetailFilterSensitiveLog: (
1886
+ obj: DiskImageDetail
1887
+ ) => any;
1882
1888
  export declare const DiskImageFilterSensitiveLog: (obj: DiskImage) => any;
1883
1889
  export declare const UserDataFilterSensitiveLog: (obj: UserData) => any;
1884
1890
  export declare const ImportInstanceLaunchSpecificationFilterSensitiveLog: (
@@ -48,7 +48,12 @@ import {
48
48
  import {
49
49
  CapacityReservationSpecification,
50
50
  InstanceMonitoring,
51
+ Status,
51
52
  } from "./models_7";
53
+ export interface RestoreAddressToClassicResult {
54
+ PublicIp?: string | undefined;
55
+ Status?: Status | undefined;
56
+ }
52
57
  export interface RestoreImageFromRecycleBinRequest {
53
58
  ImageId: string | undefined;
54
59
  DryRun?: boolean | undefined;
@@ -5,6 +5,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
5
5
  defaultsMode: import("@smithy/types").Provider<
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
+ authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
8
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
10
  credentialDefaultProvider:
10
11
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
@@ -73,10 +74,6 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
73
74
  ) => import("@smithy/types").EndpointV2;
74
75
  tls?: boolean | undefined;
75
76
  serviceConfiguredEndpoint?: undefined;
76
- authSchemePreference?:
77
- | string[]
78
- | import("@smithy/types").Provider<string[]>
79
- | undefined;
80
77
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
81
78
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").EC2HttpAuthSchemeProvider;
82
79
  credentials?:
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.798.0",
4
+ "version": "3.800.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,18 +20,18 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.798.0",
24
- "@aws-sdk/credential-provider-node": "3.798.0",
23
+ "@aws-sdk/core": "3.799.0",
24
+ "@aws-sdk/credential-provider-node": "3.799.0",
25
25
  "@aws-sdk/middleware-host-header": "3.775.0",
26
26
  "@aws-sdk/middleware-logger": "3.775.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.775.0",
28
28
  "@aws-sdk/middleware-sdk-ec2": "3.798.0",
29
- "@aws-sdk/middleware-user-agent": "3.798.0",
29
+ "@aws-sdk/middleware-user-agent": "3.799.0",
30
30
  "@aws-sdk/region-config-resolver": "3.775.0",
31
31
  "@aws-sdk/types": "3.775.0",
32
32
  "@aws-sdk/util-endpoints": "3.787.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.775.0",
34
- "@aws-sdk/util-user-agent-node": "3.798.0",
34
+ "@aws-sdk/util-user-agent-node": "3.799.0",
35
35
  "@smithy/config-resolver": "^4.1.0",
36
36
  "@smithy/core": "^3.3.0",
37
37
  "@smithy/fetch-http-handler": "^5.0.2",