types

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessDeniedException

type AccessDeniedException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

You do not have sufficient permissions to perform this action.

func (*AccessDeniedException) Error

func (e *AccessDeniedException) Error() string

func (*AccessDeniedException) ErrorCode

func (e *AccessDeniedException) ErrorCode() string

func (*AccessDeniedException) ErrorFault

func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault

func (*AccessDeniedException) ErrorMessage

func (e *AccessDeniedException) ErrorMessage() string

type AccountInfo

type AccountInfo struct {

	//  The ID of the Amazon Web Services account.
	//
	// This member is required.
	AccountId *string

	// The timestamp when the account's Automation enrollment status was last updated.
	//
	// This member is required.
	LastUpdatedTimestamp *time.Time

	// Specifies whether the management account can create Automation rules that
	// implement optimization actions for this account.
	//
	// This member is required.
	OrganizationRuleMode OrganizationRuleMode

	//  The enrollment status of the account: Active, Inactive, Pending, or Failed.
	//
	// This member is required.
	Status EnrollmentStatus

	// The reason for the current Automation enrollment status.
	StatusReason *string
	// contains filtered or unexported fields
}
Contains information about an Amazon Web Services account's enrollment and

association status with Compute Optimizer Automation.

type AutomationEvent

type AutomationEvent struct {

	//  The Amazon Web Services account ID associated with the automation event.
	AccountId *string

	//  The timestamp when the automation event completed.
	CompletedTimestamp *time.Time

	// The timestamp when the automation event was created.
	CreatedTimestamp *time.Time

	//  The estimated monthly cost savings associated with this automation event.
	EstimatedMonthlySavings *EstimatedMonthlySavings

	//  A description of the automation event.
	EventDescription *string

	//  The unique identifier for the automation event.
	EventId *string

	//  The current status of the automation event.
	EventStatus EventStatus

	//  The reason for the current event status.
	EventStatusReason *string

	//  The type of automation event.
	EventType EventType

	//  The ID of the recommended action associated with this automation event.
	RecommendedActionId *string

	//  The Amazon Web Services Region where the automation event occurred.
	Region *string

	//  The Amazon Resource Name (ARN) of the resource affected by the automation
	// event.
	ResourceArn *string

	//  The ID of the resource affected by the automation event.
	ResourceId *string

	//  The type of resource affected by the automation event.
	ResourceType ResourceType

	//  The ID of the automation rule that triggered this event.
	RuleId *string
	// contains filtered or unexported fields
}

Contains information about an automation event.

type AutomationEventFilter

type AutomationEventFilter struct {

	//  The name of the filter to apply.
	//
	// This member is required.
	Name AutomationEventFilterName

	//  The values to use for the specified filter.
	//
	// This member is required.
	Values []string
	// contains filtered or unexported fields
}

A filter to apply when listing automation events.

type AutomationEventFilterName

type AutomationEventFilterName string
const (
	AutomationEventFilterNameAccountId    AutomationEventFilterName = "AccountId"
	AutomationEventFilterNameResourceType AutomationEventFilterName = "ResourceType"
	AutomationEventFilterNameEventType    AutomationEventFilterName = "EventType"
	AutomationEventFilterNameEventStatus  AutomationEventFilterName = "EventStatus"
)

Enum values for AutomationEventFilterName

func (AutomationEventFilterName) Values

Values returns all known values for AutomationEventFilterName. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type AutomationEventStep

type AutomationEventStep struct {

	// The timestamp when this automation event step completed execution.
	CompletedTimestamp *time.Time

	//  Contains information about estimated monthly cost savings.
	EstimatedMonthlySavings *EstimatedMonthlySavings

	//  The ID of the automation event this step belongs to.
	EventId *string

	// The unique identifier of the resource being acted upon in this step.
	ResourceId *string

	// The timestamp when this automation event step started execution.
	StartTimestamp *time.Time

	//  The unique identifier for this step.
	StepId *string

	//  The current status of the step.
	StepStatus StepStatus

	//  The type of step.
	StepType StepType
	// contains filtered or unexported fields
}

Contains information about a step in an automation event.

type AutomationEventSummary

