Class ShieldException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\Shield\Exception\ShieldException
- Namespace: Aws\Shield\Exception
- Located at Shield/Exception/ShieldException.php
Represents an error interacting with the AWS Shield 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
AccessDeniedException
[ 'message' => '<string>', ]
Description
Exception that indicates the specified AttackId
does not exist, or the requester does not have the appropriate permissions to access the AttackId
.
Members
AccessDeniedForDependencyException
[ 'message' => '<string>', ]
Description
In order to grant the necessary access to the Shield Response Team (SRT) the user submitting the request must have the iam:PassRole
permission. This error indicates the user did not have the appropriate permissions. For more information, see Granting a User Permissions to Pass a Role to an Amazon Web Services Service.
Members
InternalErrorException
[ 'message' => '<string>', ]
Description
Exception that indicates that a problem occurred with the service infrastructure. You can retry the request.
Members
InvalidOperationException
[ 'message' => '<string>', ]
Description
Exception that indicates that the operation would not cause any change to occur.
Members
InvalidPaginationTokenException
[ 'message' => '<string>', ]
Description
Exception that indicates that the NextToken
specified in the request is invalid. Submit the request using the NextToken
value that was returned in the prior response.
Members
InvalidParameterException
[ 'fields' => [ [ 'message' => '<string>', 'name' => '<string>', ], // ... ], 'message' => '<string>', 'reason' => 'FIELD_VALIDATION_FAILED|OTHER', ]
Description
Exception that indicates that the parameters passed to the API are invalid. If available, this exception includes details in additional properties.
Members
- fields
-
- Type: Array of ValidationExceptionField structures
Fields that caused the exception.
- message
-
- Type: string
- reason
-
- Type: string
Additional information about the exception.
InvalidResourceException
[ 'message' => '<string>', ]
Description
Exception that indicates that the resource is invalid. You might not have access to the resource, or the resource might not exist.
Members
LimitsExceededException
[ 'Limit' => <integer>, 'Type' => '<string>', 'message' => '<string>', ]
Description
Exception that indicates that the operation would exceed a limit.
Members
LockedSubscriptionException
[ 'message' => '<string>', ]
Description
You are trying to update a subscription that has not yet completed the 1-year commitment. You can change the AutoRenew
parameter during the last 30 days of your subscription. This exception indicates that you are attempting to change AutoRenew
prior to that period.
Members
NoAssociatedRoleException
[ 'message' => '<string>', ]
OptimisticLockException
[ 'message' => '<string>', ]
Description
Exception that indicates that the resource state has been modified by another client. Retrieve the resource and then retry your request.
Members
ResourceAlreadyExistsException
[ 'message' => '<string>', 'resourceType' => '<string>', ]
Description
Exception indicating the specified resource already exists. If available, this exception includes details in additional properties.
Members
ResourceNotFoundException
[ 'message' => '<string>', 'resourceType' => '<string>', ]