libZSservicesZSamazonka-datapipelineZSamazonka-datapipeline
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.DataPipeline.Types.ValidationError

Description

 
Synopsis

Documentation

data ValidationError Source #

Defines a validation error. Validation errors prevent pipeline activation. The set of validation errors that can be returned are defined by AWS Data Pipeline.

See: newValidationError smart constructor.

Constructors

ValidationError' 

Fields

  • id :: Maybe Text

    The identifier of the object that contains the validation error.

  • errors :: Maybe [Text]

    A description of the validation error.

Instances

Instances details
Eq ValidationError Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.ValidationError

Read ValidationError Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.ValidationError

Show ValidationError Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.ValidationError

Generic ValidationError Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.ValidationError

Associated Types

type Rep ValidationError :: Type -> Type #

NFData ValidationError Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.ValidationError

Methods

rnf :: ValidationError -> () #

Hashable ValidationError Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.ValidationError

FromJSON ValidationError Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.ValidationError

type Rep ValidationError Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.ValidationError

type Rep ValidationError = D1 ('MetaData "ValidationError" "Amazonka.DataPipeline.Types.ValidationError" "libZSservicesZSamazonka-datapipelineZSamazonka-datapipeline" 'False) (C1 ('MetaCons "ValidationError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "errors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

newValidationError :: ValidationError Source #

Create a value of ValidationError 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:id:ValidationError', validationError_id - The identifier of the object that contains the validation error.

$sel:errors:ValidationError', validationError_errors - A description of the validation error.

validationError_id :: Lens' ValidationError (Maybe Text) Source #

The identifier of the object that contains the validation error.

validationError_errors :: Lens' ValidationError (Maybe [Text]) Source #

A description of the validation error.