type AutomationEventSummary struct {

	// The dimensions used to group this summary, such as event status.
	Dimensions []SummaryDimension

	// The key identifier for this summary grouping.
	Key *string

	// The time period covered by this summary, with inclusive start time and
	// exclusive end time.
	TimePeriod *TimePeriod

	// The aggregated totals for this summary, including event count and estimated
	// savings.
	Total *SummaryTotals
	// contains filtered or unexported fields
}

A summary of automation events grouped by specified dimensions.

type AutomationRule

type AutomationRule struct {

	// The 12-digit Amazon Web Services account ID that owns this automation rule.
	AccountId *string

	// The timestamp when the automation rule was created.
	CreatedTimestamp *time.Time

	// A description of the automation rule.
	Description *string

	// The timestamp when the automation rule was last updated.
	LastUpdatedTimestamp *time.Time

	// The name of the automation rule.
	Name *string

	// Configuration settings for organization-wide rules.
	OrganizationConfiguration *OrganizationConfiguration

	// A string representation of a decimal number between 0 and 1 (having up to 30
	// digits after the decimal point) that determines the priority of the rule. When
	// multiple rules match the same recommended action, Compute Optimizer assigns the
	// action to the rule with the lowest priority value (highest priority), even if
	// that rule is scheduled to run later than other matching rules.
	Priority *string

	// List of recommended action types that this rule can execute.
	RecommendedActionTypes []RecommendedActionType

	// The Amazon Resource Name (ARN) of the automation rule.
	RuleArn *string

	// The unique identifier of the automation rule.
	RuleId *string

	// The revision number of the automation rule.
	RuleRevision *int64

	// The type of automation rule (OrganizationRule or AccountRule).
	RuleType RuleType

	// The schedule configuration for when the automation rule should execute.
	Schedule *Schedule

	// The current status of the automation rule (Active or Inactive).
	Status RuleStatus
	// contains filtered or unexported fields
}

Represents a complete automation rule configuration including criteria, schedule, and execution settings.

type AutomationRuleFilterName

type AutomationRuleFilterName string
const (
	AutomationRuleFilterNameName                                    AutomationRuleFilterName = "Name"
	AutomationRuleFilterNameRecommendedActionType                   AutomationRuleFilterName = "RecommendedActionType"
	AutomationRuleFilterNameStatus                                  AutomationRuleFilterName = "Status"
	AutomationRuleFilterNameRuleType                                AutomationRuleFilterName = "RuleType"
	AutomationRuleFilterNameOrganizationConfigurationRuleApplyOrder AutomationRuleFilterName = "OrganizationConfigurationRuleApplyOrder"
	AutomationRuleFilterNameAccountId                               AutomationRuleFilterName = "AccountId"
)

Enum values for AutomationRuleFilterName

func (AutomationRuleFilterName) Values

Values returns all known values for AutomationRuleFilterName. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type ComparisonOperator

type ComparisonOperator string
const (
	ComparisonOperatorStringEquals              ComparisonOperator = "StringEquals"
	ComparisonOperatorStringNotEquals           ComparisonOperator = "StringNotEquals"
	ComparisonOperatorStringEqualsIgnoreCase    ComparisonOperator = "StringEqualsIgnoreCase"
	ComparisonOperatorStringNotEqualsIgnoreCase ComparisonOperator = "StringNotEqualsIgnoreCase"
	ComparisonOperatorStringLike                ComparisonOperator = "StringLike"
	ComparisonOperatorStringNotLike             ComparisonOperator = "StringNotLike"
	ComparisonOperatorNumericEquals             ComparisonOperator = "NumericEquals"
	ComparisonOperatorNumericNotEquals          ComparisonOperator = "NumericNotEquals"
	ComparisonOperatorNumericLessThan           ComparisonOperator = "NumericLessThan"
	ComparisonOperatorNumericLessThanEquals     ComparisonOperator = "NumericLessThanEquals"
	ComparisonOperatorNumericGreaterThan        ComparisonOperator = "NumericGreaterThan"
	ComparisonOperatorNumericGreaterThanEquals  ComparisonOperator = "NumericGreaterThanEquals"
)

Enum values for ComparisonOperator

func (ComparisonOperator) Values

Values returns all known values for ComparisonOperator. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type Criteria

