PreviewResult - Amazon Compute Optimizer
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

PreviewResult

Contains the results of previewing an automation rule against available recommendations.

Contents

accountId

The Amazon account ID associated with the resource.

Type: String

Pattern: [0-9]{12}

Required: No

currentResourceDetails

Detailed configuration information for a specific Amazon resource, with type-specific details.

Type: ResourceDetails object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: No

currentResourceSummary

A summary of the resource's current configuration.

Type: String

Required: No

estimatedMonthlySavings

Contains information about estimated monthly cost savings.

Type: EstimatedMonthlySavings object

Required: No

lookBackPeriodInDays

The number of days of historical data used to analyze the resource.

Type: Integer

Required: No

recommendedActionId

The ID of the recommended action being previewed.

Type: String

Pattern: [0-9A-Za-z]{16}

Required: No

recommendedActionType

The type of recommended action being previewed.

Type: String

Valid Values: SnapshotAndDeleteUnattachedEbsVolume | UpgradeEbsVolumeType

Required: No

recommendedResourceDetails

Detailed configuration information for a specific Amazon resource, with type-specific details.

Type: ResourceDetails object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: No

recommendedResourceSummary

A summary of the resource's recommended configuration.

Type: String

Required: No

region

The Amazon Region where the resource is located.

Type: String

Required: No

resourceArn

The Amazon Resource Name (ARN) of the resource affected by the recommended action.

Type: String

Pattern: arn:aws[a-z0-9-]*:[a-z0-9-]+:[a-z0-9-]*:[0-9]{0,12}:[a-zA-Z0-9/_.-]+

Required: No

resourceId

The ID of the resource affected by the recommended action.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 100.

Pattern: [a-zA-Z0-9_.-]+

Required: No

resourceTags

The tags associated with the resource.

Type: Array of Tag objects

Array Members: Minimum number of 0 items. Maximum number of 200 items.

Required: No

resourceType

The type of resource being evaluated.

Type: String

Valid Values: EbsVolume

Required: No

restartNeeded

Indicates whether implementing the recommended action requires a resource restart.

Type: Boolean

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: