/
api_types.go
160 lines (107 loc) · 4.09 KB
/
api_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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package euserv
import (
"github.com/aws/aws-sdk-go-v2/aws"
"github.com/sjones4/eucalyptus-sdk-go/internal/awsutil"
)
var _ aws.Config
var _ = awsutil.Prettify
type Filter struct {
_ struct{} `type:"structure"`
// Name is a required field
Name *string `locationName:"Name" type:"string" required:"true"`
Values []string `locationName:"Value" type:"list" flattened:"true"`
}
// String returns the string representation
func (s Filter) String() string {
return awsutil.Prettify(s)
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *Filter) Validate() error {
invalidParams := aws.ErrInvalidParams{Context: "Filter"}
if s.Name == nil {
invalidParams.Add(aws.NewErrParamRequired("Name"))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
type RegistrationMetadata struct {
_ struct{} `type:"structure"`
ReponseMetadata *ResponseMetadata `locationName:"EmpyreanMessage" type:"structure"`
StatusMessages []StringEntry `locationName:"statusMessages" locationNameList:"item" type:"list"`
}
// String returns the string representation
func (s RegistrationMetadata) String() string {
return awsutil.Prettify(s)
}
type ResponseMetadata struct {
_ struct{} `type:"structure"`
RequestId *string `locationName:"correlationId" type:"string"`
Return *bool `locationName:"_return" type:"boolean"`
}
// String returns the string representation
func (s ResponseMetadata) String() string {
return awsutil.Prettify(s)
}
type ServiceCertificate struct {
_ struct{} `type:"structure"`
Certificate *string `locationName:"certificate" type:"string"`
CertificateFingerprint *string `locationName:"certificateFingerprint" type:"string"`
CertificateFingerprintDigest *string `locationName:"certificateFingerprintDigest" type:"string"`
CertificateFormat *string `locationName:"certificateFormat" type:"string"`
CertificateUsage *string `locationName:"certificateUsage" type:"string"`
ServiceType *string `locationName:"serviceType" type:"string"`
}
// String returns the string representation
func (s ServiceCertificate) String() string {
return awsutil.Prettify(s)
}
type ServiceId struct {
_ struct{} `type:"structure"`
FullName *string `locationName:"fullName" type:"string"`
Host *string `locationName:"host" type:"string"`
Name *string `locationName:"name" type:"string"`
Partition *string `locationName:"partition" type:"string"`
Type *string `locationName:"type" type:"string"`
Uri *string `locationName:"uri" type:"string"`
}
// String returns the string representation
func (s ServiceId) String() string {
return awsutil.Prettify(s)
}
type ServiceStatus struct {
_ struct{} `type:"structure"`
LocalState *string `locationName:"localState" type:"string"`
ServiceId *ServiceId `locationName:"serviceId" type:"structure"`
}
// String returns the string representation
func (s ServiceStatus) String() string {
return awsutil.Prettify(s)
}
type ServiceType struct {
_ struct{} `type:"structure"`
ComponentCapitalizedName *string `locationName:"componentCapitalizedName" type:"string"`
ComponentName *string `locationName:"componentName" type:"string"`
Description *string `locationName:"description" type:"string"`
HasCredentials *bool `locationName:"hasCredentials" type:"boolean"`
Partitioned *bool `locationName:"partitioned" type:"boolean"`
PublicApiService *bool `locationName:"publicApiService" type:"boolean"`
Registerable *bool `locationName:"registerable" type:"boolean"`
RequiresName *bool `locationName:"requiresName" type:"boolean"`
ServiceGroupMembers []StringEntry `locationName:"serviceGroupMembers" locationNameList:"item" type:"list"`
ServiceGroups []StringEntry `locationName:"serviceGroups" locationNameList:"item" type:"list"`
}
// String returns the string representation
func (s ServiceType) String() string {
return awsutil.Prettify(s)
}
type StringEntry struct {
_ struct{} `type:"structure"`
Entry *string `locationName:"entry" type:"string"`
}
// String returns the string representation
func (s StringEntry) String() string {
return awsutil.Prettify(s)
}