File Coverage

blib/lib/Paws/Pinpoint/SegmentImportResource.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::Pinpoint::SegmentImportResource;
2 1     1   931 use Moose;
  1         6  
  1         17  
3             has ChannelCounts => (is => 'ro', isa => 'Paws::Pinpoint::MapOf__integer');
4             has ExternalId => (is => 'ro', isa => 'Str');
5             has Format => (is => 'ro', isa => 'Str');
6             has RoleArn => (is => 'ro', isa => 'Str');
7             has S3Url => (is => 'ro', isa => 'Str');
8             has Size => (is => 'ro', isa => 'Int');
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::Pinpoint::SegmentImportResource
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::Pinpoint::SegmentImportResource object:
27              
28             $service_obj->Method(Att1 => { ChannelCounts => $value, ..., Size => $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::Pinpoint::SegmentImportResource object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->ChannelCounts
36              
37             =head1 DESCRIPTION
38              
39             Segment import definition.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 ChannelCounts => L<Paws::Pinpoint::MapOf__integer>
45              
46             Channel type counts
47              
48              
49             =head2 ExternalId => Str
50              
51             A unique, custom ID assigned to the IAM role that restricts who can
52             assume the role.
53              
54              
55             =head2 Format => Str
56              
57             The format of the endpoint files that were imported to create this
58             segment. Valid values: CSV, JSON
59              
60              
61             =head2 RoleArn => Str
62              
63             The Amazon Resource Name (ARN) of an IAM role that grants Amazon
64             Pinpoint access to the endpoints in Amazon S3.
65              
66              
67             =head2 S3Url => Str
68              
69             A URL that points to the Amazon S3 location from which the endpoints
70             for this segment were imported.
71              
72              
73             =head2 Size => Int
74              
75             The number of endpoints that were successfully imported to create this
76             segment.
77              
78              
79              
80             =head1 SEE ALSO
81              
82             This class forms part of L<Paws>, describing an object used in L<Paws::Pinpoint>
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