type Criteria struct {

	// Filter criteria for EBS volume sizes in gibibytes (GiB).
	EbsVolumeSizeInGib []IntegerCriteriaCondition

	// Filter criteria for EBS volume types, such as gp2, gp3, io1, io2, st1, or sc1.
	EbsVolumeType []StringCriteriaCondition

	// Filter criteria for estimated monthly cost savings from the recommended action.
	EstimatedMonthlySavings []DoubleCriteriaCondition

	// Filter criteria for the lookback period in days used to analyze resource
	// utilization.
	LookBackPeriodInDays []IntegerCriteriaCondition

	// Filter criteria for Amazon Web Services regions where resources must be located.
	Region []StringCriteriaCondition

	// Filter criteria for specific resource ARNs to include or exclude.
	ResourceArn []StringCriteriaCondition

	// Filter criteria for resource tags, allowing filtering by tag key and value
	// combinations.
	ResourceTag []ResourceTagsCriteriaCondition

	// Filter criteria indicating whether the recommended action requires a resource
	// restart.
	RestartNeeded []StringCriteriaCondition
	// contains filtered or unexported fields
}
A set of conditions that specify which recommended action qualify for

implementation. When a rule is active and a recommended action matches these criteria, Compute Optimizer implements the action at the scheduled run time. You can specify up to 20 conditions per filter criteria and 20 values per condition.

type DoubleCriteriaCondition

type DoubleCriteriaCondition struct {

	// The comparison operator to use, such as equals, greater than, less than, etc.
	Comparison ComparisonOperator

	// The list of double values to compare against using the specified comparison
	// operator.
	Values []float64
	// contains filtered or unexported fields
}

Defines a condition for filtering based on double/floating-point numeric values with comparison operators.

type EbsVolume

type EbsVolume struct {

	// The configuration details of the EBS volume, including type, size, IOPS, and
	// throughput.
	Configuration *EbsVolumeConfiguration
	// contains filtered or unexported fields
}

Represents an Amazon EBS volume with its configuration and snapshot usage information.

type EbsVolumeConfiguration

type EbsVolumeConfiguration struct {

	// The number of I/O operations per second (IOPS) provisioned for the volume.
	Iops *int32

	// The size of the EBS volume in gibibytes (GiB).
	SizeInGib *int32

	// The throughput in MiB/s provisioned for the volume (applicable to gp3, io1, and
	// io2bx volumes).
	Throughput *int32

	// The EBS volume type, such as gp2, gp3, io1, io2, st1, or sc1.
	Type *string
	// contains filtered or unexported fields
}

Configuration details for an Amazon EBS volume.

type EnrollmentStatus

type EnrollmentStatus string
const (
	EnrollmentStatusActive   EnrollmentStatus = "Active"
	EnrollmentStatusInactive EnrollmentStatus = "Inactive"
	EnrollmentStatusPending  EnrollmentStatus = "Pending"
	EnrollmentStatusFailed   EnrollmentStatus = "Failed"
)

Enum values for EnrollmentStatus

func (EnrollmentStatus) Values

Values returns all known values for EnrollmentStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type EstimatedMonthlySavings

type EstimatedMonthlySavings struct {

	//  The estimated monthly savings after applying any discounts.
	//
	// This member is required.
	AfterDiscountSavings *float64

	//  The estimated monthly savings before applying any discounts.
	//
	// This member is required.
	BeforeDiscountSavings *float64

	//  The currency of the estimated savings.
	//
	// This member is required.
	Currency *string

	// The mode used to calculate savings, either BeforeDiscount or AfterDiscount.
	//
	// This member is required.
	SavingsEstimationMode SavingsEstimationMode
	// contains filtered or unexported fields
}

Contains information about estimated monthly cost savings.

type EventStatus

type EventStatus string
const (
	EventStatusReady              EventStatus = "Ready"
	EventStatusInProgress         EventStatus = "InProgress"
	EventStatusComplete           EventStatus = "Complete"
	EventStatusFailed             EventStatus = "Failed"
	EventStatusCancelled          EventStatus = "Cancelled"
	EventStatusRollbackReady      EventStatus = "RollbackReady"
	EventStatusRollbackInProgress EventStatus = "RollbackInProgress"
	EventStatusRollbackComplete   EventStatus = "RollbackComplete"
	EventStatusRollbackFailed     EventStatus = "RollbackFailed"
)

Enum values for EventStatus

func (EventStatus) Values

func (EventStatus) Values() []EventStatus

