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

package types

type AccessPolicyType string

// Enum values for AccessPolicyType
const (
	// data policy type
	AccessPolicyTypeData AccessPolicyType = "data"
)

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

type CollectionStatus string

// Enum values for CollectionStatus
const (
	// Creating collection resource
	CollectionStatusCreating CollectionStatus = "CREATING"
	// Deleting collection resource
	CollectionStatusDeleting CollectionStatus = "DELETING"
	// Collection resource is ready to use
	CollectionStatusActive CollectionStatus = "ACTIVE"
	// Collection resource create or delete failed
	CollectionStatusFailed CollectionStatus = "FAILED"
)

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

type CollectionType string

// Enum values for CollectionType
const (
	// Search collection type
	CollectionTypeSearch CollectionType = "SEARCH"
	// Timeseries collection type
	CollectionTypeTimeseries CollectionType = "TIMESERIES"
	// Vectorsearch collection type
	CollectionTypeVectorsearch CollectionType = "VECTORSEARCH"
)

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

type LifecyclePolicyType string

// Enum values for LifecyclePolicyType
const (
	// retention policy type
	LifecyclePolicyTypeRetention LifecyclePolicyType = "retention"
)

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

type ResourceType string

// Enum values for ResourceType
const (
	// index resource type
	ResourceTypeIndex ResourceType = "index"
)

// 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{
		"index",
	}
}

type SecurityConfigType string

// Enum values for SecurityConfigType
const (
	// saml provider
	SecurityConfigTypeSaml SecurityConfigType = "saml"
)

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

type SecurityPolicyType string

// Enum values for SecurityPolicyType
const (
	// encryption policy type
	SecurityPolicyTypeEncryption SecurityPolicyType = "encryption"
	// network policy type
	SecurityPolicyTypeNetwork SecurityPolicyType = "network"
)

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

type StandbyReplicas string

// Enum values for StandbyReplicas
const (
	// Standby replicas enabled
	StandbyReplicasEnabled StandbyReplicas = "ENABLED"
	// Standby replicas disabled
	StandbyReplicasDisabled StandbyReplicas = "DISABLED"
)

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

type VpcEndpointStatus string

// Enum values for VpcEndpointStatus
const (
	// Pending VPCEndpoint resource
	VpcEndpointStatusPending VpcEndpointStatus = "PENDING"
	// Deleting VPCEndpoint resource
	VpcEndpointStatusDeleting VpcEndpointStatus = "DELETING"
	// VPCEndpoint resource is ready to use
	VpcEndpointStatusActive VpcEndpointStatus = "ACTIVE"
	// VPCEndpoint resource create or delete failed
	VpcEndpointStatusFailed VpcEndpointStatus = "FAILED"
)

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