blib/lib/Paws/Athena/UpdateWorkGroup.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Athena::UpdateWorkGroup;
3 use Moose;
4 has ConfigurationUpdates => (is => 'ro', isa => 'Paws::Athena::WorkGroupConfigurationUpdates');
5 has Description => (is => 'ro', isa => 'Str');
6 has State => (is => 'ro', isa => 'Str');
7 has WorkGroup => (is => 'ro', isa => 'Str', required => 1);
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateWorkGroup');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Athena::UpdateWorkGroupOutput');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::Athena::UpdateWorkGroup - Arguments for method UpdateWorkGroup on L<Paws::Athena>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method UpdateWorkGroup on the
25 L<Amazon Athena|Paws::Athena> service. Use the attributes of this class
26 as arguments to method UpdateWorkGroup.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateWorkGroup.
29  
30 =head1 SYNOPSIS
31  
32 my $athena = Paws->service('Athena');
33 my $UpdateWorkGroupOutput = $athena->UpdateWorkGroup(
34 WorkGroup => 'MyWorkGroupName',
35 ConfigurationUpdates => {
36 BytesScannedCutoffPerQuery => 1, # min: 10000000; OPTIONAL
37 EnforceWorkGroupConfiguration => 1, # OPTIONAL
38 EngineVersion => {
39 EffectiveEngineVersion => 'MyNameString', # min: 1, max: 128; OPTIONAL
40 SelectedEngineVersion => 'MyNameString', # min: 1, max: 128; OPTIONAL
41 }, # OPTIONAL
42 PublishCloudWatchMetricsEnabled => 1, # OPTIONAL
43 RemoveBytesScannedCutoffPerQuery => 1, # OPTIONAL
44 RequesterPaysEnabled => 1, # OPTIONAL
45 ResultConfigurationUpdates => {
46 EncryptionConfiguration => {
47 EncryptionOption => 'SSE_S3', # values: SSE_S3, SSE_KMS, CSE_KMS
48 KmsKey => 'MyString', # OPTIONAL
49 }, # OPTIONAL
50 OutputLocation => 'MyString', # OPTIONAL
51 RemoveEncryptionConfiguration => 1, # OPTIONAL
52 RemoveOutputLocation => 1, # OPTIONAL
53 }, # OPTIONAL
54 }, # OPTIONAL
55 Description => 'MyWorkGroupDescriptionString', # OPTIONAL
56 State => 'ENABLED', # OPTIONAL
57 );
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/athena/UpdateWorkGroup>
61  
62 =head1 ATTRIBUTES
63  
64  
65 =head2 ConfigurationUpdates => L<Paws::Athena::WorkGroupConfigurationUpdates>
66  
67 The workgroup configuration that will be updated for the given
68 workgroup.
69  
70  
71  
72 =head2 Description => Str
73  
74 The workgroup description.
75  
76  
77  
78 =head2 State => Str
79  
80 The workgroup state that will be updated for the given workgroup.
81  
82 Valid values are: C<"ENABLED">, C<"DISABLED">
83  
84 =head2 B<REQUIRED> WorkGroup => Str
85  
86 The specified workgroup that will be updated.
87  
88  
89  
90  
91 =head1 SEE ALSO
92  
93 This class forms part of L<Paws>, documenting arguments for method UpdateWorkGroup in L<Paws::Athena>
94  
95 =head1 BUGS and CONTRIBUTIONS
96  
97 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
98  
99 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
100  
101 =cut
102