| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.EKS.Types.ErrorDetail
Description
Synopsis
- data ErrorDetail = ErrorDetail' {
- errorCode :: Maybe EKSErrorCode
- errorMessage :: Maybe Text
- resourceIds :: Maybe [Text]
- newErrorDetail :: ErrorDetail
- errorDetail_errorCode :: Lens' ErrorDetail (Maybe EKSErrorCode)
- errorDetail_errorMessage :: Lens' ErrorDetail (Maybe Text)
- errorDetail_resourceIds :: Lens' ErrorDetail (Maybe [Text])
Documentation
data ErrorDetail Source #
An object representing an error when an asynchronous operation fails.
See: newErrorDetail smart constructor.
Constructors
| ErrorDetail' | |
Fields
| |
Instances
newErrorDetail :: ErrorDetail Source #
Create a value of ErrorDetail with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:errorCode:ErrorDetail', errorDetail_errorCode - A brief description of the error.
- SubnetNotFound: We couldn't find one of the subnets associated with the cluster.
- SecurityGroupNotFound: We couldn't find one of the security groups associated with the cluster.
- EniLimitReached: You have reached the elastic network interface limit for your account.
- IpNotAvailable: A subnet associated with the cluster doesn't have any free IP addresses.
- AccessDenied: You don't have permissions to perform the specified operation.
- OperationNotPermitted: The service role associated with the cluster doesn't have the required access permissions for Amazon EKS.
- VpcIdNotFound: We couldn't find the VPC associated with the cluster.
$sel:errorMessage:ErrorDetail', errorDetail_errorMessage - A more complete description of the error.
$sel:resourceIds:ErrorDetail', errorDetail_resourceIds - An optional field that contains the resource IDs associated with the
error.
errorDetail_errorCode :: Lens' ErrorDetail (Maybe EKSErrorCode) Source #
A brief description of the error.
- SubnetNotFound: We couldn't find one of the subnets associated with the cluster.
- SecurityGroupNotFound: We couldn't find one of the security groups associated with the cluster.
- EniLimitReached: You have reached the elastic network interface limit for your account.
- IpNotAvailable: A subnet associated with the cluster doesn't have any free IP addresses.
- AccessDenied: You don't have permissions to perform the specified operation.
- OperationNotPermitted: The service role associated with the cluster doesn't have the required access permissions for Amazon EKS.
- VpcIdNotFound: We couldn't find the VPC associated with the cluster.
errorDetail_errorMessage :: Lens' ErrorDetail (Maybe Text) Source #
A more complete description of the error.
errorDetail_resourceIds :: Lens' ErrorDetail (Maybe [Text]) Source #
An optional field that contains the resource IDs associated with the error.