libZSservicesZSamazonka-codedeployZSamazonka-codedeploy
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.CodeDeploy.Types.ErrorInformation

Description

 
Synopsis

Documentation

data ErrorInformation Source #

Information about a deployment error.

See: newErrorInformation smart constructor.

Constructors

ErrorInformation' 

Fields

  • code :: Maybe DeployErrorCode

    For more information, see Error Codes for AWS CodeDeploy in the AWS CodeDeploy User Guide.

    The error code:

    • APPLICATION_MISSING: The application was missing. This error code is most likely raised if the application is deleted after the deployment is created, but before it is started.
    • DEPLOYMENT_GROUP_MISSING: The deployment group was missing. This error code is most likely raised if the deployment group is deleted after the deployment is created, but before it is started.
    • HEALTH_CONSTRAINTS: The deployment failed on too many instances to be successfully deployed within the instance health constraints specified.
    • HEALTH_CONSTRAINTS_INVALID: The revision cannot be successfully deployed within the instance health constraints specified.
    • IAM_ROLE_MISSING: The service role cannot be accessed.
    • IAM_ROLE_PERMISSIONS: The service role does not have the correct permissions.
    • INTERNAL_ERROR: There was an internal error.
    • NO_EC2_SUBSCRIPTION: The calling account is not subscribed to Amazon EC2.
    • NO_INSTANCES: No instances were specified, or no instances can be found.
    • OVER_MAX_INSTANCES: The maximum number of instances was exceeded.
    • THROTTLED: The operation was throttled because the calling account exceeded the throttling limits of one or more AWS services.
    • TIMEOUT: The deployment has timed out.
    • REVISION_MISSING: The revision ID was missing. This error code is most likely raised if the revision is deleted after the deployment is created, but before it is started.
  • message :: Maybe Text

    An accompanying error message.

Instances

Instances details
Eq ErrorInformation Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.ErrorInformation

Read ErrorInformation Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.ErrorInformation

Show ErrorInformation Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.ErrorInformation

Generic ErrorInformation Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.ErrorInformation

Associated Types

type Rep ErrorInformation :: Type -> Type #

NFData ErrorInformation Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.ErrorInformation

Methods

rnf :: ErrorInformation -> () #

Hashable ErrorInformation Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.ErrorInformation

FromJSON ErrorInformation Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.ErrorInformation

type Rep ErrorInformation Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.ErrorInformation

type Rep ErrorInformation = D1 ('MetaData "ErrorInformation" "Amazonka.CodeDeploy.Types.ErrorInformation" "libZSservicesZSamazonka-codedeployZSamazonka-codedeploy" 'False) (C1 ('MetaCons "ErrorInformation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeployErrorCode)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newErrorInformation :: ErrorInformation Source #

Create a value of ErrorInformation 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:code:ErrorInformation', errorInformation_code - For more information, see Error Codes for AWS CodeDeploy in the AWS CodeDeploy User Guide.

The error code:

  • APPLICATION_MISSING: The application was missing. This error code is most likely raised if the application is deleted after the deployment is created, but before it is started.
  • DEPLOYMENT_GROUP_MISSING: The deployment group was missing. This error code is most likely raised if the deployment group is deleted after the deployment is created, but before it is started.
  • HEALTH_CONSTRAINTS: The deployment failed on too many instances to be successfully deployed within the instance health constraints specified.
  • HEALTH_CONSTRAINTS_INVALID: The revision cannot be successfully deployed within the instance health constraints specified.
  • IAM_ROLE_MISSING: The service role cannot be accessed.
  • IAM_ROLE_PERMISSIONS: The service role does not have the correct permissions.
  • INTERNAL_ERROR: There was an internal error.
  • NO_EC2_SUBSCRIPTION: The calling account is not subscribed to Amazon EC2.
  • NO_INSTANCES: No instances were specified, or no instances can be found.
  • OVER_MAX_INSTANCES: The maximum number of instances was exceeded.
  • THROTTLED: The operation was throttled because the calling account exceeded the throttling limits of one or more AWS services.
  • TIMEOUT: The deployment has timed out.
  • REVISION_MISSING: The revision ID was missing. This error code is most likely raised if the revision is deleted after the deployment is created, but before it is started.

$sel:message:ErrorInformation', errorInformation_message - An accompanying error message.

errorInformation_code :: Lens' ErrorInformation (Maybe DeployErrorCode) Source #

For more information, see Error Codes for AWS CodeDeploy in the AWS CodeDeploy User Guide.

The error code:

  • APPLICATION_MISSING: The application was missing. This error code is most likely raised if the application is deleted after the deployment is created, but before it is started.
  • DEPLOYMENT_GROUP_MISSING: The deployment group was missing. This error code is most likely raised if the deployment group is deleted after the deployment is created, but before it is started.
  • HEALTH_CONSTRAINTS: The deployment failed on too many instances to be successfully deployed within the instance health constraints specified.
  • HEALTH_CONSTRAINTS_INVALID: The revision cannot be successfully deployed within the instance health constraints specified.
  • IAM_ROLE_MISSING: The service role cannot be accessed.
  • IAM_ROLE_PERMISSIONS: The service role does not have the correct permissions.
  • INTERNAL_ERROR: There was an internal error.
  • NO_EC2_SUBSCRIPTION: The calling account is not subscribed to Amazon EC2.
  • NO_INSTANCES: No instances were specified, or no instances can be found.
  • OVER_MAX_INSTANCES: The maximum number of instances was exceeded.
  • THROTTLED: The operation was throttled because the calling account exceeded the throttling limits of one or more AWS services.
  • TIMEOUT: The deployment has timed out.
  • REVISION_MISSING: The revision ID was missing. This error code is most likely raised if the revision is deleted after the deployment is created, but before it is started.

errorInformation_message :: Lens' ErrorInformation (Maybe Text) Source #

An accompanying error message.