Values returns all known values for EventStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type EventType

type EventType string
const (
	EventTypeSnapshotAndDeleteUnattachedEbsVolume EventType = "SnapshotAndDeleteUnattachedEbsVolume"
	EventTypeUpgradeEbsVolumeType                 EventType = "UpgradeEbsVolumeType"
)

Enum values for EventType

func (EventType) Values

func (EventType) Values() []EventType

Values returns all known values for EventType. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type Filter

type Filter struct {

	// The name of the filter field to apply.
	//
	// This member is required.
	Name AutomationRuleFilterName

	// The list of values to filter by for the specified filter field.
	//
	// This member is required.
	Values []string
	// contains filtered or unexported fields
}

A filter used to narrow down results based on specific criteria.

type ForbiddenException

type ForbiddenException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

You are not authorized to perform this action.

func (*ForbiddenException) Error

func (e *ForbiddenException) Error() string

func (*ForbiddenException) ErrorCode

func (e *ForbiddenException) ErrorCode() string

func (*ForbiddenException) ErrorFault

func (e *ForbiddenException) ErrorFault() smithy.ErrorFault

func (*ForbiddenException) ErrorMessage

func (e *ForbiddenException) ErrorMessage() string

type IdempotencyTokenInUseException

type IdempotencyTokenInUseException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The specified client token is already in use.

func (*IdempotencyTokenInUseException) Error

func (*IdempotencyTokenInUseException) ErrorCode

func (e *IdempotencyTokenInUseException) ErrorCode() string

func (*IdempotencyTokenInUseException) ErrorFault

func (*IdempotencyTokenInUseException) ErrorMessage

func (e *IdempotencyTokenInUseException) ErrorMessage() string

type IdempotentParameterMismatchException

type IdempotentParameterMismatchException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Exception thrown when the same client token is used with different parameters, indicating a mismatch in idempotent request parameters.

func (*IdempotentParameterMismatchException) Error

func (*IdempotentParameterMismatchException) ErrorCode

func (*IdempotentParameterMismatchException) ErrorFault

func (*IdempotentParameterMismatchException) ErrorMessage

func (e *IdempotentParameterMismatchException) ErrorMessage() string

type IntegerCriteriaCondition

type IntegerCriteriaCondition struct {

	// The comparison operator to use, such as equals, greater than, less than, etc.
	Comparison ComparisonOperator

	// The list of integer values to compare against using the specified comparison
	// operator.
	Values []int32
	// contains filtered or unexported fields
}

Defines a condition for filtering based on integer values with comparison operators.

type InternalServerException

type InternalServerException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

An internal error occurred while processing the request.

func (*InternalServerException) Error

func (e *InternalServerException) Error() string

func (*InternalServerException) ErrorCode

func (e *InternalServerException) ErrorCode() string

func (*InternalServerException) ErrorFault

func (e *InternalServerException) ErrorFault() smithy.ErrorFault

func (*InternalServerException) ErrorMessage

func (e *InternalServerException) ErrorMessage() string

type InvalidParameterValueException

type InvalidParameterValueException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

One or more parameter values are not valid.

func (*InvalidParameterValueException) Error

func (*InvalidParameterValueException) ErrorCode

func (e *InvalidParameterValueException) ErrorCode() string

func (*InvalidParameterValueException) ErrorFault

func (*InvalidParameterValueException) ErrorMessage

func (e *InvalidParameterValueException) ErrorMessage() string

type NotManagementAccountException

type NotManagementAccountException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The operation can only be performed by a management account.

func (*NotManagementAccountException) Error

func (*NotManagementAccountException) ErrorCode

func (e *NotManagementAccountException) ErrorCode() string

func (*NotManagementAccountException) ErrorFault

func (*NotManagementAccountException) ErrorMessage

func (e *NotManagementAccountException) ErrorMessage() string

type OptInRequiredException

type OptInRequiredException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}
The account must be opted in to Compute Optimizer Automation before performing

this action.

func (*OptInRequiredException) Error

func (e *OptInRequiredException) Error() string

func (*OptInRequiredException) ErrorCode

func (e *OptInRequiredException) ErrorCode() string

func (*OptInRequiredException) ErrorFault

func (e *OptInRequiredException) ErrorFault() smithy.ErrorFault

