File: enums.go

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.24.1-2~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 554,032 kB
  • sloc: java: 15,941; makefile: 419; sh: 175
file content (229 lines) | stat: -rw-r--r-- 7,155 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
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

type ComparisonOperator string

// Enum values for ComparisonOperator
const (
	ComparisonOperatorEquals              ComparisonOperator = "EQ"
	ComparisonOperatorGreaterThan         ComparisonOperator = "GT"
	ComparisonOperatorGreaterThanOrEquals ComparisonOperator = "GE"
	ComparisonOperatorLessThan            ComparisonOperator = "LT"
	ComparisonOperatorLessThanOrEquals    ComparisonOperator = "LE"
	ComparisonOperatorBeginsWith          ComparisonOperator = "BEGINS_WITH"
)

// Values returns all known values for ComparisonOperator. 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 (ComparisonOperator) Values() []ComparisonOperator {
	return []ComparisonOperator{
		"EQ",
		"GT",
		"GE",
		"LT",
		"LE",
		"BEGINS_WITH",
	}
}

type DevEnvironmentSessionType string

// Enum values for DevEnvironmentSessionType
const (
	DevEnvironmentSessionTypeSsm DevEnvironmentSessionType = "SSM"
	DevEnvironmentSessionTypeSsh DevEnvironmentSessionType = "SSH"
)

// Values returns all known values for DevEnvironmentSessionType. 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 (DevEnvironmentSessionType) Values() []DevEnvironmentSessionType {
	return []DevEnvironmentSessionType{
		"SSM",
		"SSH",
	}
}

type DevEnvironmentStatus string

// Enum values for DevEnvironmentStatus
const (
	DevEnvironmentStatusPending  DevEnvironmentStatus = "PENDING"
	DevEnvironmentStatusRunning  DevEnvironmentStatus = "RUNNING"
	DevEnvironmentStatusStarting DevEnvironmentStatus = "STARTING"
	DevEnvironmentStatusStopping DevEnvironmentStatus = "STOPPING"
	DevEnvironmentStatusStopped  DevEnvironmentStatus = "STOPPED"
	DevEnvironmentStatusFailed   DevEnvironmentStatus = "FAILED"
	DevEnvironmentStatusDeleting DevEnvironmentStatus = "DELETING"
	DevEnvironmentStatusDeleted  DevEnvironmentStatus = "DELETED"
)

// Values returns all known values for DevEnvironmentStatus. 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 (DevEnvironmentStatus) Values() []DevEnvironmentStatus {
	return []DevEnvironmentStatus{
		"PENDING",
		"RUNNING",
		"STARTING",
		"STOPPING",
		"STOPPED",
		"FAILED",
		"DELETING",
		"DELETED",
	}
}

type FilterKey string

// Enum values for FilterKey
const (
	FilterKeyHasAccessTo FilterKey = "hasAccessTo"
	FilterKeyName        FilterKey = "name"
)

// Values returns all known values for FilterKey. 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 (FilterKey) Values() []FilterKey {
	return []FilterKey{
		"hasAccessTo",
		"name",
	}
}

type InstanceType string

// Enum values for InstanceType
const (
	InstanceTypeDevStandard1Small  InstanceType = "dev.standard1.small"
	InstanceTypeDevStandard1Medium InstanceType = "dev.standard1.medium"
	InstanceTypeDevStandard1Large  InstanceType = "dev.standard1.large"
	InstanceTypeDevStandard1Xlarge InstanceType = "dev.standard1.xlarge"
)

// Values returns all known values for InstanceType. 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 (InstanceType) Values() []InstanceType {
	return []InstanceType{
		"dev.standard1.small",
		"dev.standard1.medium",
		"dev.standard1.large",
		"dev.standard1.xlarge",
	}
}

type OperationType string

// Enum values for OperationType
const (
	OperationTypeReadonly OperationType = "READONLY"
	OperationTypeMutation OperationType = "MUTATION"
)

// Values returns all known values for OperationType. 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 (OperationType) Values() []OperationType {
	return []OperationType{
		"READONLY",
		"MUTATION",
	}
}

type UserType string

// Enum values for UserType
const (
	UserTypeUser       UserType = "USER"
	UserTypeAwsAccount UserType = "AWS_ACCOUNT"
	UserTypeUnknown    UserType = "UNKNOWN"
)

// Values returns all known values for UserType. 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 (UserType) Values() []UserType {
	return []UserType{
		"USER",
		"AWS_ACCOUNT",
		"UNKNOWN",
	}
}

type WorkflowRunMode string

// Enum values for WorkflowRunMode
const (
	WorkflowRunModeQueued     WorkflowRunMode = "QUEUED"
	WorkflowRunModeParallel   WorkflowRunMode = "PARALLEL"
	WorkflowRunModeSuperseded WorkflowRunMode = "SUPERSEDED"
)

// Values returns all known values for WorkflowRunMode. 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 (WorkflowRunMode) Values() []WorkflowRunMode {
	return []WorkflowRunMode{
		"QUEUED",
		"PARALLEL",
		"SUPERSEDED",
	}
}

type WorkflowRunStatus string

// Enum values for WorkflowRunStatus
const (
	WorkflowRunStatusSucceeded    WorkflowRunStatus = "SUCCEEDED"
	WorkflowRunStatusFailed       WorkflowRunStatus = "FAILED"
	WorkflowRunStatusStopped      WorkflowRunStatus = "STOPPED"
	WorkflowRunStatusSuperseded   WorkflowRunStatus = "SUPERSEDED"
	WorkflowRunStatusCancelled    WorkflowRunStatus = "CANCELLED"
	WorkflowRunStatusNotRun       WorkflowRunStatus = "NOT_RUN"
	WorkflowRunStatusValidating   WorkflowRunStatus = "VALIDATING"
	WorkflowRunStatusProvisioning WorkflowRunStatus = "PROVISIONING"
	WorkflowRunStatusInProgress   WorkflowRunStatus = "IN_PROGRESS"
	WorkflowRunStatusStopping     WorkflowRunStatus = "STOPPING"
	WorkflowRunStatusAbandoned    WorkflowRunStatus = "ABANDONED"
)

// Values returns all known values for WorkflowRunStatus. 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 (WorkflowRunStatus) Values() []WorkflowRunStatus {
	return []WorkflowRunStatus{
		"SUCCEEDED",
		"FAILED",
		"STOPPED",
		"SUPERSEDED",
		"CANCELLED",
		"NOT_RUN",
		"VALIDATING",
		"PROVISIONING",
		"IN_PROGRESS",
		"STOPPING",
		"ABANDONED",
	}
}

type WorkflowStatus string

// Enum values for WorkflowStatus
const (
	WorkflowStatusInvalid WorkflowStatus = "INVALID"
	WorkflowStatusActive  WorkflowStatus = "ACTIVE"
)

// Values returns all known values for WorkflowStatus. 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 (WorkflowStatus) Values() []WorkflowStatus {
	return []WorkflowStatus{
		"INVALID",
		"ACTIVE",
	}
}