blib/lib/Paws/IoT/ElasticsearchAction.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::IoT::ElasticsearchAction;
3 use Moose;
4 has Endpoint => (is => 'ro', isa => 'Str', request_name => 'endpoint', traits => ['NameInRequest'], required => 1);
5 has Id => (is => 'ro', isa => 'Str', request_name => 'id', traits => ['NameInRequest'], required => 1);
6 has Index => (is => 'ro', isa => 'Str', request_name => 'index', traits => ['NameInRequest'], required => 1);
7 has RoleArn => (is => 'ro', isa => 'Str', request_name => 'roleArn', traits => ['NameInRequest'], required => 1);
8 has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest'], required => 1);
9  
10 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::IoT::ElasticsearchAction
17  
18 =head1 USAGE
19  
20 This class represents one of two things:
21  
22 =head3 Arguments in a call to a service
23  
24 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25 Each attribute should be used as a named argument in the calls that expect this type of object.
26  
27 As an example, if Att1 is expected to be a Paws::IoT::ElasticsearchAction object:
28  
29 $service_obj->Method(Att1 => { Endpoint => $value, ..., Type => $value });
30  
31 =head3 Results returned from an API call
32  
33 Use accessors for each attribute. If Att1 is expected to be an Paws::IoT::ElasticsearchAction object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->Endpoint
37  
38 =head1 DESCRIPTION
39  
40 Describes an action that writes data to an Amazon Elasticsearch Service
41 domain.
42  
43 =head1 ATTRIBUTES
44  
45  
46 =head2 B<REQUIRED> Endpoint => Str
47  
48 The endpoint of your Elasticsearch domain.
49  
50  
51 =head2 B<REQUIRED> Id => Str
52  
53 The unique identifier for the document you are storing.
54  
55  
56 =head2 B<REQUIRED> Index => Str
57  
58 The Elasticsearch index where you want to store your data.
59  
60  
61 =head2 B<REQUIRED> RoleArn => Str
62  
63 The IAM role ARN that has access to Elasticsearch.
64  
65  
66 =head2 B<REQUIRED> Type => Str
67  
68 The type of document you are storing.
69  
70  
71  
72 =head1 SEE ALSO
73  
74 This class forms part of L<Paws>, describing an object used in L<Paws::IoT>
75  
76 =head1 BUGS and CONTRIBUTIONS
77  
78 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
79  
80 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
81  
82 =cut
83