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