func (*OptInRequiredException) ErrorMessage

func (e *OptInRequiredException) ErrorMessage() string

type OrganizationConfiguration

type OrganizationConfiguration struct {

	// List of specific Amazon Web Services account IDs where the organization rule
	// should be applied.
	AccountIds []string

	// Specifies when organization rules should be applied relative to account rules.
	RuleApplyOrder RuleApplyOrder
	// contains filtered or unexported fields
}

Configuration settings for organization-wide automation rules.

type OrganizationRuleMode

type OrganizationRuleMode string
const (
	OrganizationRuleModeAnyAllowed  OrganizationRuleMode = "AnyAllowed"
	OrganizationRuleModeNoneAllowed OrganizationRuleMode = "NoneAllowed"
)

Enum values for OrganizationRuleMode

func (OrganizationRuleMode) Values

Values returns all known values for OrganizationRuleMode. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type OrganizationScope

type OrganizationScope struct {

	// List of Amazon Web Services account IDs to include in the organization scope.
	AccountIds []string
	// contains filtered or unexported fields
}
Defines the scope for organization-level rules when previewing matching

actions.

type PreviewResult

type PreviewResult struct {

	// The Amazon Web Services account ID associated with the resource.
	AccountId *string

	// Detailed configuration information for a specific Amazon Web Services resource,
	// with type-specific details.
	CurrentResourceDetails ResourceDetails

	// A summary of the resource's current configuration.
	CurrentResourceSummary *string

	//  Contains information about estimated monthly cost savings.
	EstimatedMonthlySavings *EstimatedMonthlySavings

	// The number of days of historical data used to analyze the resource.
	LookBackPeriodInDays *int32

	// The ID of the recommended action being previewed.
	RecommendedActionId *string

	// The type of recommended action being previewed.
	RecommendedActionType RecommendedActionType

	// Detailed configuration information for a specific Amazon Web Services resource,
	// with type-specific details.
	RecommendedResourceDetails ResourceDetails

	// A summary of the resource's recommended configuration.
	RecommendedResourceSummary *string

	// The Amazon Web Services Region where the resource is located.
	Region *string

	// The Amazon Resource Name (ARN) of the resource affected by the recommended
	// action.
	ResourceArn *string

	// The ID of the resource affected by the recommended action.
	ResourceId *string

	// The tags associated with the resource.
	ResourceTags []Tag

	// The type of resource being evaluated.
	ResourceType ResourceType

	// Indicates whether implementing the recommended action requires a resource
	// restart.
	RestartNeeded *bool
	// contains filtered or unexported fields
}

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

type PreviewResultSummary

type PreviewResultSummary struct {

	// The key identifier for this preview result summary.
	//
	// This member is required.
	Key *string

	// Aggregate totals for automation rule preview results, including count and
	// estimated savings.
	//
	// This member is required.
	Total *RulePreviewTotal
	// contains filtered or unexported fields
}

Contains a summary of preview results for an automation rule.

type RecommendedAction

type RecommendedAction struct {

	// The Amazon Web Services account ID that owns the resource.
	AccountId *string

	// Detailed configuration information for a specific Amazon Web Services resource,
	// with type-specific details.
	CurrentResourceDetails ResourceDetails

	// A summary of the resource's current configuration.
	CurrentResourceSummary *string

	//  Contains information about estimated monthly cost savings.
	EstimatedMonthlySavings *EstimatedMonthlySavings

	// The number of days of historical data used to generate the recommendation.
	LookBackPeriodInDays *int32

	// The unique identifier of the recommended action.
	RecommendedActionId *string

	// The type of action being recommended.
	RecommendedActionType RecommendedActionType

	// Detailed configuration information for a specific Amazon Web Services resource,
	// with type-specific details.
	RecommendedResourceDetails ResourceDetails

	// A summary of the resource's recommended configuration.
	RecommendedResourceSummary *string

	// The Amazon Web Services Region where the resource is located.
	Region *string

	// The Amazon Resource Name (ARN) of the resource that the recommendation applies
	// to.
	ResourceArn *string

	// The ID of the resource that the recommendation applies to.
	ResourceId *string

	// The tags associated with the resource.
	ResourceTags []Tag

	// The type of resource being evaluated.
	ResourceType ResourceType

	// Indicates whether implementing the recommended action requires a resource
	// restart.
	RestartNeeded *bool
	// contains filtered or unexported fields
}

