NAME
Paws::Pricing::Filter
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::Pricing::Filter object:
$service_obj->Method(Att1 => { Field => $value, ..., Value => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::Pricing::Filter object:
$result = $service_obj->Method(...);
$result->Att1->Field
DESCRIPTION
The constraints that you want all returned products to match.
ATTRIBUTES
REQUIRED Field => Str
The product metadata field that you want to filter on. You can filter by just the service code to see all products for a specific service, filter by just the attribute name to see a specific attribute for multiple services, or use both a service code and an attribute name to retrieve only products that match both fields.
Valid values include: ServiceCode
, and all attribute names
For example, you can filter by the AmazonEC2
service code and the volumeType
attribute name to get the prices for only Amazon EC2 volumes.
REQUIRED Type => Str
The type of filter that you want to use.
Valid values are: TERM_MATCH
. TERM_MATCH
returns only products that match both the given filter field and the given value.
REQUIRED Value => Str
The service code or attribute value that you want to filter by. If you are filtering by service code this is the actual service code, such as AmazonEC2
. If you are filtering by attribute name, this is the attribute value that you want the returned products to match, such as a Provisioned IOPS
volume.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::Pricing
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