PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` package Paws::CostExplorer::GetCostAndUsage; use Moose; has Filter => (is => 'ro', isa => 'Paws::CostExplorer::Expression'); has Granularity => (is => 'ro', isa => 'Str', required => 1); has GroupBy => (is => 'ro', isa => 'ArrayRef[Paws::CostExplorer::GroupDefinition]'); has Metrics => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1); has NextPageToken => (is => 'ro', isa => 'Str'); has TimePeriod => (is => 'ro', isa => 'Paws::CostExplorer::DateInterval', required => 1); use MooseX::ClassAttribute; class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetCostAndUsage'); class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CostExplorer::GetCostAndUsageResponse'); class_has _result_key => (isa => 'Str', is => 'ro'); 1; ### main pod documentation begin ### =head1 NAME Paws::CostExplorer::GetCostAndUsage - Arguments for method GetCostAndUsage on L =head1 DESCRIPTION This class represents the parameters used for calling the method GetCostAndUsage on the L service. Use the attributes of this class as arguments to method GetCostAndUsage. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetCostAndUsage. =head1 SYNOPSIS my $ce = Paws->service('CostExplorer'); my $GetCostAndUsageResponse = $ce->GetCostAndUsage( Granularity => 'DAILY', Metrics => [ 'MyMetricName', ... # max: 1024 ], TimePeriod => { End => 'MyYearMonthDay', # max: 40 Start => 'MyYearMonthDay', # max: 40 }, Filter => { And => [ , ... ], # OPTIONAL CostCategories => { Key => 'MyCostCategoryName', # min: 1, max: 50; OPTIONAL MatchOptions => [ 'EQUALS', ... # values: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE ], # OPTIONAL Values => [ 'MyValue', ... # max: 1024 ], # OPTIONAL }, # OPTIONAL Dimensions => { Key => 'AZ' , # values: AZ, INSTANCE_TYPE, LINKED_ACCOUNT, LINKED_ACCOUNT_NAME, OPERATION, PURCHASE_TYPE, REGION, SERVICE, SERVICE_CODE, USAGE_TYPE, USAGE_TYPE_GROUP, RECORD_TYPE, OPERATING_SYSTEM, TENANCY, SCOPE, PLATFORM, SUBSCRIPTION_ID, LEGAL_ENTITY_NAME, DEPLOYMENT_OPTION, DATABASE_ENGINE, CACHE_ENGINE, INSTANCE_TYPE_FAMILY, BILLING_ENTITY, RESERVATION_ID, RESOURCE_ID, RIGHTSIZING_TYPE, SAVINGS_PLANS_TYPE, SAVINGS_PLAN_ARN, PAYMENT_OPTION, AGREEMENT_END_DATE_TIME_AFTER, AGREEMENT_END_DATE_TIME_BEFORE; OPTIONAL MatchOptions => [ 'EQUALS', ... # values: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE ], # OPTIONAL Values => [ 'MyValue', ... # max: 1024 ], # OPTIONAL }, # OPTIONAL Not => , Or => [ , ... ], # OPTIONAL Tags => { Key => 'MyTagKey', # max: 1024; OPTIONAL MatchOptions => [ 'EQUALS', ... # values: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE ], # OPTIONAL Values => [ 'MyValue', ... # max: 1024 ], # OPTIONAL }, # OPTIONAL }, # OPTIONAL GroupBy => [ { Key => 'MyGroupDefinitionKey', # max: 1024; OPTIONAL Type => 'DIMENSION', # values: DIMENSION, TAG, COST_CATEGORY; OPTIONAL }, ... ], # OPTIONAL NextPageToken => 'MyNextPageToken', # OPTIONAL ); # Results: my $DimensionValueAttributes = $GetCostAndUsageResponse->DimensionValueAttributes; my $GroupDefinitions = $GetCostAndUsageResponse->GroupDefinitions; my $NextPageToken = $GetCostAndUsageResponse->NextPageToken; my $ResultsByTime = $GetCostAndUsageResponse->ResultsByTime; # Returns a L object. Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see L =head1 ATTRIBUTES =head2 Filter => L Filters AWS costs by different dimensions. For example, you can specify C and C and get the costs that are associated with that account's usage of that service. You can nest C objects to define any combination of dimension filters. For more information, see Expression (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html). =head2 B Granularity => Str Sets the AWS cost granularity to C or C, or C. If C isn't set, the response object doesn't include the C, either C or C, or C. Valid values are: C<"DAILY">, C<"MONTHLY">, C<"HOURLY"> =head2 GroupBy => ArrayRef[L] You can group AWS costs using up to two different groups, either dimensions, tag keys, cost categories, or any two group by types. When you group by tag key, you get all tag values, including empty strings. Valid values are C, C, C, C, C, C, C, C, C, C, C, and C. =head2 B Metrics => ArrayRef[Str|Undef] Which metrics are returned in the query. For more information about blended and unblended rates, see Why does the "blended" annotation appear on some line items in my bill? (http://aws.amazon.com/premiumsupport/knowledge-center/blended-rates-intro/). Valid values are C, C, C, C, C, C, and C. If you return the C metric, the service aggregates all usage numbers without taking into account the units. For example, if you aggregate C across all of Amazon EC2, the results aren't meaningful because Amazon EC2 compute hours and data transfer are measured in different units (for example, hours vs. GB). To get more meaningful C metrics, filter by C or C. C is required for C requests. =head2 NextPageToken => Str The token to retrieve the next set of results. AWS provides the token when the response from a previous call has more results than the maximum page size. =head2 B TimePeriod => L Sets the start and end dates for retrieving AWS costs. The start date is inclusive, but the end date is exclusive. For example, if C is C<2017-01-01> and C is C<2017-05-01>, then the cost and usage data is retrieved from C<2017-01-01> up to and including C<2017-04-30> but not including C<2017-05-01>. =head1 SEE ALSO This class forms part of L, documenting arguments for method GetCostAndUsage in L =head1 BUGS and CONTRIBUTIONS The source code is located here: L Please report bugs to: L =cut