File: enums.go

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.17.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 384,244 kB
  • sloc: java: 13,538; makefile: 400; sh: 137
file content (209 lines) | stat: -rw-r--r-- 6,371 bytes parent folder | download
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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

type AngleUnits string

// Enum values for AngleUnits
const (
	AngleUnitsDegreeAngle AngleUnits = "DEGREE_ANGLE"
	AngleUnitsRadian      AngleUnits = "RADIAN"
)

// Values returns all known values for AngleUnits. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (AngleUnits) Values() []AngleUnits {
	return []AngleUnits{
		"DEGREE_ANGLE",
		"RADIAN",
	}
}

type BandwidthUnits string

// Enum values for BandwidthUnits
const (
	BandwidthUnitsGhz BandwidthUnits = "GHz"
	BandwidthUnitsMhz BandwidthUnits = "MHz"
	BandwidthUnitsKhz BandwidthUnits = "kHz"
)

// Values returns all known values for BandwidthUnits. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (BandwidthUnits) Values() []BandwidthUnits {
	return []BandwidthUnits{
		"GHz",
		"MHz",
		"kHz",
	}
}

type ConfigCapabilityType string

// Enum values for ConfigCapabilityType
const (
	ConfigCapabilityTypeAntennaDownlink            ConfigCapabilityType = "antenna-downlink"
	ConfigCapabilityTypeAntennaDownlinkDemodDecode ConfigCapabilityType = "antenna-downlink-demod-decode"
	ConfigCapabilityTypeAntennaUplink              ConfigCapabilityType = "antenna-uplink"
	ConfigCapabilityTypeDataflowEndpoint           ConfigCapabilityType = "dataflow-endpoint"
	ConfigCapabilityTypeTracking                   ConfigCapabilityType = "tracking"
	ConfigCapabilityTypeUplinkEcho                 ConfigCapabilityType = "uplink-echo"
	ConfigCapabilityTypeS3Recording                ConfigCapabilityType = "s3-recording"
)

// Values returns all known values for ConfigCapabilityType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (ConfigCapabilityType) Values() []ConfigCapabilityType {
	return []ConfigCapabilityType{
		"antenna-downlink",
		"antenna-downlink-demod-decode",
		"antenna-uplink",
		"dataflow-endpoint",
		"tracking",
		"uplink-echo",
		"s3-recording",
	}
}

type ContactStatus string

// Enum values for ContactStatus
const (
	ContactStatusAvailable        ContactStatus = "AVAILABLE"
	ContactStatusAwsCancelled     ContactStatus = "AWS_CANCELLED"
	ContactStatusAwsFailed        ContactStatus = "AWS_FAILED"
	ContactStatusCancelled        ContactStatus = "CANCELLED"
	ContactStatusCancelling       ContactStatus = "CANCELLING"
	ContactStatusCompleted        ContactStatus = "COMPLETED"
	ContactStatusFailed           ContactStatus = "FAILED"
	ContactStatusFailedToSchedule ContactStatus = "FAILED_TO_SCHEDULE"
	ContactStatusPass             ContactStatus = "PASS"
	ContactStatusPostpass         ContactStatus = "POSTPASS"
	ContactStatusPrepass          ContactStatus = "PREPASS"
	ContactStatusScheduled        ContactStatus = "SCHEDULED"
	ContactStatusScheduling       ContactStatus = "SCHEDULING"
)

// Values returns all known values for ContactStatus. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (ContactStatus) Values() []ContactStatus {
	return []ContactStatus{
		"AVAILABLE",
		"AWS_CANCELLED",
		"AWS_FAILED",
		"CANCELLED",
		"CANCELLING",
		"COMPLETED",
		"FAILED",
		"FAILED_TO_SCHEDULE",
		"PASS",
		"POSTPASS",
		"PREPASS",
		"SCHEDULED",
		"SCHEDULING",
	}
}

type Criticality string

// Enum values for Criticality
const (
	CriticalityPreferred Criticality = "PREFERRED"
	CriticalityRemoved   Criticality = "REMOVED"
	CriticalityRequired  Criticality = "REQUIRED"
)

// Values returns all known values for Criticality. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (Criticality) Values() []Criticality {
	return []Criticality{
		"PREFERRED",
		"REMOVED",
		"REQUIRED",
	}
}

type EirpUnits string

// Enum values for EirpUnits
const (
	EirpUnitsDbw EirpUnits = "dBW"
)

// Values returns all known values for EirpUnits. Note that this can be expanded in
// the future, and so it is only as up to date as the client. The ordering of this
// slice is not guaranteed to be stable across updates.
func (EirpUnits) Values() []EirpUnits {
	return []EirpUnits{
		"dBW",
	}
}

type EndpointStatus string

// Enum values for EndpointStatus
const (
	EndpointStatusCreated  EndpointStatus = "created"
	EndpointStatusCreating EndpointStatus = "creating"
	EndpointStatusDeleted  EndpointStatus = "deleted"
	EndpointStatusDeleting EndpointStatus = "deleting"
	EndpointStatusFailed   EndpointStatus = "failed"
)

// Values returns all known values for EndpointStatus. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (EndpointStatus) Values() []EndpointStatus {
	return []EndpointStatus{
		"created",
		"creating",
		"deleted",
		"deleting",
		"failed",
	}
}

type FrequencyUnits string

// Enum values for FrequencyUnits
const (
	FrequencyUnitsGhz FrequencyUnits = "GHz"
	FrequencyUnitsMhz FrequencyUnits = "MHz"
	FrequencyUnitsKhz FrequencyUnits = "kHz"
)

// Values returns all known values for FrequencyUnits. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (FrequencyUnits) Values() []FrequencyUnits {
	return []FrequencyUnits{
		"GHz",
		"MHz",
		"kHz",
	}
}

type Polarization string

// Enum values for Polarization
const (
	PolarizationLeftHand  Polarization = "LEFT_HAND"
	PolarizationNone      Polarization = "NONE"
	PolarizationRightHand Polarization = "RIGHT_HAND"
)

// Values returns all known values for Polarization. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (Polarization) Values() []Polarization {
	return []Polarization{
		"LEFT_HAND",
		"NONE",
		"RIGHT_HAND",
	}
}