-
Notifications
You must be signed in to change notification settings - Fork 15
/
IMetric.go
63 lines (54 loc) · 1.1 KB
/
IMetric.go
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
53
54
55
56
57
58
59
60
61
62
package awscloudwatch
import (
_jsii_ "github.com/aws/jsii-runtime-go/runtime"
)
// Interface for metrics.
type IMetric interface {
// Inspect the details of the metric object.
ToMetricConfig() *MetricConfig
// Any warnings related to this metric.
//
// Should be attached to the consuming construct.
// Default: - None.
//
// Deprecated: - use warningsV2.
Warnings() *[]*string
// Any warnings related to this metric.
//
// Should be attached to the consuming construct.
// Default: - None.
//
WarningsV2() *map[string]*string
}
// The jsii proxy for IMetric
type jsiiProxy_IMetric struct {
_ byte // padding
}
func (i *jsiiProxy_IMetric) ToMetricConfig() *MetricConfig {
var returns *MetricConfig
_jsii_.Invoke(
i,
"toMetricConfig",
nil, // no parameters
&returns,
)
return returns
}
func (j *jsiiProxy_IMetric) Warnings() *[]*string {
var returns *[]*string
_jsii_.Get(
j,
"warnings",
&returns,
)
return returns
}
func (j *jsiiProxy_IMetric) WarningsV2() *map[string]*string {
var returns *map[string]*string
_jsii_.Get(
j,
"warningsV2",
&returns,
)
return returns
}