libZSservicesZSamazonka-robomakerZSamazonka-robomaker
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.RobOMaker.Types.WorldFailure

Description

 
Synopsis

Documentation

data WorldFailure Source #

Information about a failed world.

See: newWorldFailure smart constructor.

Constructors

WorldFailure' 

Fields

  • sampleFailureReason :: Maybe Text

    The sample reason why the world failed. World errors are aggregated. A sample is used as the sampleFailureReason.

  • failureCode :: Maybe WorldGenerationJobErrorCode

    The failure code of the world export job if it failed:

    InternalServiceError
    Internal service error.
    LimitExceeded
    The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.
    ResourceNotFound
    The specified resource could not be found.
    RequestThrottled
    The request was throttled.
    InvalidInput
    An input parameter in the request is not valid.
  • failureCount :: Maybe Int

    The number of failed worlds.

Instances

Instances details
Eq WorldFailure Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.WorldFailure

Read WorldFailure Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.WorldFailure

Show WorldFailure Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.WorldFailure

Generic WorldFailure Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.WorldFailure

Associated Types

type Rep WorldFailure :: Type -> Type #

NFData WorldFailure Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.WorldFailure

Methods

rnf :: WorldFailure -> () #

Hashable WorldFailure Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.WorldFailure

FromJSON WorldFailure Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.WorldFailure

type Rep WorldFailure Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.WorldFailure

type Rep WorldFailure = D1 ('MetaData "WorldFailure" "Amazonka.RobOMaker.Types.WorldFailure" "libZSservicesZSamazonka-robomakerZSamazonka-robomaker" 'False) (C1 ('MetaCons "WorldFailure'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sampleFailureReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "failureCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorldGenerationJobErrorCode)) :*: S1 ('MetaSel ('Just "failureCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

newWorldFailure :: WorldFailure Source #

Create a value of WorldFailure 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:sampleFailureReason:WorldFailure', worldFailure_sampleFailureReason - The sample reason why the world failed. World errors are aggregated. A sample is used as the sampleFailureReason.

$sel:failureCode:WorldFailure', worldFailure_failureCode - The failure code of the world export job if it failed:

InternalServiceError
Internal service error.
LimitExceeded
The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.
ResourceNotFound
The specified resource could not be found.
RequestThrottled
The request was throttled.
InvalidInput
An input parameter in the request is not valid.

$sel:failureCount:WorldFailure', worldFailure_failureCount - The number of failed worlds.

worldFailure_sampleFailureReason :: Lens' WorldFailure (Maybe Text) Source #

The sample reason why the world failed. World errors are aggregated. A sample is used as the sampleFailureReason.

worldFailure_failureCode :: Lens' WorldFailure (Maybe WorldGenerationJobErrorCode) Source #

The failure code of the world export job if it failed:

InternalServiceError
Internal service error.
LimitExceeded
The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.
ResourceNotFound
The specified resource could not be found.
RequestThrottled
The request was throttled.
InvalidInput
An input parameter in the request is not valid.

worldFailure_failureCount :: Lens' WorldFailure (Maybe Int) Source #

The number of failed worlds.