libZSservicesZSamazonka-opsworksZSamazonka-opsworks
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.OpsWorks.Types.ServiceError

Description

 
Synopsis

Documentation

data ServiceError Source #

Describes an AWS OpsWorks Stacks service error.

See: newServiceError smart constructor.

Constructors

ServiceError' 

Fields

Instances

Instances details
Eq ServiceError Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.ServiceError

Read ServiceError Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.ServiceError

Show ServiceError Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.ServiceError

Generic ServiceError Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.ServiceError

Associated Types

type Rep ServiceError :: Type -> Type #

NFData ServiceError Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.ServiceError

Methods

rnf :: ServiceError -> () #

Hashable ServiceError Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.ServiceError

FromJSON ServiceError Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.ServiceError

type Rep ServiceError Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.ServiceError

type Rep ServiceError = D1 ('MetaData "ServiceError" "Amazonka.OpsWorks.Types.ServiceError" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "ServiceError'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "serviceErrorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "stackId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newServiceError :: ServiceError Source #

Create a value of ServiceError 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:instanceId:ServiceError', serviceError_instanceId - The instance ID.

$sel:createdAt:ServiceError', serviceError_createdAt - When the error occurred.

$sel:serviceErrorId:ServiceError', serviceError_serviceErrorId - The error ID.

$sel:type':ServiceError', serviceError_type - The error type.

$sel:stackId:ServiceError', serviceError_stackId - The stack ID.

$sel:message:ServiceError', serviceError_message - A message that describes the error.

serviceError_message :: Lens' ServiceError (Maybe Text) Source #

A message that describes the error.