Skip to content

/AWS1/CL_EC2FILTER

A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.

If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_NAME TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The name of the filter. Filter names are case-sensitive.

IT_VALUES TYPE /AWS1/CL_EC2VALUESTRINGLIST_W=>TT_VALUESTRINGLIST TT_VALUESTRINGLIST

The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.


Queryable Attributes

Name

The name of the filter. Filter names are case-sensitive.

Accessible with the following methods

Method Description
GET_NAME() Getter for NAME, with configurable default
ASK_NAME() Getter for NAME w/ exceptions if field has no value
HAS_NAME() Determine if NAME has a value

Values

The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.

Accessible with the following methods

Method Description
GET_VALUES() Getter for VALUES, with configurable default
ASK_VALUES() Getter for VALUES w/ exceptions if field has no value
HAS_VALUES() Determine if VALUES has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_FILTERLIST

TYPES TT_FILTERLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2FILTER WITH DEFAULT KEY
.