Class AutoScalingException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\AutoScaling\Exception\AutoScalingException
- Namespace: Aws\AutoScaling\Exception
- Located at AutoScaling/Exception/AutoScalingException.php
Represents an error while interacting with the Auto Scaling 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
ActiveInstanceRefreshNotFoundFault
[ 'message' => '<string>', ]
Description
The request failed because an active instance refresh or rollback for the specified Auto Scaling group was not found.
Members
- message
-
- Type: string
AlreadyExistsFault
[ 'message' => '<string>', ]
Description
You already have an Auto Scaling group or launch configuration with this name.
Members
- message
-
- Type: string
InstanceRefreshInProgressFault
[ 'message' => '<string>', ]
Description
The request failed because an active instance refresh already exists for the specified Auto Scaling group.
Members
- message
-
- Type: string
InvalidNextToken
[ 'message' => '<string>', ]
Description
The NextToken
value is not valid.
Members
- message
-
- Type: string
IrreversibleInstanceRefreshFault
[ 'message' => '<string>', ]
Description
The request failed because a desired configuration was not found or an incompatible launch template (uses a Systems Manager parameter instead of an AMI ID) or launch template version ($Latest
or $Default
) is present on the Auto Scaling group.
Members
- message
-
- Type: string
LimitExceededFault
[ 'message' => '<string>', ]
Description
You have already reached a limit for your Amazon EC2 Auto Scaling resources (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). For more information, see DescribeAccountLimits in the Amazon EC2 Auto Scaling API Reference.
Members
- message
-
- Type: string
ResourceContentionFault
[ 'message' => '<string>', ]
Description
You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group, instance, or load balancer).
Members
- message
-
- Type: string
ResourceInUseFault
[ 'message' => '<string>', ]
Description
The operation can't be performed because the resource is in use.
Members
- message
-
- Type: string
ScalingActivityInProgressFault
[ 'message' => '<string>', ]
Description
The operation can't be performed because there are scaling activities in progress.
Members
- message
-
- Type: string
ServiceLinkedRoleFailure
[ 'message' => '<string>', ]
Description
The service-linked role is not yet ready for use.
Members
- message
-
- Type: string