blib/lib/Paws/Rekognition/CreateStreamProcessor.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Rekognition::CreateStreamProcessor;
3 use Moose;
4 has Input => (is => 'ro', isa => 'Paws::Rekognition::StreamProcessorInput', required => 1);
5 has Name => (is => 'ro', isa => 'Str', required => 1);
6 has Output => (is => 'ro', isa => 'Paws::Rekognition::StreamProcessorOutput', required => 1);
7 has RoleArn => (is => 'ro', isa => 'Str', required => 1);
8 has Settings => (is => 'ro', isa => 'Paws::Rekognition::StreamProcessorSettings', required => 1);
9 has Tags => (is => 'ro', isa => 'Paws::Rekognition::TagMap');
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateStreamProcessor');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Rekognition::CreateStreamProcessorResponse');
15 class_has _result_key => (isa => 'Str', is => 'ro');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::Rekognition::CreateStreamProcessor - Arguments for method CreateStreamProcessor on L<Paws::Rekognition>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method CreateStreamProcessor on the
27 L<Amazon Rekognition|Paws::Rekognition> service. Use the attributes of this class
28 as arguments to method CreateStreamProcessor.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateStreamProcessor.
31  
32 =head1 SYNOPSIS
33  
34 my $rekognition = Paws->service('Rekognition');
35 my $CreateStreamProcessorResponse = $rekognition->CreateStreamProcessor(
36 Input => {
37 KinesisVideoStream => {
38 Arn => 'MyKinesisVideoArn', # OPTIONAL
39 }, # OPTIONAL
40 },
41 Name => 'MyStreamProcessorName',
42 Output => {
43 KinesisDataStream => {
44 Arn => 'MyKinesisDataArn', # OPTIONAL
45 }, # OPTIONAL
46 },
47 RoleArn => 'MyRoleArn',
48 Settings => {
49 FaceSearch => {
50 CollectionId => 'MyCollectionId', # min: 1, max: 255; OPTIONAL
51 FaceMatchThreshold => 1.0, # max: 100; OPTIONAL
52 }, # OPTIONAL
53 },
54 Tags => {
55 'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256
56 }, # OPTIONAL
57 );
58  
59 # Results:
60 my $StreamProcessorArn = $CreateStreamProcessorResponse->StreamProcessorArn;
61  
62 # Returns a L<Paws::Rekognition::CreateStreamProcessorResponse> object.
63  
64 Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
65 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/rekognition/CreateStreamProcessor>
66  
67 =head1 ATTRIBUTES
68  
69  
70 =head2 B<REQUIRED> Input => L<Paws::Rekognition::StreamProcessorInput>
71  
72 Kinesis video stream stream that provides the source streaming video.
73 If you are using the AWS CLI, the parameter name is
74 C<StreamProcessorInput>.
75  
76  
77  
78 =head2 B<REQUIRED> Name => Str
79  
80 An identifier you assign to the stream processor. You can use C<Name>
81 to manage the stream processor. For example, you can get the current
82 status of the stream processor by calling DescribeStreamProcessor.
83 C<Name> is idempotent.
84  
85  
86  
87 =head2 B<REQUIRED> Output => L<Paws::Rekognition::StreamProcessorOutput>
88  
89 Kinesis data stream stream to which Amazon Rekognition Video puts the
90 analysis results. If you are using the AWS CLI, the parameter name is
91 C<StreamProcessorOutput>.
92  
93  
94  
95 =head2 B<REQUIRED> RoleArn => Str
96  
97 ARN of the IAM role that allows access to the stream processor.
98  
99  
100  
101 =head2 B<REQUIRED> Settings => L<Paws::Rekognition::StreamProcessorSettings>
102  
103 Face recognition input parameters to be used by the stream processor.
104 Includes the collection to use for face recognition and the face
105 attributes to detect.
106  
107  
108  
109 =head2 Tags => L<Paws::Rekognition::TagMap>
110  
111 A set of tags (key-value pairs) that you want to attach to the stream
112 processor.
113  
114  
115  
116  
117 =head1 SEE ALSO
118  
119 This class forms part of L<Paws>, documenting arguments for method CreateStreamProcessor in L<Paws::Rekognition>
120  
121 =head1 BUGS and CONTRIBUTIONS
122  
123 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
124  
125 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
126  
127 =cut
128