libZSservicesZSamazonka-ecsZSamazonka-ecs
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.ECS.Types.Failure

Description

 
Synopsis

Documentation

data Failure Source #

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' 

Fields

Instances

Instances details
Eq Failure Source # 
Instance details

Defined in Amazonka.ECS.Types.Failure

Methods

(==) :: Failure -> Failure -> Bool #

(/=) :: Failure -> Failure -> Bool #

Read Failure Source # 
Instance details

Defined in Amazonka.ECS.Types.Failure

Show Failure Source # 
Instance details

Defined in Amazonka.ECS.Types.Failure

Generic Failure Source # 
Instance details

Defined in Amazonka.ECS.Types.Failure

Associated Types

type Rep Failure :: Type -> Type #

Methods

from :: Failure -> Rep Failure x #

to :: Rep Failure x -> Failure #

NFData Failure Source # 
Instance details

Defined in Amazonka.ECS.Types.Failure

Methods

rnf :: Failure -> () #

Hashable Failure Source # 
Instance details

Defined in Amazonka.ECS.Types.Failure

Methods

hashWithSalt :: Int -> Failure -> Int #

hash :: Failure -> Int #

FromJSON Failure Source # 
Instance details

Defined in Amazonka.ECS.Types.Failure

type Rep Failure Source # 
Instance details

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.

failure_arn :: Lens' Failure (Maybe Text) Source #

The Amazon Resource Name (ARN) of the failed resource.

failure_reason :: Lens' Failure (Maybe Text) Source #

The reason for the failure.

failure_detail :: Lens' Failure (Maybe Text) Source #

The details of the failure.