« blib/lib/Paws/Pricing/DescribeServicesResponse.pm
↑ Summary
blib/lib/Paws/Pricing/GetAttributeValues.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Pricing::Filter; | ||
| 3 | use Moose; | ||
| 4 | has Field => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has Type => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has Value => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | |||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::Pricing::Filter | ||
| 15 | |||
| 16 | =head1 USAGE | ||
| 17 | |||
| 18 | This class represents one of two things: | ||
| 19 | |||
| 20 | =head3 Arguments in a call to a service | ||
| 21 | |||
| 22 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 23 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 24 | |||
| 25 | As an example, if Att1 is expected to be a Paws::Pricing::Filter object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { Field => $value, ..., Value => $value }); | ||
| 28 | |||
| 29 | =head3 Results returned from an API call | ||
| 30 | |||
| 31 | Use accessors for each attribute. If Att1 is expected to be an Paws::Pricing::Filter object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->Field | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | The constraints that you want all returned products to match. | ||
| 39 | |||
| 40 | =head1 ATTRIBUTES | ||
| 41 | |||
| 42 | |||
| 43 | =head2 B<REQUIRED> Field => Str | ||
| 44 | |||
| 45 | The product metadata field that you want to filter on. You can filter | ||
| 46 | by just the service code to see all products for a specific service, | ||
| 47 | filter by just the attribute name to see a specific attribute for | ||
| 48 | multiple services, or use both a service code and an attribute name to | ||
| 49 | retrieve only products that match both fields. | ||
| 50 | |||
| 51 | Valid values include: C<ServiceCode>, and all attribute names | ||
| 52 | |||
| 53 | For example, you can filter by the C<AmazonEC2> service code and the | ||
| 54 | C<volumeType> attribute name to get the prices for only Amazon EC2 | ||
| 55 | volumes. | ||
| 56 | |||
| 57 | |||
| 58 | =head2 B<REQUIRED> Type => Str | ||
| 59 | |||
| 60 | The type of filter that you want to use. | ||
| 61 | |||
| 62 | Valid values are: C<TERM_MATCH>. C<TERM_MATCH> returns only products | ||
| 63 | that match both the given filter field and the given value. | ||
| 64 | |||
| 65 | |||
| 66 | =head2 B<REQUIRED> Value => Str | ||
| 67 | |||
| 68 | The service code or attribute value that you want to filter by. If you | ||
| 69 | are filtering by service code this is the actual service code, such as | ||
| 70 | C<AmazonEC2>. If you are filtering by attribute name, this is the | ||
| 71 | attribute value that you want the returned products to match, such as a | ||
| 72 | C<Provisioned IOPS> volume. | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head1 SEE ALSO | ||
| 77 | |||
| 78 | This class forms part of L<Paws>, describing an object used in L<Paws::Pricing> | ||
| 79 | |||
| 80 | =head1 BUGS and CONTRIBUTIONS | ||
| 81 | |||
| 82 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 83 | |||
| 84 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 85 | |||
| 86 | =cut | ||
| 87 |