File: enums.go

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.30.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 662,428 kB
  • sloc: java: 16,875; makefile: 432; sh: 175
file content (139 lines) | stat: -rw-r--r-- 4,114 bytes parent folder | download | duplicates (3)
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
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

type AccessType string

// Enum values for AccessType
const (
	AccessTypeLakeformation AccessType = "LAKEFORMATION"
	AccessTypeS3            AccessType = "S3"
)

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

type AwsLogSourceName string

// Enum values for AwsLogSourceName
const (
	AwsLogSourceNameRoute53         AwsLogSourceName = "ROUTE53"
	AwsLogSourceNameVpcFlow         AwsLogSourceName = "VPC_FLOW"
	AwsLogSourceNameShFindings      AwsLogSourceName = "SH_FINDINGS"
	AwsLogSourceNameCloudTrailMgmt  AwsLogSourceName = "CLOUD_TRAIL_MGMT"
	AwsLogSourceNameLambdaExecution AwsLogSourceName = "LAMBDA_EXECUTION"
	AwsLogSourceNameS3Data          AwsLogSourceName = "S3_DATA"
	AwsLogSourceNameEksAudit        AwsLogSourceName = "EKS_AUDIT"
	AwsLogSourceNameWaf             AwsLogSourceName = "WAF"
)

// Values returns all known values for AwsLogSourceName. 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 (AwsLogSourceName) Values() []AwsLogSourceName {
	return []AwsLogSourceName{
		"ROUTE53",
		"VPC_FLOW",
		"SH_FINDINGS",
		"CLOUD_TRAIL_MGMT",
		"LAMBDA_EXECUTION",
		"S3_DATA",
		"EKS_AUDIT",
		"WAF",
	}
}

type DataLakeStatus string

// Enum values for DataLakeStatus
const (
	DataLakeStatusInitialized DataLakeStatus = "INITIALIZED"
	DataLakeStatusPending     DataLakeStatus = "PENDING"
	DataLakeStatusCompleted   DataLakeStatus = "COMPLETED"
	DataLakeStatusFailed      DataLakeStatus = "FAILED"
)

// Values returns all known values for DataLakeStatus. 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 (DataLakeStatus) Values() []DataLakeStatus {
	return []DataLakeStatus{
		"INITIALIZED",
		"PENDING",
		"COMPLETED",
		"FAILED",
	}
}

type HttpMethod string

// Enum values for HttpMethod
const (
	HttpMethodPost HttpMethod = "POST"
	HttpMethodPut  HttpMethod = "PUT"
)

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

type SourceCollectionStatus string

// Enum values for SourceCollectionStatus
const (
	SourceCollectionStatusCollecting    SourceCollectionStatus = "COLLECTING"
	SourceCollectionStatusMisconfigured SourceCollectionStatus = "MISCONFIGURED"
	SourceCollectionStatusNotCollecting SourceCollectionStatus = "NOT_COLLECTING"
)

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

type SubscriberStatus string

// Enum values for SubscriberStatus
const (
	SubscriberStatusActive      SubscriberStatus = "ACTIVE"
	SubscriberStatusDeactivated SubscriberStatus = "DEACTIVATED"
	SubscriberStatusPending     SubscriberStatus = "PENDING"
	SubscriberStatusReady       SubscriberStatus = "READY"
)

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