diff --git a/clients/client-ec2/src/commands/DescribeInstanceTypesCommand.ts b/clients/client-ec2/src/commands/DescribeInstanceTypesCommand.ts index 3b509ba6ab73..0129a78c1e9d 100644 --- a/clients/client-ec2/src/commands/DescribeInstanceTypesCommand.ts +++ b/clients/client-ec2/src/commands/DescribeInstanceTypesCommand.ts @@ -203,6 +203,35 @@ export interface DescribeInstanceTypesCommandOutput extends DescribeInstanceType * // "STRING_VALUE", * // ], * // }, + * // MediaAcceleratorInfo: { // MediaAcceleratorInfo + * // Accelerators: [ // MediaDeviceInfoList + * // { // MediaDeviceInfo + * // Count: Number("int"), + * // Name: "STRING_VALUE", + * // Manufacturer: "STRING_VALUE", + * // MemoryInfo: { // MediaDeviceMemoryInfo + * // SizeInMiB: Number("int"), + * // }, + * // }, + * // ], + * // TotalMediaMemoryInMiB: Number("int"), + * // }, + * // NeuronInfo: { // NeuronInfo + * // NeuronDevices: [ // NeuronDeviceInfoList + * // { // NeuronDeviceInfo + * // Count: Number("int"), + * // Name: "STRING_VALUE", + * // CoreInfo: { // NeuronDeviceCoreInfo + * // Count: Number("int"), + * // Version: Number("int"), + * // }, + * // MemoryInfo: { // NeuronDeviceMemoryInfo + * // SizeInMiB: Number("int"), + * // }, + * // }, + * // ], + * // TotalNeuronDeviceMemoryInMiB: Number("int"), + * // }, * // }, * // ], * // NextToken: "STRING_VALUE", diff --git a/clients/client-ec2/src/commands/DescribeStaleSecurityGroupsCommand.ts b/clients/client-ec2/src/commands/DescribeStaleSecurityGroupsCommand.ts index cfb365f5d98d..a96bdd63e449 100644 --- a/clients/client-ec2/src/commands/DescribeStaleSecurityGroupsCommand.ts +++ b/clients/client-ec2/src/commands/DescribeStaleSecurityGroupsCommand.ts @@ -6,7 +6,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; import { commonParams } from "../endpoint/EndpointParameters"; -import { DescribeStaleSecurityGroupsRequest, DescribeStaleSecurityGroupsResult } from "../models/models_4"; +import { DescribeStaleSecurityGroupsRequest } from "../models/models_4"; +import { DescribeStaleSecurityGroupsResult } from "../models/models_5"; import { de_DescribeStaleSecurityGroupsCommand, se_DescribeStaleSecurityGroupsCommand } from "../protocols/Aws_ec2"; /** diff --git a/clients/client-ec2/src/commands/DescribeStoreImageTasksCommand.ts b/clients/client-ec2/src/commands/DescribeStoreImageTasksCommand.ts index 540007b87720..a74bb8a06849 100644 --- a/clients/client-ec2/src/commands/DescribeStoreImageTasksCommand.ts +++ b/clients/client-ec2/src/commands/DescribeStoreImageTasksCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; import { commonParams } from "../endpoint/EndpointParameters"; -import { DescribeStoreImageTasksRequest, DescribeStoreImageTasksResult } from "../models/models_4"; +import { DescribeStoreImageTasksRequest, DescribeStoreImageTasksResult } from "../models/models_5"; import { de_DescribeStoreImageTasksCommand, se_DescribeStoreImageTasksCommand } from "../protocols/Aws_ec2"; /** diff --git a/clients/client-ec2/src/commands/DescribeSubnetsCommand.ts b/clients/client-ec2/src/commands/DescribeSubnetsCommand.ts index 215b72e66b9a..f99e23694898 100644 --- a/clients/client-ec2/src/commands/DescribeSubnetsCommand.ts +++ b/clients/client-ec2/src/commands/DescribeSubnetsCommand.ts @@ -6,8 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; import { commonParams } from "../endpoint/EndpointParameters"; -import { DescribeSubnetsRequest } from "../models/models_4"; -import { DescribeSubnetsResult } from "../models/models_5"; +import { DescribeSubnetsRequest, DescribeSubnetsResult } from "../models/models_5"; import { de_DescribeSubnetsCommand, se_DescribeSubnetsCommand } from "../protocols/Aws_ec2"; /** diff --git a/clients/client-ec2/src/commands/GetIpamDiscoveredResourceCidrsCommand.ts b/clients/client-ec2/src/commands/GetIpamDiscoveredResourceCidrsCommand.ts index 6653a5522c73..0f22d43fe557 100644 --- a/clients/client-ec2/src/commands/GetIpamDiscoveredResourceCidrsCommand.ts +++ b/clients/client-ec2/src/commands/GetIpamDiscoveredResourceCidrsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; import { commonParams } from "../endpoint/EndpointParameters"; -import { GetIpamDiscoveredResourceCidrsRequest, GetIpamDiscoveredResourceCidrsResult } from "../models/models_5"; +import { GetIpamDiscoveredResourceCidrsRequest, GetIpamDiscoveredResourceCidrsResult } from "../models/models_6"; import { de_GetIpamDiscoveredResourceCidrsCommand, se_GetIpamDiscoveredResourceCidrsCommand, diff --git a/clients/client-ec2/src/commands/GetIpamPoolAllocationsCommand.ts b/clients/client-ec2/src/commands/GetIpamPoolAllocationsCommand.ts index d7ebaadcdc7c..7a156c4eeeb4 100644 --- a/clients/client-ec2/src/commands/GetIpamPoolAllocationsCommand.ts +++ b/clients/client-ec2/src/commands/GetIpamPoolAllocationsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; import { commonParams } from "../endpoint/EndpointParameters"; -import { GetIpamPoolAllocationsRequest, GetIpamPoolAllocationsResult } from "../models/models_5"; +import { GetIpamPoolAllocationsRequest, GetIpamPoolAllocationsResult } from "../models/models_6"; import { de_GetIpamPoolAllocationsCommand, se_GetIpamPoolAllocationsCommand } from "../protocols/Aws_ec2"; /** diff --git a/clients/client-ec2/src/commands/GetIpamPoolCidrsCommand.ts b/clients/client-ec2/src/commands/GetIpamPoolCidrsCommand.ts index 2d4e10640a69..8501eae1aac8 100644 --- a/clients/client-ec2/src/commands/GetIpamPoolCidrsCommand.ts +++ b/clients/client-ec2/src/commands/GetIpamPoolCidrsCommand.ts @@ -6,8 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; import { commonParams } from "../endpoint/EndpointParameters"; -import { GetIpamPoolCidrsRequest } from "../models/models_5"; -import { GetIpamPoolCidrsResult } from "../models/models_6"; +import { GetIpamPoolCidrsRequest, GetIpamPoolCidrsResult } from "../models/models_6"; import { de_GetIpamPoolCidrsCommand, se_GetIpamPoolCidrsCommand } from "../protocols/Aws_ec2"; /** diff --git a/clients/client-ec2/src/commands/RegisterInstanceEventNotificationAttributesCommand.ts b/clients/client-ec2/src/commands/RegisterInstanceEventNotificationAttributesCommand.ts index 34f9303d073f..2fe124e4e6e2 100644 --- a/clients/client-ec2/src/commands/RegisterInstanceEventNotificationAttributesCommand.ts +++ b/clients/client-ec2/src/commands/RegisterInstanceEventNotificationAttributesCommand.ts @@ -9,7 +9,7 @@ import { commonParams } from "../endpoint/EndpointParameters"; import { RegisterInstanceEventNotificationAttributesRequest, RegisterInstanceEventNotificationAttributesResult, -} from "../models/models_6"; +} from "../models/models_7"; import { de_RegisterInstanceEventNotificationAttributesCommand, se_RegisterInstanceEventNotificationAttributesCommand, diff --git a/clients/client-ec2/src/commands/RegisterTransitGatewayMulticastGroupMembersCommand.ts b/clients/client-ec2/src/commands/RegisterTransitGatewayMulticastGroupMembersCommand.ts index fec307ba2130..64fc5ee23d3d 100644 --- a/clients/client-ec2/src/commands/RegisterTransitGatewayMulticastGroupMembersCommand.ts +++ b/clients/client-ec2/src/commands/RegisterTransitGatewayMulticastGroupMembersCommand.ts @@ -9,7 +9,7 @@ import { commonParams } from "../endpoint/EndpointParameters"; import { RegisterTransitGatewayMulticastGroupMembersRequest, RegisterTransitGatewayMulticastGroupMembersResult, -} from "../models/models_6"; +} from "../models/models_7"; import { de_RegisterTransitGatewayMulticastGroupMembersCommand, se_RegisterTransitGatewayMulticastGroupMembersCommand, diff --git a/clients/client-ec2/src/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.ts b/clients/client-ec2/src/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.ts index d84821526acf..1f6524575fd4 100644 --- a/clients/client-ec2/src/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.ts +++ b/clients/client-ec2/src/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.ts @@ -6,8 +6,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; import { commonParams } from "../endpoint/EndpointParameters"; -import { RegisterTransitGatewayMulticastGroupSourcesRequest } from "../models/models_6"; -import { RegisterTransitGatewayMulticastGroupSourcesResult } from "../models/models_7"; +import { + RegisterTransitGatewayMulticastGroupSourcesRequest, + RegisterTransitGatewayMulticastGroupSourcesResult, +} from "../models/models_7"; import { de_RegisterTransitGatewayMulticastGroupSourcesCommand, se_RegisterTransitGatewayMulticastGroupSourcesCommand, diff --git a/clients/client-ec2/src/models/models_4.ts b/clients/client-ec2/src/models/models_4.ts index bef1cd20ab8e..06fadb589bd2 100644 --- a/clients/client-ec2/src/models/models_4.ts +++ b/clients/client-ec2/src/models/models_4.ts @@ -22,7 +22,6 @@ import { SecurityGroupRule, Tag, TagSpecification, - UserIdGroupPair, } from "./models_0"; import { @@ -4125,6 +4124,66 @@ export interface InstanceStorageInfo { EncryptionSupport?: InstanceStorageEncryptionSupport; } +/** + *

