amazonka-robomaker-2.0: Amazon RoboMaker SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.RobOMaker.Types.WorldFailure

Description

 
Synopsis

Documentation

data WorldFailure Source #

Information about a failed world.

See: newWorldFailure smart constructor.

Constructors

WorldFailure' 

Fields

  • 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.

  • sampleFailureReason :: Maybe Text

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

Instances

Instances details
FromJSON 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 #

Read WorldFailure Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.WorldFailure

Show WorldFailure Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.WorldFailure

NFData WorldFailure Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.WorldFailure

Methods

rnf :: WorldFailure -> () #

Eq WorldFailure Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.WorldFailure

Hashable 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" "amazonka-robomaker-2.0-7StvfiX8F7FIYnuj4Jp3Jq" 'False) (C1 ('MetaCons "WorldFailure'" 'PrefixI 'True) (S1 ('MetaSel ('Just "failureCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorldGenerationJobErrorCode)) :*: (S1 ('MetaSel ('Just "failureCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "sampleFailureReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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: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.

$sel:sampleFailureReason:WorldFailure', worldFailure_sampleFailureReason - 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.

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.