Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ErrorDetail = ErrorDetail' {
- resourceIds :: Maybe [Text]
- errorCode :: Maybe EKSErrorCode
- errorMessage :: Maybe Text
- newErrorDetail :: ErrorDetail
- errorDetail_resourceIds :: Lens' ErrorDetail (Maybe [Text])
- errorDetail_errorCode :: Lens' ErrorDetail (Maybe EKSErrorCode)
- errorDetail_errorMessage :: Lens' ErrorDetail (Maybe Text)
Documentation
data ErrorDetail Source #
An object representing an error when an asynchronous operation fails.
See: newErrorDetail
smart constructor.
ErrorDetail' | |
|
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:resourceIds:ErrorDetail'
, errorDetail_resourceIds
- An optional field that contains the resource IDs associated with the
error.
$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.
errorDetail_resourceIds :: Lens' ErrorDetail (Maybe [Text]) Source #
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.