libZSservicesZSamazonka-appstreamZSamazonka-appstream
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.AppStream.Types.ResourceError

Description

 
Synopsis

Documentation

data ResourceError Source #

Describes a resource error.

See: newResourceError smart constructor.

Constructors

ResourceError' 

Fields

Instances

Instances details
Eq ResourceError Source # 
Instance details

Defined in Amazonka.AppStream.Types.ResourceError

Read ResourceError Source # 
Instance details

Defined in Amazonka.AppStream.Types.ResourceError

Show ResourceError Source # 
Instance details

Defined in Amazonka.AppStream.Types.ResourceError

Generic ResourceError Source # 
Instance details

Defined in Amazonka.AppStream.Types.ResourceError

Associated Types

type Rep ResourceError :: Type -> Type #

NFData ResourceError Source # 
Instance details

Defined in Amazonka.AppStream.Types.ResourceError

Methods

rnf :: ResourceError -> () #

Hashable ResourceError Source # 
Instance details

Defined in Amazonka.AppStream.Types.ResourceError

FromJSON ResourceError Source # 
Instance details

Defined in Amazonka.AppStream.Types.ResourceError

type Rep ResourceError Source # 
Instance details

Defined in Amazonka.AppStream.Types.ResourceError

type Rep ResourceError = D1 ('MetaData "ResourceError" "Amazonka.AppStream.Types.ResourceError" "libZSservicesZSamazonka-appstreamZSamazonka-appstream" 'False) (C1 ('MetaCons "ResourceError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FleetErrorCode)) :*: (S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "errorTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))

newResourceError :: ResourceError Source #

Create a value of ResourceError 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:errorCode:ResourceError', resourceError_errorCode - The error code.

$sel:errorMessage:ResourceError', resourceError_errorMessage - The error message.

$sel:errorTimestamp:ResourceError', resourceError_errorTimestamp - The time the error occurred.