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

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Kendra::UpdateThesaurus;
3 use Moose;
4 has Description => (is => 'ro', isa => 'Str');
5 has Id => (is => 'ro', isa => 'Str', required => 1);
6 has IndexId => (is => 'ro', isa => 'Str', required => 1);
7 has Name => (is => 'ro', isa => 'Str');
8 has RoleArn => (is => 'ro', isa => 'Str');
9 has SourceS3Path => (is => 'ro', isa => 'Paws::Kendra::S3Path');
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateThesaurus');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response');
15 class_has _result_key => (isa => 'Str', is => 'ro');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::Kendra::UpdateThesaurus - Arguments for method UpdateThesaurus on L<Paws::Kendra>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method UpdateThesaurus on the
27 L<AWSKendraFrontendService|Paws::Kendra> service. Use the attributes of this class
28 as arguments to method UpdateThesaurus.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateThesaurus.
31  
32 =head1 SYNOPSIS
33  
34 my $kendra = Paws->service('Kendra');
35 $kendra->UpdateThesaurus(
36 Id => 'MyThesaurusId',
37 IndexId => 'MyIndexId',
38 Description => 'MyDescription', # OPTIONAL
39 Name => 'MyThesaurusName', # OPTIONAL
40 RoleArn => 'MyRoleArn', # OPTIONAL
41 SourceS3Path => {
42 Bucket => 'MyS3BucketName', # min: 3, max: 63
43 Key => 'MyS3ObjectKey', # min: 1, max: 1024
44  
45 }, # OPTIONAL
46 );
47  
48 Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
49 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/kendra/UpdateThesaurus>
50  
51 =head1 ATTRIBUTES
52  
53  
54 =head2 Description => Str
55  
56 The updated description of the thesaurus.
57  
58  
59  
60 =head2 B<REQUIRED> Id => Str
61  
62 The identifier of the thesaurus to update.
63  
64  
65  
66 =head2 B<REQUIRED> IndexId => Str
67  
68 The identifier of the index associated with the thesaurus to update.
69  
70  
71  
72 =head2 Name => Str
73  
74 The updated name of the thesaurus.
75  
76  
77  
78 =head2 RoleArn => Str
79  
80 The updated role ARN of the thesaurus.
81  
82  
83  
84 =head2 SourceS3Path => L<Paws::Kendra::S3Path>
85  
86  
87  
88  
89  
90  
91 =head1 SEE ALSO
92  
93 This class forms part of L<Paws>, documenting arguments for method UpdateThesaurus in L<Paws::Kendra>
94  
95 =head1 BUGS and CONTRIBUTIONS
96  
97 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
98  
99 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
100  
101 =cut
102