1// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. 2 3package appstream 4 5import ( 6 "github.com/aws/aws-sdk-go/private/protocol" 7) 8 9const ( 10 11 // ErrCodeConcurrentModificationException for service response error code 12 // "ConcurrentModificationException". 13 // 14 // An API error occurred. Wait a few minutes and try again. 15 ErrCodeConcurrentModificationException = "ConcurrentModificationException" 16 17 // ErrCodeIncompatibleImageException for service response error code 18 // "IncompatibleImageException". 19 // 20 // The image does not support storage connectors. 21 ErrCodeIncompatibleImageException = "IncompatibleImageException" 22 23 // ErrCodeInvalidAccountStatusException for service response error code 24 // "InvalidAccountStatusException". 25 // 26 // The resource cannot be created because your AWS account is suspended. For 27 // assistance, contact AWS Support. 28 ErrCodeInvalidAccountStatusException = "InvalidAccountStatusException" 29 30 // ErrCodeInvalidParameterCombinationException for service response error code 31 // "InvalidParameterCombinationException". 32 // 33 // Indicates an incorrect combination of parameters, or a missing parameter. 34 ErrCodeInvalidParameterCombinationException = "InvalidParameterCombinationException" 35 36 // ErrCodeInvalidRoleException for service response error code 37 // "InvalidRoleException". 38 // 39 // The specified role is invalid. 40 ErrCodeInvalidRoleException = "InvalidRoleException" 41 42 // ErrCodeLimitExceededException for service response error code 43 // "LimitExceededException". 44 // 45 // The requested limit exceeds the permitted limit for an account. 46 ErrCodeLimitExceededException = "LimitExceededException" 47 48 // ErrCodeOperationNotPermittedException for service response error code 49 // "OperationNotPermittedException". 50 // 51 // The attempted operation is not permitted. 52 ErrCodeOperationNotPermittedException = "OperationNotPermittedException" 53 54 // ErrCodeResourceAlreadyExistsException for service response error code 55 // "ResourceAlreadyExistsException". 56 // 57 // The specified resource already exists. 58 ErrCodeResourceAlreadyExistsException = "ResourceAlreadyExistsException" 59 60 // ErrCodeResourceInUseException for service response error code 61 // "ResourceInUseException". 62 // 63 // The specified resource is in use. 64 ErrCodeResourceInUseException = "ResourceInUseException" 65 66 // ErrCodeResourceNotAvailableException for service response error code 67 // "ResourceNotAvailableException". 68 // 69 // The specified resource exists and is not in use, but isn't available. 70 ErrCodeResourceNotAvailableException = "ResourceNotAvailableException" 71 72 // ErrCodeResourceNotFoundException for service response error code 73 // "ResourceNotFoundException". 74 // 75 // The specified resource was not found. 76 ErrCodeResourceNotFoundException = "ResourceNotFoundException" 77) 78 79var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ 80 "ConcurrentModificationException": newErrorConcurrentModificationException, 81 "IncompatibleImageException": newErrorIncompatibleImageException, 82 "InvalidAccountStatusException": newErrorInvalidAccountStatusException, 83 "InvalidParameterCombinationException": newErrorInvalidParameterCombinationException, 84 "InvalidRoleException": newErrorInvalidRoleException, 85 "LimitExceededException": newErrorLimitExceededException, 86 "OperationNotPermittedException": newErrorOperationNotPermittedException, 87 "ResourceAlreadyExistsException": newErrorResourceAlreadyExistsException, 88 "ResourceInUseException": newErrorResourceInUseException, 89 "ResourceNotAvailableException": newErrorResourceNotAvailableException, 90 "ResourceNotFoundException": newErrorResourceNotFoundException, 91} 92