amazonka-codedeploy-2.0: Amazon CodeDeploy SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CodeDeploy.Types.Diagnostics

Description

 
Synopsis

Documentation

data Diagnostics Source #

Diagnostic information about executable scripts that are part of a deployment.

See: newDiagnostics smart constructor.

Constructors

Diagnostics' 

Fields

  • errorCode :: Maybe LifecycleErrorCode

    The associated error code:

    • Success: The specified script ran.
    • ScriptMissing: The specified script was not found in the specified location.
    • ScriptNotExecutable: The specified script is not a recognized executable file type.
    • ScriptTimedOut: The specified script did not finish running in the specified time period.
    • ScriptFailed: The specified script failed to run as expected.
    • UnknownError: The specified script did not run for an unknown reason.
  • logTail :: Maybe Text

    The last portion of the diagnostic log.

    If available, CodeDeploy returns up to the last 4 KB of the diagnostic log.

  • message :: Maybe Text

    The message associated with the error.

  • scriptName :: Maybe Text

    The name of the script.

Instances

Instances details
FromJSON Diagnostics Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.Diagnostics

Generic Diagnostics Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.Diagnostics

Associated Types

type Rep Diagnostics :: Type -> Type #

Read Diagnostics Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.Diagnostics

Show Diagnostics Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.Diagnostics

NFData Diagnostics Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.Diagnostics

Methods

rnf :: Diagnostics -> () #

Eq Diagnostics Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.Diagnostics

Hashable Diagnostics Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.Diagnostics

type Rep Diagnostics Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.Diagnostics

type Rep Diagnostics = D1 ('MetaData "Diagnostics" "Amazonka.CodeDeploy.Types.Diagnostics" "amazonka-codedeploy-2.0-4OehMEUeOr9G9ZXD2VmvAo" 'False) (C1 ('MetaCons "Diagnostics'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LifecycleErrorCode)) :*: S1 ('MetaSel ('Just "logTail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "scriptName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDiagnostics :: Diagnostics Source #

Create a value of Diagnostics 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:Diagnostics', diagnostics_errorCode - The associated error code:

  • Success: The specified script ran.
  • ScriptMissing: The specified script was not found in the specified location.
  • ScriptNotExecutable: The specified script is not a recognized executable file type.
  • ScriptTimedOut: The specified script did not finish running in the specified time period.
  • ScriptFailed: The specified script failed to run as expected.
  • UnknownError: The specified script did not run for an unknown reason.

$sel:logTail:Diagnostics', diagnostics_logTail - The last portion of the diagnostic log.

If available, CodeDeploy returns up to the last 4 KB of the diagnostic log.

$sel:message:Diagnostics', diagnostics_message - The message associated with the error.

$sel:scriptName:Diagnostics', diagnostics_scriptName - The name of the script.

diagnostics_errorCode :: Lens' Diagnostics (Maybe LifecycleErrorCode) Source #

The associated error code:

  • Success: The specified script ran.
  • ScriptMissing: The specified script was not found in the specified location.
  • ScriptNotExecutable: The specified script is not a recognized executable file type.
  • ScriptTimedOut: The specified script did not finish running in the specified time period.
  • ScriptFailed: The specified script failed to run as expected.
  • UnknownError: The specified script did not run for an unknown reason.

diagnostics_logTail :: Lens' Diagnostics (Maybe Text) Source #

The last portion of the diagnostic log.

If available, CodeDeploy returns up to the last 4 KB of the diagnostic log.

diagnostics_message :: Lens' Diagnostics (Maybe Text) Source #

The message associated with the error.