Class MainframeModernizationException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\MainframeModernization\Exception\MainframeModernizationException
- Namespace: Aws\MainframeModernization\Exception
- Located at MainframeModernization/Exception/MainframeModernizationException.php
Represents an error interacting with the AWSMainframeModernization 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 account or role doesn't have the right permissions to make the request.
Members
- message
-
- Required: Yes
- Type: string
ConflictException
[ 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', ]
Description
The parameters provided in the request conflict with existing resources.
Members
- message
-
- Required: Yes
- Type: string
- resourceId
-
- Type: string
The ID of the conflicting resource.
- resourceType
-
- Type: string
The type of the conflicting resource.
InternalServerException
[ 'message' => '<string>', 'retryAfterSeconds' => <integer>, ]
Description
An unexpected error occurred during the processing of the request.
Members
- message
-
- Required: Yes
- Type: string
- retryAfterSeconds
-
- Type: int
The number of seconds to wait before retrying the request.
ResourceNotFoundException
[ 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', ]
Description
The specified resource was not found.
Members
- message
-
- Required: Yes
- Type: string
- resourceId
-
- Type: string
The ID of the missing resource.
- resourceType
-
- Type: string
The type of the missing resource.
ServiceQuotaExceededException
[ 'message' => '<string>', 'quotaCode' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', 'serviceCode' => '<string>', ]
Description
One or more quotas for Amazon Web Services Mainframe Modernization exceeds the limit.
Members
- message
-
- Required: Yes
- Type: string
- quotaCode
-
- Type: string
The identifier of the exceeded quota.
- resourceId
-
- Type: string
The ID of the resource that is exceeding the quota limit.
- resourceType
-
- Type: string
The type of resource that is exceeding the quota limit for Amazon Web Services Mainframe Modernization.
- serviceCode
-
- Type: string
A code that identifies the service that the exceeded quota belongs to.
ThrottlingException
[ 'message' => '<string>', 'quotaCode' => '<string>', 'retryAfterSeconds' => <integer>, 'serviceCode' => '<string>', ]
Description
The number of requests made exceeds the limit.
Members
- message
-
- Required: Yes
- Type: string
- quotaCode
-
- Type: string
The identifier of the throttled reuqest.
- retryAfterSeconds
-
- Type: int
The number of seconds to wait before retrying the request.
- serviceCode
-
- Type: string
The identifier of the service that the throttled request was made to.
ValidationException
[ 'fieldList' => [ [ 'message' => '<string>', 'name' => '<string>', ], // ... ], 'message' => '<string>', 'reason' => 'unknownOperation|cannotParse|fieldValidationFailed|other', ]
Description
One or more parameters provided in the request is not valid.
Members
- fieldList
-
- Type: Array of ValidationExceptionField structures
The list of fields that failed service validation.
- message
-
- Required: Yes
- Type: string
- reason
-
- Type: string
The reason why it failed service validation.