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
- message
-
- Type: string
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
- message
-
- Type: string
CredentialReportNotPresentException
[ 'message' => '<string>', ]
Description
The request was rejected because the credential report does not exist. To generate a credential report, use GenerateCredentialReport.
Members
- message
-
- Type: string
CredentialReportNotReadyException
[ 'message' => '<string>', ]
Description
The request was rejected because the credential report is still being generated.
Members
- message
-
- Type: string
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
- message
-
- Type: string
DuplicateCertificateException
[ 'message' => '<string>', ]
Description
The request was rejected because the same certificate is associated with an IAM user in the account.
Members
- message
-
- Type: string
DuplicateSSHPublicKeyException
[ 'message' => '<string>', ]
Description
The request was rejected because the SSH public key is already associated with the specified IAM user.
Members
- message
-
- Type: string
EntityAlreadyExistsException
[ 'message' => '<string>', ]
Description
The request was rejected because it attempted to create a resource that already exists.
Members
- message
-
- Type: string
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
- message
-
- Type: string
InvalidAuthenticationCodeException
[ 'message' => '<string>', ]
Description
The request was rejected because the authentication code was not recognized. The error message describes the specific error.
Members
- message
-
- Type: string
InvalidCertificateException
[ 'message' => '<string>', ]
Description
The request was rejected because the certificate is invalid.
Members
- message
-
- Type: string
InvalidInputException
[ 'message' => '<string>', ]
Description
The request was rejected because an invalid or out-of-range value was supplied for an input parameter.
Members
- message
-
- Type: string
InvalidPublicKeyException
[ 'message' => '<string>', ]
Description
The request was rejected because the public key is malformed or otherwise invalid.
Members
- message
-
- Type: string
InvalidUserTypeException
[ 'message' => '<string>', ]
Description
The request was rejected because the type of user for the transaction was incorrect.
Members
- message
-
- Type: string
KeyPairMismatchException
[ 'message' => '<string>', ]
Description
The request was rejected because the public key certificate and the private key do not match.
Members
- message
-
- Type: string
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
- message
-
- Type: string
MalformedCertificateException
[ 'message' => '<string>', ]
Description
The request was rejected because the certificate was malformed or expired. The error message describes the specific error.
Members
- message
-
- Type: string
MalformedPolicyDocumentException
[ 'message' => '<string>', ]
Description
The request was rejected because the policy document was malformed. The error message describes the specific error.
Members
- message
-
- Type: string
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
- message
-
- Type: string
PasswordPolicyViolationException
[ 'message' => '<string>', ]
Description
The request was rejected because the provided password did not meet the requirements imposed by the account password policy.
Members
- message
-
- Type: string
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
- message
-
- Type: string
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
- message
-
- Type: string
ReportGenerationLimitExceededException
[ 'message' => '<string>', ]
Description
The request failed because the maximum number of concurrent requests for this account are already running.
Members
- message
-
- Type: string
ServiceFailureException
[ 'message' => '<string>', ]
Description
The request processing has failed because of an unknown error, exception or failure.
Members
- message
-
- Type: string
ServiceNotSupportedException
[ 'message' => '<string>', ]
Description
The specified service does not support service-specific credentials.
Members
- message
-
- Type: string
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
- message
-
- Type: string
UnrecognizedPublicKeyEncodingException
[ 'message' => '<string>', ]
Description
The request was rejected because the public key encoding format is unsupported or unrecognized.
Members
- message
-
- Type: string