AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

CoverageNormalizedUnits

import "github.com/aws/aws-sdk-go/service/costexplorer"

type CoverageNormalizedUnits struct { CoverageNormalizedUnitsPercentage *string `type:"string"` OnDemandNormalizedUnits *string `type:"string"` ReservedNormalizedUnits *string `type:"string"` TotalRunningNormalizedUnits *string `type:"string"` }

The amount of instance usage, in normalized units. Normalized units enable you to see your EC2 usage for multiple sizes of instances in a uniform way. For example, suppose you run an xlarge instance and a 2xlarge instance. If you run both instances for the same amount of time, the 2xlarge instance uses twice as much of your reservation as the xlarge instance, even though both instances show only one instance-hour. Using normalized units instead of instance-hours, the xlarge instance used 8 normalized units, and the 2xlarge instance used 16 normalized units.

For more information, see Modifying Reserved Instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-modifying.html) in the Amazon Elastic Compute Cloud User Guide for Linux Instances.

CoverageNormalizedUnitsPercentage

Type: *string

The percentage of your used instance normalized units that a reservation covers.

OnDemandNormalizedUnits

Type: *string

The number of normalized units that are covered by On-Demand Instances instead of a reservation.

ReservedNormalizedUnits

Type: *string

The number of normalized units that a reservation covers.

TotalRunningNormalizedUnits

Type: *string

The total number of normalized units that you used.

Method

GoString

func (s CoverageNormalizedUnits) GoString() string

GoString returns the string representation

SetCoverageNormalizedUnitsPercentage

func (s *CoverageNormalizedUnits) SetCoverageNormalizedUnitsPercentage(v string) *CoverageNormalizedUnits

SetCoverageNormalizedUnitsPercentage sets the CoverageNormalizedUnitsPercentage field's value.

SetOnDemandNormalizedUnits

func (s *CoverageNormalizedUnits) SetOnDemandNormalizedUnits(v string) *CoverageNormalizedUnits

SetOnDemandNormalizedUnits sets the OnDemandNormalizedUnits field's value.

SetReservedNormalizedUnits

func (s *CoverageNormalizedUnits) SetReservedNormalizedUnits(v string) *CoverageNormalizedUnits

SetReservedNormalizedUnits sets the ReservedNormalizedUnits field's value.

SetTotalRunningNormalizedUnits

func (s *CoverageNormalizedUnits) SetTotalRunningNormalizedUnits(v string) *CoverageNormalizedUnits

SetTotalRunningNormalizedUnits sets the TotalRunningNormalizedUnits field's value.

String

func (s CoverageNormalizedUnits) String() string

String returns the string representation

On this page: