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
- message
-
- Type: string
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
- message
-
- Type: string
InternalErrorException
[ 'message' => '<string>', ]
Description
Exception that indicates that a problem occurred with the service infrastructure. You can retry the request.
Members
- message
-
- Type: string
InvalidOperationException
[ 'message' => '<string>', ]
Description
Exception that indicates that the operation would not cause any change to occur.
Members
- message
-
- Type: string
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
- message
-
- Type: string
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
- message
-
- Type: string
LimitsExceededException
[ 'Limit' => <integer>, 'Type' => '<string>', 'message' => '<string>', ]
Description
Exception that indicates that the operation would exceed a limit.
Members
- Limit
-
- Type: long (int|float)
The threshold that would be exceeded.
- Type
-
- Type: string
The type of limit that would be exceeded.
- message
-
- Type: string
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
- message
-
- Type: string
NoAssociatedRoleException
[ 'message' => '<string>', ]
Description
The ARN of the role that you specified does not exist.
Members
- message
-
- Type: 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
- message
-
- Type: string
ResourceAlreadyExistsException
[ 'message' => '<string>', 'resourceType' => '<string>', ]
Description
Exception indicating the specified resource already exists. If available, this exception includes details in additional properties.
Members
- message
-
- Type: string
- resourceType
-
- Type: string
The type of resource that already exists.
ResourceNotFoundException
[ 'message' => '<string>', 'resourceType' => '<string>', ]
Description
Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties.
Members
- message
-
- Type: string
- resourceType
-
- Type: string
Type of resource.