Class RAMException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\RAM\Exception\RAMException
- Namespace: Aws\RAM\Exception
- Located at RAM/Exception/RAMException.php
Represents an error interacting with the AWS Resource Access Manager 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
IdempotentParameterMismatchException
[ 'message' => '<string>', ]
Description
The operation failed because the client token input parameter matched one that was used with a previous call to the operation, but at least one of the other input parameters is different from the previous call.
Members
- message
-
- Required: Yes
- Type: string
InvalidClientTokenException
[ 'message' => '<string>', ]
Description
The operation failed because the specified client token isn't valid.
Members
- message
-
- Required: Yes
- Type: string
InvalidMaxResultsException
[ 'message' => '<string>', ]
Description
The operation failed because the specified value for MaxResults
isn't valid.
Members
- message
-
- Required: Yes
- Type: string
InvalidNextTokenException
[ 'message' => '<string>', ]
Description
The operation failed because the specified value for NextToken
isn't valid. You must specify a value you received in the NextToken
response of a previous call to this operation.
Members
- message
-
- Required: Yes
- Type: string
InvalidParameterException
[ 'message' => '<string>', ]
Description
The operation failed because a parameter you specified isn't valid.
Members
- message
-
- Required: Yes
- Type: string
InvalidPolicyException
[ 'message' => '<string>', ]
Description
The operation failed because a policy you specified isn't valid.
Members
- message
-
- Required: Yes
- Type: string
InvalidResourceTypeException
[ 'message' => '<string>', ]
Description
The operation failed because the specified resource type isn't valid.
Members
- message
-
- Required: Yes
- Type: string
InvalidStateTransitionException
[ 'message' => '<string>', ]
Description
The operation failed because the requested operation isn't valid for the resource share in its current state.
Members
- message
-
- Required: Yes
- Type: string
MalformedArnException
[ 'message' => '<string>', ]
Description
The operation failed because the specified Amazon Resource Name (ARN) has a format that isn't valid.
Members
- message
-
- Required: Yes
- Type: string
MalformedPolicyTemplateException
[ 'message' => '<string>', ]
Description
The operation failed because the policy template that you provided isn't valid.
Members
- message
-
- Required: Yes
- Type: string
MissingRequiredParameterException
[ 'message' => '<string>', ]
Description
The operation failed because a required input parameter is missing.
Members
- message
-
- Required: Yes
- Type: string
OperationNotPermittedException
[ 'message' => '<string>', ]
Description
The operation failed because the requested operation isn't permitted.
Members
- message
-
- Required: Yes
- Type: string
PermissionAlreadyExistsException
[ 'message' => '<string>', ]
Description
The operation failed because a permission with the specified name already exists in the requested Amazon Web Services Region. Choose a different name.
Members
- message
-
- Required: Yes
- Type: string
PermissionLimitExceededException
[ 'message' => '<string>', ]
Description
The operation failed because it would exceed the maximum number of permissions you can create in each Amazon Web Services Region. To view the limits for your Amazon Web Services account, see the RAM page in the Service Quotas console.
Members
- message
-
- Required: Yes
- Type: string
PermissionVersionsLimitExceededException
[ 'message' => '<string>', ]
Description
The operation failed because it would exceed the limit for the number of versions you can have for a permission. To view the limits for your Amazon Web Services account, see the RAM page in the Service Quotas console.
Members
- message
-
- Required: Yes
- Type: string
ResourceArnNotFoundException
[ 'message' => '<string>', ]
Description
The operation failed because the specified Amazon Resource Name (ARN) was not found.
Members
- message
-
- Required: Yes
- Type: string
ResourceShareInvitationAlreadyAcceptedException
[ 'message' => '<string>', ]
Description
The operation failed because the specified invitation was already accepted.
Members
- message
-
- Required: Yes
- Type: string
ResourceShareInvitationAlreadyRejectedException
[ 'message' => '<string>', ]
Description
The operation failed because the specified invitation was already rejected.
Members
- message
-
- Required: Yes
- Type: string
ResourceShareInvitationArnNotFoundException
[ 'message' => '<string>', ]
Description
The operation failed because the specified Amazon Resource Name (ARN) for an invitation was not found.
Members
- message
-
- Required: Yes
- Type: string
ResourceShareInvitationExpiredException
[ 'message' => '<string>', ]
Description
The operation failed because the specified invitation is past its expiration date and time.
Members
- message
-
- Required: Yes
- Type: string
ResourceShareLimitExceededException
[ 'message' => '<string>', ]
Description
The operation failed because it would exceed the limit for resource shares for your account. To view the limits for your Amazon Web Services account, see the RAM page in the Service Quotas console.
Members
- message
-
- Required: Yes
- Type: string
ServerInternalException
[ 'message' => '<string>', ]
Description
The operation failed because the service could not respond to the request due to an internal problem. Try again later.
Members
- message
-
- Required: Yes
- Type: string
ServiceUnavailableException
[ 'message' => '<string>', ]
Description
The operation failed because the service isn't available. Try again later.
Members
- message
-
- Required: Yes
- Type: string
TagLimitExceededException
[ 'message' => '<string>', ]
Description
The operation failed because it would exceed the limit for tags for your Amazon Web Services account.
Members
- message
-
- Required: Yes
- Type: string
TagPolicyViolationException
[ 'message' => '<string>', ]
Description
The operation failed because the specified tag key is a reserved word and can't be used.
Members
- message
-
- Required: Yes
- Type: string
ThrottlingException
[ 'message' => '<string>', ]
Description
The operation failed because it exceeded the rate at which you are allowed to perform this operation. Please try again later.
Members
- message
-
- Required: Yes
- Type: string
UnknownResourceException
[ 'message' => '<string>', ]
Description
The operation failed because a specified resource couldn't be found.
Members
- message
-
- Required: Yes
- Type: string
UnmatchedPolicyPermissionException
[ 'message' => '<string>', ]
Description
There isn't an existing managed permission defined in RAM that has the same IAM permissions as the resource-based policy attached to the resource. You should first run PromotePermissionCreatedFromPolicy to create that managed permission.
Members
- message
-
- Required: Yes
- Type: string