Class CodeArtifactException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\CodeArtifact\Exception\CodeArtifactException
- Namespace: Aws\CodeArtifact\Exception
- Located at CodeArtifact/Exception/CodeArtifactException.php
Represents an error interacting with the CodeArtifact 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
The operation did not succeed because of an unauthorized access attempt.
Members
- message
-
- Required: Yes
- Type: string
ConflictException
[ 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => 'domain|repository|package|package-version|asset', ]
Description
The operation did not succeed because prerequisites are not met.
Members
- message
-
- Required: Yes
- Type: string
- resourceId
-
- Type: string
The ID of the resource.
- resourceType
-
- Type: string
The type of Amazon Web Services resource.
InternalServerException
[ 'message' => '<string>', ]
Description
The operation did not succeed because of an error that occurred inside CodeArtifact.
Members
- message
-
- Required: Yes
- Type: string
ResourceNotFoundException
[ 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => 'domain|repository|package|package-version|asset', ]
Description
The operation did not succeed because the resource requested is not found in the service.
Members
- message
-
- Required: Yes
- Type: string
- resourceId
-
- Type: string
The ID of the resource.
- resourceType
-
- Type: string
The type of Amazon Web Services resource.
ServiceQuotaExceededException
[ 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => 'domain|repository|package|package-version|asset', ]
Description
The operation did not succeed because it would have exceeded a service limit for your account.
Members
- message
-
- Required: Yes
- Type: string
- resourceId
-
- Type: string
The ID of the resource.
- resourceType
-
- Type: string
The type of Amazon Web Services resource.
ThrottlingException
[ 'message' => '<string>', 'retryAfterSeconds' => <integer>, ]
Description
The operation did not succeed because too many requests are sent to the service.
Members
- message
-
- Required: Yes
- Type: string
- retryAfterSeconds
-
- Type: int
The time period, in seconds, to wait before retrying the request.
ValidationException
[ 'message' => '<string>', 'reason' => 'CANNOT_PARSE|ENCRYPTION_KEY_ERROR|FIELD_VALIDATION_FAILED|UNKNOWN_OPERATION|OTHER', ]
Description
The operation did not succeed because a parameter in the request was sent with an invalid value.
Members
- message
-
- Required: Yes
- Type: string
- reason
-
- Type: string