github.com/aavshr/aws-sdk-go@v1.41.3/service/codestar/errors.go (about) 1 // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. 2 3 package codestar 4 5 import ( 6 "github.com/aavshr/aws-sdk-go/private/protocol" 7 ) 8 9 const ( 10 11 // ErrCodeConcurrentModificationException for service response error code 12 // "ConcurrentModificationException". 13 // 14 // Another modification is being made. That modification must complete before 15 // you can make your change. 16 ErrCodeConcurrentModificationException = "ConcurrentModificationException" 17 18 // ErrCodeInvalidNextTokenException for service response error code 19 // "InvalidNextTokenException". 20 // 21 // The next token is not valid. 22 ErrCodeInvalidNextTokenException = "InvalidNextTokenException" 23 24 // ErrCodeInvalidServiceRoleException for service response error code 25 // "InvalidServiceRoleException". 26 // 27 // The service role is not valid. 28 ErrCodeInvalidServiceRoleException = "InvalidServiceRoleException" 29 30 // ErrCodeLimitExceededException for service response error code 31 // "LimitExceededException". 32 // 33 // A resource limit has been exceeded. 34 ErrCodeLimitExceededException = "LimitExceededException" 35 36 // ErrCodeProjectAlreadyExistsException for service response error code 37 // "ProjectAlreadyExistsException". 38 // 39 // An AWS CodeStar project with the same ID already exists in this region for 40 // the AWS account. AWS CodeStar project IDs must be unique within a region 41 // for the AWS account. 42 ErrCodeProjectAlreadyExistsException = "ProjectAlreadyExistsException" 43 44 // ErrCodeProjectConfigurationException for service response error code 45 // "ProjectConfigurationException". 46 // 47 // Project configuration information is required but not specified. 48 ErrCodeProjectConfigurationException = "ProjectConfigurationException" 49 50 // ErrCodeProjectCreationFailedException for service response error code 51 // "ProjectCreationFailedException". 52 // 53 // The project creation request was valid, but a nonspecific exception or error 54 // occurred during project creation. The project could not be created in AWS 55 // CodeStar. 56 ErrCodeProjectCreationFailedException = "ProjectCreationFailedException" 57 58 // ErrCodeProjectNotFoundException for service response error code 59 // "ProjectNotFoundException". 60 // 61 // The specified AWS CodeStar project was not found. 62 ErrCodeProjectNotFoundException = "ProjectNotFoundException" 63 64 // ErrCodeTeamMemberAlreadyAssociatedException for service response error code 65 // "TeamMemberAlreadyAssociatedException". 66 // 67 // The team member is already associated with a role in this project. 68 ErrCodeTeamMemberAlreadyAssociatedException = "TeamMemberAlreadyAssociatedException" 69 70 // ErrCodeTeamMemberNotFoundException for service response error code 71 // "TeamMemberNotFoundException". 72 // 73 // The specified team member was not found. 74 ErrCodeTeamMemberNotFoundException = "TeamMemberNotFoundException" 75 76 // ErrCodeUserProfileAlreadyExistsException for service response error code 77 // "UserProfileAlreadyExistsException". 78 // 79 // A user profile with that name already exists in this region for the AWS account. 80 // AWS CodeStar user profile names must be unique within a region for the AWS 81 // account. 82 ErrCodeUserProfileAlreadyExistsException = "UserProfileAlreadyExistsException" 83 84 // ErrCodeUserProfileNotFoundException for service response error code 85 // "UserProfileNotFoundException". 86 // 87 // The user profile was not found. 88 ErrCodeUserProfileNotFoundException = "UserProfileNotFoundException" 89 90 // ErrCodeValidationException for service response error code 91 // "ValidationException". 92 // 93 // The specified input is either not valid, or it could not be validated. 94 ErrCodeValidationException = "ValidationException" 95 ) 96 97 var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ 98 "ConcurrentModificationException": newErrorConcurrentModificationException, 99 "InvalidNextTokenException": newErrorInvalidNextTokenException, 100 "InvalidServiceRoleException": newErrorInvalidServiceRoleException, 101 "LimitExceededException": newErrorLimitExceededException, 102 "ProjectAlreadyExistsException": newErrorProjectAlreadyExistsException, 103 "ProjectConfigurationException": newErrorProjectConfigurationException, 104 "ProjectCreationFailedException": newErrorProjectCreationFailedException, 105 "ProjectNotFoundException": newErrorProjectNotFoundException, 106 "TeamMemberAlreadyAssociatedException": newErrorTeamMemberAlreadyAssociatedException, 107 "TeamMemberNotFoundException": newErrorTeamMemberNotFoundException, 108 "UserProfileAlreadyExistsException": newErrorUserProfileAlreadyExistsException, 109 "UserProfileNotFoundException": newErrorUserProfileNotFoundException, 110 "ValidationException": newErrorValidationException, 111 }