AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

The constraints that you want all returned products to match.

Inheritance Hierarchy

System.Object
  Amazon.Pricing.Model.Filter

Namespace: Amazon.Pricing.Model
Assembly: AWSSDK.Pricing.dll
Version: 3.x.y.z

Syntax

C#
public class Filter

The Filter type exposes the following members

Constructors

NameDescription
Public Method Filter()

Properties

NameTypeDescription
Public Property Field System.String

Gets and sets the property Field.

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.

Public Property Type Amazon.Pricing.FilterType

Gets and sets the property Type.

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.

Public Property Value System.String

Gets and sets the property Value.

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.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms