NAME

Paws::CostExplorer::CurrentInstance

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::CostExplorer::CurrentInstance object:

$service_obj->Method(Att1 => { CurrencyCode => $value, ..., TotalRunningHoursInLookbackPeriod => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::CostExplorer::CurrentInstance object:

$result = $service_obj->Method(...);
$result->Att1->CurrencyCode

DESCRIPTION

Context about the current instance.

ATTRIBUTES

CurrencyCode => Str

The currency code that AWS used to calculate the costs for this instance.

InstanceName => Str

The name you've given an instance. This field will show as blank if you haven't given the instance a name.

MonthlyCost => Str

Current On-Demand cost of operating this instance on a monthly basis.

OnDemandHoursInLookbackPeriod => Str

Number of hours during the lookback period billed at On-Demand rates.

ReservationCoveredHoursInLookbackPeriod => Str

Number of hours during the lookback period covered by reservations.

ResourceDetails => Paws::CostExplorer::ResourceDetails

Details about the resource and utilization.

ResourceId => Str

Resource ID of the current instance.

ResourceUtilization => Paws::CostExplorer::ResourceUtilization

Utilization information of the current instance during the lookback period.

SavingsPlansCoveredHoursInLookbackPeriod => Str

Number of hours during the lookback period covered by Savings Plans.

Tags => ArrayRef[Paws::CostExplorer::TagValues]

Cost allocation resource tags applied to the instance.

TotalRunningHoursInLookbackPeriod => Str

The total number of hours the instance ran during the lookback period.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::CostExplorer

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues