Class DevOpsGuruException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\DevOpsGuru\Exception\DevOpsGuruException
- Namespace: Aws\DevOpsGuru\Exception
- Located at DevOpsGuru/Exception/DevOpsGuruException.php
Represents an error interacting with the Amazon DevOps Guru 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
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
Members
- Message
-
- Required: Yes
- Type: string
ConflictException
[ 'Message' => '<string>', 'ResourceId' => '<string>', 'ResourceType' => '<string>', ]
Description
An exception that is thrown when a conflict occurs.
Members
- Message
-
- Required: Yes
- Type: string
- ResourceId
-
- Required: Yes
- Type: string
The ID of the Amazon Web Services resource in which a conflict occurred.
- ResourceType
-
- Required: Yes
- Type: string
The type of the Amazon Web Services resource in which a conflict occurred.
InternalServerException
[ 'Message' => '<string>', 'RetryAfterSeconds' => <integer>, ]
Description
An internal failure in an Amazon service occurred.
Members
- Message
-
- Required: Yes
- Type: string
- RetryAfterSeconds
-
- Type: int
The number of seconds after which the action that caused the internal server exception can be retried.
ResourceNotFoundException
[ 'Message' => '<string>', 'ResourceId' => '<string>', 'ResourceType' => '<string>', ]
Description
A requested resource could not be found
Members
- Message
-
- Required: Yes
- Type: string
- ResourceId
-
- Required: Yes
- Type: string
The ID of the Amazon Web Services resource that could not be found.
- ResourceType
-
- Required: Yes
- Type: string
The type of the Amazon Web Services resource that could not be found.
ServiceQuotaExceededException
[ 'Message' => '<string>', ]
Description
The request contains a value that exceeds a maximum quota.
Members
- Message
-
- Type: string
ThrottlingException
[ 'Message' => '<string>', 'QuotaCode' => '<string>', 'RetryAfterSeconds' => <integer>, 'ServiceCode' => '<string>', ]
Description
The request was denied due to a request throttling.
Members
- Message
-
- Required: Yes
- Type: string
- QuotaCode
-
- Type: string
The code of the quota that was exceeded, causing the throttling exception.
- RetryAfterSeconds
-
- Type: int
The number of seconds after which the action that caused the throttling exception can be retried.
- ServiceCode
-
- Type: string
The code of the service that caused the throttling exception.
ValidationException
[ 'Fields' => [ [ 'Message' => '<string>', 'Name' => '<string>', ], // ... ], 'Message' => '<string>', 'Reason' => 'UNKNOWN_OPERATION|CANNOT_PARSE|FIELD_VALIDATION_FAILED|OTHER|INVALID_PARAMETER_COMBINATION|PARAMETER_INCONSISTENT_WITH_SERVICE_STATE', ]
Description
Contains information about data passed in to a field during a request that is not valid.
Members
- Fields
-
- Type: Array of ValidationExceptionField structures
An array of fields that are associated with the validation exception.
- Message
-
- Required: Yes
- Type: string
A message that describes the validation exception.
- Reason
-
- Type: string
The reason the validation exception was thrown.