github.com/aavshr/aws-sdk-go@v1.41.3/service/iam/errors.go (about)

     1  // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
     2  
     3  package iam
     4  
     5  const (
     6  
     7  	// ErrCodeConcurrentModificationException for service response error code
     8  	// "ConcurrentModification".
     9  	//
    10  	// The request was rejected because multiple requests to change this object
    11  	// were submitted simultaneously. Wait a few minutes and submit your request
    12  	// again.
    13  	ErrCodeConcurrentModificationException = "ConcurrentModification"
    14  
    15  	// ErrCodeCredentialReportExpiredException for service response error code
    16  	// "ReportExpired".
    17  	//
    18  	// The request was rejected because the most recent credential report has expired.
    19  	// To generate a new credential report, use GenerateCredentialReport. For more
    20  	// information about credential report expiration, see Getting credential reports
    21  	// (https://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html)
    22  	// in the IAM User Guide.
    23  	ErrCodeCredentialReportExpiredException = "ReportExpired"
    24  
    25  	// ErrCodeCredentialReportNotPresentException for service response error code
    26  	// "ReportNotPresent".
    27  	//
    28  	// The request was rejected because the credential report does not exist. To
    29  	// generate a credential report, use GenerateCredentialReport.
    30  	ErrCodeCredentialReportNotPresentException = "ReportNotPresent"
    31  
    32  	// ErrCodeCredentialReportNotReadyException for service response error code
    33  	// "ReportInProgress".
    34  	//
    35  	// The request was rejected because the credential report is still being generated.
    36  	ErrCodeCredentialReportNotReadyException = "ReportInProgress"
    37  
    38  	// ErrCodeDeleteConflictException for service response error code
    39  	// "DeleteConflict".
    40  	//
    41  	// The request was rejected because it attempted to delete a resource that has
    42  	// attached subordinate entities. The error message describes these entities.
    43  	ErrCodeDeleteConflictException = "DeleteConflict"
    44  
    45  	// ErrCodeDuplicateCertificateException for service response error code
    46  	// "DuplicateCertificate".
    47  	//
    48  	// The request was rejected because the same certificate is associated with
    49  	// an IAM user in the account.
    50  	ErrCodeDuplicateCertificateException = "DuplicateCertificate"
    51  
    52  	// ErrCodeDuplicateSSHPublicKeyException for service response error code
    53  	// "DuplicateSSHPublicKey".
    54  	//
    55  	// The request was rejected because the SSH public key is already associated
    56  	// with the specified IAM user.
    57  	ErrCodeDuplicateSSHPublicKeyException = "DuplicateSSHPublicKey"
    58  
    59  	// ErrCodeEntityAlreadyExistsException for service response error code
    60  	// "EntityAlreadyExists".
    61  	//
    62  	// The request was rejected because it attempted to create a resource that already
    63  	// exists.
    64  	ErrCodeEntityAlreadyExistsException = "EntityAlreadyExists"
    65  
    66  	// ErrCodeEntityTemporarilyUnmodifiableException for service response error code
    67  	// "EntityTemporarilyUnmodifiable".
    68  	//
    69  	// The request was rejected because it referenced an entity that is temporarily
    70  	// unmodifiable, such as a user name that was deleted and then recreated. The
    71  	// error indicates that the request is likely to succeed if you try again after
    72  	// waiting several minutes. The error message describes the entity.
    73  	ErrCodeEntityTemporarilyUnmodifiableException = "EntityTemporarilyUnmodifiable"
    74  
    75  	// ErrCodeInvalidAuthenticationCodeException for service response error code
    76  	// "InvalidAuthenticationCode".
    77  	//
    78  	// The request was rejected because the authentication code was not recognized.
    79  	// The error message describes the specific error.
    80  	ErrCodeInvalidAuthenticationCodeException = "InvalidAuthenticationCode"
    81  
    82  	// ErrCodeInvalidCertificateException for service response error code
    83  	// "InvalidCertificate".
    84  	//
    85  	// The request was rejected because the certificate is invalid.
    86  	ErrCodeInvalidCertificateException = "InvalidCertificate"
    87  
    88  	// ErrCodeInvalidInputException for service response error code
    89  	// "InvalidInput".
    90  	//
    91  	// The request was rejected because an invalid or out-of-range value was supplied
    92  	// for an input parameter.
    93  	ErrCodeInvalidInputException = "InvalidInput"
    94  
    95  	// ErrCodeInvalidPublicKeyException for service response error code
    96  	// "InvalidPublicKey".
    97  	//
    98  	// The request was rejected because the public key is malformed or otherwise
    99  	// invalid.
   100  	ErrCodeInvalidPublicKeyException = "InvalidPublicKey"
   101  
   102  	// ErrCodeInvalidUserTypeException for service response error code
   103  	// "InvalidUserType".
   104  	//
   105  	// The request was rejected because the type of user for the transaction was
   106  	// incorrect.
   107  	ErrCodeInvalidUserTypeException = "InvalidUserType"
   108  
   109  	// ErrCodeKeyPairMismatchException for service response error code
   110  	// "KeyPairMismatch".
   111  	//
   112  	// The request was rejected because the public key certificate and the private
   113  	// key do not match.
   114  	ErrCodeKeyPairMismatchException = "KeyPairMismatch"
   115  
   116  	// ErrCodeLimitExceededException for service response error code
   117  	// "LimitExceeded".
   118  	//
   119  	// The request was rejected because it attempted to create resources beyond
   120  	// the current Amazon Web Services account limits. The error message describes
   121  	// the limit exceeded.
   122  	ErrCodeLimitExceededException = "LimitExceeded"
   123  
   124  	// ErrCodeMalformedCertificateException for service response error code
   125  	// "MalformedCertificate".
   126  	//
   127  	// The request was rejected because the certificate was malformed or expired.
   128  	// The error message describes the specific error.
   129  	ErrCodeMalformedCertificateException = "MalformedCertificate"
   130  
   131  	// ErrCodeMalformedPolicyDocumentException for service response error code
   132  	// "MalformedPolicyDocument".
   133  	//
   134  	// The request was rejected because the policy document was malformed. The error
   135  	// message describes the specific error.
   136  	ErrCodeMalformedPolicyDocumentException = "MalformedPolicyDocument"
   137  
   138  	// ErrCodeNoSuchEntityException for service response error code
   139  	// "NoSuchEntity".
   140  	//
   141  	// The request was rejected because it referenced a resource entity that does
   142  	// not exist. The error message describes the resource.
   143  	ErrCodeNoSuchEntityException = "NoSuchEntity"
   144  
   145  	// ErrCodePasswordPolicyViolationException for service response error code
   146  	// "PasswordPolicyViolation".
   147  	//
   148  	// The request was rejected because the provided password did not meet the requirements
   149  	// imposed by the account password policy.
   150  	ErrCodePasswordPolicyViolationException = "PasswordPolicyViolation"
   151  
   152  	// ErrCodePolicyEvaluationException for service response error code
   153  	// "PolicyEvaluation".
   154  	//
   155  	// The request failed because a provided policy could not be successfully evaluated.
   156  	// An additional detailed message indicates the source of the failure.
   157  	ErrCodePolicyEvaluationException = "PolicyEvaluation"
   158  
   159  	// ErrCodePolicyNotAttachableException for service response error code
   160  	// "PolicyNotAttachable".
   161  	//
   162  	// The request failed because Amazon Web Services service role policies can
   163  	// only be attached to the service-linked role for that service.
   164  	ErrCodePolicyNotAttachableException = "PolicyNotAttachable"
   165  
   166  	// ErrCodeReportGenerationLimitExceededException for service response error code
   167  	// "ReportGenerationLimitExceeded".
   168  	//
   169  	// The request failed because the maximum number of concurrent requests for
   170  	// this account are already running.
   171  	ErrCodeReportGenerationLimitExceededException = "ReportGenerationLimitExceeded"
   172  
   173  	// ErrCodeServiceFailureException for service response error code
   174  	// "ServiceFailure".
   175  	//
   176  	// The request processing has failed because of an unknown error, exception
   177  	// or failure.
   178  	ErrCodeServiceFailureException = "ServiceFailure"
   179  
   180  	// ErrCodeServiceNotSupportedException for service response error code
   181  	// "NotSupportedService".
   182  	//
   183  	// The specified service does not support service-specific credentials.
   184  	ErrCodeServiceNotSupportedException = "NotSupportedService"
   185  
   186  	// ErrCodeUnmodifiableEntityException for service response error code
   187  	// "UnmodifiableEntity".
   188  	//
   189  	// The request was rejected because only the service that depends on the service-linked
   190  	// role can modify or delete the role on your behalf. The error message includes
   191  	// the name of the service that depends on this service-linked role. You must
   192  	// request the change through that service.
   193  	ErrCodeUnmodifiableEntityException = "UnmodifiableEntity"
   194  
   195  	// ErrCodeUnrecognizedPublicKeyEncodingException for service response error code
   196  	// "UnrecognizedPublicKeyEncoding".
   197  	//
   198  	// The request was rejected because the public key encoding format is unsupported
   199  	// or unrecognized.
   200  	ErrCodeUnrecognizedPublicKeyEncodingException = "UnrecognizedPublicKeyEncoding"
   201  )