Contains information about a recommended action that can be applied to optimize an Amazon Web Services resource.

type RecommendedActionFilter

type RecommendedActionFilter struct {

	// The name of the filter field to apply.
	//
	// This member is required.
	Name RecommendedActionFilterName

	// List of filter values to match against the specified filter name. Used to
	// narrow down recommended actions based on specific criteria.
	//
	// This member is required.
	Values []string
	// contains filtered or unexported fields
}

A filter used to narrow down recommended action results based on specific criteria.

type RecommendedActionFilterName

type RecommendedActionFilterName string
const (
	RecommendedActionFilterNameResourceType                        RecommendedActionFilterName = "ResourceType"
	RecommendedActionFilterNameRecommendedActionType               RecommendedActionFilterName = "RecommendedActionType"
	RecommendedActionFilterNameResourceId                          RecommendedActionFilterName = "ResourceId"
	RecommendedActionFilterNameLookBackPeriodInDays                RecommendedActionFilterName = "LookBackPeriodInDays"
	RecommendedActionFilterNameCurrentResourceDetailsEbsVolumeType RecommendedActionFilterName = "CurrentResourceDetailsEbsVolumeType"
	RecommendedActionFilterNameResourceTagsKey                     RecommendedActionFilterName = "ResourceTagsKey"
	RecommendedActionFilterNameResourceTagsValue                   RecommendedActionFilterName = "ResourceTagsValue"
	RecommendedActionFilterNameAccountId                           RecommendedActionFilterName = "AccountId"
	RecommendedActionFilterNameRestartNeeded                       RecommendedActionFilterName = "RestartNeeded"
)

Enum values for RecommendedActionFilterName

func (RecommendedActionFilterName) Values

Values returns all known values for RecommendedActionFilterName. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type RecommendedActionSummary

type RecommendedActionSummary struct {

	// The grouping key used to categorize the recommended actions in this summary.
	//
	// This member is required.
	Key *string

	// Aggregate totals for the recommended actions in this group, including count and
	// estimated savings.
	//
	// This member is required.
	Total *RecommendedActionTotal
	// contains filtered or unexported fields
}

Summary information about recommended actions, grouped by specific criteria with totals and counts.

type RecommendedActionTotal

type RecommendedActionTotal struct {

	//  Contains information about estimated monthly cost savings.
	//
	// This member is required.
	EstimatedMonthlySavings *EstimatedMonthlySavings

	// The total number of recommended actions in this group.
	//
	// This member is required.
	RecommendedActionCount *int32
	// contains filtered or unexported fields
}

Aggregate totals for a group of recommended actions, including count and estimated monthly savings.

type RecommendedActionType

type RecommendedActionType string
const (
	RecommendedActionTypeSnapshotAndDeleteUnattachedEbsVolume RecommendedActionType = "SnapshotAndDeleteUnattachedEbsVolume"
	RecommendedActionTypeUpgradeEbsVolumeType                 RecommendedActionType = "UpgradeEbsVolumeType"
)

Enum values for RecommendedActionType

func (RecommendedActionType) Values

Values returns all known values for RecommendedActionType. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type ResourceDetails

type ResourceDetails interface {
	// contains filtered or unexported methods
}

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

The following types satisfy this interface:

ResourceDetailsMemberEbsVolume
Example (OutputUsage)
// Code generated by smithy-go-codegen DO NOT EDIT.

package main

import (
	"fmt"
	"github.com/aws/aws-sdk-go-v2/service/computeoptimizerautomation/types"
)

func main() {
	var union types.ResourceDetails
	// type switches can be used to check the union value
	switch v := union.(type) {
	case *types.ResourceDetailsMemberEbsVolume:
		_ = v.Value // Value is types.EbsVolume

	case *types.UnknownUnionMember:
		fmt.Println("unknown tag:", v.Tag)

	default:
		fmt.Println("union is nil or unknown type")

	}
}

var _ *types.EbsVolume

type ResourceDetailsMemberEbsVolume

type ResourceDetailsMemberEbsVolume struct {
	Value EbsVolume
	// contains filtered or unexported fields
}

Detailed configuration information specific to EBS volumes, including volume type, size, IOPS, and throughput settings.

