« blib/lib/Paws/CostExplorer/CostCategory.pm
↑ Summary
blib/lib/Paws/CostExplorer/CostCategoryProcessingStatus.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::CostExplorer::CostCategoryInheritedValueDimension; | ||
| 3 | use Moose; | ||
| 4 | has DimensionKey => (is => 'ro', isa => 'Str'); | ||
| 5 | has DimensionName => (is => 'ro', isa => 'Str'); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::CostExplorer::CostCategoryInheritedValueDimension | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::CostExplorer::CostCategoryInheritedValueDimension object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { DimensionKey => $value, ..., DimensionName => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::CostExplorer::CostCategoryInheritedValueDimension object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->DimensionKey | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | When creating or updating a cost category, you can define the | ||
| 38 | C<CostCategoryRule> rule type as C<INHERITED_VALUE>. This rule type | ||
| 39 | adds the flexibility of defining a rule that dynamically inherits the | ||
| 40 | cost category value from the dimension value defined by | ||
| 41 | C<CostCategoryInheritedValueDimension>. For example, if you wanted to | ||
| 42 | dynamically group costs based on the value of a specific tag key, you | ||
| 43 | would first choose an inherited value rule type, then choose the tag | ||
| 44 | dimension and specify the tag key to use. | ||
| 45 | |||
| 46 | =head1 ATTRIBUTES | ||
| 47 | |||
| 48 | |||
| 49 | =head2 DimensionKey => Str | ||
| 50 | |||
| 51 | The key to extract cost category values. | ||
| 52 | |||
| 53 | |||
| 54 | =head2 DimensionName => Str | ||
| 55 | |||
| 56 | The name of dimension for which to group costs. | ||
| 57 | |||
| 58 | If you specify C<LINKED_ACCOUNT_NAME>, the cost category value will be | ||
| 59 | based on account name. If you specify C<TAG>, the cost category value | ||
| 60 | will be based on the value of the specified tag key. | ||
| 61 | |||
| 62 | |||
| 63 | |||
| 64 | =head1 SEE ALSO | ||
| 65 | |||
| 66 | This class forms part of L<Paws>, describing an object used in L<Paws::CostExplorer> | ||
| 67 | |||
| 68 | =head1 BUGS and CONTRIBUTIONS | ||
| 69 | |||
| 70 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 71 | |||
| 72 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 73 | |||
| 74 | =cut | ||
| 75 |