libZSservicesZSamazonka-eksZSamazonka-eks
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.EKS.Types.ErrorDetail

Description

 
Synopsis

Documentation

data ErrorDetail Source #

An object representing an error when an asynchronous operation fails.

See: newErrorDetail smart constructor.

Constructors

ErrorDetail' 

Fields

  • resourceIds :: Maybe [Text]

    An optional field that contains the resource IDs associated with the error.

  • errorCode :: Maybe EKSErrorCode

    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.
  • errorMessage :: Maybe Text

    A more complete description of the error.

Instances

Instances details
Eq ErrorDetail Source # 
Instance details

Defined in Amazonka.EKS.Types.ErrorDetail

Read ErrorDetail Source # 
Instance details

Defined in Amazonka.EKS.Types.ErrorDetail

Show ErrorDetail Source # 
Instance details

Defined in Amazonka.EKS.Types.ErrorDetail

Generic ErrorDetail Source # 
Instance details

Defined in Amazonka.EKS.Types.ErrorDetail

Associated Types

type Rep ErrorDetail :: Type -> Type #

NFData ErrorDetail Source # 
Instance details

Defined in Amazonka.EKS.Types.ErrorDetail

Methods

rnf :: ErrorDetail -> () #

Hashable ErrorDetail Source # 
Instance details

Defined in Amazonka.EKS.Types.ErrorDetail

FromJSON ErrorDetail Source # 
Instance details

Defined in Amazonka.EKS.Types.ErrorDetail

type Rep ErrorDetail Source # 
Instance details

Defined in Amazonka.EKS.Types.ErrorDetail

type Rep ErrorDetail = D1 ('MetaData "ErrorDetail" "Amazonka.EKS.Types.ErrorDetail" "libZSservicesZSamazonka-eksZSamazonka-eks" 'False) (C1 ('MetaCons "ErrorDetail'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EKSErrorCode)) :*: S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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.