diff --git a/clients/client-ec2/src/commands/DescribeInstanceTypesCommand.ts b/clients/client-ec2/src/commands/DescribeInstanceTypesCommand.ts index 478b507919c7..5a401777faef 100644 --- a/clients/client-ec2/src/commands/DescribeInstanceTypesCommand.ts +++ b/clients/client-ec2/src/commands/DescribeInstanceTypesCommand.ts @@ -138,6 +138,8 @@ export interface DescribeInstanceTypesCommandOutput extends DescribeInstanceType * // NetworkCardIndex: Number("int"), * // NetworkPerformance: "STRING_VALUE", * // MaximumNetworkInterfaces: Number("int"), + * // BaselineBandwidthInGbps: Number("double"), + * // PeakBandwidthInGbps: Number("double"), * // }, * // ], * // Ipv4AddressesPerInterface: Number("int"), @@ -188,8 +190,12 @@ export interface DescribeInstanceTypesCommandOutput extends DescribeInstanceType * // Count: Number("int"), * // Name: "STRING_VALUE", * // Manufacturer: "STRING_VALUE", + * // MemoryInfo: { // InferenceDeviceMemoryInfo + * // SizeInMiB: Number("int"), + * // }, * // }, * // ], + * // TotalInferenceMemoryInMiB: Number("int"), * // }, * // HibernationSupported: true || false, * // BurstablePerformanceSupported: true || false, diff --git a/clients/client-ec2/src/models/models_4.ts b/clients/client-ec2/src/models/models_4.ts index 7e5dabd75661..ff0bdc678edb 100644 --- a/clients/client-ec2/src/models/models_4.ts +++ b/clients/client-ec2/src/models/models_4.ts @@ -1927,6 +1927,17 @@ export const InstanceTypeHypervisor = { */ export type InstanceTypeHypervisor = (typeof InstanceTypeHypervisor)[keyof typeof InstanceTypeHypervisor]; +/** + * @public + *
Describes the memory available to the inference accelerator.
+ */ +export interface InferenceDeviceMemoryInfo { + /** + *The size of the memory available to the inference accelerator, in MiB.
+ */ + SizeInMiB?: number; +} + /** * @public *Describes the Inference accelerators for the instance type.
@@ -1946,6 +1957,11 @@ export interface InferenceDeviceInfo { *The manufacturer of the Inference accelerator.
*/ Manufacturer?: string; + + /** + *Describes the memory available to the inference accelerator.
+ */ + MemoryInfo?: InferenceDeviceMemoryInfo; } /** @@ -1957,6 +1973,11 @@ export interface InferenceAcceleratorInfo { *Describes the Inference accelerators for the instance type.
*/ Accelerators?: InferenceDeviceInfo[]; + + /** + *The total size of the memory for the inference accelerators for the instance type, in MiB.
+ */ + TotalInferenceMemoryInMiB?: number; } /** @@ -2106,6 +2127,16 @@ export interface NetworkCardInfo { *The maximum number of network interfaces for the network card.
*/ MaximumNetworkInterfaces?: number; + + /** + *The baseline network performance of the network card, in Gbps.
+ */ + BaselineBandwidthInGbps?: number; + + /** + *The peak (burst) network performance of the network card, in Gbps.
+ */ + PeakBandwidthInGbps?: number; } /** @@ -11128,27 +11159,6 @@ export interface VerifiedAccessLogDeliveryStatus { Message?: string; } -/** - * @public - *Options for CloudWatch Logs as a logging destination.
- */ -export interface VerifiedAccessLogCloudWatchLogsDestination { - /** - *Indicates whether logging is enabled.
- */ - Enabled?: boolean; - - /** - *The delivery status for access logs.
- */ - DeliveryStatus?: VerifiedAccessLogDeliveryStatus; - - /** - *The ID of the CloudWatch Logs log group.
- */ - LogGroup?: string; -} - /** * @internal */ diff --git a/clients/client-ec2/src/models/models_5.ts b/clients/client-ec2/src/models/models_5.ts index 3e6d17a7690b..80781d8e1ea8 100644 --- a/clients/client-ec2/src/models/models_5.ts +++ b/clients/client-ec2/src/models/models_5.ts @@ -77,12 +77,28 @@ import { StatisticType, VirtualizationType, } from "./models_3"; -import { - AnalysisStatus, - ArchitectureType, - VerifiedAccessLogCloudWatchLogsDestination, - VerifiedAccessLogDeliveryStatus, -} from "./models_4"; +import { AnalysisStatus, ArchitectureType, VerifiedAccessLogDeliveryStatus } from "./models_4"; + +/** + * @public + *Options for CloudWatch Logs as a logging destination.
+ */ +export interface VerifiedAccessLogCloudWatchLogsDestination { + /** + *Indicates whether logging is enabled.
+ */ + Enabled?: boolean; + + /** + *The delivery status for access logs.
+ */ + DeliveryStatus?: VerifiedAccessLogDeliveryStatus; + + /** + *The ID of the CloudWatch Logs log group.
+ */ + LogGroup?: string; +} /** * @public @@ -7637,22 +7653,6 @@ export interface ClientData { UploadStart?: Date; } -/** - * @public - *Describes the Amazon S3 bucket for the disk image.
- */ -export interface UserBucket { - /** - *The name of the Amazon S3 bucket where the disk image is located.
- */ - S3Bucket?: string; - - /** - *The file name of the disk image.
- */ - S3Key?: string; -} - /** * @internal */ diff --git a/clients/client-ec2/src/models/models_6.ts b/clients/client-ec2/src/models/models_6.ts index 2fa2a09514f9..0a87ffa9ac2c 100644 --- a/clients/client-ec2/src/models/models_6.ts +++ b/clients/client-ec2/src/models/models_6.ts @@ -157,11 +157,26 @@ import { IpamResourceCidr, Purchase, UnlimitedSupportedInstanceFamily, - UserBucket, VerifiedAccessInstanceLoggingConfiguration, VolumeModification, } from "./models_5"; +/** + * @public + *Describes the Amazon S3 bucket for the disk image.
+ */ +export interface UserBucket { + /** + *The name of the Amazon S3 bucket where the disk image is located.
+ */ + S3Bucket?: string; + + /** + *The file name of the disk image.
+ */ + S3Key?: string; +} + /** * @public *Describes the disk container object for an import image task.
@@ -8555,22 +8570,6 @@ export interface ScheduledInstancesNetworkInterface { SubnetId?: string; } -/** - * @public - *Describes the placement for a Scheduled Instance.
- */ -export interface ScheduledInstancesPlacement { - /** - *The Availability Zone.
- */ - AvailabilityZone?: string; - - /** - *The name of the placement group.
- */ - GroupName?: string; -} - /** * @internal */ diff --git a/clients/client-ec2/src/models/models_7.ts b/clients/client-ec2/src/models/models_7.ts index dd20086883eb..50493d0c3034 100644 --- a/clients/client-ec2/src/models/models_7.ts +++ b/clients/client-ec2/src/models/models_7.ts @@ -18,9 +18,24 @@ import { ScheduledInstancesIamInstanceProfile, ScheduledInstancesMonitoring, ScheduledInstancesNetworkInterface, - ScheduledInstancesPlacement, } from "./models_6"; +/** + * @public + *Describes the placement for a Scheduled Instance.
+ */ +export interface ScheduledInstancesPlacement { + /** + *The Availability Zone.
+ */ + AvailabilityZone?: string; + + /** + *The name of the placement group.
+ */ + GroupName?: string; +} + /** * @public *Describes the launch specification for a Scheduled Instance.
diff --git a/clients/client-ec2/src/protocols/Aws_ec2.ts b/clients/client-ec2/src/protocols/Aws_ec2.ts index 803284b80745..76c8a7a4f17f 100644 --- a/clients/client-ec2/src/protocols/Aws_ec2.ts +++ b/clients/client-ec2/src/protocols/Aws_ec2.ts @@ -3192,6 +3192,7 @@ import { HistoryRecord, InferenceAcceleratorInfo, InferenceDeviceInfo, + InferenceDeviceMemoryInfo, Instance, InstanceIpv4Prefix, InstanceIpv6Prefix, @@ -3279,7 +3280,6 @@ import { TransitGatewayAttachmentAssociation, UsageClassType, VCpuInfo, - VerifiedAccessLogCloudWatchLogsDestination, VerifiedAccessLogDeliveryStatus, } from "../models/models_4"; import { @@ -3553,8 +3553,8 @@ import { TransitGatewayPropagation, TransitGatewayRouteTableAssociation, TransitGatewayRouteTablePropagation, - UserBucket, VerifiedAccessInstanceLoggingConfiguration, + VerifiedAccessLogCloudWatchLogsDestination, VerifiedAccessLogKinesisDataFirehoseDestination, VerifiedAccessLogs, VerifiedAccessLogS3Destination, @@ -3840,7 +3840,6 @@ import { ScheduledInstancesIpv6Address, ScheduledInstancesMonitoring, ScheduledInstancesNetworkInterface, - ScheduledInstancesPlacement, ScheduledInstancesPrivateIpAddressConfig, SecurityGroupRuleRequest, SecurityGroupRuleUpdate, @@ -3854,6 +3853,7 @@ import { TransitGatewayMulticastRegisteredGroupSources, UnsuccessfulInstanceCreditSpecificationItem, UnsuccessfulInstanceCreditSpecificationItemError, + UserBucket, UserData, VerifiedAccessLogCloudWatchLogsDestinationOptions, VerifiedAccessLogKinesisDataFirehoseDestinationOptions, @@ -3866,6 +3866,7 @@ import { RunScheduledInstancesRequest, RunScheduledInstancesResult, ScheduledInstancesLaunchSpecification, + ScheduledInstancesPlacement, SearchLocalGatewayRoutesRequest, SearchLocalGatewayRoutesResult, SearchTransitGatewayMulticastGroupsRequest, @@ -78732,6 +78733,9 @@ const de_InferenceAcceleratorInfo = (output: any, context: __SerdeContext): Infe context ); } + if (output["totalInferenceMemoryInMiB"] !== undefined) { + contents.TotalInferenceMemoryInMiB = __strictParseInt32(output["totalInferenceMemoryInMiB"]) as number; + } return contents; }; @@ -78749,6 +78753,9 @@ const de_InferenceDeviceInfo = (output: any, context: __SerdeContext): Inference if (output["manufacturer"] !== undefined) { contents.Manufacturer = __expectString(output["manufacturer"]); } + if (output["memoryInfo"] !== undefined) { + contents.MemoryInfo = de_InferenceDeviceMemoryInfo(output["memoryInfo"], context); + } return contents; }; @@ -78763,6 +78770,17 @@ const de_InferenceDeviceInfoList = (output: any, context: __SerdeContext): Infer }); }; +/** + * deserializeAws_ec2InferenceDeviceMemoryInfo + */ +const de_InferenceDeviceMemoryInfo = (output: any, context: __SerdeContext): InferenceDeviceMemoryInfo => { + const contents: any = {}; + if (output["sizeInMiB"] !== undefined) { + contents.SizeInMiB = __strictParseInt32(output["sizeInMiB"]) as number; + } + return contents; +}; + /** * deserializeAws_ec2InsideCidrBlocksStringList */ @@ -83983,6 +84001,12 @@ const de_NetworkCardInfo = (output: any, context: __SerdeContext): NetworkCardIn if (output["maximumNetworkInterfaces"] !== undefined) { contents.MaximumNetworkInterfaces = __strictParseInt32(output["maximumNetworkInterfaces"]) as number; } + if (output["baselineBandwidthInGbps"] !== undefined) { + contents.BaselineBandwidthInGbps = __strictParseFloat(output["baselineBandwidthInGbps"]) as number; + } + if (output["peakBandwidthInGbps"] !== undefined) { + contents.PeakBandwidthInGbps = __strictParseFloat(output["peakBandwidthInGbps"]) as number; + } return contents; }; diff --git a/codegen/sdk-codegen/aws-models/ec2.json b/codegen/sdk-codegen/aws-models/ec2.json index 00f107b8067b..07296b26067c 100644 --- a/codegen/sdk-codegen/aws-models/ec2.json +++ b/codegen/sdk-codegen/aws-models/ec2.json @@ -8528,6 +8528,9 @@ "com.amazonaws.ec2#BareMetalFlag": { "type": "boolean" }, + "com.amazonaws.ec2#BaselineBandwidthInGbps": { + "type": "double" + }, "com.amazonaws.ec2#BaselineBandwidthInMbps": { "type": "integer" }, @@ -54329,6 +54332,14 @@ "smithy.api#documentation": "Describes the Inference accelerators for the instance type.
", "smithy.api#xmlName": "accelerators" } + }, + "TotalInferenceMemoryInMiB": { + "target": "com.amazonaws.ec2#totalInferenceMemory", + "traits": { + "aws.protocols#ec2QueryName": "TotalInferenceMemoryInMiB", + "smithy.api#documentation": "The total size of the memory for the inference accelerators for the instance type, in MiB.
", + "smithy.api#xmlName": "totalInferenceMemoryInMiB" + } } }, "traits": { @@ -54364,6 +54375,14 @@ "smithy.api#documentation": "The manufacturer of the Inference accelerator.
", "smithy.api#xmlName": "manufacturer" } + }, + "MemoryInfo": { + "target": "com.amazonaws.ec2#InferenceDeviceMemoryInfo", + "traits": { + "aws.protocols#ec2QueryName": "MemoryInfo", + "smithy.api#documentation": "Describes the memory available to the inference accelerator.
", + "smithy.api#xmlName": "memoryInfo" + } } }, "traits": { @@ -54379,6 +54398,25 @@ "com.amazonaws.ec2#InferenceDeviceManufacturerName": { "type": "string" }, + "com.amazonaws.ec2#InferenceDeviceMemoryInfo": { + "type": "structure", + "members": { + "SizeInMiB": { + "target": "com.amazonaws.ec2#InferenceDeviceMemorySize", + "traits": { + "aws.protocols#ec2QueryName": "SizeInMiB", + "smithy.api#documentation": "The size of the memory available to the inference accelerator, in MiB.
", + "smithy.api#xmlName": "sizeInMiB" + } + } + }, + "traits": { + "smithy.api#documentation": "Describes the memory available to the inference accelerator.
" + } + }, + "com.amazonaws.ec2#InferenceDeviceMemorySize": { + "type": "integer" + }, "com.amazonaws.ec2#InferenceDeviceName": { "type": "string" }, @@ -74950,6 +74988,22 @@ "smithy.api#documentation": "The maximum number of network interfaces for the network card.
", "smithy.api#xmlName": "maximumNetworkInterfaces" } + }, + "BaselineBandwidthInGbps": { + "target": "com.amazonaws.ec2#BaselineBandwidthInGbps", + "traits": { + "aws.protocols#ec2QueryName": "BaselineBandwidthInGbps", + "smithy.api#documentation": "The baseline network performance of the network card, in Gbps.
", + "smithy.api#xmlName": "baselineBandwidthInGbps" + } + }, + "PeakBandwidthInGbps": { + "target": "com.amazonaws.ec2#PeakBandwidthInGbps", + "traits": { + "aws.protocols#ec2QueryName": "PeakBandwidthInGbps", + "smithy.api#documentation": "The peak (burst) network performance of the network card, in Gbps.
", + "smithy.api#xmlName": "peakBandwidthInGbps" + } } }, "traits": { @@ -77427,6 +77481,9 @@ "smithy.api#documentation": "Describes the data that identifies an Amazon FPGA image (AFI) on the PCI bus.
" } }, + "com.amazonaws.ec2#PeakBandwidthInGbps": { + "type": "double" + }, "com.amazonaws.ec2#PeeringAttachmentStatus": { "type": "structure", "members": { @@ -101914,6 +101971,9 @@ }, "com.amazonaws.ec2#totalGpuMemory": { "type": "integer" + }, + "com.amazonaws.ec2#totalInferenceMemory": { + "type": "integer" } } }