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 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type AdditionalConstraintsElement string
// Enum values for AdditionalConstraintsElement
const (
AdditionalConstraintsElementRequireDigit AdditionalConstraintsElement = "REQUIRE_DIGIT"
AdditionalConstraintsElementRequireLowercase AdditionalConstraintsElement = "REQUIRE_LOWERCASE"
AdditionalConstraintsElementRequireSymbol AdditionalConstraintsElement = "REQUIRE_SYMBOL"
AdditionalConstraintsElementRequireUppercase AdditionalConstraintsElement = "REQUIRE_UPPERCASE"
)
// Values returns all known values for AdditionalConstraintsElement. 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 (AdditionalConstraintsElement) Values() []AdditionalConstraintsElement {
return []AdditionalConstraintsElement{
"REQUIRE_DIGIT",
"REQUIRE_LOWERCASE",
"REQUIRE_SYMBOL",
"REQUIRE_UPPERCASE",
}
}
type AuthenticatedElement string
// Enum values for AuthenticatedElement
const (
AuthenticatedElementRead AuthenticatedElement = "READ"
AuthenticatedElementCreateAndUpdate AuthenticatedElement = "CREATE_AND_UPDATE"
AuthenticatedElementDelete AuthenticatedElement = "DELETE"
)
// Values returns all known values for AuthenticatedElement. 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 (AuthenticatedElement) Values() []AuthenticatedElement {
return []AuthenticatedElement{
"READ",
"CREATE_AND_UPDATE",
"DELETE",
}
}
type AuthResources string
// Enum values for AuthResources
const (
AuthResourcesUserPoolOnly AuthResources = "USER_POOL_ONLY"
AuthResourcesIdentityPoolAndUserPool AuthResources = "IDENTITY_POOL_AND_USER_POOL"
)
// Values returns all known values for AuthResources. 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 (AuthResources) Values() []AuthResources {
return []AuthResources{
"USER_POOL_ONLY",
"IDENTITY_POOL_AND_USER_POOL",
}
}
type DeliveryMethod string
// Enum values for DeliveryMethod
const (
DeliveryMethodEmail DeliveryMethod = "EMAIL"
DeliveryMethodSms DeliveryMethod = "SMS"
)
// Values returns all known values for DeliveryMethod. 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 (DeliveryMethod) Values() []DeliveryMethod {
return []DeliveryMethod{
"EMAIL",
"SMS",
}
}
type MFAMode string
// Enum values for MFAMode
const (
MFAModeOn MFAMode = "ON"
MFAModeOff MFAMode = "OFF"
MFAModeOptional MFAMode = "OPTIONAL"
)
// Values returns all known values for MFAMode. 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 (MFAMode) Values() []MFAMode {
return []MFAMode{
"ON",
"OFF",
"OPTIONAL",
}
}
type MfaTypesElement string
// Enum values for MfaTypesElement
const (
MfaTypesElementSms MfaTypesElement = "SMS"
MfaTypesElementTotp MfaTypesElement = "TOTP"
)
// Values returns all known values for MfaTypesElement. 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 (MfaTypesElement) Values() []MfaTypesElement {
return []MfaTypesElement{
"SMS",
"TOTP",
}
}
type Mode string
// Enum values for Mode
const (
ModeApiKey Mode = "API_KEY"
ModeAwsIam Mode = "AWS_IAM"
ModeAmazonCognitoUserPools Mode = "AMAZON_COGNITO_USER_POOLS"
ModeOpenidConnect Mode = "OPENID_CONNECT"
)
// Values returns all known values for Mode. 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 (Mode) Values() []Mode {
return []Mode{
"API_KEY",
"AWS_IAM",
"AMAZON_COGNITO_USER_POOLS",
"OPENID_CONNECT",
}
}
type OAuthGrantType string
// Enum values for OAuthGrantType
const (
OAuthGrantTypeCode OAuthGrantType = "CODE"
OAuthGrantTypeImplicit OAuthGrantType = "IMPLICIT"
)
// Values returns all known values for OAuthGrantType. 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 (OAuthGrantType) Values() []OAuthGrantType {
return []OAuthGrantType{
"CODE",
"IMPLICIT",
}
}
type OAuthScopesElement string
// Enum values for OAuthScopesElement
const (
OAuthScopesElementPhone OAuthScopesElement = "PHONE"
OAuthScopesElementEmail OAuthScopesElement = "EMAIL"
OAuthScopesElementOpenid OAuthScopesElement = "OPENID"
OAuthScopesElementProfile OAuthScopesElement = "PROFILE"
OAuthScopesElementAwsCognitoSigninUserAdmin OAuthScopesElement = "AWS_COGNITO_SIGNIN_USER_ADMIN"
)
// Values returns all known values for OAuthScopesElement. 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 (OAuthScopesElement) Values() []OAuthScopesElement {
return []OAuthScopesElement{
"PHONE",
"EMAIL",
"OPENID",
"PROFILE",
"AWS_COGNITO_SIGNIN_USER_ADMIN",
}
}
type RequiredSignUpAttributesElement string
// Enum values for RequiredSignUpAttributesElement
const (
RequiredSignUpAttributesElementAddress RequiredSignUpAttributesElement = "ADDRESS"
RequiredSignUpAttributesElementBirthdate RequiredSignUpAttributesElement = "BIRTHDATE"
RequiredSignUpAttributesElementEmail RequiredSignUpAttributesElement = "EMAIL"
RequiredSignUpAttributesElementFamilyName RequiredSignUpAttributesElement = "FAMILY_NAME"
RequiredSignUpAttributesElementGender RequiredSignUpAttributesElement = "GENDER"
RequiredSignUpAttributesElementGivenName RequiredSignUpAttributesElement = "GIVEN_NAME"
RequiredSignUpAttributesElementLocale RequiredSignUpAttributesElement = "LOCALE"
RequiredSignUpAttributesElementMiddleName RequiredSignUpAttributesElement = "MIDDLE_NAME"
RequiredSignUpAttributesElementName RequiredSignUpAttributesElement = "NAME"
RequiredSignUpAttributesElementNickname RequiredSignUpAttributesElement = "NICKNAME"
RequiredSignUpAttributesElementPhoneNumber RequiredSignUpAttributesElement = "PHONE_NUMBER"
RequiredSignUpAttributesElementPicture RequiredSignUpAttributesElement = "PICTURE"
RequiredSignUpAttributesElementPreferredUsername RequiredSignUpAttributesElement = "PREFERRED_USERNAME"
RequiredSignUpAttributesElementProfile RequiredSignUpAttributesElement = "PROFILE"
RequiredSignUpAttributesElementUpdatedAt RequiredSignUpAttributesElement = "UPDATED_AT"
RequiredSignUpAttributesElementWebsite RequiredSignUpAttributesElement = "WEBSITE"
RequiredSignUpAttributesElementZoneInfo RequiredSignUpAttributesElement = "ZONE_INFO"
)
// Values returns all known values for RequiredSignUpAttributesElement. 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 (RequiredSignUpAttributesElement) Values() []RequiredSignUpAttributesElement {
return []RequiredSignUpAttributesElement{
"ADDRESS",
"BIRTHDATE",
"EMAIL",
"FAMILY_NAME",
"GENDER",
"GIVEN_NAME",
"LOCALE",
"MIDDLE_NAME",
"NAME",
"NICKNAME",
"PHONE_NUMBER",
"PICTURE",
"PREFERRED_USERNAME",
"PROFILE",
"UPDATED_AT",
"WEBSITE",
"ZONE_INFO",
}
}
type ResolutionStrategy string
// Enum values for ResolutionStrategy
const (
ResolutionStrategyOptimisticConcurrency ResolutionStrategy = "OPTIMISTIC_CONCURRENCY"
ResolutionStrategyLambda ResolutionStrategy = "LAMBDA"
ResolutionStrategyAutomerge ResolutionStrategy = "AUTOMERGE"
ResolutionStrategyNone ResolutionStrategy = "NONE"
)
// Values returns all known values for ResolutionStrategy. 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 (ResolutionStrategy) Values() []ResolutionStrategy {
return []ResolutionStrategy{
"OPTIMISTIC_CONCURRENCY",
"LAMBDA",
"AUTOMERGE",
"NONE",
}
}
type Service string
// Enum values for Service
const (
ServiceCognito Service = "COGNITO"
)
// Values returns all known values for Service. 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 (Service) Values() []Service {
return []Service{
"COGNITO",
}
}
type ServiceName string
// Enum values for ServiceName
const (
ServiceNameS3 ServiceName = "S3"
)
// Values returns all known values for ServiceName. 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 (ServiceName) Values() []ServiceName {
return []ServiceName{
"S3",
}
}
type SignInMethod string
// Enum values for SignInMethod
const (
SignInMethodEmail SignInMethod = "EMAIL"
SignInMethodEmailAndPhoneNumber SignInMethod = "EMAIL_AND_PHONE_NUMBER"
SignInMethodPhoneNumber SignInMethod = "PHONE_NUMBER"
SignInMethodUsername SignInMethod = "USERNAME"
)
// Values returns all known values for SignInMethod. 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 (SignInMethod) Values() []SignInMethod {
return []SignInMethod{
"EMAIL",
"EMAIL_AND_PHONE_NUMBER",
"PHONE_NUMBER",
"USERNAME",
}
}
type Status string
// Enum values for Status
const (
StatusLatest Status = "LATEST"
StatusStale Status = "STALE"
)
// 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{
"LATEST",
"STALE",
}
}
type UnAuthenticatedElement string
// Enum values for UnAuthenticatedElement
const (
UnAuthenticatedElementRead UnAuthenticatedElement = "READ"
UnAuthenticatedElementCreateAndUpdate UnAuthenticatedElement = "CREATE_AND_UPDATE"
UnAuthenticatedElementDelete UnAuthenticatedElement = "DELETE"
)
// Values returns all known values for UnAuthenticatedElement. 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 (UnAuthenticatedElement) Values() []UnAuthenticatedElement {
return []UnAuthenticatedElement{
"READ",
"CREATE_AND_UPDATE",
"DELETE",
}
}
|