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 |
Documentation
A failed resource. For a list of common causes, see API failure reasons in the Amazon Elastic Container Service Developer Guide.
See: newFailure
smart constructor.
Instances
Eq Failure Source # | |
Read Failure Source # | |
Show Failure Source # | |
Generic Failure Source # | |
NFData Failure Source # | |
Defined in Amazonka.ECS.Types.Failure | |
Hashable Failure Source # | |
Defined in Amazonka.ECS.Types.Failure | |
FromJSON Failure Source # | |
type Rep Failure Source # | |
Defined in Amazonka.ECS.Types.Failure type Rep Failure = D1 ('MetaData "Failure" "Amazonka.ECS.Types.Failure" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "Failure'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "reason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "detail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) |
newFailure :: Failure Source #
Create a value of Failure
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:arn:Failure'
, failure_arn
- The Amazon Resource Name (ARN) of the failed resource.
$sel:reason:Failure'
, failure_reason
- The reason for the failure.
$sel:detail:Failure'
, failure_detail
- The details of the failure.