Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data WorldFailure Source #
Information about a failed world.
See: newWorldFailure
smart constructor.
WorldFailure' | |
|
Instances
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.