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
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type ApiGatewayEndpointType string
// Enum values for ApiGatewayEndpointType
const (
ApiGatewayEndpointTypeRegional ApiGatewayEndpointType = "REGIONAL"
ApiGatewayEndpointTypePrivate ApiGatewayEndpointType = "PRIVATE"
)
// Values returns all known values for ApiGatewayEndpointType. 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 (ApiGatewayEndpointType) Values() []ApiGatewayEndpointType {
return []ApiGatewayEndpointType{
"REGIONAL",
"PRIVATE",
}
}
type ApplicationState string
// Enum values for ApplicationState
const (
ApplicationStateCreating ApplicationState = "CREATING"
ApplicationStateActive ApplicationState = "ACTIVE"
ApplicationStateDeleting ApplicationState = "DELETING"
ApplicationStateFailed ApplicationState = "FAILED"
ApplicationStateUpdating ApplicationState = "UPDATING"
)
// Values returns all known values for ApplicationState. 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 (ApplicationState) Values() []ApplicationState {
return []ApplicationState{
"CREATING",
"ACTIVE",
"DELETING",
"FAILED",
"UPDATING",
}
}
type EnvironmentState string
// Enum values for EnvironmentState
const (
EnvironmentStateCreating EnvironmentState = "CREATING"
EnvironmentStateActive EnvironmentState = "ACTIVE"
EnvironmentStateDeleting EnvironmentState = "DELETING"
EnvironmentStateFailed EnvironmentState = "FAILED"
)
// Values returns all known values for EnvironmentState. 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 (EnvironmentState) Values() []EnvironmentState {
return []EnvironmentState{
"CREATING",
"ACTIVE",
"DELETING",
"FAILED",
}
}
type ErrorCode string
// Enum values for ErrorCode
const (
ErrorCodeInvalidResourceState ErrorCode = "INVALID_RESOURCE_STATE"
ErrorCodeResourceLimitExceeded ErrorCode = "RESOURCE_LIMIT_EXCEEDED"
ErrorCodeResourceCreationFailure ErrorCode = "RESOURCE_CREATION_FAILURE"
ErrorCodeResourceUpdateFailure ErrorCode = "RESOURCE_UPDATE_FAILURE"
ErrorCodeServiceEndpointHealthCheckFailure ErrorCode = "SERVICE_ENDPOINT_HEALTH_CHECK_FAILURE"
ErrorCodeResourceDeletionFailure ErrorCode = "RESOURCE_DELETION_FAILURE"
ErrorCodeResourceRetrievalFailure ErrorCode = "RESOURCE_RETRIEVAL_FAILURE"
ErrorCodeResourceInUse ErrorCode = "RESOURCE_IN_USE"
ErrorCodeResourceNotFound ErrorCode = "RESOURCE_NOT_FOUND"
ErrorCodeStateTransitionFailure ErrorCode = "STATE_TRANSITION_FAILURE"
ErrorCodeRequestLimitExceeded ErrorCode = "REQUEST_LIMIT_EXCEEDED"
ErrorCodeNotAuthorized ErrorCode = "NOT_AUTHORIZED"
)
// Values returns all known values for ErrorCode. 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 (ErrorCode) Values() []ErrorCode {
return []ErrorCode{
"INVALID_RESOURCE_STATE",
"RESOURCE_LIMIT_EXCEEDED",
"RESOURCE_CREATION_FAILURE",
"RESOURCE_UPDATE_FAILURE",
"SERVICE_ENDPOINT_HEALTH_CHECK_FAILURE",
"RESOURCE_DELETION_FAILURE",
"RESOURCE_RETRIEVAL_FAILURE",
"RESOURCE_IN_USE",
"RESOURCE_NOT_FOUND",
"STATE_TRANSITION_FAILURE",
"REQUEST_LIMIT_EXCEEDED",
"NOT_AUTHORIZED",
}
}
type ErrorResourceType string
// Enum values for ErrorResourceType
const (
ErrorResourceTypeEnvironment ErrorResourceType = "ENVIRONMENT"
ErrorResourceTypeApplication ErrorResourceType = "APPLICATION"
ErrorResourceTypeRoute ErrorResourceType = "ROUTE"
ErrorResourceTypeService ErrorResourceType = "SERVICE"
ErrorResourceTypeTransitGateway ErrorResourceType = "TRANSIT_GATEWAY"
ErrorResourceTypeTransitGatewayAttachment ErrorResourceType = "TRANSIT_GATEWAY_ATTACHMENT"
ErrorResourceTypeApiGateway ErrorResourceType = "API_GATEWAY"
ErrorResourceTypeNlb ErrorResourceType = "NLB"
ErrorResourceTypeTargetGroup ErrorResourceType = "TARGET_GROUP"
ErrorResourceTypeLoadBalancerListener ErrorResourceType = "LOAD_BALANCER_LISTENER"
ErrorResourceTypeVpcLink ErrorResourceType = "VPC_LINK"
ErrorResourceTypeLambda ErrorResourceType = "LAMBDA"
ErrorResourceTypeVpc ErrorResourceType = "VPC"
ErrorResourceTypeSubnet ErrorResourceType = "SUBNET"
ErrorResourceTypeRouteTable ErrorResourceType = "ROUTE_TABLE"
ErrorResourceTypeSecurityGroup ErrorResourceType = "SECURITY_GROUP"
ErrorResourceTypeVpcEndpointServiceConfiguration ErrorResourceType = "VPC_ENDPOINT_SERVICE_CONFIGURATION"
ErrorResourceTypeResourceShare ErrorResourceType = "RESOURCE_SHARE"
ErrorResourceTypeIamRole ErrorResourceType = "IAM_ROLE"
)
// Values returns all known values for ErrorResourceType. 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 (ErrorResourceType) Values() []ErrorResourceType {
return []ErrorResourceType{
"ENVIRONMENT",
"APPLICATION",
"ROUTE",
"SERVICE",
"TRANSIT_GATEWAY",
"TRANSIT_GATEWAY_ATTACHMENT",
"API_GATEWAY",
"NLB",
"TARGET_GROUP",
"LOAD_BALANCER_LISTENER",
"VPC_LINK",
"LAMBDA",
"VPC",
"SUBNET",
"ROUTE_TABLE",
"SECURITY_GROUP",
"VPC_ENDPOINT_SERVICE_CONFIGURATION",
"RESOURCE_SHARE",
"IAM_ROLE",
}
}
type HttpMethod string
// Enum values for HttpMethod
const (
HttpMethodDelete HttpMethod = "DELETE"
HttpMethodGet HttpMethod = "GET"
HttpMethodHead HttpMethod = "HEAD"
HttpMethodOptions HttpMethod = "OPTIONS"
HttpMethodPatch HttpMethod = "PATCH"
HttpMethodPost HttpMethod = "POST"
HttpMethodPut HttpMethod = "PUT"
)
// Values returns all known values for HttpMethod. 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 (HttpMethod) Values() []HttpMethod {
return []HttpMethod{
"DELETE",
"GET",
"HEAD",
"OPTIONS",
"PATCH",
"POST",
"PUT",
}
}
type NetworkFabricType string
// Enum values for NetworkFabricType
const (
NetworkFabricTypeTransitGateway NetworkFabricType = "TRANSIT_GATEWAY"
NetworkFabricTypeNone NetworkFabricType = "NONE"
)
// Values returns all known values for NetworkFabricType. 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 (NetworkFabricType) Values() []NetworkFabricType {
return []NetworkFabricType{
"TRANSIT_GATEWAY",
"NONE",
}
}
type ProxyType string
// Enum values for ProxyType
const (
ProxyTypeApiGateway ProxyType = "API_GATEWAY"
)
// Values returns all known values for ProxyType. 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 (ProxyType) Values() []ProxyType {
return []ProxyType{
"API_GATEWAY",
}
}
type RouteActivationState string
// Enum values for RouteActivationState
const (
RouteActivationStateActive RouteActivationState = "ACTIVE"
RouteActivationStateInactive RouteActivationState = "INACTIVE"
)
// Values returns all known values for RouteActivationState. 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 (RouteActivationState) Values() []RouteActivationState {
return []RouteActivationState{
"ACTIVE",
"INACTIVE",
}
}
type RouteState string
// Enum values for RouteState
const (
RouteStateCreating RouteState = "CREATING"
RouteStateActive RouteState = "ACTIVE"
RouteStateDeleting RouteState = "DELETING"
RouteStateFailed RouteState = "FAILED"
RouteStateUpdating RouteState = "UPDATING"
RouteStateInactive RouteState = "INACTIVE"
)
// Values returns all known values for RouteState. 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 (RouteState) Values() []RouteState {
return []RouteState{
"CREATING",
"ACTIVE",
"DELETING",
"FAILED",
"UPDATING",
"INACTIVE",
}
}
type RouteType string
// Enum values for RouteType
const (
RouteTypeDefault RouteType = "DEFAULT"
RouteTypeUriPath RouteType = "URI_PATH"
)
// Values returns all known values for RouteType. 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 (RouteType) Values() []RouteType {
return []RouteType{
"DEFAULT",
"URI_PATH",
}
}
type ServiceEndpointType string
// Enum values for ServiceEndpointType
const (
ServiceEndpointTypeLambda ServiceEndpointType = "LAMBDA"
ServiceEndpointTypeUrl ServiceEndpointType = "URL"
)
// Values returns all known values for ServiceEndpointType. 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 (ServiceEndpointType) Values() []ServiceEndpointType {
return []ServiceEndpointType{
"LAMBDA",
"URL",
}
}
type ServiceState string
// Enum values for ServiceState
const (
ServiceStateCreating ServiceState = "CREATING"
ServiceStateActive ServiceState = "ACTIVE"
ServiceStateDeleting ServiceState = "DELETING"
ServiceStateFailed ServiceState = "FAILED"
)
// Values returns all known values for ServiceState. 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 (ServiceState) Values() []ServiceState {
return []ServiceState{
"CREATING",
"ACTIVE",
"DELETING",
"FAILED",
}
}
|