blib/lib/Paws/IVS/CreateRecordingConfiguration.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::IVS::CreateRecordingConfiguration;
3 use Moose;
4 has DestinationConfiguration => (is => 'ro', isa => 'Paws::IVS::DestinationConfiguration', traits => ['NameInRequest'], request_name => 'destinationConfiguration', required => 1);
5 has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name');
6 has Tags => (is => 'ro', isa => 'Paws::IVS::Tags', traits => ['NameInRequest'], request_name => 'tags');
7  
8 use MooseX::ClassAttribute;
9  
10 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateRecordingConfiguration');
11 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/CreateRecordingConfiguration');
12 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IVS::CreateRecordingConfigurationResponse');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::IVS::CreateRecordingConfiguration - Arguments for method CreateRecordingConfiguration on L<Paws::IVS>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method CreateRecordingConfiguration on the
25 L<Amazon Interactive Video Service|Paws::IVS> service. Use the attributes of this class
26 as arguments to method CreateRecordingConfiguration.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateRecordingConfiguration.
29  
30 =head1 SYNOPSIS
31  
32 my $ivs = Paws->service('IVS');
33 my $CreateRecordingConfigurationResponse =
34 $ivs->CreateRecordingConfiguration(
35 DestinationConfiguration => {
36 S3 => {
37 BucketName => 'MyS3DestinationBucketName', # min: 3, max: 63
38  
39 }, # OPTIONAL
40 },
41 Name => 'MyRecordingConfigurationName', # OPTIONAL
42 Tags => {
43 'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256
44 }, # OPTIONAL
45 );
46  
47 # Results:
48 my $RecordingConfiguration =
49 $CreateRecordingConfigurationResponse->RecordingConfiguration;
50  
51 # Returns a L<Paws::IVS::CreateRecordingConfigurationResponse> object.
52  
53 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.
54 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ivs/CreateRecordingConfiguration>
55  
56 =head1 ATTRIBUTES
57  
58  
59 =head2 B<REQUIRED> DestinationConfiguration => L<Paws::IVS::DestinationConfiguration>
60  
61 A complex type that contains a destination configuration for where
62 recorded video will be stored.
63  
64  
65  
66 =head2 Name => Str
67  
68 An arbitrary string (a nickname) that helps the customer identify that
69 resource. The value does not need to be unique.
70  
71  
72  
73 =head2 Tags => L<Paws::IVS::Tags>
74  
75 Array of 1-50 maps, each of the form C<string:string (key:value)>.
76  
77  
78  
79  
80 =head1 SEE ALSO
81  
82 This class forms part of L<Paws>, documenting arguments for method CreateRecordingConfiguration in L<Paws::IVS>
83  
84 =head1 BUGS and CONTRIBUTIONS
85  
86 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
87  
88 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
89  
90 =cut
91