Class IamException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\Iam\Exception\IamException
- Namespace: Aws\Iam\Exception
- Located at Iam/Exception/IamException.php
Represents an error interacting with the AWS Identity and Access Management service.
Methods Summary
Methods inherited from Aws\Exception\AwsException
__construct()
,
__toString()
,
get()
,
getAwsErrorCode()
,
getAwsErrorMessage()
,
getAwsErrorShape()
,
getAwsErrorType()
,
getAwsRequestId()
,
getCommand()
,
getRequest()
,
getResponse()
,
getResult()
,
getStatusCode()
,
getTransferInfo()
,
hasKey()
,
isConnectionError()
,
isMaxRetriesExceeded()
,
search()
,
setMaxRetriesExceeded()
,
setTransferInfo()
Methods inherited from Exception
__wakeup()
,
getCode()
,
getFile()
,
getLine()
,
getMessage()
,
getPrevious()
,
getTrace()
,
getTraceAsString()
Methods inherited from ArrayAccess
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
Methods inherited from Aws\MonitoringEventsInterface
Methods used from Aws\HasDataTrait
Methods used from Aws\HasMonitoringEventsTrait
Expected Exception Codes
ConcurrentModificationException
[ 'message' => '<string>', ]
Description
The request was rejected because multiple requests to change this object were submitted simultaneously. Wait a few minutes and submit your request again.
Members
CredentialReportExpiredException
[ 'message' => '<string>', ]
Description
The request was rejected because the most recent credential report has expired. To generate a new credential report, use GenerateCredentialReport. For more information about credential report expiration, see Getting credential reports in the IAM User Guide.
Members
CredentialReportNotPresentException
[ 'message' => '<string>', ]
Description
The request was rejected because the credential report does not exist. To generate a credential report, use GenerateCredentialReport.
Members
CredentialReportNotReadyException
[ 'message' => '<string>', ]
Description
The request was rejected because the credential report is still being generated.
Members
DeleteConflictException
[ 'message' => '<string>', ]
Description
The request was rejected because it attempted to delete a resource that has attached subordinate entities. The error message describes these entities.
Members
DuplicateCertificateException
[ 'message' => '<string>', ]
Description
The request was rejected because the same certificate is associated with an IAM user in the account.
Members
DuplicateSSHPublicKeyException
[ 'message' => '<string>', ]
Description
The request was rejected because the SSH public key is already associated with the specified IAM user.
Members
EntityAlreadyExistsException
[ 'message' => '<string>', ]
Description
The request was rejected because it attempted to create a resource that already exists.
Members
EntityTemporarilyUnmodifiableException
[ 'message' => '<string>', ]
Description
The request was rejected because it referenced an entity that is temporarily unmodifiable, such as a user name that was deleted and then recreated. The error indicates that the request is likely to succeed if you try again after waiting several minutes. The error message describes the entity.
Members
InvalidAuthenticationCodeException
[ 'message' => '<string>', ]
Description
The request was rejected because the authentication code was not recognized. The error message describes the specific error.
Members
InvalidCertificateException
[ 'message' => '<string>', ]
Description
The request was rejected because the certificate is invalid.
Members
InvalidInputException
[ 'message' => '<string>', ]
Description
The request was rejected because an invalid or out-of-range value was supplied for an input parameter.
Members
InvalidPublicKeyException
[ 'message' => '<string>', ]
Description
The request was rejected because the public key is malformed or otherwise invalid.
Members
InvalidUserTypeException
[ 'message' => '<string>', ]
Description
The request was rejected because the type of user for the transaction was incorrect.
Members
KeyPairMismatchException
[ 'message' => '<string>', ]
Description
The request was rejected because the public key certificate and the private key do not match.
Members
LimitExceededException
[ 'message' => '<string>', ]
Description
The request was rejected because it attempted to create resources beyond the current Amazon Web Services account limits. The error message describes the limit exceeded.
Members
MalformedCertificateException
[ 'message' => '<string>', ]
Description
The request was rejected because the certificate was malformed or expired. The error message describes the specific error.
Members
MalformedPolicyDocumentException
[ 'message' => '<string>', ]
Description
The request was rejected because the policy document was malformed. The error message describes the specific error.
Members
NoSuchEntityException
[ 'message' => '<string>', ]
Description
The request was rejected because it referenced a resource entity that does not exist. The error message describes the resource.
Members
PasswordPolicyViolationException
[ 'message' => '<string>', ]
Description
The request was rejected because the provided password did not meet the requirements imposed by the account password policy.
Members
PolicyEvaluationException
[ 'message' => '<string>', ]
Description
The request failed because a provided policy could not be successfully evaluated. An additional detailed message indicates the source of the failure.
Members
PolicyNotAttachableException
[ 'message' => '<string>', ]
Description
The request failed because Amazon Web Services service role policies can only be attached to the service-linked role for that service.
Members
ReportGenerationLimitExceededException
[ 'message' => '<string>', ]
Description
The request failed because the maximum number of concurrent requests for this account are already running.
Members
ServiceFailureException
[ 'message' => '<string>', ]
Description
The request processing has failed because of an unknown error, exception or failure.
Members
ServiceNotSupportedException
[ 'message' => '<string>', ]
Description
The specified service does not support service-specific credentials.
Members
UnmodifiableEntityException
[ 'message' => '<string>', ]
Description
The request was rejected because service-linked roles are protected Amazon Web Services resources. Only the service that depends on the service-linked role can modify or delete the role on your behalf. The error message includes the name of the service that depends on this service-linked role. You must request the change through that service.
Members
UnrecognizedPublicKeyEncodingException
[ 'message' => '<string>', ]