blib/lib/Paws/Pinpoint/EventStream.pm untested

filter: Statementstmt 0.0% 0 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 10 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Pinpoint::EventStream;
3 use Moose;
4 has ApplicationId => (is => 'ro', isa => 'Str', required => 1);
5 has DestinationStreamArn => (is => 'ro', isa => 'Str', required => 1);
6 has ExternalId => (is => 'ro', isa => 'Str');
7 has LastModifiedDate => (is => 'ro', isa => 'Str');
8 has LastUpdatedBy => (is => 'ro', isa => 'Str');
9 has RoleArn => (is => 'ro', isa => 'Str', required => 1);
10  
11 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::Pinpoint::EventStream
18  
19 =head1 USAGE
20  
21 This class represents one of two things:
22  
23 =head3 Arguments in a call to a service
24  
25 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
26 Each attribute should be used as a named argument in the calls that expect this type of object.
27  
28 As an example, if Att1 is expected to be a Paws::Pinpoint::EventStream object:
29  
30 $service_obj->Method(Att1 => { ApplicationId => $value, ..., RoleArn => $value });
31  
32 =head3 Results returned from an API call
33  
34 Use accessors for each attribute. If Att1 is expected to be an Paws::Pinpoint::EventStream object:
35  
36 $result = $service_obj->Method(...);
37 $result->Att1->ApplicationId
38  
39 =head1 DESCRIPTION
40  
41 Specifies settings for publishing event data to an Amazon Kinesis data
42 stream or an Amazon Kinesis Data Firehose delivery stream.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 B<REQUIRED> ApplicationId => Str
48  
49 The unique identifier for the application to publish event data for.
50  
51  
52 =head2 B<REQUIRED> DestinationStreamArn => Str
53  
54 The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or
55 Amazon Kinesis Data Firehose delivery stream to publish event data to.
56  
57 For a Kinesis data stream, the ARN format is:
58 arn:aws:kinesis:region:account-id:stream/stream_name
59  
60 For a Kinesis Data Firehose delivery stream, the ARN format is:
61 arn:aws:firehose:region:account-id:deliverystream/stream_name
62  
63  
64 =head2 ExternalId => Str
65  
66 (Deprecated) Your AWS account ID, which you assigned to an external ID
67 key in an IAM trust policy. Amazon Pinpoint previously used this value
68 to assume an IAM role when publishing event data, but we removed this
69 requirement. We don't recommend use of external IDs for IAM roles that
70 are assumed by Amazon Pinpoint.
71  
72  
73 =head2 LastModifiedDate => Str
74  
75 The date, in ISO 8601 format, when the event stream was last modified.
76  
77  
78 =head2 LastUpdatedBy => Str
79  
80 The IAM user who last modified the event stream.
81  
82  
83 =head2 B<REQUIRED> RoleArn => Str
84  
85 The AWS Identity and Access Management (IAM) role that authorizes
86 Amazon Pinpoint to publish event data to the stream in your AWS
87 account.
88  
89  
90  
91 =head1 SEE ALSO
92  
93 This class forms part of L<Paws>, describing an object used in L<Paws::Pinpoint>
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