1// Code generated by smithy-go-codegen DO NOT EDIT. 2 3package types 4 5type ApiKeysFormat string 6 7// Enum values for ApiKeysFormat 8const ( 9 ApiKeysFormatCsv ApiKeysFormat = "csv" 10) 11 12// Values returns all known values for ApiKeysFormat. Note that this can be 13// expanded in the future, and so it is only as up to date as the client. The 14// ordering of this slice is not guaranteed to be stable across updates. 15func (ApiKeysFormat) Values() []ApiKeysFormat { 16 return []ApiKeysFormat{ 17 "csv", 18 } 19} 20 21type ApiKeySourceType string 22 23// Enum values for ApiKeySourceType 24const ( 25 ApiKeySourceTypeHeader ApiKeySourceType = "HEADER" 26 ApiKeySourceTypeAuthorizer ApiKeySourceType = "AUTHORIZER" 27) 28 29// Values returns all known values for ApiKeySourceType. Note that this can be 30// expanded in the future, and so it is only as up to date as the client. The 31// ordering of this slice is not guaranteed to be stable across updates. 32func (ApiKeySourceType) Values() []ApiKeySourceType { 33 return []ApiKeySourceType{ 34 "HEADER", 35 "AUTHORIZER", 36 } 37} 38 39type AuthorizerType string 40 41// Enum values for AuthorizerType 42const ( 43 AuthorizerTypeToken AuthorizerType = "TOKEN" 44 AuthorizerTypeRequest AuthorizerType = "REQUEST" 45 AuthorizerTypeCognitoUserPools AuthorizerType = "COGNITO_USER_POOLS" 46) 47 48// Values returns all known values for AuthorizerType. Note that this can be 49// expanded in the future, and so it is only as up to date as the client. The 50// ordering of this slice is not guaranteed to be stable across updates. 51func (AuthorizerType) Values() []AuthorizerType { 52 return []AuthorizerType{ 53 "TOKEN", 54 "REQUEST", 55 "COGNITO_USER_POOLS", 56 } 57} 58 59type CacheClusterSize string 60 61// Enum values for CacheClusterSize 62const ( 63 CacheClusterSizeSize0Point5Gb CacheClusterSize = "0.5" 64 CacheClusterSizeSize1Point6Gb CacheClusterSize = "1.6" 65 CacheClusterSizeSize6Point1Gb CacheClusterSize = "6.1" 66 CacheClusterSizeSize13Point5Gb CacheClusterSize = "13.5" 67 CacheClusterSizeSize28Point4Gb CacheClusterSize = "28.4" 68 CacheClusterSizeSize58Point2Gb CacheClusterSize = "58.2" 69 CacheClusterSizeSize118Gb CacheClusterSize = "118" 70 CacheClusterSizeSize237Gb CacheClusterSize = "237" 71) 72 73// Values returns all known values for CacheClusterSize. Note that this can be 74// expanded in the future, and so it is only as up to date as the client. The 75// ordering of this slice is not guaranteed to be stable across updates. 76func (CacheClusterSize) Values() []CacheClusterSize { 77 return []CacheClusterSize{ 78 "0.5", 79 "1.6", 80 "6.1", 81 "13.5", 82 "28.4", 83 "58.2", 84 "118", 85 "237", 86 } 87} 88 89type CacheClusterStatus string 90 91// Enum values for CacheClusterStatus 92const ( 93 CacheClusterStatusCreateInProgress CacheClusterStatus = "CREATE_IN_PROGRESS" 94 CacheClusterStatusAvailable CacheClusterStatus = "AVAILABLE" 95 CacheClusterStatusDeleteInProgress CacheClusterStatus = "DELETE_IN_PROGRESS" 96 CacheClusterStatusNotAvailable CacheClusterStatus = "NOT_AVAILABLE" 97 CacheClusterStatusFlushInProgress CacheClusterStatus = "FLUSH_IN_PROGRESS" 98) 99 100// Values returns all known values for CacheClusterStatus. Note that this can be 101// expanded in the future, and so it is only as up to date as the client. The 102// ordering of this slice is not guaranteed to be stable across updates. 103func (CacheClusterStatus) Values() []CacheClusterStatus { 104 return []CacheClusterStatus{ 105 "CREATE_IN_PROGRESS", 106 "AVAILABLE", 107 "DELETE_IN_PROGRESS", 108 "NOT_AVAILABLE", 109 "FLUSH_IN_PROGRESS", 110 } 111} 112 113type ConnectionType string 114 115// Enum values for ConnectionType 116const ( 117 ConnectionTypeInternet ConnectionType = "INTERNET" 118 ConnectionTypeVpcLink ConnectionType = "VPC_LINK" 119) 120 121// Values returns all known values for ConnectionType. Note that this can be 122// expanded in the future, and so it is only as up to date as the client. The 123// ordering of this slice is not guaranteed to be stable across updates. 124func (ConnectionType) Values() []ConnectionType { 125 return []ConnectionType{ 126 "INTERNET", 127 "VPC_LINK", 128 } 129} 130 131type ContentHandlingStrategy string 132 133// Enum values for ContentHandlingStrategy 134const ( 135 ContentHandlingStrategyConvertToBinary ContentHandlingStrategy = "CONVERT_TO_BINARY" 136 ContentHandlingStrategyConvertToText ContentHandlingStrategy = "CONVERT_TO_TEXT" 137) 138 139// Values returns all known values for ContentHandlingStrategy. Note that this can 140// be expanded in the future, and so it is only as up to date as the client. The 141// ordering of this slice is not guaranteed to be stable across updates. 142func (ContentHandlingStrategy) Values() []ContentHandlingStrategy { 143 return []ContentHandlingStrategy{ 144 "CONVERT_TO_BINARY", 145 "CONVERT_TO_TEXT", 146 } 147} 148 149type DocumentationPartType string 150 151// Enum values for DocumentationPartType 152const ( 153 DocumentationPartTypeApi DocumentationPartType = "API" 154 DocumentationPartTypeAuthorizer DocumentationPartType = "AUTHORIZER" 155 DocumentationPartTypeModel DocumentationPartType = "MODEL" 156 DocumentationPartTypeResource DocumentationPartType = "RESOURCE" 157 DocumentationPartTypeMethod DocumentationPartType = "METHOD" 158 DocumentationPartTypePathParameter DocumentationPartType = "PATH_PARAMETER" 159 DocumentationPartTypeQueryParameter DocumentationPartType = "QUERY_PARAMETER" 160 DocumentationPartTypeRequestHeader DocumentationPartType = "REQUEST_HEADER" 161 DocumentationPartTypeRequestBody DocumentationPartType = "REQUEST_BODY" 162 DocumentationPartTypeResponse DocumentationPartType = "RESPONSE" 163 DocumentationPartTypeResponseHeader DocumentationPartType = "RESPONSE_HEADER" 164 DocumentationPartTypeResponseBody DocumentationPartType = "RESPONSE_BODY" 165) 166 167// Values returns all known values for DocumentationPartType. Note that this can be 168// expanded in the future, and so it is only as up to date as the client. The 169// ordering of this slice is not guaranteed to be stable across updates. 170func (DocumentationPartType) Values() []DocumentationPartType { 171 return []DocumentationPartType{ 172 "API", 173 "AUTHORIZER", 174 "MODEL", 175 "RESOURCE", 176 "METHOD", 177 "PATH_PARAMETER", 178 "QUERY_PARAMETER", 179 "REQUEST_HEADER", 180 "REQUEST_BODY", 181 "RESPONSE", 182 "RESPONSE_HEADER", 183 "RESPONSE_BODY", 184 } 185} 186 187type DomainNameStatus string 188 189// Enum values for DomainNameStatus 190const ( 191 DomainNameStatusAvailable DomainNameStatus = "AVAILABLE" 192 DomainNameStatusUpdating DomainNameStatus = "UPDATING" 193 DomainNameStatusPending DomainNameStatus = "PENDING" 194) 195 196// Values returns all known values for DomainNameStatus. Note that this can be 197// expanded in the future, and so it is only as up to date as the client. The 198// ordering of this slice is not guaranteed to be stable across updates. 199func (DomainNameStatus) Values() []DomainNameStatus { 200 return []DomainNameStatus{ 201 "AVAILABLE", 202 "UPDATING", 203 "PENDING", 204 } 205} 206 207type EndpointType string 208 209// Enum values for EndpointType 210const ( 211 EndpointTypeRegional EndpointType = "REGIONAL" 212 EndpointTypeEdge EndpointType = "EDGE" 213 EndpointTypePrivate EndpointType = "PRIVATE" 214) 215 216// Values returns all known values for EndpointType. Note that this can be expanded 217// in the future, and so it is only as up to date as the client. The ordering of 218// this slice is not guaranteed to be stable across updates. 219func (EndpointType) Values() []EndpointType { 220 return []EndpointType{ 221 "REGIONAL", 222 "EDGE", 223 "PRIVATE", 224 } 225} 226 227type GatewayResponseType string 228 229// Enum values for GatewayResponseType 230const ( 231 GatewayResponseTypeDefault4xx GatewayResponseType = "DEFAULT_4XX" 232 GatewayResponseTypeDefault5xx GatewayResponseType = "DEFAULT_5XX" 233 GatewayResponseTypeResourceNotFound GatewayResponseType = "RESOURCE_NOT_FOUND" 234 GatewayResponseTypeUnauthorized GatewayResponseType = "UNAUTHORIZED" 235 GatewayResponseTypeInvalidApiKey GatewayResponseType = "INVALID_API_KEY" 236 GatewayResponseTypeAccessDenied GatewayResponseType = "ACCESS_DENIED" 237 GatewayResponseTypeAuthorizerFailure GatewayResponseType = "AUTHORIZER_FAILURE" 238 GatewayResponseTypeAuthorizerConfigurationError GatewayResponseType = "AUTHORIZER_CONFIGURATION_ERROR" 239 GatewayResponseTypeInvalidSignature GatewayResponseType = "INVALID_SIGNATURE" 240 GatewayResponseTypeExpiredToken GatewayResponseType = "EXPIRED_TOKEN" 241 GatewayResponseTypeMissingAuthenticationToken GatewayResponseType = "MISSING_AUTHENTICATION_TOKEN" 242 GatewayResponseTypeIntegrationFailure GatewayResponseType = "INTEGRATION_FAILURE" 243 GatewayResponseTypeIntegrationTimeout GatewayResponseType = "INTEGRATION_TIMEOUT" 244 GatewayResponseTypeApiConfigurationError GatewayResponseType = "API_CONFIGURATION_ERROR" 245 GatewayResponseTypeUnsupportedMediaType GatewayResponseType = "UNSUPPORTED_MEDIA_TYPE" 246 GatewayResponseTypeBadRequestParameters GatewayResponseType = "BAD_REQUEST_PARAMETERS" 247 GatewayResponseTypeBadRequestBody GatewayResponseType = "BAD_REQUEST_BODY" 248 GatewayResponseTypeRequestTooLarge GatewayResponseType = "REQUEST_TOO_LARGE" 249 GatewayResponseTypeThrottled GatewayResponseType = "THROTTLED" 250 GatewayResponseTypeQuotaExceeded GatewayResponseType = "QUOTA_EXCEEDED" 251) 252 253// Values returns all known values for GatewayResponseType. Note that this can be 254// expanded in the future, and so it is only as up to date as the client. The 255// ordering of this slice is not guaranteed to be stable across updates. 256func (GatewayResponseType) Values() []GatewayResponseType { 257 return []GatewayResponseType{ 258 "DEFAULT_4XX", 259 "DEFAULT_5XX", 260 "RESOURCE_NOT_FOUND", 261 "UNAUTHORIZED", 262 "INVALID_API_KEY", 263 "ACCESS_DENIED", 264 "AUTHORIZER_FAILURE", 265 "AUTHORIZER_CONFIGURATION_ERROR", 266 "INVALID_SIGNATURE", 267 "EXPIRED_TOKEN", 268 "MISSING_AUTHENTICATION_TOKEN", 269 "INTEGRATION_FAILURE", 270 "INTEGRATION_TIMEOUT", 271 "API_CONFIGURATION_ERROR", 272 "UNSUPPORTED_MEDIA_TYPE", 273 "BAD_REQUEST_PARAMETERS", 274 "BAD_REQUEST_BODY", 275 "REQUEST_TOO_LARGE", 276 "THROTTLED", 277 "QUOTA_EXCEEDED", 278 } 279} 280 281type IntegrationType string 282 283// Enum values for IntegrationType 284const ( 285 IntegrationTypeHttp IntegrationType = "HTTP" 286 IntegrationTypeAws IntegrationType = "AWS" 287 IntegrationTypeMock IntegrationType = "MOCK" 288 IntegrationTypeHttpProxy IntegrationType = "HTTP_PROXY" 289 IntegrationTypeAwsProxy IntegrationType = "AWS_PROXY" 290) 291 292// Values returns all known values for IntegrationType. Note that this can be 293// expanded in the future, and so it is only as up to date as the client. The 294// ordering of this slice is not guaranteed to be stable across updates. 295func (IntegrationType) Values() []IntegrationType { 296 return []IntegrationType{ 297 "HTTP", 298 "AWS", 299 "MOCK", 300 "HTTP_PROXY", 301 "AWS_PROXY", 302 } 303} 304 305type LocationStatusType string 306 307// Enum values for LocationStatusType 308const ( 309 LocationStatusTypeDocumented LocationStatusType = "DOCUMENTED" 310 LocationStatusTypeUndocumented LocationStatusType = "UNDOCUMENTED" 311) 312 313// Values returns all known values for LocationStatusType. Note that this can be 314// expanded in the future, and so it is only as up to date as the client. The 315// ordering of this slice is not guaranteed to be stable across updates. 316func (LocationStatusType) Values() []LocationStatusType { 317 return []LocationStatusType{ 318 "DOCUMENTED", 319 "UNDOCUMENTED", 320 } 321} 322 323type Op string 324 325// Enum values for Op 326const ( 327 OpAdd Op = "add" 328 OpRemove Op = "remove" 329 OpReplace Op = "replace" 330 OpMove Op = "move" 331 OpCopy Op = "copy" 332 OpTest Op = "test" 333) 334 335// Values returns all known values for Op. Note that this can be expanded in the 336// future, and so it is only as up to date as the client. The ordering of this 337// slice is not guaranteed to be stable across updates. 338func (Op) Values() []Op { 339 return []Op{ 340 "add", 341 "remove", 342 "replace", 343 "move", 344 "copy", 345 "test", 346 } 347} 348 349type PutMode string 350 351// Enum values for PutMode 352const ( 353 PutModeMerge PutMode = "merge" 354 PutModeOverwrite PutMode = "overwrite" 355) 356 357// Values returns all known values for PutMode. Note that this can be expanded in 358// the future, and so it is only as up to date as the client. The ordering of this 359// slice is not guaranteed to be stable across updates. 360func (PutMode) Values() []PutMode { 361 return []PutMode{ 362 "merge", 363 "overwrite", 364 } 365} 366 367type QuotaPeriodType string 368 369// Enum values for QuotaPeriodType 370const ( 371 QuotaPeriodTypeDay QuotaPeriodType = "DAY" 372 QuotaPeriodTypeWeek QuotaPeriodType = "WEEK" 373 QuotaPeriodTypeMonth QuotaPeriodType = "MONTH" 374) 375 376// Values returns all known values for QuotaPeriodType. Note that this can be 377// expanded in the future, and so it is only as up to date as the client. The 378// ordering of this slice is not guaranteed to be stable across updates. 379func (QuotaPeriodType) Values() []QuotaPeriodType { 380 return []QuotaPeriodType{ 381 "DAY", 382 "WEEK", 383 "MONTH", 384 } 385} 386 387type SecurityPolicy string 388 389// Enum values for SecurityPolicy 390const ( 391 SecurityPolicyTls10 SecurityPolicy = "TLS_1_0" 392 SecurityPolicyTls12 SecurityPolicy = "TLS_1_2" 393) 394 395// Values returns all known values for SecurityPolicy. Note that this can be 396// expanded in the future, and so it is only as up to date as the client. The 397// ordering of this slice is not guaranteed to be stable across updates. 398func (SecurityPolicy) Values() []SecurityPolicy { 399 return []SecurityPolicy{ 400 "TLS_1_0", 401 "TLS_1_2", 402 } 403} 404 405type UnauthorizedCacheControlHeaderStrategy string 406 407// Enum values for UnauthorizedCacheControlHeaderStrategy 408const ( 409 UnauthorizedCacheControlHeaderStrategyFailWith403 UnauthorizedCacheControlHeaderStrategy = "FAIL_WITH_403" 410 UnauthorizedCacheControlHeaderStrategySucceedWithResponseHeader UnauthorizedCacheControlHeaderStrategy = "SUCCEED_WITH_RESPONSE_HEADER" 411 UnauthorizedCacheControlHeaderStrategySucceedWithoutResponseHeader UnauthorizedCacheControlHeaderStrategy = "SUCCEED_WITHOUT_RESPONSE_HEADER" 412) 413 414// Values returns all known values for UnauthorizedCacheControlHeaderStrategy. Note 415// that this can be expanded in the future, and so it is only as up to date as the 416// client. The ordering of this slice is not guaranteed to be stable across 417// updates. 418func (UnauthorizedCacheControlHeaderStrategy) Values() []UnauthorizedCacheControlHeaderStrategy { 419 return []UnauthorizedCacheControlHeaderStrategy{ 420 "FAIL_WITH_403", 421 "SUCCEED_WITH_RESPONSE_HEADER", 422 "SUCCEED_WITHOUT_RESPONSE_HEADER", 423 } 424} 425 426type VpcLinkStatus string 427 428// Enum values for VpcLinkStatus 429const ( 430 VpcLinkStatusAvailable VpcLinkStatus = "AVAILABLE" 431 VpcLinkStatusPending VpcLinkStatus = "PENDING" 432 VpcLinkStatusDeleting VpcLinkStatus = "DELETING" 433 VpcLinkStatusFailed VpcLinkStatus = "FAILED" 434) 435 436// Values returns all known values for VpcLinkStatus. Note that this can be 437// expanded in the future, and so it is only as up to date as the client. The 438// ordering of this slice is not guaranteed to be stable across updates. 439func (VpcLinkStatus) Values() []VpcLinkStatus { 440 return []VpcLinkStatus{ 441 "AVAILABLE", 442 "PENDING", 443 "DELETING", 444 "FAILED", 445 } 446} 447