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 (205 lines) | stat: -rw-r--r-- 6,886 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
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

type DatasetStatus string

// Enum values for DatasetStatus
const (
	DatasetStatusCreateInProgress               DatasetStatus = "CREATE_IN_PROGRESS"
	DatasetStatusCreateComplete                 DatasetStatus = "CREATE_COMPLETE"
	DatasetStatusCreateFailed                   DatasetStatus = "CREATE_FAILED"
	DatasetStatusUpdateInProgress               DatasetStatus = "UPDATE_IN_PROGRESS"
	DatasetStatusUpdateComplete                 DatasetStatus = "UPDATE_COMPLETE"
	DatasetStatusUpdateFailedRollbackInProgress DatasetStatus = "UPDATE_FAILED_ROLLBACK_IN_PROGRESS"
	DatasetStatusUpdateFailedRollbackComplete   DatasetStatus = "UPDATE_FAILED_ROLLBACK_COMPLETE"
	DatasetStatusDeleteInProgress               DatasetStatus = "DELETE_IN_PROGRESS"
	DatasetStatusDeleteComplete                 DatasetStatus = "DELETE_COMPLETE"
	DatasetStatusDeleteFailed                   DatasetStatus = "DELETE_FAILED"
)

// Values returns all known values for DatasetStatus. 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 (DatasetStatus) Values() []DatasetStatus {
	return []DatasetStatus{
		"CREATE_IN_PROGRESS",
		"CREATE_COMPLETE",
		"CREATE_FAILED",
		"UPDATE_IN_PROGRESS",
		"UPDATE_COMPLETE",
		"UPDATE_FAILED_ROLLBACK_IN_PROGRESS",
		"UPDATE_FAILED_ROLLBACK_COMPLETE",
		"DELETE_IN_PROGRESS",
		"DELETE_COMPLETE",
		"DELETE_FAILED",
	}
}

type ModelHostingStatus string

// Enum values for ModelHostingStatus
const (
	ModelHostingStatusStartingHosting ModelHostingStatus = "STARTING_HOSTING"
	ModelHostingStatusHosted          ModelHostingStatus = "HOSTED"
	ModelHostingStatusHostingFailed   ModelHostingStatus = "HOSTING_FAILED"
	ModelHostingStatusStoppingHosting ModelHostingStatus = "STOPPING_HOSTING"
	ModelHostingStatusSystemUpdating  ModelHostingStatus = "SYSTEM_UPDATING"
)

// Values returns all known values for ModelHostingStatus. 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 (ModelHostingStatus) Values() []ModelHostingStatus {
	return []ModelHostingStatus{
		"STARTING_HOSTING",
		"HOSTED",
		"HOSTING_FAILED",
		"STOPPING_HOSTING",
		"SYSTEM_UPDATING",
	}
}

type ModelPackagingJobStatus string

// Enum values for ModelPackagingJobStatus
const (
	ModelPackagingJobStatusCreated   ModelPackagingJobStatus = "CREATED"
	ModelPackagingJobStatusRunning   ModelPackagingJobStatus = "RUNNING"
	ModelPackagingJobStatusSucceeded ModelPackagingJobStatus = "SUCCEEDED"
	ModelPackagingJobStatusFailed    ModelPackagingJobStatus = "FAILED"
)

// Values returns all known values for ModelPackagingJobStatus. 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 (ModelPackagingJobStatus) Values() []ModelPackagingJobStatus {
	return []ModelPackagingJobStatus{
		"CREATED",
		"RUNNING",
		"SUCCEEDED",
		"FAILED",
	}
}

type ModelStatus string

// Enum values for ModelStatus
const (
	ModelStatusTraining        ModelStatus = "TRAINING"
	ModelStatusTrained         ModelStatus = "TRAINED"
	ModelStatusTrainingFailed  ModelStatus = "TRAINING_FAILED"
	ModelStatusStartingHosting ModelStatus = "STARTING_HOSTING"
	ModelStatusHosted          ModelStatus = "HOSTED"
	ModelStatusHostingFailed   ModelStatus = "HOSTING_FAILED"
	ModelStatusStoppingHosting ModelStatus = "STOPPING_HOSTING"
	ModelStatusSystemUpdating  ModelStatus = "SYSTEM_UPDATING"
	ModelStatusDeleting        ModelStatus = "DELETING"
)

// Values returns all known values for ModelStatus. 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 (ModelStatus) Values() []ModelStatus {
	return []ModelStatus{
		"TRAINING",
		"TRAINED",
		"TRAINING_FAILED",
		"STARTING_HOSTING",
		"HOSTED",
		"HOSTING_FAILED",
		"STOPPING_HOSTING",
		"SYSTEM_UPDATING",
		"DELETING",
	}
}

type ResourceType string

// Enum values for ResourceType
const (
	ResourceTypeProject         ResourceType = "PROJECT"
	ResourceTypeDataset         ResourceType = "DATASET"
	ResourceTypeModel           ResourceType = "MODEL"
	ResourceTypeTrial           ResourceType = "TRIAL"
	ResourceTypeModelPackageJob ResourceType = "MODEL_PACKAGE_JOB"
)

// Values returns all known values for ResourceType. 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 (ResourceType) Values() []ResourceType {
	return []ResourceType{
		"PROJECT",
		"DATASET",
		"MODEL",
		"TRIAL",
		"MODEL_PACKAGE_JOB",
	}
}

type TargetDevice string

// Enum values for TargetDevice
const (
	TargetDeviceJetsonXavier TargetDevice = "jetson_xavier"
)

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

type TargetPlatformAccelerator string

// Enum values for TargetPlatformAccelerator
const (
	TargetPlatformAcceleratorNvidia TargetPlatformAccelerator = "NVIDIA"
)

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

type TargetPlatformArch string

// Enum values for TargetPlatformArch
const (
	TargetPlatformArchArm64 TargetPlatformArch = "ARM64"
	TargetPlatformArchX8664 TargetPlatformArch = "X86_64"
)

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

type TargetPlatformOs string

// Enum values for TargetPlatformOs
const (
	TargetPlatformOsLinux TargetPlatformOs = "LINUX"
)

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