« blib/lib/Paws/Robomaker/WorldExportJobSummary.pm
↑ Summary
blib/lib/Paws/Robomaker/WorldGenerationJobSummary.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Robomaker::WorldFailure; | ||
| 3 | use Moose; | ||
| 4 | has FailureCode => (is => 'ro', isa => 'Str', request_name => 'failureCode', traits => ['NameInRequest']); | ||
| 5 | has FailureCount => (is => 'ro', isa => 'Int', request_name => 'failureCount', traits => ['NameInRequest']); | ||
| 6 | has SampleFailureReason => (is => 'ro', isa => 'Str', request_name => 'sampleFailureReason', traits => ['NameInRequest']); | ||
| 7 | |||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::Robomaker::WorldFailure | ||
| 15 | |||
| 16 | =head1 USAGE | ||
| 17 | |||
| 18 | This class represents one of two things: | ||
| 19 | |||
| 20 | =head3 Arguments in a call to a service | ||
| 21 | |||
| 22 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 23 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 24 | |||
| 25 | As an example, if Att1 is expected to be a Paws::Robomaker::WorldFailure object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { FailureCode => $value, ..., SampleFailureReason => $value }); | ||
| 28 | |||
| 29 | =head3 Results returned from an API call | ||
| 30 | |||
| 31 | Use accessors for each attribute. If Att1 is expected to be an Paws::Robomaker::WorldFailure object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->FailureCode | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | Information about a failed world. | ||
| 39 | |||
| 40 | =head1 ATTRIBUTES | ||
| 41 | |||
| 42 | |||
| 43 | =head2 FailureCode => Str | ||
| 44 | |||
| 45 | The failure code of the world export job if it failed: | ||
| 46 | |||
| 47 | =over | ||
| 48 | |||
| 49 | =item InternalServiceError | ||
| 50 | |||
| 51 | Internal service error. | ||
| 52 | |||
| 53 | =item LimitExceeded | ||
| 54 | |||
| 55 | The requested resource exceeds the maximum number allowed, or the | ||
| 56 | number of concurrent stream requests exceeds the maximum number | ||
| 57 | allowed. | ||
| 58 | |||
| 59 | =item ResourceNotFound | ||
| 60 | |||
| 61 | The specified resource could not be found. | ||
| 62 | |||
| 63 | =item RequestThrottled | ||
| 64 | |||
| 65 | The request was throttled. | ||
| 66 | |||
| 67 | =item InvalidInput | ||
| 68 | |||
| 69 | An input parameter in the request is not valid. | ||
| 70 | |||
| 71 | =back | ||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | =head2 FailureCount => Int | ||
| 76 | |||
| 77 | The number of failed worlds. | ||
| 78 | |||
| 79 | |||
| 80 | =head2 SampleFailureReason => Str | ||
| 81 | |||
| 82 | The sample reason why the world failed. World errors are aggregated. A | ||
| 83 | sample is used as the C<sampleFailureReason>. | ||
| 84 | |||
| 85 | |||
| 86 | |||
| 87 | =head1 SEE ALSO | ||
| 88 | |||
| 89 | This class forms part of L<Paws>, describing an object used in L<Paws::Robomaker> | ||
| 90 | |||
| 91 | =head1 BUGS and CONTRIBUTIONS | ||
| 92 | |||
| 93 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 94 | |||
| 95 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 96 | |||
| 97 | =cut | ||
| 98 |