blib/lib/Paws/CodeBuild/CreateReportGroup.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::CodeBuild::CreateReportGroup;
3 use Moose;
4 has ExportConfig => (is => 'ro', isa => 'Paws::CodeBuild::ReportExportConfig', traits => ['NameInRequest'], request_name => 'exportConfig' , required => 1);
5 has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name' , required => 1);
6 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::CodeBuild::Tag]', traits => ['NameInRequest'], request_name => 'tags' );
7 has Type => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'type' , required => 1);
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateReportGroup');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CodeBuild::CreateReportGroupOutput');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::CodeBuild::CreateReportGroup - Arguments for method CreateReportGroup on L<Paws::CodeBuild>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method CreateReportGroup on the
25 L<AWS CodeBuild|Paws::CodeBuild> service. Use the attributes of this class
26 as arguments to method CreateReportGroup.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateReportGroup.
29  
30 =head1 SYNOPSIS
31  
32 my $codebuild = Paws->service('CodeBuild');
33 my $CreateReportGroupOutput = $codebuild->CreateReportGroup(
34 ExportConfig => {
35 ExportConfigType => 'S3', # values: S3, NO_EXPORT; OPTIONAL
36 S3Destination => {
37 Bucket => 'MyNonEmptyString', # min: 1; OPTIONAL
38 BucketOwner => 'MyString', # OPTIONAL
39 EncryptionDisabled => 1, # OPTIONAL
40 EncryptionKey => 'MyNonEmptyString', # min: 1; OPTIONAL
41 Packaging => 'ZIP', # values: ZIP, NONE; OPTIONAL
42 Path => 'MyString', # OPTIONAL
43 }, # OPTIONAL
44 },
45 Name => 'MyReportGroupName',
46 Type => 'TEST',
47 Tags => [
48 {
49 Key => 'MyKeyInput', # min: 1, max: 127; OPTIONAL
50 Value => 'MyValueInput', # max: 255; OPTIONAL
51 },
52 ...
53 ], # OPTIONAL
54 );
55  
56 # Results:
57 my $ReportGroup = $CreateReportGroupOutput->ReportGroup;
58  
59 # Returns a L<Paws::CodeBuild::CreateReportGroupOutput> object.
60  
61 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.
62 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/codebuild/CreateReportGroup>
63  
64 =head1 ATTRIBUTES
65  
66  
67 =head2 B<REQUIRED> ExportConfig => L<Paws::CodeBuild::ReportExportConfig>
68  
69 A C<ReportExportConfig> object that contains information about where
70 the report group test results are exported.
71  
72  
73  
74 =head2 B<REQUIRED> Name => Str
75  
76 The name of the report group.
77  
78  
79  
80 =head2 Tags => ArrayRef[L<Paws::CodeBuild::Tag>]
81  
82 A list of tag key and value pairs associated with this report group.
83  
84 These tags are available for use by Amazon Web Services services that
85 support CodeBuild report group tags.
86  
87  
88  
89 =head2 B<REQUIRED> Type => Str
90  
91 The type of report group.
92  
93 Valid values are: C<"TEST">, C<"CODE_COVERAGE">
94  
95  
96 =head1 SEE ALSO
97  
98 This class forms part of L<Paws>, documenting arguments for method CreateReportGroup in L<Paws::CodeBuild>
99  
100 =head1 BUGS and CONTRIBUTIONS
101  
102 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
103  
104 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
105  
106 =cut
107