type ResourceNotFoundException

type ResourceNotFoundException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The specified resource was not found.

func (*ResourceNotFoundException) Error

func (e *ResourceNotFoundException) Error() string

func (*ResourceNotFoundException) ErrorCode

func (e *ResourceNotFoundException) ErrorCode() string

func (*ResourceNotFoundException) ErrorFault

func (*ResourceNotFoundException) ErrorMessage

func (e *ResourceNotFoundException) ErrorMessage() string

type ResourceTagsCriteriaCondition

type ResourceTagsCriteriaCondition struct {

	// The comparison operator used to evaluate the tag criteria, such as equals, not
	// equals, or contains.
	Comparison ComparisonOperator

	// The tag key to use for comparison when filtering resources.
	Key *string

	// List of tag values to compare against when filtering resources.
	Values []string
	// contains filtered or unexported fields
}

Criteria condition for filtering resources based on their tags, including comparison operators and values.

type ResourceType

type ResourceType string
const (
	ResourceTypeEbsVolume ResourceType = "EbsVolume"
)

Enum values for ResourceType

func (ResourceType) Values

func (ResourceType) Values() []ResourceType

Values returns all known values for ResourceType. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type RuleApplyOrder

type RuleApplyOrder string
const (
	RuleApplyOrderBeforeAccountRules RuleApplyOrder = "BeforeAccountRules"
	RuleApplyOrderAfterAccountRules  RuleApplyOrder = "AfterAccountRules"
)

Enum values for RuleApplyOrder

func (RuleApplyOrder) Values

func (RuleApplyOrder) Values() []RuleApplyOrder

Values returns all known values for RuleApplyOrder. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type RulePreviewTotal

type RulePreviewTotal struct {

	//  Contains information about estimated monthly cost savings.
	//
	// This member is required.
	EstimatedMonthlySavings *EstimatedMonthlySavings

	// The total number of recommended actions matching the rule preview configuration.
	//
	// This member is required.
	RecommendedActionCount *int32
	// contains filtered or unexported fields
}

Aggregate totals for automation rule preview results, including count and estimated savings.

type RuleStatus

type RuleStatus string
const (
	RuleStatusActive   RuleStatus = "Active"
	RuleStatusInactive RuleStatus = "Inactive"
)

Enum values for RuleStatus

func (RuleStatus) Values

func (RuleStatus) Values() []RuleStatus

Values returns all known values for RuleStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type RuleType

type RuleType string
const (
	RuleTypeOrganizationalRule RuleType = "OrganizationRule"
	RuleTypeAccountRule        RuleType = "AccountRule"
)

Enum values for RuleType

func (RuleType) Values

func (RuleType) Values() []RuleType

Values returns all known values for RuleType. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type SavingsEstimationMode

type SavingsEstimationMode string
const (
	SavingsEstimationModeBeforeDiscount SavingsEstimationMode = "BeforeDiscount"
	SavingsEstimationModeAfterDiscount  SavingsEstimationMode = "AfterDiscount"
)

Enum values for SavingsEstimationMode

func (SavingsEstimationMode) Values

Values returns all known values for SavingsEstimationMode. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type Schedule

type Schedule struct {

	// The time window in minutes during which the automation rule can start
	// implementing recommended actions.
	ExecutionWindowInMinutes *int32

	// The expression that defines when the schedule runs. cron expression is
	// supported. A cron expression consists of six fields separated by white spaces: (
	// minutes
	//     hours
	//
	//     day_of_month
	//
	//     month
	//
	//     day_of_week
	//
	// year )
	//
	// You can schedule rules to run at most once per day. Your cron expression must
	// use specific values (not wildcards) for the minutes and hours fields. For
	// example: ( 30 12 * * * ) runs daily at 12:30 PM UTC.
	ScheduleExpression *string

	// The timezone to use when interpreting the schedule expression.
	ScheduleExpressionTimezone *string
	// contains filtered or unexported fields
}

Configuration for scheduling when automation rules should execute, including timing and execution windows.

type ServiceQuotaExceededException

type ServiceQuotaExceededException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The request would exceed service quotas.

func (*ServiceQuotaExceededException) Error

func (*ServiceQuotaExceededException) ErrorCode

func (e *ServiceQuotaExceededException) ErrorCode() string

