1// Code generated by smithy-go-codegen DO NOT EDIT. 2 3package types 4 5type AuthorizationType string 6 7// Enum values for AuthorizationType 8const ( 9 AuthorizationTypeNone AuthorizationType = "NONE" 10 AuthorizationTypeAwsIam AuthorizationType = "AWS_IAM" 11 AuthorizationTypeCustom AuthorizationType = "CUSTOM" 12 AuthorizationTypeJwt AuthorizationType = "JWT" 13) 14 15// Values returns all known values for AuthorizationType. Note that this can be 16// expanded in the future, and so it is only as up to date as the client. The 17// ordering of this slice is not guaranteed to be stable across updates. 18func (AuthorizationType) Values() []AuthorizationType { 19 return []AuthorizationType{ 20 "NONE", 21 "AWS_IAM", 22 "CUSTOM", 23 "JWT", 24 } 25} 26 27type AuthorizerType string 28 29// Enum values for AuthorizerType 30const ( 31 AuthorizerTypeRequest AuthorizerType = "REQUEST" 32 AuthorizerTypeJwt AuthorizerType = "JWT" 33) 34 35// Values returns all known values for AuthorizerType. Note that this can be 36// expanded in the future, and so it is only as up to date as the client. The 37// ordering of this slice is not guaranteed to be stable across updates. 38func (AuthorizerType) Values() []AuthorizerType { 39 return []AuthorizerType{ 40 "REQUEST", 41 "JWT", 42 } 43} 44 45type ConnectionType string 46 47// Enum values for ConnectionType 48const ( 49 ConnectionTypeInternet ConnectionType = "INTERNET" 50 ConnectionTypeVpcLink ConnectionType = "VPC_LINK" 51) 52 53// Values returns all known values for ConnectionType. Note that this can be 54// expanded in the future, and so it is only as up to date as the client. The 55// ordering of this slice is not guaranteed to be stable across updates. 56func (ConnectionType) Values() []ConnectionType { 57 return []ConnectionType{ 58 "INTERNET", 59 "VPC_LINK", 60 } 61} 62 63type ContentHandlingStrategy string 64 65// Enum values for ContentHandlingStrategy 66const ( 67 ContentHandlingStrategyConvertToBinary ContentHandlingStrategy = "CONVERT_TO_BINARY" 68 ContentHandlingStrategyConvertToText ContentHandlingStrategy = "CONVERT_TO_TEXT" 69) 70 71// Values returns all known values for ContentHandlingStrategy. Note that this can 72// be expanded in the future, and so it is only as up to date as the client. The 73// ordering of this slice is not guaranteed to be stable across updates. 74func (ContentHandlingStrategy) Values() []ContentHandlingStrategy { 75 return []ContentHandlingStrategy{ 76 "CONVERT_TO_BINARY", 77 "CONVERT_TO_TEXT", 78 } 79} 80 81type DeploymentStatus string 82 83// Enum values for DeploymentStatus 84const ( 85 DeploymentStatusPending DeploymentStatus = "PENDING" 86 DeploymentStatusFailed DeploymentStatus = "FAILED" 87 DeploymentStatusDeployed DeploymentStatus = "DEPLOYED" 88) 89 90// Values returns all known values for DeploymentStatus. Note that this can be 91// expanded in the future, and so it is only as up to date as the client. The 92// ordering of this slice is not guaranteed to be stable across updates. 93func (DeploymentStatus) Values() []DeploymentStatus { 94 return []DeploymentStatus{ 95 "PENDING", 96 "FAILED", 97 "DEPLOYED", 98 } 99} 100 101type DomainNameStatus string 102 103// Enum values for DomainNameStatus 104const ( 105 DomainNameStatusAvailable DomainNameStatus = "AVAILABLE" 106 DomainNameStatusUpdating DomainNameStatus = "UPDATING" 107) 108 109// Values returns all known values for DomainNameStatus. Note that this can be 110// expanded in the future, and so it is only as up to date as the client. The 111// ordering of this slice is not guaranteed to be stable across updates. 112func (DomainNameStatus) Values() []DomainNameStatus { 113 return []DomainNameStatus{ 114 "AVAILABLE", 115 "UPDATING", 116 } 117} 118 119type EndpointType string 120 121// Enum values for EndpointType 122const ( 123 EndpointTypeRegional EndpointType = "REGIONAL" 124 EndpointTypeEdge EndpointType = "EDGE" 125) 126 127// Values returns all known values for EndpointType. Note that this can be expanded 128// in the future, and so it is only as up to date as the client. The ordering of 129// this slice is not guaranteed to be stable across updates. 130func (EndpointType) Values() []EndpointType { 131 return []EndpointType{ 132 "REGIONAL", 133 "EDGE", 134 } 135} 136 137type IntegrationType string 138 139// Enum values for IntegrationType 140const ( 141 IntegrationTypeAws IntegrationType = "AWS" 142 IntegrationTypeHttp IntegrationType = "HTTP" 143 IntegrationTypeMock IntegrationType = "MOCK" 144 IntegrationTypeHttpProxy IntegrationType = "HTTP_PROXY" 145 IntegrationTypeAwsProxy IntegrationType = "AWS_PROXY" 146) 147 148// Values returns all known values for IntegrationType. Note that this can be 149// expanded in the future, and so it is only as up to date as the client. The 150// ordering of this slice is not guaranteed to be stable across updates. 151func (IntegrationType) Values() []IntegrationType { 152 return []IntegrationType{ 153 "AWS", 154 "HTTP", 155 "MOCK", 156 "HTTP_PROXY", 157 "AWS_PROXY", 158 } 159} 160 161type LoggingLevel string 162 163// Enum values for LoggingLevel 164const ( 165 LoggingLevelError LoggingLevel = "ERROR" 166 LoggingLevelInfo LoggingLevel = "INFO" 167 LoggingLevelOff LoggingLevel = "OFF" 168) 169 170// Values returns all known values for LoggingLevel. Note that this can be expanded 171// in the future, and so it is only as up to date as the client. The ordering of 172// this slice is not guaranteed to be stable across updates. 173func (LoggingLevel) Values() []LoggingLevel { 174 return []LoggingLevel{ 175 "ERROR", 176 "INFO", 177 "OFF", 178 } 179} 180 181type PassthroughBehavior string 182 183// Enum values for PassthroughBehavior 184const ( 185 PassthroughBehaviorWhenNoMatch PassthroughBehavior = "WHEN_NO_MATCH" 186 PassthroughBehaviorNever PassthroughBehavior = "NEVER" 187 PassthroughBehaviorWhenNoTemplates PassthroughBehavior = "WHEN_NO_TEMPLATES" 188) 189 190// Values returns all known values for PassthroughBehavior. Note that this can be 191// expanded in the future, and so it is only as up to date as the client. The 192// ordering of this slice is not guaranteed to be stable across updates. 193func (PassthroughBehavior) Values() []PassthroughBehavior { 194 return []PassthroughBehavior{ 195 "WHEN_NO_MATCH", 196 "NEVER", 197 "WHEN_NO_TEMPLATES", 198 } 199} 200 201type ProtocolType string 202 203// Enum values for ProtocolType 204const ( 205 ProtocolTypeWebsocket ProtocolType = "WEBSOCKET" 206 ProtocolTypeHttp ProtocolType = "HTTP" 207) 208 209// Values returns all known values for ProtocolType. Note that this can be expanded 210// in the future, and so it is only as up to date as the client. The ordering of 211// this slice is not guaranteed to be stable across updates. 212func (ProtocolType) Values() []ProtocolType { 213 return []ProtocolType{ 214 "WEBSOCKET", 215 "HTTP", 216 } 217} 218 219type SecurityPolicy string 220 221// Enum values for SecurityPolicy 222const ( 223 SecurityPolicyTls10 SecurityPolicy = "TLS_1_0" 224 SecurityPolicyTls12 SecurityPolicy = "TLS_1_2" 225) 226 227// Values returns all known values for SecurityPolicy. Note that this can be 228// expanded in the future, and so it is only as up to date as the client. The 229// ordering of this slice is not guaranteed to be stable across updates. 230func (SecurityPolicy) Values() []SecurityPolicy { 231 return []SecurityPolicy{ 232 "TLS_1_0", 233 "TLS_1_2", 234 } 235} 236 237type VpcLinkStatus string 238 239// Enum values for VpcLinkStatus 240const ( 241 VpcLinkStatusPending VpcLinkStatus = "PENDING" 242 VpcLinkStatusAvailable VpcLinkStatus = "AVAILABLE" 243 VpcLinkStatusDeleting VpcLinkStatus = "DELETING" 244 VpcLinkStatusFailed VpcLinkStatus = "FAILED" 245 VpcLinkStatusInactive VpcLinkStatus = "INACTIVE" 246) 247 248// Values returns all known values for VpcLinkStatus. Note that this can be 249// expanded in the future, and so it is only as up to date as the client. The 250// ordering of this slice is not guaranteed to be stable across updates. 251func (VpcLinkStatus) Values() []VpcLinkStatus { 252 return []VpcLinkStatus{ 253 "PENDING", 254 "AVAILABLE", 255 "DELETING", 256 "FAILED", 257 "INACTIVE", 258 } 259} 260 261type VpcLinkVersion string 262 263// Enum values for VpcLinkVersion 264const ( 265 VpcLinkVersionV2 VpcLinkVersion = "V2" 266) 267 268// Values returns all known values for VpcLinkVersion. Note that this can be 269// expanded in the future, and so it is only as up to date as the client. The 270// ordering of this slice is not guaranteed to be stable across updates. 271func (VpcLinkVersion) Values() []VpcLinkVersion { 272 return []VpcLinkVersion{ 273 "V2", 274 } 275} 276