Class SSMContactsException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\SSMContacts\Exception\SSMContactsException
- Namespace: Aws\SSMContacts\Exception
- Located at SSMContacts/Exception/SSMContactsException.php
Represents an error interacting with the AWS Systems Manager Incident Manager Contacts 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
The following are the known exception codes and corresponding data shapes that
this service may return as part of an error response.
AccessDeniedException
[ 'Message' => '<string>', ]
Description
You don't have sufficient access to perform this operation.
Members
- Message
-
- Required: Yes
- Type: string
ConflictException
[ 'DependentEntities' => [ [ 'DependentResourceIds' => ['<string>', ...], 'RelationType' => '<string>', ], // ... ], 'Message' => '<string>', 'ResourceId' => '<string>', 'ResourceType' => '<string>', ]
Description
Updating or deleting a resource causes an inconsistent state.
Members
- DependentEntities
-
- Type: Array of DependentEntity structures
List of dependent entities containing information on relation type and resourceArns linked to the resource in use - Message
-
- Required: Yes
- Type: string
- ResourceId
-
- Required: Yes
- Type: string
Identifier of the resource in use - ResourceType
-
- Required: Yes
- Type: string
Type of the resource in use
DataEncryptionException
[ 'Message' => '<string>', ]
Description
The operation failed to due an encryption key error.
Members
- Message
-
- Required: Yes
- Type: string
InternalServerException
[ 'Message' => '<string>', 'RetryAfterSeconds' => <integer>, ]
Description
Unexpected error occurred while processing the request.
Members
- Message
-
- Required: Yes
- Type: string
- RetryAfterSeconds
-
- Type: int
Advice to clients on when the call can be safely retried
ResourceNotFoundException
[ 'Message' => '<string>', 'ResourceId' => '<string>', 'ResourceType' => '<string>', ]
Description
Request references a resource that doesn't exist.
Members
- Message
-
- Required: Yes
- Type: string
- ResourceId
-
- Required: Yes
- Type: string
Hypothetical resource identifier that was not found - ResourceType
-
- Required: Yes
- Type: string
Hypothetical resource type that was not found
ServiceQuotaExceededException
[ 'Message' => '<string>', 'QuotaCode' => '<string>', 'ResourceId' => '<string>', 'ResourceType' => '<string>', 'ServiceCode' => '<string>', ]
Description
Request would cause a service quota to be exceeded.
Members
- Message
-
- Required: Yes
- Type: string
- QuotaCode
-
- Required: Yes
- Type: string
Service Quotas requirement to identify originating service - ResourceId
-
- Type: string
Identifier of the resource affected - ResourceType
-
- Type: string
Type of the resource affected - ServiceCode
-
- Required: Yes
- Type: string
Service Quotas requirement to identify originating quota
ThrottlingException
[ 'Message' => '<string>', 'QuotaCode' => '<string>', 'RetryAfterSeconds' => <integer>, 'ServiceCode' => '<string>', ]
Description
The request was denied due to request throttling.
Members
- Message
-
- Required: Yes
- Type: string
- QuotaCode
-
- Type: string
Service Quotas requirement to identify originating service - RetryAfterSeconds
-
- Type: int
Advice to clients on when the call can be safely retried - ServiceCode
-
- Type: string
Service Quotas requirement to identify originating quota
ValidationException
[ 'Fields' => [ [ 'Message' => '<string>', 'Name' => '<string>', ], // ... ], 'Message' => '<string>', 'Reason' => 'UNKNOWN_OPERATION|CANNOT_PARSE|FIELD_VALIDATION_FAILED|OTHER', ]
Description
The input fails to satisfy the constraints specified by an Amazon Web Services service.
Members
- Fields
-
- Type: Array of ValidationExceptionField structures
The fields that caused the error - Message
-
- Required: Yes
- Type: string
- Reason
-
- Type: string
Reason the request failed validation