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 |
Synopsis
- data EffectiveDeploymentStatusDetails = EffectiveDeploymentStatusDetails' {
- errorStack :: Maybe [Text]
- errorTypes :: Maybe [Text]
- newEffectiveDeploymentStatusDetails :: EffectiveDeploymentStatusDetails
- effectiveDeploymentStatusDetails_errorStack :: Lens' EffectiveDeploymentStatusDetails (Maybe [Text])
- effectiveDeploymentStatusDetails_errorTypes :: Lens' EffectiveDeploymentStatusDetails (Maybe [Text])
Documentation
data EffectiveDeploymentStatusDetails Source #
Contains all error-related information for the deployment record. The status details will be null if the deployment is in a success state.
Greengrass nucleus v2.8.0 or later is required to get an accurate
errorStack
and errorTypes
response. This field will not be returned
for earlier Greengrass nucleus versions.
See: newEffectiveDeploymentStatusDetails
smart constructor.
EffectiveDeploymentStatusDetails' | |
|
Instances
FromJSON EffectiveDeploymentStatusDetails Source # | |
Generic EffectiveDeploymentStatusDetails Source # | |
Read EffectiveDeploymentStatusDetails Source # | |
Show EffectiveDeploymentStatusDetails Source # | |
NFData EffectiveDeploymentStatusDetails Source # | |
Eq EffectiveDeploymentStatusDetails Source # | |
Hashable EffectiveDeploymentStatusDetails Source # | |
type Rep EffectiveDeploymentStatusDetails Source # | |
Defined in Amazonka.GreengrassV2.Types.EffectiveDeploymentStatusDetails type Rep EffectiveDeploymentStatusDetails = D1 ('MetaData "EffectiveDeploymentStatusDetails" "Amazonka.GreengrassV2.Types.EffectiveDeploymentStatusDetails" "amazonka-greengrassv2-2.0-CXiJQl197i43YI1Cz5IpiZ" 'False) (C1 ('MetaCons "EffectiveDeploymentStatusDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorStack") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "errorTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) |
newEffectiveDeploymentStatusDetails :: EffectiveDeploymentStatusDetails Source #
Create a value of EffectiveDeploymentStatusDetails
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:errorStack:EffectiveDeploymentStatusDetails'
, effectiveDeploymentStatusDetails_errorStack
- Contains an ordered list of short error codes that range from the most
generic error to the most specific one. The error codes describe the
reason for failure whenever the coreDeviceExecutionStatus
is in a
failed state. The response will be an empty list if there is no error.
$sel:errorTypes:EffectiveDeploymentStatusDetails'
, effectiveDeploymentStatusDetails_errorTypes
- Contains tags which describe the error. You can use the error types to
classify errors to assist with remediating the failure. The response
will be an empty list if there is no error.
effectiveDeploymentStatusDetails_errorStack :: Lens' EffectiveDeploymentStatusDetails (Maybe [Text]) Source #
Contains an ordered list of short error codes that range from the most
generic error to the most specific one. The error codes describe the
reason for failure whenever the coreDeviceExecutionStatus
is in a
failed state. The response will be an empty list if there is no error.
effectiveDeploymentStatusDetails_errorTypes :: Lens' EffectiveDeploymentStatusDetails (Maybe [Text]) Source #
Contains tags which describe the error. You can use the error types to classify errors to assist with remediating the failure. The response will be an empty list if there is no error.