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.

ReservationAggregates

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

type ReservationAggregates struct { AmortizedRecurringFee *string `type:"string"` AmortizedUpfrontFee *string `type:"string"` NetRISavings *string `type:"string"` OnDemandCostOfRIHoursUsed *string `type:"string"` PurchasedHours *string `type:"string"` PurchasedUnits *string `type:"string"` TotalActualHours *string `type:"string"` TotalActualUnits *string `type:"string"` TotalAmortizedFee *string `type:"string"` TotalPotentialRISavings *string `type:"string"` UnusedHours *string `type:"string"` UnusedUnits *string `type:"string"` UtilizationPercentage *string `type:"string"` UtilizationPercentageInUnits *string `type:"string"` }

The aggregated numbers for your reservation usage.

AmortizedRecurringFee

Type: *string

The monthly cost of your reservation, amortized over the reservation period.

AmortizedUpfrontFee

Type: *string

The upfront cost of your reservation, amortized over the reservation period.

NetRISavings

Type: *string

How much you saved due to purchasing and utilizing reservation. AWS calculates this by subtracting TotalAmortizedFee from OnDemandCostOfRIHoursUsed.

OnDemandCostOfRIHoursUsed

Type: *string

How much your reservation would cost if charged On-Demand rates.

PurchasedHours

Type: *string

How many reservation hours that you purchased.

PurchasedUnits

Type: *string

How many Amazon EC2 reservation hours that you purchased, converted to normalized units. Normalized units are available only for Amazon EC2 usage after November 11, 2017.

TotalActualHours

Type: *string

The total number of reservation hours that you used.

TotalActualUnits

Type: *string

The total number of Amazon EC2 reservation hours that you used, converted to normalized units. Normalized units are available only for Amazon EC2 usage after November 11, 2017.

TotalAmortizedFee

Type: *string

The total cost of your reservation, amortized over the reservation period.

TotalPotentialRISavings

Type: *string

How much you could save if you use your entire reservation.

UnusedHours

Type: *string

The number of reservation hours that you didn't use.

UnusedUnits

Type: *string

The number of Amazon EC2 reservation hours that you didn't use, converted to normalized units. Normalized units are available only for Amazon EC2 usage after November 11, 2017.

UtilizationPercentage

Type: *string

The percentage of reservation time that you used.

UtilizationPercentageInUnits

Type: *string

The percentage of Amazon EC2 reservation time that you used, converted to normalized units. Normalized units are available only for Amazon EC2 usage after November 11, 2017.

Method

GoString

func (s ReservationAggregates) GoString() string

GoString returns the string representation

SetAmortizedRecurringFee

func (s *ReservationAggregates) SetAmortizedRecurringFee(v string) *ReservationAggregates

SetAmortizedRecurringFee sets the AmortizedRecurringFee field's value.

SetAmortizedUpfrontFee

func (s *ReservationAggregates) SetAmortizedUpfrontFee(v string) *ReservationAggregates

SetAmortizedUpfrontFee sets the AmortizedUpfrontFee field's value.

SetNetRISavings

func (s *ReservationAggregates) SetNetRISavings(v string) *ReservationAggregates

SetNetRISavings sets the NetRISavings field's value.

SetOnDemandCostOfRIHoursUsed

func (s *ReservationAggregates) SetOnDemandCostOfRIHoursUsed(v string) *ReservationAggregates

SetOnDemandCostOfRIHoursUsed sets the OnDemandCostOfRIHoursUsed field's value.

SetPurchasedHours

func (s *ReservationAggregates) SetPurchasedHours(v string) *ReservationAggregates

SetPurchasedHours sets the PurchasedHours field's value.

SetPurchasedUnits

func (s *ReservationAggregates) SetPurchasedUnits(v string) *ReservationAggregates

SetPurchasedUnits sets the PurchasedUnits field's value.

SetTotalActualHours

func (s *ReservationAggregates) SetTotalActualHours(v string) *ReservationAggregates

SetTotalActualHours sets the TotalActualHours field's value.

SetTotalActualUnits

func (s *ReservationAggregates) SetTotalActualUnits(v string) *ReservationAggregates

SetTotalActualUnits sets the TotalActualUnits field's value.

SetTotalAmortizedFee

func (s *ReservationAggregates) SetTotalAmortizedFee(v string) *ReservationAggregates

SetTotalAmortizedFee sets the TotalAmortizedFee field's value.

SetTotalPotentialRISavings

func (s *ReservationAggregates) SetTotalPotentialRISavings(v string) *ReservationAggregates

SetTotalPotentialRISavings sets the TotalPotentialRISavings field's value.

SetUnusedHours

func (s *ReservationAggregates) SetUnusedHours(v string) *ReservationAggregates

SetUnusedHours sets the UnusedHours field's value.

SetUnusedUnits

func (s *ReservationAggregates) SetUnusedUnits(v string) *ReservationAggregates

SetUnusedUnits sets the UnusedUnits field's value.

SetUtilizationPercentage

func (s *ReservationAggregates) SetUtilizationPercentage(v string) *ReservationAggregates

SetUtilizationPercentage sets the UtilizationPercentage field's value.

SetUtilizationPercentageInUnits

func (s *ReservationAggregates) SetUtilizationPercentageInUnits(v string) *ReservationAggregates

SetUtilizationPercentageInUnits sets the UtilizationPercentageInUnits field's value.

String

func (s ReservationAggregates) String() string

String returns the string representation

On this page: