/
types.go
145 lines (130 loc) · 5.28 KB
/
types.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License"). You may
// not use this file except in compliance with the License. A copy of the
// License is located at
//
// http://aws.amazon.com/apache2.0/
//
// or in the "license" file accompanying this file. This file is distributed
// on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
// express or implied. See the License for the specific language governing
// permissions and limitations under the License.
// Code generated by ack-generate. DO NOT EDIT.
package v1alpha1
import (
ackv1alpha1 "github.com/aws-controllers-k8s/runtime/apis/core/v1alpha1"
"github.com/aws/aws-sdk-go/aws"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
// Hack to avoid import errors during build...
var (
_ = &metav1.Time{}
_ = &aws.JSONValue{}
_ = ackv1alpha1.AWSAccountID("")
)
// Represents the properties of an alert manager definition.
type AlertManagerDefinitionDescription struct {
CreatedAt *metav1.Time `json:"createdAt,omitempty"`
// The alert manager definition data.
Data []byte `json:"data,omitempty"`
ModifiedAt *metav1.Time `json:"modifiedAt,omitempty"`
// Represents the status of a definition.
Status *AlertManagerDefinitionStatus_SDK `json:"status,omitempty"`
}
// Represents the status of a definition.
type AlertManagerDefinitionStatus_SDK struct {
// State of an alert manager definition.
StatusCode *string `json:"statusCode,omitempty"`
StatusReason *string `json:"statusReason,omitempty"`
}
// Represents the properties of a logging configuration metadata.
type LoggingConfigurationMetadata struct {
CreatedAt *metav1.Time `json:"createdAt,omitempty"`
LogGroupARN *string `json:"logGroupARN,omitempty"`
ModifiedAt *metav1.Time `json:"modifiedAt,omitempty"`
// Represents the status of a logging configuration.
Status *LoggingConfigurationStatus_SDK `json:"status,omitempty"`
// A workspace ID.
Workspace *string `json:"workspace,omitempty"`
}
// Represents the status of a logging configuration.
type LoggingConfigurationStatus_SDK struct {
// State of a logging configuration.
StatusCode *string `json:"statusCode,omitempty"`
StatusReason *string `json:"statusReason,omitempty"`
}
// Represents a description of the rule groups namespace.
type RuleGroupsNamespaceDescription struct {
// An ARN identifying a rule groups namespace.
ARN *string `json:"arn,omitempty"`
CreatedAt *metav1.Time `json:"createdAt,omitempty"`
// The rule groups namespace data.
Data []byte `json:"data,omitempty"`
ModifiedAt *metav1.Time `json:"modifiedAt,omitempty"`
// The namespace name that the rule group belong to.
Name *string `json:"name,omitempty"`
// Represents the status of a namespace.
Status *RuleGroupsNamespaceStatus_SDK `json:"status,omitempty"`
// The list of tags assigned to the resource.
Tags map[string]*string `json:"tags,omitempty"`
}
// Represents the status of a namespace.
type RuleGroupsNamespaceStatus_SDK struct {
// State of a namespace.
StatusCode *string `json:"statusCode,omitempty"`
StatusReason *string `json:"statusReason,omitempty"`
}
// Represents a summary of the rule groups namespace.
type RuleGroupsNamespaceSummary struct {
// An ARN identifying a rule groups namespace.
ARN *string `json:"arn,omitempty"`
CreatedAt *metav1.Time `json:"createdAt,omitempty"`
ModifiedAt *metav1.Time `json:"modifiedAt,omitempty"`
// The namespace name that the rule group belong to.
Name *string `json:"name,omitempty"`
// Represents the status of a namespace.
Status *RuleGroupsNamespaceStatus_SDK `json:"status,omitempty"`
// The list of tags assigned to the resource.
Tags map[string]*string `json:"tags,omitempty"`
}
// Stores information about a field passed inside a request that resulted in
// an exception.
type ValidationExceptionField struct {
Message *string `json:"message,omitempty"`
Name *string `json:"name,omitempty"`
}
// Represents the properties of a workspace.
type WorkspaceDescription struct {
// A user-assigned workspace alias.
Alias *string `json:"alias,omitempty"`
// An ARN identifying a Workspace.
ARN *string `json:"arn,omitempty"`
CreatedAt *metav1.Time `json:"createdAt,omitempty"`
PrometheusEndpoint *string `json:"prometheusEndpoint,omitempty"`
// Represents the status of a workspace.
Status *WorkspaceStatus_SDK `json:"status,omitempty"`
// The list of tags assigned to the resource.
Tags map[string]*string `json:"tags,omitempty"`
// A workspace ID.
WorkspaceID *string `json:"workspaceID,omitempty"`
}
// Represents the status of a workspace.
type WorkspaceStatus_SDK struct {
// State of a workspace.
StatusCode *string `json:"statusCode,omitempty"`
}
// Represents a summary of the properties of a workspace.
type WorkspaceSummary struct {
// A user-assigned workspace alias.
Alias *string `json:"alias,omitempty"`
// An ARN identifying a Workspace.
ARN *string `json:"arn,omitempty"`
CreatedAt *metav1.Time `json:"createdAt,omitempty"`
// Represents the status of a workspace.
Status *WorkspaceStatus_SDK `json:"status,omitempty"`
// The list of tags assigned to the resource.
Tags map[string]*string `json:"tags,omitempty"`
// A workspace ID.
WorkspaceID *string `json:"workspaceID,omitempty"`
}