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
- message
-
- Type: string
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
- message
-
- Type: string
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
- addonName
-
- Type: string
- 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.
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
- addonName
-
- Type: string
- clusterName
-
- Type: string
The Amazon EKS cluster associated with the exception.
- fargateProfileName
-
- Type: string
The Fargate profile associated with the exception.
- message
-
- Type: string
- nodegroupName
-
- Type: string
The Amazon EKS managed node group associated with the exception.
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
- addonName
-
- Type: string
- 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.
NotFoundException
[ 'message' => '<string>', ]
Description
A service resource associated with the request could not be found. Clients should not retry such requests.
Members
- message
-
- Type: string
ResourceInUseException
[ 'addonName' => '<string>', 'clusterName' => '<string>', 'message' => '<string>', 'nodegroupName' => '<string>', ]
Description
The specified resource is in use.
Members
- addonName
-
- Type: string
- 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.
ResourceLimitExceededException
[ 'clusterName' => '<string>', 'message' => '<string>', 'nodegroupName' => '<string>', ]
Description
You have encountered a service limit on the specified resource.
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.
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
- addonName
-
- Type: string
- clusterName
-
- Type: string
The Amazon EKS cluster associated with the exception.
- fargateProfileName
-
- Type: string
The Fargate profile associated with the exception.
- message
-
- Type: string
- nodegroupName
-
- Type: string
The Amazon EKS managed node group associated with the exception.
ResourcePropagationDelayException
[ 'message' => '<string>', ]
Description
Required resources (such as service-linked roles) were created and are still propagating. Retry later.
Members
- message
-
- Type: string
ServerException
[ 'addonName' => '<string>', 'clusterName' => '<string>', 'message' => '<string>', 'nodegroupName' => '<string>', ]
Description
These errors are usually caused by a server-side issue.
Members
- addonName
-
- Type: string
- 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.
ServiceUnavailableException
[ 'message' => '<string>', ]
Description
The service is unavailable. Back off and retry the operation.
Members
- message
-
- Type: string
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.