| 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 |
Amazonka.ECS.Types.Failure
Description
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.
Constructors
| Failure' | |
Instances
| FromJSON Failure Source # | |
| Generic Failure Source # | |
| Read Failure Source # | |
| Show Failure Source # | |
| NFData Failure Source # | |
Defined in Amazonka.ECS.Types.Failure | |
| Eq Failure Source # | |
| Hashable Failure Source # | |
Defined in Amazonka.ECS.Types.Failure | |
| type Rep Failure Source # | |
Defined in Amazonka.ECS.Types.Failure type Rep Failure = D1 ('MetaData "Failure" "Amazonka.ECS.Types.Failure" "amazonka-ecs-2.0-3xFxVqi9x5nBZ44jBEC5G8" 'False) (C1 ('MetaCons "Failure'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "detail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "reason") '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:detail:Failure', failure_detail - The details of the failure.
$sel:reason:Failure', failure_reason - The reason for the failure.