Batch Get Metric Data
sesv2_batch_get_metric_data | R Documentation |
Retrieves batches of metric data collected based on your sending activity¶
Description¶
Retrieves batches of metric data collected based on your sending activity.
You can execute this operation no more than 16 times per second, and with at most 160 queries from the batches per second (cumulative).
Usage¶
Arguments¶
Queries
[required] A list of queries for metrics to be retrieved.
Value¶
A list with the following syntax:
list(
Results = list(
list(
Id = "string",
Timestamps = list(
as.POSIXct(
"2015-01-01"
)
),
Values = list(
123
)
)
),
Errors = list(
list(
Id = "string",
Code = "INTERNAL_FAILURE"|"ACCESS_DENIED",
Message = "string"
)
)
)
Request syntax¶
svc$batch_get_metric_data(
Queries = list(
list(
Id = "string",
Namespace = "VDM",
Metric = "SEND"|"COMPLAINT"|"PERMANENT_BOUNCE"|"TRANSIENT_BOUNCE"|"OPEN"|"CLICK"|"DELIVERY"|"DELIVERY_OPEN"|"DELIVERY_CLICK"|"DELIVERY_COMPLAINT",
Dimensions = list(
"string"
),
StartDate = as.POSIXct(
"2015-01-01"
),
EndDate = as.POSIXct(
"2015-01-01"
)
)
)
)