blib/lib/Paws/ElasticTranscoder/TestRole.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::ElasticTranscoder::TestRole;
3 use Moose;
4 has InputBucket => (is => 'ro', isa => 'Str', required => 1);
5 has OutputBucket => (is => 'ro', isa => 'Str', required => 1);
6 has Role => (is => 'ro', isa => 'Str', required => 1);
7 has Topics => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1);
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'TestRole');
12 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2012-09-25/roleTests');
13 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ElasticTranscoder::TestRoleResponse');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::ElasticTranscoder::TestRole - Arguments for method TestRole on L<Paws::ElasticTranscoder>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method TestRole on the
26 L<Amazon Elastic Transcoder|Paws::ElasticTranscoder> service. Use the attributes of this class
27 as arguments to method TestRole.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to TestRole.
30  
31 =head1 SYNOPSIS
32  
33 my $elastictranscoder = Paws->service('ElasticTranscoder');
34 my $TestRoleResponse = $elastictranscoder->TestRole(
35 InputBucket => 'MyBucketName',
36 OutputBucket => 'MyBucketName',
37 Role => 'MyRole',
38 Topics => [ 'MySnsTopic', ... ],
39  
40 );
41  
42 # Results:
43 my $Messages = $TestRoleResponse->Messages;
44 my $Success = $TestRoleResponse->Success;
45  
46 # Returns a L<Paws::ElasticTranscoder::TestRoleResponse> object.
47  
48 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.
49 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/elastictranscoder/TestRole>
50  
51 =head1 ATTRIBUTES
52  
53  
54 =head2 B<REQUIRED> InputBucket => Str
55  
56 The Amazon S3 bucket that contains media files to be transcoded. The
57 action attempts to read from this bucket.
58  
59  
60  
61 =head2 B<REQUIRED> OutputBucket => Str
62  
63 The Amazon S3 bucket that Elastic Transcoder writes transcoded media
64 files to. The action attempts to read from this bucket.
65  
66  
67  
68 =head2 B<REQUIRED> Role => Str
69  
70 The IAM Amazon Resource Name (ARN) for the role that you want Elastic
71 Transcoder to test.
72  
73  
74  
75 =head2 B<REQUIRED> Topics => ArrayRef[Str|Undef]
76  
77 The ARNs of one or more Amazon Simple Notification Service (Amazon SNS)
78 topics that you want the action to send a test notification to.
79  
80  
81  
82  
83 =head1 SEE ALSO
84  
85 This class forms part of L<Paws>, documenting arguments for method TestRole in L<Paws::ElasticTranscoder>
86  
87 =head1 BUGS and CONTRIBUTIONS
88  
89 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
90  
91 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
92  
93 =cut
94