Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GetSpotPlacementScoresRequest

import type { GetSpotPlacementScoresRequest } from "https://aws-api.deno.dev/v0.3/services/ec2.ts?docs=full";
interface GetSpotPlacementScoresRequest {
DryRun?: boolean | null;
InstanceRequirementsWithMetadata?: InstanceRequirementsWithMetadataRequest | null;
InstanceTypes?: string[] | null;
MaxResults?: number | null;
NextToken?: string | null;
RegionNames?: string[] | null;
SingleAvailabilityZone?: boolean | null;
TargetCapacity: number;
TargetCapacityUnitType?: TargetCapacityUnitType | null;
}

§Properties

§
DryRun?: boolean | null
[src]

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.

§
InstanceRequirementsWithMetadata?: InstanceRequirementsWithMetadataRequest | null
[src]

The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes.

If you specify InstanceRequirementsWithMetadata, you can't specify InstanceTypes.

§
InstanceTypes?: string[] | null
[src]

The instance types. We recommend that you specify at least three instance types. If you specify one or two instance types, or specify variations of a single instance type (for example, an m3.xlarge with and without instance storage), the returned placement score will always be low.

If you specify InstanceTypes, you can't specify InstanceRequirementsWithMetadata.

§
MaxResults?: number | null
[src]

The maximum number of results to return in a single call. Specify a value between 1 and
 * 1000. The default value is 1000. To retrieve the remaining results, make another call with
 * the returned NextToken value.

§
NextToken?: string | null
[src]

The token for the next set of results.

§
RegionNames?: string[] | null
[src]

The Regions used to narrow down the list of Regions to be scored. Enter the Region code, for example, us-east-1.

§
SingleAvailabilityZone?: boolean | null
[src]

Specify true so that the response returns a list of scored Availability Zones. Otherwise, the response returns a list of scored Regions.

A list of scored Availability Zones is useful if you want to launch all of your Spot capacity into a single Availability Zone.

§
TargetCapacity: number
[src]

The target capacity.

§
TargetCapacityUnitType?: TargetCapacityUnitType | null
[src]

The unit for the target capacity.

Default: units (translates to number of instances)