blib/lib/Paws/Kendra/Status.pm untested

filter: Statementstmt 0.0% 0 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 8 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Kendra::Status;
3 use Moose;
4 has DocumentId => (is => 'ro', isa => 'Str');
5 has DocumentStatus => (is => 'ro', isa => 'Str');
6 has FailureCode => (is => 'ro', isa => 'Str');
7 has FailureReason => (is => 'ro', isa => 'Str');
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::Kendra::Status
16  
17 =head1 USAGE
18  
19 This class represents one of two things:
20  
21 =head3 Arguments in a call to a service
22  
23 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24 Each attribute should be used as a named argument in the calls that expect this type of object.
25  
26 As an example, if Att1 is expected to be a Paws::Kendra::Status object:
27  
28 $service_obj->Method(Att1 => { DocumentId => $value, ..., FailureReason => $value });
29  
30 =head3 Results returned from an API call
31  
32 Use accessors for each attribute. If Att1 is expected to be an Paws::Kendra::Status object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->DocumentId
36  
37 =head1 DESCRIPTION
38  
39 Provides information about the status of documents submitted for
40 indexing.
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 DocumentId => Str
46  
47 The unique identifier of the document.
48  
49  
50 =head2 DocumentStatus => Str
51  
52 The current status of a document.
53  
54 If the document was submitted for deletion, the status is C<NOT_FOUND>
55 after the document is deleted.
56  
57  
58 =head2 FailureCode => Str
59  
60 Indicates the source of the error.
61  
62  
63 =head2 FailureReason => Str
64  
65 Provides detailed information about why the document couldn't be
66 indexed. Use this information to correct the error before you resubmit
67 the document for indexing.
68  
69  
70  
71 =head1 SEE ALSO
72  
73 This class forms part of L<Paws>, describing an object used in L<Paws::Kendra>
74  
75 =head1 BUGS and CONTRIBUTIONS
76  
77 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
78  
79 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
80  
81 =cut
82