blib/lib/Paws/XRay/UpdateGroup.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::XRay::UpdateGroup;
3 use Moose;
4 has FilterExpression => (is => 'ro', isa => 'Str');
5 has GroupARN => (is => 'ro', isa => 'Str');
6 has GroupName => (is => 'ro', isa => 'Str');
7 has InsightsConfiguration => (is => 'ro', isa => 'Paws::XRay::InsightsConfiguration');
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateGroup');
12 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/UpdateGroup');
13 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::XRay::UpdateGroupResult');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::XRay::UpdateGroup - Arguments for method UpdateGroup on L<Paws::XRay>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method UpdateGroup on the
26 L<AWS X-Ray|Paws::XRay> service. Use the attributes of this class
27 as arguments to method UpdateGroup.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateGroup.
30  
31 =head1 SYNOPSIS
32  
33 my $xray = Paws->service('XRay');
34 my $UpdateGroupResult = $xray->UpdateGroup(
35 FilterExpression => 'MyFilterExpression', # OPTIONAL
36 GroupARN => 'MyGroupARN', # OPTIONAL
37 GroupName => 'MyGroupName', # OPTIONAL
38 InsightsConfiguration => {
39 InsightsEnabled => 1, # OPTIONAL
40 NotificationsEnabled => 1, # OPTIONAL
41 }, # OPTIONAL
42 );
43  
44 # Results:
45 my $Group = $UpdateGroupResult->Group;
46  
47 # Returns a L<Paws::XRay::UpdateGroupResult> object.
48  
49 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.
50 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/xray/UpdateGroup>
51  
52 =head1 ATTRIBUTES
53  
54  
55 =head2 FilterExpression => Str
56  
57 The updated filter expression defining criteria by which to group
58 traces.
59  
60  
61  
62 =head2 GroupARN => Str
63  
64 The ARN that was generated upon creation.
65  
66  
67  
68 =head2 GroupName => Str
69  
70 The case-sensitive name of the group.
71  
72  
73  
74 =head2 InsightsConfiguration => L<Paws::XRay::InsightsConfiguration>
75  
76 The structure containing configurations related to insights.
77  
78 =over
79  
80 =item *
81  
82 The InsightsEnabled boolean can be set to true to enable insights for
83 the group or false to disable insights for the group.
84  
85 =item *
86  
87 The NotifcationsEnabled boolean can be set to true to enable insights
88 notifications for the group. Notifications can only be enabled on a
89 group with InsightsEnabled set to true.
90  
91 =back
92  
93  
94  
95  
96  
97 =head1 SEE ALSO
98  
99 This class forms part of L<Paws>, documenting arguments for method UpdateGroup in L<Paws::XRay>
100  
101 =head1 BUGS and CONTRIBUTIONS
102  
103 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
104  
105 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
106  
107 =cut
108