Class EKSException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\EKS\Exception\EKSException
- Namespace: Aws\EKS\Exception
- Located at EKS/Exception/EKSException.php
Represents an error interacting with the Amazon Elastic Container Service for Kubernetes 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 don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
Members
BadRequestException
[ 'message' => '<string>', ]
Description
This exception is thrown if the request contains a semantic error. The precise meaning will depend on the API, and will be documented in the error message.
Members
ClientException
[ 'addonName' => '<string>', 'clusterName' => '<string>', 'message' => '<string>', 'nodegroupName' => '<string>', ]
Description
These errors are usually caused by a client action. Actions can include using an action or resource on behalf of a user that doesn't have permissions to use the action or resource or specifying an identifier that is not valid.
Members
InvalidParameterException
[ 'addonName' => '<string>', 'clusterName' => '<string>', 'fargateProfileName' => '<string>', 'message' => '<string>', 'nodegroupName' => '<string>', ]
Description
The specified parameter is invalid. Review the available parameters for the API request.
Members
InvalidRequestException
[ 'addonName' => '<string>', 'clusterName' => '<string>', 'message' => '<string>', 'nodegroupName' => '<string>', ]
Description
The request is invalid given the state of the cluster. Check the state of the cluster and the associated operations.
Members
NotFoundException
[ 'message' => '<string>', ]
Description
A service resource associated with the request could not be found. Clients should not retry such requests.
Members
ResourceInUseException
[ 'addonName' => '<string>', 'clusterName' => '<string>', 'message' => '<string>', 'nodegroupName' => '<string>', ]
Description
The specified resource is in use.
Members
ResourceLimitExceededException
[ 'clusterName' => '<string>', 'message' => '<string>', 'nodegroupName' => '<string>', ]
Description
You have encountered a service limit on the specified resource.
Members
ResourceNotFoundException
[ 'addonName' => '<string>', 'clusterName' => '<string>', 'fargateProfileName' => '<string>', 'message' => '<string>', 'nodegroupName' => '<string>', ]
Description
The specified resource could not be found. You can view your available clusters with ListClusters. You can view your available managed node groups with ListNodegroups. Amazon EKS clusters and node groups are Region-specific.
Members
ResourcePropagationDelayException
[ 'message' => '<string>', ]
Description
Required resources (such as service-linked roles) were created and are still propagating. Retry later.
Members
ServerException
[ 'addonName' => '<string>', 'clusterName' => '<string>', 'message' => '<string>', 'nodegroupName' => '<string>', ]
Description
These errors are usually caused by a server-side issue.
Members
ServiceUnavailableException
[ 'message' => '<string>', ]
Description
The service is unavailable. Back off and retry the operation.
Members
UnsupportedAvailabilityZoneException
[ 'clusterName' => '<string>', 'message' => '<string>', 'nodegroupName' => '<string>', 'validZones' => ['<string>', ...], ]
Description
At least one of your specified cluster subnets is in an Availability Zone that does not support Amazon EKS. The exception output specifies the supported Availability Zones for your account, from which you can choose subnets for your cluster.
Members
- clusterName
-
- Type: string
The Amazon EKS cluster associated with the exception.
- message
-
- Type: string
- nodegroupName
-
- Type: string
The Amazon EKS managed node group associated with the exception.
- validZones
-
- Type: Array of strings
The supported Availability Zones for your account. Choose subnets in these Availability Zones for your cluster.