AWSIoTGetBucketsAggregationResponse

Objective-C

@interface AWSIoTGetBucketsAggregationResponse

Swift

class AWSIoTGetBucketsAggregationResponse
  • The main part of the response with a list of buckets. Each bucket contains a keyValue and a count.

    keyValue: The aggregation field value counted for the particular bucket.

    count: The number of documents that have that value.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSIoTBucket *> *_Nullable buckets;

    Swift

    var buckets: [AWSIoTBucket]? { get set }
  • The total number of things that fit the query string criteria.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable totalCount;

    Swift

    var totalCount: NSNumber? { get set }