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 (288 lines) | stat: -rw-r--r-- 8,551 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
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

type DatasourcePackage string

// Enum values for DatasourcePackage
const (
	DatasourcePackageDetectiveCore          DatasourcePackage = "DETECTIVE_CORE"
	DatasourcePackageEksAudit               DatasourcePackage = "EKS_AUDIT"
	DatasourcePackageAsffSecurityhubFinding DatasourcePackage = "ASFF_SECURITYHUB_FINDING"
)

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

type DatasourcePackageIngestState string

// Enum values for DatasourcePackageIngestState
const (
	DatasourcePackageIngestStateStarted  DatasourcePackageIngestState = "STARTED"
	DatasourcePackageIngestStateStopped  DatasourcePackageIngestState = "STOPPED"
	DatasourcePackageIngestStateDisabled DatasourcePackageIngestState = "DISABLED"
)

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

type EntityType string

// Enum values for EntityType
const (
	EntityTypeIamRole EntityType = "IAM_ROLE"
	EntityTypeIamUser EntityType = "IAM_USER"
)

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

type ErrorCode string

// Enum values for ErrorCode
const (
	ErrorCodeInvalidGraphArn    ErrorCode = "INVALID_GRAPH_ARN"
	ErrorCodeInvalidRequestBody ErrorCode = "INVALID_REQUEST_BODY"
	ErrorCodeInternalError      ErrorCode = "INTERNAL_ERROR"
)

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

type Field string

// Enum values for Field
const (
	FieldSeverity    Field = "SEVERITY"
	FieldStatus      Field = "STATUS"
	FieldCreatedTime Field = "CREATED_TIME"
)

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

type IndicatorType string

// Enum values for IndicatorType
const (
	IndicatorTypeTtpObserved         IndicatorType = "TTP_OBSERVED"
	IndicatorTypeImpossibleTravel    IndicatorType = "IMPOSSIBLE_TRAVEL"
	IndicatorTypeFlaggedIpAddress    IndicatorType = "FLAGGED_IP_ADDRESS"
	IndicatorTypeNewGeolocation      IndicatorType = "NEW_GEOLOCATION"
	IndicatorTypeNewAso              IndicatorType = "NEW_ASO"
	IndicatorTypeNewUserAgent        IndicatorType = "NEW_USER_AGENT"
	IndicatorTypeRelatedFinding      IndicatorType = "RELATED_FINDING"
	IndicatorTypeRelatedFindingGroup IndicatorType = "RELATED_FINDING_GROUP"
)

// Values returns all known values for IndicatorType. 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 (IndicatorType) Values() []IndicatorType {
	return []IndicatorType{
		"TTP_OBSERVED",
		"IMPOSSIBLE_TRAVEL",
		"FLAGGED_IP_ADDRESS",
		"NEW_GEOLOCATION",
		"NEW_ASO",
		"NEW_USER_AGENT",
		"RELATED_FINDING",
		"RELATED_FINDING_GROUP",
	}
}

type InvitationType string

// Enum values for InvitationType
const (
	InvitationTypeInvitation   InvitationType = "INVITATION"
	InvitationTypeOrganization InvitationType = "ORGANIZATION"
)

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

type MemberDisabledReason string

// Enum values for MemberDisabledReason
const (
	MemberDisabledReasonVolumeTooHigh MemberDisabledReason = "VOLUME_TOO_HIGH"
	MemberDisabledReasonVolumeUnknown MemberDisabledReason = "VOLUME_UNKNOWN"
)

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

type MemberStatus string

// Enum values for MemberStatus
const (
	MemberStatusInvited                MemberStatus = "INVITED"
	MemberStatusVerificationInProgress MemberStatus = "VERIFICATION_IN_PROGRESS"
	MemberStatusVerificationFailed     MemberStatus = "VERIFICATION_FAILED"
	MemberStatusEnabled                MemberStatus = "ENABLED"
	MemberStatusAcceptedButDisabled    MemberStatus = "ACCEPTED_BUT_DISABLED"
)

// Values returns all known values for MemberStatus. 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 (MemberStatus) Values() []MemberStatus {
	return []MemberStatus{
		"INVITED",
		"VERIFICATION_IN_PROGRESS",
		"VERIFICATION_FAILED",
		"ENABLED",
		"ACCEPTED_BUT_DISABLED",
	}
}

type Reason string

// Enum values for Reason
const (
	ReasonAwsThreatIntelligence Reason = "AWS_THREAT_INTELLIGENCE"
)

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

type Severity string

// Enum values for Severity
const (
	SeverityInformational Severity = "INFORMATIONAL"
	SeverityLow           Severity = "LOW"
	SeverityMedium        Severity = "MEDIUM"
	SeverityHigh          Severity = "HIGH"
	SeverityCritical      Severity = "CRITICAL"
)

// Values returns all known values for Severity. 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 (Severity) Values() []Severity {
	return []Severity{
		"INFORMATIONAL",
		"LOW",
		"MEDIUM",
		"HIGH",
		"CRITICAL",
	}
}

type SortOrder string

// Enum values for SortOrder
const (
	SortOrderAsc  SortOrder = "ASC"
	SortOrderDesc SortOrder = "DESC"
)

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

type State string

// Enum values for State
const (
	StateActive   State = "ACTIVE"
	StateArchived State = "ARCHIVED"
)

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

type Status string

// Enum values for Status
const (
	StatusRunning    Status = "RUNNING"
	StatusFailed     Status = "FAILED"
	StatusSuccessful Status = "SUCCESSFUL"
)

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