Describes the memory available to the media accelerator.

+ * @public + */ +export interface MediaDeviceMemoryInfo { + /** + *

The size of the memory available to each media accelerator, in MiB.

+ * @public + */ + SizeInMiB?: number; +} + +/** + *

Describes the media accelerators for the instance type.

+ * @public + */ +export interface MediaDeviceInfo { + /** + *

The number of media accelerators for the instance type.

+ * @public + */ + Count?: number; + + /** + *

The name of the media accelerator.

+ * @public + */ + Name?: string; + + /** + *

The manufacturer of the media accelerator.

+ * @public + */ + Manufacturer?: string; + + /** + *

Describes the memory available to the media accelerator.

+ * @public + */ + MemoryInfo?: MediaDeviceMemoryInfo; +} + +/** + *

Describes the media accelerators for the instance type.

+ * @public + */ +export interface MediaAcceleratorInfo { + /** + *

Describes the media accelerators for the instance type.

+ * @public + */ + Accelerators?: MediaDeviceInfo[]; + + /** + *

The total size of the memory for the media accelerators for the instance type, in MiB.

+ * @public + */ + TotalMediaMemoryInMiB?: number; +} + /** *

Describes the memory for the instance type.

* @public @@ -4286,6 +4345,84 @@ export interface NetworkInfo { EnaSrdSupported?: boolean; } +/** + *

Describes the cores available to the neuron accelerator.

+ * @public + */ +export interface NeuronDeviceCoreInfo { + /** + *

The number of cores available to the neuron accelerator.

+ * @public + */ + Count?: number; + + /** + *

The version of the neuron accelerator.

+ * @public + */ + Version?: number; +} + +/** + *

Describes the memory available to the neuron accelerator.

+ * @public + */ +export interface NeuronDeviceMemoryInfo { + /** + *

The size of the memory available to the neuron accelerator, in MiB.

+ * @public + */ + SizeInMiB?: number; +} + +/** + *

Describes the neuron accelerators for the instance type.

+ * @public + */ +export interface NeuronDeviceInfo { + /** + *

The number of neuron accelerators for the instance type.

+ * @public + */ + Count?: number; + + /** + *

The name of the neuron accelerator.

+ * @public + */ + Name?: string; + + /** + *

Describes the cores available to each neuron accelerator.

+ * @public + */ + CoreInfo?: NeuronDeviceCoreInfo; + + /** + *

Describes the memory available to each neuron accelerator.

+ * @public + */ + MemoryInfo?: NeuronDeviceMemoryInfo; +} + +/** + *

Describes the neuron accelerators for the instance type.

+ * @public + */ +export interface NeuronInfo { + /** + *

Describes the neuron accelerators for the instance type.

+ * @public + */ + NeuronDevices?: NeuronDeviceInfo[]; + + /** + *

The total size of the memory for the neuron accelerators for the instance type, in MiB.

+ * @public + */ + TotalNeuronDeviceMemoryInMiB?: number; +} + /** * @public * @enum @@ -4665,6 +4802,18 @@ export interface InstanceTypeInfo { * @public */ NitroTpmInfo?: NitroTpmInfo; + + /** + *

Describes the media accelerator settings for the instance type.

+ * @public + */ + MediaAcceleratorInfo?: MediaAcceleratorInfo; + + /** + *

Describes the Neuron accelerator settings for the instance type.

+ * @public + */ + NeuronInfo?: NeuronInfo; } /** @@ -11571,6 +11720,11 @@ export interface SpotFleetRequestConfigData { * LaunchSpecifications, you can't specify * LaunchTemplateConfigs. If you include On-Demand capacity in your * request, you must use LaunchTemplateConfigs.

+ * + *

If an AMI specified in a launch specification is deregistered or disabled, no new + * instances can be launched from the AMI. For fleets of type maintain, the + * target capacity will not be maintained.

+ *
* @public */ LaunchSpecifications?: SpotFleetLaunchSpecification[]; @@ -12579,409 +12733,6 @@ export interface DescribeStaleSecurityGroupsRequest { VpcId: string | undefined; } -/** - *

Describes a stale rule in a security group.

- * @public - */ -export interface StaleIpPermission { - /** - *

If the protocol is TCP or UDP, this is the start of the port range. - * If the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP types).

- * @public - */ - FromPort?: number; - - /** - *

The IP protocol name (tcp, udp, icmp, icmpv6) or number - * (see Protocol Numbers).

- * @public - */ - IpProtocol?: string; - - /** - *

The IP ranges. Not applicable for stale security group rules.

- * @public - */ - IpRanges?: string[]; - - /** - *

The prefix list IDs. Not applicable for stale security group rules.

- * @public - */ - PrefixListIds?: string[]; - - /** - *

If the protocol is TCP or UDP, this is the end of the port range. - * If the protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all ICMP codes).

- * @public - */ - ToPort?: number; - - /** - *

The security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection.

- * @public - */ - UserIdGroupPairs?: UserIdGroupPair[]; -} - -/** - *

Describes a stale security group (a security group that contains stale rules).

- * @public - */ -export interface StaleSecurityGroup { - /** - *

The description of the security group.

- * @public - */ - Description?: string; - - /** - *

The ID of the security group.

- * @public - */ - GroupId?: string; - - /** - *

The name of the security group.

- * @public - */ - GroupName?: string; - - /** - *

Information about the stale inbound rules in the security group.

- * @public - */ - StaleIpPermissions?: StaleIpPermission[]; - - /** - *

Information about the stale outbound rules in the security group.

- * @public - */ - StaleIpPermissionsEgress?: StaleIpPermission[]; - - /** - *

The ID of the VPC for the security group.

- * @public - */ - VpcId?: string; -} - -/** - * @public - */ -export interface DescribeStaleSecurityGroupsResult { - /** - *

The token to include in another request to get the next page of items. - * If there are no additional items to return, the string is empty.

- * @public - */ - NextToken?: string; - - /** - *

Information about the stale security groups.

- * @public - */ - StaleSecurityGroupSet?: StaleSecurityGroup[]; -} - -/** - * @public - */ -export interface DescribeStoreImageTasksRequest { - /** - *

The AMI IDs for which to show progress. Up to 20 AMI IDs can be included in a request.

- * @public - */ - ImageIds?: string[]; - - /** - *

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 - * DryRunOperation. Otherwise, it is UnauthorizedOperation.

- * @public - */ - DryRun?: boolean; - - /** - *

The filters.

- * - * - *

When you specify the ImageIds parameter, any filters that you specify are - * ignored. To use the filters, you must remove the ImageIds parameter.

- *
- * @public - */ - Filters?: Filter[]; - - /** - *

The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

- * @public - */ - NextToken?: string; - - /** - *

The maximum number of items to return for this request. - * To get the next page of items, make another request with the token returned in the output. - * For more information, see Pagination.

- *

You cannot specify this parameter and the ImageIds parameter in the same - * call.

- * @public - */ - MaxResults?: number; -} - -/** - *

The information about the AMI store task, including the progress of the task.

- * @public - */ -export interface StoreImageTaskResult { - /** - *

The ID of the AMI that is being stored.

- * @public - */ - AmiId?: string; - - /** - *

The time the task started.

- * @public - */ - TaskStartTime?: Date; - - /** - *

The name of the Amazon S3 bucket that contains the stored AMI object.

- * @public - */ - Bucket?: string; - - /** - *

The name of the stored AMI object in the bucket.

- * @public - */ - S3objectKey?: string; - - /** - *

The progress of the task as a percentage.

- * @public - */ - ProgressPercentage?: number; - - /** - *

The state of the store task (InProgress, Completed, or - * Failed).

- * @public - */ - StoreTaskState?: string; - - /** - *

If the tasks fails, the reason for the failure is returned. If the task succeeds, - * null is returned.

- * @public - */ - StoreTaskFailureReason?: string; -} - -/** - * @public - */ -export interface DescribeStoreImageTasksResult { - /** - *

The information about the AMI store tasks.

- * @public - */ - StoreImageTaskResults?: StoreImageTaskResult[]; - - /** - *

The token to include in another request to get the next page of items. This value is null when there - * are no more items to return.

- * @public - */ - NextToken?: string; -} - -/** - * @public - */ -export interface DescribeSubnetsRequest { - /** - *

The filters.

- * - * @public - */ - Filters?: Filter[]; - - /** - *

The IDs of the subnets.

- *

Default: Describes all your subnets.

- * @public - */ - SubnetIds?: string[]; - - /** - *

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 DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

- * @public - */ - DryRun?: boolean; - - /** - *

The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

- * @public - */ - NextToken?: string; - - /** - *

The maximum number of items to return for this request. - * To get the next page of items, make another request with the token returned in the output. - * For more information, see Pagination.

- * @public - */ - MaxResults?: number; -} - /** * @internal */ diff --git a/clients/client-ec2/src/models/models_5.ts b/clients/client-ec2/src/models/models_5.ts index ce2adfaf7d8d..746384793105 100644 --- a/clients/client-ec2/src/models/models_5.ts +++ b/clients/client-ec2/src/models/models_5.ts @@ -8,7 +8,6 @@ import { CurrencyCodeValues, IamInstanceProfileAssociation, InstanceEventWindow, - IpamPoolAllocation, IpamResourceDiscoveryAssociation, NatGatewayAddress, ResourceType, @@ -24,6 +23,7 @@ import { TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, + UserIdGroupPair, VerifiedAccessInstance, VerifiedAccessTrustProvider, VerifiedAccessTrustProviderFilterSensitiveLog, @@ -32,7 +32,7 @@ import { VpcPeeringConnection, } from "./models_0"; -import { DiskImageFormat, InstanceRequirementsRequest, IpamResourceTag, Subnet, VolumeType, Vpc } from "./models_1"; +import { DiskImageFormat, InstanceRequirementsRequest, Subnet, VolumeType, Vpc } from "./models_1"; import { ConnectionNotification, @@ -82,6 +82,409 @@ import { import { ArchitectureType, AttributeBooleanValue } from "./models_4"; +/** + *

Describes a stale rule in a security group.

+ * @public + */ +export interface StaleIpPermission { + /** + *

If the protocol is TCP or UDP, this is the start of the port range. + * If the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP types).

+ * @public + */ + FromPort?: number; + + /** + *

The IP protocol name (tcp, udp, icmp, icmpv6) or number + * (see Protocol Numbers).

+ * @public + */ + IpProtocol?: string; + + /** + *

The IP ranges. Not applicable for stale security group rules.

+ * @public + */ + IpRanges?: string[]; + + /** + *

The prefix list IDs. Not applicable for stale security group rules.

+ * @public + */ + PrefixListIds?: string[]; + + /** + *

If the protocol is TCP or UDP, this is the end of the port range. + * If the protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all ICMP codes).

+ * @public + */ + ToPort?: number; + + /** + *

The security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection.

+ * @public + */ + UserIdGroupPairs?: UserIdGroupPair[]; +} + +/** + *

Describes a stale security group (a security group that contains stale rules).

+ * @public + */ +export interface StaleSecurityGroup { + /** + *

The description of the security group.

+ * @public + */ + Description?: string; + + /** + *

The ID of the security group.

+ * @public + */ + GroupId?: string; + + /** + *

The name of the security group.

+ * @public + */ + GroupName?: string; + + /** + *

Information about the stale inbound rules in the security group.

+ * @public + */ + StaleIpPermissions?: StaleIpPermission[]; + + /** + *

Information about the stale outbound rules in the security group.

+ * @public + */ + StaleIpPermissionsEgress?: StaleIpPermission[]; + + /** + *

The ID of the VPC for the security group.

+ * @public + */ + VpcId?: string; +} + +/** + * @public + */ +export interface DescribeStaleSecurityGroupsResult { + /** + *

The token to include in another request to get the next page of items. + * If there are no additional items to return, the string is empty.

+ * @public + */ + NextToken?: string; + + /** + *

Information about the stale security groups.

+ * @public + */ + StaleSecurityGroupSet?: StaleSecurityGroup[]; +} + +/** + * @public + */ +export interface DescribeStoreImageTasksRequest { + /** + *

The AMI IDs for which to show progress. Up to 20 AMI IDs can be included in a request.

+ * @public + */ + ImageIds?: string[]; + + /** + *

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 + * DryRunOperation. Otherwise, it is UnauthorizedOperation.

+ * @public + */ + DryRun?: boolean; + + /** + *

The filters.

+ * + * + *

When you specify the ImageIds parameter, any filters that you specify are + * ignored. To use the filters, you must remove the ImageIds parameter.

+ *
+ * @public + */ + Filters?: Filter[]; + + /** + *

The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

+ * @public + */ + NextToken?: string; + + /** + *

The maximum number of items to return for this request. + * To get the next page of items, make another request with the token returned in the output. + * For more information, see Pagination.

+ *

You cannot specify this parameter and the ImageIds parameter in the same + * call.

+ * @public + */ + MaxResults?: number; +} + +/** + *

The information about the AMI store task, including the progress of the task.

+ * @public + */ +export interface StoreImageTaskResult { + /** + *

The ID of the AMI that is being stored.

+ * @public + */ + AmiId?: string; + + /** + *

The time the task started.

+ * @public + */ + TaskStartTime?: Date; + + /** + *

The name of the Amazon S3 bucket that contains the stored AMI object.

+ * @public + */ + Bucket?: string; + + /** + *

The name of the stored AMI object in the bucket.

+ * @public + */ + S3objectKey?: string; + + /** + *

The progress of the task as a percentage.

+ * @public + */ + ProgressPercentage?: number; + + /** + *

The state of the store task (InProgress, Completed, or + * Failed).

+ * @public + */ + StoreTaskState?: string; + + /** + *

If the tasks fails, the reason for the failure is returned. If the task succeeds, + * null is returned.

+ * @public + */ + StoreTaskFailureReason?: string; +} + +/** + * @public + */ +export interface DescribeStoreImageTasksResult { + /** + *

The information about the AMI store tasks.

+ * @public + */ + StoreImageTaskResults?: StoreImageTaskResult[]; + + /** + *

The token to include in another request to get the next page of items. This value is null when there + * are no more items to return.

+ * @public + */ + NextToken?: string; +} + +/** + * @public + */ +export interface DescribeSubnetsRequest { + /** + *

The filters.

+ * + * @public + */ + Filters?: Filter[]; + + /** + *

The IDs of the subnets.

+ *

Default: Describes all your subnets.

+ * @public + */ + SubnetIds?: string[]; + + /** + *

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 DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

+ * @public + */ + DryRun?: boolean; + + /** + *

The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

+ * @public + */ + NextToken?: string; + + /** + *

The maximum number of items to return for this request. + * To get the next page of items, make another request with the token returned in the output. + * For more information, see Pagination.

+ * @public + */ + MaxResults?: number; +} + /** * @public */ @@ -8389,261 +8792,6 @@ export interface GetIpamDiscoveredPublicAddressesResult { NextToken?: string; } -/** - * @public - */ -export interface GetIpamDiscoveredResourceCidrsRequest { - /** - *

A check for 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 DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

- * @public - */ - DryRun?: boolean; - - /** - *

A resource discovery ID.

- * @public - */ - IpamResourceDiscoveryId: string | undefined; - - /** - *

A resource Region.

- * @public - */ - ResourceRegion: string | undefined; - - /** - *

Filters.

- * @public - */ - Filters?: Filter[]; - - /** - *

Specify the pagination token from a previous request to retrieve the next page of results.

- * @public - */ - NextToken?: string; - - /** - *

The maximum number of discovered resource CIDRs to return in one page of results.

- * @public - */ - MaxResults?: number; -} - -/** - * @public - * @enum - */ -export const IpamResourceType = { - eip: "eip", - eni: "eni", - ipv6_pool: "ipv6-pool", - public_ipv4_pool: "public-ipv4-pool", - subnet: "subnet", - vpc: "vpc", -} as const; - -/** - * @public - */ -export type IpamResourceType = (typeof IpamResourceType)[keyof typeof IpamResourceType]; - -/** - *

An IPAM discovered resource CIDR. A discovered resource is a resource CIDR monitored under a resource discovery. The following resources can be discovered: VPCs, Public IPv4 pools, VPC subnets, and Elastic IP addresses. The discovered resource CIDR is the IP address range in CIDR notation that is associated with the resource.

- * @public - */ -export interface IpamDiscoveredResourceCidr { - /** - *

The resource discovery ID.

- * @public - */ - IpamResourceDiscoveryId?: string; - - /** - *

The resource Region.

- * @public - */ - ResourceRegion?: string; - - /** - *

The resource ID.

- * @public - */ - ResourceId?: string; - - /** - *

The resource owner ID.

- * @public - */ - ResourceOwnerId?: string; - - /** - *

The resource CIDR.

- * @public - */ - ResourceCidr?: string; - - /** - *

The resource type.

- * @public - */ - ResourceType?: IpamResourceType; - - /** - *

The resource tags.

- * @public - */ - ResourceTags?: IpamResourceTag[]; - - /** - *

The percentage of IP address space in use. To convert the decimal to a percentage, multiply the decimal by 100. Note the following:

- * - * @public - */ - IpUsage?: number; - - /** - *

The VPC ID.

- * @public - */ - VpcId?: string; - - /** - *

The last successful resource discovery time.

- * @public - */ - SampleTime?: Date; -} - -/** - * @public - */ -export interface GetIpamDiscoveredResourceCidrsResult { - /** - *

Discovered resource CIDRs.

- * @public - */ - IpamDiscoveredResourceCidrs?: IpamDiscoveredResourceCidr[]; - - /** - *

Specify the pagination token from a previous request to retrieve the next page of results.

- * @public - */ - NextToken?: string; -} - -/** - * @public - */ -export interface GetIpamPoolAllocationsRequest { - /** - *

A check for 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 DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

- * @public - */ - DryRun?: boolean; - - /** - *

The ID of the IPAM pool you want to see the allocations for.

- * @public - */ - IpamPoolId: string | undefined; - - /** - *

The ID of the allocation.

- * @public - */ - IpamPoolAllocationId?: string; - - /** - *

One or more filters for the request. For more information about filtering, see Filtering CLI output.

- * @public - */ - Filters?: Filter[]; - - /** - *

The maximum number of results you would like returned per page.

- * @public - */ - MaxResults?: number; - - /** - *

The token for the next page of results.

- * @public - */ - NextToken?: string; -} - -/** - * @public - */ -export interface GetIpamPoolAllocationsResult { - /** - *

The IPAM pool allocations you want information on.

- * @public - */ - IpamPoolAllocations?: IpamPoolAllocation[]; - - /** - *

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

- * @public - */ - NextToken?: string; -} - -/** - * @public - */ -export interface GetIpamPoolCidrsRequest { - /** - *

A check for 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 DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

- * @public - */ - DryRun?: boolean; - - /** - *

The ID of the IPAM pool you want the CIDR for.

- * @public - */ - IpamPoolId: string | undefined; - - /** - *

One or more filters for the request. For more information about filtering, see Filtering CLI output.

- * @public - */ - Filters?: Filter[]; - - /** - *

The maximum number of results to return in the request.

- * @public - */ - MaxResults?: number; - - /** - *

The token for the next page of results.

- * @public - */ - NextToken?: string; -} - /** * @internal */ diff --git a/clients/client-ec2/src/models/models_6.ts b/clients/client-ec2/src/models/models_6.ts index 122ee1ebdc44..7033ab5c8a5c 100644 --- a/clients/client-ec2/src/models/models_6.ts +++ b/clients/client-ec2/src/models/models_6.ts @@ -21,6 +21,7 @@ import { HostMaintenance, HostRecovery, InstanceEventWindow, + IpamPoolAllocation, Ipv6SupportValue, SecurityGroupReferencingSupportValue, SubnetAssociation, @@ -121,7 +122,6 @@ import { FpgaImageAttributeName, ImdsSupportValues, ImportImageLicenseConfigurationResponse, - InstanceTagNotificationAttribute, IpamPoolCidr, LaunchPermission, PermissionGroup, @@ -160,7 +160,6 @@ import { InstanceFamilyCreditSpecification, IpamComplianceStatus, IpamOverlapStatus, - IpamResourceType, Purchase, SnapshotBlockPublicAccessState, TransitGatewayPropagationState, @@ -169,6 +168,261 @@ import { VolumeModification, } from "./models_5"; +/** + * @public + */ +export interface GetIpamDiscoveredResourceCidrsRequest { + /** + *

A check for 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 DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

+ * @public + */ + DryRun?: boolean; + + /** + *

A resource discovery ID.

+ * @public + */ + IpamResourceDiscoveryId: string | undefined; + + /** + *

A resource Region.

+ * @public + */ + ResourceRegion: string | undefined; + + /** + *

Filters.

+ * @public + */ + Filters?: Filter[]; + + /** + *

Specify the pagination token from a previous request to retrieve the next page of results.

+ * @public + */ + NextToken?: string; + + /** + *

The maximum number of discovered resource CIDRs to return in one page of results.

+ * @public + */ + MaxResults?: number; +} + +/** + * @public + * @enum + */ +export const IpamResourceType = { + eip: "eip", + eni: "eni", + ipv6_pool: "ipv6-pool", + public_ipv4_pool: "public-ipv4-pool", + subnet: "subnet", + vpc: "vpc", +} as const; + +/** + * @public + */ +export type IpamResourceType = (typeof IpamResourceType)[keyof typeof IpamResourceType]; + +/** + *

An IPAM discovered resource CIDR. A discovered resource is a resource CIDR monitored under a resource discovery. The following resources can be discovered: VPCs, Public IPv4 pools, VPC subnets, and Elastic IP addresses. The discovered resource CIDR is the IP address range in CIDR notation that is associated with the resource.

+ * @public + */ +export interface IpamDiscoveredResourceCidr { + /** + *

The resource discovery ID.

+ * @public + */ + IpamResourceDiscoveryId?: string; + + /** + *

The resource Region.

+ * @public + */ + ResourceRegion?: string; + + /** + *

The resource ID.

+ * @public + */ + ResourceId?: string; + + /** + *

The resource owner ID.

+ * @public + */ + ResourceOwnerId?: string; + + /** + *

The resource CIDR.

+ * @public + */ + ResourceCidr?: string; + + /** + *

The resource type.

+ * @public + */ + ResourceType?: IpamResourceType; + + /** + *

The resource tags.

+ * @public + */ + ResourceTags?: IpamResourceTag[]; + + /** + *

The percentage of IP address space in use. To convert the decimal to a percentage, multiply the decimal by 100. Note the following:

+ * + * @public + */ + IpUsage?: number; + + /** + *

The VPC ID.

+ * @public + */ + VpcId?: string; + + /** + *

The last successful resource discovery time.

+ * @public + */ + SampleTime?: Date; +} + +/** + * @public + */ +export interface GetIpamDiscoveredResourceCidrsResult { + /** + *

Discovered resource CIDRs.

+ * @public + */ + IpamDiscoveredResourceCidrs?: IpamDiscoveredResourceCidr[]; + + /** + *

Specify the pagination token from a previous request to retrieve the next page of results.

+ * @public + */ + NextToken?: string; +} + +/** + * @public + */ +export interface GetIpamPoolAllocationsRequest { + /** + *

A check for 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 DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

+ * @public + */ + DryRun?: boolean; + + /** + *

The ID of the IPAM pool you want to see the allocations for.

+ * @public + */ + IpamPoolId: string | undefined; + + /** + *

The ID of the allocation.

+ * @public + */ + IpamPoolAllocationId?: string; + + /** + *

One or more filters for the request. For more information about filtering, see Filtering CLI output.

+ * @public + */ + Filters?: Filter[]; + + /** + *

The maximum number of results you would like returned per page.

+ * @public + */ + MaxResults?: number; + + /** + *

The token for the next page of results.

+ * @public + */ + NextToken?: string; +} + +/** + * @public + */ +export interface GetIpamPoolAllocationsResult { + /** + *

The IPAM pool allocations you want information on.

+ * @public + */ + IpamPoolAllocations?: IpamPoolAllocation[]; + + /** + *

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

+ * @public + */ + NextToken?: string; +} + +/** + * @public + */ +export interface GetIpamPoolCidrsRequest { + /** + *

A check for 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 DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

+ * @public + */ + DryRun?: boolean; + + /** + *

The ID of the IPAM pool you want the CIDR for.

+ * @public + */ + IpamPoolId: string | undefined; + + /** + *

One or more filters for the request. For more information about filtering, see Filtering CLI output.

+ * @public + */ + Filters?: Filter[]; + + /** + *

The maximum number of results to return in the request.

+ * @public + */ + MaxResults?: number; + + /** + *

The token for the next page of results.

+ * @public + */ + NextToken?: string; +} + /** * @public */ @@ -9325,157 +9579,6 @@ export interface RegisterInstanceTagAttributeRequest { InstanceTagKeys?: string[]; } -/** - * @public - */ -export interface RegisterInstanceEventNotificationAttributesRequest { - /** - *

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 DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

- * @public - */ - DryRun?: boolean; - - /** - *

Information about the tag keys to register.

- * @public - */ - InstanceTagAttribute: RegisterInstanceTagAttributeRequest | undefined; -} - -/** - * @public - */ -export interface RegisterInstanceEventNotificationAttributesResult { - /** - *

The resulting set of tag keys.

- * @public - */ - InstanceTagAttribute?: InstanceTagNotificationAttribute; -} - -/** - * @public - */ -export interface RegisterTransitGatewayMulticastGroupMembersRequest { - /** - *

The ID of the transit gateway multicast domain.

- * @public - */ - TransitGatewayMulticastDomainId: string | undefined; - - /** - *

The IP address assigned to the transit gateway multicast group.

- * @public - */ - GroupIpAddress?: string; - - /** - *

The group members' network interface IDs to register with the transit gateway multicast group.

- * @public - */ - NetworkInterfaceIds: string[] | undefined; - - /** - *

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 DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

- * @public - */ - DryRun?: boolean; -} - -/** - *

Describes the registered transit gateway multicast group members.

- * @public - */ -export interface TransitGatewayMulticastRegisteredGroupMembers { - /** - *

The ID of the transit gateway multicast domain.

- * @public - */ - TransitGatewayMulticastDomainId?: string; - - /** - *

The ID of the registered network interfaces.

- * @public - */ - RegisteredNetworkInterfaceIds?: string[]; - - /** - *

The IP address assigned to the transit gateway multicast group.

- * @public - */ - GroupIpAddress?: string; -} - -/** - * @public - */ -export interface RegisterTransitGatewayMulticastGroupMembersResult { - /** - *

Information about the registered transit gateway multicast group members.

- * @public - */ - RegisteredMulticastGroupMembers?: TransitGatewayMulticastRegisteredGroupMembers; -} - -/** - * @public - */ -export interface RegisterTransitGatewayMulticastGroupSourcesRequest { - /** - *

The ID of the transit gateway multicast domain.

- * @public - */ - TransitGatewayMulticastDomainId: string | undefined; - - /** - *

The IP address assigned to the transit gateway multicast group.

- * @public - */ - GroupIpAddress?: string; - - /** - *

The group sources' network interface IDs to register with the transit gateway multicast group.

- * @public - */ - NetworkInterfaceIds: string[] | undefined; - - /** - *

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 DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

- * @public - */ - DryRun?: boolean; -} - -/** - *

Describes the members registered with the transit gateway multicast group.

- * @public - */ -export interface TransitGatewayMulticastRegisteredGroupSources { - /** - *

The ID of the transit gateway multicast domain.

- * @public - */ - TransitGatewayMulticastDomainId?: string; - - /** - *

The IDs of the network interfaces members registered with the transit gateway multicast group.

- * @public - */ - RegisteredNetworkInterfaceIds?: string[]; - - /** - *

The IP address assigned to the transit gateway multicast group.

- * @public - */ - GroupIpAddress?: string; -} - /** * @internal */ diff --git a/clients/client-ec2/src/models/models_7.ts b/clients/client-ec2/src/models/models_7.ts index 1b0f77afa21a..5fc28c0935fa 100644 --- a/clients/client-ec2/src/models/models_7.ts +++ b/clients/client-ec2/src/models/models_7.ts @@ -41,7 +41,7 @@ import { import { SnapshotState, SSEType, TransitGatewayRoute } from "./models_2"; -import { ClientVpnConnectionStatus, Filter } from "./models_3"; +import { ClientVpnConnectionStatus, Filter, InstanceTagNotificationAttribute } from "./models_3"; import { HttpTokensState, @@ -66,10 +66,161 @@ import { import { CapacityReservationSpecification, InstanceMonitoring, + RegisterInstanceTagAttributeRequest, Status, - TransitGatewayMulticastRegisteredGroupSources, } from "./models_6"; +/** + * @public + */ +export interface RegisterInstanceEventNotificationAttributesRequest { + /** + *

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 DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

+ * @public + */ + DryRun?: boolean; + + /** + *

Information about the tag keys to register.

+ * @public + */ + InstanceTagAttribute: RegisterInstanceTagAttributeRequest | undefined; +} + +/** + * @public + */ +export interface RegisterInstanceEventNotificationAttributesResult { + /** + *

The resulting set of tag keys.

+ * @public + */ + InstanceTagAttribute?: InstanceTagNotificationAttribute; +} + +/** + * @public + */ +export interface RegisterTransitGatewayMulticastGroupMembersRequest { + /** + *

The ID of the transit gateway multicast domain.

+ * @public + */ + TransitGatewayMulticastDomainId: string | undefined; + + /** + *

The IP address assigned to the transit gateway multicast group.

+ * @public + */ + GroupIpAddress?: string; + + /** + *

The group members' network interface IDs to register with the transit gateway multicast group.

+ * @public + */ + NetworkInterfaceIds: string[] | undefined; + + /** + *

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 DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

+ * @public + */ + DryRun?: boolean; +} + +/** + *

Describes the registered transit gateway multicast group members.

+ * @public + */ +export interface TransitGatewayMulticastRegisteredGroupMembers { + /** + *

The ID of the transit gateway multicast domain.

+ * @public + */ + TransitGatewayMulticastDomainId?: string; + + /** + *

The ID of the registered network interfaces.

+ * @public + */ + RegisteredNetworkInterfaceIds?: string[]; + + /** + *

The IP address assigned to the transit gateway multicast group.

+ * @public + */ + GroupIpAddress?: string; +} + +/** + * @public + */ +export interface RegisterTransitGatewayMulticastGroupMembersResult { + /** + *

Information about the registered transit gateway multicast group members.

+ * @public + */ + RegisteredMulticastGroupMembers?: TransitGatewayMulticastRegisteredGroupMembers; +} + +/** + * @public + */ +export interface RegisterTransitGatewayMulticastGroupSourcesRequest { + /** + *

The ID of the transit gateway multicast domain.

+ * @public + */ + TransitGatewayMulticastDomainId: string | undefined; + + /** + *

The IP address assigned to the transit gateway multicast group.

+ * @public + */ + GroupIpAddress?: string; + + /** + *

The group sources' network interface IDs to register with the transit gateway multicast group.

+ * @public + */ + NetworkInterfaceIds: string[] | undefined; + + /** + *

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 DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

+ * @public + */ + DryRun?: boolean; +} + +/** + *

Describes the members registered with the transit gateway multicast group.

+ * @public + */ +export interface TransitGatewayMulticastRegisteredGroupSources { + /** + *

The ID of the transit gateway multicast domain.

+ * @public + */ + TransitGatewayMulticastDomainId?: string; + + /** + *

The IDs of the network interfaces members registered with the transit gateway multicast group.

+ * @public + */ + RegisteredNetworkInterfaceIds?: string[]; + + /** + *

The IP address assigned to the transit gateway multicast group.

+ * @public + */ + GroupIpAddress?: string; +} + /** * @public */ diff --git a/clients/client-ec2/src/protocols/Aws_ec2.ts b/clients/client-ec2/src/protocols/Aws_ec2.ts index 197d115195b3..a3a7ba78e974 100644 --- a/clients/client-ec2/src/protocols/Aws_ec2.ts +++ b/clients/client-ec2/src/protocols/Aws_ec2.ts @@ -3225,10 +3225,6 @@ import { DescribeSpotPriceHistoryRequest, DescribeSpotPriceHistoryResult, DescribeStaleSecurityGroupsRequest, - DescribeStaleSecurityGroupsResult, - DescribeStoreImageTasksRequest, - DescribeStoreImageTasksResult, - DescribeSubnetsRequest, DiskInfo, EbsInfo, EbsInstanceBlockDevice, @@ -3284,6 +3280,9 @@ import { LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, LockedSnapshotsInfo, + MediaAcceleratorInfo, + MediaDeviceInfo, + MediaDeviceMemoryInfo, MemoryInfo, Monitoring, MovingAddressStatus, @@ -3291,6 +3290,10 @@ import { NetworkInfo, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, + NeuronDeviceCoreInfo, + NeuronDeviceInfo, + NeuronDeviceMemoryInfo, + NeuronInfo, NitroTpmInfo, PlacementGroupInfo, PlacementGroupStrategy, @@ -3334,9 +3337,6 @@ import { SpotMaintenanceStrategies, SpotPlacement, SpotPrice, - StaleIpPermission, - StaleSecurityGroup, - StoreImageTaskResult, SupportedAdditionalProcessorFeature, TargetGroup, TargetGroupsConfig, @@ -3352,6 +3352,10 @@ import { CoipAddressUsage, DataQuery, DataResponse, + DescribeStaleSecurityGroupsResult, + DescribeStoreImageTasksRequest, + DescribeStoreImageTasksResult, + DescribeSubnetsRequest, DescribeSubnetsResult, DescribeTagsRequest, DescribeTagsResult, @@ -3581,11 +3585,6 @@ import { GetIpamDiscoveredAccountsResult, GetIpamDiscoveredPublicAddressesRequest, GetIpamDiscoveredPublicAddressesResult, - GetIpamDiscoveredResourceCidrsRequest, - GetIpamDiscoveredResourceCidrsResult, - GetIpamPoolAllocationsRequest, - GetIpamPoolAllocationsResult, - GetIpamPoolCidrsRequest, InstanceEventWindowDisassociationRequest, InstanceFamilyCreditSpecification, InstanceTypeInfoFromInstanceRequirements, @@ -3594,7 +3593,6 @@ import { IpamAddressHistoryRecord, IpamDiscoveredAccount, IpamDiscoveredPublicAddress, - IpamDiscoveredResourceCidr, IpamDiscoveryFailureReason, IpamPublicAddressSecurityGroup, IpamPublicAddressTag, @@ -3604,6 +3602,9 @@ import { PrivateDnsDetails, Purchase, ServiceDetail, + StaleIpPermission, + StaleSecurityGroup, + StoreImageTaskResult, TagDescription, TransitGatewayAttachment, TransitGatewayAttachmentAssociation, @@ -3635,6 +3636,11 @@ import { DiskImageDetail, DnsServersOptionsModifyStructure, EbsInstanceBlockDeviceSpecification, + GetIpamDiscoveredResourceCidrsRequest, + GetIpamDiscoveredResourceCidrsResult, + GetIpamPoolAllocationsRequest, + GetIpamPoolAllocationsResult, + GetIpamPoolCidrsRequest, GetIpamPoolCidrsResult, GetIpamResourceCidrsRequest, GetIpamResourceCidrsResult, @@ -3707,6 +3713,7 @@ import { InstanceMonitoring, InstanceRequirementsWithMetadataRequest, IpamCidrAuthorizationContext, + IpamDiscoveredResourceCidr, IpamResourceCidr, LaunchPermissionModifications, ListImagesInRecycleBinRequest, @@ -3875,12 +3882,7 @@ import { RebootInstancesRequest, RegisterImageRequest, RegisterImageResult, - RegisterInstanceEventNotificationAttributesRequest, - RegisterInstanceEventNotificationAttributesResult, RegisterInstanceTagAttributeRequest, - RegisterTransitGatewayMulticastGroupMembersRequest, - RegisterTransitGatewayMulticastGroupMembersResult, - RegisterTransitGatewayMulticastGroupSourcesRequest, RemoveIpamOperatingRegion, RemovePrefixListEntry, ReservationValue, @@ -3899,8 +3901,6 @@ import { TrafficMirrorSessionField, TransitGatewayAttachmentPropagation, TransitGatewayMulticastDomainAssociation, - TransitGatewayMulticastRegisteredGroupMembers, - TransitGatewayMulticastRegisteredGroupSources, TransitGatewayPolicyRule, TransitGatewayPolicyRuleMetaData, TransitGatewayPolicyTableEntry, @@ -3929,6 +3929,11 @@ import { LaunchTemplateSpecification, LicenseConfigurationRequest, PrivateDnsNameOptionsRequest, + RegisterInstanceEventNotificationAttributesRequest, + RegisterInstanceEventNotificationAttributesResult, + RegisterTransitGatewayMulticastGroupMembersRequest, + RegisterTransitGatewayMulticastGroupMembersResult, + RegisterTransitGatewayMulticastGroupSourcesRequest, RegisterTransitGatewayMulticastGroupSourcesResult, RejectTransitGatewayMulticastDomainAssociationsRequest, RejectTransitGatewayMulticastDomainAssociationsResult, @@ -4027,6 +4032,8 @@ import { TerminateInstancesRequest, TerminateInstancesResult, TransitGatewayMulticastGroup, + TransitGatewayMulticastRegisteredGroupMembers, + TransitGatewayMulticastRegisteredGroupSources, UnassignIpv6AddressesRequest, UnassignIpv6AddressesResult, UnassignPrivateIpAddressesRequest, @@ -69763,6 +69770,12 @@ const de_InstanceTypeInfo = (output: any, context: __SerdeContext): InstanceType if (output[_nTI] != null) { contents[_NTI] = de_NitroTpmInfo(output[_nTI], context); } + if (output[_mAIe] != null) { + contents[_MAIe] = de_MediaAcceleratorInfo(output[_mAIe], context); + } + if (output[_nIeu] != null) { + contents[_NIeu] = de_NeuronInfo(output[_nIeu], context); + } return contents; }; @@ -72585,6 +72598,64 @@ const de_ManagedPrefixListSet = (output: any, context: __SerdeContext): ManagedP }); }; +/** + * deserializeAws_ec2MediaAcceleratorInfo + */ +const de_MediaAcceleratorInfo = (output: any, context: __SerdeContext): MediaAcceleratorInfo => { + const contents: any = {}; + if (output.accelerators === "") { + contents[_Acc] = []; + } else if (output[_acc] != null && output[_acc][_i] != null) { + contents[_Acc] = de_MediaDeviceInfoList(__getArrayIfSingleItem(output[_acc][_i]), context); + } + if (output[_tMMIMB] != null) { + contents[_TMMIMB] = __strictParseInt32(output[_tMMIMB]) as number; + } + return contents; +}; + +/** + * deserializeAws_ec2MediaDeviceInfo + */ +const de_MediaDeviceInfo = (output: any, context: __SerdeContext): MediaDeviceInfo => { + const contents: any = {}; + if (output[_cou] != null) { + contents[_Cou] = __strictParseInt32(output[_cou]) as number; + } + if (output[_n] != null) { + contents[_N] = __expectString(output[_n]); + } + if (output[_man] != null) { + contents[_Man] = __expectString(output[_man]); + } + if (output[_mIe] != null) { + contents[_MIe] = de_MediaDeviceMemoryInfo(output[_mIe], context); + } + return contents; +}; + +/** + * deserializeAws_ec2MediaDeviceInfoList + */ +const de_MediaDeviceInfoList = (output: any, context: __SerdeContext): MediaDeviceInfo[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + return de_MediaDeviceInfo(entry, context); + }); +}; + +/** + * deserializeAws_ec2MediaDeviceMemoryInfo + */ +const de_MediaDeviceMemoryInfo = (output: any, context: __SerdeContext): MediaDeviceMemoryInfo => { + const contents: any = {}; + if (output[_sIMB] != null) { + contents[_SIMB] = __strictParseInt32(output[_sIMB]) as number; + } + return contents; +}; + /** * deserializeAws_ec2MemoryGiBPerVCpu */ @@ -74371,6 +74442,78 @@ const de_NetworkNodesList = (output: any, context: __SerdeContext): string[] => }); }; +/** + * deserializeAws_ec2NeuronDeviceCoreInfo + */ +const de_NeuronDeviceCoreInfo = (output: any, context: __SerdeContext): NeuronDeviceCoreInfo => { + const contents: any = {}; + if (output[_cou] != null) { + contents[_Cou] = __strictParseInt32(output[_cou]) as number; + } + if (output[_ve] != null) { + contents[_V] = __strictParseInt32(output[_ve]) as number; + } + return contents; +}; + +/** + * deserializeAws_ec2NeuronDeviceInfo + */ +const de_NeuronDeviceInfo = (output: any, context: __SerdeContext): NeuronDeviceInfo => { + const contents: any = {}; + if (output[_cou] != null) { + contents[_Cou] = __strictParseInt32(output[_cou]) as number; + } + if (output[_n] != null) { + contents[_N] = __expectString(output[_n]); + } + if (output[_cIor] != null) { + contents[_CIor] = de_NeuronDeviceCoreInfo(output[_cIor], context); + } + if (output[_mIe] != null) { + contents[_MIe] = de_NeuronDeviceMemoryInfo(output[_mIe], context); + } + return contents; +}; + +/** + * deserializeAws_ec2NeuronDeviceInfoList + */ +const de_NeuronDeviceInfoList = (output: any, context: __SerdeContext): NeuronDeviceInfo[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + return de_NeuronDeviceInfo(entry, context); + }); +}; + +/** + * deserializeAws_ec2NeuronDeviceMemoryInfo + */ +const de_NeuronDeviceMemoryInfo = (output: any, context: __SerdeContext): NeuronDeviceMemoryInfo => { + const contents: any = {}; + if (output[_sIMB] != null) { + contents[_SIMB] = __strictParseInt32(output[_sIMB]) as number; + } + return contents; +}; + +/** + * deserializeAws_ec2NeuronInfo + */ +const de_NeuronInfo = (output: any, context: __SerdeContext): NeuronInfo => { + const contents: any = {}; + if (output.neuronDevices === "") { + contents[_NDe] = []; + } else if (output[_nDe] != null && output[_nDe][_i] != null) { + contents[_NDe] = de_NeuronDeviceInfoList(__getArrayIfSingleItem(output[_nDe][_i]), context); + } + if (output[_tNDMIMB] != null) { + contents[_TNDMIMB] = __strictParseInt32(output[_tNDMIMB]) as number; + } + return contents; +}; + /** * deserializeAws_ec2NitroTpmInfo */ @@ -83397,6 +83540,7 @@ const _CIli = "ClientIp"; const _CIo = "ConnectionId"; const _CIom = "ComponentId"; const _CIop = "CoIp"; +const _CIor = "CoreInfo"; const _CIr = "CreateImage"; const _CIre = "CreateIpam"; const _CKP = "CreateKeyPair"; @@ -84534,6 +84678,7 @@ const _MAA = "ModifyAddressAttribute"; const _MAAA = "MaintenanceAutoAppliedAfter"; const _MAE = "MultiAttachEnabled"; const _MAI = "MaxAggregationInterval"; +const _MAIe = "MediaAcceleratorInfo"; const _MAS = "MovingAddressStatuses"; const _MATV = "MoveAddressToVpc"; const _MAZG = "ModifyAvailabilityZoneGroup"; @@ -84679,6 +84824,7 @@ const _NBGe = "NetworkBandwidthGbps"; const _NC = "NetworkCards"; const _NCI = "NetworkCardIndex"; const _ND = "NoDevice"; +const _NDe = "NeuronDevices"; const _NES = "NitroEnclavesSupport"; const _NG = "NatGateway"; const _NGA = "NatGatewayAddresses"; @@ -84719,6 +84865,7 @@ const _NIPet = "NetworkInterfacePermissions"; const _NIe = "NetworkId"; const _NIet = "NetworkInterface"; const _NIetw = "NetworkInfo"; +const _NIeu = "NeuronInfo"; const _NL = "NetmaskLength"; const _NLBA = "NetworkLoadBalancerArn"; const _NLBAe = "NetworkLoadBalancerArns"; @@ -85395,6 +85542,7 @@ const _TMFIr = "TrafficMirrorFilterIds"; const _TMFR = "TrafficMirrorFilterRule"; const _TMFRI = "TrafficMirrorFilterRuleId"; const _TMFr = "TrafficMirrorFilters"; +const _TMMIMB = "TotalMediaMemoryInMiB"; const _TMS = "TrafficMirrorSession"; const _TMSI = "TrafficMirrorSessionId"; const _TMSIr = "TrafficMirrorSessionIds"; @@ -85404,6 +85552,7 @@ const _TMTI = "TrafficMirrorTargetId"; const _TMTIr = "TrafficMirrorTargetIds"; const _TMTr = "TrafficMirrorTargets"; const _TNC = "TargetNetworkCidr"; +const _TNDMIMB = "TotalNeuronDeviceMemoryInMiB"; const _TNI = "TargetNetworkId"; const _TO = "TunnelOptions"; const _TOAT = "TransferOfferAcceptedTimestamp"; @@ -85799,6 +85948,7 @@ const _cIli = "clientId"; const _cIo = "componentId"; const _cIon = "connectionId"; const _cIop = "coIp"; +const _cIor = "coreInfo"; const _cLB = "classicLoadBalancers"; const _cLBC = "classicLoadBalancersConfig"; const _cLBL = "classicLoadBalancerListener"; @@ -86428,6 +86578,7 @@ const _mA = "mutualAuthentication"; const _mAAA = "maintenanceAutoAppliedAfter"; const _mAE = "multiAttachEnabled"; const _mAI = "maxAggregationInterval"; +const _mAIe = "mediaAcceleratorInfo"; const _mASS = "movingAddressStatusSet"; const _mAa = "macAddress"; const _mBIM = "maximumBandwidthInMbps"; @@ -86495,6 +86646,7 @@ const _nBGe = "networkBandwidthGbps"; const _nC = "networkCards"; const _nCI = "networkCardIndex"; const _nD = "noDevice"; +const _nDe = "neuronDevices"; const _nES = "nitroEnclavesSupport"; const _nG = "natGateway"; const _nGAS = "natGatewayAddressSet"; @@ -86529,6 +86681,7 @@ const _nIPe = "networkInterfacePermissions"; const _nIS = "networkInterfaceSet"; const _nIe = "networkInterface"; const _nIet = "networkInfo"; +const _nIeu = "neuronInfo"; const _nL = "netmaskLength"; const _nLBA = "networkLoadBalancerArn"; const _nLBAS = "networkLoadBalancerArnSet"; @@ -87047,12 +87200,14 @@ const _tMFI = "trafficMirrorFilterId"; const _tMFR = "trafficMirrorFilterRule"; const _tMFRI = "trafficMirrorFilterRuleId"; const _tMFS = "trafficMirrorFilterSet"; +const _tMMIMB = "totalMediaMemoryInMiB"; const _tMS = "trafficMirrorSession"; const _tMSI = "trafficMirrorSessionId"; const _tMSS = "trafficMirrorSessionSet"; const _tMT = "trafficMirrorTarget"; const _tMTI = "trafficMirrorTargetId"; const _tMTS = "trafficMirrorTargetSet"; +const _tNDMIMB = "totalNeuronDeviceMemoryInMiB"; const _tNI = "targetNetworkId"; const _tOAT = "transferOfferAcceptedTimestamp"; const _tOET = "transferOfferExpirationTimestamp"; diff --git a/codegen/sdk-codegen/aws-models/ec2.json b/codegen/sdk-codegen/aws-models/ec2.json index b101247695e0..c3121df3d64a 100644 --- a/codegen/sdk-codegen/aws-models/ec2.json +++ b/codegen/sdk-codegen/aws-models/ec2.json @@ -65535,6 +65535,22 @@ "smithy.api#documentation": "

Describes the supported NitroTPM versions for the instance type.

", "smithy.api#xmlName": "nitroTpmInfo" } + }, + "MediaAcceleratorInfo": { + "target": "com.amazonaws.ec2#MediaAcceleratorInfo", + "traits": { + "aws.protocols#ec2QueryName": "MediaAcceleratorInfo", + "smithy.api#documentation": "

Describes the media accelerator settings for the instance type.

", + "smithy.api#xmlName": "mediaAcceleratorInfo" + } + }, + "NeuronInfo": { + "target": "com.amazonaws.ec2#NeuronInfo", + "traits": { + "aws.protocols#ec2QueryName": "NeuronInfo", + "smithy.api#documentation": "

Describes the Neuron accelerator settings for the instance type.

", + "smithy.api#xmlName": "neuronInfo" + } } }, "traits": { @@ -72916,6 +72932,107 @@ "com.amazonaws.ec2#MaximumThroughputInMBps": { "type": "double" }, + "com.amazonaws.ec2#MediaAcceleratorInfo": { + "type": "structure", + "members": { + "Accelerators": { + "target": "com.amazonaws.ec2#MediaDeviceInfoList", + "traits": { + "aws.protocols#ec2QueryName": "Accelerators", + "smithy.api#documentation": "

Describes the media accelerators for the instance type.

", + "smithy.api#xmlName": "accelerators" + } + }, + "TotalMediaMemoryInMiB": { + "target": "com.amazonaws.ec2#TotalMediaMemory", + "traits": { + "aws.protocols#ec2QueryName": "TotalMediaMemoryInMiB", + "smithy.api#documentation": "

The total size of the memory for the media accelerators for the instance type, in MiB.

", + "smithy.api#xmlName": "totalMediaMemoryInMiB" + } + } + }, + "traits": { + "smithy.api#documentation": "

Describes the media accelerators for the instance type.

" + } + }, + "com.amazonaws.ec2#MediaDeviceCount": { + "type": "integer" + }, + "com.amazonaws.ec2#MediaDeviceInfo": { + "type": "structure", + "members": { + "Count": { + "target": "com.amazonaws.ec2#MediaDeviceCount", + "traits": { + "aws.protocols#ec2QueryName": "Count", + "smithy.api#documentation": "

The number of media accelerators for the instance type.

", + "smithy.api#xmlName": "count" + } + }, + "Name": { + "target": "com.amazonaws.ec2#MediaDeviceName", + "traits": { + "aws.protocols#ec2QueryName": "Name", + "smithy.api#documentation": "

The name of the media accelerator.

", + "smithy.api#xmlName": "name" + } + }, + "Manufacturer": { + "target": "com.amazonaws.ec2#MediaDeviceManufacturerName", + "traits": { + "aws.protocols#ec2QueryName": "Manufacturer", + "smithy.api#documentation": "

The manufacturer of the media accelerator.

", + "smithy.api#xmlName": "manufacturer" + } + }, + "MemoryInfo": { + "target": "com.amazonaws.ec2#MediaDeviceMemoryInfo", + "traits": { + "aws.protocols#ec2QueryName": "MemoryInfo", + "smithy.api#documentation": "

Describes the memory available to the media accelerator.

", + "smithy.api#xmlName": "memoryInfo" + } + } + }, + "traits": { + "smithy.api#documentation": "

Describes the media accelerators for the instance type.

" + } + }, + "com.amazonaws.ec2#MediaDeviceInfoList": { + "type": "list", + "member": { + "target": "com.amazonaws.ec2#MediaDeviceInfo", + "traits": { + "smithy.api#xmlName": "item" + } + } + }, + "com.amazonaws.ec2#MediaDeviceManufacturerName": { + "type": "string" + }, + "com.amazonaws.ec2#MediaDeviceMemoryInfo": { + "type": "structure", + "members": { + "SizeInMiB": { + "target": "com.amazonaws.ec2#MediaDeviceMemorySize", + "traits": { + "aws.protocols#ec2QueryName": "SizeInMiB", + "smithy.api#documentation": "

The size of the memory available to each media accelerator, in MiB.

", + "smithy.api#xmlName": "sizeInMiB" + } + } + }, + "traits": { + "smithy.api#documentation": "

Describes the memory available to the media accelerator.

" + } + }, + "com.amazonaws.ec2#MediaDeviceMemorySize": { + "type": "integer" + }, + "com.amazonaws.ec2#MediaDeviceName": { + "type": "string" + }, "com.amazonaws.ec2#MembershipType": { "type": "enum", "members": { @@ -80924,6 +81041,134 @@ "com.amazonaws.ec2#NetworkPerformance": { "type": "string" }, + "com.amazonaws.ec2#NeuronDeviceCoreCount": { + "type": "integer" + }, + "com.amazonaws.ec2#NeuronDeviceCoreInfo": { + "type": "structure", + "members": { + "Count": { + "target": "com.amazonaws.ec2#NeuronDeviceCoreCount", + "traits": { + "aws.protocols#ec2QueryName": "Count", + "smithy.api#documentation": "

The number of cores available to the neuron accelerator.

", + "smithy.api#xmlName": "count" + } + }, + "Version": { + "target": "com.amazonaws.ec2#NeuronDeviceCoreVersion", + "traits": { + "aws.protocols#ec2QueryName": "Version", + "smithy.api#documentation": "

The version of the neuron accelerator.

", + "smithy.api#xmlName": "version" + } + } + }, + "traits": { + "smithy.api#documentation": "

Describes the cores available to the neuron accelerator.

" + } + }, + "com.amazonaws.ec2#NeuronDeviceCoreVersion": { + "type": "integer" + }, + "com.amazonaws.ec2#NeuronDeviceCount": { + "type": "integer" + }, + "com.amazonaws.ec2#NeuronDeviceInfo": { + "type": "structure", + "members": { + "Count": { + "target": "com.amazonaws.ec2#NeuronDeviceCount", + "traits": { + "aws.protocols#ec2QueryName": "Count", + "smithy.api#documentation": "

The number of neuron accelerators for the instance type.

", + "smithy.api#xmlName": "count" + } + }, + "Name": { + "target": "com.amazonaws.ec2#NeuronDeviceName", + "traits": { + "aws.protocols#ec2QueryName": "Name", + "smithy.api#documentation": "

The name of the neuron accelerator.

", + "smithy.api#xmlName": "name" + } + }, + "CoreInfo": { + "target": "com.amazonaws.ec2#NeuronDeviceCoreInfo", + "traits": { + "aws.protocols#ec2QueryName": "CoreInfo", + "smithy.api#documentation": "

Describes the cores available to each neuron accelerator.

", + "smithy.api#xmlName": "coreInfo" + } + }, + "MemoryInfo": { + "target": "com.amazonaws.ec2#NeuronDeviceMemoryInfo", + "traits": { + "aws.protocols#ec2QueryName": "MemoryInfo", + "smithy.api#documentation": "

Describes the memory available to each neuron accelerator.

", + "smithy.api#xmlName": "memoryInfo" + } + } + }, + "traits": { + "smithy.api#documentation": "

Describes the neuron accelerators for the instance type.

" + } + }, + "com.amazonaws.ec2#NeuronDeviceInfoList": { + "type": "list", + "member": { + "target": "com.amazonaws.ec2#NeuronDeviceInfo", + "traits": { + "smithy.api#xmlName": "item" + } + } + }, + "com.amazonaws.ec2#NeuronDeviceMemoryInfo": { + "type": "structure", + "members": { + "SizeInMiB": { + "target": "com.amazonaws.ec2#NeuronDeviceMemorySize", + "traits": { + "aws.protocols#ec2QueryName": "SizeInMiB", + "smithy.api#documentation": "

The size of the memory available to the neuron accelerator, in MiB.

", + "smithy.api#xmlName": "sizeInMiB" + } + } + }, + "traits": { + "smithy.api#documentation": "

Describes the memory available to the neuron accelerator.

" + } + }, + "com.amazonaws.ec2#NeuronDeviceMemorySize": { + "type": "integer" + }, + "com.amazonaws.ec2#NeuronDeviceName": { + "type": "string" + }, + "com.amazonaws.ec2#NeuronInfo": { + "type": "structure", + "members": { + "NeuronDevices": { + "target": "com.amazonaws.ec2#NeuronDeviceInfoList", + "traits": { + "aws.protocols#ec2QueryName": "NeuronDevices", + "smithy.api#documentation": "

Describes the neuron accelerators for the instance type.

", + "smithy.api#xmlName": "neuronDevices" + } + }, + "TotalNeuronDeviceMemoryInMiB": { + "target": "com.amazonaws.ec2#TotalNeuronMemory", + "traits": { + "aws.protocols#ec2QueryName": "TotalNeuronDeviceMemoryInMiB", + "smithy.api#documentation": "

The total size of the memory for the neuron accelerators for the instance type, in MiB.

", + "smithy.api#xmlName": "totalNeuronDeviceMemoryInMiB" + } + } + }, + "traits": { + "smithy.api#documentation": "

Describes the neuron accelerators for the instance type.

" + } + }, "com.amazonaws.ec2#NewDhcpConfiguration": { "type": "structure", "members": { @@ -94561,7 +94806,7 @@ "target": "com.amazonaws.ec2#LaunchSpecsList", "traits": { "aws.protocols#ec2QueryName": "LaunchSpecifications", - "smithy.api#documentation": "

The launch specifications for the Spot Fleet request. If you specify\n LaunchSpecifications, you can't specify\n LaunchTemplateConfigs. If you include On-Demand capacity in your\n request, you must use LaunchTemplateConfigs.

", + "smithy.api#documentation": "

The launch specifications for the Spot Fleet request. If you specify\n LaunchSpecifications, you can't specify\n LaunchTemplateConfigs. If you include On-Demand capacity in your\n request, you must use LaunchTemplateConfigs.

\n \n

If an AMI specified in a launch specification is deregistered or disabled, no new\n instances can be launched from the AMI. For fleets of type maintain, the\n target capacity will not be maintained.

\n
", "smithy.api#xmlName": "launchSpecifications" } }, @@ -97747,6 +97992,12 @@ "smithy.api#documentation": "

The minimum and maximum amount of total local storage, in GB.

" } }, + "com.amazonaws.ec2#TotalMediaMemory": { + "type": "integer" + }, + "com.amazonaws.ec2#TotalNeuronMemory": { + "type": "integer" + }, "com.amazonaws.ec2#TpmSupportValues": { "type": "enum", "members": {