Class B2biException
- Exception
- RuntimeException
- Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
- Aws\B2bi\Exception\B2biException
- Namespace: Aws\B2bi\Exception
- Located at B2bi/Exception/B2biException.php
Represents an error interacting with the AWS B2B Data Interchange 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 do not have sufficient access to perform this action.
Members
- message
-
- Required: Yes
- Type: string
ConflictException
[ 'message' => '<string>', ]
Description
A conflict exception is thrown when you attempt to delete a resource (such as a profile or a capability) that is being used by other resources.
Members
- message
-
- Required: Yes
- Type: string
InternalServerException
[ 'message' => '<string>', 'retryAfterSeconds' => <integer>, ]
Description
This exception is thrown when an error occurs in the Amazon Web Services B2B Data Interchange service.
Members
- message
-
- Required: Yes
- Type: string
- retryAfterSeconds
-
- Type: int
The server attempts to retry a failed command.
ResourceNotFoundException
[ 'message' => '<string>', ]
Description
Occurs when the requested resource does not exist, or cannot be found. In some cases, the resource exists in a region other than the region specified in the API call.
Members
- message
-
- Required: Yes
- Type: string
ServiceQuotaExceededException
[ 'message' => '<string>', 'quotaCode' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', 'serviceCode' => '<string>', ]
Description
Occurs when the calling command attempts to exceed one of the service quotas, for example trying to create a capability when you already have the maximum number of capabilities allowed.
Members
- message
-
- Required: Yes
- Type: string
- quotaCode
-
- Required: Yes
- Type: string
The quota that was exceeded, which caused the exception.
- resourceId
-
- Required: Yes
- Type: string
The ID for the resource that exceeded the quota, which caused the exception.
- resourceType
-
- Required: Yes
- Type: string
The resource type (profile, partnership, transformer, or capability) that exceeded the quota, which caused the exception.
- serviceCode
-
- Required: Yes
- Type: string
The code responsible for exceeding the quota, which caused the exception.
ThrottlingException
[ 'message' => '<string>', 'retryAfterSeconds' => <integer>, ]
Description
The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.
Members
- message
-
- Required: Yes
- Type: string
- retryAfterSeconds
-
- Type: int
The server attempts to retry a command that was throttled.
ValidationException
[ 'Message' => '<string>', ]
Description
Occurs when a B2BI object cannot be validated against a request from another object.
Members
- Message
-
- Required: Yes
- Type: string