blib/lib/Paws/CloudWatchEvents/PutEventsRequestEntry.pm untested

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 11 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::CloudWatchEvents::PutEventsRequestEntry;
3 use Moose;
4 has Detail => (is => 'ro', isa => 'Str');
5 has DetailType => (is => 'ro', isa => 'Str');
6 has EventBusName => (is => 'ro', isa => 'Str');
7 has Resources => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
8 has Source => (is => 'ro', isa => 'Str');
9 has Time => (is => 'ro', isa => 'Str');
10 has TraceHeader => (is => 'ro', isa => 'Str');
11  
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::CloudWatchEvents::PutEventsRequestEntry
19  
20 =head1 USAGE
21  
22 This class represents one of two things:
23  
24 =head3 Arguments in a call to a service
25  
26 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27 Each attribute should be used as a named argument in the calls that expect this type of object.
28  
29 As an example, if Att1 is expected to be a Paws::CloudWatchEvents::PutEventsRequestEntry object:
30  
31 $service_obj->Method(Att1 => { Detail => $value, ..., TraceHeader => $value });
32  
33 =head3 Results returned from an API call
34  
35 Use accessors for each attribute. If Att1 is expected to be an Paws::CloudWatchEvents::PutEventsRequestEntry object:
36  
37 $result = $service_obj->Method(...);
38 $result->Att1->Detail
39  
40 =head1 DESCRIPTION
41  
42 Represents an event to be submitted.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 Detail => Str
48  
49 A valid JSON string. There is no other schema imposed. The JSON string
50 may contain fields and nested subobjects.
51  
52  
53 =head2 DetailType => Str
54  
55 Free-form string used to decide what fields to expect in the event
56 detail.
57  
58  
59 =head2 EventBusName => Str
60  
61 The name or ARN of the event bus to receive the event. Only the rules
62 that are associated with this event bus are used to match the event. If
63 you omit this, the default event bus is used.
64  
65  
66 =head2 Resources => ArrayRef[Str|Undef]
67  
68 AWS resources, identified by Amazon Resource Name (ARN), which the
69 event primarily concerns. Any number, including zero, may be present.
70  
71  
72 =head2 Source => Str
73  
74 The source of the event.
75  
76  
77 =head2 Time => Str
78  
79 The time stamp of the event, per RFC3339
80 (https://www.rfc-editor.org/rfc/rfc3339.txt). If no time stamp is
81 provided, the time stamp of the PutEvents call is used.
82  
83  
84 =head2 TraceHeader => Str
85  
86 An AWS X-Ray trade header, which is an http header (X-Amzn-Trace-Id)
87 that contains the trace-id associated with the event.
88  
89 To learn more about X-Ray trace headers, see Tracing header
90 (https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-tracingheader)
91 in the AWS X-Ray Developer Guide.
92  
93  
94  
95 =head1 SEE ALSO
96  
97 This class forms part of L<Paws>, describing an object used in L<Paws::CloudWatchEvents>
98  
99 =head1 BUGS and CONTRIBUTIONS
100  
101 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
102  
103 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
104  
105 =cut
106