1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
import (
smithydocument "github.com/aws/smithy-go/document"
"time"
)
// An error that occured when putting the metric data.
type BatchPutMetricsError struct {
// The error code of an error that occured when attempting to put metrics.
// - METRIC_LIMIT_EXCEEDED : The maximum amount of metrics per resource is
// exceeded.
// - INTERNAL_ERROR : An internal error occured.
// - VALIDATION_ERROR : The metric data failed validation.
// - CONFLICT_ERROR : Multiple requests attempted to modify the same data
// simultaneously.
Code PutMetricsErrorCode
// An index that corresponds to the metric in the request.
MetricIndex *int32
noSmithyDocumentSerde
}
// The raw metric data to associate with the resource.
type RawMetricData struct {
// The name of the metric.
//
// This member is required.
MetricName *string
// The time that the metric was recorded.
//
// This member is required.
Timestamp *time.Time
// The metric value.
//
// This member is required.
Value *float64
// The metric step (epoch).
Step *int32
noSmithyDocumentSerde
}
type noSmithyDocumentSerde = smithydocument.NoSerde
|