aws.iot.get_cardinality
Example SQL Queries
SELECT * FROMaws.iot.get_cardinalityWHERE"query_string" = 'VALUE';Description
Returns the approximate count of unique values that match the query.
Requires permission to access the GetCardinality action.
Table Definition
| Column Name | Column Data Type |
|---|---|
| query_string Required Input Column The search query string. | VARCHAR |
| aggregation_field Input Column The field to aggregate. | VARCHAR |
| index_name Input Column The name of the index to search. | VARCHAR |
| query_version Input Column The query version. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| cardinality The approximate count of unique values that match the query. | BIGINT |