@aws-sdk/client-ec2 3.53.0 → 3.54.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2022/03/10 ([#3411](https://github.com/aws/aws-sdk-js-v3/issues/3411)) ([8fa517a](https://github.com/aws/aws-sdk-js-v3/commit/8fa517a2c56d2f98a2e4a9c4ea6fd99b6ce61a71))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
7
18
 
8
19
 
@@ -51840,6 +51840,7 @@ const deserializeAws_ec2ImageAttribute = (output, context) => {
51840
51840
  RamdiskId: undefined,
51841
51841
  SriovNetSupport: undefined,
51842
51842
  BootMode: undefined,
51843
+ LastLaunchedTime: undefined,
51843
51844
  };
51844
51845
  if (output.blockDeviceMapping === "") {
51845
51846
  contents.BlockDeviceMappings = [];
@@ -51877,6 +51878,9 @@ const deserializeAws_ec2ImageAttribute = (output, context) => {
51877
51878
  if (output["bootMode"] !== undefined) {
51878
51879
  contents.BootMode = deserializeAws_ec2AttributeValue(output["bootMode"], context);
51879
51880
  }
51881
+ if (output["lastLaunchedTime"] !== undefined) {
51882
+ contents.LastLaunchedTime = deserializeAws_ec2AttributeValue(output["lastLaunchedTime"], context);
51883
+ }
51880
51884
  return contents;
51881
51885
  };
51882
51886
  const deserializeAws_ec2ImageList = (output, context) => {
@@ -59938,6 +59938,7 @@ var deserializeAws_ec2ImageAttribute = function (output, context) {
59938
59938
  RamdiskId: undefined,
59939
59939
  SriovNetSupport: undefined,
59940
59940
  BootMode: undefined,
59941
+ LastLaunchedTime: undefined,
59941
59942
  };
59942
59943
  if (output.blockDeviceMapping === "") {
59943
59944
  contents.BlockDeviceMappings = [];
@@ -59975,6 +59976,9 @@ var deserializeAws_ec2ImageAttribute = function (output, context) {
59975
59976
  if (output["bootMode"] !== undefined) {
59976
59977
  contents.BootMode = deserializeAws_ec2AttributeValue(output["bootMode"], context);
59977
59978
  }
59979
+ if (output["lastLaunchedTime"] !== undefined) {
59980
+ contents.LastLaunchedTime = deserializeAws_ec2AttributeValue(output["lastLaunchedTime"], context);
59981
+ }
59978
59982
  return contents;
59979
59983
  };
59980
59984
  var deserializeAws_ec2ImageList = function (output, context) {
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AcceptReservedInstancesExchangeQuoteCommandInput, AcceptReservedInstancesExchangeQuoteCommandOutput } from "./commands/AcceptReservedInstancesExchangeQuoteCommand";
10
10
  import { AcceptTransitGatewayMulticastDomainAssociationsCommandInput, AcceptTransitGatewayMulticastDomainAssociationsCommandOutput } from "./commands/AcceptTransitGatewayMulticastDomainAssociationsCommand";
11
11
  import { AcceptTransitGatewayPeeringAttachmentCommandInput, AcceptTransitGatewayPeeringAttachmentCommandOutput } from "./commands/AcceptTransitGatewayPeeringAttachmentCommand";
@@ -549,7 +549,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
549
549
  * A function that can calculate the length of a request body.
550
550
  * @internal
551
551
  */
552
- bodyLengthChecker?: (body: any) => number | undefined;
552
+ bodyLengthChecker?: __BodyLengthCalculator;
553
553
  /**
554
554
  * A function that converts a stream into an array of bytes.
555
555
  * @internal
@@ -1583,7 +1583,7 @@ export declare namespace AdvertiseByoipCidrResult {
1583
1583
  const filterSensitiveLog: (obj: AdvertiseByoipCidrResult) => any;
1584
1584
  }
1585
1585
  export declare type Affinity = "default" | "host";
1586
- export declare type ResourceType = "capacity-reservation" | "carrier-gateway" | "client-vpn-endpoint" | "customer-gateway" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-gpu" | "elastic-ip" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-route-table-virtual-interface-group-association" | "local-gateway-route-table-vpc-association" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "natgateway" | "network-acl" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "network-insights-analysis" | "network-insights-path" | "network-interface" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-route-table" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-service" | "vpc-flow-log" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway";
1586
+ export declare type ResourceType = "capacity-reservation" | "carrier-gateway" | "client-vpn-endpoint" | "customer-gateway" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-gpu" | "elastic-ip" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-route-table-virtual-interface-group-association" | "local-gateway-route-table-vpc-association" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "natgateway" | "network-acl" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "network-insights-analysis" | "network-insights-path" | "network-interface" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-route-table" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-service" | "vpc-flow-log" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway";
1587
1587
  /**
1588
1588
  * <p>The tags to apply to a resource when the resource is being created.</p>
1589
1589
  */
@@ -185,6 +185,11 @@ export interface InstanceRequirementsRequest {
185
185
  * <p>The parameter accepts an integer, which Amazon EC2 interprets as a percentage.</p>
186
186
  * <p>To turn off price protection, specify a high value, such as <code>999999</code>.</p>
187
187
  * <p>This parameter is not supported for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html">GetSpotPlacementScores</a> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html">GetInstanceTypesFromInstanceRequirements</a>.</p>
188
+ * <note>
189
+ * <p>If you set <code>TargetCapacityUnitType</code> to <code>vcpu</code> or
190
+ * <code>memory-mib</code>, the price protection threshold is applied based on the
191
+ * per-vCPU or per-memory price instead of the per-instance price.</p>
192
+ * </note>
188
193
  * <p>Default: <code>100</code>
189
194
  * </p>
190
195
  */
@@ -197,6 +202,11 @@ export interface InstanceRequirementsRequest {
197
202
  * <p>The parameter accepts an integer, which Amazon EC2 interprets as a percentage.</p>
198
203
  * <p>To turn off price protection, specify a high value, such as <code>999999</code>.</p>
199
204
  * <p>This parameter is not supported for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html">GetSpotPlacementScores</a> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html">GetInstanceTypesFromInstanceRequirements</a>.</p>
205
+ * <note>
206
+ * <p>If you set <code>TargetCapacityUnitType</code> to <code>vcpu</code> or
207
+ * <code>memory-mib</code>, the price protection threshold is applied based on the
208
+ * per-vCPU or per-memory price instead of the per-instance price.</p>
209
+ * </note>
200
210
  * <p>Default: <code>20</code>
201
211
  * </p>
202
212
  */
@@ -887,7 +897,7 @@ export interface CreateFleetRequest {
887
897
  * launched.</p>
888
898
  * </li>
889
899
  * </ul>
890
- * <p>For more information, see <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/ec2-fleet-request-type.html">EC2 Fleet
900
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-request-type.html">EC2 Fleet
891
901
  * request types</a> in the <i>Amazon EC2 User Guide</i>.</p>
892
902
  */
893
903
  Type?: FleetType | string;
@@ -1171,6 +1181,11 @@ export interface InstanceRequirements {
1171
1181
  * <p>The parameter accepts an integer, which Amazon EC2 interprets as a percentage.</p>
1172
1182
  * <p>To turn off price protection, specify a high value, such as <code>999999</code>.</p>
1173
1183
  * <p>This parameter is not supported for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html">GetSpotPlacementScores</a> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html">GetInstanceTypesFromInstanceRequirements</a>.</p>
1184
+ * <note>
1185
+ * <p>If you set <code>TargetCapacityUnitType</code> to <code>vcpu</code> or
1186
+ * <code>memory-mib</code>, the price protection threshold is applied based on the
1187
+ * per-vCPU or per-memory price instead of the per-instance price.</p>
1188
+ * </note>
1174
1189
  * <p>Default: <code>100</code>
1175
1190
  * </p>
1176
1191
  */
@@ -1183,6 +1198,11 @@ export interface InstanceRequirements {
1183
1198
  * <p>The parameter accepts an integer, which Amazon EC2 interprets as a percentage.</p>
1184
1199
  * <p>To turn off price protection, specify a high value, such as <code>999999</code>.</p>
1185
1200
  * <p>This parameter is not supported for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html">GetSpotPlacementScores</a> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html">GetInstanceTypesFromInstanceRequirements</a>.</p>
1201
+ * <note>
1202
+ * <p>If you set <code>TargetCapacityUnitType</code> to <code>vcpu</code> or
1203
+ * <code>memory-mib</code>, the price protection threshold is applied based on the
1204
+ * per-vCPU or per-memory price instead of the per-instance price.</p>
1205
+ * </note>
1186
1206
  * <p>Default: <code>20</code>
1187
1207
  * </p>
1188
1208
  */
@@ -2502,7 +2522,7 @@ export interface CreateIpamPoolRequest {
2502
2522
  /**
2503
2523
  * <p>The IP protocol assigned to this IPAM pool. You must choose either IPv4 or IPv6 protocol for a pool.</p>
2504
2524
  */
2505
- AddressFamily?: AddressFamily | string;
2525
+ AddressFamily: AddressFamily | string | undefined;
2506
2526
  /**
2507
2527
  * <p>If selected, IPAM will continuously look for resources within the CIDR range of this pool
2508
2528
  * and automatically import them as allocations into your IPAM. The CIDRs that will be allocated for
@@ -3017,7 +3017,7 @@ export declare namespace DescribeIdFormatResult {
3017
3017
  */
3018
3018
  const filterSensitiveLog: (obj: DescribeIdFormatResult) => any;
3019
3019
  }
3020
- export declare type ImageAttributeName = "blockDeviceMapping" | "bootMode" | "description" | "kernel" | "launchPermission" | "productCodes" | "ramdisk" | "sriovNetSupport";
3020
+ export declare type ImageAttributeName = "blockDeviceMapping" | "bootMode" | "description" | "kernel" | "lastLaunchedTime" | "launchPermission" | "productCodes" | "ramdisk" | "sriovNetSupport";
3021
3021
  /**
3022
3022
  * <p>Contains the parameters for DescribeImageAttribute.</p>
3023
3023
  */
@@ -3112,9 +3112,19 @@ export interface ImageAttribute {
3112
3112
  */
3113
3113
  SriovNetSupport?: AttributeValue;
3114
3114
  /**
3115
- * <p>Describes a value for a resource attribute that is a String.</p>
3115
+ * <p>The boot mode.</p>
3116
3116
  */
3117
3117
  BootMode?: AttributeValue;
3118
+ /**
3119
+ * <p>The date and time, in <a href="http://www.iso.org/iso/iso8601">ISO 8601 date-time
3120
+ * format</a>, when the AMI was last used to launch an EC2 instance. When the AMI is used,
3121
+ * there is a 24-hour delay before that usage is reported.</p>
3122
+ * <note>
3123
+ * <p>
3124
+ * <code>lastLaunchedTime</code> data is available starting April 2017.</p>
3125
+ * </note>
3126
+ */
3127
+ LastLaunchedTime?: AttributeValue;
3118
3128
  }
3119
3129
  export declare namespace ImageAttribute {
3120
3130
  /**
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
8
8
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
10
  urlParser: import("@aws-sdk/types").UrlParser;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  streamCollector: import("@aws-sdk/types").StreamCollector;
13
13
  base64Decoder: import("@aws-sdk/types").Decoder;
14
14
  base64Encoder: import("@aws-sdk/types").Encoder;
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AcceptReservedInstancesExchangeQuoteCommandInput, AcceptReservedInstancesExchangeQuoteCommandOutput } from "./commands/AcceptReservedInstancesExchangeQuoteCommand";
10
10
  import { AcceptTransitGatewayMulticastDomainAssociationsCommandInput, AcceptTransitGatewayMulticastDomainAssociationsCommandOutput } from "./commands/AcceptTransitGatewayMulticastDomainAssociationsCommand";
11
11
  import { AcceptTransitGatewayPeeringAttachmentCommandInput, AcceptTransitGatewayPeeringAttachmentCommandOutput } from "./commands/AcceptTransitGatewayPeeringAttachmentCommand";
@@ -537,7 +537,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
537
537
 
538
538
  urlParser?: __UrlParser;
539
539
 
540
- bodyLengthChecker?: (body: any) => number | undefined;
540
+ bodyLengthChecker?: __BodyLengthCalculator;
541
541
 
542
542
  streamCollector?: __StreamCollector;
543
543
 
@@ -879,7 +879,7 @@ export declare namespace AdvertiseByoipCidrResult {
879
879
  const filterSensitiveLog: (obj: AdvertiseByoipCidrResult) => any;
880
880
  }
881
881
  export declare type Affinity = "default" | "host";
882
- export declare type ResourceType = "capacity-reservation" | "carrier-gateway" | "client-vpn-endpoint" | "customer-gateway" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-gpu" | "elastic-ip" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-route-table-virtual-interface-group-association" | "local-gateway-route-table-vpc-association" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "natgateway" | "network-acl" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "network-insights-analysis" | "network-insights-path" | "network-interface" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-route-table" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-service" | "vpc-flow-log" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway";
882
+ export declare type ResourceType = "capacity-reservation" | "carrier-gateway" | "client-vpn-endpoint" | "customer-gateway" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-gpu" | "elastic-ip" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-route-table-virtual-interface-group-association" | "local-gateway-route-table-vpc-association" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "natgateway" | "network-acl" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "network-insights-analysis" | "network-insights-path" | "network-interface" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-route-table" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-service" | "vpc-flow-log" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway";
883
883
 
884
884
  export interface TagSpecification {
885
885
 
@@ -973,7 +973,7 @@ export interface CreateIpamPoolRequest {
973
973
 
974
974
  Description?: string;
975
975
 
976
- AddressFamily?: AddressFamily | string;
976
+ AddressFamily: AddressFamily | string | undefined;
977
977
 
978
978
  AutoImport?: boolean;
979
979
 
@@ -1270,7 +1270,7 @@ export declare namespace DescribeIdFormatResult {
1270
1270
 
1271
1271
  const filterSensitiveLog: (obj: DescribeIdFormatResult) => any;
1272
1272
  }
1273
- export declare type ImageAttributeName = "blockDeviceMapping" | "bootMode" | "description" | "kernel" | "launchPermission" | "productCodes" | "ramdisk" | "sriovNetSupport";
1273
+ export declare type ImageAttributeName = "blockDeviceMapping" | "bootMode" | "description" | "kernel" | "lastLaunchedTime" | "launchPermission" | "productCodes" | "ramdisk" | "sriovNetSupport";
1274
1274
 
1275
1275
  export interface DescribeImageAttributeRequest {
1276
1276
 
@@ -1319,6 +1319,8 @@ export interface ImageAttribute {
1319
1319
  SriovNetSupport?: AttributeValue;
1320
1320
 
1321
1321
  BootMode?: AttributeValue;
1322
+
1323
+ LastLaunchedTime?: AttributeValue;
1322
1324
  }
1323
1325
  export declare namespace ImageAttribute {
1324
1326
 
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
6
6
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
7
7
  apiVersion: string;
8
8
  urlParser: import("@aws-sdk/types").UrlParser;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  streamCollector: import("@aws-sdk/types").StreamCollector;
11
11
  base64Decoder: import("@aws-sdk/types").Decoder;
12
12
  base64Encoder: import("@aws-sdk/types").Encoder;
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.53.0",
4
+ "version": "3.54.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,38 +18,38 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.53.0",
22
- "@aws-sdk/config-resolver": "3.53.0",
23
- "@aws-sdk/credential-provider-node": "3.53.0",
24
- "@aws-sdk/fetch-http-handler": "3.53.0",
25
- "@aws-sdk/hash-node": "3.53.0",
26
- "@aws-sdk/invalid-dependency": "3.53.0",
27
- "@aws-sdk/middleware-content-length": "3.53.0",
28
- "@aws-sdk/middleware-host-header": "3.53.0",
29
- "@aws-sdk/middleware-logger": "3.53.0",
30
- "@aws-sdk/middleware-retry": "3.53.0",
31
- "@aws-sdk/middleware-sdk-ec2": "3.53.0",
32
- "@aws-sdk/middleware-serde": "3.53.0",
33
- "@aws-sdk/middleware-signing": "3.53.0",
34
- "@aws-sdk/middleware-stack": "3.53.0",
35
- "@aws-sdk/middleware-user-agent": "3.53.0",
36
- "@aws-sdk/node-config-provider": "3.53.0",
37
- "@aws-sdk/node-http-handler": "3.53.0",
38
- "@aws-sdk/protocol-http": "3.53.0",
39
- "@aws-sdk/smithy-client": "3.53.0",
40
- "@aws-sdk/types": "3.53.0",
41
- "@aws-sdk/url-parser": "3.53.0",
21
+ "@aws-sdk/client-sts": "3.54.0",
22
+ "@aws-sdk/config-resolver": "3.54.0",
23
+ "@aws-sdk/credential-provider-node": "3.54.0",
24
+ "@aws-sdk/fetch-http-handler": "3.54.0",
25
+ "@aws-sdk/hash-node": "3.54.0",
26
+ "@aws-sdk/invalid-dependency": "3.54.0",
27
+ "@aws-sdk/middleware-content-length": "3.54.0",
28
+ "@aws-sdk/middleware-host-header": "3.54.0",
29
+ "@aws-sdk/middleware-logger": "3.54.0",
30
+ "@aws-sdk/middleware-retry": "3.54.0",
31
+ "@aws-sdk/middleware-sdk-ec2": "3.54.0",
32
+ "@aws-sdk/middleware-serde": "3.54.0",
33
+ "@aws-sdk/middleware-signing": "3.54.0",
34
+ "@aws-sdk/middleware-stack": "3.54.0",
35
+ "@aws-sdk/middleware-user-agent": "3.54.0",
36
+ "@aws-sdk/node-config-provider": "3.54.0",
37
+ "@aws-sdk/node-http-handler": "3.54.0",
38
+ "@aws-sdk/protocol-http": "3.54.0",
39
+ "@aws-sdk/smithy-client": "3.54.0",
40
+ "@aws-sdk/types": "3.54.0",
41
+ "@aws-sdk/url-parser": "3.54.0",
42
42
  "@aws-sdk/util-base64-browser": "3.52.0",
43
43
  "@aws-sdk/util-base64-node": "3.52.0",
44
- "@aws-sdk/util-body-length-browser": "3.52.0",
45
- "@aws-sdk/util-body-length-node": "3.52.0",
46
- "@aws-sdk/util-defaults-mode-browser": "3.53.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.53.0",
48
- "@aws-sdk/util-user-agent-browser": "3.53.0",
49
- "@aws-sdk/util-user-agent-node": "3.53.0",
44
+ "@aws-sdk/util-body-length-browser": "3.54.0",
45
+ "@aws-sdk/util-body-length-node": "3.54.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.54.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.54.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.54.0",
49
+ "@aws-sdk/util-user-agent-node": "3.54.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.52.0",
51
51
  "@aws-sdk/util-utf8-node": "3.52.0",
52
- "@aws-sdk/util-waiter": "3.53.0",
52
+ "@aws-sdk/util-waiter": "3.54.0",
53
53
  "entities": "2.2.0",
54
54
  "fast-xml-parser": "3.19.0",
55
55
  "tslib": "^2.3.0",