File Coverage

blib/lib/Paws/CloudWatchLogs/Destination.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::CloudWatchLogs::Destination;
2 1     1   392 use Moose;
  1         4  
  1         5  
3             has AccessPolicy => (is => 'ro', isa => 'Str', request_name => 'accessPolicy', traits => ['NameInRequest']);
4             has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest']);
5             has CreationTime => (is => 'ro', isa => 'Int', request_name => 'creationTime', traits => ['NameInRequest']);
6             has DestinationName => (is => 'ro', isa => 'Str', request_name => 'destinationName', traits => ['NameInRequest']);
7             has RoleArn => (is => 'ro', isa => 'Str', request_name => 'roleArn', traits => ['NameInRequest']);
8             has TargetArn => (is => 'ro', isa => 'Str', request_name => 'targetArn', traits => ['NameInRequest']);
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::CloudWatchLogs::Destination
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::CloudWatchLogs::Destination object:
27              
28             $service_obj->Method(Att1 => { AccessPolicy => $value, ..., TargetArn => $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::CloudWatchLogs::Destination object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->AccessPolicy
36              
37             =head1 DESCRIPTION
38              
39             Represents a cross-account destination that receives subscription log
40             events.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 AccessPolicy => Str
46              
47             An IAM policy document that governs which AWS accounts can create
48             subscription filters against this destination.
49              
50              
51             =head2 Arn => Str
52              
53             The ARN of this destination.
54              
55              
56             =head2 CreationTime => Int
57              
58             The creation time of the destination, expressed as the number of
59             milliseconds after Jan 1, 1970 00:00:00 UTC.
60              
61              
62             =head2 DestinationName => Str
63              
64             The name of the destination.
65              
66              
67             =head2 RoleArn => Str
68              
69             A role for impersonation, used when delivering log events to the
70             target.
71              
72              
73             =head2 TargetArn => Str
74              
75             The Amazon Resource Name (ARN) of the physical target to where the log
76             events are delivered (for example, a Kinesis stream).
77              
78              
79              
80             =head1 SEE ALSO
81              
82             This class forms part of L<Paws>, describing an object used in L<Paws::CloudWatchLogs>
83              
84             =head1 BUGS and CONTRIBUTIONS
85              
86             The source code is located here: https://github.com/pplu/aws-sdk-perl
87              
88             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
89              
90             =cut
91