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 documents that fit the query string criteria and contain a value for the Aggregation field targeted in the request.

    Declaration

    Objective-C

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

    Swift

    var totalCount: NSNumber? { get set }