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

package types

type AuthenticationStrategy string

// Enum values for AuthenticationStrategy
const (
	AuthenticationStrategySimple AuthenticationStrategy = "SIMPLE"
	AuthenticationStrategyLdap   AuthenticationStrategy = "LDAP"
)

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

type BrokerState string

// Enum values for BrokerState
const (
	BrokerStateCreationInProgress     BrokerState = "CREATION_IN_PROGRESS"
	BrokerStateCreationFailed         BrokerState = "CREATION_FAILED"
	BrokerStateDeletionInProgress     BrokerState = "DELETION_IN_PROGRESS"
	BrokerStateRunning                BrokerState = "RUNNING"
	BrokerStateRebootInProgress       BrokerState = "REBOOT_IN_PROGRESS"
	BrokerStateCriticalActionRequired BrokerState = "CRITICAL_ACTION_REQUIRED"
	BrokerStateReplica                BrokerState = "REPLICA"
)

// Values returns all known values for BrokerState. 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 (BrokerState) Values() []BrokerState {
	return []BrokerState{
		"CREATION_IN_PROGRESS",
		"CREATION_FAILED",
		"DELETION_IN_PROGRESS",
		"RUNNING",
		"REBOOT_IN_PROGRESS",
		"CRITICAL_ACTION_REQUIRED",
		"REPLICA",
	}
}

type BrokerStorageType string

// Enum values for BrokerStorageType
const (
	BrokerStorageTypeEbs BrokerStorageType = "EBS"
	BrokerStorageTypeEfs BrokerStorageType = "EFS"
)

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

type ChangeType string

// Enum values for ChangeType
const (
	ChangeTypeCreate ChangeType = "CREATE"
	ChangeTypeUpdate ChangeType = "UPDATE"
	ChangeTypeDelete ChangeType = "DELETE"
)

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

type DataReplicationMode string

// Enum values for DataReplicationMode
const (
	DataReplicationModeNone DataReplicationMode = "NONE"
	DataReplicationModeCrdr DataReplicationMode = "CRDR"
)

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

type DayOfWeek string

// Enum values for DayOfWeek
const (
	DayOfWeekMonday    DayOfWeek = "MONDAY"
	DayOfWeekTuesday   DayOfWeek = "TUESDAY"
	DayOfWeekWednesday DayOfWeek = "WEDNESDAY"
	DayOfWeekThursday  DayOfWeek = "THURSDAY"
	DayOfWeekFriday    DayOfWeek = "FRIDAY"
	DayOfWeekSaturday  DayOfWeek = "SATURDAY"
	DayOfWeekSunday    DayOfWeek = "SUNDAY"
)

// Values returns all known values for DayOfWeek. 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 (DayOfWeek) Values() []DayOfWeek {
	return []DayOfWeek{
		"MONDAY",
		"TUESDAY",
		"WEDNESDAY",
		"THURSDAY",
		"FRIDAY",
		"SATURDAY",
		"SUNDAY",
	}
}

type DeploymentMode string

// Enum values for DeploymentMode
const (
	DeploymentModeSingleInstance       DeploymentMode = "SINGLE_INSTANCE"
	DeploymentModeActiveStandbyMultiAz DeploymentMode = "ACTIVE_STANDBY_MULTI_AZ"
	DeploymentModeClusterMultiAz       DeploymentMode = "CLUSTER_MULTI_AZ"
)

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

type EngineType string

// Enum values for EngineType
const (
	EngineTypeActivemq EngineType = "ACTIVEMQ"
	EngineTypeRabbitmq EngineType = "RABBITMQ"
)

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

type PromoteMode string

// Enum values for PromoteMode
const (
	PromoteModeSwitchover PromoteMode = "SWITCHOVER"
	PromoteModeFailover   PromoteMode = "FAILOVER"
)

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

type SanitizationWarningReason string

// Enum values for SanitizationWarningReason
const (
	SanitizationWarningReasonDisallowedElementRemoved     SanitizationWarningReason = "DISALLOWED_ELEMENT_REMOVED"
	SanitizationWarningReasonDisallowedAttributeRemoved   SanitizationWarningReason = "DISALLOWED_ATTRIBUTE_REMOVED"
	SanitizationWarningReasonInvalidAttributeValueRemoved SanitizationWarningReason = "INVALID_ATTRIBUTE_VALUE_REMOVED"
)

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