func (*ServiceQuotaExceededException) ErrorFault

func (*ServiceQuotaExceededException) ErrorMessage

func (e *ServiceQuotaExceededException) ErrorMessage() string

type ServiceUnavailableException

type ServiceUnavailableException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The service is temporarily unavailable.

func (*ServiceUnavailableException) Error

func (*ServiceUnavailableException) ErrorCode

func (e *ServiceUnavailableException) ErrorCode() string

func (*ServiceUnavailableException) ErrorFault

func (*ServiceUnavailableException) ErrorMessage

func (e *ServiceUnavailableException) ErrorMessage() string

type StepStatus

type StepStatus string
const (
	StepStatusReady      StepStatus = "Ready"
	StepStatusInProgress StepStatus = "InProgress"
	StepStatusComplete   StepStatus = "Complete"
	StepStatusFailed     StepStatus = "Failed"
)

Enum values for StepStatus

func (StepStatus) Values

func (StepStatus) Values() []StepStatus

Values returns all known values for StepStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type StepType

type StepType string
const (
	StepTypeCreateEbsSnapshot StepType = "CreateEbsSnapshot"
	StepTypeDeleteEbsVolume   StepType = "DeleteEbsVolume"
	StepTypeModifyEbsVolume   StepType = "ModifyEbsVolume"
	StepTypeCreateEbsVolume   StepType = "CreateEbsVolume"
)

Enum values for StepType

func (StepType) Values

func (StepType) Values() []StepType

Values returns all known values for StepType. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type StringCriteriaCondition

type StringCriteriaCondition struct {

	// The comparison operator used to evaluate the string criteria, such as equals,
	// not equals, or contains.
	Comparison ComparisonOperator

	// List of string values to compare against when applying the criteria condition.
	Values []string
	// contains filtered or unexported fields
}

Criteria condition for filtering based on string values, including comparison operators and target values.

type SummaryDimension

type SummaryDimension struct {

	// The dimension key used for categorizing summary data.
	//
	// This member is required.
	Key SummaryDimensionKey

	// The specific value for this dimension key used in the summary grouping.
	//
	// This member is required.
	Value *string
	// contains filtered or unexported fields
}

A key-value pair used to categorize and group summary data for analysis and reporting.

type SummaryDimensionKey

type SummaryDimensionKey string
const (
	SummaryDimensionKeyEventStatus SummaryDimensionKey = "EventStatus"
)

Enum values for SummaryDimensionKey

func (SummaryDimensionKey) Values

Values returns all known values for SummaryDimensionKey. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type SummaryTotals

type SummaryTotals struct {

	// The total number of automation events in this summary group.
	AutomationEventCount *int32

	//  Contains information about estimated monthly cost savings.
	EstimatedMonthlySavings *EstimatedMonthlySavings
	// contains filtered or unexported fields
}

Aggregate totals for automation events, including counts and estimated savings.

type Tag

type Tag struct {

	// The tag key, which can be up to 128 characters long.
	//
	// This member is required.
	Key *string

	// The tag value, which can be up to 256 characters long.
	//
	// This member is required.
	Value *string
	// contains filtered or unexported fields
}

A key-value pair used to categorize and organize Amazon Web Services resources and automation rules.

type ThrottlingException

type ThrottlingException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The request was denied due to request throttling.

func (*ThrottlingException) Error

func (e *ThrottlingException) Error() string

func (*ThrottlingException) ErrorCode

func (e *ThrottlingException) ErrorCode() string

func (*ThrottlingException) ErrorFault

func (e *ThrottlingException) ErrorFault() smithy.ErrorFault

func (*ThrottlingException) ErrorMessage

func (e *ThrottlingException) ErrorMessage() string

type TimePeriod

type TimePeriod struct {

	// The end time of the period, exclusive. Events before this time are included.
	EndTimeExclusive *time.Time

	// The start time of the period, inclusive. Events at or after this time are
	// included.
	StartTimeInclusive *time.Time
	// contains filtered or unexported fields
}

Defines a time range with inclusive start time and exclusive end time for filtering and analysis.

type UnknownUnionMember

type UnknownUnionMember struct {
	Tag   string
	Value []byte
	// contains filtered or unexported fields
}

UnknownUnionMember is returned when a union member is returned over the wire, but has an unknown tag.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL